native/Linux: internal error if resume is short-circuited
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
eb54c8bf
PA
12015-03-19 Pedro Alves <palves@redhat.com>
2
3 * gdb.threads/continue-pending-status.c: New file.
4 * gdb.threads/continue-pending-status.exp: New file.
5
32d2e5d6
PA
62015-03-18 Pedro Alves <palves@redhat.com>
7
8 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
9 Use gdb_is_target_remote instead of is_remote. Use
10 gdb_test_multiple instead of gdb_expect. Exit early if
11 gdb_test_multiple hits its internal matches. Tighten stepi tests
12 expected output. Fail on exit with any signal, instead of just
13 SIGILL.
14
f68f11b7
YQ
152015-03-18 Yao Qi <yao.qi@linaro.org>
16
17 PR tdep/18107
18 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
19 variable.
20 * gdb.base/catch-syscall.exp: Don't skip it on
21 aarch64*-*-linux* target. Remove elements in all_syscalls.
22 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
23 target.
24 (setup_all_syscalls): New proc.
25
ca5fd19b
YQ
262015-03-16 Yao Qi <yao.qi@linaro.org>
27
28 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
29 (top level): Skip tests if valid_addr_p returns false for
30 $cmd1 or $cmd2.
31
85642ba0
AW
322015-03-11 Andy Wingo <wingo@igalia.com>
33
34 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
35
e03f9645
YQ
362015-03-11 Yao Qi <yao.qi@linaro.org>
37
38 * gdb.base/catch-syscall.exp: Fix typo in comments.
39
5d0962b2
YQ
402015-03-11 Yao Qi <yao.qi@linaro.org>
41
42 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
43
b2df3cef
PA
442015-03-09 Pedro Alves <palves@redhat.com>
45
46 * dg-extract-results.py: Delete.
47
ef878e53
PA
482015-03-09 Pedro Alves <palves@redhat.com>
49
50 Merge dg-extract-results.sh from GCC upstream (r218843).
51
52 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
53 * dg-extract-results.sh: Use --text with grep to avoid issues with
54 binary files. Fall back to cat -v, if that doesn't work.
55
9494d219
PA
562015-03-05 Pedro Alves <palves@redhat.com>
57
58 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
59
a8d9763a
SM
602015-03-04 Simon Marchi <simon.marchi@ericsson.com>
61
62 * lib/mi-support.exp (mi_expect_interrupt): Accept
63 alternative event for when in all-stop mode.
64
be9957b8
PA
652015-03-04 Pedro Alves <palves@redhat.com>
66
67 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
68
d57be0f4 692015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
70
71 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
72
c214c7cf
AA
732015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
74
75 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
76 regexps for GDB's current line display, accept a hex address
77 preceding the line number.
78
6d74a497
AA
792015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
80
81 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
82 the 'arch1' variable for "s390*-linux*" targets.
83
511aee7c
PA
842015-03-04 Pedro Alves <palves@redhat.com>
85
86 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
87 (main): Pass missing retval argument to pthread_join call.
88
95e50b27
PA
892015-03-02 Pedro Alves <palves@redhat.com>
90
91 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
92 (top level): Call do_test with non-stop as well.
93
28054d69
PA
942015-03-02 Pedro Alves <palves@redhat.com>
95
96 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
97 -1.
98
4fa5d7b4
AA
992015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
100
101 * gdb.arch/s390-vregs.exp: New test.
102 * gdb.arch/s390-vregs.S: New file.
103
97c18565
PA
1042015-02-27 Pedro Alves <palves@redhat.com>
105
106 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
107 call to catch_command_errors.
108 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
109 catch_command_errors.
110
a37bfa30
PA
1112015-02-27 Pedro Alves <palves@redhat.com>
112
113 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
114 "true" for boolean result.
115 * gdb.gdb/selftest.exp (test_with_self): Also accept full
116 prototype of main.
117
6f98576f
PA
1182015-02-27 Pedro Alves <palves@redhat.com>
119
120 * lib/unbuffer_output.c: New file.
121 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
122 (main): Call gdb_unbuffer_output.
123
eba5ab56
YQ
1242015-02-27 Yao Qi <yao.qi@linaro.org>
125
126 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
127 target.
128
0def5aaa
DE
1292015-02-26 Doug Evans <dje@google.com>
130
131 * gdb.cp/class2.cc (Dbase, D): New classes.
132 (main): New local delta.
133 * gdb.cp/class2.exp: Test printing delta.
134 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
135 (dynbar): New global.
136 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
137
081a1c2c
JK
1382015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
139
140 * gdb.compile/compile-ifunc.c: New file.
141 * gdb.compile/compile-ifunc.exp: New file.
142
2f41223f
AT
1432015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
144
145 * gdb.base/structs.exp: Check for correct struct on finish.
146
03eddd80
YQ
1472015-02-26 Yao Qi <yao.qi@linaro.org>
148
149 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
150 is zero.
151
80c57053
JK
1522015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
153
154 * gdb.arch/cordic.ko.bz2: New file.
155 * gdb.arch/cordic.ko.debug.bz2: New file.
156 * gdb.arch/ppc64-symtab-cordic.exp: New file.
157
21613c12
YQ
1582015-02-25 Yao Qi <yao.qi@linaro.org>
159
160 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
161 aarch64*-*-* target.
162
d8b901ed
PA
1632015-02-23 Pedro Alves <palves@redhat.com>
164
165 * lib/gdb.exp (delete_breakpoints): Rewrite using
166 gdb_test_multiple.
167
e5b85ead
PA
1682015-02-23 Pedro Alves <palves@redhat.com>
169
170 * gdb.base/info-os.c: Include stdlib.h.
171
85c3a371
DE
1722015-02-22 Doug Evans <xdje42@gmail.com>
173
174 PR symtab/17855
175 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
176 is read after symbols have been re-read.
177 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
178 * gdb.ada/exec_changed/second.adb (Second): Ditto.
179
96553a0c
DE
1802015-02-21 Doug Evans <dje@google.com>
181
182 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
183
97a0c697
JK
1842015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
185
186 PR corefiles/17808
187 * gdb.arch/i386-biarch-core.core.bz2: New file.
188 * gdb.arch/i386-biarch-core.exp: New file.
189
a47cd6e9
PA
1902015-02-21 Pedro Alves <palves@redhat.com>
191
192 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
193 runto_main fails.
194
c5facdc4
PA
1952015-02-20 Pedro Alves <palves@redhat.com>
196
197 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
198 info probes.
199
2db9a427
PA
2002015-02-20 Pedro Alves <palves@redhat.com>
201
202 * gdb.threads/multi-create-ns-info-thr.exp: New file.
203
60fb7e9e
PA
2042015-02-20 Pedro Alves <palves@redhat.com>
205
206 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
207 clean_restart before gdb_target_supports_trace.
208
5c5019c2
PA
2092015-02-20 Pedro Alves <palves@redhat.com>
210
211 PR threads/18006
212 * gdb.threads/clone-thread_db.c: New file.
213 * gdb.threads/clone-thread_db.exp: New file.
214
c9587f88
AT
2152015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
216
217 PR breakpoints/16812
218 * gdb.base/catch-gdb-caused-signals.c: New file.
219 * gdb.base/catch-gdb-caused-signals.exp: New file.
220
f6a88844
JM
2212015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
222
223 * configure: Regenerated.
224 * configure.ac: Use GDB_AC_TRANSFORM.
225 * aclocal.m4: sinclude ../transform.m4.
226
497c491b
JM
2272015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
228
229 * lib/dtrace.exp: New file.
230 * gdb.base/dtrace-probe.exp: Likewise.
231 * gdb.base/dtrace-probe.d: Likewise.
232 * gdb.base/dtrace-probe.c: Likewise.
233 * lib/pdtrace.in: Likewise.
234 * configure.ac: Output variables with the transformed names of
235 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
236 * configure: Regenerated.
237
03e98035
JM
2382015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
239
240 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
241 expected message when trying to access $_probe_* convenience
242 variables while not on a probe.
243
63cc30e9
JK
2442015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
245
246 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
247
0703599a
PA
2482015-02-11 Pedro Alves <pedro@codesourcery.com>
249
250 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
251 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
252
7e60a48e
DE
2532015-02-10 Doug Evans <xdje42@gmail.com>
254
255 * lib/gdb.exp (gdb_load): Always return a result.
256
01b088bc
PA
2572015-02-10 Pedro Alves <palves@redhat.com>
258
259 * gdb.threads/signal-sigtrap.c: New file.
260 * gdb.threads/signal-sigtrap.exp: New file.
261
b05ec7a5
AT
2622015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
263
264 * gdb.trace/no-attach-trace.c: New file.
265 * gdb.trace/no-attach-trace.exp: New file.
266
a2c2acaf
MW
2672015-02-09 Mark Wielaard <mjw@redhat.com>
268
269 * gdb.dwarf2/atomic.c: New file.
270 * gdb.dwarf2/atomic-type.exp: Likewise.
271
31fd9caa
MM
2722015-02-09 Markus Metzger <markus.t.metzger@intel.com>
273
274 * gdb.btrace/buffer-size.exp: Update "info record" output.
275 * gdb.btrace/delta.exp: Update "info record" output.
276 * gdb.btrace/enable.exp: Update "info record" output.
277 * gdb.btrace/finish.exp: Update "info record" output.
278 * gdb.btrace/instruction_history.exp: Update "info record" output.
279 * gdb.btrace/next.exp: Update "info record" output.
280 * gdb.btrace/nexti.exp: Update "info record" output.
281 * gdb.btrace/step.exp: Update "info record" output.
282 * gdb.btrace/stepi.exp: Update "info record" output.
283 * gdb.btrace/nohist.exp: Update "info record" output.
284
d33501a5
MM
2852015-02-09 Markus Metzger <markus.t.metzger@intel.com>
286
287 * gdb.btrace/buffer-size: New.
288
f4abbc16
MM
2892015-02-09 Markus Metzger <markus.t.metzger@intel.com>
290
291 * gdb.btrace/delta.exp: Update "info record" output.
292 * gdb.btrace/enable.exp: Update "info record" output.
293 * gdb.btrace/finish.exp: Update "info record" output.
294 * gdb.btrace/instruction_history.exp: Update "info record" output.
295 * gdb.btrace/next.exp: Update "info record" output.
296 * gdb.btrace/nexti.exp: Update "info record" output.
297 * gdb.btrace/step.exp: Update "info record" output.
298 * gdb.btrace/stepi.exp: Update "info record" output.
299 * gdb.btrace/nohist.exp: Update "info record" output.
300
b9d61307
SM
3012015-02-06 Simon Marchi <simon.marchi@ericsson.com>
302
303 PR gdb/15678
304 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
305
e584fdbc
PA
3062015-02-06 Pedro Alves <palves@redhat.com>
307
308 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
309 macro.
310 (seconds_left, again): New globals.
311 (main): Wait seconds_left in a 1-second sleep loop instead of
312 sleeping 180 seconds. If 'again' is set, reset the seconds
313 counter.
314 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
315 'again' in the inferior before detaching. Print the seconds left.
316 (options): New global.
317 (top level): Build program with -DTIMEOUT=$timeout.
318
77f41761
PA
3192015-02-06 Pedro Alves <palves@redhat.com>
320
321 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
322 determine how many seconds to pass to 'alarm'.
323 * gdb.base/gdb-sigterm.exp (top level): Build program with
324 -DTIMEOUT=$timeout.
325 (do_test): Return success/failure indication. Add more verbose
326 logging. Don't fail if 200 single steps are seen. Instead, fail
327 when the test times out.
328 (passes): New global.
329 (top level): Break the testing loop if testing fails on any
330 iteration. Use gdb_assert.
331
b9394193
DB
3322015-02-04 Don Breazeal <donb@codesourcery.com>
333
334 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
335 and initialize them.
336 (ipc_cleanup): New function.
337 (main): Don't declare shmid, semid, and msqid. Add a call to
338 atexit so that we call ipc_cleanup on exit.
339
42d9e528
PA
3402015-02-04 Pedro Alves <palves@redhat.com>
341
342 * boards/native-extended-gdbserver.exp: Remove any target variant
343 specifications from the board name before clearing the isremote
344 flag from board_info.
345
ae6ae975
DE
3462015-01-31 Doug Evans <xdje42@gmail.com>
347
348 * gdb.base/maint.exp <maint print type argc>: Update expected output.
349
cfb069a8
GB
3502015-01-31 Gary Benson <gbenson@redhat.com>
351
352 * gdb.base/completion.exp: Disable completion limiting for
353 existing tests. Add new tests to check completion limiting.
354 * gdb.linespec/ls-errs.exp: Disable completion limiting.
355
5dd31d79
DE
3562015-01-31 Doug Evans <xdje42@gmail.com>
357
358 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
359
9f050062
DE
3602015-01-31 Doug Evans <xdje42@gmail.com>
361
362 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
363 entries. Duplicate file section script entries.
364 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
365 inlined entries. Add test for safe-path rejection.
366 * gdb.python/py-section-script.c: Add duplicate inlined section script
367 entries. Duplicate file section script entries.
368 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
369 inlined entries. Add test for safe-path rejection.
370
df25ebbd
JB
3712015-01-29 Joel Brobecker <brobecker@adacore.com>
372
373 * gdb.ada/disc_arr_bound: New testcase.
374
4a0ca9ec
JB
3752015-01-29 Joel Brobecker <brobecker@adacore.com>
376
377 * gdb.ada/mi_var_array: New testcase.
378
3a8b707a
DE
3792015-01-27 Doug Evans <dje@google.com>
380
381 * gdb.python/py-objfile.exp: Add tests for objfile.username.
382 Add test for objfile.filename, objfile.username after objfile
383 has been unloaded.
384
f8313f6e
JB
3852015-01-26 Joel Brobecker <brobecker@adacore.com>
386
387 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
388 the second test to print the name attribute of value
389 returned by the call to gdb.lookup_type, and adjust
390 the expected output accordingly.
391
37bc665e
MW
3922015-01-25 Mark Wielaard <mjw@redhat.com>
393
394 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
395 * gdb.base/disp-step-fork.c: Include unistd.h.
396 * gdb.base/siginfo-obj.c: Include stdio.h.
397 * gdb.base/siginfo-thread.c: Likewise.
398 * gdb.mi/non-stop.c: Include unistd.h.
399 * gdb.mi/nsthrexec.c: Include stdio.h.
400 * gdb.mi/pthreads.c: Include unistd.h.
401 * gdb.modula2/unbounded1.c (main): Declare returns int.
402 * gdb.reverse/consecutive-reverse.c: Likewise.
403 * gdb.threads/create-fail.c: Include unistd.h.
404 * gdb.threads/killed.c: Likewise.
405 * gdb.threads/linux-dp.c: Likewise.
406 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
407 * gdb.threads/non-ldr-exc-2.c: Likewise.
408 * gdb.threads/non-ldr-exc-3.c: Likewise.
409 * gdb.threads/non-ldr-exc-4.c: Likewise.
410 * gdb.threads/pthreads.c: Include unistd.h.
411 (main): Declare returns int.
412 * gdb.threads/tls-main.c (foo): New declaration.
413 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
414
f7e5394d
SM
4152015-01-23 Simon Marchi <simon.marchi@ericsson.com>
416
417 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
418 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
419
743649fd
MW
4202015-01-15 Mark Wielaard <mjw@redhat.com>
421
422 * gdb.base/noreturn-return.c: New file.
423 * gdb.base/noreturn-return.exp: New file.
424 * gdb.base/noreturn-finish.c: New file.
425 * gdb.base/noreturn-finish.exp: New file.
426
198297aa
PA
4272015-01-23 Pedro Alves <palves@redhat.com>
428
429 * gdb.threads/continue-pending-after-query.c: New file.
430 * gdb.threads/continue-pending-after-query.exp: New file.
431
717cf30c
AG
4322015-01-22 Anders Granlund <anders.granlund@ericsson.com>
433 Simon Marchi <simon.marchi@ericsson.com>
434
435 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
436 * gdb.base/valgrind-db-attach.exp: Same.
437 * gdb.base/valgrind-infcall.exp: Same.
438 * lib/mi-support.exp (default_mi_gdb_start): Same.
439 * lib/prompt.exp (default_prompt_gdb_start): Same.
440 * lib/gdb.exp (default_gdb_spawn): Same.
441 (gdb_interact): New.
442
443
4b62a76e
JK
4442015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
445
446 * gdb.compile/compile.exp (pointer to jit function): New test.
447
b4cdae6f
WW
4482015-01-17 Wei-cheng Wang <cole945@gmail.com>
449
450 * lib/gdb.exp (supports_process_record): Return true for
451 powerpc*-*-linux*.
452 (supports_reverse): Likewise.
453
d221e7ef
DB
4542015-01-15 Don Breazeal <donb@codesourcery.com>
455
456 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
457 instead of checking whether the target board is remote and
458 use spawn_wait_for_attach instead of exec/sleep.
459 * gdb.base/attach-twice.exp: Likewise.
460
bafffb51
JB
4612015-01-15 Joel Brobecker <brobecker@adacore.com>
462
463 * gdb.ada/var_arr_attrs: New testcase.
464
5589af0e
PA
4652015-01-14 Pedro Alves <palves@redhat.com>
466 Joel Brobecker <brobecker@adacore.com>
467
468 PR gdb/17525
469 * gdb.base/bp-cmds-execution-x-script.c: New file.
470 * gdb.base/bp-cmds-execution-x-script.exp: New file.
471 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
472
6c400b59
PA
4732015-01-14 Pedro Alves <palves@redhat.com>
474
475 PR cli/17828
476 * gdb.base/batch-preserve-term-settings.c: New file.
477 * gdb.base/batch-preserve-term-settings.exp: New file.
478
e02c96a7
DE
4792015-01-13 Doug Evans <dje@google.com>
480
481 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
482 binary.
483
576fd14c
JB
4842015-01-13 Joel Brobecker <brobecker@adacore.com>
485
486 * Makefile.in (clean mostlyclean): Do not delete *.py.
487
04dccad0
JB
4882015-01-13 Joel Brobecker <brobecker@adacore.com>
489
490 * gdb.python/py-lookup-type.exp: New file.
491
3d230f71
PA
4922015-01-12 Pedro Alves <palves@redhat.com>
493
494 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
495 restore GDBFLAGS before returning.
496
7e67715d
JK
4972015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
498
499 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
500 is_amd64_regs_target and is_x86_like_target.
501
f2e0d4b4
DE
5022015-01-11 Doug Evans <xdje42@gmail.com>
503
504 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
505 is given without an explicit form.
506 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
507 attributes.
508 * gdb.dwarf/corrupt.exp: Ditto.
509 * gdb.dwarf2/enum-type.exp: Ditto.
510 * gdb.trace/entry-values.exp: Ditto.
511 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
512
439250fb
DE
5132015-01-11 Doug Evans <xdje42@gmail.com>
514
515 PR gdb/15830
516 * gdb.base/maint.exp: Remove references to "maint demangle".
517 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
518 Add tests for explicitly specifying language to demangle.
519 * gdb.dlang/demangle.exp: Ditto.
520
ede9f622
PA
5212015-01-09 Pedro Alves <palves@redhat.com>
522
523 * gdb.threads/non-stop-fair-events.c: New file.
524 * gdb.threads/non-stop-fair-events.exp: New file.
525
a7b796db
PA
5262015-01-09 Pedro Alves <palves@redhat.com>
527
528 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
529 the global scope. Set a breakpoint after all threads are started
530 rather than stepping over two source lines. Expect the prompt.
531 * gdb.base/watch_thread_num.c (threads_started_barrier): New
532 global.
533 (NUM): Now 15.
534 (main): Use threads_started_barrier to wait for all threads to
535 start. Main thread no longer calls thread_function. Exit after
536 180 seconds.
537 (loop): New function.
538 (thread_function): Wait on threads_started_barrier barrier. Call
539 'loop' at each iteration.
540 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
541 threads have started, instead of hardcoding number of "next"
542 steps. Use an access watchpoint instead of a write watchpoint.
543
9665ffdd
PA
5442015-01-09 Pedro Alves <palves@redhat.com>
545
546 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
547 (thread_func): Wait on barrier.
548 (main): Wait for all threads to start before stopping GDB.
549 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
550 global.
551 (thread1_func, thread2_func): Wait on barrier.
552 (main): Wait for all threads to start before stopping GDB.
553 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
554 New global.
555 (thread1_func, thread2_func): Wait on barrier.
556 (main): Wait for all threads to start before stopping GDB.
557
c945a99f
PA
5582015-01-09 Pedro Alves <palves@redhat.com>
559
560 * gdb.threads/attach-many-short-lived-threads.c: New file.
561 * gdb.threads/attach-many-short-lived-threads.exp: New file.
562
c1a747c1
PA
5632014-01-09 Pedro Alves <palves@redhat.com>
564
565 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
566 instead of to thread 2.
567 * gdb.threads/signal-command-multiple-signals-pending.c (main):
568 Add barrier around each pthread_create call instead of around all
569 calls.
570 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
571 Set a break on thread_function and have the child threads hit it
572 one at at a time.
573
60b3033e
PA
5742015-01-09 Pedro Alves <palves@redhat.com>
575
576 * lib/gdb.exp (can_spawn_for_attach): New procedure.
577 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
578 false.
579 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
580 checking whether the target board is remote.
581 * gdb.multi/multi-attach.exp: Likewise.
582 * gdb.python/py-sync-interp.exp: Likewise.
583 * gdb.server/ext-attach.exp: Likewise.
584 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
585 tests that need to attach, instead of checking whether the target
586 board is remote at the top of the file.
587
acc018ac
YQ
5882015-01-08 Yao Qi <yao@codesourcery.com>
589
590 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
591
50a18af8
JK
5922015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
593
594 Fix testcase compilation.
595 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
596
8503d6e1
JB
5972015-01-06 Joel Brobecker <brobecker@adacore.com>
598
599 * gdb.python/py-type.exp: Add a couple test about empty
600 array creation, and negative-length array creation.
601
cc73dbcc
DE
6022015-01-02 Doug Evans <xdje42@gmail.com>
603
604 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
605
0300bbc7
DE
6062015-01-02 Doug Evans <dje@google.com>
607
608 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
609
9d85a0ec
YQ
6102014-12-29 Yao Qi <yao@codesourcery.com>
611
612 * gdb.trace/entry-values.exp: Update comments. Rename variable
613 bar_call_foo to returned_from_foo.
614
87186c6a
MMN
6152014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
616
617 PR gdb/17394
618 * gdb.linespec/break-asm-file.c: New file.
619 * gdb.linespec/break-asm-file.exp: New file.
620 * gdb.linespec/break-asm-file0.s: New file.
621 * gdb.linespec/break-asm-file1.s: New file.
622
1bab7383
YQ
6232014-12-18 Nigel Stephens <nigel@mips.com>
624 Maciej W. Rozycki <macro@codesourcery.com>
625
626 * gdb.base/float.exp: Handle the new output from "info float" on
627 MIPS targets.
628
1bc1068a
JK
6292014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
630
631 Fix MinGW compilation.
632 * gdb.compile/compile-ops.exp: Update untested message if
633 !skip_compile_feature_tests.
634 * gdb.compile/compile-setjmp.exp: Likewise.
635 * gdb.compile/compile-tls.exp: Likewise.
636 * gdb.compile/compile.exp: Likewise.
637 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
638 supported on this host".
639
b6615d10
DE
6402014-12-16 Doug Evans <xdje42@gmail.com>
641
642 * boards/stabs.exp: New file.
643
25dda427
AA
6442014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
645
646 * gdb.base/completion.exp: Adjust to format changes of "maint
647 print user-registers".
648
bf330350
CU
6492014-12-16 Catalin Udma <catalin.udma@freescale.com>
650
651 PR server/17457
652 * gdb.arch/aarch64-fp.c: New file.
653 * gdb.arch/aarch64-fp.exp: New file.
654
395cf596
SDJ
6552014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
656
657 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
658 r210637, r210913, r211666, r215400, r215817).
659
660 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
661 * dg-extract-results.py: New file.
662 * dg-extract-results.sh: Use it if the environment seems
663 suitable.
664
665 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
666
667 * dg-extract-results.py (parse_run): Handle warnings that
668 are printed before a test harness is run.
669
670 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
671
672 * dg-extract-results.py (Named): Remove __cmp__ method.
673 (output_variation): Use a key to sort variation.harnesses.
674
675 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
676
677 * dg-extract-results.py: For Python 3, force sys.stdout to
678 handle surrogate escape sequences.
679 (safe_open): New function.
680 (output_segment, main): Use it.
681
682 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
683
684 * dg-extract-results.py (Prog.result_re): Include options
685 in test name.
686
687 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
688
689 * dg-extract-results.py (output_variation): Always sort if
690 do_sum.
691
e882ef3c
SM
6922014-12-15 Simon Marchi <simon.marchi@ericsson.com>
693
694 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
695 as long as we get pagination notifications.
696
4992aa20
JM
6972014-12-15 Jason Merrill <jason@redhat.com>
698
699 * Makefile.in (check-gdb.%): Restore.
700 * README: Mention it.
701
c1b5a1a6
JB
7022014-12-13 Joel Brobecker <brobecker@adacore.com>
703
704 * gdb.ada/str_uninit: New testcase.
705
5537b577
JK
7062014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
707
708 PR symtab/17642
709 * gdb.base/vla-stub-define.c: New file.
710 * gdb.base/vla-stub.c: New file.
711 * gdb.base/vla-stub.exp: New file.
712
bb2ec1b3
TT
7132014-12-12 Phil Muldoon <pmuldoon@redhat.com>
714 Jan Kratochvil <jan.kratochvil@redhat.com>
715 Tom Tromey <tromey@redhat.com>
716
717 * configure.ac: Add gdb.compile/.
718 * configure: Regenerate.
719 * gdb.compile/Makefile.in: New file.
720 * gdb.compile/compile-ops.exp: New file.
721 * gdb.compile/compile-ops.c: New file.
722 * gdb.compile/compile-tls.c: New file.
723 * gdb.compile/compile-tls.exp: New file.
724 * gdb.compile/compile-constvar.S: New file.
725 * gdb.compile/compile-constvar.c: New file.
726 * gdb.compile/compile-mod.c: New file.
727 * gdb.compile/compile-nodebug.c: New file.
728 * gdb.compile/compile-setjmp-mod.c: New file.
729 * gdb.compile/compile-setjmp.c: New file.
730 * gdb.compile/compile-setjmp.exp: New file.
731 * gdb.compile/compile-shlib.c: New file.
732 * gdb.compile/compile.c: New file.
733 * gdb.compile/compile.exp: New file.
734 * lib/gdb.exp (skip_compile_feature_tests): New proc.
735
4ff709eb
TT
7362014-12-12 Tom Tromey <tromey@redhat.com>
737
738 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
739 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
740
6dddd6a5
DE
7412014-12-12 Doug Evans <dje@google.com>
742
743 * lib/gdb-python.exp (get_python_valueof): New function.
744 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
745
71c24708
AA
7462014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
747
748 * gdb.base/completion.exp: Add test for completion of "info
749 registers ".
750
3e29f34a
MR
7512014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
752
753 * gdb.base/func-ptrs.c: New file.
754 * gdb.base/func-ptrs.exp: New file.
755
fc126975
SM
7562014-12-10 Simon Marchi <simon.marchi@ericsson.com>
757
758 PR breakpoints/17012
759 * gdb.base/dprintf-detach.c: New file.
760 * gdb.base/dprintf-detach.exp: New file.
761
0a46d518
SM
7622014-12-10 Simon Marchi <simon.marchi@ericsson.com>
763
764 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
765 * lib/gdb.exp (target_is_gdbserver): New procedure.
766
a0be3e44
DE
7672014-12-08 Doug Evans <dje@google.com>
768
769 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
770
df1b803a
YQ
7712014-12-05 Yao Qi <yao@codesourcery.com>
772
773 * gdb.guile/scm-error.exp: Remove the third argument to
774 gdb_remote_download.
775 * gdb.guile/scm-frame-args.exp: Likewise.
776 * gdb.guile/scm-section-script.exp: Likewise.
777
ddb9f679
YQ
7782014-12-05 Yao Qi <yao@codesourcery.com>
779
780 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
781
86e4ed39
DE
7822014-12-04 Doug Evans <dje@google.com>
783
784 * gdb.python/py-objfile.exp: Add tests for
785 objfile.add_separate_debug_file.
786
7c50a931
DE
7872014-12-04 Doug Evans <dje@google.com>
788
789 * lib/gdb.exp (get_build_id): New function.
790 (build_id_debug_filename_get): Rewrite to use it.
791 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
792
621661e3
MR
7932014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
794
795 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
796 `method(long)', not just 0x0.
797 * gdb.cp/nsalias.exp: Align code labels to 4.
798 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
799 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
800 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
801 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
802 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
803 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
804
29f0c3b7
DE
8052014-12-02 Doug Evans <dje@google.com>
806
e1e061e7 807 PR symtab/17602
29f0c3b7 808 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 809 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
810 * gdb.cp/anon-ns.exp: Update.
811
162078c8
NB
8122014-12-02 Nick Bull <nicholaspbull@gmail.com>
813
814 * gdb.python/py-events.py (inferior_call_handler): New.
815 (register_changed_handler, memory_changed_handler): New.
816 (test_events.invoke): Register new handlers.
817 * gdb.python/py-events.exp: Add tests for inferior call,
818 memory_changed and register_changed events.
819
fdb09caf
AA
8202014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
821
822 * gdb.base/execl-update-breakpoints.exp: Specify the link address
823 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
824 if the linker doesn't understand this.
825
55cfb2c4
SM
8262014-12-01 Simon Marchi <simon.marchi@ericsson.com>
827
828 * gdb.python/python.exp: Change expected reply to help().
829
9e8cd6df
YQ
8302014-12-01 Yao Qi <yao@codesourcery.com>
831
832 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
833 AC_CONFIG_SUBDIRS(gdb.gdbtk).
834 * configure: Re-generated.
835
6c659fc2
SC
8362014-11-28 Siva Chandra Reddy <sivachandra@google.com>
837
838 * gdb.cp/chained-calls.cc: New file.
839 * gdb.cp/chained-calls.exp: New file.
840 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
841
d7fc3181
SM
8422014-11-28 Simon Marchi <simon.marchi@ericsson.com>
843
844 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
845 * gdb.dwarf2/symtab-producer.exp: Same.
846 * gdb.gdb/python-interrupts.exp: Same.
847 * gdb.gdb/python-selftest.exp: Same.
848 * gdb.python/py-linetable.exp: Same.
849 * gdb.python/py-type.exp: Same.
850 * gdb.python/py-value-cc.exp: Same.
851 * gdb.python/py-value.exp: Same.
852
10e79639
YQ
8532014-11-28 Yao Qi <yao@codesourcery.com>
854
855 * gdb.base/break-probes.exp: Match library name prefixed with
856 sysroot.
857
f28a0564
SM
8582014-11-27 Simon Marchi <simon.marchi@ericsson.com>
859
860 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
861 test expected output. Add parentheses for the call to print.
862 Remove L suffix from integers.
863
3fe1ce1d
DE
8642014-11-26 Doug Evans <dje@google.com>
865
866 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
867
84429e27
YQ
8682014-11-22 Yao Qi <yao@codesourcery.com>
869
870 * gdb.trace/entry-values.c: Remove asms.
871 (foo): Add foo_label.
872 (bar): Add bar_label.
873 * gdb.trace/entry-values.exp: Remove code computing foo's
874 length and bar's length.
875 (Dwarf::assemble): Invoke function_range for bar and use
876 MACRO_AT_func for foo.
877
26741859
YQ
8782014-11-22 Yao Qi <yao@codesourcery.com>
879
880 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
881 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
882 Use .Lgcc43_procstart instead of gcc43.
883
45e44d27
JB
8842014-11-21 Joel Brobecker <brobecker@adacore.com>
885
886 * gdb.ada/n_arr_bound: New testcase.
887
458c8db8
SDJ
8882014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
889
890 PR breakpoints/10737
891 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
892 test_catch_syscall_multi_arch.
893 (test_catch_syscall_multi_arch): New function.
894
43f3e411
DE
8952014-11-20 Doug Evans <xdje42@gmail.com>
896
897 * gdb.base/maint.exp: Update expected output.
898
0d7b2549
AA
8992014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
900
901 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
902 4-byte instruction on S390.
903
8908fca5
JB
9042014-11-19 Joel Brobecker <brobecker@adacore.com>
905
906 * gdb.ada/arr_arr: New testcase.
907
4a46959e
JB
9082014-11-19 Joel Brobecker <brobecker@adacore.com>
909
910 * gdb.ada/pkd_arr_elem: New Testcase.
911
470e2f4e
LM
9122014-11-18 Luis Machado <lgustavo@codesourcery.com>
913
914 * gdb.reverse/break-precsave: Expect completion message for
915 core file reads.
916 * gdb.reverse/consecutive-precsave.exp: Likewise.
917 * gdb.reverse/finish-precsave.exp: Likewise.
918 * gdb.reverse/i386-precsave.exp: Likewise.
919 * gdb.reverse/machinestate-precsave.exp: Likewise.
920 * gdb.reverse/sigall-precsave.exp: Likewise.
921 * gdb.reverse/solib-precsave.exp: Likewise.
922 * gdb.reverse/step-precsave.exp: Likewise.
923 * gdb.reverse/until-precsave.exp: Likewise.
924 * gdb.reverse/watch-precsave.exp: Likewise.
925
a267f3ad
AA
9262014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
927
928 * gdb.base/bp-permanent.c: Include unistd.h.
929 * gdb.python/py-framefilter-mi.c (main): Add return type.
930 * gdb.python/py-framefilter.c (main): Likewise.
931 * gdb.trace/actions-changed.c (main): Likewise.
932
12084a9a
AA
9332014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
934
935 * gdb.mi/until.c: Add eye-catchers.
936 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
937 line numbers.
938
dc7e1a77
AA
9392014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
940
941 * gdb.base/condbreak.exp: Drop references to removed non-prototype
942 function header variants in break1.c.
943 * gdb.base/ena-dis-br.exp: Likewise.
944 * gdb.base/hbreak2.exp: Likewise.
945 * gdb.reverse/until-precsave.exp: Drop references to removed
946 non-prototype function header variants in ur1.c.
947 * gdb.reverse/until-reverse.exp: Likewise.
948
41c77605
PM
9492014-11-17 Petr Machata <pmachata@redhat.com>
950
951 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
952 ${_cu_offset_size} bytes abbrev offset.
953
34248c3a
DE
9542014-11-15 Doug Evans <xdje42@gmail.com>
955
956 PR symtab/17559
957 * gdb.base/line-symtabs.exp: New file.
958 * gdb.base/line-symtabs.c: New file.
959 * gdb.base/line-symtabs.h: New file.
960
646da059
YQ
9612014-11-14 Yao Qi <yao@codesourcery.com>
962
963 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
964 (func): Add label func_label.
965 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
966 Replace low_pc and high_pc with MACRO_AT_range.
967 Replace name, low_pc and high_pc with MACRO_AT_func.
968
9301ebe6
YQ
9692014-11-14 Yao Qi <yao@codesourcery.com>
970
971 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
972 Replace name, low_pc and high_pc with MACRO_AT_func.
973
f166b542
YQ
9742014-11-14 Yao Qi <yao@codesourcery.com>
975
976 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
977 produce debug information.
978 * gdb.dwarf2/implptr-optimized-out.S: Removed.
979
0f6e71e3
YQ
9802014-11-14 Yao Qi <yao@codesourcery.com>
981
982 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
983 object and get function length.
984 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
985 with MACRO_AT_func.
986 (top-level): Replace gdb_compile and clean_restart with
987 prepare_for_testing.
988 * gdb.dwarf2/main.c (main): Add label main_label.
989
876c4df9
YQ
9902014-11-14 Yao Qi <yao@codesourcery.com>
991
992 * lib/dwarf.exp (function_range): New procedure.
993 (Dwarf::_handle_macro_at_func): New procedure.
994 (Dwarf::_handle_macro_at_range): New procedure.
995 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
996
02ad9cf1
YQ
9972014-11-14 Yao Qi <yao@codesourcery.com>
998
999 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
1000 (_handle_attribute): New procedure.
1001
a59add0c
AA
10022014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1003
1004 * gdb.ada/cond_lang/foo.c (callme): Add return type.
1005 * gdb.base/call-sc.c (zed): Likewise.
1006 * gdb.base/checkpoint.c (main): Likewise.
1007 * gdb.base/dump.c (main): Likewise.
1008 * gdb.base/gcore.c (main): Likewise.
1009 * gdb.base/huge.c (main): Likewise.
1010 * gdb.base/multi-forks.c (main): Likewise.
1011 * gdb.base/pr10179-a.c (main): Likewise.
1012 * gdb.base/savedregs.c (main): Likewise.
1013 * gdb.base/sigaltstack.c (main): Likewise.
1014 * gdb.base/siginfo.c (main): Likewise.
1015 * gdb.base/structs.c (zed): Likewise.
1016 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
1017 * gdb.mi/mi-syn-frame.c (main): Likewise.
1018 * gdb.mi/until.c (foo, main): Likewise.
1019 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
1020 * gdb.base/solib-weak.c (foo): Declare.
1021 * gdb.base/attach-twice.c: Include stdio.h.
1022 * gdb.base/weaklib1.c: Likewise.
1023 * gdb.base/weaklib2.c: Likewise.
1024 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
1025 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
1026 unistd.h.
1027 * gdb.base/attach-pie-misread.c: Include stdlib.h.
1028 * gdb.mi/mi-exit-code.c: Likewise.
1029 * gdb.base/break-interp-lib.c: Include string.h.
1030 * gdb.base/coremaker.c: Likewise.
1031 * gdb.base/testenv.c: Likewise.
1032 * gdb.python/py-finish-breakpoint.c: Likewise.
1033 * gdb.base/inferior-died.c: Include sys/wait.h.
1034 * gdb.base/fileio.c: Include time.h.
1035 * gdb.base/async-shell.c: Include unistd.h.
1036 * gdb.base/dprintf-non-stop.c: Likewise.
1037 * gdb.base/info-os.c: Likewise.
1038 * gdb.mi/mi-console.c: Likewise.
1039 * gdb.mi/watch-nonstop.c: Likewise.
1040 * gdb.python/py-events.c: Likewise.
1041 * gdb.base/async.c (baz): Move up before its invocation.
1042 * gdb.base/code_elim2.c (my_global_func): Likewise.
1043 * gdb.base/skip-solib-lib.c (multiply): Likewise.
1044 * gdb.base/advance.c (func2): Likewise.
1045
3b5d5997
AA
10462014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1047
1048 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
1049 variant.
1050 * gdb.base/annota3.c: Likewise.
1051 * gdb.base/async.c: Likewise.
1052 * gdb.base/average.c: Likewise.
1053 * gdb.base/call-ar-st.c: Likewise.
1054 * gdb.base/call-rt-st.c: Likewise.
1055 * gdb.base/call-sc.c: Likewise.
1056 * gdb.base/call-strs.c: Likewise.
1057 * gdb.base/ending-run.c: Likewise.
1058 * gdb.base/execd-prog.c: Likewise.
1059 * gdb.base/exprs.c: Likewise.
1060 * gdb.base/foll-exec.c: Likewise.
1061 * gdb.base/foll-fork.c: Likewise.
1062 * gdb.base/foll-vfork.c: Likewise.
1063 * gdb.base/funcargs.c: Likewise.
1064 * gdb.base/gcore.c: Likewise.
1065 * gdb.base/jump.c: Likewise.
1066 * gdb.base/langs0.c: Likewise.
1067 * gdb.base/langs1.c: Likewise.
1068 * gdb.base/langs2.c: Likewise.
1069 * gdb.base/mips_pro.c: Likewise.
1070 * gdb.base/nodebug.c: Likewise.
1071 * gdb.base/opaque0.c: Likewise.
1072 * gdb.base/opaque1.c: Likewise.
1073 * gdb.base/recurse.c: Likewise.
1074 * gdb.base/run.c: Likewise.
1075 * gdb.base/scope0.c: Likewise.
1076 * gdb.base/scope1.c: Likewise.
1077 * gdb.base/setshow.c: Likewise.
1078 * gdb.base/setvar.c: Likewise.
1079 * gdb.base/shmain.c: Likewise.
1080 * gdb.base/shr1.c: Likewise.
1081 * gdb.base/shr2.c: Likewise.
1082 * gdb.base/sigall.c: Likewise.
1083 * gdb.base/signals.c: Likewise.
1084 * gdb.base/so-indr-cl.c: Likewise.
1085 * gdb.base/solib2.c: Likewise.
1086 * gdb.base/structs.c: Likewise.
1087 * gdb.base/sum.c: Likewise.
1088 * gdb.base/vforked-prog.c: Likewise.
1089 * gdb.base/watchpoint.c: Likewise.
1090 * gdb.reverse/shr2.c: Likewise.
1091 * gdb.reverse/until-reverse.c: Likewise.
1092 * gdb.reverse/ur1.c: Likewise.
1093 * gdb.reverse/watch-reverse.c: Likewise.
1094
066a77c5
AA
10952014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1096
1097 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
1098 variant.
1099 * gdb.base/sepdebug.exp: Drop references to removed code.
1100
4f204ea5
AA
11012014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1102
1103 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
1104 variant. Preserve original line numbering.
1105 * gdb.base/list1.c: Likewise.
1106
3b377a3a
AA
11072014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1108
1109 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
1110 variant.
1111 * gdb.base/break1.c: Likewise.
1112 * gdb.base/break.exp: Drop references to removed code.
1113
e444df73
AA
11142014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1115
1116 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
1117 variant.
1118
8008f2a7
AA
11192014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1120
1121 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
1122
a5a06887
AA
11232014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1124
1125 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
1126 logic into perform_all_tests() and invoke it with and without
1127 function header prototypes.
1128 (do_function_calls): Remove conditional XFAIL for PR 5318.
1129 (rerun_and_prepare): Remove duplicate code.
1130 (perform_all_tests): New. Main logic moved here.
1131
44dba9b9
AA
11322014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1133
1134 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
1135 code guarded by #ifdef NO_PROTOTYPES.
1136 (t_double_many_args): Likewise.
1137 (DEF_FUNC_MANY_ARGS_1): Likewise.
1138 (DEF_FUNC_VALUES_1): Likewise.
1139 (t_structs_ldc): Renamed from t_structs_fc in conditional code
1140 guarded by #ifdef PROTOTYPES.
1141
d1fbcd56
AA
11422014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1143
1144 * gdb.mi/mi-console.c: Add eye-catcher.
1145 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
1146 instead of literal line number.
1147
b0e59b8f
AA
11482014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1149
1150 * gdb.base/shr2.c: Add eye-catcher.
1151 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
1152 line number.
1153
78f98cca
AA
11542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1155
1156 * gdb.base/jump.c: Add eye-catchers.
1157 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
1158 numbers.
1159
58fa2af0
AA
11602014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1161
1162 * gdb.base/execd-prog.c: Add eye-catchers.
1163 * gdb.base/foll-exec.c: Likewise.
1164 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
1165 line numbers.
1166
04e5059b
AA
11672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1168
1169 * gdb.base/ending-run.c: Add eye-catchers.
1170 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
1171 literal line numbers.
1172
dbfdb174
AA
11732014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1174
1175 * gdb.base/call-rt-st.c: Add eye-catchers.
1176 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
1177 literal line numbers.
1178
888a2ade
AA
11792014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1180
1181 * gdb.base/call-ar-st.c: Add eye-catchers.
1182 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
1183 literal line numbers.
1184
6acc2dde
AA
11852014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1186
1187 * gdb.base/average.c: Add eye-catchers.
1188 * gdb.base/sum.c: Likewise.
1189 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
1190 regexps dynamically.
1191
9ecfcd1d
AA
11922014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1193
1194 * gdb.base/solib1.c: Add eye-catchers.
1195 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
1196 literal line numbers.
1197
78708b7c
PA
11982014-11-12 Pedro Alves <palves@redhat.com>
1199
1200 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
1201 leader has exited.
1202
af48d08f
PA
12032014-11-12 Pedro Alves <palves@redhat.com>
1204
1205 * gdb.arch/i386-bp_permanent.c: New file.
1206 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
1207 (srcfile): Set to i386-bp_permanent.c.
1208 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
1209 that stepi does not execute the 'leave' instruction, instead of
1210 testing it does execute.
1211 * gdb.base/bp-permanent.c: New file.
1212 * gdb.base/bp-permanent.exp: New file.
1213
af3768e9
DE
12142014-11-10 Doug Evans <xdje42@gmail.com>
1215
1216 PR symtab/17564
1217 * gdb.base/symtab-search-order.exp: New file.
1218 * gdb.base/symtab-search-order.c: New file.
1219 * gdb.base/symtab-search-order-1.c: New file.
1220 * gdb.base/symtab-search-order-shlib-1.c: New file.
1221
9de00a4a
PA
12222014-11-07 Pedro Alves <palves@redhat.com>
1223
1224 PR gdb/17511
1225 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
1226 i?86-*-linux*.
1227
e0f52461
SC
12282014-11-03 Siva Chandra Reddy <sivachandra@google.com>
1229
1230 PR c++/17494
1231 * gdb.cp/pr17494.cc: New file.
1232 * gdb.cp/pr17494.exp: New file.
1233
6ce8c980
YQ
12342014-11-02 Yao Qi <yao@codesourcery.com>
1235
1236 * gdb.python/python.exp: Get working directory and match the
1237 output of "set extended-prompt \\w " with it.
1238
02be9a71
DE
12392014-10-30 Doug Evans <dje@google.com>
1240
1241 * gdb.python/py-objfile.exp: Add tests for setting random attributes
1242 in objfiles.
1243 * gdb.python/py-progspace.exp: Add tests for setting random attributes
1244 in progspaces.
1245
3bdff46b
LM
12462014-10-30 Janis Johnson <janisjo@codesourcery.com>
1247
1248 * gdb.base/fullpath-expand.exp: Skip for a remote host.
1249 * gdb.base/realname-expand.exp: Likewise.
1250 * gdb.linespec/macro-relative.exp: Likewise.
1251
ab917dfb
PA
12522014-10-29 Pedro Alves <palves@redhat.com>
1253
1254 PR gdb/17408
1255 * gdb.threads/schedlock.c (some_function): New function.
1256 (call_function): New global.
1257 (MAYBE_CALL_SOME_FUNCTION): New macro.
1258 (thread_function): Call it.
1259 * gdb.threads/schedlock.exp (get_args): Add description parameter,
1260 and use it instead of a global counter. Adjust all callers.
1261 (get_current_thread): Use "find current thread" for test message
1262 here rather than having all callers pass down the same string.
1263 (goto_loop): New procedure, factored out from ...
1264 (my_continue): ... this.
1265 (step_ten_loops): Change parameter from test message to command to
1266 use. Adjust.
1267 (list_count): Delete global.
1268 (check_result): New procedure, factored out from duplicate top
1269 level code.
1270 (continue tests): Wrap in with_test_prefix.
1271 (test_step): New procedure, factored out from duplicate top level
1272 code.
1273 (top level): Test "step" in combination with all scheduler-locking
1274 modes. Test "next" in combination with all scheduler-locking
1275 modes, and in combination with stepping over a function call or
1276 not.
1277 * gdb.threads/next-bp-other-thread.c: New file.
1278 * gdb.threads/next-bp-other-thread.exp: New file.
1279
d3d4baed
PA
12802014-10-29 Pedro Alves <palves@redhat.com>
1281
1282 PR python/17372
1283 * gdb.python/python.exp: Test a multi-line command that spawns
1284 interactive Python.
1285 * gdb.base/multi-line-starts-subshell.exp: New file.
1286
563e8d85
YQ
12872014-10-29 Yao Qi <yao@codesourcery.com>
1288
1289 * gdb.base/fileio.exp: Make directories on host.
1290
0ea4d52e
YQ
12912014-10-29 Yao Qi <yao@codesourcery.com>
1292
1293 * gdb.base/fileio.c (test_write): Close the file.
1294
7f5ef605
PA
12952014-10-28 Pedro Alves <palves@redhat.com>
1296
1297 PR gdb/12623
1298 * gdb.base/sigstep.c (no_handler): New global.
1299 (main): If 'no_handler is true, set the signal handlers to
1300 SIG_IGN.
1301 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
1302 with_sw_watch and no_handler parameters. Handle them.
1303 (top level) <stepping over handler when stopped at a breakpoint
1304 test>: Add a test axis for testing with a software watchpoint, and
1305 another for testing with the signal handler set to SIG_IGN.
1306 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
1307 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
1308
abbdbd03
PA
13092014-10-28 Pedro Alves <palves@redhat.com>
1310
1311 PR gdb/17511
1312 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
1313 * gdb.base/sigstep.exp (other_handler_location): New global.
1314 (advance): Support stepping into the signal handler, and running
1315 commands while in the handler.
1316 (in_handler_map): New global.
1317 (top level): In the advance test, add combinations for getting
1318 into the handler with stepping commands, and for running commands
1319 in the handler. Add comment descripting the advancei tests.
1320
1df4399f
PA
13212014-10-28 Pedro Alves <palves@redhat.com>
1322
1323 * gdb.base/sigstep.exp: Use build_executable instead of
1324 prepare_for_testing.
1325 (top level): Move code that starts GDB, runs to main and creates a
1326 display to ...
1327 (restart): ... this new procedure.
1328 (top level): Move backtrace from signal handler test to ...
1329 (validate_backtrace): ... this new procedure.
1330 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
1331 with_test_prefix. Always restart GDB.
1332 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
1333 with_test_prefix. Always restart GDB. No need to delete
1334 breakpoints after the test.
1335 (test_skip_handler): Remove prefix parameter.
1336 (skip_over_handler, breakpoint_to_handler)
1337 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
1338 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
1339 restart GDB. No need to delete breakpoints after the test.
1340 (top level): Use foreach to call the test procedures with
1341 different commands.
1342
a5b6e449
PA
13432014-10-28 Pedro Alves <palves@redhat.com>
1344
1345 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
1346 instead of GNATS numbers.
1347 * gdb.base/sigbpt.exp: Likewise.
1348 * gdb.base/siginfo.exp: Likewise.
1349 * gdb.base/sigstep.exp: Likewise.
1350
e5f8a7cc
PA
13512014-10-27 Pedro Alves <palves@redhat.com>
1352
1353 * gdb.base/sigstep.c (dummy): New global.
1354 (main): Issue a couple writes to the new global.
1355 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
1356 procedures.
1357 (skip_over_handler): Use test_skip_handler.
1358 (top level): Call skip_over_handler for stepi and nexti too.
1359 (breakpoint_over_handler): Use test_skip_handler.
1360 (top level): Call breakpoint_over_handler for stepi and nexti too.
1361
763905a3
YQ
13622014-10-27 Yao Qi <yao@codesourcery.com>
1363
1364 * gdb.trace/tfile.c (adjust_function_address)
1365 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
1366 function descriptor.
1367
6f259a23
DB
13682014-10-24 Don Breazeal <donb@codesourcery.com>
1369
1370 * gdb.base/foll-fork.exp (test_follow_fork,
1371 catch_fork_child_follow): Check for updated fork messages emitted
1372 from infrun.c.
1373 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
1374 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
1375 vfork_and_exec_child_follow_through_step): Check for updated vfork
1376 messages emitted from infrun.c.
1377
09dd9a69
PA
13782014-10-24 Pedro Alves <palves@redhat.com>
1379
1380 * gdb.base/corefile.exp: Remove references to ultrix.
1381 * gdb.base/interrupt.exp: Likewise.
1382 * gdb.base/whatis.exp: Likewise.
1383 * gdb.gdb/selftest.exp: Likewise.
1384 * gdb.threads/manythreads.exp: Likewise.
1385 * gdb.threads/print-threads.exp: Likewise.
1386 * gdb.threads/pthreads.exp:: Likewise.
1387 * gdb.threads/schedlock.exp: Likewise.
1388
3433cfa5
SC
13892014-10-24 Siva Chandra Reddy <sivachandra@google.com>
1390
1391 * gdb.cp/non-trivial-retval.cc: Add a test case.
1392 * gdb.cp/non-trivial-retval.exp: Add a test.
1393
092f880b
YQ
13942014-10-20 Yao Qi <yao@codesourcery.com>
1395
1396 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
1397 * gdb.python/py-objfile-script-gdb.py: New file.
1398 * gdb.python/py-objfile-script.exp: Update reference to
1399 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
1400 of remote_download. Remove the dest file.
1401
acbdb7f3
YQ
14022014-10-20 Yao Qi <yao@codesourcery.com>
1403
1404 * gdb.base/checkpoint.exp: Don't remove file copied on host.
1405 * gdb.base/step-line.exp: Likewise.
1406 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1407 * gdb.dwarf2/dw2-basic.exp: Likewise.
1408 * gdb.dwarf2/dw2-compressed.exp: Likewise.
1409 * gdb.dwarf2/dw2-filename.exp: Likewise.
1410 * gdb.dwarf2/dw2-intercu.exp: Likewise.
1411 * gdb.dwarf2/dw2-intermix.exp: Likewise.
1412 * gdb.dwarf2/dw2-producer.exp: Likewise.
1413 * gdb.dwarf2/mac-fileno.exp: Likewise.
1414 * gdb.python/py-frame-args.exp: Likewise.
1415 * gdb.python/py-framefilter.exp: Likewise.
1416 * gdb.python/py-mi.exp: Likewise.
1417 * gdb.python/py-objfile-script.exp: Likewise
1418 * gdb.python/py-pp-integral.exp: Likewise.
1419 * gdb.python/py-pp-re-notag.exp: Likewise.
1420 * gdb.python/py-prettyprint.exp: Likewise.
1421 * gdb.python/py-section-script.exp: Likewise.
1422 * gdb.python/py-typeprint.exp: Likewise.
1423 * gdb.python/py-xmethods.exp: Likewise.
1424 * gdb.stabs/weird.exp: Likewise.
1425 * gdb.xml/tdesc-regs.exp: Likewise.
1426
bd286a29
KCY
14272014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
1428
1429 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
1430 (out_cu): Use addr_len for the size of addresses.
1431 (out_line): Likewise. Size DW_LNE_set_address instruction
1432 according to addr_len.
1433 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
1434 (FUNC): Add START_INSNS to definition.
1435
673dc4a0
YQ
14362014-10-18 Yao Qi <yao@codesourcery.com>
1437
1438 * gdb.base/argv0-symlink.exp: Check argv[0] value if
1439 gdb_has_argv0 return true.
1440 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
1441 check [target_info exists noargs], check [gdb_has_argv0]
1442 instead.
1443 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1444 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
1445 procedures.
1446
4ffbba72
DE
14472014-10-17 Doug Evans <dje@google.com>
1448
1449 * gdb.python/py-events.exp: Update expected output for clear_objfiles
1450 event.
1451 * gdb.python/py-events.py: Add clear_objfiles event.
1452
d096d8c1
DE
14532014-10-17 Doug Evans <dje@google.com>
1454
1455 * gdb.python/py-objfile.exp: Test progspace attribute.
1456
a80db015
LM
14572014-10-17 Luis Machado <lgustavo@codesourcery.com>
1458
1459 * gdb.guile/scm-breakpoint.exp: Do not assume any
1460 directory separators when matching source file paths.
1461 * gdb.python/py-breakpoint.exp: Likewise.
1462 * gdb.reverse/break-precsave.exp: Likewise.
1463 * gdb.reverse/break-reverse.exp: Likewise.
1464 * gdb.reverse/consecutive-precsave.exp: Likewise.
1465 * gdb.reverse/finish-precsave.exp: Likewise.
1466 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
1467 * gdb.reverse/finish-reverse.exp: Likewise.
1468 * gdb.reverse/i386-precsave.exp: Likewise.
1469 * gdb.reverse/i387-env-reverse.exp: Likewise.
1470 * gdb.reverse/i387-stack-reverse.exp: Likewise.
1471 * gdb.reverse/machinestate-precsave.exp: Likewise.
1472 * gdb.reverse/machinestate.exp: Likewise.
1473 * gdb.reverse/sigall-precsave.exp: Likewise.
1474 * gdb.reverse/solib-precsave.exp: Likewise.
1475 * gdb.reverse/step-precsave.exp: Likewise.
1476 * gdb.reverse/until-precsave.exp: Likewise.
1477 * gdb.reverse/watch-precsave.exp: Likewise.
1478 * gdb.reverse/watch-reverse.exp: Likewise.
1479
b22089ab
YQ
14802014-10-17 Yao Qi <yao@codesourcery.com>
1481
1482 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
1483 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
1484
6c4486e6
PA
14852014-10-17 Pedro Alves <palves@redhat.com>
1486
1487 PR gdb/17471
1488 * gdb.base/bg-execution-repeat.c: New file.
1489 * gdb.base/bg-execution-repeat.exp: New file.
1490
0ff33695
PA
14912014-10-17 Pedro Alves <palves@redhat.com>
1492
1493 PR gdb/17300
1494 * gdb.base/continue-all-already-running.c: New file.
1495 * gdb.base/continue-all-already-running.exp: New file.
1496
6fdebc3d
PA
14972014-10-17 Pedro Alves <palves@redhat.com>
1498
1499 PR gdb/17472
1500 * gdb.base/annota-input-while-running.c: New file.
1501 * gdb.base/annota-input-while-running.exp: New file.
1502
32a8097b
PA
15032014-10-17 Pedro Alves <palves@redhat.com>
1504
1505 * gdb.base/callfuncs.exp: emove references to osf.
1506 * gdb.base/sigall.exp: Likewise.
1507 * gdb.gdb/selftest.exp: Likewise.
1508 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1509 * gdb.mi/non-stop.c: Likewise.
1510 * gdb.mi/pthreads.c: Likewise.
1511 * gdb.reverse/sigall-precsave.exp: Likewise.
1512 * gdb.reverse/sigall-reverse.exp: Likewise.
1513 * gdb.threads/pthreads.c: Likewise.
1514 * gdb.threads/pthreads.exp: Likewise.
1515
7a3517ff
YQ
15162014-10-17 Yao Qi <yao@codesourcery.com>
1517
1518 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
1519 check 'target_info exists noargs'.
1520 (test_command_prompt_position): Likewise.
1521 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
1522 Remove "set args".
1523 (progvar_simple_while_test): Likewise.
1524 (progvar_complex_if_while_test): Likewise.
1525 (if_while_breakpoint_command_test): Likewise.
1526 (infrun_breakpoint_command_test): Likewise.
1527 (breakpoint_command_test): Likewise.
1528 (watchpoint_command_test): Likewise.
1529 (bp_deleted_in_command_test): Likewise.
1530 (temporary_breakpoint_commands): Likewise.
1531
bb99c472
YQ
15322014-10-16 Yao Qi <yao@codesourcery.com>
1533
1534 * gdb.base/remotetimeout.exp: Remove noargs checking.
1535
7c16b83e
PA
15362014-10-15 Pedro Alves <palves@redhat.com>
1537
1538 PR breakpoints/9649
1539 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
1540 * gdb.base/breakpoint-in-ro-region.exp
1541 (probe_target_hardware_step): New procedure.
1542 (top level): Probe hardware stepping and hardware breakpoint
1543 support. Test stepping through a read-only region, with both
1544 "breakpoint auto-hw" on and off and both "always-inserted" on and
1545 off.
1546
35a49624
IB
15472014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
1548
1549 * gdb.dlang/demangle.exp: Update for demangling changes.
1550
2d1c107c
SC
15512014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1552
1553 * gdb.cp/non-trivial-retval.cc: Add new test cases.
1554 * gdb.cp/non-trivial-retval.exp: Add new tests.
1555
778811d5
SC
15562014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1557
1558 PR c++/13403
1559 PR c++/15154
1560 * gdb.cp/non-trivial-retval.cc: New file.
1561 * gdb.cp/non-trivial-retval.exp: New file.
1562
10c5f0a8
YQ
15632014-10-15 Yao Qi <yao@codesourcery.com>
1564
1565 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
1566 remote host.
1567
65d7b369
YQ
15682014-10-15 Yao Qi <yao@codesourcery.com>
1569
1570 * gdb.python/py-symbol.exp: Match file base name if host is
1571 remote, otherwise match file name with dir name.
1572 * gdb.python/py-symtab.exp: Likewise.
1573 * gdb.python/python.exp: Likewise.
1574
46dc1394
YQ
15752014-10-15 Yao Qi <yao@codesourcery.com>
1576
1577 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
1578 pattern.
1579 * gdb.python/py-symtab.exp: Likewise.
1580 * gdb.python/python.exp: Remove trailing ".*". Fix typo
1581 locationn.
1582
c40cc657
JB
15832014-10-14 Joel Brobecker <brobecker@adacore.com>
1584
1585 * gdb.ada/addr_arith: New testcase.
1586
2abf49e1
MR
15872014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
1588
1589 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
1590 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
1591 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
1592 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
1593
f7088df3
SDJ
15942014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
1595
1596 * gdb.arch/stap-eval-lang-ada.S: Likewise.
1597 * gdb.arch/stap-eval-lang-ada.c: Likewise.
1598 * gdb.arch/stap-eval-lang-ada.exp: New file.
1599
4dc06805
YQ
16002014-10-14 Yao Qi <yao@codesourcery.com>
1601
1602 * gdb.mi/mi-var-child.c (nothing1): New function.
1603 (nothing2): New function.
1604 (do_children_tests): Set function pointers by nothing1 and
1605 nothing2.
1606 * gdb.mi/mi-var-child.exp: Step over new added statements.
1607 Update test to match the new output.
1608 * gdb.mi/var-cmd.c (nothing1): New function.
1609 (nothing2): New function.
1610 (do_children_tests): Set function pointers by nothing1 and
1611 nothing2.
1612 * gdb.mi/mi-var-display.exp: Update test to match output.
1613 Step to the line specified by $line_dct_nothing.
1614 Increase the number of lines to step.
1615
46a93de2
YQ
16162014-10-14 Yao Qi <yao@codesourcery.com>
1617
1618 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
1619 tests.
1620 * gdb.mi/mi2-var-child.exp: Likewise.
1621
14ea52ee
DE
16222014-10-13 Doug Evans <dje@google.com>
1623
1624 * gdb.python/py-objfile.exp: Change name of file name test.
1625
e5c6e92b
DE
16262014-10-13 Doug Evans <dje@google.com>
1627
1628 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
1629 from the start of the CU.
1630
c780cc2f
JK
16312014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1632 Yao Qi <yao@codesourcery.com>
1633
1634 Fix "save breakpoints" for "catch" command.
1635 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
1636 Remove -nonewline. Match also the added "main" line.
1637
99894e11
JK
16382014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1639
1640 Fix "save breakpoints" for "disable $bpnum" command.
1641 * gdb.base/save-bp.c (main): Add label.
1642 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
1643
6e1ac5a3
JK
16442014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1645
1646 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
1647
754dd2b0
YQ
16482014-10-11 Yao Qi <yao@codesourcery.com>
1649
1650 * gdb.server/server-kill.exp: Execute command
1651 "set remote trace-status-packet on" before "tstatus".
1652
f90183d7
YQ
16532014-10-11 Yao Qi <yao@codesourcery.com>
1654
1655 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
1656 (main): Call getppid.
1657 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
1658 and continue to it. Read variable "server_pid".
1659
bf40a607
YQ
16602014-10-11 Yao Qi <yao@codesourcery.com>
1661
1662 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
1663
052ca370
YQ
16642014-10-11 Yao Qi <yao@codesourcery.com>
1665
1666 * gdb.threads/thread-find.exp: Don't execute command
1667 "info threads".
1668 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
1669 * gdb.threads/linux-dp.exp: Don't check the condition
1670 $threads_created equals to zero.
1671
3831839c
PA
16722014-10-10 Pedro Alves <palves@redhat.com>
1673
1674 * gdb.base/bigcore.exp: Remove references to IRIX.
1675 * gdb.base/funcargs.exp: Likewise.
1676 * gdb.base/interrupt.exp: Likewise.
1677 * gdb.base/mips_pro.exp: Likewise.
1678 * gdb.base/nodebug.exp: Likewise.
1679 * gdb.base/setvar.exp: Likewise.
1680 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
1681
8b9a549d
PA
16822014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1683 Pedro Alves <palves@redhat.com>
1684
1685 PR symtab/14466
1686 * gdb.base/vdso-warning.c: New file.
1687 * gdb.base/vdso-warning.exp: New file.
1688
d48ba5e8
DE
16892014-10-02 Doug Evans <dje@google.com>
1690
1691 * gdb.base/structs.c (main): Don't run forever.
1692
2278c276
PA
16932014-10-02 Pedro Alves <palves@redhat.com>
1694
1695 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
1696 (top level) <stop threads 1, stop threads 2>: Use it.
1697
b57bacec
PA
16982014-10-02 Pedro Alves <palves@redhat.com>
1699
1700 * gdb.threads/break-while-running.exp (test): Add new
1701 'update_thread_list' argument. Skip "info threads" if false.
1702 (top level): Add new 'update_thread_list' axis.
1703
13fd3ff3
PA
17042014-10-02 Pedro Alves <palves@redhat.com>
1705
1706 PR breakpoints/17431
1707 * gdb.base/execl-update-breakpoints.c: New file.
1708 * gdb.base/execl-update-breakpoints.exp: New file.
1709
0fec99e8
PA
17102014-10-01 Pedro Alves <palves@redhat.com>
1711
1712 * gdb.base/breakpoint-in-ro-region.c: New file.
1713 * gdb.base/breakpoint-in-ro-region.exp: New file.
1714
2ddf4301
SM
17152014-10-01 Simon Marchi <simon.marchi@ericsson.com>
1716
1717 * gdb.mi/mi-exit-code.exp: New file.
1718 * gdb.mi/mi-exit-code.c: New file.
1719
6a5f3f43
YQ
17202014-09-30 Yao Qi <yao@codesourcery.com>
1721
1722 * lib/prelink-support.exp (build_executable_own_libs): Error if
1723 the target isn't native.
1724
345bcc73
YQ
17252014-09-30 Yao Qi <yao@codesourcery.com>
1726
1727 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
1728 false.
1729
a25a5a45
PA
17302014-09-22 Pedro Alves <palves@redhat.com>
1731
1732 * gdb.threads/break-while-running.exp: New file.
1733 * gdb.threads/break-while-running.c: New file.
1734
00ba3162
YQ
17352014-09-19 Yao Qi <yao@codesourcery.com>
1736
1737 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
1738 Invoke test. Restart GDB with --readnow and invoke test again.
1739
c3b7b696
YQ
17402014-09-19 Yao Qi <yao@codesourcery.com>
1741
1742 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
1743 proc set_breakpoint_on_gcd_function. Invoke
1744 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
1745 invoke set_breakpoint_on_gcd_function again.
1746
2b4fd423
DE
17472014-09-18 Doug Evans <dje@google.com>
1748
1749 * gdb.dwarf2/symtab-producer.exp: New file.
1750
a5947601
SDJ
17512014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1752
1753 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
1754 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
1755 * gdb.base/global-var-nested-by-dso.c: Likewise.
1756 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1757
91c19059
SDJ
17582014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1759 Pedro Alves <palves@redhat.com>
1760
1761 * gdb.base/watch-bitfields.exp: Pass string other than test file
1762 name to prepare_for_testing.
1763 (watch): New procedure.
1764 (expect_watchpoint): Use with_test_prefix.
1765 (top level): Factor out tests to ...
1766 (test_watch_location, test_regular_watch): ... these new
1767 procedures, and use with_test_prefix and gdb_continue_to_end.
1768
bb9d5f81
PP
17692014-09-16 Patrick Palka <patrick@parcs.ath.cx>
1770
1771 PR breakpoints/12526
1772 * gdb.base/watch-bitfields.exp: New file.
1773 * gdb.base/watch-bitfields.c: New file.
1774
635856f5
PA
17752014-09-16 Pedro Alves <palves@redhat.com>
1776
1777 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
1778 software and hardware addresses, not software address against
1779 itself.
1780
7280ceea
PA
17812014-09-16 Pedro Alves <palves@redhat.com>
1782
1783 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
1784 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
1785
428b16bd
PA
17862014-09-16 Pedro Alves <palves@redhat.com>
1787
1788 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
1789 files.
1790 * gdb.base/a2-run.exp: Remove all code guarded by istarget
1791 "*-*-vxworks*" throughout.
1792 * gdb.base/break.exp: Likewise.
1793 * gdb.base/default.exp: Likewise.
1794 * gdb.base/scope.exp: Likewise.
1795 * gdb.base/sepdebug.exp: Likewise.
1796 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
1797 throughout.
1798 * gdb.base/run.c: Likewise.
1799 * gdb.base/sepdebug.c: Likewise.
1800 * gdb.hp/gdb.aCC/run.c: Likewise.
1801 * gdb.reverse/until-reverse.c: Likewise.
1802 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
1803
666d413c
YQ
18042014-09-16 Yao Qi <yao@codesourcery.com>
1805
1806 * boards/local-remote-host-native.exp: New file.
1807
57cbd724
DE
18082014-09-14 Doug Evans <xdje42@gmail.com>
1809
1810 * gdb.threads/queue-signal.c (thread_count): New variable.
1811 (thread_count_mutex, thread_count_condvar): New variables.
1812 (incr_thread_count, wait_all_threads_running): New functions.
1813 (main): Wait for all threads to be in their thread functions.
1814
81219e53
DE
18152014-09-13 Doug Evans <xdje42@gmail.com>
1816
1817 * gdb.threads/queue-signal.c: New file.
1818 * gdb.threads/queue-signal.exp: New file.
1819
3714cea7
DE
18202014-09-13 Doug Evans <xdje42@gmail.com>
1821
1822 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
1823 be consistent with what default_gdb_init uses.
1824 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
1825 the plain text of the prompt. Add some logging printfs.
1826 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
1827
fa43b1d7
PA
18282014-09-12 Pedro Alves <palves@redhat.com>
1829
1830 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
1831 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
1832 * gdb.arch/i386-size-overlap.exp: Likewise.
1833 * gdb.arch/i386-size.exp: Likewise.
1834 * gdb.arch/i386-unwind.exp: Likewise.
1835 * gdb.base/a2-run.exp: Likewise.
1836 * gdb.base/break.exp: Likewise.
1837 * gdb.base/charset.exp: Likewise.
1838 * gdb.base/chng-syms.exp: Likewise.
1839 * gdb.base/commands.exp: Likewise.
1840 * gdb.base/dbx.exp: Likewise.
1841 * gdb.base/find.exp: Likewise.
1842 * gdb.base/funcargs.exp: Likewise.
1843 * gdb.base/jit-simple.exp: Likewise.
1844 * gdb.base/reread.exp: Likewise.
1845 * gdb.base/sepdebug.exp: Likewise.
1846 * gdb.base/step-bt.exp: Likewise.
1847 * gdb.cp/mb-inline.exp: Likewise.
1848 * gdb.cp/mb-templates.exp: Likewise.
1849 * gdb.objc/basicclass.exp: Likewise.
1850 * gdb.threads/killed.exp: Likewise.
1851
9d9bf2df
EBM
18522014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1853
1854 PR tdep/17379
1855 * gdb.arch/powerpc-stackless.S: New file.
1856 * gdb.arch/powerpc-stackless.exp: New file.
1857
1cf2f1b0
JK
18582014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1859
1860 * gdb.base/attach.c: Include unistd.h.
1861 (main): Call alarm. Add label postloop.
1862 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
1863 gdb_breakpoint, gdb_continue_to_breakpoint.
1864 (test_command_line_attach_run): Kill ${testpid} in one exit path.
1865
98880d46
PA
18662014-09-11 Pedro Alves <palves@redhat.com>
1867
1868 PR gdb/17347
1869 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
1870 * gdb.base/attach.exp (test_command_line_attach_run): New
1871 procedure.
1872 (top level): Call it.
1873
4c92ff2c
PA
18742014-09-11 Pedro Alves <palves@redhat.com>
1875
1876 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
1877 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
1878 (do_command_attach_tests): Use spawn_wait_for_attach.
1879 * gdb.base/solib-overlap.exp: Likewise.
1880 * gdb.multi/multi-attach.exp: Likewise.
1881 * gdb.python/py-prompt.exp: Likewise.
1882 * gdb.python/py-sync-interp.exp: Likewise.
1883 * gdb.server/ext-attach.exp: Likewise.
1884
3adc1a7d
GKB
18852014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
1886
1887 * gdb.fortran/array-element.exp: Remove unexpected "continue"
1888 command in testcase. Simplify testcase.
1889
96334934
JB
18902014-09-10 Joel Brobecker <brobecker@adacore.com>
1891
1892 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
1893
eb479039
JB
18942014-09-10 Joel Brobecker <brobecker@adacore.com>
1895
1896 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
1897
deede10c
JB
18982014-09-10 Joel Brobecker <brobecker@adacore.com>
1899
1900 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
1901
7828a5f5
JB
19022014-09-10 Joel Brobecker <brobecker@adacore.com>
1903
1904 * gdb.dwarf2/dynarr-ptr.c: New file.
1905 * gdb.dwarf2/dynarr-ptr.exp: New file.
1906
33aeebcf
MR
19072014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1908
1909 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
1910 of 30 rather than hardcoding 120 for a slow test case. Take the
1911 `gdb,timeout' target setting into account for this calculation.
1912 Don't extend the timeout for the test cases that don't need it.
1913
7b415901
MR
19142014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1915
1916 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
1917 a factor of 2 for a slow test case. Take the `gdb,timeout'
1918 target setting into account for this calculation.
1919 * gdb.reverse/until-precsave.exp: Increase the timeout by
1920 a factor of 15 and 3 respectively rather than adding 120
1921 for a pair of slow test cases. Take the `gdb,timeout'
1922 target setting into account for this calculation.
1923
4a40f85a
MR
19242014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1925
1926 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
1927 timeout, don't pass one down to gdb_expect.
1928 (gdb_expect): Rework timeout selection.
1929
09635af7
MR
19302014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1931
1932 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
1933 exception on timeout.
1934 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
1935 (gdbserver_start_extended): Catch any `gdbserver_start' error
1936 exceptions.
1937 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
1938 * lib/mi-support.exp (mi_gdb_target_load): Catch any
1939 `gdbserver_gdb_load' error exceptions.
1940
2bdd10b7
MR
19412014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1942
1943 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
1944 120 on waiting for the TCP socket to open.
1945
316935f0
DE
19462014-09-09 Doug Evans <xdje42@gmail.com>
1947
1948 * gdb.base/default.exp (show_conv_list): Add _caller_is,
1949 _caller_matches, _any_caller_is, _any_caller_matches.
1950
83740597
DE
19512014-09-09 Doug Evans <xdje42@gmail.com>
1952
1953 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
1954
4c122fc3
YQ
19552014-09-09 Yao Qi <yao@codesourcery.com>
1956
1957 * gdb.mi/mi-var-display.exp: Set print symbol off.
1958
a9f116cb
GKB
19592014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
1960
1961 PR gdb/17035
1962 * gdb.base/commands.exp: Add tests to verify user-defined
1963 commands with empty bodies.
1964 * gdb.python/py-cmd.exp: Test that we don't show user-defined
1965 python commands in `show user command`.
1966 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
1967 scheme commands in `show user command`.
1968
c75bd3a2
JK
19692014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1970
1971 PR python/17355
1972 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
1973 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
1974 * gdb.python/py-framefilter-invalidarg.exp: New file.
1975 * gdb.python/py-framefilter-invalidarg.py: New file.
1976
faa42425
DE
19772014-09-06 Doug Evans <xdje42@gmail.com>
1978
1979 PR 15276
1980 * gdb.python/py-caller-is.c: New file.
1981 * gdb.python/py-caller-is.exp: New file.
1982
474ca4f6
SDJ
19832014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
1984
1985 PR gdb/17235
1986 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
1987 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
1988
eb0b0463
SDJ
19892014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
1990
1991 PR fortran/17237
1992 * gdb.fortran/print-formatted.exp: New file.
1993 * gdb.fortran/print-formatted.f90: Likewise.
1994
5f3b99cf
SS
19952014-09-03 Sasha Smundak <asmundak@google.com>
1996
1997 * gdb.python/py-frame.exp: Test Frame.read_register.
1998
7d793aa9
SDJ
19992014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
2000
2001 PR python/16699
2002 * gdb.python/py-completion.exp: New file.
2003 * gdb.python/py-completion.py: Likewise.
2004
fb0576e9
DE
20052014-08-28 Doug Evans <dje@google.com>
2006
2007 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
2008 eax,etc. are live with values set by gdb and thus the compiler can't
2009 use them.
2010 * gdb.arch/i386-pseudo.c (main): Ditto.
2011
ee92b0dd
DE
20122014-08-27 Doug Evans <dje@google.com>
2013
2014 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
2015
6649db35
DE
20162014-08-25 Doug Evans <dje@google.com>
2017
2018 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
2019 (main): Ditto.
2020
564b7600
DE
20212014-08-25 Doug Evans <dje@google.com>
2022
2023 * gdb.threads/thread-execl.exp: #include <stdio.h>.
2024
3881fb67
YQ
20252014-08-24 Yao Qi <yao@codesourcery.com>
2026
2027 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
2028 symbol off.
2029 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
2030
a05a36a5
DE
20312014-08-22 Doug Evans <dje@google.com>
2032
2033 PR 17276
2034 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
2035 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
2036 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
2037
7c343b48
YQ
20382014-08-22 Yao Qi <yao@codesourcery.com>
2039
2040 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
2041 * gdb.python/py-finish-breakpoint2.exp: Likewise.
2042 * gdb.python/python.exp: Likewise. Use .py file on the host
2043 instead of the build.
2044
22fd09ae
JK
20452014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2046
2047 * gdb.threads/gcore-stale-thread.c: New file.
2048 * gdb.threads/gcore-stale-thread.exp: New file.
2049
a8454a7c
PA
20502014-08-21 Pedro Alves <palves@redhat.com>
2051
2052 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
2053 * gdb.base/gcore-relro-pie.exp: Likewise.
2054 * gdb.base/gcore-relro.exp: Likewise.
2055 * gdb.base/gcore.exp: Likewise.
2056 * gdb.base/print-symbol-loading.exp: Likewise.
2057 * gdb.threads/gcore-thread.exp: Likewise.
2058 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
2059
2a31c623
PA
20602014-08-20 Pedro Alves <palves@redhat.com>
2061 Jan Kratochvil <jan.kratochvil@redhat.com>
2062
2063 * Makefile.in (EXTRA_RULES, CC): New variables, get from
2064 configure.
2065 (EXPECT): Handle READ1 being set.
2066 (all): Depend on EXTRA_RULES.
2067 (check-read1, expect-read1, read1.so, read1): New rules.
2068 * README (Testsuite Parameters): Document the READ1 make variable.
2069 (Race detection): New section.
2070 * configure: Regenerate.
2071 * configure.ac: If build==host==target, and running under a
2072 GNU/glibc system, add read1 to the extra Makefile rules.
2073 (EXTRA_RULES): AC_SUBST it.
2074 * lib/read1.c: New file.
2075
d36430db
JB
20762014-08-20 Joel Brobecker <brobecker@adacore.com>
2077
2078 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
2079 the handling of variables declared as a typedef to an array
2080 which a DW_AT_data_location attribute.
2081
9a0dc9e3
PA
20822014-08-19 Andrew Burgess <aburgess@broadcom.com>
2083 Pedro Alves <palves@redhat.com>
2084
2085 PR symtab/14604
2086 PR symtab/14605
2087 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
2088 gdb_test.
2089
0718a8da
PA
20902014-08-19 Pedro Alves <palves@redhat.com>
2091
2092 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
2093
13b448cd
YQ
20942014-08-19 Yao Qi <yao@codesourcery.com>
2095
2096 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
2097 right line.
2098
1cbf5077
DB
20992014-08-18 David Blaikie <dblaikie@gmail.com>
2100
2101 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
2102
bf0fae19
JB
21032014-08-18 Joel Brobecker <brobecker@adacore.com>
2104
2105 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
2106 attribute in array range.
2107
3c8c5dcc
JB
21082014-08-18 Joel Brobecker <brobecker@adacore.com>
2109
2110 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
2111
e66d4446
SC
21122014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2113
2114 PR c++/17132
2115 * gdb.cp/pr17132.cc: New file.
2116 * gdb.cp/pr17132.exp: New file.
2117
940df408
SC
21182014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2119
2120 * gdb.python/py-xmethods.py (A_getarrayind)
2121 (E_method_char_worker.__call__, E_method_int_worker.__call__):
2122 Use 'print' with function call syntax.
2123 (E_method_matcher.match): Fix tab vs space indentation mixup.
2124
ebcc6c3a
YQ
21252014-08-15 Yao Qi <yao@codesourcery.com>
2126
2127 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
2128 false.
2129
775e0f04
YQ
21302014-08-15 Yao Qi <yao@codesourcery.com>
2131
2132 * gdb.cp/casts.exp: Set print symbol off.
2133 * gdb.cp/class2.exp: Likewise.
2134 * gdb.cp/overload.exp: Likewise.
2135 * gdb.cp/templates.exp: Likewise.
2136
d769e349
DE
21372014-08-11 Doug Evans <dje@google.com>
2138
2139 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
2140 (test_load_shlib): Update.
2141
20c6f1e1
YQ
21422014-08-09 Yao Qi <yao@codesourcery.com>
2143
2144 * gdb.base/display.exp: Invoke is_address_zero_readable.
2145 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
2146 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2147 * gdb.base/hbreak-unmapped.exp: Return if
2148 is_address_zero_readable returns true.
2149 * gdb.base/signest.exp: Likewise.
2150 * gdb.base/signull.exp: Likewise.
2151 * gdb.base/sigbpt.exp: Likewise.
2152 * gdb.guile/scm-disasm.exp: Do the test if
2153 is_address_zero_readable returns false.
2154 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
2155 * gdb.python/py-arch.exp: Likewise.
2156 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
2157 * lib/gdb.exp (is_address_zero_readable): New proc.
2158
5792e8e3
YQ
21592014-08-09 Yao Qi <yao@codesourcery.com>
2160
2161 PR testsuite/13443
2162 * gdb.mi/mi-var-display.exp: Make test messages unique.
2163
3cecbbbe
TT
21642014-08-04 Tom Tromey <tromey@redhat.com>
2165
2166 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
2167 target 0".
2168
00b51ff5
TT
21692014-08-04 Tom Tromey <tromey@redhat.com>
2170
2171 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
2172 "target_resume".
2173
6908c509
JB
21742014-08-01 Joel Brobecker <brobecker@adacore.com>
2175
2176 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
2177 inner_vla_struct_object_size.
2178 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
2179 as xfail.
2180
cc6563d2
PA
21812014-07-30 Pedro Alves <palves@redhat.com>
2182
2183 * gdb.threads/signal-command-handle-nopass.exp (test): Add
2184 comment.
2185
7e09a223
YQ
21862014-07-29 Yao Qi <yao@codesourcery.com>
2187
2188 PR gdb/17206
2189 * gdb.base/until-nodebug.exp: New.
2190
7ebdbe92
DE
21912014-07-28 Doug Evans <xdje42@gmail.com>
2192
2193 PR guile/17203
2194 * gdb.guile/scm-parameter.exp: Add tests for trying to create
2195 previously existing parameter, and previously ambiguously spelled
2196 parameter.
2197
fdb1adc6
WN
21982014-07-28 Will Newton <will.newton@linaro.org>
2199
2200 * gdb.base/varargs.exp: Remove KFAILs for ARM.
2201
186fcde0
DE
22022014-07-26 Ludovic Courtès <ludo@gnu.org>
2203 Doug Evans <xdje42@gmail.com>
2204
2205 PR guile/17146
2206 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
2207
70509625
PA
22082014-07-25 Pedro Alves <palves@redhat.com>
2209
2210 * gdb.threads/signal-command-handle-nopass.c: New file.
2211 * gdb.threads/signal-command-handle-nopass.exp: New file.
2212 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
2213 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
2214 * gdb.threads/signal-delivered-right-thread.c: New file.
2215 * gdb.threads/signal-delivered-right-thread.exp: New file.
2216
c3f814a1
PA
22172014-07-25 Pedro Alves <palves@redhat.com>
2218
2219 * gdb.base/double-prompt-target-event-error.exp
2220 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
2221 match.
2222 (cancel_pagination_in_target_event): Rework double prompt
2223 detection.
2224 * gdb.base/paginate-after-ctrl-c-running.exp
2225 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
2226 <return>' match.
2227 * gdb.base/paginate-bg-execution.exp
2228 (test_bg_execution_pagination_return)
2229 (test_bg_execution_pagination_cancel): Remove '-notransfer
2230 <return>' matches.
2231 * gdb.base/paginate-execution-startup.exp
2232 (test_fg_execution_pagination_return)
2233 (test_fg_execution_pagination_cancel): Remove '-notransfer
2234 <return>' matches.
2235 * gdb.base/paginate-inferior-exit.exp
2236 (test_paginate_inferior_exited): Remove '-notransfer <return>'
2237 match.
2238 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
2239 * lib/gdb.exp (pagination_prompt): Run text through
2240 string_to_regexp.
2241 (gdb_test_multiple): Match $pagination_prompt instead of
2242 "<return>".
2243 (string_to_regexp): Move to lib/gdb-utils.exp.
2244
e214cf6c
JK
22452014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2246
2247 * gdb.arch/amd64-entry-value-paramref.S: New file.
2248 * gdb.arch/amd64-entry-value-paramref.cc: New file.
2249 * gdb.arch/amd64-entry-value-paramref.exp: New file.
2250 * gdb.arch/amd64-optimout-repeat.S: New file.
2251 * gdb.arch/amd64-optimout-repeat.c: New file.
2252 * gdb.arch/amd64-optimout-repeat.exp: New file.
2253
17d0c5c8
JK
22542014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2255
2256 PR gdb/17170
2257 * gdb.base/statistics.exp: New file.
2258
b8b8facf
DE
22592014-07-17 Doug Evans <dje@google.com>
2260
74b49205 2261 PR gdb/17170
b8b8facf
DE
2262 * gdb.base/maint.exp: Update testing of per-command stats.
2263
1b5d0ab3
PA
22642014-07-16 Pedro Alves <palves@redhat.com>
2265
2266 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
2267 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
2268 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
2269 (tfile_write_buf): New functions.
2270 (add_memory_block): Rewrite using the above.
2271 (adjust_function_address): New function.
2272 (FUNCTION_ADDRESS): New macro.
2273 (write_basic_trace_file): Remove short_x local, and use
2274 tfile_write_16. Change type of func_addr local to unsigned long
2275 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
2276 here. Cast argument of add_memory_block to char pointer.
2277 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
2278 (main): Remove parameters.
2279 * gdb.trace/tfile.exp: Remove nowarnings.
2280
4d974e88
SM
22812014-07-15 Simon Marchi <simon.marchi@ericsson.com>
2282
2283 * gdb.base/debug-expr.exp: Test string evaluation with
2284 "debug expression" on.
2285
41e99568
PA
22862014-07-15 Pedro Alves <palves@redhat.com>
2287
2288 * gdb.base/reread.exp: Use clean_restart.
2289
487d9753
PL
22902014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
2291
2292 * gdb.arch/avr-flash-qualifer.c: New.
2293 * gdb.arch/avr-flash-qualifer.exp: New.
2294
cc1c52ad
PA
22952014-07-14 Pedro Alves <palves@redhat.com>
2296
2297 * gdb.base/paginate-after-ctrl-c-running.c: New file.
2298 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
2299
1e973570
PA
23002014-07-14 Pedro Alves <palves@redhat.com>
2301
2302 * gdb.base/double-prompt-target-event-error.c: New file.
2303 * gdb.base/double-prompt-target-event-error.exp: New file.
2304
93d6eb10
PA
23052014-07-14 Pedro Alves <palves@redhat.com>
2306
2307 PR gdb/17072
2308 * gdb.base/paginate-inferior-exit.c: New file.
2309 * gdb.base/paginate-inferior-exit.exp: New file.
2310
0017922d
PA
23112014-07-14 Pedro Alves <palves@redhat.com>
2312
2313 PR gdb/17072
2314 * gdb.base/paginate-bg-execution.c: New file.
2315 * gdb.base/paginate-bg-execution.exp: New file.
2316
94696ad3
PA
23172014-07-14 Pedro Alves <palves@redhat.com>
2318
2319 PR gdb/17072
2320 * gdb.base/paginate-execution-startup.c: New file.
2321 * gdb.base/paginate-execution-startup.exp: New file.
2322 * lib/gdb.exp (pagination_prompt): New global.
2323 (default_gdb_spawn): New procedure, factored out from
2324 default_gdb_spawn.
2325 (default_gdb_start): Adjust to call default_gdb_spawn.
2326 (gdb_spawn): New procedure.
2327
bd293940
PA
23282014-07-14 Pedro Alves <palves@redhat.com>
2329
2330 * lib/gdb.exp (gdb_assert): New procedure.
2331 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
2332
c933f875
PA
23332014-07-14 Pedro Alves <palves@redhat.com>
2334
2335 * gdb.base/execution-termios.c: New file.
2336 * gdb.base/execution-termios.exp: New file.
2337
d98b7a16
TT
23382014-07-14 Tom Tromey <tromey@redhat.com>
2339
2340 * gdb.cp/vla-cxx.cc: New file.
2341 * gdb.cp/vla-cxx.exp: New file.
2342
548740d6
TT
23432014-07-14 Tom Tromey <tromey@redhat.com>
2344
2345 * gdb.reverse/rerun-prec.c: New file.
2346 * gdb.reverse/rerun-prec.exp: New file.
2347
a25eb028
MR
23482014-07-12 Maciej W. Rozycki <macro@mips.com>
2349 Maciej W. Rozycki <macro@codesourcery.com>
2350
2351 * lib/gdb-utils.exp: New file.
2352 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
2353 inline `gdb_init_command' processing.
2354 (gdb_start_cmd): Likewise.
2355 * lib/mi-support.exp (mi_run_cmd): Likewise.
2356 * README: Document `gdb_init_command' and `gdb_init_commands'.
2357
218c2655
JK
23582014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2359
2360 Fix false FAIL running under a very long directory name.
2361 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
2362 and "set print elements 10000". Twice.
2363
5401fde3
YQ
23642014-07-11 Yao Qi <yao@codesourcery.com>
2365
2366 * gdb.base/exprs.exp: "set print symbol off".
2367
e76126e8
PA
23682014-07-11 Pedro Alves <palves@redhat.com>
2369
2370 * gdb.threads/kill.c: New file.
2371 * gdb.threads/kill.exp: New file.
2372
2d6f0de6
YQ
23732014-07-10 Yao Qi <yao@codesourcery.com>
2374
2375 * gdb.trace/tfile.c (write_basic_trace_file)
2376 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
2377 address written to trace file.
2378
7180e04a
PA
23792014-07-09 Pedro Alves <palves@redhat.com>
2380
2381 * gdb.base/attach-wait-input.exp: New file.
2382 * gdb.base/attach-wait-input.c: New file.
2383
9a9a7608
AB
23842014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2385
2386 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
2387 setting up test structures.
2388 (main): Call new test function.
2389 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
2390 test function, continue into test function and walk test
2391 structures.
2392
161ac41e
YQ
23932014-07-02 Yao Qi <yao@codesourcery.com>
2394
2395 * gdb.trace/entry-values.c: Define labels 'foo_start' and
2396 'bar_start' at the beginning of functions 'foo' and 'bar'
2397 respectively.
2398 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
2399 instead of 'foo' and 'bar'.
2400
1f267ae3
MM
24012014-07-08 Markus Metzger <markus.t.metzger@intel.com>
2402
2403 * gdb.btrace/segv.exp: New.
2404 * gdb.btrace/segv.c: New.
2405
2b239efb
LM
24062014-07-02 Luis Machado <lgustavo@codesourcery.com>
2407
2408 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
2409 instruction.
2410
cf363f18
MW
24112014-06-30 Mark Wielaard <mjw@redhat.com>
2412
2413 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
2414 vulture, vilify, villar): New volatile array constants.
2415 (vindictive, vegetation): New const volatile array constants.
2416 * gdb.base/volatile.exp: Test volatile and const volatile array
2417 types.
2418
aebf9d24
AA
24192014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2420
2421 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
2422 target lacks support for awatch, rwatch, or hbreak.
2423
b67a2c6f
YQ
24242014-06-27 Yao Qi <yao@codesourcery.com>
2425
2426 * gdb.multi/dummy-frame-restore.exp: New.
2427 * gdb.multi/dummy-frame-restore.c: New.
2428
aef92902
MM
24292014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2430
2431 * gdb.btrace/gcore.exp: New.
2432
8e9db26e
PA
24332014-06-23 Pedro Alves <palves@redhat.com>
2434
2435 * gdb.base/watchpoint-reuse-slot.c: New file.
2436 * gdb.base/watchpoint-reuse-slot.exp: New file.
2437
70afc5b7
SC
24382014-06-23 Siva Chandra Reddy <sivachandra@google.com>
2439
2440 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
2441 progspace's filename in 'info', 'enable' and 'disable' command
2442 tests.
2443
b972bd9c
JK
24442014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2445
2446 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
2447 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2448 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
2449
125f8a3d
GB
24502014-06-20 Gary Benson <gbenson@redhat.com>
2451
2452 * gdb.arch/i386-avx.exp: Fix include file location.
2453 * gdb.arch/i386-sse.exp: Likewise.
2454
3ed9baed
IB
24552014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
2456
2457 * gdb.dlang/expression.exp: New file.
2458
034f788c
PA
24592014-06-19 Pedro Alves <palves@redhat.com>
2460
2461 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
2462 out from ...
2463 (top level): ... here. Iterate running tests under different
2464 scheduler-locking settings.
2465
45371d0c
LM
24662014-06-18 Luis Machado <lgustavo@codesourcery.com>
2467
2468 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
2469 to DW_FORM_addr and use non-zero addresses.
2470
5d376983
SC
24712014-06-18 Siva Chandra Reddy <sivachandra@google.com>
2472
2473 PR gdb/17017
2474 * gdb.python/py-xmethods.cc: Add global function call counters and
2475 increment them in their respective functions. Remove "cout"
2476 statements.
2477 * gdb.python/py-xmethods.exp: Make tests check the global function
2478 call counters instead of depending on inferior IO.
2479
a1aa2221
LM
24802014-06-18 Don Breazeal <donb@codesourcery.com>
2481
2482 * gdb.base/foll-fork.exp (default_fork_parent_follow):
2483 Deleted procedure.
2484 (explicit_fork_parent_follow): Deleted procedure.
2485 (explicit_fork_child_follow): Deleted procedure.
2486 (test_follow_fork): New procedure.
2487 (do_fork_tests): Replace calls to deleted procedures with
2488 calls to test_follow_fork and reset GDB for subsequent
2489 procedure calls.
2490
0fc05997
YQ
24912014-06-17 Yao Qi <yao@codesourcery.com>
2492
2493 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
2494 CP1252.
2495
70795c52
LM
24962014-06-17 Luis Machado <lgustavo@codesourcery.com>
2497
2498 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
2499 Initialize ptr and S explicitly.
2500 (skip_type_update_when_not_use_rtti_test): Likewise.
2501
6be47f0c
KS
25022014-06-16 Keith Seitz <keiths@redhat.com>
2503
2504 PR mi/15863
2505 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
2506 the inferior is started.
2507
d03de421
PA
25082014-06-16 Pedro Alves <palves@redhat.com>
2509
2510 * gdb.base/break-main-file-remove-fail.c: New file.
2511 * gdb.base/break-main-file-remove-fail.exp: New file.
2512 * gdb.base/break-unload-file.exp: Use build_executable instead of
2513 prepare_for_testing.
2514 (test_break): New parameter "initial_load". Handle it.
2515 (top level): Add initial_load cmdline/file axis.
2516
f9579b99
TT
25172014-06-12 Tom Tromey <tromey@redhat.com>
2518
2519 * gdb.base/completion.exp: Don't use directory name in test.
2520
3657956b
GB
25212014-06-09 Gary Benson <gbenson@redhat.com>
2522
2523 * gdb.base/sigall.c [Functions to send signals]: Reorder to
2524 separate the always-available ANSI-standard signals from the
2525 signals that require checking.
2526 (main): Likewise.
2527 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
2528 Likewise.
2529 (main): Likewise.
2530
4186eb54
KS
25312014-06-07 Keith Seitz <keiths@redhat.com>
2532
2533 Revert:
2534 PR c++/16253
2535 * gdb.cp/var-tag.cc: New file.
2536 * gdb.cp/var-tag.exp: New file.
2537 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2538 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2539 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2540 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2541
25326a28 25422014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
2543
2544 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
2545
829155c9
PA
25462014-06-06 Pedro Alves <palves@redhat.com>
2547
2548 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
2549 in target debug output instead of looking at RSP packets,
2550 disabling the test on any target that uses hardware stepping.
2551 Update comments.
2552
61c8d22e
PA
25532014-06-06 Pedro Alves <palves@redhat.com>
2554
2555 * gdb.base/break-unload-file.exp: Fix typo.
2556
d9a47287
YQ
25572014-06-06 Yao Qi <yao@codesourcery.com>
2558
2559 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
2560 from "jit_function" to "^jit_function".
2561
e5e01dbf
YQ
25622014-06-06 Yao Qi <yao@codesourcery.com>
2563
2564 * gdb.base/async.c (foo): Add one statement.
2565 * gdb.base/async.exp: Get the next instruction address and
2566 match the output of "nexti" by instruction address. Match
2567 the hex address in the output of "finish".
2568
73ba372c
GB
25692014-06-06 Gary Benson <gbenson@redhat.com>
2570
2571 * gdb.base/call-signals.c: Remove preprocessor conditionals
2572 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
2573 SIGSEGV and SIGTERM.
2574 * gdb.base/sigall.c: Likewise.
2575 * gdb.base/unwindonsignal.c: Likewise.
2576 * gdb.reverse/sigall-reverse.c: Likewise.
2577
831517df
YQ
25782014-06-06 Yao Qi <yao@codesourcery.com>
2579
2580 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
2581 readable, skip the test.
2582
b8b91e98
YQ
25832014-06-06 Yao Qi <yao@codesourcery.com>
2584
2585 * gdb.threads/staticthreads.c (thread_function): Move the line
2586 setting breakpoint on forward.
2587 * gdb.threads/staticthreads.exp: Update comments.
2588
fb934770
LC
25892014-06-05 Ludovic Courtès <ludo@gnu.org>
2590
2591 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
2592 "history-append! type error".
2593
6ef284bd
SM
25942014-06-05 Simon Marchi <simon.marchi@ericsson.com>
2595
2596 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
2597 erroneous dprintf expected input.
2598
a872e241
DE
25992014-06-04 Doug Evans <xdje42@gmail.com>
2600
2601 * gdb.guile/scm-generics.exp: Delete.
2602
16f691fb
DE
26032014-06-04 Doug Evans <xdje42@gmail.com>
2604
2605 * gdb.guile/scm-breakpoint.exp: Update.
2606 Add tests for breakpoint registration.
2607
012370f6
TT
26082014-06-04 Tom Tromey <tromey@redhat.com>
2609
2610 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
2611 VLA-in-union.
2612 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
2613 inner_vla_struct, vla_union types. Initialize objects of those
2614 types and compute their sizes.
2615
9f5a4cef
HZ
26162014-06-04 Nathan Sidwell <nathan@codesourcery.com>
2617 Hui Zhu <hui@codesourcery.com>
2618
2619 * gdb.base/fileio.exp: Add test for shell not available as well as
2620 available.
2621 * gdb.base/fileio.c (test_system): Check for shell twice.
2622
90a45c4d
YQ
26232014-06-04 Yao Qi <yao@codesourcery.com>
2624
2625 * gdb.base/auto-connect-native-target.exp: Remove redundant
2626 space from the regexp pattern.
2627
70017e41
YQ
26282014-06-04 Yao Qi <yao@codesourcery.com>
2629
2630 * gdb.base/default.exp: Replace "child" with "native" in
2631 regexp pattern.
2632
883964a7
SC
26332014-06-03 Siva Chandra Reddy <sivachandra@google.com>
2634
2635 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
2636 * gdb.python/py-xmethods.exp: New tests to test xmethods.
2637 * gdb.python/py-xmethods.py: Python script supporting the
2638 new testcase and tests.
2639
ef370185
JB
26402014-06-03 Joel Brobecker <brobecker@adacore.com>
2641 Pedro Alves <palves@redhat.com>
2642
2643 PR breakpoints/17000
2644 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
2645 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
2646
1e2ccb61
BM
26472014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
2648
2649 * gdb.base/subst.exp: Add tests to verify partial path matching
2650 output.
2651
c6ec5ab2
PA
26522014-06-03 Pedro Alves <palves@redhat.com>
2653
2654 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
2655 target that doesn't use software single-stepping.
2656
835c559f
PA
26572014-06-03 Pedro Alves <palves@redhat.com>
2658
2659 PR breakpoints/17000
2660 * gdb.base/sss-bp-on-user-bp-2.c: New file.
2661 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
2662
06eb1586
DE
26632014-06-02 Doug Evans <xdje42@gmail.com>
2664
2665 * gdb.guile/scm-parameter.exp: New file.
2666
e698b8c4
DE
26672014-06-02 Doug Evans <xdje42@gmail.com>
2668
2669 * gdb.guile/scm-cmd.c: New file.
2670 * gdb.guile/scm-cmd.exp: New file.
2671
ded03782
DE
26722014-06-02 Doug Evans <xdje42@gmail.com>
2673
2674 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
2675 pretty-printer lookup.
2676 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
2677 (make-pp_s-printer): Call it.
2678 (make-pretty-printer-from-dict): New function.
2679 (lookup-pretty-printer-maker-from-dict): New function.
2680 (*pretty-printer*): Simplify.
2681 (make-objfile-pp_s-printer): New function.
2682 (install-objfile-pretty-printers!): New function.
2683 (make-progspace-pp_s-printer): New function.
2684 (install-progspace-pretty-printers!): New function.
2685 * gdb.guile/scm-progspace.c: New file.
2686 * gdb.guile/scm-progspace.exp: New file.
2687
41fac0cf
PA
26882014-06-02 Pedro Alves <palves@redhat.com>
2689
2690 * gdb.base/dprintf-bp-same-addr.c: New file.
2691 * gdb.base/dprintf-bp-same-addr.exp: New file.
2692
96ae5695
EBM
26932014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2694
2695 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
2696 * gdb.arch/powerpc-power.s: Likewise.
2697
da02b3a8
JB
26982014-06-02 Joel Brobecker <brobecker@adacore.com>
2699
2700 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
2701
c72b2e7b
YQ
27022014-06-01 Yao Qi <yao@codesourcery.com>
2703
2704 * gdb.base/watchpoint.exp (test_watch_location): Check null
2705 pointer can be dereferenced. If not, do the test, otherwise
2706 skip it.
2707
53e8a631
AB
27082014-05-30 Andrew Burgess <aburgess@broadcom.com>
2709
2710 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
2711 results.
2712 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
2713
938f0e2f
AB
27142014-05-30 Andrew Burgess <aburgess@broadcom.com>
2715
2716 * gdb.arch/amd64-invalid-stack-middle.S: New file.
2717 * gdb.arch/amd64-invalid-stack-middle.c: New file.
2718 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
2719 * gdb.arch/amd64-invalid-stack-top.c: New file.
2720 * gdb.arch/amd64-invalid-stack-top.exp: New file.
2721
9ba6657a
PA
27222014-05-30 Pedro Alves <palves@redhat.com>
2723
2724 PR breakpoints/17000
2725 * gdb.base/sss-bp-on-user-bp.c: New file.
2726 * gdb.base/sss-bp-on-user-bp.exp: New file.
2727
522c09bf
DB
27282014-05-30 David Blaikie <dblaikie@gmail.com>
2729
2730 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
2731 gnu_inline semantics via attribute.
2732 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
2733 source explicitly specifies the required semantics.
2734
bf4ef81e
MR
27352014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
2736
2737 * gdb.reverse/sigall-reverse.exp: Fix a typo.
2738
329ea579
PA
27392014-05-29 Pedro Alves <palves@redhat.com>
2740 Tom Tromey <tromey@redhat.com>
2741
2742 * gdb.base/async-shell.exp: Don't enable target-async.
2743 * gdb.base/async.exp
2744 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
2745 parameter. Adjust.
2746 (top level): Don't test with "target-async".
2747 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
2748 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
2749 * gdb.base/inferior-died.exp: Don't enable target-async.
2750 * gdb.base/interrupt-noterm.exp: Likewise.
2751 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
2752 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2753 * gdb.mi/mi-nonstop.exp: Likewise.
2754 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2755 * gdb.mi/mi-nsintrall.exp: Likewise.
2756 * gdb.mi/mi-nsmoribund.exp: Likewise.
2757 * gdb.mi/mi-nsthrexec.exp: Likewise.
2758 * gdb.mi/mi-watch-nonstop.exp: Likewise.
2759 * gdb.multi/watchpoint-multi.exp: Adjust comment.
2760 * gdb.python/py-evsignal.exp: Don't enable target-async.
2761 * gdb.python/py-evthreads.exp: Likewise.
2762 * gdb.python/py-prompt.exp: Likewise.
2763 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
2764 * gdb.server/solib-list.exp: Don't enable target-async.
2765 * gdb.threads/thread-specific-bp.exp: Likewise.
2766 * lib/mi-support.exp: Adjust to use mi-async.
2767
fd664c91
PA
27682014-05-29 Pedro Alves <palves@redhat.com>
2769
2770 PR gdb/13860
2771 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
2772 reason, even in sync mode.
2773
251bde03
PA
27742014-05-29 Pedro Alves <palves@redhat.com>
2775 Hui Zhu <hui@codesourcery.com>
2776
2777 PR PR15693
2778 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
2779 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
2780 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
2781 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
2782
7f3c0343
JB
27832014-05-28 Joel Brobecker <brobecker@adacore.com>
2784
2785 * config/monitor.exp (gdb_target_monitor): Replace use of
2786 "set remotebaud" by "set serial baud".
2787
b2715b27
AW
27882014-05-26 Andy Wingo <wingo@igalia.com>
2789
2790 * gdb.guile/scm-breakpoint.exp:
2791 * gdb.guile/scm-gsmob.exp: Update to use plain old object
2792 properties instead of gdb-object-properties.
2793
498a4489
YQ
27942014-05-26 Yao Qi <yao@codesourcery.com>
2795
2796 * gdb.server/no-thread-db.exp: Specify source file name
2797 explicitly when setting a breakpoint.
2798
589fdceb
MM
27992014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2800
2801 * gdb.btrace/vdso.c: New.
2802 * gdb.btrace/vdso.exp: New.
2803
e9089e05
MM
28042014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2805
2806 * gdb.base/gcore.exp (capture_command_output): Move ...
2807 * lib/gdb.exp (capture_command_output): ... here.
2808
67b5c0c1
MM
28092014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2810
2811 * gdb.btrace/data.exp: Test memory access during btrace replay.
2812
a2199296
SM
28132014-05-22 Simon Marchi <simon.marchi@ericsson.com>
2814
2815 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
2816
17b2616c
PA
28172014-05-21 Pedro Alves <palves@redhat.com>
2818
2819 PR gdb/13860
2820 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
2821 (top level): Test that output related to execution commands is
2822 sent to the console with CLI commands, but not with MI commands.
2823 Test that breakpoint events are always mirrored to the console.
2824 Also expect the new source line to be output after a "next" in
2825 async mode too. Make it a pass/fail test.
2826 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
2827 output.
2828 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
2829
5166082f
PA
28302014-05-21 Pedro Alves <palves@redhat.com>
2831
2832 * gdb.base/list.exp (build_pattern, test_list): New procedures.
2833 Use them to test variations of "list" after reaching a breakpoint.
2834 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
2835 Test "list" with listsize 10 after reaching a breakpoint.
2836 * gdb.python/python.exp (decode_line current location line
2837 number): Adjust expected line number.
2838
2f25d70f
SM
28392014-05-21 Simon Marchi <simon.marchi@ericsson.com>
2840
2841 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
2842 behavior for $args, pass it directly to "run".
2843
ff604a67
MR
28442014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
2845
2846 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
2847 30000 to 65536.
2848
6a3cb8e8
PA
28492014-05-21 Pedro Alves <palves@redhat.com>
2850
2851 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
2852 auto-connect-native-target off".
2853 * gdb.base/auto-connect-native-target.c: New file.
2854 * gdb.base/auto-connect-native-target.exp: New file.
2855
4ebfc96e
PA
28562014-05-21 Pedro Alves <palves@redhat.com>
2857
2858 * gdb.base/default.exp: Test "target native" instead of "target
2859 child".
2860
36d46afb
MW
28612014-05-21 Mark Wielaard <mjw@redhat.com>
2862
2863 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2864
5876f503
JK
28652014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2866
2867 Fix TLS access for -static -pthread.
2868 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
2869 <HAVE_TLS> (thread_function, main): Initialize it.
2870 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
2871 Add clean_restart.
2872 <$have_tls != "">: Check TLSVAR.
2873
0256a6ac
PA
28742014-05-21 Pedro Alves <palves@redhat.com>
2875
2876 * gdb.base/dcache-line-read-error.c: New.
2877 * gdb.base/dcache-line-read-error.exp: New.
2878
936d2992
PA
28792014-05-20 Pedro Alves <palves@redhat.com>
2880
2881 * gdb.base/compare-sections.c: New file.
2882 * gdb.base/compare-sections.exp: New file.
2883
802e8e6d
PA
28842014-05-20 Pedro Alves <palves@redhat.com>
2885
2886 * gdb.base/break-idempotent.c: New file.
2887 * gdb.base/break-idempotent.exp: New file.
2888
e59fa00f
MM
28892014-05-20 Markus Metzger <markus.t.metzger@intel.com>
2890
2891 * gdb.btrace/nohist.exp: New.
2892
8b696e31
YQ
28932014-05-20 Yao Qi <yao@codesourcery.com>
2894
2895 * lib/gdb.exp (gdb_init): Set timeout if test file is under
2896 gdb.reverse directory and gdb_reverse_timeout exists in board
2897 setting.
2898 * README: Document gdb_reverse_timeout.
2899
73c9764f
YQ
29002014-05-20 Yao Qi <yao@codesourcery.com>
2901
2902 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
2903 'test_file_name'. Treat args as a string instead of a list.
2904 (gdb_init): Rename argument 'args' by 'test_file_name'.
2905
f1f4348a
JK
29062014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2907
2908 * gdb.arch/powerpc-power.exp: New file.
2909 * gdb.arch/powerpc-power.s: New file.
2910
0dbe70ce
DE
29112014-05-16 Doug Evans <dje@google.com>
2912
2913 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
2914 * gdb.base/completion.exp: Check that all expected files exist
2915 before doing file completion.
0dbe70ce 2916
8d551b02
DE
29172014-05-16 Doug Evans <dje@google.com>
2918
2919 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
2920 Update.
2921 (do_syscall_tests_without_xml): Update.
2922
73eb7709
PA
29232014-05-16 Pedro Alves <palves@redhat.com>
2924
2925 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
2926 instead of "unknown output after running".
2927
3fae92fc
YQ
29282014-05-16 Yao Qi <yao@codesourcery.com>
2929
2930 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
2931 file1.txt from host at the end.
2932 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2933
c2b2ccc5
DE
29342014-05-15 Doug Evans <dje@google.com>
2935
2936 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
2937 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
2938 loading file. Add test for TU lookup.
2939
8c217a4b
SM
29402014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2941
2942 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
2943 calling "-exec-arguments" or "set args" before running the
2944 inferior.
2945
3deb39c6
SM
29462014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2947
2948 * lib/mi-support.exp (mi_expect_stop): Expect message for
2949 inferiors that exit with non-zero exit code.
2950
71a79f8c
YQ
29512014-05-14 Yao Qi <yao@codesourcery.com>
2952
2953 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
2954 match absolute path on remote host.
2955 (test_file_list_exec_source_files): Remove "/" from the
2956 pattern.
2957
f23fcd46
YQ
29582014-05-14 Yao Qi <yao@codesourcery.com>
2959
2960 * boards/local-remote-host-notty.exp (${board}_file): New
2961 proc.
2962
9404b58f
KM
29632014-05-07 Kyle McMartin <kyle@redhat.com>
2964
2965 Pushed by Joel Brobecker <brobecker@adacore.com>.
2966 * gdb.arch/aarch64-atomic-inst.c: New file.
2967 * gdb.arch/aarch64-atomic-inst.exp: New file.
2968
5e45f04c
YQ
29692014-05-07 Yao Qi <yao@codesourcery.com>
2970
2971 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
2972 in current context" too.
2973
c888a17d
KS
29742014-05-05 Keith Seitz <keiths@redhat.com>
2975
2976 * gdb.linespec/ls-dollar.exp: Add test for linespec
2977 file:convenience_variable.
2978
290a839c
YQ
29792014-05-05 Yao Qi <yao@codesourcery.com>
2980
2981 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
2982 traceframes into tfile and ctf trace files. Read data from
2983 trace file and test collected data.
2984 (gdb_collect_locals_test): Likewise.
2985 (gdb_unavailable_registers_test): Likewise.
2986 (gdb_unavailable_floats): Likewise.
2987 (gdb_collect_globals_test): Likewise.
2988 (top-level): Append "ctf" to trace_file_targets if GDB
2989 supports.
2990
b5262cd0
YQ
29912014-05-05 Yao Qi <yao@codesourcery.com>
2992
2993 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
2994 code to ...
2995 (gdb_collect_args_test_1): ... it. New proc.
2996 (gdb_collect_locals_test): Move some code to ...
2997 (gdb_collect_locals_test_1): ... it. New proc.
2998 (gdb_unavailable_registers_test): Move some code to ...
2999 (gdb_unavailable_registers_test_1): ... it. New proc.
3000 (gdb_unavailable_floats): Move some code to ...
3001 (gdb_unavailable_floats_1): ... it. New proc.
3002
30a1e6cc
SDJ
30032014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3004
3005 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
3006 probes to test for bitness recognition.
3007 * gdb.arch/amd64-stap-optional-prefix.exp
3008 (test_probe_value_without_reg): New procedure.
3009 Add code to test for different kinds of bitness.
3010
f33da99a
SDJ
30112014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3012
3013 PR breakpoints/16889
3014 * gdb.arch/amd64-stap-optional-prefix.S: New file.
3015 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3016
5b80f00d
PA
30172014-05-01 Pedro Alves <palves@redhat.com>
3018
3019 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
3020 gdb_file_cmd if no file is specified.
3021 * boards/native-extended-gdbserver.exp (gdb_load): Use the
3022 last_loaded_file to set the remote exec-file.
3023
f8c2a73c
PA
30242014-05-01 Pedro Alves <palves@redhat.com>
3025
3026 * boards/local-remote-host.exp: New file.
3027
be6e8ac7
PA
30282014-05-01 Pedro Alves <palves@redhat.com>
3029
3030 * boards/local-remote-host.exp: Rename to ...
3031 * boards/local-remote-host-notty.exp: ... this.
3032
cac0dc8f
JB
30332014-04-28 Joel Brobecker <brobecker@adacore.com>
3034
3035 * gdb.ada/dyn_arrayidx: New testcase.
3036
9730e6cc
YQ
30372014-04-26 Yao Qi <yao@codesourcery.com>
3038
3039 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
3040 and compute the length of function main. Save it in
3041 $main_length.
3042 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
3043 (top-level): Use gdb_compile to compile objects into
3044 executable and restart GDB. Remove invocation to
3045 prepare_for_testing.
3046
7ae1a6a6
PA
30472014-04-25 Simon Marchi <simon.marchi@ericsson.com>
3048 Pedro Alves <palves@redhat.com>
3049
3050 PR server/16255
3051 * gdb.multi/multi-attach.c: New file.
3052 * gdb.multi/multi-attach.exp: New file.
3053
4082afcc
PA
30542014-04-25 Pedro Alves <palves@redhat.com>
3055
3056 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
3057 user.
3058 (top level): Test that "set remote conditional-breakpoints-packet
3059 off" works as intended.
3060 * gdb.base/dprintf.exp: Test that "set remote
3061 breakpoint-commands-packet off" works as intended.
3062 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
3063 New function.
3064 (top level): Call it.
3065 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
3066 remote fast-tracepoints-packet off" works as intended.
3067 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
3068 * lib/gdb.exp (gdb_is_target_remote): ... here.
3069
2abc3f8d
DB
30702014-04-24 David Blaikie <dblaikie@gmail.com>
3071
3072 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
3073 ensure clang would not discard them.
3074 * gdb.base/gdbvars.c: Ditto.
3075 * gdb.base/memattr.c: Ditto.
3076 * gdb.base/whatis.c: Ditto.
3077 * gdb.python/py-prettyprint.c: Ditto.
3078 * gdb.trace/actions.c: Ditto.
3079 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
3080 ensure clang would not discard it.
3081
bfd39632
DB
30822014-04-24 David Blaikie <dblaikie@gmail.com>
3083
3084 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
3085 clang to emit the full definition of type required by the test
3086 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
3087
22842ff6
DB
30882014-04-24 David Blaikie <dblaikie@gmail.com>
3089
3090 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
3091 coax Clang into emitting the definition of the type.
3092 * gdb.cp/pr10728-x.h (y): Ditto.
3093 * gdb.cp/pr10728-y.cc (y): Ditto.
3094
c2e827ad
DB
30952014-04-24 David Blaikie <dblaikie@gmail.com>
3096
3097 * gdb.base/label.exp: XFAIL label related tests under Clang.
3098 * gdb.cp/cplabel.exp: Ditto.
3099 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
3100 under Clang those using labels.
3101
4c2d33e7
YQ
31022014-04-25 Yao Qi <yao@codesourcery.com>
3103
3104 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
3105 double_label.
3106 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
3107 partial_label and double_label.
3108
56083b99
DB
31092014-04-24 David Blaikie <dblaikie@gmail.com>
3110
3111 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
3112
25d4e99d
DB
31132014-04-24 David Blaikie <dblaikie@gmail.com>
3114
3115 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
3116 of the function to work across GCC and Clang.
3117 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
3118 pointer types (const void ** const V void **).
3119
01f9f808
MS
31202014-04-24 Michael Sturm <michael.sturm@mintel.com>
3121 Walfred Tedeschi <walfred.tedeschi@intel.com>
3122
3123 * Makefile.in (EXECUTABLES): Added i386-avx512.
3124 * gdb.arch/i386-avx512.c: New file.
3125 * gdb.arch/i386-avx512.exp: Likewise.
3126
4b48d439
KS
31272014-04-23 Keith Seitz <keiths@redhat.com>
3128
3129 * lib/mi-support.exp (mi_list_breakpoints): Delete.
3130 (mi_make_breakpoint_table): New procedure.
3131 (mi_create_breakpoint): Use mi_make_breakpoint
3132 and return the result.
3133 (mi_make_breakpoint): New procedure.
3134 (mi_build_kv_pairs): New procedure.
3135
3136 * gdb.mi/mi-break.exp: Remove unused globals,
3137 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
3138 All callers updated.
3139 * gdb.mi/mi-dprintf.exp: Use variable to track command
3140 number.
3141 Update all callers of mi_create_breakpoint and use
3142 mi_make_breakpoint_table.
3143 Remove any unused global variables.
3144 * gdb.mi/mi-nonstop.exp: Likewise.
3145 * gdb.mi/mi-nsintrall.exp: Likewise.
3146 * gdb.mi/mi-nsmoribund.exp: Likewise.
3147 * gdb.mi/mi-nsthrexec.exp: Likewise.
3148 * gdb.mi/mi-reverse.exp: Likewise.
3149 * gdb.mi/mi-simplerun.exp: Likewise.
3150 * gdb.mi/mi-stepn.exp: Likewise.
3151 * gdb.mi/mi-syn-frame.exp: Likewise.
3152 * gdb.mi/mi-until.exp: Likewise.
3153 * gdb.mi/mi-var-cp.exp: Likewise.
3154 * gdb.mi/mi-var-display.exp: Likewise.
3155 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
3156 * gdb.mi/mi2-var-child.exp: Likewise.
3157 * gdb.mi/mi-vla-c99.exp: Likewise.
3158 * lib/mi-support.exp: Likewise.
3159
3160 From Ian Lance Taylor <iant@cygnus.com>:
3161 * lib/gdb.exp (parse_args): New procedure.
3162
08351840
PA
31632014-04-23 Pedro Alves <palves@redhat.com>
3164
3165 * gdb.base/break-unload-file.c: New file.
3166 * gdb.base/break-unload-file.exp: New file.
3167 * gdb.base/sym-file-lib.c (baz): New function.
3168 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
3169 field.
3170 (load): Store the segment's mapped size.
3171 (unload): New function.
3172 (unload_shlib): New function.
3173 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
3174 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
3175 set a breakpoint at baz, and call it.
3176 * gdb.base/sym-file.exp: New tests for stale breakpoint
3177 instructions.
3178
076855f9
PA
31792014-04-23 Pedro Alves <palves@redhat.com>
3180
3181 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
3182 * gdb.base/hbreak-in-shr-unsupported.c: New file.
3183 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
3184 * gdb.base/hbreak-unmapped.c: New file.
3185 * gdb.base/hbreak-unmapped.exp: New file.
3186 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
3187 * lib/gdb.exp (gdb_is_target_remote): ... here.
3188
483805cf
PA
31892014-04-22 Pedro Alves <palves@redhat.com>
3190
3191 * gdb.base/consecutive-step-over.c: New file.
3192 * gdb.base/consecutive-step-over.exp: New file.
3193
06d97543
PA
31942014-04-22 Pedro Alves <palves@redhat.com>
3195
3196 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
3197 instead of send_gdb/gdb_expect.
3198
b4429ea2
YQ
31992014-04-22 Yao Qi <yao@codesourcery.com>
3200
3201 * lib/trace-support.exp (generate_tracefile): New procedure.
3202 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
3203 return 0.
3204 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
3205 if generate_tracefile returns 1.
3206
51d48146
PA
32072014-04-18 Tom Tromey <palves@redhat.com>
3208 Pedro alves <tromey@redhat.com>
3209
3210 PR backtrace/15558
3211 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
3212 with a backtrace limit.
3213 * gdb.python/py-frame-inline.exp: Test running to an inline
3214 function with a backtrace limit, and printing the newest frame.
3215 * gdb.python/py-frame-inline.c (main): Call f.
3216
bd1dce5f
MS
32172014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3218
3219 * gdb.java/jnpe.exp: Drop srcdir from untested path.
3220
40d1a503
MS
32212014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3222
3223 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
3224 Drop prefix from unsupported source file path.
3225
389b98f7
YQ
32262014-04-17 Yao Qi <yao@codesourcery.com>
3227
3228 * lib/gdb.exp (with_target_charset): New proc.
3229 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
3230 with_target_charset.
3231 (test_print_strings): Likewise.
3232 (test_repeat_bytes): Likewise.
3233 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
3234 for some tests.
3235
22869d73
KS
32362014-04-16 Keith Seitz <keiths@redhat.com>
3237
3238 PR gdb/15827
3239 * gdb.dwarf2/corrupt.c: New file.
3240 * gdb.dwarf2/corrupt.exp: New file.
3241
c4f87ca6
KS
32422014-04-16 Keith Seitz <keiths@redhat.com>
3243
3244 PR c++/16597
3245 * gdb.cp/namelessclass.cc: New file.
3246 * gdb.cp/namelessclass.exp: New file.
3247 * gdb.cp/namelessclass.S: New file.
3248
ab19de87
DE
32492014-04-16 Doug Evans <dje@google.com>
3250
3251 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
3252 Add comment.
3253 (gdbserver_default_get_comm_port): New function.
3254 (gdbserver_start): Check if board file provided
3255 "gdbserver,get_comm_port" and use it if so.
3256 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
3257 (gdb,socketport): Set to "stdio".
3258 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
3259 (stdio_gdbserver_template): Delete.
3260 (${board}_get_remote_address): Update.
3261 (${board}_build_remote_cmd): Delete.
3262 (${board}_get_comm_port): New function.
3263 (${board}_spawn): Update.
3264 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
3265 Delete.
3266 (${board}_get_remote_address): Update.
3267 (${board}_get_comm_port): New function.
3268
fc98a809
AB
32692014-04-16 Andrew Burgess <aburgess@broadcom.com>
3270
3271 * gdb.base/memattr.exp: Improve regexps to handle memory regions
3272 appearing in any order.
3273
87fd9e6e
DE
32742014-04-15 Doug Evans <dje@google.com>
3275
3276 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
3277 uninitialized value of "description".
3278
099fc3ea
KS
32792014-04-15 Keith Seitz <keiths@redhat.com>
3280
3281 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
3282 Remove unused globals.
3283 (test_running_the_program): Likewise.
3284 (test_controlled_execution): Likewise.
3285 (test_controlling_breakpoints): Likewise.
3286 (test_program_termination): Likewise.
3287
5da151d4
KS
32882014-04-15 Keith Seitz <keiths@redhat.com>
3289
3290 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
3291 unused globals.
3292 (test_rbreak_creation_and_listing): Likewise.
3293 (test_ignore_count): Likewise.
3294 (test_error): Likewise.
3295
35e5d2f0
PA
32962014-04-15 Pedro Alves <palves@redhat.com>
3297
3298 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
3299 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
3300 sym-file-loader.c.
3301 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3302 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3303 to sym-file-loader.c.
3304 (struct library): Forward declare.
3305 (load_shlib, lookup_function): Change prototypes.
3306 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3307 (translate_offset): Remove declarations.
3308 (get_text_addr): New declaration.
3309 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
3310 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
3311 sym-file-loader.h.
3312 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3313 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3314 here from sym-file-loader.h.
3315 (struct library): New structure.
3316 (load_shlib, lookup_function): Change prototypes and adjust to
3317 work with a struct library.
3318 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3319 (translate_offset): Make static.
3320 (get_text_addr): New function.
3321 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
3322
eb4c1710
PA
33232014-04-15 Pedro Alves <palves@redhat.com>
3324
3325 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
3326
2d1baf52
PA
33272014-04-15 Pedro Alves <palves@redhat.com>
3328
3329 * gdb.base/sym-file-loader.c: Include <limits.h>.
3330 (SELF_LINK): New define.
3331 (get_origin): New function.
3332 (load_shlib): Use it.
3333 * gdb.base/sym-file.exp: Don't early return if the target is
3334 remote. Use runto_main, and issue fail is that fails. Use
3335 gdb_load_shlibs.
3336 (shlib_name): Delete.
3337 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
3338
7dd6df01
PA
33392014-04-15 Pedro Alves <palves@redhat.com>
3340
3341 * gdb.base/sym-file.exp: Remove regex characters from test
3342 message. Don't refer to breakpoint numbers in test messages.
3343
b50c8614
KS
33442014-04-14 Keith Seitz <keiths@redhat.com>
3345
3346 PR c++/16253
3347 * gdb.cp/var-tag.cc: New file.
3348 * gdb.cp/var-tag.exp: New file.
3349 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3350 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3351 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3352 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3353
3d567982
TT
33542014-04-14 Tom Tromey <tromey@redhat.com>
3355
3356 * gdb.cp/classes.exp (test_enums): Handle underlying type.
3357 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
3358 type.
3359 * gdb.cp/enum-class.exp: New file.
3360 * gdb.cp/enum-class.cc: New file.
3361
0626fc76
TT
33622014-04-14 Tom Tromey <tromey@redhat.com>
3363
3364 * gdb.dwarf2/enum-type.exp: New file.
3365
dca325b3
SA
33662014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3367
3368 * gdb.mi/mi-vla-c99.exp: New file.
3369 * gdb.mi/vla.c: New file.
3370
5854b38a
SA
33712014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3372
3373 * gdb.base/vla-datatypes.c: New file.
3374 * gdb.base/vla-datatypes.exp: New file.
3375
463bb957
SA
33762014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3377
3378 * gdb.base/vla-ptr.c: New file.
3379 * gdb.base/vla-ptr.exp: New file.
3380
3dd170be
SA
33812014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3382
3383 * gdb.dwarf2/count.exp: New file.
3384
5ecaaa66
SA
33852014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3386
3387 * gdb.base/vla-sideeffect.c: New file.
3388 * gdb.base/vla-sideeffect.exp: New file.
3389
41f1ada5
DB
33902014-04-14 David Blaikie <dblaikie@gmail.com>
3391
3392 * gdb.mi/non-stop.c: Add return value for non-void function return
3393 statement.
3394 * gdb.threads/staticthreads.c: Ditto.
3395
0be03e84
DE
33962014-04-12 Siva Chandra Reddy <sivachandra@google.com>
3397 Doug Evans <xdje42@gmail.com>
3398
3399 * gdb.guile/scm-value.c: Improve test case.
3400 * gdb.guile/scm-value.exp: Add new test.
3401
f180a1fb
DB
34022014-04-11 David Blaikie <dblaikie@gmail.com>
3403
3404 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
3405 override Clang's default.
3406
6b662e19
JB
34072014-04-11 Joel Brobecker <brobecker@adacore.com>
3408
3409 Revert the following changes (regressions):
3410
3411 * gdb.base/vla-sideeffect.c: New file.
3412 * gdb.base/vla-sideeffect.exp: New file.
3413
3414 * gdb.dwarf2/count.exp: New file.
3415
3416 * gdb.base/vla-multi.c: New file.
3417 * gdb.base/vla-multi.exp: New file.
3418
3419 * gdb.base/vla-ptr.c: New file.
3420 * gdb.base/vla-ptr.exp: New file.
3421
3422 * gdb.base/vla-datatypes.c: New file.
3423 * gdb.base/vla-datatypes.exp: New file.
3424
3425 * gdb.mi/mi-vla-c99.exp: New file.
3426 * gdb.mi/vla.c: New file.
3427
245a5f0b
KS
34282014-04-11 Keith Seitz <keiths@redhat.com>
3429
3430 PR c++/16675
3431 * gdb.cp/cpsizeof.exp: New file.
3432 * gdb.cp/cpsizeof.cc: New file.
3433
58a84dcf
SA
34342014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3435
191a8a90
JB
3436 * gdb.mi/mi-vla-c99.exp: New file.
3437 * gdb.mi/vla.c: New file.
58a84dcf 3438
c8655f75
SA
34392014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3440
3441 * gdb.base/vla-datatypes.c: New file.
3442 * gdb.base/vla-datatypes.exp: New file.
3443
024e13b4
SA
34442014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3445
3446 * gdb.base/vla-ptr.c: New file.
3447 * gdb.base/vla-ptr.exp: New file.
3448
1a237e0e
SA
34492014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3450
3451 * gdb.base/vla-multi.c: New file.
3452 * gdb.base/vla-multi.exp: New file.
3453
504f3432
SA
34542014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3455
3456 * gdb.dwarf2/count.exp: New file.
3457
3bce8237
SA
34582014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3459
191a8a90
JB
3460 * gdb.base/vla-sideeffect.c: New file.
3461 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 3462
322f9c21
YQ
34632014-04-11 Yao Qi <yao@codesourcery.com>
3464
3465 * gdb.base/completion.exp: Check file exists before running tests
3466 on file completion.
3467
d708bcd1
PA
34682014-04-10 Pedro Alves <palves@redhat.com>
3469
3470 * gdb.base/cond-eval-mode.c: New file.
3471 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
3472 prepare_for_testing to build the new file. Check result of
3473 runto_main.
3474 (test_break, test_watch): New procedures.
3475 (top level): Use them.
3476
ae1d2761
PM
34772014-04-08 Pierre Muller <muller@sourceware.org>
3478
3479 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
3480 Ctrl-V use for mingw hosts.
3481
7af389b8
SC
34822014-04-07 Siva Chandra Reddy <sivachandra@google.com>
3483
3484 * gdb.python/py-value.c: Improve test case.
3485 * gdb.python/py-value.exp: Add new test.
3486
5e703181
DE
34872014-04-07 David Blaikie <dblaikie@gmail.com>
3488
3489 * lib/compiler.c: Identify the clang compiler.
3490 * lib/compiler.cc: Ditto.
3491
9810b410
YQ
34922014-04-03 Yao Qi <yao@codesourcery.com>
3493
3494 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
3495
98d1b8dc
AB
34962014-04-01 Anton Blanchard <anton@samba.org>
3497
3498 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
3499 messages unique.
3500
3114cea1
AB
35012014-04-01 Anton Blanchard <anton@samba.org>
3502
3503 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
3504 prepare_for_testing.
3505
62f7182c
AB
35062014-04-01 Anton Blanchard <anton@samba.org>
3507
3508 * gdb.arch/ppc64-atomic-inst.c: Remove.
3509 * gdb.arch/ppc64-atomic-inst.S: New file.
3510 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
3511
770e7fc7
DE
35122014-03-31 Doug Evans <dje@google.com>
3513
3514 * gdb.base/print-symbol-loading-lib.c: New file.
3515 * gdb.base/print-symbol-loading-main.c: New file.
3516 * gdb.base/print-symbol-loading.exp: New file.
3517
46e2bafa
YQ
35182014-03-31 Yao Qi <yao@codesourcery.com>
3519
3520 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
3521
8776cfe9
JB
35222014-03-28 Joel Brobecker <brobecker@adacore.com>
3523
3524 * gdb.ada/mi_dyn_arr: New testcase.
3525
5d1ef361
DE
35262014-03-27 Doug Evans <dje@google.com>
3527
3528 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
3529
b5bee914
YQ
35302014-03-27 Yao Qi <yao@codesourcery.com>
3531
3532 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
3533 if target is nios2-*-*.
3534
0d4d0e77
YQ
35352014-03-26 Yao Qi <yao@codesourcery.com>
3536
3537 * lib/gdb.exp (readline_is_used): New proc.
3538 * gdb.base/completion.exp: Move tests on command complete up.
3539 Skip the rest of tests if readline is not used.
3540 * gdb.ada/complete.exp: Skp the test if readline is not
3541 used.
3542 * gdb.base/filesym.exp: Likewise.
3543 * gdb.base/macscp.exp: Likewise.
3544 * gdb.base/readline-ask.exp: Likewise.
3545 * gdb.base/readline.exp: Likewise.
3546 * gdb.python/py-cmd.exp: Likewise.
3547 * gdb.trace/tfile.exp: Likewise.
3548
29361eee
YQ
35492014-03-26 Yao Qi <yao@codesourcery.com>
3550
3551 * gdb.base/macscp.exp: Fix code format issues.
3552
bc9a5525
UW
35532014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
3554
3555 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
3556 * gdb.asm/powerpc64le.inc: New file.
3557
d3839ede
PA
35582014-03-25 Pedro Alves <palves@redhat.com>
3559 Doug Evans <dje@google.com>
3560
3561 * gdb.base/source-execution.c: New file.
3562 * gdb.base/source-execution.exp: New file.
3563 * gdb.base/source-execution.gdb: New file.
3564
01672a57
DE
35652014-03-24 Doug Evans <dje@google.com>
3566
3567 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
3568 using fission.
3569
88bbeca9
HZ
35702014-03-24 Hui Zhu <hui@codesourcery.com>
3571 Pedro Alves <palves@redhat.com>
3572
3573 PR breakpoints/16101
3574 * gdb.base/dprintf.exp: Use unsupported rather than changing the
3575 test pass/fail messages. Detect missing support for dprintf when
3576 breakpoints are actually inserted.
3577 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
3578 breakpoints are actually inserted.
3579 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
3580 fails.
3581
d2348791
JK
35822014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3583
3584 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
3585
feef67ab
DE
35862014-03-22 Doug Evans <xdje42@gmail.com>
3587
3588 * gdb.python/python.exp (python not supported): Verify multi-line
3589 python command issues an error.
25d743f9 3590 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 3591 guile command issues an error.
feef67ab 3592
ecebef6a
MR
35932014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
3594
3595 * gdb.threads/thread-specific.exp: Handle the lack of usable
3596 $this_breakpoint and $this_thread.
3597
ccdd1909
HZ
35982014-03-21 Hui Zhu <hui@codesourcery.com>
3599
3600 * gdb.base/attach.exp (do_command_attach_tests): New.
3601
beb460e8
PA
36022014-03-20 Tom Tromey <tromey@redhat.com>
3603 Pedro Alves <palves@redhat.com>
3604
3605 PR cli/15718
3606 * gdb.base/condbreak-call-false.c: New file.
3607 * gdb.base/condbreak-call-false.exp: New file.
3608
40acf43a
PA
36092014-03-20 Pedro Alves <palves@redhat.com>
3610
3611 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
3612 Delete.
3613 (block_signals, unblock_signals): Delete.
3614 (child_function_2, main): Remove references to deleted variable
3615 and functions.
3616
9f5e1e02
PA
36172014-03-20 Pedro Alves <palves@redhat.com>
3618
3619 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
3620 Use pthread_kill to signal thread 2.
3621 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3622 Adjust to make the test send itself a signal rather than using the
3623 host's "kill" command.
3624
99619bea
PA
36252014-03-20 Pedro Alves <palves@redhat.com>
3626
3627 * gdb.threads/multiple-step-overs.c: New file.
3628 * gdb.threads/multiple-step-overs.exp: New file.
3629 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3630 Adjust expected infrun debug output.
3631
2adfaa28
PA
36322014-03-20 Pedro Alves <palves@redhat.com>
3633
3634 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
3635 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
3636
31e77af2
PA
36372014-03-20 Pedro Alves <palves@redhat.com>
3638
3639 PR breakpoints/7143
3640 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
3641 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
3642 of gdb_test_multiple.
3643 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
3644 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
3645
b9f437de
PA
36462014-03-20 Pedro Alves <palves@redhat.com>
3647
3648 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
3649 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
3650
05adc73e
PA
36512014-03-19 Pedro Alves <palves@redhat.com>
3652
3653 * gdb.base/async.exp: Remove early return.
3654
6048b950
PA
36552014-03-19 Pedro Alves <palves@redhat.com>
3656
3657 * gdb.base/async.exp (step& tests): Pass explicit test messages.
3658
8bcfb00a
PA
36592014-03-19 Pedro Alves <palves@redhat.com>
3660
3661 * gdb.base/async.exp (test_background): Expect \r\n after
3662 "completed." in the fail pattern.
3663
884e37dc
PA
36642014-03-19 Pedro Alves <palves@redhat.com>
3665
3666 * gdb.base/async.exp (test_background): New procedure.
3667 Use it for all background execution command tests.
3668
148e57e2
PA
36692014-03-19 Pedro Alves <palves@redhat.com>
3670
3671 * gdb.base/async.exp: Use prepare_for_testing.
3672
f48088c7
PA
36732014-03-19 Pedro Alves <palves@redhat.com>
3674
3675 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
3676 the same line.
3677
e2f6c966
PA
36782014-03-19 Pedro Alves <palves@redhat.com>
3679
3680 * gdb.base/async.c (main): Add "jump here" and "until here" line
3681 marker comments.
3682 * gdb.base/async.exp (jump_here): New global.
3683 (jump& test): Use it.
3684 (until_here): New global.
3685 (until& test): Use it.
3686
c30568d4
PA
36872014-03-19 Pedro Alves <palves@redhat.com>
3688
3689 * gdb.base/async.exp: Don't frob gdb_protocol.
3690
0172b6a7
DE
36912014-03-18 Doug Evans <xdje42@gmail.com>
3692
3693 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
3694 Fix spelling of exec-done-display.
3695
06c868a8
JK
36962014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3697
3698 PR gdb/15358
3699 * gdb.base/gdb-sigterm.c: New file.
3700 * gdb.base/gdb-sigterm.exp: New file.
3701
0c7e1a46
PA
37022014-03-18 Pedro Alves <palves@redhat.com>
3703
3704 PR gdb/13860
3705 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
3706 * lib/mi-support.exp (mi_expect_stop): Add special handling for
3707 solib-event.
3708
f7c77d93
JB
37092014-03-17 Joel Brobecker <brobecker@adacore.com>
3710
3711 * gdb.ada/pckd_arr_ren: New testcase.
3712
5a1e8c7a
DE
37132014-03-13 Doug Evans <xdje42@gmail.com>
3714
3715 PR guile/16612
3716 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
3717 collect after discarding symbols.
3718
350e1a76
DE
37192014-03-13 Ludovic Courtès <ludo@gnu.org>
3720 Doug Evans <xdje42@gmail.com>
3721
3722 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
3723 to history survives a gc.
3724
a69900ae
PA
37252014-03-13 Pedro Alves <palves@redhat.com>
3726
3727 * gdb.base/default.exp: Don't test "target procfs".
3728
5db9f0bd
PA
37292014-03-13 Pedro Alves <palves@redhat.com>
3730
3731 * gdb.base/default.exp: Update "target child" and "target procfs"
3732 tests to not expect "Unix".
3733
b3ccfe11
TT
37342014-03-12 Tom Tromey <tromey@redhat.com>
3735
3736 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
3737 New procs. Add target-async tests.
3738 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
3739 Add target-async tests.
3740
646f4417
AA
37412014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3742
3743 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
3744 'func_start' and 'func_end' for the beginning and end of the
3745 function code, respectively.
3746 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
3747 'func_end' instead of 'func' and 'main'.
3748
288c211f
AA
37492014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3750
3751 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
3752 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
3753 generate the debug info assembler source.
3754
e0c0f156
AA
37552014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3756
3757 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
3758 * gdb.dwarf2/arr-subrange.exp: Likewise.
3759 * gdb.dwarf2/dwz.exp: Likewise.
3760 * gdb.dwarf2/method-ptr.exp: Likewise.
3761 * gdb.dwarf2/missing-sig-type.exp: Likewise.
3762 * gdb.dwarf2/subrange.exp: Likewise.
3763 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
3764 * gdb.dwarf2/implptrpiece.exp: Likewise.
3765 * gdb.dwarf2/nostaticblock.exp: Likewise.
3766
0e5c4555
AA
37672014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3768
3769 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
3770 directory to absolute path name arguments.
3771
5ec18f2b
JG
37722014-03-10 Joel Brobecker <brobecker@adacore.com>
3773
3774 * gdb.ada/tagged_access: New testcase.
3775
847fc4f2
MM
37762014-03-07 Markus Metzger <markus.t.metzger@intel.com>
3777
3778 * gdb.btrace/data.exp: Update expected output.
3779
cc3da688
YQ
37802014-03-06 Yao Qi <yao@codesourcery.com>
3781
3782 * gdb.trace/pr16508.exp: New file.
3783
0f26cec1
PA
37842014-03-05 Pedro Alves <palves@redhat.com>
3785
3786 PR gdb/16575
3787 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
3788 procedure.
3789 (top level): Adjust to use it. Add tests that exercise breakpoint
3790 interaction with the code-cache.
3791
7a5a839f
LC
37922014-02-26 Ludovic Courtès <ludo@gnu.org>
3793
3794 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
3795 test for 'history-append!'.
3796
31aa7e4e
JB
37972014-02-26 Joel Brobecker <brobecker@adacore.com>
3798
3799 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
3800 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
3801 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
3802 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
3803 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
3804 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
3805
1b588015
JB
38062014-02-26 Joel Brobecker <brobecker@adacore.com>
3807
3808 * testsuite/gdb.python/py-pp-re-notag.c: New file.
3809 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
3810 * testsuite/gdb.python/py-pp-re-notag.p: New file.
3811
55426c9d
JB
38122014-02-26 Joel Brobecker <brobecker@adacore.com>
3813
3814 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
3815
dc53a7ad
JB
38162014-02-26 Joel Brobecker <brobecker@adacore.com>
3817
3818 * gdb.dwarf2/arr-stride.c: New file.
3819 * gdb.dwarf2/arr-stride.exp: New file.
3820
12ab52e9
PA
38212014-02-26 Pedro Alves <palves@redhat.com>
3822
3823 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
3824 that won't ever trigger. Make sure that GDB reports the correct
3825 breakpoint that caused the stop.
3826
849c862e
JK
38272014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3828
3829 PR gdb/16626
3830 * gdb.base/auto-load-script: New file.
3831 * gdb.base/auto-load.c: New file.
3832 * gdb.base/auto-load.exp: New file.
3833
71b7d793
JK
3834 PR gdb/16626
3835 * gdb.base/auto-load.exp: Fix out-of-srctree run.
3836
e2f0d509
JK
38372014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3838
3839 Fix dw2-icycle.exp -fsanitize=address GDB crash.
3840 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
3841
50cc37c8
DE
38422014-02-24 Doug Evans <dje@google.com>
3843
3844 * lib/gdb.exp (run_on_host): Log error output if program fails.
3845
ea4758f2
PA
38462014-02-21 Pedro Alves <palves@redhat.com>
3847
3848 * gdb.threads/step-after-sr-lock.c: Rename to ...
3849 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
3850 * gdb.threads/step-after-sr-lock.exp: Rename to ...
3851 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3852 ... this.
3853
d7b30f67
SDJ
38542014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
3855
3856 PR tdep/16397
3857 * gdb.arch/amd64-stap-special-operands.exp: New file.
3858 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
3859 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
3860 * gdb.arch/amd64-stap-triplet.S: Likewise.
3861 * gdb.arch/amd64-stap-triplet.c: Likewise.
3862
83deb43f
JB
38632014-02-20 Joel Brobecker <brobecker@adacore.com>
3864
3865 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
3866 in .section pseudo-op.
3867
adde2bff
DE
38682014-02-20 lin zuojian <manjian2006@gmail.com>
3869 Joel Brobecker <brobecker@adacore.com>
3870 Doug Evans <xdje42@gmail.com>
3871
3872 PR symtab/16581
3873 * gdb.dwarf2/dw2-icycle.S: New file.
3874 * gdb.dwarf2/dw2-icycle.c: New file.
3875 * gdb.dwarf2/dw2-icycle.exp: New file.
3876
f7bd0f78
SC
38772014-02-19 Siva Chandra Reddy <sivachandra@google.com>
3878
3879 * gdb.python/py-value-cc.cc: Improve test case to enable testing
3880 operations on gdb.Value objects.
3881 * gdb.python/py-value-cc.exp: Add new test to test operations on
3882 gdb.Value objects.
3883
c17ef0d5
DE
38842014-02-18 Doug Evans <dje@google.com>
3885
3886 * Makefile.in (TESTS): New variable.
3887 (expanded_tests, expanded_tests_or_none): New variables
3888 (check-single): Pass $(expanded_tests_or_none) to runtest.
3889 (check-parallel): Only run tests in $(TESTS) if non-empty.
3890 (check/no-matching-tests-found): New rule.
3891 * README: Document TESTS makefile variable.
3892
5dd3176f
DE
38932014-02-18 Doug Evans <dje@google.com>
3894
3895 * Makefile.in (check-parallel): rm -rf outputs temp.
3896
0b10be4f
JK
38972014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3898
3899 Fix "ERROR: no fileid for" in the testsuite.
3900 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
3901
85f224e7
DE
39022014-02-12 Doug Evans <dje@google.com>
3903
3904 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
3905 (MISCELLANEOUS): New variable.
3906 (clean): rm -rf $(MISCELLANEOUS).
3907 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
3908 dwp live in the same directory as symlinks, with each symlink pointed
3909 to a differently named file in a different directory.
3910
149b30ff
DE
39112014-02-11 Doug Evans <dje@google.com>
3912
3913 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
3914 of Tcl file commands.
3915
1dfdac32
MK
39162014-02-10 Mark Kettenis <kettenis@gnu.org>
3917
3918 * gdb.threads/step-after-sr-lock.exp: Avoid executing
3919 "kill -SIGUSR1 -1".
3920
aa4fb036
JB
39212014-02-10 Joel Brobecker <brobecker@adacore.com>
3922
3923 * gdb.ada/tick_length_array_enum_idx: New testcase.
3924
ed3ef339
DE
39252014-02-10 Doug Evans <xdje42@gmail.com>
3926
3927 * configure.ac (AC_OUTPUT): Add gdb.guile.
3928 * configure: Regenerate.
3929 * lib/gdb-guile.exp: New file.
3930 * lib/gdb.exp (get_target_charset): New function.
3931 * gdb.base/help.exp: Update expected output from "apropos apropos".
3932 * gdb.guile/Makefile.in: New file.
3933 * gdb.guile/guile.exp: New file.
3934 * gdb.guile/scm-arch.c: New file.
3935 * gdb.guile/scm-arch.exp: New file.
3936 * gdb.guile/scm-block.c: New file.
3937 * gdb.guile/scm-block.exp: New file.
3938 * gdb.guile/scm-breakpoint.c: New file.
3939 * gdb.guile/scm-breakpoint.exp: New file.
3940 * gdb.guile/scm-disasm.c: New file.
3941 * gdb.guile/scm-disasm.exp: New file.
3942 * gdb.guile/scm-equal.c: New file.
3943 * gdb.guile/scm-equal.exp: New file.
3944 * gdb.guile/scm-error.exp: New file.
3945 * gdb.guile/scm-error.scm: New file.
3946 * gdb.guile/scm-frame-args.c: New file.
3947 * gdb.guile/scm-frame-args.exp: New file.
3948 * gdb.guile/scm-frame-args.scm: New file.
3949 * gdb.guile/scm-frame-inline.c: New file.
3950 * gdb.guile/scm-frame-inline.exp: New file.
3951 * gdb.guile/scm-frame.c: New file.
3952 * gdb.guile/scm-frame.exp: New file.
3953 * gdb.guile/scm-generics.exp: New file.
3954 * gdb.guile/scm-gsmob.exp: New file.
3955 * gdb.guile/scm-iterator.c: New file.
3956 * gdb.guile/scm-iterator.exp: New file.
3957 * gdb.guile/scm-math.c: New file.
3958 * gdb.guile/scm-math.exp: New file.
3959 * gdb.guile/scm-objfile-script-gdb.in: New file.
3960 * gdb.guile/scm-objfile-script.c: New file.
3961 * gdb.guile/scm-objfile-script.exp: New file.
3962 * gdb.guile/scm-objfile.c: New file.
3963 * gdb.guile/scm-objfile.exp: New file.
3964 * gdb.guile/scm-ports.exp: New file.
3965 * gdb.guile/scm-pretty-print.c: New file.
3966 * gdb.guile/scm-pretty-print.exp: New file.
3967 * gdb.guile/scm-pretty-print.scm: New file.
3968 * gdb.guile/scm-section-script.c: New file.
3969 * gdb.guile/scm-section-script.exp: New file.
3970 * gdb.guile/scm-section-script.scm: New file.
3971 * gdb.guile/scm-symbol.c: New file.
3972 * gdb.guile/scm-symbol.exp: New file.
3973 * gdb.guile/scm-symtab-2.c: New file.
3974 * gdb.guile/scm-symtab.c: New file.
3975 * gdb.guile/scm-symtab.exp: New file.
3976 * gdb.guile/scm-type.c: New file.
3977 * gdb.guile/scm-type.exp: New file.
3978 * gdb.guile/scm-value-cc.cc: New file.
3979 * gdb.guile/scm-value-cc.exp: New file.
3980 * gdb.guile/scm-value.c: New file.
3981 * gdb.guile/scm-value.exp: New file.
3982 * gdb.guile/source2.scm: New file.
3983 * gdb.guile/types-module.cc: New file.
3984 * gdb.guile/types-module.exp: New file.
3985
7026a7c1
YQ
39862014-02-10 Yao Qi <yao@codesourcery.com>
3987
3988 PR testsuite/16543
3989 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
3990 * configure: Regenerated.
3991 * Makefile.in: New file.
3992
6c466447
AS
39932014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3994
3995 * gdb.python/py-framefilter.exp: Fix typo.
3996
6e854735
YQ
39972014-02-08 Yao Qi <yao@codesourcery.com>
3998
3999 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
4000 that no =breakpoint-modified is emitted when breakpoints are
4001 modified through MI commands.
4002
d137e6dc
PA
40032014-02-07 Pedro Alves <pedro@codesourcery.com>
4004 Pedro Alves <palves@redhat.com>
4005
4006 * gdb.threads/step-after-sr-lock.c: New file.
4007 * gdb.threads/step-after-sr-lock.exp: New file.
4008
b5ee5a50
PA
40092014-02-07 Pedro Alves <palves@redhat.com>
4010
4011 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
4012
3c77faf3
JK
40132014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4014
4015 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
4016 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
4017
6dddc817
DE
40182014-02-06 Doug Evans <xdje42@gmail.com>
4019
4020 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
4021 output.
4022
4023 * gdb.gdb/python-interrupts.exp: New file.
4024
de7b2893
YQ
40252014-02-05 Yao Qi <yao@codesourcery.com>
4026
4027 * gdb.trace/report.exp (use_collected_data): Test the output
4028 of "info threads" and "info inferiors".
4029
66d032ac
YQ
40302014-02-05 Yao Qi <yao@codesourcery.com>
4031
4032 Revert this patch:
4033
4034 2013-05-24 Yao Qi <yao@codesourcery.com>
4035
4036 * gdb.trace/tfile.exp: Test inferior and thread.
4037
591a12a1
UW
40382014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4039
4040 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
4041 on a function.
4042 * gdb.base/step-bt.c: Call hello via function pointer to make
4043 sure its first instruction is executed on powerpc64le-linux.
4044
0ff3e01f
UW
40452014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4046
4047 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
4048
084ee545
UW
40492014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4050
4051 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
4052 of the test patterns for use on little-endian systems.
4053
6ed14ff3
UW
40542014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4055
4056 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
4057 (decimal_vector): Fix for little-endian.
4058
401e27fd
JM
40592014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4060
4061 * gdb.arch/sparc-sysstep.exp: New file.
4062 * gdb.arch/sparc-sysstep.c: Likewise.
4063
4064 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
4065
8b924729
EBM
40662014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4067
4068 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
4069
fb151210
JB
40702014-01-23 Tom Tromey <tromey@redhat.com>
4071
4072 * gdb.ada/array_char_idx: New testcase.
4073
0740f8d8
TT
40742014-01-23 Tom Tromey <tromey@redhat.com>
4075
4076 PR python/16487:
4077 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
4078 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
4079 classes.
4080
21909fa1
TT
40812014-01-23 Tom Tromey <tromey@redhat.com>
4082
4083 PR python/16491:
4084 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
4085 string from an inferior frame.
4086 * gdb.python/py-framefilter-mi.exp: Update.
4087
87ce2a04
DE
40882014-01-22 Doug Evans <dje@google.com>
4089
4090 * gdb.server/server-mon.exp: Add tests for "set debug-format".
4091
237b092b
AA
40922014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4093
4094 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
4095
d674a709
AA
40962014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4097
4098 * gdb.trace/entry-values.exp: Remove excess space character from
4099 regex patterns. Handle s390 call instruction.
4100
20fa3390
AA
41012014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4102
4103 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
4104 define "*_start" label. Make "name" static.
4105 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
4106 ${name} by references to ${name}_start.
4107
78466714
AA
41082014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4109
4110 * gdb.base/info-macros.exp: Remove "debug" from the compile
4111 options.
4112
ec9f644a
IB
41132014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4114
4115 * gdb.dlang/demangle.exp: New file.
4116
94b1b47e
IB
41172014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4118
4119 * gdb.dlang/primitive-types.exp: New file.
4120
7f420862
IB
41212014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4122
4123 * configure.ac: Create gdb.dlang/Makefile.
4124 * configure: Regenerate.
4125 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
4126 * gdb.dlang/Makefile.in: New file.
4127 * lib/d-support.exp: New file.
4128 * lib/gdb.exp (skip_d_tests): New proc.
4129
52834460
MM
41302014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4131
4132 * gdb.btrace/delta.exp: Check reverse stepi.
4133 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
4134 * gdb.btrace/finish.exp: New.
4135 * gdb.btrace/next.exp: New.
4136 * gdb.btrace/nexti.exp: New.
4137 * gdb.btrace/record_goto.c: Add comments.
4138 * gdb.btrace/step.exp: New.
4139 * gdb.btrace/stepi.exp: New.
4140 * gdb.btrace/multi-thread-step.c: New.
4141 * gdb.btrace/multi-thread-step.exp: New.
4142 * gdb.btrace/rn-dl-bind.c: New.
4143 * gdb.btrace/rn-dl-bind.exp: New.
4144 * gdb.btrace/data.c: New.
4145 * gdb.btrace/data.exp: New.
4146 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4147
6e07b1d2
MM
41482014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4149
4150 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
4151 * gdb.btrace/exception.exp: Update.
4152 * gdb.btrace/instruction_history.exp: Update.
4153 * gdb.btrace/record_goto.exp: Update.
4154 * gdb.btrace/tailcall.exp: Update.
4155 * gdb.btrace/unknown_functions.exp: Update.
4156 * gdb.btrace/delta.exp: New.
4157
0b722aec
MM
41582014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4159
4160 * gdb.btrace/record_goto.exp: Add backtrace test.
4161 * gdb.btrace/tailcall.exp: Add backtrace test.
4162
066ce621
MM
41632014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4164
4165 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
4166 * gdb.btrace/record_goto.c: New.
4167 * gdb.btrace/record_goto.exp: New.
4168 * gdb.btrace/x86-record_goto.S: New.
4169
0688d04e
MM
41702014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4171
4172 * gdb.btrace/function_call_history.exp: Update tests.
4173 * gdb.btrace/instruction_history.exp: Update tests.
4174
8710b709
MM
41752014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4176
4177 * gdb.btrace/function_call_history.exp: Fix expected field
4178 order for "record function-call-history".
4179 Add new tests for "record function-call-history /c".
4180 * gdb.btrace/exception.cc: New.
4181 * gdb.btrace/exception.exp: New.
4182 * gdb.btrace/tailcall.exp: New.
4183 * gdb.btrace/x86-tailcall.S: New.
4184 * gdb.btrace/x86-tailcall.c: New.
4185 * gdb.btrace/unknown_functions.c: New.
4186 * gdb.btrace/unknown_functions.exp: New.
4187 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4188
5de9129b
MM
41892014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4190
4191 * gdb.btrace/instruction_history.exp: Update.
4192 * gdb.btrace/function_call_history.exp: Update.
4193
23a7fe75
MM
41942014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4195
4196 * gdb.btrace/function_call_history.exp: Fix expected function
4197 trace.
4198 * gdb.btrace/instruction_history.exp: Initialize traced.
4199 Remove traced_functions.
4200
724c7dd8
MM
42012014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4202
4203 * gdb.btrace/function_call_history.exp: Update
4204 * gdb.btrace/instruction_history.exp: Update.
4205
6d78d93b
MM
42062014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4207
4208 * gdb.btrace/enable.exp: Update expected text.
4209
93a360cc
OJ
42102014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
4211
4212 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
4213 bytes.
4214
3772b53f
MR
42152014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
4216
4217 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
4218
596662fa
OJ
42192014-01-15 Omair Javaid <omair.javaid@linaro.org>
4220
4221 * lib/gdb.exp (supports_process_record): Return true for
4222 arm*-linux*. (supports_reverse): Likewise.
4223
b5b08fb4
SC
42242014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4225
4226 PR python/15464
4227 PR python/16113
4228 * gdb.python/py-type.c: Enhance test case.
4229 * gdb.python/py-value-cc.cc: Likewise
4230 * gdb.python/py-type.exp: Add new tests.
4231 * gdb.python/py-value-cc.exp: Likewise
4232
52d7fb13
AA
42332014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
4234 Pedro Alves <palves@redhat.com>
4235
4236 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
4237 Make "name" extern.
4238 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
4239 references to ${name}_start by references to ${name}.
4240
a2cd8cfe
JB
42412014-01-10 Joel Brobecker <brobecker@adacore.com>
4242
4243 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
4244
4e23fced
JB
42452014-01-10 Joel Brobecker <brobecker@adacore.com>
4246
4247 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
4248
c6a9e42c
PA
42492014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
4250 Pedro Alves <palves@redhat.com>
4251
4252 * gdb.mi/mi-info-os.exp: Connect to the target with
4253 mi_gdb_target_load.
4254
b7ea362b
PA
42552014-01-08 Pedro Alves <palves@redhat.com>
4256
4257 * gdb.threads/reconnect-signal.c: New file.
4258 * gdb.threads/reconnect-signal.exp: New file.
4259
5e3f4fab
EBM
42602014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4261
4262 * gdb.base/source-dir.exp: New file.
4263
79301218
JB
42642014-01-07 Joel Brobecker <brobecker@adacore.com>
4265
4266 * gdb.ada/mi_interface: New testcase.
4267
8e355c5d
JB
42682014-01-07 Joel Brobecker <brobecker@adacore.com>
4269
4270 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
4271 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
4272 gdb.ada/pp-rec-component/pck.ads: New files.
4273
c0d48811
JB
42742014-01-07 Joel Brobecker <brobecker@adacore.com>
4275
4276 * gdb.python/py-pp-integral.c: New file.
4277 * gdb.python/py-pp-integral.py: New file.
4278 * gdb.python/py-pp-integral.exp: New file.
4279
17b609c3 4280For older changes see ChangeLog-1993-2013.
c906108c 4281\f
8d8cb839
EZ
4282;; Local Variables:
4283;; mode: change-log
4284;; left-margin: 8
4285;; fill-column: 74
4286;; version-control: never
4287;; End:
902f2ccb 4288
32d0add0 4289 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
4290 Copying and distribution of this file, with or without modification,
4291 are permitted provided the copyright notice and this notice are preserved.
This page took 3.266791 seconds and 4 git commands to generate.