]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Fix crash when processing merge section with entsize of 0.
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
4fa5d7b4
AA
12015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
2
3 * gdb.arch/s390-vregs.exp: New test.
4 * gdb.arch/s390-vregs.S: New file.
5
97c18565
PA
62015-02-27 Pedro Alves <palves@redhat.com>
7
8 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
9 call to catch_command_errors.
10 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
11 catch_command_errors.
12
a37bfa30
PA
132015-02-27 Pedro Alves <palves@redhat.com>
14
15 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
16 "true" for boolean result.
17 * gdb.gdb/selftest.exp (test_with_self): Also accept full
18 prototype of main.
19
6f98576f
PA
202015-02-27 Pedro Alves <palves@redhat.com>
21
22 * lib/unbuffer_output.c: New file.
23 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
24 (main): Call gdb_unbuffer_output.
25
eba5ab56
YQ
262015-02-27 Yao Qi <yao.qi@linaro.org>
27
28 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
29 target.
30
0def5aaa
DE
312015-02-26 Doug Evans <dje@google.com>
32
33 * gdb.cp/class2.cc (Dbase, D): New classes.
34 (main): New local delta.
35 * gdb.cp/class2.exp: Test printing delta.
36 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
37 (dynbar): New global.
38 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
39
081a1c2c
JK
402015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
41
42 * gdb.compile/compile-ifunc.c: New file.
43 * gdb.compile/compile-ifunc.exp: New file.
44
2f41223f
AT
452015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
46
47 * gdb.base/structs.exp: Check for correct struct on finish.
48
03eddd80
YQ
492015-02-26 Yao Qi <yao.qi@linaro.org>
50
51 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
52 is zero.
53
80c57053
JK
542015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
55
56 * gdb.arch/cordic.ko.bz2: New file.
57 * gdb.arch/cordic.ko.debug.bz2: New file.
58 * gdb.arch/ppc64-symtab-cordic.exp: New file.
59
21613c12
YQ
602015-02-25 Yao Qi <yao.qi@linaro.org>
61
62 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
63 aarch64*-*-* target.
64
d8b901ed
PA
652015-02-23 Pedro Alves <palves@redhat.com>
66
67 * lib/gdb.exp (delete_breakpoints): Rewrite using
68 gdb_test_multiple.
69
e5b85ead
PA
702015-02-23 Pedro Alves <palves@redhat.com>
71
72 * gdb.base/info-os.c: Include stdlib.h.
73
85c3a371
DE
742015-02-22 Doug Evans <xdje42@gmail.com>
75
76 PR symtab/17855
77 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
78 is read after symbols have been re-read.
79 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
80 * gdb.ada/exec_changed/second.adb (Second): Ditto.
81
96553a0c
DE
822015-02-21 Doug Evans <dje@google.com>
83
84 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
85
97a0c697
JK
862015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
87
88 PR corefiles/17808
89 * gdb.arch/i386-biarch-core.core.bz2: New file.
90 * gdb.arch/i386-biarch-core.exp: New file.
91
a47cd6e9
PA
922015-02-21 Pedro Alves <palves@redhat.com>
93
94 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
95 runto_main fails.
96
c5facdc4
PA
972015-02-20 Pedro Alves <palves@redhat.com>
98
99 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
100 info probes.
101
2db9a427
PA
1022015-02-20 Pedro Alves <palves@redhat.com>
103
104 * gdb.threads/multi-create-ns-info-thr.exp: New file.
105
60fb7e9e
PA
1062015-02-20 Pedro Alves <palves@redhat.com>
107
108 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
109 clean_restart before gdb_target_supports_trace.
110
5c5019c2
PA
1112015-02-20 Pedro Alves <palves@redhat.com>
112
113 PR threads/18006
114 * gdb.threads/clone-thread_db.c: New file.
115 * gdb.threads/clone-thread_db.exp: New file.
116
c9587f88
AT
1172015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
118
119 PR breakpoints/16812
120 * gdb.base/catch-gdb-caused-signals.c: New file.
121 * gdb.base/catch-gdb-caused-signals.exp: New file.
122
f6a88844
JM
1232015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
124
125 * configure: Regenerated.
126 * configure.ac: Use GDB_AC_TRANSFORM.
127 * aclocal.m4: sinclude ../transform.m4.
128
497c491b
JM
1292015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
130
131 * lib/dtrace.exp: New file.
132 * gdb.base/dtrace-probe.exp: Likewise.
133 * gdb.base/dtrace-probe.d: Likewise.
134 * gdb.base/dtrace-probe.c: Likewise.
135 * lib/pdtrace.in: Likewise.
136 * configure.ac: Output variables with the transformed names of
137 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
138 * configure: Regenerated.
139
03e98035
JM
1402015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
141
142 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
143 expected message when trying to access $_probe_* convenience
144 variables while not on a probe.
145
63cc30e9
JK
1462015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
147
148 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
149
0703599a
PA
1502015-02-11 Pedro Alves <pedro@codesourcery.com>
151
152 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
153 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
154
7e60a48e
DE
1552015-02-10 Doug Evans <xdje42@gmail.com>
156
157 * lib/gdb.exp (gdb_load): Always return a result.
158
01b088bc
PA
1592015-02-10 Pedro Alves <palves@redhat.com>
160
161 * gdb.threads/signal-sigtrap.c: New file.
162 * gdb.threads/signal-sigtrap.exp: New file.
163
b05ec7a5
AT
1642015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
165
166 * gdb.trace/no-attach-trace.c: New file.
167 * gdb.trace/no-attach-trace.exp: New file.
168
a2c2acaf
MW
1692015-02-09 Mark Wielaard <mjw@redhat.com>
170
171 * gdb.dwarf2/atomic.c: New file.
172 * gdb.dwarf2/atomic-type.exp: Likewise.
173
31fd9caa
MM
1742015-02-09 Markus Metzger <markus.t.metzger@intel.com>
175
176 * gdb.btrace/buffer-size.exp: Update "info record" output.
177 * gdb.btrace/delta.exp: Update "info record" output.
178 * gdb.btrace/enable.exp: Update "info record" output.
179 * gdb.btrace/finish.exp: Update "info record" output.
180 * gdb.btrace/instruction_history.exp: Update "info record" output.
181 * gdb.btrace/next.exp: Update "info record" output.
182 * gdb.btrace/nexti.exp: Update "info record" output.
183 * gdb.btrace/step.exp: Update "info record" output.
184 * gdb.btrace/stepi.exp: Update "info record" output.
185 * gdb.btrace/nohist.exp: Update "info record" output.
186
d33501a5
MM
1872015-02-09 Markus Metzger <markus.t.metzger@intel.com>
188
189 * gdb.btrace/buffer-size: New.
190
f4abbc16
MM
1912015-02-09 Markus Metzger <markus.t.metzger@intel.com>
192
193 * gdb.btrace/delta.exp: Update "info record" output.
194 * gdb.btrace/enable.exp: Update "info record" output.
195 * gdb.btrace/finish.exp: Update "info record" output.
196 * gdb.btrace/instruction_history.exp: Update "info record" output.
197 * gdb.btrace/next.exp: Update "info record" output.
198 * gdb.btrace/nexti.exp: Update "info record" output.
199 * gdb.btrace/step.exp: Update "info record" output.
200 * gdb.btrace/stepi.exp: Update "info record" output.
201 * gdb.btrace/nohist.exp: Update "info record" output.
202
b9d61307
SM
2032015-02-06 Simon Marchi <simon.marchi@ericsson.com>
204
205 PR gdb/15678
206 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
207
e584fdbc
PA
2082015-02-06 Pedro Alves <palves@redhat.com>
209
210 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
211 macro.
212 (seconds_left, again): New globals.
213 (main): Wait seconds_left in a 1-second sleep loop instead of
214 sleeping 180 seconds. If 'again' is set, reset the seconds
215 counter.
216 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
217 'again' in the inferior before detaching. Print the seconds left.
218 (options): New global.
219 (top level): Build program with -DTIMEOUT=$timeout.
220
77f41761
PA
2212015-02-06 Pedro Alves <palves@redhat.com>
222
223 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
224 determine how many seconds to pass to 'alarm'.
225 * gdb.base/gdb-sigterm.exp (top level): Build program with
226 -DTIMEOUT=$timeout.
227 (do_test): Return success/failure indication. Add more verbose
228 logging. Don't fail if 200 single steps are seen. Instead, fail
229 when the test times out.
230 (passes): New global.
231 (top level): Break the testing loop if testing fails on any
232 iteration. Use gdb_assert.
233
b9394193
DB
2342015-02-04 Don Breazeal <donb@codesourcery.com>
235
236 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
237 and initialize them.
238 (ipc_cleanup): New function.
239 (main): Don't declare shmid, semid, and msqid. Add a call to
240 atexit so that we call ipc_cleanup on exit.
241
42d9e528
PA
2422015-02-04 Pedro Alves <palves@redhat.com>
243
244 * boards/native-extended-gdbserver.exp: Remove any target variant
245 specifications from the board name before clearing the isremote
246 flag from board_info.
247
ae6ae975
DE
2482015-01-31 Doug Evans <xdje42@gmail.com>
249
250 * gdb.base/maint.exp <maint print type argc>: Update expected output.
251
cfb069a8
GB
2522015-01-31 Gary Benson <gbenson@redhat.com>
253
254 * gdb.base/completion.exp: Disable completion limiting for
255 existing tests. Add new tests to check completion limiting.
256 * gdb.linespec/ls-errs.exp: Disable completion limiting.
257
5dd31d79
DE
2582015-01-31 Doug Evans <xdje42@gmail.com>
259
260 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
261
9f050062
DE
2622015-01-31 Doug Evans <xdje42@gmail.com>
263
264 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
265 entries. Duplicate file section script entries.
266 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
267 inlined entries. Add test for safe-path rejection.
268 * gdb.python/py-section-script.c: Add duplicate inlined section script
269 entries. Duplicate file section script entries.
270 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
271 inlined entries. Add test for safe-path rejection.
272
df25ebbd
JB
2732015-01-29 Joel Brobecker <brobecker@adacore.com>
274
275 * gdb.ada/disc_arr_bound: New testcase.
276
4a0ca9ec
JB
2772015-01-29 Joel Brobecker <brobecker@adacore.com>
278
279 * gdb.ada/mi_var_array: New testcase.
280
3a8b707a
DE
2812015-01-27 Doug Evans <dje@google.com>
282
283 * gdb.python/py-objfile.exp: Add tests for objfile.username.
284 Add test for objfile.filename, objfile.username after objfile
285 has been unloaded.
286
f8313f6e
JB
2872015-01-26 Joel Brobecker <brobecker@adacore.com>
288
289 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
290 the second test to print the name attribute of value
291 returned by the call to gdb.lookup_type, and adjust
292 the expected output accordingly.
293
37bc665e
MW
2942015-01-25 Mark Wielaard <mjw@redhat.com>
295
296 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
297 * gdb.base/disp-step-fork.c: Include unistd.h.
298 * gdb.base/siginfo-obj.c: Include stdio.h.
299 * gdb.base/siginfo-thread.c: Likewise.
300 * gdb.mi/non-stop.c: Include unistd.h.
301 * gdb.mi/nsthrexec.c: Include stdio.h.
302 * gdb.mi/pthreads.c: Include unistd.h.
303 * gdb.modula2/unbounded1.c (main): Declare returns int.
304 * gdb.reverse/consecutive-reverse.c: Likewise.
305 * gdb.threads/create-fail.c: Include unistd.h.
306 * gdb.threads/killed.c: Likewise.
307 * gdb.threads/linux-dp.c: Likewise.
308 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
309 * gdb.threads/non-ldr-exc-2.c: Likewise.
310 * gdb.threads/non-ldr-exc-3.c: Likewise.
311 * gdb.threads/non-ldr-exc-4.c: Likewise.
312 * gdb.threads/pthreads.c: Include unistd.h.
313 (main): Declare returns int.
314 * gdb.threads/tls-main.c (foo): New declaration.
315 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
316
f7e5394d
SM
3172015-01-23 Simon Marchi <simon.marchi@ericsson.com>
318
319 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
320 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
321
743649fd
MW
3222015-01-15 Mark Wielaard <mjw@redhat.com>
323
324 * gdb.base/noreturn-return.c: New file.
325 * gdb.base/noreturn-return.exp: New file.
326 * gdb.base/noreturn-finish.c: New file.
327 * gdb.base/noreturn-finish.exp: New file.
328
198297aa
PA
3292015-01-23 Pedro Alves <palves@redhat.com>
330
331 * gdb.threads/continue-pending-after-query.c: New file.
332 * gdb.threads/continue-pending-after-query.exp: New file.
333
717cf30c
AG
3342015-01-22 Anders Granlund <anders.granlund@ericsson.com>
335 Simon Marchi <simon.marchi@ericsson.com>
336
337 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
338 * gdb.base/valgrind-db-attach.exp: Same.
339 * gdb.base/valgrind-infcall.exp: Same.
340 * lib/mi-support.exp (default_mi_gdb_start): Same.
341 * lib/prompt.exp (default_prompt_gdb_start): Same.
342 * lib/gdb.exp (default_gdb_spawn): Same.
343 (gdb_interact): New.
344
345
4b62a76e
JK
3462015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
347
348 * gdb.compile/compile.exp (pointer to jit function): New test.
349
b4cdae6f
WW
3502015-01-17 Wei-cheng Wang <cole945@gmail.com>
351
352 * lib/gdb.exp (supports_process_record): Return true for
353 powerpc*-*-linux*.
354 (supports_reverse): Likewise.
355
d221e7ef
DB
3562015-01-15 Don Breazeal <donb@codesourcery.com>
357
358 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
359 instead of checking whether the target board is remote and
360 use spawn_wait_for_attach instead of exec/sleep.
361 * gdb.base/attach-twice.exp: Likewise.
362
bafffb51
JB
3632015-01-15 Joel Brobecker <brobecker@adacore.com>
364
365 * gdb.ada/var_arr_attrs: New testcase.
366
5589af0e
PA
3672015-01-14 Pedro Alves <palves@redhat.com>
368 Joel Brobecker <brobecker@adacore.com>
369
370 PR gdb/17525
371 * gdb.base/bp-cmds-execution-x-script.c: New file.
372 * gdb.base/bp-cmds-execution-x-script.exp: New file.
373 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
374
6c400b59
PA
3752015-01-14 Pedro Alves <palves@redhat.com>
376
377 PR cli/17828
378 * gdb.base/batch-preserve-term-settings.c: New file.
379 * gdb.base/batch-preserve-term-settings.exp: New file.
380
e02c96a7
DE
3812015-01-13 Doug Evans <dje@google.com>
382
383 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
384 binary.
385
576fd14c
JB
3862015-01-13 Joel Brobecker <brobecker@adacore.com>
387
388 * Makefile.in (clean mostlyclean): Do not delete *.py.
389
04dccad0
JB
3902015-01-13 Joel Brobecker <brobecker@adacore.com>
391
392 * gdb.python/py-lookup-type.exp: New file.
393
3d230f71
PA
3942015-01-12 Pedro Alves <palves@redhat.com>
395
396 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
397 restore GDBFLAGS before returning.
398
7e67715d
JK
3992015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
400
401 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
402 is_amd64_regs_target and is_x86_like_target.
403
f2e0d4b4
DE
4042015-01-11 Doug Evans <xdje42@gmail.com>
405
406 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
407 is given without an explicit form.
408 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
409 attributes.
410 * gdb.dwarf/corrupt.exp: Ditto.
411 * gdb.dwarf2/enum-type.exp: Ditto.
412 * gdb.trace/entry-values.exp: Ditto.
413 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
414
439250fb
DE
4152015-01-11 Doug Evans <xdje42@gmail.com>
416
417 PR gdb/15830
418 * gdb.base/maint.exp: Remove references to "maint demangle".
419 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
420 Add tests for explicitly specifying language to demangle.
421 * gdb.dlang/demangle.exp: Ditto.
422
ede9f622
PA
4232015-01-09 Pedro Alves <palves@redhat.com>
424
425 * gdb.threads/non-stop-fair-events.c: New file.
426 * gdb.threads/non-stop-fair-events.exp: New file.
427
a7b796db
PA
4282015-01-09 Pedro Alves <palves@redhat.com>
429
430 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
431 the global scope. Set a breakpoint after all threads are started
432 rather than stepping over two source lines. Expect the prompt.
433 * gdb.base/watch_thread_num.c (threads_started_barrier): New
434 global.
435 (NUM): Now 15.
436 (main): Use threads_started_barrier to wait for all threads to
437 start. Main thread no longer calls thread_function. Exit after
438 180 seconds.
439 (loop): New function.
440 (thread_function): Wait on threads_started_barrier barrier. Call
441 'loop' at each iteration.
442 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
443 threads have started, instead of hardcoding number of "next"
444 steps. Use an access watchpoint instead of a write watchpoint.
445
9665ffdd
PA
4462015-01-09 Pedro Alves <palves@redhat.com>
447
448 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
449 (thread_func): Wait on barrier.
450 (main): Wait for all threads to start before stopping GDB.
451 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
452 global.
453 (thread1_func, thread2_func): Wait on barrier.
454 (main): Wait for all threads to start before stopping GDB.
455 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
456 New global.
457 (thread1_func, thread2_func): Wait on barrier.
458 (main): Wait for all threads to start before stopping GDB.
459
c945a99f
PA
4602015-01-09 Pedro Alves <palves@redhat.com>
461
462 * gdb.threads/attach-many-short-lived-threads.c: New file.
463 * gdb.threads/attach-many-short-lived-threads.exp: New file.
464
c1a747c1
PA
4652014-01-09 Pedro Alves <palves@redhat.com>
466
467 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
468 instead of to thread 2.
469 * gdb.threads/signal-command-multiple-signals-pending.c (main):
470 Add barrier around each pthread_create call instead of around all
471 calls.
472 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
473 Set a break on thread_function and have the child threads hit it
474 one at at a time.
475
60b3033e
PA
4762015-01-09 Pedro Alves <palves@redhat.com>
477
478 * lib/gdb.exp (can_spawn_for_attach): New procedure.
479 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
480 false.
481 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
482 checking whether the target board is remote.
483 * gdb.multi/multi-attach.exp: Likewise.
484 * gdb.python/py-sync-interp.exp: Likewise.
485 * gdb.server/ext-attach.exp: Likewise.
486 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
487 tests that need to attach, instead of checking whether the target
488 board is remote at the top of the file.
489
acc018ac
YQ
4902015-01-08 Yao Qi <yao@codesourcery.com>
491
492 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
493
50a18af8
JK
4942015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
495
496 Fix testcase compilation.
497 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
498
8503d6e1
JB
4992015-01-06 Joel Brobecker <brobecker@adacore.com>
500
501 * gdb.python/py-type.exp: Add a couple test about empty
502 array creation, and negative-length array creation.
503
cc73dbcc
DE
5042015-01-02 Doug Evans <xdje42@gmail.com>
505
506 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
507
0300bbc7
DE
5082015-01-02 Doug Evans <dje@google.com>
509
510 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
511
9d85a0ec
YQ
5122014-12-29 Yao Qi <yao@codesourcery.com>
513
514 * gdb.trace/entry-values.exp: Update comments. Rename variable
515 bar_call_foo to returned_from_foo.
516
87186c6a
MMN
5172014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
518
519 PR gdb/17394
520 * gdb.linespec/break-asm-file.c: New file.
521 * gdb.linespec/break-asm-file.exp: New file.
522 * gdb.linespec/break-asm-file0.s: New file.
523 * gdb.linespec/break-asm-file1.s: New file.
524
1bab7383
YQ
5252014-12-18 Nigel Stephens <nigel@mips.com>
526 Maciej W. Rozycki <macro@codesourcery.com>
527
528 * gdb.base/float.exp: Handle the new output from "info float" on
529 MIPS targets.
530
1bc1068a
JK
5312014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
532
533 Fix MinGW compilation.
534 * gdb.compile/compile-ops.exp: Update untested message if
535 !skip_compile_feature_tests.
536 * gdb.compile/compile-setjmp.exp: Likewise.
537 * gdb.compile/compile-tls.exp: Likewise.
538 * gdb.compile/compile.exp: Likewise.
539 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
540 supported on this host".
541
b6615d10
DE
5422014-12-16 Doug Evans <xdje42@gmail.com>
543
544 * boards/stabs.exp: New file.
545
25dda427
AA
5462014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
547
548 * gdb.base/completion.exp: Adjust to format changes of "maint
549 print user-registers".
550
bf330350
CU
5512014-12-16 Catalin Udma <catalin.udma@freescale.com>
552
553 PR server/17457
554 * gdb.arch/aarch64-fp.c: New file.
555 * gdb.arch/aarch64-fp.exp: New file.
556
395cf596
SDJ
5572014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
558
559 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
560 r210637, r210913, r211666, r215400, r215817).
561
562 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
563 * dg-extract-results.py: New file.
564 * dg-extract-results.sh: Use it if the environment seems
565 suitable.
566
567 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
568
569 * dg-extract-results.py (parse_run): Handle warnings that
570 are printed before a test harness is run.
571
572 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
573
574 * dg-extract-results.py (Named): Remove __cmp__ method.
575 (output_variation): Use a key to sort variation.harnesses.
576
577 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
578
579 * dg-extract-results.py: For Python 3, force sys.stdout to
580 handle surrogate escape sequences.
581 (safe_open): New function.
582 (output_segment, main): Use it.
583
584 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
585
586 * dg-extract-results.py (Prog.result_re): Include options
587 in test name.
588
589 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
590
591 * dg-extract-results.py (output_variation): Always sort if
592 do_sum.
593
e882ef3c
SM
5942014-12-15 Simon Marchi <simon.marchi@ericsson.com>
595
596 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
597 as long as we get pagination notifications.
598
4992aa20
JM
5992014-12-15 Jason Merrill <jason@redhat.com>
600
601 * Makefile.in (check-gdb.%): Restore.
602 * README: Mention it.
603
c1b5a1a6
JB
6042014-12-13 Joel Brobecker <brobecker@adacore.com>
605
606 * gdb.ada/str_uninit: New testcase.
607
5537b577
JK
6082014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
609
610 PR symtab/17642
611 * gdb.base/vla-stub-define.c: New file.
612 * gdb.base/vla-stub.c: New file.
613 * gdb.base/vla-stub.exp: New file.
614
bb2ec1b3
TT
6152014-12-12 Phil Muldoon <pmuldoon@redhat.com>
616 Jan Kratochvil <jan.kratochvil@redhat.com>
617 Tom Tromey <tromey@redhat.com>
618
619 * configure.ac: Add gdb.compile/.
620 * configure: Regenerate.
621 * gdb.compile/Makefile.in: New file.
622 * gdb.compile/compile-ops.exp: New file.
623 * gdb.compile/compile-ops.c: New file.
624 * gdb.compile/compile-tls.c: New file.
625 * gdb.compile/compile-tls.exp: New file.
626 * gdb.compile/compile-constvar.S: New file.
627 * gdb.compile/compile-constvar.c: New file.
628 * gdb.compile/compile-mod.c: New file.
629 * gdb.compile/compile-nodebug.c: New file.
630 * gdb.compile/compile-setjmp-mod.c: New file.
631 * gdb.compile/compile-setjmp.c: New file.
632 * gdb.compile/compile-setjmp.exp: New file.
633 * gdb.compile/compile-shlib.c: New file.
634 * gdb.compile/compile.c: New file.
635 * gdb.compile/compile.exp: New file.
636 * lib/gdb.exp (skip_compile_feature_tests): New proc.
637
4ff709eb
TT
6382014-12-12 Tom Tromey <tromey@redhat.com>
639
640 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
641 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
642
6dddd6a5
DE
6432014-12-12 Doug Evans <dje@google.com>
644
645 * lib/gdb-python.exp (get_python_valueof): New function.
646 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
647
71c24708
AA
6482014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
649
650 * gdb.base/completion.exp: Add test for completion of "info
651 registers ".
652
3e29f34a
MR
6532014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
654
655 * gdb.base/func-ptrs.c: New file.
656 * gdb.base/func-ptrs.exp: New file.
657
fc126975
SM
6582014-12-10 Simon Marchi <simon.marchi@ericsson.com>
659
660 PR breakpoints/17012
661 * gdb.base/dprintf-detach.c: New file.
662 * gdb.base/dprintf-detach.exp: New file.
663
0a46d518
SM
6642014-12-10 Simon Marchi <simon.marchi@ericsson.com>
665
666 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
667 * lib/gdb.exp (target_is_gdbserver): New procedure.
668
a0be3e44
DE
6692014-12-08 Doug Evans <dje@google.com>
670
671 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
672
df1b803a
YQ
6732014-12-05 Yao Qi <yao@codesourcery.com>
674
675 * gdb.guile/scm-error.exp: Remove the third argument to
676 gdb_remote_download.
677 * gdb.guile/scm-frame-args.exp: Likewise.
678 * gdb.guile/scm-section-script.exp: Likewise.
679
ddb9f679
YQ
6802014-12-05 Yao Qi <yao@codesourcery.com>
681
682 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
683
86e4ed39
DE
6842014-12-04 Doug Evans <dje@google.com>
685
686 * gdb.python/py-objfile.exp: Add tests for
687 objfile.add_separate_debug_file.
688
7c50a931
DE
6892014-12-04 Doug Evans <dje@google.com>
690
691 * lib/gdb.exp (get_build_id): New function.
692 (build_id_debug_filename_get): Rewrite to use it.
693 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
694
621661e3
MR
6952014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
696
697 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
698 `method(long)', not just 0x0.
699 * gdb.cp/nsalias.exp: Align code labels to 4.
700 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
701 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
702 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
703 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
704 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
705 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
706
29f0c3b7
DE
7072014-12-02 Doug Evans <dje@google.com>
708
e1e061e7 709 PR symtab/17602
29f0c3b7 710 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 711 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
712 * gdb.cp/anon-ns.exp: Update.
713
162078c8
NB
7142014-12-02 Nick Bull <nicholaspbull@gmail.com>
715
716 * gdb.python/py-events.py (inferior_call_handler): New.
717 (register_changed_handler, memory_changed_handler): New.
718 (test_events.invoke): Register new handlers.
719 * gdb.python/py-events.exp: Add tests for inferior call,
720 memory_changed and register_changed events.
721
fdb09caf
AA
7222014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
723
724 * gdb.base/execl-update-breakpoints.exp: Specify the link address
725 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
726 if the linker doesn't understand this.
727
55cfb2c4
SM
7282014-12-01 Simon Marchi <simon.marchi@ericsson.com>
729
730 * gdb.python/python.exp: Change expected reply to help().
731
9e8cd6df
YQ
7322014-12-01 Yao Qi <yao@codesourcery.com>
733
734 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
735 AC_CONFIG_SUBDIRS(gdb.gdbtk).
736 * configure: Re-generated.
737
6c659fc2
SC
7382014-11-28 Siva Chandra Reddy <sivachandra@google.com>
739
740 * gdb.cp/chained-calls.cc: New file.
741 * gdb.cp/chained-calls.exp: New file.
742 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
743
d7fc3181
SM
7442014-11-28 Simon Marchi <simon.marchi@ericsson.com>
745
746 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
747 * gdb.dwarf2/symtab-producer.exp: Same.
748 * gdb.gdb/python-interrupts.exp: Same.
749 * gdb.gdb/python-selftest.exp: Same.
750 * gdb.python/py-linetable.exp: Same.
751 * gdb.python/py-type.exp: Same.
752 * gdb.python/py-value-cc.exp: Same.
753 * gdb.python/py-value.exp: Same.
754
10e79639
YQ
7552014-11-28 Yao Qi <yao@codesourcery.com>
756
757 * gdb.base/break-probes.exp: Match library name prefixed with
758 sysroot.
759
f28a0564
SM
7602014-11-27 Simon Marchi <simon.marchi@ericsson.com>
761
762 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
763 test expected output. Add parentheses for the call to print.
764 Remove L suffix from integers.
765
3fe1ce1d
DE
7662014-11-26 Doug Evans <dje@google.com>
767
768 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
769
84429e27
YQ
7702014-11-22 Yao Qi <yao@codesourcery.com>
771
772 * gdb.trace/entry-values.c: Remove asms.
773 (foo): Add foo_label.
774 (bar): Add bar_label.
775 * gdb.trace/entry-values.exp: Remove code computing foo's
776 length and bar's length.
777 (Dwarf::assemble): Invoke function_range for bar and use
778 MACRO_AT_func for foo.
779
26741859
YQ
7802014-11-22 Yao Qi <yao@codesourcery.com>
781
782 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
783 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
784 Use .Lgcc43_procstart instead of gcc43.
785
45e44d27
JB
7862014-11-21 Joel Brobecker <brobecker@adacore.com>
787
788 * gdb.ada/n_arr_bound: New testcase.
789
458c8db8
SDJ
7902014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
791
792 PR breakpoints/10737
793 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
794 test_catch_syscall_multi_arch.
795 (test_catch_syscall_multi_arch): New function.
796
43f3e411
DE
7972014-11-20 Doug Evans <xdje42@gmail.com>
798
799 * gdb.base/maint.exp: Update expected output.
800
0d7b2549
AA
8012014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
802
803 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
804 4-byte instruction on S390.
805
8908fca5
JB
8062014-11-19 Joel Brobecker <brobecker@adacore.com>
807
808 * gdb.ada/arr_arr: New testcase.
809
4a46959e
JB
8102014-11-19 Joel Brobecker <brobecker@adacore.com>
811
812 * gdb.ada/pkd_arr_elem: New Testcase.
813
470e2f4e
LM
8142014-11-18 Luis Machado <lgustavo@codesourcery.com>
815
816 * gdb.reverse/break-precsave: Expect completion message for
817 core file reads.
818 * gdb.reverse/consecutive-precsave.exp: Likewise.
819 * gdb.reverse/finish-precsave.exp: Likewise.
820 * gdb.reverse/i386-precsave.exp: Likewise.
821 * gdb.reverse/machinestate-precsave.exp: Likewise.
822 * gdb.reverse/sigall-precsave.exp: Likewise.
823 * gdb.reverse/solib-precsave.exp: Likewise.
824 * gdb.reverse/step-precsave.exp: Likewise.
825 * gdb.reverse/until-precsave.exp: Likewise.
826 * gdb.reverse/watch-precsave.exp: Likewise.
827
a267f3ad
AA
8282014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
829
830 * gdb.base/bp-permanent.c: Include unistd.h.
831 * gdb.python/py-framefilter-mi.c (main): Add return type.
832 * gdb.python/py-framefilter.c (main): Likewise.
833 * gdb.trace/actions-changed.c (main): Likewise.
834
12084a9a
AA
8352014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
836
837 * gdb.mi/until.c: Add eye-catchers.
838 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
839 line numbers.
840
dc7e1a77
AA
8412014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
842
843 * gdb.base/condbreak.exp: Drop references to removed non-prototype
844 function header variants in break1.c.
845 * gdb.base/ena-dis-br.exp: Likewise.
846 * gdb.base/hbreak2.exp: Likewise.
847 * gdb.reverse/until-precsave.exp: Drop references to removed
848 non-prototype function header variants in ur1.c.
849 * gdb.reverse/until-reverse.exp: Likewise.
850
41c77605
PM
8512014-11-17 Petr Machata <pmachata@redhat.com>
852
853 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
854 ${_cu_offset_size} bytes abbrev offset.
855
34248c3a
DE
8562014-11-15 Doug Evans <xdje42@gmail.com>
857
858 PR symtab/17559
859 * gdb.base/line-symtabs.exp: New file.
860 * gdb.base/line-symtabs.c: New file.
861 * gdb.base/line-symtabs.h: New file.
862
646da059
YQ
8632014-11-14 Yao Qi <yao@codesourcery.com>
864
865 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
866 (func): Add label func_label.
867 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
868 Replace low_pc and high_pc with MACRO_AT_range.
869 Replace name, low_pc and high_pc with MACRO_AT_func.
870
9301ebe6
YQ
8712014-11-14 Yao Qi <yao@codesourcery.com>
872
873 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
874 Replace name, low_pc and high_pc with MACRO_AT_func.
875
f166b542
YQ
8762014-11-14 Yao Qi <yao@codesourcery.com>
877
878 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
879 produce debug information.
880 * gdb.dwarf2/implptr-optimized-out.S: Removed.
881
0f6e71e3
YQ
8822014-11-14 Yao Qi <yao@codesourcery.com>
883
884 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
885 object and get function length.
886 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
887 with MACRO_AT_func.
888 (top-level): Replace gdb_compile and clean_restart with
889 prepare_for_testing.
890 * gdb.dwarf2/main.c (main): Add label main_label.
891
876c4df9
YQ
8922014-11-14 Yao Qi <yao@codesourcery.com>
893
894 * lib/dwarf.exp (function_range): New procedure.
895 (Dwarf::_handle_macro_at_func): New procedure.
896 (Dwarf::_handle_macro_at_range): New procedure.
897 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
898
02ad9cf1
YQ
8992014-11-14 Yao Qi <yao@codesourcery.com>
900
901 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
902 (_handle_attribute): New procedure.
903
a59add0c
AA
9042014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
905
906 * gdb.ada/cond_lang/foo.c (callme): Add return type.
907 * gdb.base/call-sc.c (zed): Likewise.
908 * gdb.base/checkpoint.c (main): Likewise.
909 * gdb.base/dump.c (main): Likewise.
910 * gdb.base/gcore.c (main): Likewise.
911 * gdb.base/huge.c (main): Likewise.
912 * gdb.base/multi-forks.c (main): Likewise.
913 * gdb.base/pr10179-a.c (main): Likewise.
914 * gdb.base/savedregs.c (main): Likewise.
915 * gdb.base/sigaltstack.c (main): Likewise.
916 * gdb.base/siginfo.c (main): Likewise.
917 * gdb.base/structs.c (zed): Likewise.
918 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
919 * gdb.mi/mi-syn-frame.c (main): Likewise.
920 * gdb.mi/until.c (foo, main): Likewise.
921 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
922 * gdb.base/solib-weak.c (foo): Declare.
923 * gdb.base/attach-twice.c: Include stdio.h.
924 * gdb.base/weaklib1.c: Likewise.
925 * gdb.base/weaklib2.c: Likewise.
926 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
927 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
928 unistd.h.
929 * gdb.base/attach-pie-misread.c: Include stdlib.h.
930 * gdb.mi/mi-exit-code.c: Likewise.
931 * gdb.base/break-interp-lib.c: Include string.h.
932 * gdb.base/coremaker.c: Likewise.
933 * gdb.base/testenv.c: Likewise.
934 * gdb.python/py-finish-breakpoint.c: Likewise.
935 * gdb.base/inferior-died.c: Include sys/wait.h.
936 * gdb.base/fileio.c: Include time.h.
937 * gdb.base/async-shell.c: Include unistd.h.
938 * gdb.base/dprintf-non-stop.c: Likewise.
939 * gdb.base/info-os.c: Likewise.
940 * gdb.mi/mi-console.c: Likewise.
941 * gdb.mi/watch-nonstop.c: Likewise.
942 * gdb.python/py-events.c: Likewise.
943 * gdb.base/async.c (baz): Move up before its invocation.
944 * gdb.base/code_elim2.c (my_global_func): Likewise.
945 * gdb.base/skip-solib-lib.c (multiply): Likewise.
946 * gdb.base/advance.c (func2): Likewise.
947
3b5d5997
AA
9482014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
949
950 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
951 variant.
952 * gdb.base/annota3.c: Likewise.
953 * gdb.base/async.c: Likewise.
954 * gdb.base/average.c: Likewise.
955 * gdb.base/call-ar-st.c: Likewise.
956 * gdb.base/call-rt-st.c: Likewise.
957 * gdb.base/call-sc.c: Likewise.
958 * gdb.base/call-strs.c: Likewise.
959 * gdb.base/ending-run.c: Likewise.
960 * gdb.base/execd-prog.c: Likewise.
961 * gdb.base/exprs.c: Likewise.
962 * gdb.base/foll-exec.c: Likewise.
963 * gdb.base/foll-fork.c: Likewise.
964 * gdb.base/foll-vfork.c: Likewise.
965 * gdb.base/funcargs.c: Likewise.
966 * gdb.base/gcore.c: Likewise.
967 * gdb.base/jump.c: Likewise.
968 * gdb.base/langs0.c: Likewise.
969 * gdb.base/langs1.c: Likewise.
970 * gdb.base/langs2.c: Likewise.
971 * gdb.base/mips_pro.c: Likewise.
972 * gdb.base/nodebug.c: Likewise.
973 * gdb.base/opaque0.c: Likewise.
974 * gdb.base/opaque1.c: Likewise.
975 * gdb.base/recurse.c: Likewise.
976 * gdb.base/run.c: Likewise.
977 * gdb.base/scope0.c: Likewise.
978 * gdb.base/scope1.c: Likewise.
979 * gdb.base/setshow.c: Likewise.
980 * gdb.base/setvar.c: Likewise.
981 * gdb.base/shmain.c: Likewise.
982 * gdb.base/shr1.c: Likewise.
983 * gdb.base/shr2.c: Likewise.
984 * gdb.base/sigall.c: Likewise.
985 * gdb.base/signals.c: Likewise.
986 * gdb.base/so-indr-cl.c: Likewise.
987 * gdb.base/solib2.c: Likewise.
988 * gdb.base/structs.c: Likewise.
989 * gdb.base/sum.c: Likewise.
990 * gdb.base/vforked-prog.c: Likewise.
991 * gdb.base/watchpoint.c: Likewise.
992 * gdb.reverse/shr2.c: Likewise.
993 * gdb.reverse/until-reverse.c: Likewise.
994 * gdb.reverse/ur1.c: Likewise.
995 * gdb.reverse/watch-reverse.c: Likewise.
996
066a77c5
AA
9972014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
998
999 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
1000 variant.
1001 * gdb.base/sepdebug.exp: Drop references to removed code.
1002
4f204ea5
AA
10032014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1004
1005 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
1006 variant. Preserve original line numbering.
1007 * gdb.base/list1.c: Likewise.
1008
3b377a3a
AA
10092014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1010
1011 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
1012 variant.
1013 * gdb.base/break1.c: Likewise.
1014 * gdb.base/break.exp: Drop references to removed code.
1015
e444df73
AA
10162014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1017
1018 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
1019 variant.
1020
8008f2a7
AA
10212014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1022
1023 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
1024
a5a06887
AA
10252014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1026
1027 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
1028 logic into perform_all_tests() and invoke it with and without
1029 function header prototypes.
1030 (do_function_calls): Remove conditional XFAIL for PR 5318.
1031 (rerun_and_prepare): Remove duplicate code.
1032 (perform_all_tests): New. Main logic moved here.
1033
44dba9b9
AA
10342014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1035
1036 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
1037 code guarded by #ifdef NO_PROTOTYPES.
1038 (t_double_many_args): Likewise.
1039 (DEF_FUNC_MANY_ARGS_1): Likewise.
1040 (DEF_FUNC_VALUES_1): Likewise.
1041 (t_structs_ldc): Renamed from t_structs_fc in conditional code
1042 guarded by #ifdef PROTOTYPES.
1043
d1fbcd56
AA
10442014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1045
1046 * gdb.mi/mi-console.c: Add eye-catcher.
1047 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
1048 instead of literal line number.
1049
b0e59b8f
AA
10502014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1051
1052 * gdb.base/shr2.c: Add eye-catcher.
1053 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
1054 line number.
1055
78f98cca
AA
10562014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1057
1058 * gdb.base/jump.c: Add eye-catchers.
1059 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
1060 numbers.
1061
58fa2af0
AA
10622014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1063
1064 * gdb.base/execd-prog.c: Add eye-catchers.
1065 * gdb.base/foll-exec.c: Likewise.
1066 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
1067 line numbers.
1068
04e5059b
AA
10692014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1070
1071 * gdb.base/ending-run.c: Add eye-catchers.
1072 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
1073 literal line numbers.
1074
dbfdb174
AA
10752014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1076
1077 * gdb.base/call-rt-st.c: Add eye-catchers.
1078 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
1079 literal line numbers.
1080
888a2ade
AA
10812014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1082
1083 * gdb.base/call-ar-st.c: Add eye-catchers.
1084 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
1085 literal line numbers.
1086
6acc2dde
AA
10872014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1088
1089 * gdb.base/average.c: Add eye-catchers.
1090 * gdb.base/sum.c: Likewise.
1091 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
1092 regexps dynamically.
1093
9ecfcd1d
AA
10942014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1095
1096 * gdb.base/solib1.c: Add eye-catchers.
1097 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
1098 literal line numbers.
1099
78708b7c
PA
11002014-11-12 Pedro Alves <palves@redhat.com>
1101
1102 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
1103 leader has exited.
1104
af48d08f
PA
11052014-11-12 Pedro Alves <palves@redhat.com>
1106
1107 * gdb.arch/i386-bp_permanent.c: New file.
1108 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
1109 (srcfile): Set to i386-bp_permanent.c.
1110 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
1111 that stepi does not execute the 'leave' instruction, instead of
1112 testing it does execute.
1113 * gdb.base/bp-permanent.c: New file.
1114 * gdb.base/bp-permanent.exp: New file.
1115
af3768e9
DE
11162014-11-10 Doug Evans <xdje42@gmail.com>
1117
1118 PR symtab/17564
1119 * gdb.base/symtab-search-order.exp: New file.
1120 * gdb.base/symtab-search-order.c: New file.
1121 * gdb.base/symtab-search-order-1.c: New file.
1122 * gdb.base/symtab-search-order-shlib-1.c: New file.
1123
9de00a4a
PA
11242014-11-07 Pedro Alves <palves@redhat.com>
1125
1126 PR gdb/17511
1127 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
1128 i?86-*-linux*.
1129
e0f52461
SC
11302014-11-03 Siva Chandra Reddy <sivachandra@google.com>
1131
1132 PR c++/17494
1133 * gdb.cp/pr17494.cc: New file.
1134 * gdb.cp/pr17494.exp: New file.
1135
6ce8c980
YQ
11362014-11-02 Yao Qi <yao@codesourcery.com>
1137
1138 * gdb.python/python.exp: Get working directory and match the
1139 output of "set extended-prompt \\w " with it.
1140
02be9a71
DE
11412014-10-30 Doug Evans <dje@google.com>
1142
1143 * gdb.python/py-objfile.exp: Add tests for setting random attributes
1144 in objfiles.
1145 * gdb.python/py-progspace.exp: Add tests for setting random attributes
1146 in progspaces.
1147
3bdff46b
LM
11482014-10-30 Janis Johnson <janisjo@codesourcery.com>
1149
1150 * gdb.base/fullpath-expand.exp: Skip for a remote host.
1151 * gdb.base/realname-expand.exp: Likewise.
1152 * gdb.linespec/macro-relative.exp: Likewise.
1153
ab917dfb
PA
11542014-10-29 Pedro Alves <palves@redhat.com>
1155
1156 PR gdb/17408
1157 * gdb.threads/schedlock.c (some_function): New function.
1158 (call_function): New global.
1159 (MAYBE_CALL_SOME_FUNCTION): New macro.
1160 (thread_function): Call it.
1161 * gdb.threads/schedlock.exp (get_args): Add description parameter,
1162 and use it instead of a global counter. Adjust all callers.
1163 (get_current_thread): Use "find current thread" for test message
1164 here rather than having all callers pass down the same string.
1165 (goto_loop): New procedure, factored out from ...
1166 (my_continue): ... this.
1167 (step_ten_loops): Change parameter from test message to command to
1168 use. Adjust.
1169 (list_count): Delete global.
1170 (check_result): New procedure, factored out from duplicate top
1171 level code.
1172 (continue tests): Wrap in with_test_prefix.
1173 (test_step): New procedure, factored out from duplicate top level
1174 code.
1175 (top level): Test "step" in combination with all scheduler-locking
1176 modes. Test "next" in combination with all scheduler-locking
1177 modes, and in combination with stepping over a function call or
1178 not.
1179 * gdb.threads/next-bp-other-thread.c: New file.
1180 * gdb.threads/next-bp-other-thread.exp: New file.
1181
d3d4baed
PA
11822014-10-29 Pedro Alves <palves@redhat.com>
1183
1184 PR python/17372
1185 * gdb.python/python.exp: Test a multi-line command that spawns
1186 interactive Python.
1187 * gdb.base/multi-line-starts-subshell.exp: New file.
1188
563e8d85
YQ
11892014-10-29 Yao Qi <yao@codesourcery.com>
1190
1191 * gdb.base/fileio.exp: Make directories on host.
1192
0ea4d52e
YQ
11932014-10-29 Yao Qi <yao@codesourcery.com>
1194
1195 * gdb.base/fileio.c (test_write): Close the file.
1196
7f5ef605
PA
11972014-10-28 Pedro Alves <palves@redhat.com>
1198
1199 PR gdb/12623
1200 * gdb.base/sigstep.c (no_handler): New global.
1201 (main): If 'no_handler is true, set the signal handlers to
1202 SIG_IGN.
1203 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
1204 with_sw_watch and no_handler parameters. Handle them.
1205 (top level) <stepping over handler when stopped at a breakpoint
1206 test>: Add a test axis for testing with a software watchpoint, and
1207 another for testing with the signal handler set to SIG_IGN.
1208 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
1209 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
1210
abbdbd03
PA
12112014-10-28 Pedro Alves <palves@redhat.com>
1212
1213 PR gdb/17511
1214 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
1215 * gdb.base/sigstep.exp (other_handler_location): New global.
1216 (advance): Support stepping into the signal handler, and running
1217 commands while in the handler.
1218 (in_handler_map): New global.
1219 (top level): In the advance test, add combinations for getting
1220 into the handler with stepping commands, and for running commands
1221 in the handler. Add comment descripting the advancei tests.
1222
1df4399f
PA
12232014-10-28 Pedro Alves <palves@redhat.com>
1224
1225 * gdb.base/sigstep.exp: Use build_executable instead of
1226 prepare_for_testing.
1227 (top level): Move code that starts GDB, runs to main and creates a
1228 display to ...
1229 (restart): ... this new procedure.
1230 (top level): Move backtrace from signal handler test to ...
1231 (validate_backtrace): ... this new procedure.
1232 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
1233 with_test_prefix. Always restart GDB.
1234 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
1235 with_test_prefix. Always restart GDB. No need to delete
1236 breakpoints after the test.
1237 (test_skip_handler): Remove prefix parameter.
1238 (skip_over_handler, breakpoint_to_handler)
1239 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
1240 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
1241 restart GDB. No need to delete breakpoints after the test.
1242 (top level): Use foreach to call the test procedures with
1243 different commands.
1244
a5b6e449
PA
12452014-10-28 Pedro Alves <palves@redhat.com>
1246
1247 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
1248 instead of GNATS numbers.
1249 * gdb.base/sigbpt.exp: Likewise.
1250 * gdb.base/siginfo.exp: Likewise.
1251 * gdb.base/sigstep.exp: Likewise.
1252
e5f8a7cc
PA
12532014-10-27 Pedro Alves <palves@redhat.com>
1254
1255 * gdb.base/sigstep.c (dummy): New global.
1256 (main): Issue a couple writes to the new global.
1257 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
1258 procedures.
1259 (skip_over_handler): Use test_skip_handler.
1260 (top level): Call skip_over_handler for stepi and nexti too.
1261 (breakpoint_over_handler): Use test_skip_handler.
1262 (top level): Call breakpoint_over_handler for stepi and nexti too.
1263
763905a3
YQ
12642014-10-27 Yao Qi <yao@codesourcery.com>
1265
1266 * gdb.trace/tfile.c (adjust_function_address)
1267 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
1268 function descriptor.
1269
6f259a23
DB
12702014-10-24 Don Breazeal <donb@codesourcery.com>
1271
1272 * gdb.base/foll-fork.exp (test_follow_fork,
1273 catch_fork_child_follow): Check for updated fork messages emitted
1274 from infrun.c.
1275 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
1276 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
1277 vfork_and_exec_child_follow_through_step): Check for updated vfork
1278 messages emitted from infrun.c.
1279
09dd9a69
PA
12802014-10-24 Pedro Alves <palves@redhat.com>
1281
1282 * gdb.base/corefile.exp: Remove references to ultrix.
1283 * gdb.base/interrupt.exp: Likewise.
1284 * gdb.base/whatis.exp: Likewise.
1285 * gdb.gdb/selftest.exp: Likewise.
1286 * gdb.threads/manythreads.exp: Likewise.
1287 * gdb.threads/print-threads.exp: Likewise.
1288 * gdb.threads/pthreads.exp:: Likewise.
1289 * gdb.threads/schedlock.exp: Likewise.
1290
3433cfa5
SC
12912014-10-24 Siva Chandra Reddy <sivachandra@google.com>
1292
1293 * gdb.cp/non-trivial-retval.cc: Add a test case.
1294 * gdb.cp/non-trivial-retval.exp: Add a test.
1295
092f880b
YQ
12962014-10-20 Yao Qi <yao@codesourcery.com>
1297
1298 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
1299 * gdb.python/py-objfile-script-gdb.py: New file.
1300 * gdb.python/py-objfile-script.exp: Update reference to
1301 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
1302 of remote_download. Remove the dest file.
1303
acbdb7f3
YQ
13042014-10-20 Yao Qi <yao@codesourcery.com>
1305
1306 * gdb.base/checkpoint.exp: Don't remove file copied on host.
1307 * gdb.base/step-line.exp: Likewise.
1308 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1309 * gdb.dwarf2/dw2-basic.exp: Likewise.
1310 * gdb.dwarf2/dw2-compressed.exp: Likewise.
1311 * gdb.dwarf2/dw2-filename.exp: Likewise.
1312 * gdb.dwarf2/dw2-intercu.exp: Likewise.
1313 * gdb.dwarf2/dw2-intermix.exp: Likewise.
1314 * gdb.dwarf2/dw2-producer.exp: Likewise.
1315 * gdb.dwarf2/mac-fileno.exp: Likewise.
1316 * gdb.python/py-frame-args.exp: Likewise.
1317 * gdb.python/py-framefilter.exp: Likewise.
1318 * gdb.python/py-mi.exp: Likewise.
1319 * gdb.python/py-objfile-script.exp: Likewise
1320 * gdb.python/py-pp-integral.exp: Likewise.
1321 * gdb.python/py-pp-re-notag.exp: Likewise.
1322 * gdb.python/py-prettyprint.exp: Likewise.
1323 * gdb.python/py-section-script.exp: Likewise.
1324 * gdb.python/py-typeprint.exp: Likewise.
1325 * gdb.python/py-xmethods.exp: Likewise.
1326 * gdb.stabs/weird.exp: Likewise.
1327 * gdb.xml/tdesc-regs.exp: Likewise.
1328
bd286a29
KCY
13292014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
1330
1331 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
1332 (out_cu): Use addr_len for the size of addresses.
1333 (out_line): Likewise. Size DW_LNE_set_address instruction
1334 according to addr_len.
1335 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
1336 (FUNC): Add START_INSNS to definition.
1337
673dc4a0
YQ
13382014-10-18 Yao Qi <yao@codesourcery.com>
1339
1340 * gdb.base/argv0-symlink.exp: Check argv[0] value if
1341 gdb_has_argv0 return true.
1342 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
1343 check [target_info exists noargs], check [gdb_has_argv0]
1344 instead.
1345 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1346 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
1347 procedures.
1348
4ffbba72
DE
13492014-10-17 Doug Evans <dje@google.com>
1350
1351 * gdb.python/py-events.exp: Update expected output for clear_objfiles
1352 event.
1353 * gdb.python/py-events.py: Add clear_objfiles event.
1354
d096d8c1
DE
13552014-10-17 Doug Evans <dje@google.com>
1356
1357 * gdb.python/py-objfile.exp: Test progspace attribute.
1358
a80db015
LM
13592014-10-17 Luis Machado <lgustavo@codesourcery.com>
1360
1361 * gdb.guile/scm-breakpoint.exp: Do not assume any
1362 directory separators when matching source file paths.
1363 * gdb.python/py-breakpoint.exp: Likewise.
1364 * gdb.reverse/break-precsave.exp: Likewise.
1365 * gdb.reverse/break-reverse.exp: Likewise.
1366 * gdb.reverse/consecutive-precsave.exp: Likewise.
1367 * gdb.reverse/finish-precsave.exp: Likewise.
1368 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
1369 * gdb.reverse/finish-reverse.exp: Likewise.
1370 * gdb.reverse/i386-precsave.exp: Likewise.
1371 * gdb.reverse/i387-env-reverse.exp: Likewise.
1372 * gdb.reverse/i387-stack-reverse.exp: Likewise.
1373 * gdb.reverse/machinestate-precsave.exp: Likewise.
1374 * gdb.reverse/machinestate.exp: Likewise.
1375 * gdb.reverse/sigall-precsave.exp: Likewise.
1376 * gdb.reverse/solib-precsave.exp: Likewise.
1377 * gdb.reverse/step-precsave.exp: Likewise.
1378 * gdb.reverse/until-precsave.exp: Likewise.
1379 * gdb.reverse/watch-precsave.exp: Likewise.
1380 * gdb.reverse/watch-reverse.exp: Likewise.
1381
b22089ab
YQ
13822014-10-17 Yao Qi <yao@codesourcery.com>
1383
1384 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
1385 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
1386
6c4486e6
PA
13872014-10-17 Pedro Alves <palves@redhat.com>
1388
1389 PR gdb/17471
1390 * gdb.base/bg-execution-repeat.c: New file.
1391 * gdb.base/bg-execution-repeat.exp: New file.
1392
0ff33695
PA
13932014-10-17 Pedro Alves <palves@redhat.com>
1394
1395 PR gdb/17300
1396 * gdb.base/continue-all-already-running.c: New file.
1397 * gdb.base/continue-all-already-running.exp: New file.
1398
6fdebc3d
PA
13992014-10-17 Pedro Alves <palves@redhat.com>
1400
1401 PR gdb/17472
1402 * gdb.base/annota-input-while-running.c: New file.
1403 * gdb.base/annota-input-while-running.exp: New file.
1404
32a8097b
PA
14052014-10-17 Pedro Alves <palves@redhat.com>
1406
1407 * gdb.base/callfuncs.exp: emove references to osf.
1408 * gdb.base/sigall.exp: Likewise.
1409 * gdb.gdb/selftest.exp: Likewise.
1410 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1411 * gdb.mi/non-stop.c: Likewise.
1412 * gdb.mi/pthreads.c: Likewise.
1413 * gdb.reverse/sigall-precsave.exp: Likewise.
1414 * gdb.reverse/sigall-reverse.exp: Likewise.
1415 * gdb.threads/pthreads.c: Likewise.
1416 * gdb.threads/pthreads.exp: Likewise.
1417
7a3517ff
YQ
14182014-10-17 Yao Qi <yao@codesourcery.com>
1419
1420 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
1421 check 'target_info exists noargs'.
1422 (test_command_prompt_position): Likewise.
1423 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
1424 Remove "set args".
1425 (progvar_simple_while_test): Likewise.
1426 (progvar_complex_if_while_test): Likewise.
1427 (if_while_breakpoint_command_test): Likewise.
1428 (infrun_breakpoint_command_test): Likewise.
1429 (breakpoint_command_test): Likewise.
1430 (watchpoint_command_test): Likewise.
1431 (bp_deleted_in_command_test): Likewise.
1432 (temporary_breakpoint_commands): Likewise.
1433
bb99c472
YQ
14342014-10-16 Yao Qi <yao@codesourcery.com>
1435
1436 * gdb.base/remotetimeout.exp: Remove noargs checking.
1437
7c16b83e
PA
14382014-10-15 Pedro Alves <palves@redhat.com>
1439
1440 PR breakpoints/9649
1441 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
1442 * gdb.base/breakpoint-in-ro-region.exp
1443 (probe_target_hardware_step): New procedure.
1444 (top level): Probe hardware stepping and hardware breakpoint
1445 support. Test stepping through a read-only region, with both
1446 "breakpoint auto-hw" on and off and both "always-inserted" on and
1447 off.
1448
35a49624
IB
14492014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
1450
1451 * gdb.dlang/demangle.exp: Update for demangling changes.
1452
2d1c107c
SC
14532014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1454
1455 * gdb.cp/non-trivial-retval.cc: Add new test cases.
1456 * gdb.cp/non-trivial-retval.exp: Add new tests.
1457
778811d5
SC
14582014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1459
1460 PR c++/13403
1461 PR c++/15154
1462 * gdb.cp/non-trivial-retval.cc: New file.
1463 * gdb.cp/non-trivial-retval.exp: New file.
1464
10c5f0a8
YQ
14652014-10-15 Yao Qi <yao@codesourcery.com>
1466
1467 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
1468 remote host.
1469
65d7b369
YQ
14702014-10-15 Yao Qi <yao@codesourcery.com>
1471
1472 * gdb.python/py-symbol.exp: Match file base name if host is
1473 remote, otherwise match file name with dir name.
1474 * gdb.python/py-symtab.exp: Likewise.
1475 * gdb.python/python.exp: Likewise.
1476
46dc1394
YQ
14772014-10-15 Yao Qi <yao@codesourcery.com>
1478
1479 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
1480 pattern.
1481 * gdb.python/py-symtab.exp: Likewise.
1482 * gdb.python/python.exp: Remove trailing ".*". Fix typo
1483 locationn.
1484
c40cc657
JB
14852014-10-14 Joel Brobecker <brobecker@adacore.com>
1486
1487 * gdb.ada/addr_arith: New testcase.
1488
2abf49e1
MR
14892014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
1490
1491 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
1492 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
1493 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
1494 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
1495
f7088df3
SDJ
14962014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
1497
1498 * gdb.arch/stap-eval-lang-ada.S: Likewise.
1499 * gdb.arch/stap-eval-lang-ada.c: Likewise.
1500 * gdb.arch/stap-eval-lang-ada.exp: New file.
1501
4dc06805
YQ
15022014-10-14 Yao Qi <yao@codesourcery.com>
1503
1504 * gdb.mi/mi-var-child.c (nothing1): New function.
1505 (nothing2): New function.
1506 (do_children_tests): Set function pointers by nothing1 and
1507 nothing2.
1508 * gdb.mi/mi-var-child.exp: Step over new added statements.
1509 Update test to match the new output.
1510 * gdb.mi/var-cmd.c (nothing1): New function.
1511 (nothing2): New function.
1512 (do_children_tests): Set function pointers by nothing1 and
1513 nothing2.
1514 * gdb.mi/mi-var-display.exp: Update test to match output.
1515 Step to the line specified by $line_dct_nothing.
1516 Increase the number of lines to step.
1517
46a93de2
YQ
15182014-10-14 Yao Qi <yao@codesourcery.com>
1519
1520 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
1521 tests.
1522 * gdb.mi/mi2-var-child.exp: Likewise.
1523
14ea52ee
DE
15242014-10-13 Doug Evans <dje@google.com>
1525
1526 * gdb.python/py-objfile.exp: Change name of file name test.
1527
e5c6e92b
DE
15282014-10-13 Doug Evans <dje@google.com>
1529
1530 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
1531 from the start of the CU.
1532
c780cc2f
JK
15332014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1534 Yao Qi <yao@codesourcery.com>
1535
1536 Fix "save breakpoints" for "catch" command.
1537 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
1538 Remove -nonewline. Match also the added "main" line.
1539
99894e11
JK
15402014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1541
1542 Fix "save breakpoints" for "disable $bpnum" command.
1543 * gdb.base/save-bp.c (main): Add label.
1544 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
1545
6e1ac5a3
JK
15462014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1547
1548 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
1549
754dd2b0
YQ
15502014-10-11 Yao Qi <yao@codesourcery.com>
1551
1552 * gdb.server/server-kill.exp: Execute command
1553 "set remote trace-status-packet on" before "tstatus".
1554
f90183d7
YQ
15552014-10-11 Yao Qi <yao@codesourcery.com>
1556
1557 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
1558 (main): Call getppid.
1559 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
1560 and continue to it. Read variable "server_pid".
1561
bf40a607
YQ
15622014-10-11 Yao Qi <yao@codesourcery.com>
1563
1564 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
1565
052ca370
YQ
15662014-10-11 Yao Qi <yao@codesourcery.com>
1567
1568 * gdb.threads/thread-find.exp: Don't execute command
1569 "info threads".
1570 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
1571 * gdb.threads/linux-dp.exp: Don't check the condition
1572 $threads_created equals to zero.
1573
3831839c
PA
15742014-10-10 Pedro Alves <palves@redhat.com>
1575
1576 * gdb.base/bigcore.exp: Remove references to IRIX.
1577 * gdb.base/funcargs.exp: Likewise.
1578 * gdb.base/interrupt.exp: Likewise.
1579 * gdb.base/mips_pro.exp: Likewise.
1580 * gdb.base/nodebug.exp: Likewise.
1581 * gdb.base/setvar.exp: Likewise.
1582 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
1583
8b9a549d
PA
15842014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1585 Pedro Alves <palves@redhat.com>
1586
1587 PR symtab/14466
1588 * gdb.base/vdso-warning.c: New file.
1589 * gdb.base/vdso-warning.exp: New file.
1590
d48ba5e8
DE
15912014-10-02 Doug Evans <dje@google.com>
1592
1593 * gdb.base/structs.c (main): Don't run forever.
1594
2278c276
PA
15952014-10-02 Pedro Alves <palves@redhat.com>
1596
1597 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
1598 (top level) <stop threads 1, stop threads 2>: Use it.
1599
b57bacec
PA
16002014-10-02 Pedro Alves <palves@redhat.com>
1601
1602 * gdb.threads/break-while-running.exp (test): Add new
1603 'update_thread_list' argument. Skip "info threads" if false.
1604 (top level): Add new 'update_thread_list' axis.
1605
13fd3ff3
PA
16062014-10-02 Pedro Alves <palves@redhat.com>
1607
1608 PR breakpoints/17431
1609 * gdb.base/execl-update-breakpoints.c: New file.
1610 * gdb.base/execl-update-breakpoints.exp: New file.
1611
0fec99e8
PA
16122014-10-01 Pedro Alves <palves@redhat.com>
1613
1614 * gdb.base/breakpoint-in-ro-region.c: New file.
1615 * gdb.base/breakpoint-in-ro-region.exp: New file.
1616
2ddf4301
SM
16172014-10-01 Simon Marchi <simon.marchi@ericsson.com>
1618
1619 * gdb.mi/mi-exit-code.exp: New file.
1620 * gdb.mi/mi-exit-code.c: New file.
1621
6a5f3f43
YQ
16222014-09-30 Yao Qi <yao@codesourcery.com>
1623
1624 * lib/prelink-support.exp (build_executable_own_libs): Error if
1625 the target isn't native.
1626
345bcc73
YQ
16272014-09-30 Yao Qi <yao@codesourcery.com>
1628
1629 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
1630 false.
1631
a25a5a45
PA
16322014-09-22 Pedro Alves <palves@redhat.com>
1633
1634 * gdb.threads/break-while-running.exp: New file.
1635 * gdb.threads/break-while-running.c: New file.
1636
00ba3162
YQ
16372014-09-19 Yao Qi <yao@codesourcery.com>
1638
1639 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
1640 Invoke test. Restart GDB with --readnow and invoke test again.
1641
c3b7b696
YQ
16422014-09-19 Yao Qi <yao@codesourcery.com>
1643
1644 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
1645 proc set_breakpoint_on_gcd_function. Invoke
1646 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
1647 invoke set_breakpoint_on_gcd_function again.
1648
2b4fd423
DE
16492014-09-18 Doug Evans <dje@google.com>
1650
1651 * gdb.dwarf2/symtab-producer.exp: New file.
1652
a5947601
SDJ
16532014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1654
1655 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
1656 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
1657 * gdb.base/global-var-nested-by-dso.c: Likewise.
1658 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1659
91c19059
SDJ
16602014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1661 Pedro Alves <palves@redhat.com>
1662
1663 * gdb.base/watch-bitfields.exp: Pass string other than test file
1664 name to prepare_for_testing.
1665 (watch): New procedure.
1666 (expect_watchpoint): Use with_test_prefix.
1667 (top level): Factor out tests to ...
1668 (test_watch_location, test_regular_watch): ... these new
1669 procedures, and use with_test_prefix and gdb_continue_to_end.
1670
bb9d5f81
PP
16712014-09-16 Patrick Palka <patrick@parcs.ath.cx>
1672
1673 PR breakpoints/12526
1674 * gdb.base/watch-bitfields.exp: New file.
1675 * gdb.base/watch-bitfields.c: New file.
1676
635856f5
PA
16772014-09-16 Pedro Alves <palves@redhat.com>
1678
1679 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
1680 software and hardware addresses, not software address against
1681 itself.
1682
7280ceea
PA
16832014-09-16 Pedro Alves <palves@redhat.com>
1684
1685 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
1686 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
1687
428b16bd
PA
16882014-09-16 Pedro Alves <palves@redhat.com>
1689
1690 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
1691 files.
1692 * gdb.base/a2-run.exp: Remove all code guarded by istarget
1693 "*-*-vxworks*" throughout.
1694 * gdb.base/break.exp: Likewise.
1695 * gdb.base/default.exp: Likewise.
1696 * gdb.base/scope.exp: Likewise.
1697 * gdb.base/sepdebug.exp: Likewise.
1698 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
1699 throughout.
1700 * gdb.base/run.c: Likewise.
1701 * gdb.base/sepdebug.c: Likewise.
1702 * gdb.hp/gdb.aCC/run.c: Likewise.
1703 * gdb.reverse/until-reverse.c: Likewise.
1704 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
1705
666d413c
YQ
17062014-09-16 Yao Qi <yao@codesourcery.com>
1707
1708 * boards/local-remote-host-native.exp: New file.
1709
57cbd724
DE
17102014-09-14 Doug Evans <xdje42@gmail.com>
1711
1712 * gdb.threads/queue-signal.c (thread_count): New variable.
1713 (thread_count_mutex, thread_count_condvar): New variables.
1714 (incr_thread_count, wait_all_threads_running): New functions.
1715 (main): Wait for all threads to be in their thread functions.
1716
81219e53
DE
17172014-09-13 Doug Evans <xdje42@gmail.com>
1718
1719 * gdb.threads/queue-signal.c: New file.
1720 * gdb.threads/queue-signal.exp: New file.
1721
3714cea7
DE
17222014-09-13 Doug Evans <xdje42@gmail.com>
1723
1724 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
1725 be consistent with what default_gdb_init uses.
1726 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
1727 the plain text of the prompt. Add some logging printfs.
1728 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
1729
fa43b1d7
PA
17302014-09-12 Pedro Alves <palves@redhat.com>
1731
1732 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
1733 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
1734 * gdb.arch/i386-size-overlap.exp: Likewise.
1735 * gdb.arch/i386-size.exp: Likewise.
1736 * gdb.arch/i386-unwind.exp: Likewise.
1737 * gdb.base/a2-run.exp: Likewise.
1738 * gdb.base/break.exp: Likewise.
1739 * gdb.base/charset.exp: Likewise.
1740 * gdb.base/chng-syms.exp: Likewise.
1741 * gdb.base/commands.exp: Likewise.
1742 * gdb.base/dbx.exp: Likewise.
1743 * gdb.base/find.exp: Likewise.
1744 * gdb.base/funcargs.exp: Likewise.
1745 * gdb.base/jit-simple.exp: Likewise.
1746 * gdb.base/reread.exp: Likewise.
1747 * gdb.base/sepdebug.exp: Likewise.
1748 * gdb.base/step-bt.exp: Likewise.
1749 * gdb.cp/mb-inline.exp: Likewise.
1750 * gdb.cp/mb-templates.exp: Likewise.
1751 * gdb.objc/basicclass.exp: Likewise.
1752 * gdb.threads/killed.exp: Likewise.
1753
9d9bf2df
EBM
17542014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1755
1756 PR tdep/17379
1757 * gdb.arch/powerpc-stackless.S: New file.
1758 * gdb.arch/powerpc-stackless.exp: New file.
1759
1cf2f1b0
JK
17602014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1761
1762 * gdb.base/attach.c: Include unistd.h.
1763 (main): Call alarm. Add label postloop.
1764 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
1765 gdb_breakpoint, gdb_continue_to_breakpoint.
1766 (test_command_line_attach_run): Kill ${testpid} in one exit path.
1767
98880d46
PA
17682014-09-11 Pedro Alves <palves@redhat.com>
1769
1770 PR gdb/17347
1771 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
1772 * gdb.base/attach.exp (test_command_line_attach_run): New
1773 procedure.
1774 (top level): Call it.
1775
4c92ff2c
PA
17762014-09-11 Pedro Alves <palves@redhat.com>
1777
1778 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
1779 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
1780 (do_command_attach_tests): Use spawn_wait_for_attach.
1781 * gdb.base/solib-overlap.exp: Likewise.
1782 * gdb.multi/multi-attach.exp: Likewise.
1783 * gdb.python/py-prompt.exp: Likewise.
1784 * gdb.python/py-sync-interp.exp: Likewise.
1785 * gdb.server/ext-attach.exp: Likewise.
1786
3adc1a7d
GKB
17872014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
1788
1789 * gdb.fortran/array-element.exp: Remove unexpected "continue"
1790 command in testcase. Simplify testcase.
1791
96334934
JB
17922014-09-10 Joel Brobecker <brobecker@adacore.com>
1793
1794 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
1795
eb479039
JB
17962014-09-10 Joel Brobecker <brobecker@adacore.com>
1797
1798 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
1799
deede10c
JB
18002014-09-10 Joel Brobecker <brobecker@adacore.com>
1801
1802 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
1803
7828a5f5
JB
18042014-09-10 Joel Brobecker <brobecker@adacore.com>
1805
1806 * gdb.dwarf2/dynarr-ptr.c: New file.
1807 * gdb.dwarf2/dynarr-ptr.exp: New file.
1808
33aeebcf
MR
18092014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1810
1811 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
1812 of 30 rather than hardcoding 120 for a slow test case. Take the
1813 `gdb,timeout' target setting into account for this calculation.
1814 Don't extend the timeout for the test cases that don't need it.
1815
7b415901
MR
18162014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1817
1818 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
1819 a factor of 2 for a slow test case. Take the `gdb,timeout'
1820 target setting into account for this calculation.
1821 * gdb.reverse/until-precsave.exp: Increase the timeout by
1822 a factor of 15 and 3 respectively rather than adding 120
1823 for a pair of slow test cases. Take the `gdb,timeout'
1824 target setting into account for this calculation.
1825
4a40f85a
MR
18262014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1827
1828 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
1829 timeout, don't pass one down to gdb_expect.
1830 (gdb_expect): Rework timeout selection.
1831
09635af7
MR
18322014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1833
1834 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
1835 exception on timeout.
1836 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
1837 (gdbserver_start_extended): Catch any `gdbserver_start' error
1838 exceptions.
1839 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
1840 * lib/mi-support.exp (mi_gdb_target_load): Catch any
1841 `gdbserver_gdb_load' error exceptions.
1842
2bdd10b7
MR
18432014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1844
1845 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
1846 120 on waiting for the TCP socket to open.
1847
316935f0
DE
18482014-09-09 Doug Evans <xdje42@gmail.com>
1849
1850 * gdb.base/default.exp (show_conv_list): Add _caller_is,
1851 _caller_matches, _any_caller_is, _any_caller_matches.
1852
83740597
DE
18532014-09-09 Doug Evans <xdje42@gmail.com>
1854
1855 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
1856
4c122fc3
YQ
18572014-09-09 Yao Qi <yao@codesourcery.com>
1858
1859 * gdb.mi/mi-var-display.exp: Set print symbol off.
1860
a9f116cb
GKB
18612014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
1862
1863 PR gdb/17035
1864 * gdb.base/commands.exp: Add tests to verify user-defined
1865 commands with empty bodies.
1866 * gdb.python/py-cmd.exp: Test that we don't show user-defined
1867 python commands in `show user command`.
1868 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
1869 scheme commands in `show user command`.
1870
c75bd3a2
JK
18712014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1872
1873 PR python/17355
1874 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
1875 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
1876 * gdb.python/py-framefilter-invalidarg.exp: New file.
1877 * gdb.python/py-framefilter-invalidarg.py: New file.
1878
faa42425
DE
18792014-09-06 Doug Evans <xdje42@gmail.com>
1880
1881 PR 15276
1882 * gdb.python/py-caller-is.c: New file.
1883 * gdb.python/py-caller-is.exp: New file.
1884
474ca4f6
SDJ
18852014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
1886
1887 PR gdb/17235
1888 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
1889 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
1890
eb0b0463
SDJ
18912014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
1892
1893 PR fortran/17237
1894 * gdb.fortran/print-formatted.exp: New file.
1895 * gdb.fortran/print-formatted.f90: Likewise.
1896
5f3b99cf
SS
18972014-09-03 Sasha Smundak <asmundak@google.com>
1898
1899 * gdb.python/py-frame.exp: Test Frame.read_register.
1900
7d793aa9
SDJ
19012014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
1902
1903 PR python/16699
1904 * gdb.python/py-completion.exp: New file.
1905 * gdb.python/py-completion.py: Likewise.
1906
fb0576e9
DE
19072014-08-28 Doug Evans <dje@google.com>
1908
1909 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
1910 eax,etc. are live with values set by gdb and thus the compiler can't
1911 use them.
1912 * gdb.arch/i386-pseudo.c (main): Ditto.
1913
ee92b0dd
DE
19142014-08-27 Doug Evans <dje@google.com>
1915
1916 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
1917
6649db35
DE
19182014-08-25 Doug Evans <dje@google.com>
1919
1920 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
1921 (main): Ditto.
1922
564b7600
DE
19232014-08-25 Doug Evans <dje@google.com>
1924
1925 * gdb.threads/thread-execl.exp: #include <stdio.h>.
1926
3881fb67
YQ
19272014-08-24 Yao Qi <yao@codesourcery.com>
1928
1929 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
1930 symbol off.
1931 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
1932
a05a36a5
DE
19332014-08-22 Doug Evans <dje@google.com>
1934
1935 PR 17276
1936 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
1937 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
1938 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
1939
7c343b48
YQ
19402014-08-22 Yao Qi <yao@codesourcery.com>
1941
1942 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
1943 * gdb.python/py-finish-breakpoint2.exp: Likewise.
1944 * gdb.python/python.exp: Likewise. Use .py file on the host
1945 instead of the build.
1946
22fd09ae
JK
19472014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1948
1949 * gdb.threads/gcore-stale-thread.c: New file.
1950 * gdb.threads/gcore-stale-thread.exp: New file.
1951
a8454a7c
PA
19522014-08-21 Pedro Alves <palves@redhat.com>
1953
1954 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
1955 * gdb.base/gcore-relro-pie.exp: Likewise.
1956 * gdb.base/gcore-relro.exp: Likewise.
1957 * gdb.base/gcore.exp: Likewise.
1958 * gdb.base/print-symbol-loading.exp: Likewise.
1959 * gdb.threads/gcore-thread.exp: Likewise.
1960 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
1961
2a31c623
PA
19622014-08-20 Pedro Alves <palves@redhat.com>
1963 Jan Kratochvil <jan.kratochvil@redhat.com>
1964
1965 * Makefile.in (EXTRA_RULES, CC): New variables, get from
1966 configure.
1967 (EXPECT): Handle READ1 being set.
1968 (all): Depend on EXTRA_RULES.
1969 (check-read1, expect-read1, read1.so, read1): New rules.
1970 * README (Testsuite Parameters): Document the READ1 make variable.
1971 (Race detection): New section.
1972 * configure: Regenerate.
1973 * configure.ac: If build==host==target, and running under a
1974 GNU/glibc system, add read1 to the extra Makefile rules.
1975 (EXTRA_RULES): AC_SUBST it.
1976 * lib/read1.c: New file.
1977
d36430db
JB
19782014-08-20 Joel Brobecker <brobecker@adacore.com>
1979
1980 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
1981 the handling of variables declared as a typedef to an array
1982 which a DW_AT_data_location attribute.
1983
9a0dc9e3
PA
19842014-08-19 Andrew Burgess <aburgess@broadcom.com>
1985 Pedro Alves <palves@redhat.com>
1986
1987 PR symtab/14604
1988 PR symtab/14605
1989 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
1990 gdb_test.
1991
0718a8da
PA
19922014-08-19 Pedro Alves <palves@redhat.com>
1993
1994 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
1995
13b448cd
YQ
19962014-08-19 Yao Qi <yao@codesourcery.com>
1997
1998 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
1999 right line.
2000
1cbf5077
DB
20012014-08-18 David Blaikie <dblaikie@gmail.com>
2002
2003 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
2004
bf0fae19
JB
20052014-08-18 Joel Brobecker <brobecker@adacore.com>
2006
2007 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
2008 attribute in array range.
2009
3c8c5dcc
JB
20102014-08-18 Joel Brobecker <brobecker@adacore.com>
2011
2012 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
2013
e66d4446
SC
20142014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2015
2016 PR c++/17132
2017 * gdb.cp/pr17132.cc: New file.
2018 * gdb.cp/pr17132.exp: New file.
2019
940df408
SC
20202014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2021
2022 * gdb.python/py-xmethods.py (A_getarrayind)
2023 (E_method_char_worker.__call__, E_method_int_worker.__call__):
2024 Use 'print' with function call syntax.
2025 (E_method_matcher.match): Fix tab vs space indentation mixup.
2026
ebcc6c3a
YQ
20272014-08-15 Yao Qi <yao@codesourcery.com>
2028
2029 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
2030 false.
2031
775e0f04
YQ
20322014-08-15 Yao Qi <yao@codesourcery.com>
2033
2034 * gdb.cp/casts.exp: Set print symbol off.
2035 * gdb.cp/class2.exp: Likewise.
2036 * gdb.cp/overload.exp: Likewise.
2037 * gdb.cp/templates.exp: Likewise.
2038
d769e349
DE
20392014-08-11 Doug Evans <dje@google.com>
2040
2041 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
2042 (test_load_shlib): Update.
2043
20c6f1e1
YQ
20442014-08-09 Yao Qi <yao@codesourcery.com>
2045
2046 * gdb.base/display.exp: Invoke is_address_zero_readable.
2047 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
2048 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2049 * gdb.base/hbreak-unmapped.exp: Return if
2050 is_address_zero_readable returns true.
2051 * gdb.base/signest.exp: Likewise.
2052 * gdb.base/signull.exp: Likewise.
2053 * gdb.base/sigbpt.exp: Likewise.
2054 * gdb.guile/scm-disasm.exp: Do the test if
2055 is_address_zero_readable returns false.
2056 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
2057 * gdb.python/py-arch.exp: Likewise.
2058 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
2059 * lib/gdb.exp (is_address_zero_readable): New proc.
2060
5792e8e3
YQ
20612014-08-09 Yao Qi <yao@codesourcery.com>
2062
2063 PR testsuite/13443
2064 * gdb.mi/mi-var-display.exp: Make test messages unique.
2065
3cecbbbe
TT
20662014-08-04 Tom Tromey <tromey@redhat.com>
2067
2068 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
2069 target 0".
2070
00b51ff5
TT
20712014-08-04 Tom Tromey <tromey@redhat.com>
2072
2073 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
2074 "target_resume".
2075
6908c509
JB
20762014-08-01 Joel Brobecker <brobecker@adacore.com>
2077
2078 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
2079 inner_vla_struct_object_size.
2080 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
2081 as xfail.
2082
cc6563d2
PA
20832014-07-30 Pedro Alves <palves@redhat.com>
2084
2085 * gdb.threads/signal-command-handle-nopass.exp (test): Add
2086 comment.
2087
7e09a223
YQ
20882014-07-29 Yao Qi <yao@codesourcery.com>
2089
2090 PR gdb/17206
2091 * gdb.base/until-nodebug.exp: New.
2092
7ebdbe92
DE
20932014-07-28 Doug Evans <xdje42@gmail.com>
2094
2095 PR guile/17203
2096 * gdb.guile/scm-parameter.exp: Add tests for trying to create
2097 previously existing parameter, and previously ambiguously spelled
2098 parameter.
2099
fdb1adc6
WN
21002014-07-28 Will Newton <will.newton@linaro.org>
2101
2102 * gdb.base/varargs.exp: Remove KFAILs for ARM.
2103
186fcde0
DE
21042014-07-26 Ludovic Courtès <ludo@gnu.org>
2105 Doug Evans <xdje42@gmail.com>
2106
2107 PR guile/17146
2108 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
2109
70509625
PA
21102014-07-25 Pedro Alves <palves@redhat.com>
2111
2112 * gdb.threads/signal-command-handle-nopass.c: New file.
2113 * gdb.threads/signal-command-handle-nopass.exp: New file.
2114 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
2115 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
2116 * gdb.threads/signal-delivered-right-thread.c: New file.
2117 * gdb.threads/signal-delivered-right-thread.exp: New file.
2118
c3f814a1
PA
21192014-07-25 Pedro Alves <palves@redhat.com>
2120
2121 * gdb.base/double-prompt-target-event-error.exp
2122 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
2123 match.
2124 (cancel_pagination_in_target_event): Rework double prompt
2125 detection.
2126 * gdb.base/paginate-after-ctrl-c-running.exp
2127 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
2128 <return>' match.
2129 * gdb.base/paginate-bg-execution.exp
2130 (test_bg_execution_pagination_return)
2131 (test_bg_execution_pagination_cancel): Remove '-notransfer
2132 <return>' matches.
2133 * gdb.base/paginate-execution-startup.exp
2134 (test_fg_execution_pagination_return)
2135 (test_fg_execution_pagination_cancel): Remove '-notransfer
2136 <return>' matches.
2137 * gdb.base/paginate-inferior-exit.exp
2138 (test_paginate_inferior_exited): Remove '-notransfer <return>'
2139 match.
2140 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
2141 * lib/gdb.exp (pagination_prompt): Run text through
2142 string_to_regexp.
2143 (gdb_test_multiple): Match $pagination_prompt instead of
2144 "<return>".
2145 (string_to_regexp): Move to lib/gdb-utils.exp.
2146
e214cf6c
JK
21472014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2148
2149 * gdb.arch/amd64-entry-value-paramref.S: New file.
2150 * gdb.arch/amd64-entry-value-paramref.cc: New file.
2151 * gdb.arch/amd64-entry-value-paramref.exp: New file.
2152 * gdb.arch/amd64-optimout-repeat.S: New file.
2153 * gdb.arch/amd64-optimout-repeat.c: New file.
2154 * gdb.arch/amd64-optimout-repeat.exp: New file.
2155
17d0c5c8
JK
21562014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2157
2158 PR gdb/17170
2159 * gdb.base/statistics.exp: New file.
2160
b8b8facf
DE
21612014-07-17 Doug Evans <dje@google.com>
2162
74b49205 2163 PR gdb/17170
b8b8facf
DE
2164 * gdb.base/maint.exp: Update testing of per-command stats.
2165
1b5d0ab3
PA
21662014-07-16 Pedro Alves <palves@redhat.com>
2167
2168 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
2169 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
2170 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
2171 (tfile_write_buf): New functions.
2172 (add_memory_block): Rewrite using the above.
2173 (adjust_function_address): New function.
2174 (FUNCTION_ADDRESS): New macro.
2175 (write_basic_trace_file): Remove short_x local, and use
2176 tfile_write_16. Change type of func_addr local to unsigned long
2177 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
2178 here. Cast argument of add_memory_block to char pointer.
2179 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
2180 (main): Remove parameters.
2181 * gdb.trace/tfile.exp: Remove nowarnings.
2182
4d974e88
SM
21832014-07-15 Simon Marchi <simon.marchi@ericsson.com>
2184
2185 * gdb.base/debug-expr.exp: Test string evaluation with
2186 "debug expression" on.
2187
41e99568
PA
21882014-07-15 Pedro Alves <palves@redhat.com>
2189
2190 * gdb.base/reread.exp: Use clean_restart.
2191
487d9753
PL
21922014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
2193
2194 * gdb.arch/avr-flash-qualifer.c: New.
2195 * gdb.arch/avr-flash-qualifer.exp: New.
2196
cc1c52ad
PA
21972014-07-14 Pedro Alves <palves@redhat.com>
2198
2199 * gdb.base/paginate-after-ctrl-c-running.c: New file.
2200 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
2201
1e973570
PA
22022014-07-14 Pedro Alves <palves@redhat.com>
2203
2204 * gdb.base/double-prompt-target-event-error.c: New file.
2205 * gdb.base/double-prompt-target-event-error.exp: New file.
2206
93d6eb10
PA
22072014-07-14 Pedro Alves <palves@redhat.com>
2208
2209 PR gdb/17072
2210 * gdb.base/paginate-inferior-exit.c: New file.
2211 * gdb.base/paginate-inferior-exit.exp: New file.
2212
0017922d
PA
22132014-07-14 Pedro Alves <palves@redhat.com>
2214
2215 PR gdb/17072
2216 * gdb.base/paginate-bg-execution.c: New file.
2217 * gdb.base/paginate-bg-execution.exp: New file.
2218
94696ad3
PA
22192014-07-14 Pedro Alves <palves@redhat.com>
2220
2221 PR gdb/17072
2222 * gdb.base/paginate-execution-startup.c: New file.
2223 * gdb.base/paginate-execution-startup.exp: New file.
2224 * lib/gdb.exp (pagination_prompt): New global.
2225 (default_gdb_spawn): New procedure, factored out from
2226 default_gdb_spawn.
2227 (default_gdb_start): Adjust to call default_gdb_spawn.
2228 (gdb_spawn): New procedure.
2229
bd293940
PA
22302014-07-14 Pedro Alves <palves@redhat.com>
2231
2232 * lib/gdb.exp (gdb_assert): New procedure.
2233 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
2234
c933f875
PA
22352014-07-14 Pedro Alves <palves@redhat.com>
2236
2237 * gdb.base/execution-termios.c: New file.
2238 * gdb.base/execution-termios.exp: New file.
2239
d98b7a16
TT
22402014-07-14 Tom Tromey <tromey@redhat.com>
2241
2242 * gdb.cp/vla-cxx.cc: New file.
2243 * gdb.cp/vla-cxx.exp: New file.
2244
548740d6
TT
22452014-07-14 Tom Tromey <tromey@redhat.com>
2246
2247 * gdb.reverse/rerun-prec.c: New file.
2248 * gdb.reverse/rerun-prec.exp: New file.
2249
a25eb028
MR
22502014-07-12 Maciej W. Rozycki <macro@mips.com>
2251 Maciej W. Rozycki <macro@codesourcery.com>
2252
2253 * lib/gdb-utils.exp: New file.
2254 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
2255 inline `gdb_init_command' processing.
2256 (gdb_start_cmd): Likewise.
2257 * lib/mi-support.exp (mi_run_cmd): Likewise.
2258 * README: Document `gdb_init_command' and `gdb_init_commands'.
2259
218c2655
JK
22602014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2261
2262 Fix false FAIL running under a very long directory name.
2263 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
2264 and "set print elements 10000". Twice.
2265
5401fde3
YQ
22662014-07-11 Yao Qi <yao@codesourcery.com>
2267
2268 * gdb.base/exprs.exp: "set print symbol off".
2269
e76126e8
PA
22702014-07-11 Pedro Alves <palves@redhat.com>
2271
2272 * gdb.threads/kill.c: New file.
2273 * gdb.threads/kill.exp: New file.
2274
2d6f0de6
YQ
22752014-07-10 Yao Qi <yao@codesourcery.com>
2276
2277 * gdb.trace/tfile.c (write_basic_trace_file)
2278 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
2279 address written to trace file.
2280
7180e04a
PA
22812014-07-09 Pedro Alves <palves@redhat.com>
2282
2283 * gdb.base/attach-wait-input.exp: New file.
2284 * gdb.base/attach-wait-input.c: New file.
2285
9a9a7608
AB
22862014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2287
2288 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
2289 setting up test structures.
2290 (main): Call new test function.
2291 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
2292 test function, continue into test function and walk test
2293 structures.
2294
161ac41e
YQ
22952014-07-02 Yao Qi <yao@codesourcery.com>
2296
2297 * gdb.trace/entry-values.c: Define labels 'foo_start' and
2298 'bar_start' at the beginning of functions 'foo' and 'bar'
2299 respectively.
2300 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
2301 instead of 'foo' and 'bar'.
2302
1f267ae3
MM
23032014-07-08 Markus Metzger <markus.t.metzger@intel.com>
2304
2305 * gdb.btrace/segv.exp: New.
2306 * gdb.btrace/segv.c: New.
2307
2b239efb
LM
23082014-07-02 Luis Machado <lgustavo@codesourcery.com>
2309
2310 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
2311 instruction.
2312
cf363f18
MW
23132014-06-30 Mark Wielaard <mjw@redhat.com>
2314
2315 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
2316 vulture, vilify, villar): New volatile array constants.
2317 (vindictive, vegetation): New const volatile array constants.
2318 * gdb.base/volatile.exp: Test volatile and const volatile array
2319 types.
2320
aebf9d24
AA
23212014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2322
2323 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
2324 target lacks support for awatch, rwatch, or hbreak.
2325
b67a2c6f
YQ
23262014-06-27 Yao Qi <yao@codesourcery.com>
2327
2328 * gdb.multi/dummy-frame-restore.exp: New.
2329 * gdb.multi/dummy-frame-restore.c: New.
2330
aef92902
MM
23312014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2332
2333 * gdb.btrace/gcore.exp: New.
2334
8e9db26e
PA
23352014-06-23 Pedro Alves <palves@redhat.com>
2336
2337 * gdb.base/watchpoint-reuse-slot.c: New file.
2338 * gdb.base/watchpoint-reuse-slot.exp: New file.
2339
70afc5b7
SC
23402014-06-23 Siva Chandra Reddy <sivachandra@google.com>
2341
2342 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
2343 progspace's filename in 'info', 'enable' and 'disable' command
2344 tests.
2345
b972bd9c
JK
23462014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2347
2348 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
2349 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2350 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
2351
125f8a3d
GB
23522014-06-20 Gary Benson <gbenson@redhat.com>
2353
2354 * gdb.arch/i386-avx.exp: Fix include file location.
2355 * gdb.arch/i386-sse.exp: Likewise.
2356
3ed9baed
IB
23572014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
2358
2359 * gdb.dlang/expression.exp: New file.
2360
034f788c
PA
23612014-06-19 Pedro Alves <palves@redhat.com>
2362
2363 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
2364 out from ...
2365 (top level): ... here. Iterate running tests under different
2366 scheduler-locking settings.
2367
45371d0c
LM
23682014-06-18 Luis Machado <lgustavo@codesourcery.com>
2369
2370 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
2371 to DW_FORM_addr and use non-zero addresses.
2372
5d376983
SC
23732014-06-18 Siva Chandra Reddy <sivachandra@google.com>
2374
2375 PR gdb/17017
2376 * gdb.python/py-xmethods.cc: Add global function call counters and
2377 increment them in their respective functions. Remove "cout"
2378 statements.
2379 * gdb.python/py-xmethods.exp: Make tests check the global function
2380 call counters instead of depending on inferior IO.
2381
a1aa2221
LM
23822014-06-18 Don Breazeal <donb@codesourcery.com>
2383
2384 * gdb.base/foll-fork.exp (default_fork_parent_follow):
2385 Deleted procedure.
2386 (explicit_fork_parent_follow): Deleted procedure.
2387 (explicit_fork_child_follow): Deleted procedure.
2388 (test_follow_fork): New procedure.
2389 (do_fork_tests): Replace calls to deleted procedures with
2390 calls to test_follow_fork and reset GDB for subsequent
2391 procedure calls.
2392
0fc05997
YQ
23932014-06-17 Yao Qi <yao@codesourcery.com>
2394
2395 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
2396 CP1252.
2397
70795c52
LM
23982014-06-17 Luis Machado <lgustavo@codesourcery.com>
2399
2400 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
2401 Initialize ptr and S explicitly.
2402 (skip_type_update_when_not_use_rtti_test): Likewise.
2403
6be47f0c
KS
24042014-06-16 Keith Seitz <keiths@redhat.com>
2405
2406 PR mi/15863
2407 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
2408 the inferior is started.
2409
d03de421
PA
24102014-06-16 Pedro Alves <palves@redhat.com>
2411
2412 * gdb.base/break-main-file-remove-fail.c: New file.
2413 * gdb.base/break-main-file-remove-fail.exp: New file.
2414 * gdb.base/break-unload-file.exp: Use build_executable instead of
2415 prepare_for_testing.
2416 (test_break): New parameter "initial_load". Handle it.
2417 (top level): Add initial_load cmdline/file axis.
2418
f9579b99
TT
24192014-06-12 Tom Tromey <tromey@redhat.com>
2420
2421 * gdb.base/completion.exp: Don't use directory name in test.
2422
3657956b
GB
24232014-06-09 Gary Benson <gbenson@redhat.com>
2424
2425 * gdb.base/sigall.c [Functions to send signals]: Reorder to
2426 separate the always-available ANSI-standard signals from the
2427 signals that require checking.
2428 (main): Likewise.
2429 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
2430 Likewise.
2431 (main): Likewise.
2432
4186eb54
KS
24332014-06-07 Keith Seitz <keiths@redhat.com>
2434
2435 Revert:
2436 PR c++/16253
2437 * gdb.cp/var-tag.cc: New file.
2438 * gdb.cp/var-tag.exp: New file.
2439 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2440 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2441 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2442 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2443
25326a28 24442014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
2445
2446 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
2447
829155c9
PA
24482014-06-06 Pedro Alves <palves@redhat.com>
2449
2450 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
2451 in target debug output instead of looking at RSP packets,
2452 disabling the test on any target that uses hardware stepping.
2453 Update comments.
2454
61c8d22e
PA
24552014-06-06 Pedro Alves <palves@redhat.com>
2456
2457 * gdb.base/break-unload-file.exp: Fix typo.
2458
d9a47287
YQ
24592014-06-06 Yao Qi <yao@codesourcery.com>
2460
2461 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
2462 from "jit_function" to "^jit_function".
2463
e5e01dbf
YQ
24642014-06-06 Yao Qi <yao@codesourcery.com>
2465
2466 * gdb.base/async.c (foo): Add one statement.
2467 * gdb.base/async.exp: Get the next instruction address and
2468 match the output of "nexti" by instruction address. Match
2469 the hex address in the output of "finish".
2470
73ba372c
GB
24712014-06-06 Gary Benson <gbenson@redhat.com>
2472
2473 * gdb.base/call-signals.c: Remove preprocessor conditionals
2474 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
2475 SIGSEGV and SIGTERM.
2476 * gdb.base/sigall.c: Likewise.
2477 * gdb.base/unwindonsignal.c: Likewise.
2478 * gdb.reverse/sigall-reverse.c: Likewise.
2479
831517df
YQ
24802014-06-06 Yao Qi <yao@codesourcery.com>
2481
2482 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
2483 readable, skip the test.
2484
b8b91e98
YQ
24852014-06-06 Yao Qi <yao@codesourcery.com>
2486
2487 * gdb.threads/staticthreads.c (thread_function): Move the line
2488 setting breakpoint on forward.
2489 * gdb.threads/staticthreads.exp: Update comments.
2490
fb934770
LC
24912014-06-05 Ludovic Courtès <ludo@gnu.org>
2492
2493 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
2494 "history-append! type error".
2495
6ef284bd
SM
24962014-06-05 Simon Marchi <simon.marchi@ericsson.com>
2497
2498 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
2499 erroneous dprintf expected input.
2500
a872e241
DE
25012014-06-04 Doug Evans <xdje42@gmail.com>
2502
2503 * gdb.guile/scm-generics.exp: Delete.
2504
16f691fb
DE
25052014-06-04 Doug Evans <xdje42@gmail.com>
2506
2507 * gdb.guile/scm-breakpoint.exp: Update.
2508 Add tests for breakpoint registration.
2509
012370f6
TT
25102014-06-04 Tom Tromey <tromey@redhat.com>
2511
2512 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
2513 VLA-in-union.
2514 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
2515 inner_vla_struct, vla_union types. Initialize objects of those
2516 types and compute their sizes.
2517
9f5a4cef
HZ
25182014-06-04 Nathan Sidwell <nathan@codesourcery.com>
2519 Hui Zhu <hui@codesourcery.com>
2520
2521 * gdb.base/fileio.exp: Add test for shell not available as well as
2522 available.
2523 * gdb.base/fileio.c (test_system): Check for shell twice.
2524
90a45c4d
YQ
25252014-06-04 Yao Qi <yao@codesourcery.com>
2526
2527 * gdb.base/auto-connect-native-target.exp: Remove redundant
2528 space from the regexp pattern.
2529
70017e41
YQ
25302014-06-04 Yao Qi <yao@codesourcery.com>
2531
2532 * gdb.base/default.exp: Replace "child" with "native" in
2533 regexp pattern.
2534
883964a7
SC
25352014-06-03 Siva Chandra Reddy <sivachandra@google.com>
2536
2537 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
2538 * gdb.python/py-xmethods.exp: New tests to test xmethods.
2539 * gdb.python/py-xmethods.py: Python script supporting the
2540 new testcase and tests.
2541
ef370185
JB
25422014-06-03 Joel Brobecker <brobecker@adacore.com>
2543 Pedro Alves <palves@redhat.com>
2544
2545 PR breakpoints/17000
2546 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
2547 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
2548
1e2ccb61
BM
25492014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
2550
2551 * gdb.base/subst.exp: Add tests to verify partial path matching
2552 output.
2553
c6ec5ab2
PA
25542014-06-03 Pedro Alves <palves@redhat.com>
2555
2556 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
2557 target that doesn't use software single-stepping.
2558
835c559f
PA
25592014-06-03 Pedro Alves <palves@redhat.com>
2560
2561 PR breakpoints/17000
2562 * gdb.base/sss-bp-on-user-bp-2.c: New file.
2563 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
2564
06eb1586
DE
25652014-06-02 Doug Evans <xdje42@gmail.com>
2566
2567 * gdb.guile/scm-parameter.exp: New file.
2568
e698b8c4
DE
25692014-06-02 Doug Evans <xdje42@gmail.com>
2570
2571 * gdb.guile/scm-cmd.c: New file.
2572 * gdb.guile/scm-cmd.exp: New file.
2573
ded03782
DE
25742014-06-02 Doug Evans <xdje42@gmail.com>
2575
2576 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
2577 pretty-printer lookup.
2578 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
2579 (make-pp_s-printer): Call it.
2580 (make-pretty-printer-from-dict): New function.
2581 (lookup-pretty-printer-maker-from-dict): New function.
2582 (*pretty-printer*): Simplify.
2583 (make-objfile-pp_s-printer): New function.
2584 (install-objfile-pretty-printers!): New function.
2585 (make-progspace-pp_s-printer): New function.
2586 (install-progspace-pretty-printers!): New function.
2587 * gdb.guile/scm-progspace.c: New file.
2588 * gdb.guile/scm-progspace.exp: New file.
2589
41fac0cf
PA
25902014-06-02 Pedro Alves <palves@redhat.com>
2591
2592 * gdb.base/dprintf-bp-same-addr.c: New file.
2593 * gdb.base/dprintf-bp-same-addr.exp: New file.
2594
96ae5695
EBM
25952014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2596
2597 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
2598 * gdb.arch/powerpc-power.s: Likewise.
2599
da02b3a8
JB
26002014-06-02 Joel Brobecker <brobecker@adacore.com>
2601
2602 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
2603
c72b2e7b
YQ
26042014-06-01 Yao Qi <yao@codesourcery.com>
2605
2606 * gdb.base/watchpoint.exp (test_watch_location): Check null
2607 pointer can be dereferenced. If not, do the test, otherwise
2608 skip it.
2609
53e8a631
AB
26102014-05-30 Andrew Burgess <aburgess@broadcom.com>
2611
2612 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
2613 results.
2614 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
2615
938f0e2f
AB
26162014-05-30 Andrew Burgess <aburgess@broadcom.com>
2617
2618 * gdb.arch/amd64-invalid-stack-middle.S: New file.
2619 * gdb.arch/amd64-invalid-stack-middle.c: New file.
2620 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
2621 * gdb.arch/amd64-invalid-stack-top.c: New file.
2622 * gdb.arch/amd64-invalid-stack-top.exp: New file.
2623
9ba6657a
PA
26242014-05-30 Pedro Alves <palves@redhat.com>
2625
2626 PR breakpoints/17000
2627 * gdb.base/sss-bp-on-user-bp.c: New file.
2628 * gdb.base/sss-bp-on-user-bp.exp: New file.
2629
522c09bf
DB
26302014-05-30 David Blaikie <dblaikie@gmail.com>
2631
2632 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
2633 gnu_inline semantics via attribute.
2634 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
2635 source explicitly specifies the required semantics.
2636
bf4ef81e
MR
26372014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
2638
2639 * gdb.reverse/sigall-reverse.exp: Fix a typo.
2640
329ea579
PA
26412014-05-29 Pedro Alves <palves@redhat.com>
2642 Tom Tromey <tromey@redhat.com>
2643
2644 * gdb.base/async-shell.exp: Don't enable target-async.
2645 * gdb.base/async.exp
2646 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
2647 parameter. Adjust.
2648 (top level): Don't test with "target-async".
2649 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
2650 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
2651 * gdb.base/inferior-died.exp: Don't enable target-async.
2652 * gdb.base/interrupt-noterm.exp: Likewise.
2653 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
2654 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2655 * gdb.mi/mi-nonstop.exp: Likewise.
2656 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2657 * gdb.mi/mi-nsintrall.exp: Likewise.
2658 * gdb.mi/mi-nsmoribund.exp: Likewise.
2659 * gdb.mi/mi-nsthrexec.exp: Likewise.
2660 * gdb.mi/mi-watch-nonstop.exp: Likewise.
2661 * gdb.multi/watchpoint-multi.exp: Adjust comment.
2662 * gdb.python/py-evsignal.exp: Don't enable target-async.
2663 * gdb.python/py-evthreads.exp: Likewise.
2664 * gdb.python/py-prompt.exp: Likewise.
2665 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
2666 * gdb.server/solib-list.exp: Don't enable target-async.
2667 * gdb.threads/thread-specific-bp.exp: Likewise.
2668 * lib/mi-support.exp: Adjust to use mi-async.
2669
fd664c91
PA
26702014-05-29 Pedro Alves <palves@redhat.com>
2671
2672 PR gdb/13860
2673 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
2674 reason, even in sync mode.
2675
251bde03
PA
26762014-05-29 Pedro Alves <palves@redhat.com>
2677 Hui Zhu <hui@codesourcery.com>
2678
2679 PR PR15693
2680 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
2681 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
2682 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
2683 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
2684
7f3c0343
JB
26852014-05-28 Joel Brobecker <brobecker@adacore.com>
2686
2687 * config/monitor.exp (gdb_target_monitor): Replace use of
2688 "set remotebaud" by "set serial baud".
2689
b2715b27
AW
26902014-05-26 Andy Wingo <wingo@igalia.com>
2691
2692 * gdb.guile/scm-breakpoint.exp:
2693 * gdb.guile/scm-gsmob.exp: Update to use plain old object
2694 properties instead of gdb-object-properties.
2695
498a4489
YQ
26962014-05-26 Yao Qi <yao@codesourcery.com>
2697
2698 * gdb.server/no-thread-db.exp: Specify source file name
2699 explicitly when setting a breakpoint.
2700
589fdceb
MM
27012014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2702
2703 * gdb.btrace/vdso.c: New.
2704 * gdb.btrace/vdso.exp: New.
2705
e9089e05
MM
27062014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2707
2708 * gdb.base/gcore.exp (capture_command_output): Move ...
2709 * lib/gdb.exp (capture_command_output): ... here.
2710
67b5c0c1
MM
27112014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2712
2713 * gdb.btrace/data.exp: Test memory access during btrace replay.
2714
a2199296
SM
27152014-05-22 Simon Marchi <simon.marchi@ericsson.com>
2716
2717 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
2718
17b2616c
PA
27192014-05-21 Pedro Alves <palves@redhat.com>
2720
2721 PR gdb/13860
2722 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
2723 (top level): Test that output related to execution commands is
2724 sent to the console with CLI commands, but not with MI commands.
2725 Test that breakpoint events are always mirrored to the console.
2726 Also expect the new source line to be output after a "next" in
2727 async mode too. Make it a pass/fail test.
2728 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
2729 output.
2730 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
2731
5166082f
PA
27322014-05-21 Pedro Alves <palves@redhat.com>
2733
2734 * gdb.base/list.exp (build_pattern, test_list): New procedures.
2735 Use them to test variations of "list" after reaching a breakpoint.
2736 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
2737 Test "list" with listsize 10 after reaching a breakpoint.
2738 * gdb.python/python.exp (decode_line current location line
2739 number): Adjust expected line number.
2740
2f25d70f
SM
27412014-05-21 Simon Marchi <simon.marchi@ericsson.com>
2742
2743 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
2744 behavior for $args, pass it directly to "run".
2745
ff604a67
MR
27462014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
2747
2748 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
2749 30000 to 65536.
2750
6a3cb8e8
PA
27512014-05-21 Pedro Alves <palves@redhat.com>
2752
2753 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
2754 auto-connect-native-target off".
2755 * gdb.base/auto-connect-native-target.c: New file.
2756 * gdb.base/auto-connect-native-target.exp: New file.
2757
4ebfc96e
PA
27582014-05-21 Pedro Alves <palves@redhat.com>
2759
2760 * gdb.base/default.exp: Test "target native" instead of "target
2761 child".
2762
36d46afb
MW
27632014-05-21 Mark Wielaard <mjw@redhat.com>
2764
2765 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2766
5876f503
JK
27672014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2768
2769 Fix TLS access for -static -pthread.
2770 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
2771 <HAVE_TLS> (thread_function, main): Initialize it.
2772 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
2773 Add clean_restart.
2774 <$have_tls != "">: Check TLSVAR.
2775
0256a6ac
PA
27762014-05-21 Pedro Alves <palves@redhat.com>
2777
2778 * gdb.base/dcache-line-read-error.c: New.
2779 * gdb.base/dcache-line-read-error.exp: New.
2780
936d2992
PA
27812014-05-20 Pedro Alves <palves@redhat.com>
2782
2783 * gdb.base/compare-sections.c: New file.
2784 * gdb.base/compare-sections.exp: New file.
2785
802e8e6d
PA
27862014-05-20 Pedro Alves <palves@redhat.com>
2787
2788 * gdb.base/break-idempotent.c: New file.
2789 * gdb.base/break-idempotent.exp: New file.
2790
e59fa00f
MM
27912014-05-20 Markus Metzger <markus.t.metzger@intel.com>
2792
2793 * gdb.btrace/nohist.exp: New.
2794
8b696e31
YQ
27952014-05-20 Yao Qi <yao@codesourcery.com>
2796
2797 * lib/gdb.exp (gdb_init): Set timeout if test file is under
2798 gdb.reverse directory and gdb_reverse_timeout exists in board
2799 setting.
2800 * README: Document gdb_reverse_timeout.
2801
73c9764f
YQ
28022014-05-20 Yao Qi <yao@codesourcery.com>
2803
2804 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
2805 'test_file_name'. Treat args as a string instead of a list.
2806 (gdb_init): Rename argument 'args' by 'test_file_name'.
2807
f1f4348a
JK
28082014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2809
2810 * gdb.arch/powerpc-power.exp: New file.
2811 * gdb.arch/powerpc-power.s: New file.
2812
0dbe70ce
DE
28132014-05-16 Doug Evans <dje@google.com>
2814
2815 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
2816 * gdb.base/completion.exp: Check that all expected files exist
2817 before doing file completion.
0dbe70ce 2818
8d551b02
DE
28192014-05-16 Doug Evans <dje@google.com>
2820
2821 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
2822 Update.
2823 (do_syscall_tests_without_xml): Update.
2824
73eb7709
PA
28252014-05-16 Pedro Alves <palves@redhat.com>
2826
2827 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
2828 instead of "unknown output after running".
2829
3fae92fc
YQ
28302014-05-16 Yao Qi <yao@codesourcery.com>
2831
2832 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
2833 file1.txt from host at the end.
2834 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2835
c2b2ccc5
DE
28362014-05-15 Doug Evans <dje@google.com>
2837
2838 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
2839 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
2840 loading file. Add test for TU lookup.
2841
8c217a4b
SM
28422014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2843
2844 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
2845 calling "-exec-arguments" or "set args" before running the
2846 inferior.
2847
3deb39c6
SM
28482014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2849
2850 * lib/mi-support.exp (mi_expect_stop): Expect message for
2851 inferiors that exit with non-zero exit code.
2852
71a79f8c
YQ
28532014-05-14 Yao Qi <yao@codesourcery.com>
2854
2855 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
2856 match absolute path on remote host.
2857 (test_file_list_exec_source_files): Remove "/" from the
2858 pattern.
2859
f23fcd46
YQ
28602014-05-14 Yao Qi <yao@codesourcery.com>
2861
2862 * boards/local-remote-host-notty.exp (${board}_file): New
2863 proc.
2864
9404b58f
KM
28652014-05-07 Kyle McMartin <kyle@redhat.com>
2866
2867 Pushed by Joel Brobecker <brobecker@adacore.com>.
2868 * gdb.arch/aarch64-atomic-inst.c: New file.
2869 * gdb.arch/aarch64-atomic-inst.exp: New file.
2870
5e45f04c
YQ
28712014-05-07 Yao Qi <yao@codesourcery.com>
2872
2873 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
2874 in current context" too.
2875
c888a17d
KS
28762014-05-05 Keith Seitz <keiths@redhat.com>
2877
2878 * gdb.linespec/ls-dollar.exp: Add test for linespec
2879 file:convenience_variable.
2880
290a839c
YQ
28812014-05-05 Yao Qi <yao@codesourcery.com>
2882
2883 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
2884 traceframes into tfile and ctf trace files. Read data from
2885 trace file and test collected data.
2886 (gdb_collect_locals_test): Likewise.
2887 (gdb_unavailable_registers_test): Likewise.
2888 (gdb_unavailable_floats): Likewise.
2889 (gdb_collect_globals_test): Likewise.
2890 (top-level): Append "ctf" to trace_file_targets if GDB
2891 supports.
2892
b5262cd0
YQ
28932014-05-05 Yao Qi <yao@codesourcery.com>
2894
2895 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
2896 code to ...
2897 (gdb_collect_args_test_1): ... it. New proc.
2898 (gdb_collect_locals_test): Move some code to ...
2899 (gdb_collect_locals_test_1): ... it. New proc.
2900 (gdb_unavailable_registers_test): Move some code to ...
2901 (gdb_unavailable_registers_test_1): ... it. New proc.
2902 (gdb_unavailable_floats): Move some code to ...
2903 (gdb_unavailable_floats_1): ... it. New proc.
2904
30a1e6cc
SDJ
29052014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2906
2907 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
2908 probes to test for bitness recognition.
2909 * gdb.arch/amd64-stap-optional-prefix.exp
2910 (test_probe_value_without_reg): New procedure.
2911 Add code to test for different kinds of bitness.
2912
f33da99a
SDJ
29132014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2914
2915 PR breakpoints/16889
2916 * gdb.arch/amd64-stap-optional-prefix.S: New file.
2917 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2918
5b80f00d
PA
29192014-05-01 Pedro Alves <palves@redhat.com>
2920
2921 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
2922 gdb_file_cmd if no file is specified.
2923 * boards/native-extended-gdbserver.exp (gdb_load): Use the
2924 last_loaded_file to set the remote exec-file.
2925
f8c2a73c
PA
29262014-05-01 Pedro Alves <palves@redhat.com>
2927
2928 * boards/local-remote-host.exp: New file.
2929
be6e8ac7
PA
29302014-05-01 Pedro Alves <palves@redhat.com>
2931
2932 * boards/local-remote-host.exp: Rename to ...
2933 * boards/local-remote-host-notty.exp: ... this.
2934
cac0dc8f
JB
29352014-04-28 Joel Brobecker <brobecker@adacore.com>
2936
2937 * gdb.ada/dyn_arrayidx: New testcase.
2938
9730e6cc
YQ
29392014-04-26 Yao Qi <yao@codesourcery.com>
2940
2941 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
2942 and compute the length of function main. Save it in
2943 $main_length.
2944 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
2945 (top-level): Use gdb_compile to compile objects into
2946 executable and restart GDB. Remove invocation to
2947 prepare_for_testing.
2948
7ae1a6a6
PA
29492014-04-25 Simon Marchi <simon.marchi@ericsson.com>
2950 Pedro Alves <palves@redhat.com>
2951
2952 PR server/16255
2953 * gdb.multi/multi-attach.c: New file.
2954 * gdb.multi/multi-attach.exp: New file.
2955
4082afcc
PA
29562014-04-25 Pedro Alves <palves@redhat.com>
2957
2958 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
2959 user.
2960 (top level): Test that "set remote conditional-breakpoints-packet
2961 off" works as intended.
2962 * gdb.base/dprintf.exp: Test that "set remote
2963 breakpoint-commands-packet off" works as intended.
2964 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
2965 New function.
2966 (top level): Call it.
2967 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
2968 remote fast-tracepoints-packet off" works as intended.
2969 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
2970 * lib/gdb.exp (gdb_is_target_remote): ... here.
2971
2abc3f8d
DB
29722014-04-24 David Blaikie <dblaikie@gmail.com>
2973
2974 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
2975 ensure clang would not discard them.
2976 * gdb.base/gdbvars.c: Ditto.
2977 * gdb.base/memattr.c: Ditto.
2978 * gdb.base/whatis.c: Ditto.
2979 * gdb.python/py-prettyprint.c: Ditto.
2980 * gdb.trace/actions.c: Ditto.
2981 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
2982 ensure clang would not discard it.
2983
bfd39632
DB
29842014-04-24 David Blaikie <dblaikie@gmail.com>
2985
2986 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
2987 clang to emit the full definition of type required by the test
2988 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
2989
22842ff6
DB
29902014-04-24 David Blaikie <dblaikie@gmail.com>
2991
2992 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
2993 coax Clang into emitting the definition of the type.
2994 * gdb.cp/pr10728-x.h (y): Ditto.
2995 * gdb.cp/pr10728-y.cc (y): Ditto.
2996
c2e827ad
DB
29972014-04-24 David Blaikie <dblaikie@gmail.com>
2998
2999 * gdb.base/label.exp: XFAIL label related tests under Clang.
3000 * gdb.cp/cplabel.exp: Ditto.
3001 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
3002 under Clang those using labels.
3003
4c2d33e7
YQ
30042014-04-25 Yao Qi <yao@codesourcery.com>
3005
3006 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
3007 double_label.
3008 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
3009 partial_label and double_label.
3010
56083b99
DB
30112014-04-24 David Blaikie <dblaikie@gmail.com>
3012
3013 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
3014
25d4e99d
DB
30152014-04-24 David Blaikie <dblaikie@gmail.com>
3016
3017 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
3018 of the function to work across GCC and Clang.
3019 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
3020 pointer types (const void ** const V void **).
3021
01f9f808
MS
30222014-04-24 Michael Sturm <michael.sturm@mintel.com>
3023 Walfred Tedeschi <walfred.tedeschi@intel.com>
3024
3025 * Makefile.in (EXECUTABLES): Added i386-avx512.
3026 * gdb.arch/i386-avx512.c: New file.
3027 * gdb.arch/i386-avx512.exp: Likewise.
3028
4b48d439
KS
30292014-04-23 Keith Seitz <keiths@redhat.com>
3030
3031 * lib/mi-support.exp (mi_list_breakpoints): Delete.
3032 (mi_make_breakpoint_table): New procedure.
3033 (mi_create_breakpoint): Use mi_make_breakpoint
3034 and return the result.
3035 (mi_make_breakpoint): New procedure.
3036 (mi_build_kv_pairs): New procedure.
3037
3038 * gdb.mi/mi-break.exp: Remove unused globals,
3039 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
3040 All callers updated.
3041 * gdb.mi/mi-dprintf.exp: Use variable to track command
3042 number.
3043 Update all callers of mi_create_breakpoint and use
3044 mi_make_breakpoint_table.
3045 Remove any unused global variables.
3046 * gdb.mi/mi-nonstop.exp: Likewise.
3047 * gdb.mi/mi-nsintrall.exp: Likewise.
3048 * gdb.mi/mi-nsmoribund.exp: Likewise.
3049 * gdb.mi/mi-nsthrexec.exp: Likewise.
3050 * gdb.mi/mi-reverse.exp: Likewise.
3051 * gdb.mi/mi-simplerun.exp: Likewise.
3052 * gdb.mi/mi-stepn.exp: Likewise.
3053 * gdb.mi/mi-syn-frame.exp: Likewise.
3054 * gdb.mi/mi-until.exp: Likewise.
3055 * gdb.mi/mi-var-cp.exp: Likewise.
3056 * gdb.mi/mi-var-display.exp: Likewise.
3057 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
3058 * gdb.mi/mi2-var-child.exp: Likewise.
3059 * gdb.mi/mi-vla-c99.exp: Likewise.
3060 * lib/mi-support.exp: Likewise.
3061
3062 From Ian Lance Taylor <iant@cygnus.com>:
3063 * lib/gdb.exp (parse_args): New procedure.
3064
08351840
PA
30652014-04-23 Pedro Alves <palves@redhat.com>
3066
3067 * gdb.base/break-unload-file.c: New file.
3068 * gdb.base/break-unload-file.exp: New file.
3069 * gdb.base/sym-file-lib.c (baz): New function.
3070 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
3071 field.
3072 (load): Store the segment's mapped size.
3073 (unload): New function.
3074 (unload_shlib): New function.
3075 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
3076 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
3077 set a breakpoint at baz, and call it.
3078 * gdb.base/sym-file.exp: New tests for stale breakpoint
3079 instructions.
3080
076855f9
PA
30812014-04-23 Pedro Alves <palves@redhat.com>
3082
3083 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
3084 * gdb.base/hbreak-in-shr-unsupported.c: New file.
3085 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
3086 * gdb.base/hbreak-unmapped.c: New file.
3087 * gdb.base/hbreak-unmapped.exp: New file.
3088 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
3089 * lib/gdb.exp (gdb_is_target_remote): ... here.
3090
483805cf
PA
30912014-04-22 Pedro Alves <palves@redhat.com>
3092
3093 * gdb.base/consecutive-step-over.c: New file.
3094 * gdb.base/consecutive-step-over.exp: New file.
3095
06d97543
PA
30962014-04-22 Pedro Alves <palves@redhat.com>
3097
3098 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
3099 instead of send_gdb/gdb_expect.
3100
b4429ea2
YQ
31012014-04-22 Yao Qi <yao@codesourcery.com>
3102
3103 * lib/trace-support.exp (generate_tracefile): New procedure.
3104 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
3105 return 0.
3106 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
3107 if generate_tracefile returns 1.
3108
51d48146
PA
31092014-04-18 Tom Tromey <palves@redhat.com>
3110 Pedro alves <tromey@redhat.com>
3111
3112 PR backtrace/15558
3113 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
3114 with a backtrace limit.
3115 * gdb.python/py-frame-inline.exp: Test running to an inline
3116 function with a backtrace limit, and printing the newest frame.
3117 * gdb.python/py-frame-inline.c (main): Call f.
3118
bd1dce5f
MS
31192014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3120
3121 * gdb.java/jnpe.exp: Drop srcdir from untested path.
3122
40d1a503
MS
31232014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3124
3125 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
3126 Drop prefix from unsupported source file path.
3127
389b98f7
YQ
31282014-04-17 Yao Qi <yao@codesourcery.com>
3129
3130 * lib/gdb.exp (with_target_charset): New proc.
3131 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
3132 with_target_charset.
3133 (test_print_strings): Likewise.
3134 (test_repeat_bytes): Likewise.
3135 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
3136 for some tests.
3137
22869d73
KS
31382014-04-16 Keith Seitz <keiths@redhat.com>
3139
3140 PR gdb/15827
3141 * gdb.dwarf2/corrupt.c: New file.
3142 * gdb.dwarf2/corrupt.exp: New file.
3143
c4f87ca6
KS
31442014-04-16 Keith Seitz <keiths@redhat.com>
3145
3146 PR c++/16597
3147 * gdb.cp/namelessclass.cc: New file.
3148 * gdb.cp/namelessclass.exp: New file.
3149 * gdb.cp/namelessclass.S: New file.
3150
ab19de87
DE
31512014-04-16 Doug Evans <dje@google.com>
3152
3153 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
3154 Add comment.
3155 (gdbserver_default_get_comm_port): New function.
3156 (gdbserver_start): Check if board file provided
3157 "gdbserver,get_comm_port" and use it if so.
3158 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
3159 (gdb,socketport): Set to "stdio".
3160 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
3161 (stdio_gdbserver_template): Delete.
3162 (${board}_get_remote_address): Update.
3163 (${board}_build_remote_cmd): Delete.
3164 (${board}_get_comm_port): New function.
3165 (${board}_spawn): Update.
3166 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
3167 Delete.
3168 (${board}_get_remote_address): Update.
3169 (${board}_get_comm_port): New function.
3170
fc98a809
AB
31712014-04-16 Andrew Burgess <aburgess@broadcom.com>
3172
3173 * gdb.base/memattr.exp: Improve regexps to handle memory regions
3174 appearing in any order.
3175
87fd9e6e
DE
31762014-04-15 Doug Evans <dje@google.com>
3177
3178 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
3179 uninitialized value of "description".
3180
099fc3ea
KS
31812014-04-15 Keith Seitz <keiths@redhat.com>
3182
3183 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
3184 Remove unused globals.
3185 (test_running_the_program): Likewise.
3186 (test_controlled_execution): Likewise.
3187 (test_controlling_breakpoints): Likewise.
3188 (test_program_termination): Likewise.
3189
5da151d4
KS
31902014-04-15 Keith Seitz <keiths@redhat.com>
3191
3192 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
3193 unused globals.
3194 (test_rbreak_creation_and_listing): Likewise.
3195 (test_ignore_count): Likewise.
3196 (test_error): Likewise.
3197
35e5d2f0
PA
31982014-04-15 Pedro Alves <palves@redhat.com>
3199
3200 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
3201 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
3202 sym-file-loader.c.
3203 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3204 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3205 to sym-file-loader.c.
3206 (struct library): Forward declare.
3207 (load_shlib, lookup_function): Change prototypes.
3208 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3209 (translate_offset): Remove declarations.
3210 (get_text_addr): New declaration.
3211 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
3212 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
3213 sym-file-loader.h.
3214 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3215 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3216 here from sym-file-loader.h.
3217 (struct library): New structure.
3218 (load_shlib, lookup_function): Change prototypes and adjust to
3219 work with a struct library.
3220 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3221 (translate_offset): Make static.
3222 (get_text_addr): New function.
3223 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
3224
eb4c1710
PA
32252014-04-15 Pedro Alves <palves@redhat.com>
3226
3227 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
3228
2d1baf52
PA
32292014-04-15 Pedro Alves <palves@redhat.com>
3230
3231 * gdb.base/sym-file-loader.c: Include <limits.h>.
3232 (SELF_LINK): New define.
3233 (get_origin): New function.
3234 (load_shlib): Use it.
3235 * gdb.base/sym-file.exp: Don't early return if the target is
3236 remote. Use runto_main, and issue fail is that fails. Use
3237 gdb_load_shlibs.
3238 (shlib_name): Delete.
3239 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
3240
7dd6df01
PA
32412014-04-15 Pedro Alves <palves@redhat.com>
3242
3243 * gdb.base/sym-file.exp: Remove regex characters from test
3244 message. Don't refer to breakpoint numbers in test messages.
3245
b50c8614
KS
32462014-04-14 Keith Seitz <keiths@redhat.com>
3247
3248 PR c++/16253
3249 * gdb.cp/var-tag.cc: New file.
3250 * gdb.cp/var-tag.exp: New file.
3251 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3252 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3253 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3254 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3255
3d567982
TT
32562014-04-14 Tom Tromey <tromey@redhat.com>
3257
3258 * gdb.cp/classes.exp (test_enums): Handle underlying type.
3259 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
3260 type.
3261 * gdb.cp/enum-class.exp: New file.
3262 * gdb.cp/enum-class.cc: New file.
3263
0626fc76
TT
32642014-04-14 Tom Tromey <tromey@redhat.com>
3265
3266 * gdb.dwarf2/enum-type.exp: New file.
3267
dca325b3
SA
32682014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3269
3270 * gdb.mi/mi-vla-c99.exp: New file.
3271 * gdb.mi/vla.c: New file.
3272
5854b38a
SA
32732014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3274
3275 * gdb.base/vla-datatypes.c: New file.
3276 * gdb.base/vla-datatypes.exp: New file.
3277
463bb957
SA
32782014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3279
3280 * gdb.base/vla-ptr.c: New file.
3281 * gdb.base/vla-ptr.exp: New file.
3282
3dd170be
SA
32832014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3284
3285 * gdb.dwarf2/count.exp: New file.
3286
5ecaaa66
SA
32872014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3288
3289 * gdb.base/vla-sideeffect.c: New file.
3290 * gdb.base/vla-sideeffect.exp: New file.
3291
41f1ada5
DB
32922014-04-14 David Blaikie <dblaikie@gmail.com>
3293
3294 * gdb.mi/non-stop.c: Add return value for non-void function return
3295 statement.
3296 * gdb.threads/staticthreads.c: Ditto.
3297
0be03e84
DE
32982014-04-12 Siva Chandra Reddy <sivachandra@google.com>
3299 Doug Evans <xdje42@gmail.com>
3300
3301 * gdb.guile/scm-value.c: Improve test case.
3302 * gdb.guile/scm-value.exp: Add new test.
3303
f180a1fb
DB
33042014-04-11 David Blaikie <dblaikie@gmail.com>
3305
3306 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
3307 override Clang's default.
3308
6b662e19
JB
33092014-04-11 Joel Brobecker <brobecker@adacore.com>
3310
3311 Revert the following changes (regressions):
3312
3313 * gdb.base/vla-sideeffect.c: New file.
3314 * gdb.base/vla-sideeffect.exp: New file.
3315
3316 * gdb.dwarf2/count.exp: New file.
3317
3318 * gdb.base/vla-multi.c: New file.
3319 * gdb.base/vla-multi.exp: New file.
3320
3321 * gdb.base/vla-ptr.c: New file.
3322 * gdb.base/vla-ptr.exp: New file.
3323
3324 * gdb.base/vla-datatypes.c: New file.
3325 * gdb.base/vla-datatypes.exp: New file.
3326
3327 * gdb.mi/mi-vla-c99.exp: New file.
3328 * gdb.mi/vla.c: New file.
3329
245a5f0b
KS
33302014-04-11 Keith Seitz <keiths@redhat.com>
3331
3332 PR c++/16675
3333 * gdb.cp/cpsizeof.exp: New file.
3334 * gdb.cp/cpsizeof.cc: New file.
3335
58a84dcf
SA
33362014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3337
191a8a90
JB
3338 * gdb.mi/mi-vla-c99.exp: New file.
3339 * gdb.mi/vla.c: New file.
58a84dcf 3340
c8655f75
SA
33412014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3342
3343 * gdb.base/vla-datatypes.c: New file.
3344 * gdb.base/vla-datatypes.exp: New file.
3345
024e13b4
SA
33462014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3347
3348 * gdb.base/vla-ptr.c: New file.
3349 * gdb.base/vla-ptr.exp: New file.
3350
1a237e0e
SA
33512014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3352
3353 * gdb.base/vla-multi.c: New file.
3354 * gdb.base/vla-multi.exp: New file.
3355
504f3432
SA
33562014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3357
3358 * gdb.dwarf2/count.exp: New file.
3359
3bce8237
SA
33602014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3361
191a8a90
JB
3362 * gdb.base/vla-sideeffect.c: New file.
3363 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 3364
322f9c21
YQ
33652014-04-11 Yao Qi <yao@codesourcery.com>
3366
3367 * gdb.base/completion.exp: Check file exists before running tests
3368 on file completion.
3369
d708bcd1
PA
33702014-04-10 Pedro Alves <palves@redhat.com>
3371
3372 * gdb.base/cond-eval-mode.c: New file.
3373 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
3374 prepare_for_testing to build the new file. Check result of
3375 runto_main.
3376 (test_break, test_watch): New procedures.
3377 (top level): Use them.
3378
ae1d2761
PM
33792014-04-08 Pierre Muller <muller@sourceware.org>
3380
3381 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
3382 Ctrl-V use for mingw hosts.
3383
7af389b8
SC
33842014-04-07 Siva Chandra Reddy <sivachandra@google.com>
3385
3386 * gdb.python/py-value.c: Improve test case.
3387 * gdb.python/py-value.exp: Add new test.
3388
5e703181
DE
33892014-04-07 David Blaikie <dblaikie@gmail.com>
3390
3391 * lib/compiler.c: Identify the clang compiler.
3392 * lib/compiler.cc: Ditto.
3393
9810b410
YQ
33942014-04-03 Yao Qi <yao@codesourcery.com>
3395
3396 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
3397
98d1b8dc
AB
33982014-04-01 Anton Blanchard <anton@samba.org>
3399
3400 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
3401 messages unique.
3402
3114cea1
AB
34032014-04-01 Anton Blanchard <anton@samba.org>
3404
3405 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
3406 prepare_for_testing.
3407
62f7182c
AB
34082014-04-01 Anton Blanchard <anton@samba.org>
3409
3410 * gdb.arch/ppc64-atomic-inst.c: Remove.
3411 * gdb.arch/ppc64-atomic-inst.S: New file.
3412 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
3413
770e7fc7
DE
34142014-03-31 Doug Evans <dje@google.com>
3415
3416 * gdb.base/print-symbol-loading-lib.c: New file.
3417 * gdb.base/print-symbol-loading-main.c: New file.
3418 * gdb.base/print-symbol-loading.exp: New file.
3419
46e2bafa
YQ
34202014-03-31 Yao Qi <yao@codesourcery.com>
3421
3422 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
3423
8776cfe9
JB
34242014-03-28 Joel Brobecker <brobecker@adacore.com>
3425
3426 * gdb.ada/mi_dyn_arr: New testcase.
3427
5d1ef361
DE
34282014-03-27 Doug Evans <dje@google.com>
3429
3430 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
3431
b5bee914
YQ
34322014-03-27 Yao Qi <yao@codesourcery.com>
3433
3434 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
3435 if target is nios2-*-*.
3436
0d4d0e77
YQ
34372014-03-26 Yao Qi <yao@codesourcery.com>
3438
3439 * lib/gdb.exp (readline_is_used): New proc.
3440 * gdb.base/completion.exp: Move tests on command complete up.
3441 Skip the rest of tests if readline is not used.
3442 * gdb.ada/complete.exp: Skp the test if readline is not
3443 used.
3444 * gdb.base/filesym.exp: Likewise.
3445 * gdb.base/macscp.exp: Likewise.
3446 * gdb.base/readline-ask.exp: Likewise.
3447 * gdb.base/readline.exp: Likewise.
3448 * gdb.python/py-cmd.exp: Likewise.
3449 * gdb.trace/tfile.exp: Likewise.
3450
29361eee
YQ
34512014-03-26 Yao Qi <yao@codesourcery.com>
3452
3453 * gdb.base/macscp.exp: Fix code format issues.
3454
bc9a5525
UW
34552014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
3456
3457 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
3458 * gdb.asm/powerpc64le.inc: New file.
3459
d3839ede
PA
34602014-03-25 Pedro Alves <palves@redhat.com>
3461 Doug Evans <dje@google.com>
3462
3463 * gdb.base/source-execution.c: New file.
3464 * gdb.base/source-execution.exp: New file.
3465 * gdb.base/source-execution.gdb: New file.
3466
01672a57
DE
34672014-03-24 Doug Evans <dje@google.com>
3468
3469 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
3470 using fission.
3471
88bbeca9
HZ
34722014-03-24 Hui Zhu <hui@codesourcery.com>
3473 Pedro Alves <palves@redhat.com>
3474
3475 PR breakpoints/16101
3476 * gdb.base/dprintf.exp: Use unsupported rather than changing the
3477 test pass/fail messages. Detect missing support for dprintf when
3478 breakpoints are actually inserted.
3479 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
3480 breakpoints are actually inserted.
3481 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
3482 fails.
3483
d2348791
JK
34842014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3485
3486 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
3487
feef67ab
DE
34882014-03-22 Doug Evans <xdje42@gmail.com>
3489
3490 * gdb.python/python.exp (python not supported): Verify multi-line
3491 python command issues an error.
25d743f9 3492 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 3493 guile command issues an error.
feef67ab 3494
ecebef6a
MR
34952014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
3496
3497 * gdb.threads/thread-specific.exp: Handle the lack of usable
3498 $this_breakpoint and $this_thread.
3499
ccdd1909
HZ
35002014-03-21 Hui Zhu <hui@codesourcery.com>
3501
3502 * gdb.base/attach.exp (do_command_attach_tests): New.
3503
beb460e8
PA
35042014-03-20 Tom Tromey <tromey@redhat.com>
3505 Pedro Alves <palves@redhat.com>
3506
3507 PR cli/15718
3508 * gdb.base/condbreak-call-false.c: New file.
3509 * gdb.base/condbreak-call-false.exp: New file.
3510
40acf43a
PA
35112014-03-20 Pedro Alves <palves@redhat.com>
3512
3513 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
3514 Delete.
3515 (block_signals, unblock_signals): Delete.
3516 (child_function_2, main): Remove references to deleted variable
3517 and functions.
3518
9f5e1e02
PA
35192014-03-20 Pedro Alves <palves@redhat.com>
3520
3521 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
3522 Use pthread_kill to signal thread 2.
3523 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3524 Adjust to make the test send itself a signal rather than using the
3525 host's "kill" command.
3526
99619bea
PA
35272014-03-20 Pedro Alves <palves@redhat.com>
3528
3529 * gdb.threads/multiple-step-overs.c: New file.
3530 * gdb.threads/multiple-step-overs.exp: New file.
3531 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3532 Adjust expected infrun debug output.
3533
2adfaa28
PA
35342014-03-20 Pedro Alves <palves@redhat.com>
3535
3536 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
3537 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
3538
31e77af2
PA
35392014-03-20 Pedro Alves <palves@redhat.com>
3540
3541 PR breakpoints/7143
3542 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
3543 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
3544 of gdb_test_multiple.
3545 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
3546 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
3547
b9f437de
PA
35482014-03-20 Pedro Alves <palves@redhat.com>
3549
3550 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
3551 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
3552
05adc73e
PA
35532014-03-19 Pedro Alves <palves@redhat.com>
3554
3555 * gdb.base/async.exp: Remove early return.
3556
6048b950
PA
35572014-03-19 Pedro Alves <palves@redhat.com>
3558
3559 * gdb.base/async.exp (step& tests): Pass explicit test messages.
3560
8bcfb00a
PA
35612014-03-19 Pedro Alves <palves@redhat.com>
3562
3563 * gdb.base/async.exp (test_background): Expect \r\n after
3564 "completed." in the fail pattern.
3565
884e37dc
PA
35662014-03-19 Pedro Alves <palves@redhat.com>
3567
3568 * gdb.base/async.exp (test_background): New procedure.
3569 Use it for all background execution command tests.
3570
148e57e2
PA
35712014-03-19 Pedro Alves <palves@redhat.com>
3572
3573 * gdb.base/async.exp: Use prepare_for_testing.
3574
f48088c7
PA
35752014-03-19 Pedro Alves <palves@redhat.com>
3576
3577 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
3578 the same line.
3579
e2f6c966
PA
35802014-03-19 Pedro Alves <palves@redhat.com>
3581
3582 * gdb.base/async.c (main): Add "jump here" and "until here" line
3583 marker comments.
3584 * gdb.base/async.exp (jump_here): New global.
3585 (jump& test): Use it.
3586 (until_here): New global.
3587 (until& test): Use it.
3588
c30568d4
PA
35892014-03-19 Pedro Alves <palves@redhat.com>
3590
3591 * gdb.base/async.exp: Don't frob gdb_protocol.
3592
0172b6a7
DE
35932014-03-18 Doug Evans <xdje42@gmail.com>
3594
3595 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
3596 Fix spelling of exec-done-display.
3597
06c868a8
JK
35982014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3599
3600 PR gdb/15358
3601 * gdb.base/gdb-sigterm.c: New file.
3602 * gdb.base/gdb-sigterm.exp: New file.
3603
0c7e1a46
PA
36042014-03-18 Pedro Alves <palves@redhat.com>
3605
3606 PR gdb/13860
3607 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
3608 * lib/mi-support.exp (mi_expect_stop): Add special handling for
3609 solib-event.
3610
f7c77d93
JB
36112014-03-17 Joel Brobecker <brobecker@adacore.com>
3612
3613 * gdb.ada/pckd_arr_ren: New testcase.
3614
5a1e8c7a
DE
36152014-03-13 Doug Evans <xdje42@gmail.com>
3616
3617 PR guile/16612
3618 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
3619 collect after discarding symbols.
3620
350e1a76
DE
36212014-03-13 Ludovic Courtès <ludo@gnu.org>
3622 Doug Evans <xdje42@gmail.com>
3623
3624 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
3625 to history survives a gc.
3626
a69900ae
PA
36272014-03-13 Pedro Alves <palves@redhat.com>
3628
3629 * gdb.base/default.exp: Don't test "target procfs".
3630
5db9f0bd
PA
36312014-03-13 Pedro Alves <palves@redhat.com>
3632
3633 * gdb.base/default.exp: Update "target child" and "target procfs"
3634 tests to not expect "Unix".
3635
b3ccfe11
TT
36362014-03-12 Tom Tromey <tromey@redhat.com>
3637
3638 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
3639 New procs. Add target-async tests.
3640 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
3641 Add target-async tests.
3642
646f4417
AA
36432014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3644
3645 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
3646 'func_start' and 'func_end' for the beginning and end of the
3647 function code, respectively.
3648 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
3649 'func_end' instead of 'func' and 'main'.
3650
288c211f
AA
36512014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3652
3653 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
3654 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
3655 generate the debug info assembler source.
3656
e0c0f156
AA
36572014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3658
3659 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
3660 * gdb.dwarf2/arr-subrange.exp: Likewise.
3661 * gdb.dwarf2/dwz.exp: Likewise.
3662 * gdb.dwarf2/method-ptr.exp: Likewise.
3663 * gdb.dwarf2/missing-sig-type.exp: Likewise.
3664 * gdb.dwarf2/subrange.exp: Likewise.
3665 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
3666 * gdb.dwarf2/implptrpiece.exp: Likewise.
3667 * gdb.dwarf2/nostaticblock.exp: Likewise.
3668
0e5c4555
AA
36692014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3670
3671 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
3672 directory to absolute path name arguments.
3673
5ec18f2b
JG
36742014-03-10 Joel Brobecker <brobecker@adacore.com>
3675
3676 * gdb.ada/tagged_access: New testcase.
3677
847fc4f2
MM
36782014-03-07 Markus Metzger <markus.t.metzger@intel.com>
3679
3680 * gdb.btrace/data.exp: Update expected output.
3681
cc3da688
YQ
36822014-03-06 Yao Qi <yao@codesourcery.com>
3683
3684 * gdb.trace/pr16508.exp: New file.
3685
0f26cec1
PA
36862014-03-05 Pedro Alves <palves@redhat.com>
3687
3688 PR gdb/16575
3689 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
3690 procedure.
3691 (top level): Adjust to use it. Add tests that exercise breakpoint
3692 interaction with the code-cache.
3693
7a5a839f
LC
36942014-02-26 Ludovic Courtès <ludo@gnu.org>
3695
3696 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
3697 test for 'history-append!'.
3698
31aa7e4e
JB
36992014-02-26 Joel Brobecker <brobecker@adacore.com>
3700
3701 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
3702 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
3703 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
3704 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
3705 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
3706 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
3707
1b588015
JB
37082014-02-26 Joel Brobecker <brobecker@adacore.com>
3709
3710 * testsuite/gdb.python/py-pp-re-notag.c: New file.
3711 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
3712 * testsuite/gdb.python/py-pp-re-notag.p: New file.
3713
55426c9d
JB
37142014-02-26 Joel Brobecker <brobecker@adacore.com>
3715
3716 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
3717
dc53a7ad
JB
37182014-02-26 Joel Brobecker <brobecker@adacore.com>
3719
3720 * gdb.dwarf2/arr-stride.c: New file.
3721 * gdb.dwarf2/arr-stride.exp: New file.
3722
12ab52e9
PA
37232014-02-26 Pedro Alves <palves@redhat.com>
3724
3725 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
3726 that won't ever trigger. Make sure that GDB reports the correct
3727 breakpoint that caused the stop.
3728
849c862e
JK
37292014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3730
3731 PR gdb/16626
3732 * gdb.base/auto-load-script: New file.
3733 * gdb.base/auto-load.c: New file.
3734 * gdb.base/auto-load.exp: New file.
3735
71b7d793
JK
3736 PR gdb/16626
3737 * gdb.base/auto-load.exp: Fix out-of-srctree run.
3738
e2f0d509
JK
37392014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3740
3741 Fix dw2-icycle.exp -fsanitize=address GDB crash.
3742 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
3743
50cc37c8
DE
37442014-02-24 Doug Evans <dje@google.com>
3745
3746 * lib/gdb.exp (run_on_host): Log error output if program fails.
3747
ea4758f2
PA
37482014-02-21 Pedro Alves <palves@redhat.com>
3749
3750 * gdb.threads/step-after-sr-lock.c: Rename to ...
3751 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
3752 * gdb.threads/step-after-sr-lock.exp: Rename to ...
3753 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3754 ... this.
3755
d7b30f67
SDJ
37562014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
3757
3758 PR tdep/16397
3759 * gdb.arch/amd64-stap-special-operands.exp: New file.
3760 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
3761 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
3762 * gdb.arch/amd64-stap-triplet.S: Likewise.
3763 * gdb.arch/amd64-stap-triplet.c: Likewise.
3764
83deb43f
JB
37652014-02-20 Joel Brobecker <brobecker@adacore.com>
3766
3767 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
3768 in .section pseudo-op.
3769
adde2bff
DE
37702014-02-20 lin zuojian <manjian2006@gmail.com>
3771 Joel Brobecker <brobecker@adacore.com>
3772 Doug Evans <xdje42@gmail.com>
3773
3774 PR symtab/16581
3775 * gdb.dwarf2/dw2-icycle.S: New file.
3776 * gdb.dwarf2/dw2-icycle.c: New file.
3777 * gdb.dwarf2/dw2-icycle.exp: New file.
3778
f7bd0f78
SC
37792014-02-19 Siva Chandra Reddy <sivachandra@google.com>
3780
3781 * gdb.python/py-value-cc.cc: Improve test case to enable testing
3782 operations on gdb.Value objects.
3783 * gdb.python/py-value-cc.exp: Add new test to test operations on
3784 gdb.Value objects.
3785
c17ef0d5
DE
37862014-02-18 Doug Evans <dje@google.com>
3787
3788 * Makefile.in (TESTS): New variable.
3789 (expanded_tests, expanded_tests_or_none): New variables
3790 (check-single): Pass $(expanded_tests_or_none) to runtest.
3791 (check-parallel): Only run tests in $(TESTS) if non-empty.
3792 (check/no-matching-tests-found): New rule.
3793 * README: Document TESTS makefile variable.
3794
5dd3176f
DE
37952014-02-18 Doug Evans <dje@google.com>
3796
3797 * Makefile.in (check-parallel): rm -rf outputs temp.
3798
0b10be4f
JK
37992014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3800
3801 Fix "ERROR: no fileid for" in the testsuite.
3802 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
3803
85f224e7
DE
38042014-02-12 Doug Evans <dje@google.com>
3805
3806 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
3807 (MISCELLANEOUS): New variable.
3808 (clean): rm -rf $(MISCELLANEOUS).
3809 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
3810 dwp live in the same directory as symlinks, with each symlink pointed
3811 to a differently named file in a different directory.
3812
149b30ff
DE
38132014-02-11 Doug Evans <dje@google.com>
3814
3815 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
3816 of Tcl file commands.
3817
1dfdac32
MK
38182014-02-10 Mark Kettenis <kettenis@gnu.org>
3819
3820 * gdb.threads/step-after-sr-lock.exp: Avoid executing
3821 "kill -SIGUSR1 -1".
3822
aa4fb036
JB
38232014-02-10 Joel Brobecker <brobecker@adacore.com>
3824
3825 * gdb.ada/tick_length_array_enum_idx: New testcase.
3826
ed3ef339
DE
38272014-02-10 Doug Evans <xdje42@gmail.com>
3828
3829 * configure.ac (AC_OUTPUT): Add gdb.guile.
3830 * configure: Regenerate.
3831 * lib/gdb-guile.exp: New file.
3832 * lib/gdb.exp (get_target_charset): New function.
3833 * gdb.base/help.exp: Update expected output from "apropos apropos".
3834 * gdb.guile/Makefile.in: New file.
3835 * gdb.guile/guile.exp: New file.
3836 * gdb.guile/scm-arch.c: New file.
3837 * gdb.guile/scm-arch.exp: New file.
3838 * gdb.guile/scm-block.c: New file.
3839 * gdb.guile/scm-block.exp: New file.
3840 * gdb.guile/scm-breakpoint.c: New file.
3841 * gdb.guile/scm-breakpoint.exp: New file.
3842 * gdb.guile/scm-disasm.c: New file.
3843 * gdb.guile/scm-disasm.exp: New file.
3844 * gdb.guile/scm-equal.c: New file.
3845 * gdb.guile/scm-equal.exp: New file.
3846 * gdb.guile/scm-error.exp: New file.
3847 * gdb.guile/scm-error.scm: New file.
3848 * gdb.guile/scm-frame-args.c: New file.
3849 * gdb.guile/scm-frame-args.exp: New file.
3850 * gdb.guile/scm-frame-args.scm: New file.
3851 * gdb.guile/scm-frame-inline.c: New file.
3852 * gdb.guile/scm-frame-inline.exp: New file.
3853 * gdb.guile/scm-frame.c: New file.
3854 * gdb.guile/scm-frame.exp: New file.
3855 * gdb.guile/scm-generics.exp: New file.
3856 * gdb.guile/scm-gsmob.exp: New file.
3857 * gdb.guile/scm-iterator.c: New file.
3858 * gdb.guile/scm-iterator.exp: New file.
3859 * gdb.guile/scm-math.c: New file.
3860 * gdb.guile/scm-math.exp: New file.
3861 * gdb.guile/scm-objfile-script-gdb.in: New file.
3862 * gdb.guile/scm-objfile-script.c: New file.
3863 * gdb.guile/scm-objfile-script.exp: New file.
3864 * gdb.guile/scm-objfile.c: New file.
3865 * gdb.guile/scm-objfile.exp: New file.
3866 * gdb.guile/scm-ports.exp: New file.
3867 * gdb.guile/scm-pretty-print.c: New file.
3868 * gdb.guile/scm-pretty-print.exp: New file.
3869 * gdb.guile/scm-pretty-print.scm: New file.
3870 * gdb.guile/scm-section-script.c: New file.
3871 * gdb.guile/scm-section-script.exp: New file.
3872 * gdb.guile/scm-section-script.scm: New file.
3873 * gdb.guile/scm-symbol.c: New file.
3874 * gdb.guile/scm-symbol.exp: New file.
3875 * gdb.guile/scm-symtab-2.c: New file.
3876 * gdb.guile/scm-symtab.c: New file.
3877 * gdb.guile/scm-symtab.exp: New file.
3878 * gdb.guile/scm-type.c: New file.
3879 * gdb.guile/scm-type.exp: New file.
3880 * gdb.guile/scm-value-cc.cc: New file.
3881 * gdb.guile/scm-value-cc.exp: New file.
3882 * gdb.guile/scm-value.c: New file.
3883 * gdb.guile/scm-value.exp: New file.
3884 * gdb.guile/source2.scm: New file.
3885 * gdb.guile/types-module.cc: New file.
3886 * gdb.guile/types-module.exp: New file.
3887
7026a7c1
YQ
38882014-02-10 Yao Qi <yao@codesourcery.com>
3889
3890 PR testsuite/16543
3891 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
3892 * configure: Regenerated.
3893 * Makefile.in: New file.
3894
6c466447
AS
38952014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3896
3897 * gdb.python/py-framefilter.exp: Fix typo.
3898
6e854735
YQ
38992014-02-08 Yao Qi <yao@codesourcery.com>
3900
3901 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
3902 that no =breakpoint-modified is emitted when breakpoints are
3903 modified through MI commands.
3904
d137e6dc
PA
39052014-02-07 Pedro Alves <pedro@codesourcery.com>
3906 Pedro Alves <palves@redhat.com>
3907
3908 * gdb.threads/step-after-sr-lock.c: New file.
3909 * gdb.threads/step-after-sr-lock.exp: New file.
3910
b5ee5a50
PA
39112014-02-07 Pedro Alves <palves@redhat.com>
3912
3913 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
3914
3c77faf3
JK
39152014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3916
3917 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
3918 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
3919
6dddc817
DE
39202014-02-06 Doug Evans <xdje42@gmail.com>
3921
3922 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
3923 output.
3924
3925 * gdb.gdb/python-interrupts.exp: New file.
3926
de7b2893
YQ
39272014-02-05 Yao Qi <yao@codesourcery.com>
3928
3929 * gdb.trace/report.exp (use_collected_data): Test the output
3930 of "info threads" and "info inferiors".
3931
66d032ac
YQ
39322014-02-05 Yao Qi <yao@codesourcery.com>
3933
3934 Revert this patch:
3935
3936 2013-05-24 Yao Qi <yao@codesourcery.com>
3937
3938 * gdb.trace/tfile.exp: Test inferior and thread.
3939
591a12a1
UW
39402014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3941
3942 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
3943 on a function.
3944 * gdb.base/step-bt.c: Call hello via function pointer to make
3945 sure its first instruction is executed on powerpc64le-linux.
3946
0ff3e01f
UW
39472014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3948
3949 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
3950
084ee545
UW
39512014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3952
3953 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
3954 of the test patterns for use on little-endian systems.
3955
6ed14ff3
UW
39562014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3957
3958 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
3959 (decimal_vector): Fix for little-endian.
3960
401e27fd
JM
39612014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3962
3963 * gdb.arch/sparc-sysstep.exp: New file.
3964 * gdb.arch/sparc-sysstep.c: Likewise.
3965
3966 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
3967
8b924729
EBM
39682014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3969
3970 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
3971
fb151210
JB
39722014-01-23 Tom Tromey <tromey@redhat.com>
3973
3974 * gdb.ada/array_char_idx: New testcase.
3975
0740f8d8
TT
39762014-01-23 Tom Tromey <tromey@redhat.com>
3977
3978 PR python/16487:
3979 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
3980 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
3981 classes.
3982
21909fa1
TT
39832014-01-23 Tom Tromey <tromey@redhat.com>
3984
3985 PR python/16491:
3986 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
3987 string from an inferior frame.
3988 * gdb.python/py-framefilter-mi.exp: Update.
3989
87ce2a04
DE
39902014-01-22 Doug Evans <dje@google.com>
3991
3992 * gdb.server/server-mon.exp: Add tests for "set debug-format".
3993
237b092b
AA
39942014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3995
3996 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
3997
d674a709
AA
39982014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3999
4000 * gdb.trace/entry-values.exp: Remove excess space character from
4001 regex patterns. Handle s390 call instruction.
4002
20fa3390
AA
40032014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4004
4005 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
4006 define "*_start" label. Make "name" static.
4007 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
4008 ${name} by references to ${name}_start.
4009
78466714
AA
40102014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4011
4012 * gdb.base/info-macros.exp: Remove "debug" from the compile
4013 options.
4014
ec9f644a
IB
40152014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4016
4017 * gdb.dlang/demangle.exp: New file.
4018
94b1b47e
IB
40192014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4020
4021 * gdb.dlang/primitive-types.exp: New file.
4022
7f420862
IB
40232014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4024
4025 * configure.ac: Create gdb.dlang/Makefile.
4026 * configure: Regenerate.
4027 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
4028 * gdb.dlang/Makefile.in: New file.
4029 * lib/d-support.exp: New file.
4030 * lib/gdb.exp (skip_d_tests): New proc.
4031
52834460
MM
40322014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4033
4034 * gdb.btrace/delta.exp: Check reverse stepi.
4035 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
4036 * gdb.btrace/finish.exp: New.
4037 * gdb.btrace/next.exp: New.
4038 * gdb.btrace/nexti.exp: New.
4039 * gdb.btrace/record_goto.c: Add comments.
4040 * gdb.btrace/step.exp: New.
4041 * gdb.btrace/stepi.exp: New.
4042 * gdb.btrace/multi-thread-step.c: New.
4043 * gdb.btrace/multi-thread-step.exp: New.
4044 * gdb.btrace/rn-dl-bind.c: New.
4045 * gdb.btrace/rn-dl-bind.exp: New.
4046 * gdb.btrace/data.c: New.
4047 * gdb.btrace/data.exp: New.
4048 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4049
6e07b1d2
MM
40502014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4051
4052 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
4053 * gdb.btrace/exception.exp: Update.
4054 * gdb.btrace/instruction_history.exp: Update.
4055 * gdb.btrace/record_goto.exp: Update.
4056 * gdb.btrace/tailcall.exp: Update.
4057 * gdb.btrace/unknown_functions.exp: Update.
4058 * gdb.btrace/delta.exp: New.
4059
0b722aec
MM
40602014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4061
4062 * gdb.btrace/record_goto.exp: Add backtrace test.
4063 * gdb.btrace/tailcall.exp: Add backtrace test.
4064
066ce621
MM
40652014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4066
4067 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
4068 * gdb.btrace/record_goto.c: New.
4069 * gdb.btrace/record_goto.exp: New.
4070 * gdb.btrace/x86-record_goto.S: New.
4071
0688d04e
MM
40722014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4073
4074 * gdb.btrace/function_call_history.exp: Update tests.
4075 * gdb.btrace/instruction_history.exp: Update tests.
4076
8710b709
MM
40772014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4078
4079 * gdb.btrace/function_call_history.exp: Fix expected field
4080 order for "record function-call-history".
4081 Add new tests for "record function-call-history /c".
4082 * gdb.btrace/exception.cc: New.
4083 * gdb.btrace/exception.exp: New.
4084 * gdb.btrace/tailcall.exp: New.
4085 * gdb.btrace/x86-tailcall.S: New.
4086 * gdb.btrace/x86-tailcall.c: New.
4087 * gdb.btrace/unknown_functions.c: New.
4088 * gdb.btrace/unknown_functions.exp: New.
4089 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4090
5de9129b
MM
40912014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4092
4093 * gdb.btrace/instruction_history.exp: Update.
4094 * gdb.btrace/function_call_history.exp: Update.
4095
23a7fe75
MM
40962014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4097
4098 * gdb.btrace/function_call_history.exp: Fix expected function
4099 trace.
4100 * gdb.btrace/instruction_history.exp: Initialize traced.
4101 Remove traced_functions.
4102
724c7dd8
MM
41032014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4104
4105 * gdb.btrace/function_call_history.exp: Update
4106 * gdb.btrace/instruction_history.exp: Update.
4107
6d78d93b
MM
41082014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4109
4110 * gdb.btrace/enable.exp: Update expected text.
4111
93a360cc
OJ
41122014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
4113
4114 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
4115 bytes.
4116
3772b53f
MR
41172014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
4118
4119 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
4120
596662fa
OJ
41212014-01-15 Omair Javaid <omair.javaid@linaro.org>
4122
4123 * lib/gdb.exp (supports_process_record): Return true for
4124 arm*-linux*. (supports_reverse): Likewise.
4125
b5b08fb4
SC
41262014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4127
4128 PR python/15464
4129 PR python/16113
4130 * gdb.python/py-type.c: Enhance test case.
4131 * gdb.python/py-value-cc.cc: Likewise
4132 * gdb.python/py-type.exp: Add new tests.
4133 * gdb.python/py-value-cc.exp: Likewise
4134
52d7fb13
AA
41352014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
4136 Pedro Alves <palves@redhat.com>
4137
4138 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
4139 Make "name" extern.
4140 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
4141 references to ${name}_start by references to ${name}.
4142
a2cd8cfe
JB
41432014-01-10 Joel Brobecker <brobecker@adacore.com>
4144
4145 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
4146
4e23fced
JB
41472014-01-10 Joel Brobecker <brobecker@adacore.com>
4148
4149 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
4150
c6a9e42c
PA
41512014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
4152 Pedro Alves <palves@redhat.com>
4153
4154 * gdb.mi/mi-info-os.exp: Connect to the target with
4155 mi_gdb_target_load.
4156
b7ea362b
PA
41572014-01-08 Pedro Alves <palves@redhat.com>
4158
4159 * gdb.threads/reconnect-signal.c: New file.
4160 * gdb.threads/reconnect-signal.exp: New file.
4161
5e3f4fab
EBM
41622014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4163
4164 * gdb.base/source-dir.exp: New file.
4165
79301218
JB
41662014-01-07 Joel Brobecker <brobecker@adacore.com>
4167
4168 * gdb.ada/mi_interface: New testcase.
4169
8e355c5d
JB
41702014-01-07 Joel Brobecker <brobecker@adacore.com>
4171
4172 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
4173 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
4174 gdb.ada/pp-rec-component/pck.ads: New files.
4175
c0d48811
JB
41762014-01-07 Joel Brobecker <brobecker@adacore.com>
4177
4178 * gdb.python/py-pp-integral.c: New file.
4179 * gdb.python/py-pp-integral.py: New file.
4180 * gdb.python/py-pp-integral.exp: New file.
4181
17b609c3 4182For older changes see ChangeLog-1993-2013.
c906108c 4183\f
8d8cb839
EZ
4184;; Local Variables:
4185;; mode: change-log
4186;; left-margin: 8
4187;; fill-column: 74
4188;; version-control: never
4189;; End:
902f2ccb 4190
32d0add0 4191 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
4192 Copying and distribution of this file, with or without modification,
4193 are permitted provided the copyright notice and this notice are preserved.