Fix memory access violations triggered by processing fuzzed binaries with a 32-bit...
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
77f41761
PA
12015-02-06 Pedro Alves <palves@redhat.com>
2
3 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4 determine how many seconds to pass to 'alarm'.
5 * gdb.base/gdb-sigterm.exp (top level): Build program with
6 -DTIMEOUT=$timeout.
7 (do_test): Return success/failure indication. Add more verbose
8 logging. Don't fail if 200 single steps are seen. Instead, fail
9 when the test times out.
10 (passes): New global.
11 (top level): Break the testing loop if testing fails on any
12 iteration. Use gdb_assert.
13
b9394193
DB
142015-02-04 Don Breazeal <donb@codesourcery.com>
15
16 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
17 and initialize them.
18 (ipc_cleanup): New function.
19 (main): Don't declare shmid, semid, and msqid. Add a call to
20 atexit so that we call ipc_cleanup on exit.
21
42d9e528
PA
222015-02-04 Pedro Alves <palves@redhat.com>
23
24 * boards/native-extended-gdbserver.exp: Remove any target variant
25 specifications from the board name before clearing the isremote
26 flag from board_info.
27
ae6ae975
DE
282015-01-31 Doug Evans <xdje42@gmail.com>
29
30 * gdb.base/maint.exp <maint print type argc>: Update expected output.
31
cfb069a8
GB
322015-01-31 Gary Benson <gbenson@redhat.com>
33
34 * gdb.base/completion.exp: Disable completion limiting for
35 existing tests. Add new tests to check completion limiting.
36 * gdb.linespec/ls-errs.exp: Disable completion limiting.
37
5dd31d79
DE
382015-01-31 Doug Evans <xdje42@gmail.com>
39
40 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
41
9f050062
DE
422015-01-31 Doug Evans <xdje42@gmail.com>
43
44 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
45 entries. Duplicate file section script entries.
46 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
47 inlined entries. Add test for safe-path rejection.
48 * gdb.python/py-section-script.c: Add duplicate inlined section script
49 entries. Duplicate file section script entries.
50 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
51 inlined entries. Add test for safe-path rejection.
52
df25ebbd
JB
532015-01-29 Joel Brobecker <brobecker@adacore.com>
54
55 * gdb.ada/disc_arr_bound: New testcase.
56
4a0ca9ec
JB
572015-01-29 Joel Brobecker <brobecker@adacore.com>
58
59 * gdb.ada/mi_var_array: New testcase.
60
3a8b707a
DE
612015-01-27 Doug Evans <dje@google.com>
62
63 * gdb.python/py-objfile.exp: Add tests for objfile.username.
64 Add test for objfile.filename, objfile.username after objfile
65 has been unloaded.
66
f8313f6e
JB
672015-01-26 Joel Brobecker <brobecker@adacore.com>
68
69 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
70 the second test to print the name attribute of value
71 returned by the call to gdb.lookup_type, and adjust
72 the expected output accordingly.
73
37bc665e
MW
742015-01-25 Mark Wielaard <mjw@redhat.com>
75
76 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
77 * gdb.base/disp-step-fork.c: Include unistd.h.
78 * gdb.base/siginfo-obj.c: Include stdio.h.
79 * gdb.base/siginfo-thread.c: Likewise.
80 * gdb.mi/non-stop.c: Include unistd.h.
81 * gdb.mi/nsthrexec.c: Include stdio.h.
82 * gdb.mi/pthreads.c: Include unistd.h.
83 * gdb.modula2/unbounded1.c (main): Declare returns int.
84 * gdb.reverse/consecutive-reverse.c: Likewise.
85 * gdb.threads/create-fail.c: Include unistd.h.
86 * gdb.threads/killed.c: Likewise.
87 * gdb.threads/linux-dp.c: Likewise.
88 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
89 * gdb.threads/non-ldr-exc-2.c: Likewise.
90 * gdb.threads/non-ldr-exc-3.c: Likewise.
91 * gdb.threads/non-ldr-exc-4.c: Likewise.
92 * gdb.threads/pthreads.c: Include unistd.h.
93 (main): Declare returns int.
94 * gdb.threads/tls-main.c (foo): New declaration.
95 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
96
f7e5394d
SM
972015-01-23 Simon Marchi <simon.marchi@ericsson.com>
98
99 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
100 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
101
743649fd
MW
1022015-01-15 Mark Wielaard <mjw@redhat.com>
103
104 * gdb.base/noreturn-return.c: New file.
105 * gdb.base/noreturn-return.exp: New file.
106 * gdb.base/noreturn-finish.c: New file.
107 * gdb.base/noreturn-finish.exp: New file.
108
198297aa
PA
1092015-01-23 Pedro Alves <palves@redhat.com>
110
111 * gdb.threads/continue-pending-after-query.c: New file.
112 * gdb.threads/continue-pending-after-query.exp: New file.
113
717cf30c
AG
1142015-01-22 Anders Granlund <anders.granlund@ericsson.com>
115 Simon Marchi <simon.marchi@ericsson.com>
116
117 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
118 * gdb.base/valgrind-db-attach.exp: Same.
119 * gdb.base/valgrind-infcall.exp: Same.
120 * lib/mi-support.exp (default_mi_gdb_start): Same.
121 * lib/prompt.exp (default_prompt_gdb_start): Same.
122 * lib/gdb.exp (default_gdb_spawn): Same.
123 (gdb_interact): New.
124
125
4b62a76e
JK
1262015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
127
128 * gdb.compile/compile.exp (pointer to jit function): New test.
129
b4cdae6f
WW
1302015-01-17 Wei-cheng Wang <cole945@gmail.com>
131
132 * lib/gdb.exp (supports_process_record): Return true for
133 powerpc*-*-linux*.
134 (supports_reverse): Likewise.
135
d221e7ef
DB
1362015-01-15 Don Breazeal <donb@codesourcery.com>
137
138 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
139 instead of checking whether the target board is remote and
140 use spawn_wait_for_attach instead of exec/sleep.
141 * gdb.base/attach-twice.exp: Likewise.
142
bafffb51
JB
1432015-01-15 Joel Brobecker <brobecker@adacore.com>
144
145 * gdb.ada/var_arr_attrs: New testcase.
146
5589af0e
PA
1472015-01-14 Pedro Alves <palves@redhat.com>
148 Joel Brobecker <brobecker@adacore.com>
149
150 PR gdb/17525
151 * gdb.base/bp-cmds-execution-x-script.c: New file.
152 * gdb.base/bp-cmds-execution-x-script.exp: New file.
153 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
154
6c400b59
PA
1552015-01-14 Pedro Alves <palves@redhat.com>
156
157 PR cli/17828
158 * gdb.base/batch-preserve-term-settings.c: New file.
159 * gdb.base/batch-preserve-term-settings.exp: New file.
160
e02c96a7
DE
1612015-01-13 Doug Evans <dje@google.com>
162
163 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
164 binary.
165
576fd14c
JB
1662015-01-13 Joel Brobecker <brobecker@adacore.com>
167
168 * Makefile.in (clean mostlyclean): Do not delete *.py.
169
04dccad0
JB
1702015-01-13 Joel Brobecker <brobecker@adacore.com>
171
172 * gdb.python/py-lookup-type.exp: New file.
173
3d230f71
PA
1742015-01-12 Pedro Alves <palves@redhat.com>
175
176 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
177 restore GDBFLAGS before returning.
178
7e67715d
JK
1792015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
180
181 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
182 is_amd64_regs_target and is_x86_like_target.
183
f2e0d4b4
DE
1842015-01-11 Doug Evans <xdje42@gmail.com>
185
186 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
187 is given without an explicit form.
188 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
189 attributes.
190 * gdb.dwarf/corrupt.exp: Ditto.
191 * gdb.dwarf2/enum-type.exp: Ditto.
192 * gdb.trace/entry-values.exp: Ditto.
193 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
194
439250fb
DE
1952015-01-11 Doug Evans <xdje42@gmail.com>
196
197 PR gdb/15830
198 * gdb.base/maint.exp: Remove references to "maint demangle".
199 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
200 Add tests for explicitly specifying language to demangle.
201 * gdb.dlang/demangle.exp: Ditto.
202
ede9f622
PA
2032015-01-09 Pedro Alves <palves@redhat.com>
204
205 * gdb.threads/non-stop-fair-events.c: New file.
206 * gdb.threads/non-stop-fair-events.exp: New file.
207
a7b796db
PA
2082015-01-09 Pedro Alves <palves@redhat.com>
209
210 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
211 the global scope. Set a breakpoint after all threads are started
212 rather than stepping over two source lines. Expect the prompt.
213 * gdb.base/watch_thread_num.c (threads_started_barrier): New
214 global.
215 (NUM): Now 15.
216 (main): Use threads_started_barrier to wait for all threads to
217 start. Main thread no longer calls thread_function. Exit after
218 180 seconds.
219 (loop): New function.
220 (thread_function): Wait on threads_started_barrier barrier. Call
221 'loop' at each iteration.
222 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
223 threads have started, instead of hardcoding number of "next"
224 steps. Use an access watchpoint instead of a write watchpoint.
225
9665ffdd
PA
2262015-01-09 Pedro Alves <palves@redhat.com>
227
228 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
229 (thread_func): Wait on barrier.
230 (main): Wait for all threads to start before stopping GDB.
231 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
232 global.
233 (thread1_func, thread2_func): Wait on barrier.
234 (main): Wait for all threads to start before stopping GDB.
235 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
236 New global.
237 (thread1_func, thread2_func): Wait on barrier.
238 (main): Wait for all threads to start before stopping GDB.
239
c945a99f
PA
2402015-01-09 Pedro Alves <palves@redhat.com>
241
242 * gdb.threads/attach-many-short-lived-threads.c: New file.
243 * gdb.threads/attach-many-short-lived-threads.exp: New file.
244
c1a747c1
PA
2452014-01-09 Pedro Alves <palves@redhat.com>
246
247 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
248 instead of to thread 2.
249 * gdb.threads/signal-command-multiple-signals-pending.c (main):
250 Add barrier around each pthread_create call instead of around all
251 calls.
252 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
253 Set a break on thread_function and have the child threads hit it
254 one at at a time.
255
60b3033e
PA
2562015-01-09 Pedro Alves <palves@redhat.com>
257
258 * lib/gdb.exp (can_spawn_for_attach): New procedure.
259 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
260 false.
261 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
262 checking whether the target board is remote.
263 * gdb.multi/multi-attach.exp: Likewise.
264 * gdb.python/py-sync-interp.exp: Likewise.
265 * gdb.server/ext-attach.exp: Likewise.
266 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
267 tests that need to attach, instead of checking whether the target
268 board is remote at the top of the file.
269
acc018ac
YQ
2702015-01-08 Yao Qi <yao@codesourcery.com>
271
272 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
273
50a18af8
JK
2742015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
275
276 Fix testcase compilation.
277 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
278
8503d6e1
JB
2792015-01-06 Joel Brobecker <brobecker@adacore.com>
280
281 * gdb.python/py-type.exp: Add a couple test about empty
282 array creation, and negative-length array creation.
283
cc73dbcc
DE
2842015-01-02 Doug Evans <xdje42@gmail.com>
285
286 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
287
0300bbc7
DE
2882015-01-02 Doug Evans <dje@google.com>
289
290 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
291
9d85a0ec
YQ
2922014-12-29 Yao Qi <yao@codesourcery.com>
293
294 * gdb.trace/entry-values.exp: Update comments. Rename variable
295 bar_call_foo to returned_from_foo.
296
87186c6a
MMN
2972014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
298
299 PR gdb/17394
300 * gdb.linespec/break-asm-file.c: New file.
301 * gdb.linespec/break-asm-file.exp: New file.
302 * gdb.linespec/break-asm-file0.s: New file.
303 * gdb.linespec/break-asm-file1.s: New file.
304
1bab7383
YQ
3052014-12-18 Nigel Stephens <nigel@mips.com>
306 Maciej W. Rozycki <macro@codesourcery.com>
307
308 * gdb.base/float.exp: Handle the new output from "info float" on
309 MIPS targets.
310
1bc1068a
JK
3112014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
312
313 Fix MinGW compilation.
314 * gdb.compile/compile-ops.exp: Update untested message if
315 !skip_compile_feature_tests.
316 * gdb.compile/compile-setjmp.exp: Likewise.
317 * gdb.compile/compile-tls.exp: Likewise.
318 * gdb.compile/compile.exp: Likewise.
319 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
320 supported on this host".
321
b6615d10
DE
3222014-12-16 Doug Evans <xdje42@gmail.com>
323
324 * boards/stabs.exp: New file.
325
25dda427
AA
3262014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
327
328 * gdb.base/completion.exp: Adjust to format changes of "maint
329 print user-registers".
330
bf330350
CU
3312014-12-16 Catalin Udma <catalin.udma@freescale.com>
332
333 PR server/17457
334 * gdb.arch/aarch64-fp.c: New file.
335 * gdb.arch/aarch64-fp.exp: New file.
336
395cf596
SDJ
3372014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
338
339 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
340 r210637, r210913, r211666, r215400, r215817).
341
342 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
343 * dg-extract-results.py: New file.
344 * dg-extract-results.sh: Use it if the environment seems
345 suitable.
346
347 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
348
349 * dg-extract-results.py (parse_run): Handle warnings that
350 are printed before a test harness is run.
351
352 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
353
354 * dg-extract-results.py (Named): Remove __cmp__ method.
355 (output_variation): Use a key to sort variation.harnesses.
356
357 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
358
359 * dg-extract-results.py: For Python 3, force sys.stdout to
360 handle surrogate escape sequences.
361 (safe_open): New function.
362 (output_segment, main): Use it.
363
364 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
365
366 * dg-extract-results.py (Prog.result_re): Include options
367 in test name.
368
369 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
370
371 * dg-extract-results.py (output_variation): Always sort if
372 do_sum.
373
e882ef3c
SM
3742014-12-15 Simon Marchi <simon.marchi@ericsson.com>
375
376 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
377 as long as we get pagination notifications.
378
4992aa20
JM
3792014-12-15 Jason Merrill <jason@redhat.com>
380
381 * Makefile.in (check-gdb.%): Restore.
382 * README: Mention it.
383
c1b5a1a6
JB
3842014-12-13 Joel Brobecker <brobecker@adacore.com>
385
386 * gdb.ada/str_uninit: New testcase.
387
5537b577
JK
3882014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
389
390 PR symtab/17642
391 * gdb.base/vla-stub-define.c: New file.
392 * gdb.base/vla-stub.c: New file.
393 * gdb.base/vla-stub.exp: New file.
394
bb2ec1b3
TT
3952014-12-12 Phil Muldoon <pmuldoon@redhat.com>
396 Jan Kratochvil <jan.kratochvil@redhat.com>
397 Tom Tromey <tromey@redhat.com>
398
399 * configure.ac: Add gdb.compile/.
400 * configure: Regenerate.
401 * gdb.compile/Makefile.in: New file.
402 * gdb.compile/compile-ops.exp: New file.
403 * gdb.compile/compile-ops.c: New file.
404 * gdb.compile/compile-tls.c: New file.
405 * gdb.compile/compile-tls.exp: New file.
406 * gdb.compile/compile-constvar.S: New file.
407 * gdb.compile/compile-constvar.c: New file.
408 * gdb.compile/compile-mod.c: New file.
409 * gdb.compile/compile-nodebug.c: New file.
410 * gdb.compile/compile-setjmp-mod.c: New file.
411 * gdb.compile/compile-setjmp.c: New file.
412 * gdb.compile/compile-setjmp.exp: New file.
413 * gdb.compile/compile-shlib.c: New file.
414 * gdb.compile/compile.c: New file.
415 * gdb.compile/compile.exp: New file.
416 * lib/gdb.exp (skip_compile_feature_tests): New proc.
417
4ff709eb
TT
4182014-12-12 Tom Tromey <tromey@redhat.com>
419
420 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
421 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
422
6dddd6a5
DE
4232014-12-12 Doug Evans <dje@google.com>
424
425 * lib/gdb-python.exp (get_python_valueof): New function.
426 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
427
71c24708
AA
4282014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
429
430 * gdb.base/completion.exp: Add test for completion of "info
431 registers ".
432
3e29f34a
MR
4332014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
434
435 * gdb.base/func-ptrs.c: New file.
436 * gdb.base/func-ptrs.exp: New file.
437
fc126975
SM
4382014-12-10 Simon Marchi <simon.marchi@ericsson.com>
439
440 PR breakpoints/17012
441 * gdb.base/dprintf-detach.c: New file.
442 * gdb.base/dprintf-detach.exp: New file.
443
0a46d518
SM
4442014-12-10 Simon Marchi <simon.marchi@ericsson.com>
445
446 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
447 * lib/gdb.exp (target_is_gdbserver): New procedure.
448
a0be3e44
DE
4492014-12-08 Doug Evans <dje@google.com>
450
451 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
452
df1b803a
YQ
4532014-12-05 Yao Qi <yao@codesourcery.com>
454
455 * gdb.guile/scm-error.exp: Remove the third argument to
456 gdb_remote_download.
457 * gdb.guile/scm-frame-args.exp: Likewise.
458 * gdb.guile/scm-section-script.exp: Likewise.
459
ddb9f679
YQ
4602014-12-05 Yao Qi <yao@codesourcery.com>
461
462 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
463
86e4ed39
DE
4642014-12-04 Doug Evans <dje@google.com>
465
466 * gdb.python/py-objfile.exp: Add tests for
467 objfile.add_separate_debug_file.
468
7c50a931
DE
4692014-12-04 Doug Evans <dje@google.com>
470
471 * lib/gdb.exp (get_build_id): New function.
472 (build_id_debug_filename_get): Rewrite to use it.
473 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
474
621661e3
MR
4752014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
476
477 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
478 `method(long)', not just 0x0.
479 * gdb.cp/nsalias.exp: Align code labels to 4.
480 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
481 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
482 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
483 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
484 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
485 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
486
29f0c3b7
DE
4872014-12-02 Doug Evans <dje@google.com>
488
e1e061e7 489 PR symtab/17602
29f0c3b7 490 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 491 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
492 * gdb.cp/anon-ns.exp: Update.
493
162078c8
NB
4942014-12-02 Nick Bull <nicholaspbull@gmail.com>
495
496 * gdb.python/py-events.py (inferior_call_handler): New.
497 (register_changed_handler, memory_changed_handler): New.
498 (test_events.invoke): Register new handlers.
499 * gdb.python/py-events.exp: Add tests for inferior call,
500 memory_changed and register_changed events.
501
fdb09caf
AA
5022014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
503
504 * gdb.base/execl-update-breakpoints.exp: Specify the link address
505 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
506 if the linker doesn't understand this.
507
55cfb2c4
SM
5082014-12-01 Simon Marchi <simon.marchi@ericsson.com>
509
510 * gdb.python/python.exp: Change expected reply to help().
511
9e8cd6df
YQ
5122014-12-01 Yao Qi <yao@codesourcery.com>
513
514 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
515 AC_CONFIG_SUBDIRS(gdb.gdbtk).
516 * configure: Re-generated.
517
6c659fc2
SC
5182014-11-28 Siva Chandra Reddy <sivachandra@google.com>
519
520 * gdb.cp/chained-calls.cc: New file.
521 * gdb.cp/chained-calls.exp: New file.
522 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
523
d7fc3181
SM
5242014-11-28 Simon Marchi <simon.marchi@ericsson.com>
525
526 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
527 * gdb.dwarf2/symtab-producer.exp: Same.
528 * gdb.gdb/python-interrupts.exp: Same.
529 * gdb.gdb/python-selftest.exp: Same.
530 * gdb.python/py-linetable.exp: Same.
531 * gdb.python/py-type.exp: Same.
532 * gdb.python/py-value-cc.exp: Same.
533 * gdb.python/py-value.exp: Same.
534
10e79639
YQ
5352014-11-28 Yao Qi <yao@codesourcery.com>
536
537 * gdb.base/break-probes.exp: Match library name prefixed with
538 sysroot.
539
f28a0564
SM
5402014-11-27 Simon Marchi <simon.marchi@ericsson.com>
541
542 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
543 test expected output. Add parentheses for the call to print.
544 Remove L suffix from integers.
545
3fe1ce1d
DE
5462014-11-26 Doug Evans <dje@google.com>
547
548 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
549
84429e27
YQ
5502014-11-22 Yao Qi <yao@codesourcery.com>
551
552 * gdb.trace/entry-values.c: Remove asms.
553 (foo): Add foo_label.
554 (bar): Add bar_label.
555 * gdb.trace/entry-values.exp: Remove code computing foo's
556 length and bar's length.
557 (Dwarf::assemble): Invoke function_range for bar and use
558 MACRO_AT_func for foo.
559
26741859
YQ
5602014-11-22 Yao Qi <yao@codesourcery.com>
561
562 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
563 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
564 Use .Lgcc43_procstart instead of gcc43.
565
45e44d27
JB
5662014-11-21 Joel Brobecker <brobecker@adacore.com>
567
568 * gdb.ada/n_arr_bound: New testcase.
569
458c8db8
SDJ
5702014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
571
572 PR breakpoints/10737
573 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
574 test_catch_syscall_multi_arch.
575 (test_catch_syscall_multi_arch): New function.
576
43f3e411
DE
5772014-11-20 Doug Evans <xdje42@gmail.com>
578
579 * gdb.base/maint.exp: Update expected output.
580
0d7b2549
AA
5812014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
582
583 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
584 4-byte instruction on S390.
585
8908fca5
JB
5862014-11-19 Joel Brobecker <brobecker@adacore.com>
587
588 * gdb.ada/arr_arr: New testcase.
589
4a46959e
JB
5902014-11-19 Joel Brobecker <brobecker@adacore.com>
591
592 * gdb.ada/pkd_arr_elem: New Testcase.
593
470e2f4e
LM
5942014-11-18 Luis Machado <lgustavo@codesourcery.com>
595
596 * gdb.reverse/break-precsave: Expect completion message for
597 core file reads.
598 * gdb.reverse/consecutive-precsave.exp: Likewise.
599 * gdb.reverse/finish-precsave.exp: Likewise.
600 * gdb.reverse/i386-precsave.exp: Likewise.
601 * gdb.reverse/machinestate-precsave.exp: Likewise.
602 * gdb.reverse/sigall-precsave.exp: Likewise.
603 * gdb.reverse/solib-precsave.exp: Likewise.
604 * gdb.reverse/step-precsave.exp: Likewise.
605 * gdb.reverse/until-precsave.exp: Likewise.
606 * gdb.reverse/watch-precsave.exp: Likewise.
607
a267f3ad
AA
6082014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
609
610 * gdb.base/bp-permanent.c: Include unistd.h.
611 * gdb.python/py-framefilter-mi.c (main): Add return type.
612 * gdb.python/py-framefilter.c (main): Likewise.
613 * gdb.trace/actions-changed.c (main): Likewise.
614
12084a9a
AA
6152014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
616
617 * gdb.mi/until.c: Add eye-catchers.
618 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
619 line numbers.
620
dc7e1a77
AA
6212014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
622
623 * gdb.base/condbreak.exp: Drop references to removed non-prototype
624 function header variants in break1.c.
625 * gdb.base/ena-dis-br.exp: Likewise.
626 * gdb.base/hbreak2.exp: Likewise.
627 * gdb.reverse/until-precsave.exp: Drop references to removed
628 non-prototype function header variants in ur1.c.
629 * gdb.reverse/until-reverse.exp: Likewise.
630
41c77605
PM
6312014-11-17 Petr Machata <pmachata@redhat.com>
632
633 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
634 ${_cu_offset_size} bytes abbrev offset.
635
34248c3a
DE
6362014-11-15 Doug Evans <xdje42@gmail.com>
637
638 PR symtab/17559
639 * gdb.base/line-symtabs.exp: New file.
640 * gdb.base/line-symtabs.c: New file.
641 * gdb.base/line-symtabs.h: New file.
642
646da059
YQ
6432014-11-14 Yao Qi <yao@codesourcery.com>
644
645 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
646 (func): Add label func_label.
647 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
648 Replace low_pc and high_pc with MACRO_AT_range.
649 Replace name, low_pc and high_pc with MACRO_AT_func.
650
9301ebe6
YQ
6512014-11-14 Yao Qi <yao@codesourcery.com>
652
653 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
654 Replace name, low_pc and high_pc with MACRO_AT_func.
655
f166b542
YQ
6562014-11-14 Yao Qi <yao@codesourcery.com>
657
658 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
659 produce debug information.
660 * gdb.dwarf2/implptr-optimized-out.S: Removed.
661
0f6e71e3
YQ
6622014-11-14 Yao Qi <yao@codesourcery.com>
663
664 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
665 object and get function length.
666 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
667 with MACRO_AT_func.
668 (top-level): Replace gdb_compile and clean_restart with
669 prepare_for_testing.
670 * gdb.dwarf2/main.c (main): Add label main_label.
671
876c4df9
YQ
6722014-11-14 Yao Qi <yao@codesourcery.com>
673
674 * lib/dwarf.exp (function_range): New procedure.
675 (Dwarf::_handle_macro_at_func): New procedure.
676 (Dwarf::_handle_macro_at_range): New procedure.
677 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
678
02ad9cf1
YQ
6792014-11-14 Yao Qi <yao@codesourcery.com>
680
681 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
682 (_handle_attribute): New procedure.
683
a59add0c
AA
6842014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
685
686 * gdb.ada/cond_lang/foo.c (callme): Add return type.
687 * gdb.base/call-sc.c (zed): Likewise.
688 * gdb.base/checkpoint.c (main): Likewise.
689 * gdb.base/dump.c (main): Likewise.
690 * gdb.base/gcore.c (main): Likewise.
691 * gdb.base/huge.c (main): Likewise.
692 * gdb.base/multi-forks.c (main): Likewise.
693 * gdb.base/pr10179-a.c (main): Likewise.
694 * gdb.base/savedregs.c (main): Likewise.
695 * gdb.base/sigaltstack.c (main): Likewise.
696 * gdb.base/siginfo.c (main): Likewise.
697 * gdb.base/structs.c (zed): Likewise.
698 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
699 * gdb.mi/mi-syn-frame.c (main): Likewise.
700 * gdb.mi/until.c (foo, main): Likewise.
701 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
702 * gdb.base/solib-weak.c (foo): Declare.
703 * gdb.base/attach-twice.c: Include stdio.h.
704 * gdb.base/weaklib1.c: Likewise.
705 * gdb.base/weaklib2.c: Likewise.
706 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
707 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
708 unistd.h.
709 * gdb.base/attach-pie-misread.c: Include stdlib.h.
710 * gdb.mi/mi-exit-code.c: Likewise.
711 * gdb.base/break-interp-lib.c: Include string.h.
712 * gdb.base/coremaker.c: Likewise.
713 * gdb.base/testenv.c: Likewise.
714 * gdb.python/py-finish-breakpoint.c: Likewise.
715 * gdb.base/inferior-died.c: Include sys/wait.h.
716 * gdb.base/fileio.c: Include time.h.
717 * gdb.base/async-shell.c: Include unistd.h.
718 * gdb.base/dprintf-non-stop.c: Likewise.
719 * gdb.base/info-os.c: Likewise.
720 * gdb.mi/mi-console.c: Likewise.
721 * gdb.mi/watch-nonstop.c: Likewise.
722 * gdb.python/py-events.c: Likewise.
723 * gdb.base/async.c (baz): Move up before its invocation.
724 * gdb.base/code_elim2.c (my_global_func): Likewise.
725 * gdb.base/skip-solib-lib.c (multiply): Likewise.
726 * gdb.base/advance.c (func2): Likewise.
727
3b5d5997
AA
7282014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
729
730 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
731 variant.
732 * gdb.base/annota3.c: Likewise.
733 * gdb.base/async.c: Likewise.
734 * gdb.base/average.c: Likewise.
735 * gdb.base/call-ar-st.c: Likewise.
736 * gdb.base/call-rt-st.c: Likewise.
737 * gdb.base/call-sc.c: Likewise.
738 * gdb.base/call-strs.c: Likewise.
739 * gdb.base/ending-run.c: Likewise.
740 * gdb.base/execd-prog.c: Likewise.
741 * gdb.base/exprs.c: Likewise.
742 * gdb.base/foll-exec.c: Likewise.
743 * gdb.base/foll-fork.c: Likewise.
744 * gdb.base/foll-vfork.c: Likewise.
745 * gdb.base/funcargs.c: Likewise.
746 * gdb.base/gcore.c: Likewise.
747 * gdb.base/jump.c: Likewise.
748 * gdb.base/langs0.c: Likewise.
749 * gdb.base/langs1.c: Likewise.
750 * gdb.base/langs2.c: Likewise.
751 * gdb.base/mips_pro.c: Likewise.
752 * gdb.base/nodebug.c: Likewise.
753 * gdb.base/opaque0.c: Likewise.
754 * gdb.base/opaque1.c: Likewise.
755 * gdb.base/recurse.c: Likewise.
756 * gdb.base/run.c: Likewise.
757 * gdb.base/scope0.c: Likewise.
758 * gdb.base/scope1.c: Likewise.
759 * gdb.base/setshow.c: Likewise.
760 * gdb.base/setvar.c: Likewise.
761 * gdb.base/shmain.c: Likewise.
762 * gdb.base/shr1.c: Likewise.
763 * gdb.base/shr2.c: Likewise.
764 * gdb.base/sigall.c: Likewise.
765 * gdb.base/signals.c: Likewise.
766 * gdb.base/so-indr-cl.c: Likewise.
767 * gdb.base/solib2.c: Likewise.
768 * gdb.base/structs.c: Likewise.
769 * gdb.base/sum.c: Likewise.
770 * gdb.base/vforked-prog.c: Likewise.
771 * gdb.base/watchpoint.c: Likewise.
772 * gdb.reverse/shr2.c: Likewise.
773 * gdb.reverse/until-reverse.c: Likewise.
774 * gdb.reverse/ur1.c: Likewise.
775 * gdb.reverse/watch-reverse.c: Likewise.
776
066a77c5
AA
7772014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
778
779 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
780 variant.
781 * gdb.base/sepdebug.exp: Drop references to removed code.
782
4f204ea5
AA
7832014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
784
785 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
786 variant. Preserve original line numbering.
787 * gdb.base/list1.c: Likewise.
788
3b377a3a
AA
7892014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
790
791 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
792 variant.
793 * gdb.base/break1.c: Likewise.
794 * gdb.base/break.exp: Drop references to removed code.
795
e444df73
AA
7962014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
797
798 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
799 variant.
800
8008f2a7
AA
8012014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
802
803 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
804
a5a06887
AA
8052014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
806
807 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
808 logic into perform_all_tests() and invoke it with and without
809 function header prototypes.
810 (do_function_calls): Remove conditional XFAIL for PR 5318.
811 (rerun_and_prepare): Remove duplicate code.
812 (perform_all_tests): New. Main logic moved here.
813
44dba9b9
AA
8142014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
815
816 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
817 code guarded by #ifdef NO_PROTOTYPES.
818 (t_double_many_args): Likewise.
819 (DEF_FUNC_MANY_ARGS_1): Likewise.
820 (DEF_FUNC_VALUES_1): Likewise.
821 (t_structs_ldc): Renamed from t_structs_fc in conditional code
822 guarded by #ifdef PROTOTYPES.
823
d1fbcd56
AA
8242014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
825
826 * gdb.mi/mi-console.c: Add eye-catcher.
827 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
828 instead of literal line number.
829
b0e59b8f
AA
8302014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
831
832 * gdb.base/shr2.c: Add eye-catcher.
833 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
834 line number.
835
78f98cca
AA
8362014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
837
838 * gdb.base/jump.c: Add eye-catchers.
839 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
840 numbers.
841
58fa2af0
AA
8422014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
843
844 * gdb.base/execd-prog.c: Add eye-catchers.
845 * gdb.base/foll-exec.c: Likewise.
846 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
847 line numbers.
848
04e5059b
AA
8492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
850
851 * gdb.base/ending-run.c: Add eye-catchers.
852 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
853 literal line numbers.
854
dbfdb174
AA
8552014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
856
857 * gdb.base/call-rt-st.c: Add eye-catchers.
858 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
859 literal line numbers.
860
888a2ade
AA
8612014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
862
863 * gdb.base/call-ar-st.c: Add eye-catchers.
864 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
865 literal line numbers.
866
6acc2dde
AA
8672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
868
869 * gdb.base/average.c: Add eye-catchers.
870 * gdb.base/sum.c: Likewise.
871 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
872 regexps dynamically.
873
9ecfcd1d
AA
8742014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
875
876 * gdb.base/solib1.c: Add eye-catchers.
877 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
878 literal line numbers.
879
78708b7c
PA
8802014-11-12 Pedro Alves <palves@redhat.com>
881
882 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
883 leader has exited.
884
af48d08f
PA
8852014-11-12 Pedro Alves <palves@redhat.com>
886
887 * gdb.arch/i386-bp_permanent.c: New file.
888 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
889 (srcfile): Set to i386-bp_permanent.c.
890 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
891 that stepi does not execute the 'leave' instruction, instead of
892 testing it does execute.
893 * gdb.base/bp-permanent.c: New file.
894 * gdb.base/bp-permanent.exp: New file.
895
af3768e9
DE
8962014-11-10 Doug Evans <xdje42@gmail.com>
897
898 PR symtab/17564
899 * gdb.base/symtab-search-order.exp: New file.
900 * gdb.base/symtab-search-order.c: New file.
901 * gdb.base/symtab-search-order-1.c: New file.
902 * gdb.base/symtab-search-order-shlib-1.c: New file.
903
9de00a4a
PA
9042014-11-07 Pedro Alves <palves@redhat.com>
905
906 PR gdb/17511
907 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
908 i?86-*-linux*.
909
e0f52461
SC
9102014-11-03 Siva Chandra Reddy <sivachandra@google.com>
911
912 PR c++/17494
913 * gdb.cp/pr17494.cc: New file.
914 * gdb.cp/pr17494.exp: New file.
915
6ce8c980
YQ
9162014-11-02 Yao Qi <yao@codesourcery.com>
917
918 * gdb.python/python.exp: Get working directory and match the
919 output of "set extended-prompt \\w " with it.
920
02be9a71
DE
9212014-10-30 Doug Evans <dje@google.com>
922
923 * gdb.python/py-objfile.exp: Add tests for setting random attributes
924 in objfiles.
925 * gdb.python/py-progspace.exp: Add tests for setting random attributes
926 in progspaces.
927
3bdff46b
LM
9282014-10-30 Janis Johnson <janisjo@codesourcery.com>
929
930 * gdb.base/fullpath-expand.exp: Skip for a remote host.
931 * gdb.base/realname-expand.exp: Likewise.
932 * gdb.linespec/macro-relative.exp: Likewise.
933
ab917dfb
PA
9342014-10-29 Pedro Alves <palves@redhat.com>
935
936 PR gdb/17408
937 * gdb.threads/schedlock.c (some_function): New function.
938 (call_function): New global.
939 (MAYBE_CALL_SOME_FUNCTION): New macro.
940 (thread_function): Call it.
941 * gdb.threads/schedlock.exp (get_args): Add description parameter,
942 and use it instead of a global counter. Adjust all callers.
943 (get_current_thread): Use "find current thread" for test message
944 here rather than having all callers pass down the same string.
945 (goto_loop): New procedure, factored out from ...
946 (my_continue): ... this.
947 (step_ten_loops): Change parameter from test message to command to
948 use. Adjust.
949 (list_count): Delete global.
950 (check_result): New procedure, factored out from duplicate top
951 level code.
952 (continue tests): Wrap in with_test_prefix.
953 (test_step): New procedure, factored out from duplicate top level
954 code.
955 (top level): Test "step" in combination with all scheduler-locking
956 modes. Test "next" in combination with all scheduler-locking
957 modes, and in combination with stepping over a function call or
958 not.
959 * gdb.threads/next-bp-other-thread.c: New file.
960 * gdb.threads/next-bp-other-thread.exp: New file.
961
d3d4baed
PA
9622014-10-29 Pedro Alves <palves@redhat.com>
963
964 PR python/17372
965 * gdb.python/python.exp: Test a multi-line command that spawns
966 interactive Python.
967 * gdb.base/multi-line-starts-subshell.exp: New file.
968
563e8d85
YQ
9692014-10-29 Yao Qi <yao@codesourcery.com>
970
971 * gdb.base/fileio.exp: Make directories on host.
972
0ea4d52e
YQ
9732014-10-29 Yao Qi <yao@codesourcery.com>
974
975 * gdb.base/fileio.c (test_write): Close the file.
976
7f5ef605
PA
9772014-10-28 Pedro Alves <palves@redhat.com>
978
979 PR gdb/12623
980 * gdb.base/sigstep.c (no_handler): New global.
981 (main): If 'no_handler is true, set the signal handlers to
982 SIG_IGN.
983 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
984 with_sw_watch and no_handler parameters. Handle them.
985 (top level) <stepping over handler when stopped at a breakpoint
986 test>: Add a test axis for testing with a software watchpoint, and
987 another for testing with the signal handler set to SIG_IGN.
988 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
989 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
990
abbdbd03
PA
9912014-10-28 Pedro Alves <palves@redhat.com>
992
993 PR gdb/17511
994 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
995 * gdb.base/sigstep.exp (other_handler_location): New global.
996 (advance): Support stepping into the signal handler, and running
997 commands while in the handler.
998 (in_handler_map): New global.
999 (top level): In the advance test, add combinations for getting
1000 into the handler with stepping commands, and for running commands
1001 in the handler. Add comment descripting the advancei tests.
1002
1df4399f
PA
10032014-10-28 Pedro Alves <palves@redhat.com>
1004
1005 * gdb.base/sigstep.exp: Use build_executable instead of
1006 prepare_for_testing.
1007 (top level): Move code that starts GDB, runs to main and creates a
1008 display to ...
1009 (restart): ... this new procedure.
1010 (top level): Move backtrace from signal handler test to ...
1011 (validate_backtrace): ... this new procedure.
1012 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
1013 with_test_prefix. Always restart GDB.
1014 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
1015 with_test_prefix. Always restart GDB. No need to delete
1016 breakpoints after the test.
1017 (test_skip_handler): Remove prefix parameter.
1018 (skip_over_handler, breakpoint_to_handler)
1019 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
1020 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
1021 restart GDB. No need to delete breakpoints after the test.
1022 (top level): Use foreach to call the test procedures with
1023 different commands.
1024
a5b6e449
PA
10252014-10-28 Pedro Alves <palves@redhat.com>
1026
1027 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
1028 instead of GNATS numbers.
1029 * gdb.base/sigbpt.exp: Likewise.
1030 * gdb.base/siginfo.exp: Likewise.
1031 * gdb.base/sigstep.exp: Likewise.
1032
e5f8a7cc
PA
10332014-10-27 Pedro Alves <palves@redhat.com>
1034
1035 * gdb.base/sigstep.c (dummy): New global.
1036 (main): Issue a couple writes to the new global.
1037 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
1038 procedures.
1039 (skip_over_handler): Use test_skip_handler.
1040 (top level): Call skip_over_handler for stepi and nexti too.
1041 (breakpoint_over_handler): Use test_skip_handler.
1042 (top level): Call breakpoint_over_handler for stepi and nexti too.
1043
763905a3
YQ
10442014-10-27 Yao Qi <yao@codesourcery.com>
1045
1046 * gdb.trace/tfile.c (adjust_function_address)
1047 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
1048 function descriptor.
1049
6f259a23
DB
10502014-10-24 Don Breazeal <donb@codesourcery.com>
1051
1052 * gdb.base/foll-fork.exp (test_follow_fork,
1053 catch_fork_child_follow): Check for updated fork messages emitted
1054 from infrun.c.
1055 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
1056 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
1057 vfork_and_exec_child_follow_through_step): Check for updated vfork
1058 messages emitted from infrun.c.
1059
09dd9a69
PA
10602014-10-24 Pedro Alves <palves@redhat.com>
1061
1062 * gdb.base/corefile.exp: Remove references to ultrix.
1063 * gdb.base/interrupt.exp: Likewise.
1064 * gdb.base/whatis.exp: Likewise.
1065 * gdb.gdb/selftest.exp: Likewise.
1066 * gdb.threads/manythreads.exp: Likewise.
1067 * gdb.threads/print-threads.exp: Likewise.
1068 * gdb.threads/pthreads.exp:: Likewise.
1069 * gdb.threads/schedlock.exp: Likewise.
1070
3433cfa5
SC
10712014-10-24 Siva Chandra Reddy <sivachandra@google.com>
1072
1073 * gdb.cp/non-trivial-retval.cc: Add a test case.
1074 * gdb.cp/non-trivial-retval.exp: Add a test.
1075
092f880b
YQ
10762014-10-20 Yao Qi <yao@codesourcery.com>
1077
1078 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
1079 * gdb.python/py-objfile-script-gdb.py: New file.
1080 * gdb.python/py-objfile-script.exp: Update reference to
1081 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
1082 of remote_download. Remove the dest file.
1083
acbdb7f3
YQ
10842014-10-20 Yao Qi <yao@codesourcery.com>
1085
1086 * gdb.base/checkpoint.exp: Don't remove file copied on host.
1087 * gdb.base/step-line.exp: Likewise.
1088 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1089 * gdb.dwarf2/dw2-basic.exp: Likewise.
1090 * gdb.dwarf2/dw2-compressed.exp: Likewise.
1091 * gdb.dwarf2/dw2-filename.exp: Likewise.
1092 * gdb.dwarf2/dw2-intercu.exp: Likewise.
1093 * gdb.dwarf2/dw2-intermix.exp: Likewise.
1094 * gdb.dwarf2/dw2-producer.exp: Likewise.
1095 * gdb.dwarf2/mac-fileno.exp: Likewise.
1096 * gdb.python/py-frame-args.exp: Likewise.
1097 * gdb.python/py-framefilter.exp: Likewise.
1098 * gdb.python/py-mi.exp: Likewise.
1099 * gdb.python/py-objfile-script.exp: Likewise
1100 * gdb.python/py-pp-integral.exp: Likewise.
1101 * gdb.python/py-pp-re-notag.exp: Likewise.
1102 * gdb.python/py-prettyprint.exp: Likewise.
1103 * gdb.python/py-section-script.exp: Likewise.
1104 * gdb.python/py-typeprint.exp: Likewise.
1105 * gdb.python/py-xmethods.exp: Likewise.
1106 * gdb.stabs/weird.exp: Likewise.
1107 * gdb.xml/tdesc-regs.exp: Likewise.
1108
bd286a29
KCY
11092014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
1110
1111 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
1112 (out_cu): Use addr_len for the size of addresses.
1113 (out_line): Likewise. Size DW_LNE_set_address instruction
1114 according to addr_len.
1115 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
1116 (FUNC): Add START_INSNS to definition.
1117
673dc4a0
YQ
11182014-10-18 Yao Qi <yao@codesourcery.com>
1119
1120 * gdb.base/argv0-symlink.exp: Check argv[0] value if
1121 gdb_has_argv0 return true.
1122 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
1123 check [target_info exists noargs], check [gdb_has_argv0]
1124 instead.
1125 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1126 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
1127 procedures.
1128
4ffbba72
DE
11292014-10-17 Doug Evans <dje@google.com>
1130
1131 * gdb.python/py-events.exp: Update expected output for clear_objfiles
1132 event.
1133 * gdb.python/py-events.py: Add clear_objfiles event.
1134
d096d8c1
DE
11352014-10-17 Doug Evans <dje@google.com>
1136
1137 * gdb.python/py-objfile.exp: Test progspace attribute.
1138
a80db015
LM
11392014-10-17 Luis Machado <lgustavo@codesourcery.com>
1140
1141 * gdb.guile/scm-breakpoint.exp: Do not assume any
1142 directory separators when matching source file paths.
1143 * gdb.python/py-breakpoint.exp: Likewise.
1144 * gdb.reverse/break-precsave.exp: Likewise.
1145 * gdb.reverse/break-reverse.exp: Likewise.
1146 * gdb.reverse/consecutive-precsave.exp: Likewise.
1147 * gdb.reverse/finish-precsave.exp: Likewise.
1148 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
1149 * gdb.reverse/finish-reverse.exp: Likewise.
1150 * gdb.reverse/i386-precsave.exp: Likewise.
1151 * gdb.reverse/i387-env-reverse.exp: Likewise.
1152 * gdb.reverse/i387-stack-reverse.exp: Likewise.
1153 * gdb.reverse/machinestate-precsave.exp: Likewise.
1154 * gdb.reverse/machinestate.exp: Likewise.
1155 * gdb.reverse/sigall-precsave.exp: Likewise.
1156 * gdb.reverse/solib-precsave.exp: Likewise.
1157 * gdb.reverse/step-precsave.exp: Likewise.
1158 * gdb.reverse/until-precsave.exp: Likewise.
1159 * gdb.reverse/watch-precsave.exp: Likewise.
1160 * gdb.reverse/watch-reverse.exp: Likewise.
1161
b22089ab
YQ
11622014-10-17 Yao Qi <yao@codesourcery.com>
1163
1164 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
1165 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
1166
6c4486e6
PA
11672014-10-17 Pedro Alves <palves@redhat.com>
1168
1169 PR gdb/17471
1170 * gdb.base/bg-execution-repeat.c: New file.
1171 * gdb.base/bg-execution-repeat.exp: New file.
1172
0ff33695
PA
11732014-10-17 Pedro Alves <palves@redhat.com>
1174
1175 PR gdb/17300
1176 * gdb.base/continue-all-already-running.c: New file.
1177 * gdb.base/continue-all-already-running.exp: New file.
1178
6fdebc3d
PA
11792014-10-17 Pedro Alves <palves@redhat.com>
1180
1181 PR gdb/17472
1182 * gdb.base/annota-input-while-running.c: New file.
1183 * gdb.base/annota-input-while-running.exp: New file.
1184
32a8097b
PA
11852014-10-17 Pedro Alves <palves@redhat.com>
1186
1187 * gdb.base/callfuncs.exp: emove references to osf.
1188 * gdb.base/sigall.exp: Likewise.
1189 * gdb.gdb/selftest.exp: Likewise.
1190 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1191 * gdb.mi/non-stop.c: Likewise.
1192 * gdb.mi/pthreads.c: Likewise.
1193 * gdb.reverse/sigall-precsave.exp: Likewise.
1194 * gdb.reverse/sigall-reverse.exp: Likewise.
1195 * gdb.threads/pthreads.c: Likewise.
1196 * gdb.threads/pthreads.exp: Likewise.
1197
7a3517ff
YQ
11982014-10-17 Yao Qi <yao@codesourcery.com>
1199
1200 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
1201 check 'target_info exists noargs'.
1202 (test_command_prompt_position): Likewise.
1203 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
1204 Remove "set args".
1205 (progvar_simple_while_test): Likewise.
1206 (progvar_complex_if_while_test): Likewise.
1207 (if_while_breakpoint_command_test): Likewise.
1208 (infrun_breakpoint_command_test): Likewise.
1209 (breakpoint_command_test): Likewise.
1210 (watchpoint_command_test): Likewise.
1211 (bp_deleted_in_command_test): Likewise.
1212 (temporary_breakpoint_commands): Likewise.
1213
bb99c472
YQ
12142014-10-16 Yao Qi <yao@codesourcery.com>
1215
1216 * gdb.base/remotetimeout.exp: Remove noargs checking.
1217
7c16b83e
PA
12182014-10-15 Pedro Alves <palves@redhat.com>
1219
1220 PR breakpoints/9649
1221 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
1222 * gdb.base/breakpoint-in-ro-region.exp
1223 (probe_target_hardware_step): New procedure.
1224 (top level): Probe hardware stepping and hardware breakpoint
1225 support. Test stepping through a read-only region, with both
1226 "breakpoint auto-hw" on and off and both "always-inserted" on and
1227 off.
1228
35a49624
IB
12292014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
1230
1231 * gdb.dlang/demangle.exp: Update for demangling changes.
1232
2d1c107c
SC
12332014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1234
1235 * gdb.cp/non-trivial-retval.cc: Add new test cases.
1236 * gdb.cp/non-trivial-retval.exp: Add new tests.
1237
778811d5
SC
12382014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1239
1240 PR c++/13403
1241 PR c++/15154
1242 * gdb.cp/non-trivial-retval.cc: New file.
1243 * gdb.cp/non-trivial-retval.exp: New file.
1244
10c5f0a8
YQ
12452014-10-15 Yao Qi <yao@codesourcery.com>
1246
1247 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
1248 remote host.
1249
65d7b369
YQ
12502014-10-15 Yao Qi <yao@codesourcery.com>
1251
1252 * gdb.python/py-symbol.exp: Match file base name if host is
1253 remote, otherwise match file name with dir name.
1254 * gdb.python/py-symtab.exp: Likewise.
1255 * gdb.python/python.exp: Likewise.
1256
46dc1394
YQ
12572014-10-15 Yao Qi <yao@codesourcery.com>
1258
1259 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
1260 pattern.
1261 * gdb.python/py-symtab.exp: Likewise.
1262 * gdb.python/python.exp: Remove trailing ".*". Fix typo
1263 locationn.
1264
c40cc657
JB
12652014-10-14 Joel Brobecker <brobecker@adacore.com>
1266
1267 * gdb.ada/addr_arith: New testcase.
1268
2abf49e1
MR
12692014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
1270
1271 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
1272 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
1273 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
1274 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
1275
f7088df3
SDJ
12762014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
1277
1278 * gdb.arch/stap-eval-lang-ada.S: Likewise.
1279 * gdb.arch/stap-eval-lang-ada.c: Likewise.
1280 * gdb.arch/stap-eval-lang-ada.exp: New file.
1281
4dc06805
YQ
12822014-10-14 Yao Qi <yao@codesourcery.com>
1283
1284 * gdb.mi/mi-var-child.c (nothing1): New function.
1285 (nothing2): New function.
1286 (do_children_tests): Set function pointers by nothing1 and
1287 nothing2.
1288 * gdb.mi/mi-var-child.exp: Step over new added statements.
1289 Update test to match the new output.
1290 * gdb.mi/var-cmd.c (nothing1): New function.
1291 (nothing2): New function.
1292 (do_children_tests): Set function pointers by nothing1 and
1293 nothing2.
1294 * gdb.mi/mi-var-display.exp: Update test to match output.
1295 Step to the line specified by $line_dct_nothing.
1296 Increase the number of lines to step.
1297
46a93de2
YQ
12982014-10-14 Yao Qi <yao@codesourcery.com>
1299
1300 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
1301 tests.
1302 * gdb.mi/mi2-var-child.exp: Likewise.
1303
14ea52ee
DE
13042014-10-13 Doug Evans <dje@google.com>
1305
1306 * gdb.python/py-objfile.exp: Change name of file name test.
1307
e5c6e92b
DE
13082014-10-13 Doug Evans <dje@google.com>
1309
1310 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
1311 from the start of the CU.
1312
c780cc2f
JK
13132014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1314 Yao Qi <yao@codesourcery.com>
1315
1316 Fix "save breakpoints" for "catch" command.
1317 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
1318 Remove -nonewline. Match also the added "main" line.
1319
99894e11
JK
13202014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1321
1322 Fix "save breakpoints" for "disable $bpnum" command.
1323 * gdb.base/save-bp.c (main): Add label.
1324 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
1325
6e1ac5a3
JK
13262014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1327
1328 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
1329
754dd2b0
YQ
13302014-10-11 Yao Qi <yao@codesourcery.com>
1331
1332 * gdb.server/server-kill.exp: Execute command
1333 "set remote trace-status-packet on" before "tstatus".
1334
f90183d7
YQ
13352014-10-11 Yao Qi <yao@codesourcery.com>
1336
1337 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
1338 (main): Call getppid.
1339 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
1340 and continue to it. Read variable "server_pid".
1341
bf40a607
YQ
13422014-10-11 Yao Qi <yao@codesourcery.com>
1343
1344 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
1345
052ca370
YQ
13462014-10-11 Yao Qi <yao@codesourcery.com>
1347
1348 * gdb.threads/thread-find.exp: Don't execute command
1349 "info threads".
1350 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
1351 * gdb.threads/linux-dp.exp: Don't check the condition
1352 $threads_created equals to zero.
1353
3831839c
PA
13542014-10-10 Pedro Alves <palves@redhat.com>
1355
1356 * gdb.base/bigcore.exp: Remove references to IRIX.
1357 * gdb.base/funcargs.exp: Likewise.
1358 * gdb.base/interrupt.exp: Likewise.
1359 * gdb.base/mips_pro.exp: Likewise.
1360 * gdb.base/nodebug.exp: Likewise.
1361 * gdb.base/setvar.exp: Likewise.
1362 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
1363
8b9a549d
PA
13642014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1365 Pedro Alves <palves@redhat.com>
1366
1367 PR symtab/14466
1368 * gdb.base/vdso-warning.c: New file.
1369 * gdb.base/vdso-warning.exp: New file.
1370
d48ba5e8
DE
13712014-10-02 Doug Evans <dje@google.com>
1372
1373 * gdb.base/structs.c (main): Don't run forever.
1374
2278c276
PA
13752014-10-02 Pedro Alves <palves@redhat.com>
1376
1377 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
1378 (top level) <stop threads 1, stop threads 2>: Use it.
1379
b57bacec
PA
13802014-10-02 Pedro Alves <palves@redhat.com>
1381
1382 * gdb.threads/break-while-running.exp (test): Add new
1383 'update_thread_list' argument. Skip "info threads" if false.
1384 (top level): Add new 'update_thread_list' axis.
1385
13fd3ff3
PA
13862014-10-02 Pedro Alves <palves@redhat.com>
1387
1388 PR breakpoints/17431
1389 * gdb.base/execl-update-breakpoints.c: New file.
1390 * gdb.base/execl-update-breakpoints.exp: New file.
1391
0fec99e8
PA
13922014-10-01 Pedro Alves <palves@redhat.com>
1393
1394 * gdb.base/breakpoint-in-ro-region.c: New file.
1395 * gdb.base/breakpoint-in-ro-region.exp: New file.
1396
2ddf4301
SM
13972014-10-01 Simon Marchi <simon.marchi@ericsson.com>
1398
1399 * gdb.mi/mi-exit-code.exp: New file.
1400 * gdb.mi/mi-exit-code.c: New file.
1401
6a5f3f43
YQ
14022014-09-30 Yao Qi <yao@codesourcery.com>
1403
1404 * lib/prelink-support.exp (build_executable_own_libs): Error if
1405 the target isn't native.
1406
345bcc73
YQ
14072014-09-30 Yao Qi <yao@codesourcery.com>
1408
1409 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
1410 false.
1411
a25a5a45
PA
14122014-09-22 Pedro Alves <palves@redhat.com>
1413
1414 * gdb.threads/break-while-running.exp: New file.
1415 * gdb.threads/break-while-running.c: New file.
1416
00ba3162
YQ
14172014-09-19 Yao Qi <yao@codesourcery.com>
1418
1419 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
1420 Invoke test. Restart GDB with --readnow and invoke test again.
1421
c3b7b696
YQ
14222014-09-19 Yao Qi <yao@codesourcery.com>
1423
1424 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
1425 proc set_breakpoint_on_gcd_function. Invoke
1426 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
1427 invoke set_breakpoint_on_gcd_function again.
1428
2b4fd423
DE
14292014-09-18 Doug Evans <dje@google.com>
1430
1431 * gdb.dwarf2/symtab-producer.exp: New file.
1432
a5947601
SDJ
14332014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1434
1435 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
1436 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
1437 * gdb.base/global-var-nested-by-dso.c: Likewise.
1438 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1439
91c19059
SDJ
14402014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1441 Pedro Alves <palves@redhat.com>
1442
1443 * gdb.base/watch-bitfields.exp: Pass string other than test file
1444 name to prepare_for_testing.
1445 (watch): New procedure.
1446 (expect_watchpoint): Use with_test_prefix.
1447 (top level): Factor out tests to ...
1448 (test_watch_location, test_regular_watch): ... these new
1449 procedures, and use with_test_prefix and gdb_continue_to_end.
1450
bb9d5f81
PP
14512014-09-16 Patrick Palka <patrick@parcs.ath.cx>
1452
1453 PR breakpoints/12526
1454 * gdb.base/watch-bitfields.exp: New file.
1455 * gdb.base/watch-bitfields.c: New file.
1456
635856f5
PA
14572014-09-16 Pedro Alves <palves@redhat.com>
1458
1459 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
1460 software and hardware addresses, not software address against
1461 itself.
1462
7280ceea
PA
14632014-09-16 Pedro Alves <palves@redhat.com>
1464
1465 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
1466 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
1467
428b16bd
PA
14682014-09-16 Pedro Alves <palves@redhat.com>
1469
1470 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
1471 files.
1472 * gdb.base/a2-run.exp: Remove all code guarded by istarget
1473 "*-*-vxworks*" throughout.
1474 * gdb.base/break.exp: Likewise.
1475 * gdb.base/default.exp: Likewise.
1476 * gdb.base/scope.exp: Likewise.
1477 * gdb.base/sepdebug.exp: Likewise.
1478 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
1479 throughout.
1480 * gdb.base/run.c: Likewise.
1481 * gdb.base/sepdebug.c: Likewise.
1482 * gdb.hp/gdb.aCC/run.c: Likewise.
1483 * gdb.reverse/until-reverse.c: Likewise.
1484 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
1485
666d413c
YQ
14862014-09-16 Yao Qi <yao@codesourcery.com>
1487
1488 * boards/local-remote-host-native.exp: New file.
1489
57cbd724
DE
14902014-09-14 Doug Evans <xdje42@gmail.com>
1491
1492 * gdb.threads/queue-signal.c (thread_count): New variable.
1493 (thread_count_mutex, thread_count_condvar): New variables.
1494 (incr_thread_count, wait_all_threads_running): New functions.
1495 (main): Wait for all threads to be in their thread functions.
1496
81219e53
DE
14972014-09-13 Doug Evans <xdje42@gmail.com>
1498
1499 * gdb.threads/queue-signal.c: New file.
1500 * gdb.threads/queue-signal.exp: New file.
1501
3714cea7
DE
15022014-09-13 Doug Evans <xdje42@gmail.com>
1503
1504 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
1505 be consistent with what default_gdb_init uses.
1506 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
1507 the plain text of the prompt. Add some logging printfs.
1508 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
1509
fa43b1d7
PA
15102014-09-12 Pedro Alves <palves@redhat.com>
1511
1512 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
1513 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
1514 * gdb.arch/i386-size-overlap.exp: Likewise.
1515 * gdb.arch/i386-size.exp: Likewise.
1516 * gdb.arch/i386-unwind.exp: Likewise.
1517 * gdb.base/a2-run.exp: Likewise.
1518 * gdb.base/break.exp: Likewise.
1519 * gdb.base/charset.exp: Likewise.
1520 * gdb.base/chng-syms.exp: Likewise.
1521 * gdb.base/commands.exp: Likewise.
1522 * gdb.base/dbx.exp: Likewise.
1523 * gdb.base/find.exp: Likewise.
1524 * gdb.base/funcargs.exp: Likewise.
1525 * gdb.base/jit-simple.exp: Likewise.
1526 * gdb.base/reread.exp: Likewise.
1527 * gdb.base/sepdebug.exp: Likewise.
1528 * gdb.base/step-bt.exp: Likewise.
1529 * gdb.cp/mb-inline.exp: Likewise.
1530 * gdb.cp/mb-templates.exp: Likewise.
1531 * gdb.objc/basicclass.exp: Likewise.
1532 * gdb.threads/killed.exp: Likewise.
1533
9d9bf2df
EBM
15342014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1535
1536 PR tdep/17379
1537 * gdb.arch/powerpc-stackless.S: New file.
1538 * gdb.arch/powerpc-stackless.exp: New file.
1539
1cf2f1b0
JK
15402014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1541
1542 * gdb.base/attach.c: Include unistd.h.
1543 (main): Call alarm. Add label postloop.
1544 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
1545 gdb_breakpoint, gdb_continue_to_breakpoint.
1546 (test_command_line_attach_run): Kill ${testpid} in one exit path.
1547
98880d46
PA
15482014-09-11 Pedro Alves <palves@redhat.com>
1549
1550 PR gdb/17347
1551 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
1552 * gdb.base/attach.exp (test_command_line_attach_run): New
1553 procedure.
1554 (top level): Call it.
1555
4c92ff2c
PA
15562014-09-11 Pedro Alves <palves@redhat.com>
1557
1558 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
1559 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
1560 (do_command_attach_tests): Use spawn_wait_for_attach.
1561 * gdb.base/solib-overlap.exp: Likewise.
1562 * gdb.multi/multi-attach.exp: Likewise.
1563 * gdb.python/py-prompt.exp: Likewise.
1564 * gdb.python/py-sync-interp.exp: Likewise.
1565 * gdb.server/ext-attach.exp: Likewise.
1566
3adc1a7d
GKB
15672014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
1568
1569 * gdb.fortran/array-element.exp: Remove unexpected "continue"
1570 command in testcase. Simplify testcase.
1571
96334934
JB
15722014-09-10 Joel Brobecker <brobecker@adacore.com>
1573
1574 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
1575
eb479039
JB
15762014-09-10 Joel Brobecker <brobecker@adacore.com>
1577
1578 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
1579
deede10c
JB
15802014-09-10 Joel Brobecker <brobecker@adacore.com>
1581
1582 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
1583
7828a5f5
JB
15842014-09-10 Joel Brobecker <brobecker@adacore.com>
1585
1586 * gdb.dwarf2/dynarr-ptr.c: New file.
1587 * gdb.dwarf2/dynarr-ptr.exp: New file.
1588
33aeebcf
MR
15892014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1590
1591 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
1592 of 30 rather than hardcoding 120 for a slow test case. Take the
1593 `gdb,timeout' target setting into account for this calculation.
1594 Don't extend the timeout for the test cases that don't need it.
1595
7b415901
MR
15962014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1597
1598 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
1599 a factor of 2 for a slow test case. Take the `gdb,timeout'
1600 target setting into account for this calculation.
1601 * gdb.reverse/until-precsave.exp: Increase the timeout by
1602 a factor of 15 and 3 respectively rather than adding 120
1603 for a pair of slow test cases. Take the `gdb,timeout'
1604 target setting into account for this calculation.
1605
4a40f85a
MR
16062014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1607
1608 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
1609 timeout, don't pass one down to gdb_expect.
1610 (gdb_expect): Rework timeout selection.
1611
09635af7
MR
16122014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1613
1614 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
1615 exception on timeout.
1616 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
1617 (gdbserver_start_extended): Catch any `gdbserver_start' error
1618 exceptions.
1619 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
1620 * lib/mi-support.exp (mi_gdb_target_load): Catch any
1621 `gdbserver_gdb_load' error exceptions.
1622
2bdd10b7
MR
16232014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1624
1625 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
1626 120 on waiting for the TCP socket to open.
1627
316935f0
DE
16282014-09-09 Doug Evans <xdje42@gmail.com>
1629
1630 * gdb.base/default.exp (show_conv_list): Add _caller_is,
1631 _caller_matches, _any_caller_is, _any_caller_matches.
1632
83740597
DE
16332014-09-09 Doug Evans <xdje42@gmail.com>
1634
1635 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
1636
4c122fc3
YQ
16372014-09-09 Yao Qi <yao@codesourcery.com>
1638
1639 * gdb.mi/mi-var-display.exp: Set print symbol off.
1640
a9f116cb
GKB
16412014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
1642
1643 PR gdb/17035
1644 * gdb.base/commands.exp: Add tests to verify user-defined
1645 commands with empty bodies.
1646 * gdb.python/py-cmd.exp: Test that we don't show user-defined
1647 python commands in `show user command`.
1648 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
1649 scheme commands in `show user command`.
1650
c75bd3a2
JK
16512014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1652
1653 PR python/17355
1654 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
1655 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
1656 * gdb.python/py-framefilter-invalidarg.exp: New file.
1657 * gdb.python/py-framefilter-invalidarg.py: New file.
1658
faa42425
DE
16592014-09-06 Doug Evans <xdje42@gmail.com>
1660
1661 PR 15276
1662 * gdb.python/py-caller-is.c: New file.
1663 * gdb.python/py-caller-is.exp: New file.
1664
474ca4f6
SDJ
16652014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
1666
1667 PR gdb/17235
1668 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
1669 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
1670
eb0b0463
SDJ
16712014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
1672
1673 PR fortran/17237
1674 * gdb.fortran/print-formatted.exp: New file.
1675 * gdb.fortran/print-formatted.f90: Likewise.
1676
5f3b99cf
SS
16772014-09-03 Sasha Smundak <asmundak@google.com>
1678
1679 * gdb.python/py-frame.exp: Test Frame.read_register.
1680
7d793aa9
SDJ
16812014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
1682
1683 PR python/16699
1684 * gdb.python/py-completion.exp: New file.
1685 * gdb.python/py-completion.py: Likewise.
1686
fb0576e9
DE
16872014-08-28 Doug Evans <dje@google.com>
1688
1689 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
1690 eax,etc. are live with values set by gdb and thus the compiler can't
1691 use them.
1692 * gdb.arch/i386-pseudo.c (main): Ditto.
1693
ee92b0dd
DE
16942014-08-27 Doug Evans <dje@google.com>
1695
1696 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
1697
6649db35
DE
16982014-08-25 Doug Evans <dje@google.com>
1699
1700 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
1701 (main): Ditto.
1702
564b7600
DE
17032014-08-25 Doug Evans <dje@google.com>
1704
1705 * gdb.threads/thread-execl.exp: #include <stdio.h>.
1706
3881fb67
YQ
17072014-08-24 Yao Qi <yao@codesourcery.com>
1708
1709 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
1710 symbol off.
1711 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
1712
a05a36a5
DE
17132014-08-22 Doug Evans <dje@google.com>
1714
1715 PR 17276
1716 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
1717 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
1718 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
1719
7c343b48
YQ
17202014-08-22 Yao Qi <yao@codesourcery.com>
1721
1722 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
1723 * gdb.python/py-finish-breakpoint2.exp: Likewise.
1724 * gdb.python/python.exp: Likewise. Use .py file on the host
1725 instead of the build.
1726
22fd09ae
JK
17272014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1728
1729 * gdb.threads/gcore-stale-thread.c: New file.
1730 * gdb.threads/gcore-stale-thread.exp: New file.
1731
a8454a7c
PA
17322014-08-21 Pedro Alves <palves@redhat.com>
1733
1734 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
1735 * gdb.base/gcore-relro-pie.exp: Likewise.
1736 * gdb.base/gcore-relro.exp: Likewise.
1737 * gdb.base/gcore.exp: Likewise.
1738 * gdb.base/print-symbol-loading.exp: Likewise.
1739 * gdb.threads/gcore-thread.exp: Likewise.
1740 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
1741
2a31c623
PA
17422014-08-20 Pedro Alves <palves@redhat.com>
1743 Jan Kratochvil <jan.kratochvil@redhat.com>
1744
1745 * Makefile.in (EXTRA_RULES, CC): New variables, get from
1746 configure.
1747 (EXPECT): Handle READ1 being set.
1748 (all): Depend on EXTRA_RULES.
1749 (check-read1, expect-read1, read1.so, read1): New rules.
1750 * README (Testsuite Parameters): Document the READ1 make variable.
1751 (Race detection): New section.
1752 * configure: Regenerate.
1753 * configure.ac: If build==host==target, and running under a
1754 GNU/glibc system, add read1 to the extra Makefile rules.
1755 (EXTRA_RULES): AC_SUBST it.
1756 * lib/read1.c: New file.
1757
d36430db
JB
17582014-08-20 Joel Brobecker <brobecker@adacore.com>
1759
1760 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
1761 the handling of variables declared as a typedef to an array
1762 which a DW_AT_data_location attribute.
1763
9a0dc9e3
PA
17642014-08-19 Andrew Burgess <aburgess@broadcom.com>
1765 Pedro Alves <palves@redhat.com>
1766
1767 PR symtab/14604
1768 PR symtab/14605
1769 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
1770 gdb_test.
1771
0718a8da
PA
17722014-08-19 Pedro Alves <palves@redhat.com>
1773
1774 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
1775
13b448cd
YQ
17762014-08-19 Yao Qi <yao@codesourcery.com>
1777
1778 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
1779 right line.
1780
1cbf5077
DB
17812014-08-18 David Blaikie <dblaikie@gmail.com>
1782
1783 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
1784
bf0fae19
JB
17852014-08-18 Joel Brobecker <brobecker@adacore.com>
1786
1787 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
1788 attribute in array range.
1789
3c8c5dcc
JB
17902014-08-18 Joel Brobecker <brobecker@adacore.com>
1791
1792 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
1793
e66d4446
SC
17942014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1795
1796 PR c++/17132
1797 * gdb.cp/pr17132.cc: New file.
1798 * gdb.cp/pr17132.exp: New file.
1799
940df408
SC
18002014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1801
1802 * gdb.python/py-xmethods.py (A_getarrayind)
1803 (E_method_char_worker.__call__, E_method_int_worker.__call__):
1804 Use 'print' with function call syntax.
1805 (E_method_matcher.match): Fix tab vs space indentation mixup.
1806
ebcc6c3a
YQ
18072014-08-15 Yao Qi <yao@codesourcery.com>
1808
1809 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
1810 false.
1811
775e0f04
YQ
18122014-08-15 Yao Qi <yao@codesourcery.com>
1813
1814 * gdb.cp/casts.exp: Set print symbol off.
1815 * gdb.cp/class2.exp: Likewise.
1816 * gdb.cp/overload.exp: Likewise.
1817 * gdb.cp/templates.exp: Likewise.
1818
d769e349
DE
18192014-08-11 Doug Evans <dje@google.com>
1820
1821 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
1822 (test_load_shlib): Update.
1823
20c6f1e1
YQ
18242014-08-09 Yao Qi <yao@codesourcery.com>
1825
1826 * gdb.base/display.exp: Invoke is_address_zero_readable.
1827 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
1828 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1829 * gdb.base/hbreak-unmapped.exp: Return if
1830 is_address_zero_readable returns true.
1831 * gdb.base/signest.exp: Likewise.
1832 * gdb.base/signull.exp: Likewise.
1833 * gdb.base/sigbpt.exp: Likewise.
1834 * gdb.guile/scm-disasm.exp: Do the test if
1835 is_address_zero_readable returns false.
1836 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
1837 * gdb.python/py-arch.exp: Likewise.
1838 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
1839 * lib/gdb.exp (is_address_zero_readable): New proc.
1840
5792e8e3
YQ
18412014-08-09 Yao Qi <yao@codesourcery.com>
1842
1843 PR testsuite/13443
1844 * gdb.mi/mi-var-display.exp: Make test messages unique.
1845
3cecbbbe
TT
18462014-08-04 Tom Tromey <tromey@redhat.com>
1847
1848 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
1849 target 0".
1850
00b51ff5
TT
18512014-08-04 Tom Tromey <tromey@redhat.com>
1852
1853 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
1854 "target_resume".
1855
6908c509
JB
18562014-08-01 Joel Brobecker <brobecker@adacore.com>
1857
1858 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
1859 inner_vla_struct_object_size.
1860 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
1861 as xfail.
1862
cc6563d2
PA
18632014-07-30 Pedro Alves <palves@redhat.com>
1864
1865 * gdb.threads/signal-command-handle-nopass.exp (test): Add
1866 comment.
1867
7e09a223
YQ
18682014-07-29 Yao Qi <yao@codesourcery.com>
1869
1870 PR gdb/17206
1871 * gdb.base/until-nodebug.exp: New.
1872
7ebdbe92
DE
18732014-07-28 Doug Evans <xdje42@gmail.com>
1874
1875 PR guile/17203
1876 * gdb.guile/scm-parameter.exp: Add tests for trying to create
1877 previously existing parameter, and previously ambiguously spelled
1878 parameter.
1879
fdb1adc6
WN
18802014-07-28 Will Newton <will.newton@linaro.org>
1881
1882 * gdb.base/varargs.exp: Remove KFAILs for ARM.
1883
186fcde0
DE
18842014-07-26 Ludovic Courtès <ludo@gnu.org>
1885 Doug Evans <xdje42@gmail.com>
1886
1887 PR guile/17146
1888 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
1889
70509625
PA
18902014-07-25 Pedro Alves <palves@redhat.com>
1891
1892 * gdb.threads/signal-command-handle-nopass.c: New file.
1893 * gdb.threads/signal-command-handle-nopass.exp: New file.
1894 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
1895 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
1896 * gdb.threads/signal-delivered-right-thread.c: New file.
1897 * gdb.threads/signal-delivered-right-thread.exp: New file.
1898
c3f814a1
PA
18992014-07-25 Pedro Alves <palves@redhat.com>
1900
1901 * gdb.base/double-prompt-target-event-error.exp
1902 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
1903 match.
1904 (cancel_pagination_in_target_event): Rework double prompt
1905 detection.
1906 * gdb.base/paginate-after-ctrl-c-running.exp
1907 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
1908 <return>' match.
1909 * gdb.base/paginate-bg-execution.exp
1910 (test_bg_execution_pagination_return)
1911 (test_bg_execution_pagination_cancel): Remove '-notransfer
1912 <return>' matches.
1913 * gdb.base/paginate-execution-startup.exp
1914 (test_fg_execution_pagination_return)
1915 (test_fg_execution_pagination_cancel): Remove '-notransfer
1916 <return>' matches.
1917 * gdb.base/paginate-inferior-exit.exp
1918 (test_paginate_inferior_exited): Remove '-notransfer <return>'
1919 match.
1920 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
1921 * lib/gdb.exp (pagination_prompt): Run text through
1922 string_to_regexp.
1923 (gdb_test_multiple): Match $pagination_prompt instead of
1924 "<return>".
1925 (string_to_regexp): Move to lib/gdb-utils.exp.
1926
e214cf6c
JK
19272014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1928
1929 * gdb.arch/amd64-entry-value-paramref.S: New file.
1930 * gdb.arch/amd64-entry-value-paramref.cc: New file.
1931 * gdb.arch/amd64-entry-value-paramref.exp: New file.
1932 * gdb.arch/amd64-optimout-repeat.S: New file.
1933 * gdb.arch/amd64-optimout-repeat.c: New file.
1934 * gdb.arch/amd64-optimout-repeat.exp: New file.
1935
17d0c5c8
JK
19362014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1937
1938 PR gdb/17170
1939 * gdb.base/statistics.exp: New file.
1940
b8b8facf
DE
19412014-07-17 Doug Evans <dje@google.com>
1942
74b49205 1943 PR gdb/17170
b8b8facf
DE
1944 * gdb.base/maint.exp: Update testing of per-command stats.
1945
1b5d0ab3
PA
19462014-07-16 Pedro Alves <palves@redhat.com>
1947
1948 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
1949 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
1950 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
1951 (tfile_write_buf): New functions.
1952 (add_memory_block): Rewrite using the above.
1953 (adjust_function_address): New function.
1954 (FUNCTION_ADDRESS): New macro.
1955 (write_basic_trace_file): Remove short_x local, and use
1956 tfile_write_16. Change type of func_addr local to unsigned long
1957 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
1958 here. Cast argument of add_memory_block to char pointer.
1959 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
1960 (main): Remove parameters.
1961 * gdb.trace/tfile.exp: Remove nowarnings.
1962
4d974e88
SM
19632014-07-15 Simon Marchi <simon.marchi@ericsson.com>
1964
1965 * gdb.base/debug-expr.exp: Test string evaluation with
1966 "debug expression" on.
1967
41e99568
PA
19682014-07-15 Pedro Alves <palves@redhat.com>
1969
1970 * gdb.base/reread.exp: Use clean_restart.
1971
487d9753
PL
19722014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
1973
1974 * gdb.arch/avr-flash-qualifer.c: New.
1975 * gdb.arch/avr-flash-qualifer.exp: New.
1976
cc1c52ad
PA
19772014-07-14 Pedro Alves <palves@redhat.com>
1978
1979 * gdb.base/paginate-after-ctrl-c-running.c: New file.
1980 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
1981
1e973570
PA
19822014-07-14 Pedro Alves <palves@redhat.com>
1983
1984 * gdb.base/double-prompt-target-event-error.c: New file.
1985 * gdb.base/double-prompt-target-event-error.exp: New file.
1986
93d6eb10
PA
19872014-07-14 Pedro Alves <palves@redhat.com>
1988
1989 PR gdb/17072
1990 * gdb.base/paginate-inferior-exit.c: New file.
1991 * gdb.base/paginate-inferior-exit.exp: New file.
1992
0017922d
PA
19932014-07-14 Pedro Alves <palves@redhat.com>
1994
1995 PR gdb/17072
1996 * gdb.base/paginate-bg-execution.c: New file.
1997 * gdb.base/paginate-bg-execution.exp: New file.
1998
94696ad3
PA
19992014-07-14 Pedro Alves <palves@redhat.com>
2000
2001 PR gdb/17072
2002 * gdb.base/paginate-execution-startup.c: New file.
2003 * gdb.base/paginate-execution-startup.exp: New file.
2004 * lib/gdb.exp (pagination_prompt): New global.
2005 (default_gdb_spawn): New procedure, factored out from
2006 default_gdb_spawn.
2007 (default_gdb_start): Adjust to call default_gdb_spawn.
2008 (gdb_spawn): New procedure.
2009
bd293940
PA
20102014-07-14 Pedro Alves <palves@redhat.com>
2011
2012 * lib/gdb.exp (gdb_assert): New procedure.
2013 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
2014
c933f875
PA
20152014-07-14 Pedro Alves <palves@redhat.com>
2016
2017 * gdb.base/execution-termios.c: New file.
2018 * gdb.base/execution-termios.exp: New file.
2019
d98b7a16
TT
20202014-07-14 Tom Tromey <tromey@redhat.com>
2021
2022 * gdb.cp/vla-cxx.cc: New file.
2023 * gdb.cp/vla-cxx.exp: New file.
2024
548740d6
TT
20252014-07-14 Tom Tromey <tromey@redhat.com>
2026
2027 * gdb.reverse/rerun-prec.c: New file.
2028 * gdb.reverse/rerun-prec.exp: New file.
2029
a25eb028
MR
20302014-07-12 Maciej W. Rozycki <macro@mips.com>
2031 Maciej W. Rozycki <macro@codesourcery.com>
2032
2033 * lib/gdb-utils.exp: New file.
2034 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
2035 inline `gdb_init_command' processing.
2036 (gdb_start_cmd): Likewise.
2037 * lib/mi-support.exp (mi_run_cmd): Likewise.
2038 * README: Document `gdb_init_command' and `gdb_init_commands'.
2039
218c2655
JK
20402014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2041
2042 Fix false FAIL running under a very long directory name.
2043 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
2044 and "set print elements 10000". Twice.
2045
5401fde3
YQ
20462014-07-11 Yao Qi <yao@codesourcery.com>
2047
2048 * gdb.base/exprs.exp: "set print symbol off".
2049
e76126e8
PA
20502014-07-11 Pedro Alves <palves@redhat.com>
2051
2052 * gdb.threads/kill.c: New file.
2053 * gdb.threads/kill.exp: New file.
2054
2d6f0de6
YQ
20552014-07-10 Yao Qi <yao@codesourcery.com>
2056
2057 * gdb.trace/tfile.c (write_basic_trace_file)
2058 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
2059 address written to trace file.
2060
7180e04a
PA
20612014-07-09 Pedro Alves <palves@redhat.com>
2062
2063 * gdb.base/attach-wait-input.exp: New file.
2064 * gdb.base/attach-wait-input.c: New file.
2065
9a9a7608
AB
20662014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2067
2068 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
2069 setting up test structures.
2070 (main): Call new test function.
2071 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
2072 test function, continue into test function and walk test
2073 structures.
2074
161ac41e
YQ
20752014-07-02 Yao Qi <yao@codesourcery.com>
2076
2077 * gdb.trace/entry-values.c: Define labels 'foo_start' and
2078 'bar_start' at the beginning of functions 'foo' and 'bar'
2079 respectively.
2080 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
2081 instead of 'foo' and 'bar'.
2082
1f267ae3
MM
20832014-07-08 Markus Metzger <markus.t.metzger@intel.com>
2084
2085 * gdb.btrace/segv.exp: New.
2086 * gdb.btrace/segv.c: New.
2087
2b239efb
LM
20882014-07-02 Luis Machado <lgustavo@codesourcery.com>
2089
2090 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
2091 instruction.
2092
cf363f18
MW
20932014-06-30 Mark Wielaard <mjw@redhat.com>
2094
2095 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
2096 vulture, vilify, villar): New volatile array constants.
2097 (vindictive, vegetation): New const volatile array constants.
2098 * gdb.base/volatile.exp: Test volatile and const volatile array
2099 types.
2100
aebf9d24
AA
21012014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2102
2103 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
2104 target lacks support for awatch, rwatch, or hbreak.
2105
b67a2c6f
YQ
21062014-06-27 Yao Qi <yao@codesourcery.com>
2107
2108 * gdb.multi/dummy-frame-restore.exp: New.
2109 * gdb.multi/dummy-frame-restore.c: New.
2110
aef92902
MM
21112014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2112
2113 * gdb.btrace/gcore.exp: New.
2114
8e9db26e
PA
21152014-06-23 Pedro Alves <palves@redhat.com>
2116
2117 * gdb.base/watchpoint-reuse-slot.c: New file.
2118 * gdb.base/watchpoint-reuse-slot.exp: New file.
2119
70afc5b7
SC
21202014-06-23 Siva Chandra Reddy <sivachandra@google.com>
2121
2122 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
2123 progspace's filename in 'info', 'enable' and 'disable' command
2124 tests.
2125
b972bd9c
JK
21262014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2127
2128 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
2129 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2130 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
2131
125f8a3d
GB
21322014-06-20 Gary Benson <gbenson@redhat.com>
2133
2134 * gdb.arch/i386-avx.exp: Fix include file location.
2135 * gdb.arch/i386-sse.exp: Likewise.
2136
3ed9baed
IB
21372014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
2138
2139 * gdb.dlang/expression.exp: New file.
2140
034f788c
PA
21412014-06-19 Pedro Alves <palves@redhat.com>
2142
2143 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
2144 out from ...
2145 (top level): ... here. Iterate running tests under different
2146 scheduler-locking settings.
2147
45371d0c
LM
21482014-06-18 Luis Machado <lgustavo@codesourcery.com>
2149
2150 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
2151 to DW_FORM_addr and use non-zero addresses.
2152
5d376983
SC
21532014-06-18 Siva Chandra Reddy <sivachandra@google.com>
2154
2155 PR gdb/17017
2156 * gdb.python/py-xmethods.cc: Add global function call counters and
2157 increment them in their respective functions. Remove "cout"
2158 statements.
2159 * gdb.python/py-xmethods.exp: Make tests check the global function
2160 call counters instead of depending on inferior IO.
2161
a1aa2221
LM
21622014-06-18 Don Breazeal <donb@codesourcery.com>
2163
2164 * gdb.base/foll-fork.exp (default_fork_parent_follow):
2165 Deleted procedure.
2166 (explicit_fork_parent_follow): Deleted procedure.
2167 (explicit_fork_child_follow): Deleted procedure.
2168 (test_follow_fork): New procedure.
2169 (do_fork_tests): Replace calls to deleted procedures with
2170 calls to test_follow_fork and reset GDB for subsequent
2171 procedure calls.
2172
0fc05997
YQ
21732014-06-17 Yao Qi <yao@codesourcery.com>
2174
2175 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
2176 CP1252.
2177
70795c52
LM
21782014-06-17 Luis Machado <lgustavo@codesourcery.com>
2179
2180 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
2181 Initialize ptr and S explicitly.
2182 (skip_type_update_when_not_use_rtti_test): Likewise.
2183
6be47f0c
KS
21842014-06-16 Keith Seitz <keiths@redhat.com>
2185
2186 PR mi/15863
2187 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
2188 the inferior is started.
2189
d03de421
PA
21902014-06-16 Pedro Alves <palves@redhat.com>
2191
2192 * gdb.base/break-main-file-remove-fail.c: New file.
2193 * gdb.base/break-main-file-remove-fail.exp: New file.
2194 * gdb.base/break-unload-file.exp: Use build_executable instead of
2195 prepare_for_testing.
2196 (test_break): New parameter "initial_load". Handle it.
2197 (top level): Add initial_load cmdline/file axis.
2198
f9579b99
TT
21992014-06-12 Tom Tromey <tromey@redhat.com>
2200
2201 * gdb.base/completion.exp: Don't use directory name in test.
2202
3657956b
GB
22032014-06-09 Gary Benson <gbenson@redhat.com>
2204
2205 * gdb.base/sigall.c [Functions to send signals]: Reorder to
2206 separate the always-available ANSI-standard signals from the
2207 signals that require checking.
2208 (main): Likewise.
2209 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
2210 Likewise.
2211 (main): Likewise.
2212
4186eb54
KS
22132014-06-07 Keith Seitz <keiths@redhat.com>
2214
2215 Revert:
2216 PR c++/16253
2217 * gdb.cp/var-tag.cc: New file.
2218 * gdb.cp/var-tag.exp: New file.
2219 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2220 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2221 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2222 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2223
25326a28 22242014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
2225
2226 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
2227
829155c9
PA
22282014-06-06 Pedro Alves <palves@redhat.com>
2229
2230 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
2231 in target debug output instead of looking at RSP packets,
2232 disabling the test on any target that uses hardware stepping.
2233 Update comments.
2234
61c8d22e
PA
22352014-06-06 Pedro Alves <palves@redhat.com>
2236
2237 * gdb.base/break-unload-file.exp: Fix typo.
2238
d9a47287
YQ
22392014-06-06 Yao Qi <yao@codesourcery.com>
2240
2241 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
2242 from "jit_function" to "^jit_function".
2243
e5e01dbf
YQ
22442014-06-06 Yao Qi <yao@codesourcery.com>
2245
2246 * gdb.base/async.c (foo): Add one statement.
2247 * gdb.base/async.exp: Get the next instruction address and
2248 match the output of "nexti" by instruction address. Match
2249 the hex address in the output of "finish".
2250
73ba372c
GB
22512014-06-06 Gary Benson <gbenson@redhat.com>
2252
2253 * gdb.base/call-signals.c: Remove preprocessor conditionals
2254 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
2255 SIGSEGV and SIGTERM.
2256 * gdb.base/sigall.c: Likewise.
2257 * gdb.base/unwindonsignal.c: Likewise.
2258 * gdb.reverse/sigall-reverse.c: Likewise.
2259
831517df
YQ
22602014-06-06 Yao Qi <yao@codesourcery.com>
2261
2262 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
2263 readable, skip the test.
2264
b8b91e98
YQ
22652014-06-06 Yao Qi <yao@codesourcery.com>
2266
2267 * gdb.threads/staticthreads.c (thread_function): Move the line
2268 setting breakpoint on forward.
2269 * gdb.threads/staticthreads.exp: Update comments.
2270
fb934770
LC
22712014-06-05 Ludovic Courtès <ludo@gnu.org>
2272
2273 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
2274 "history-append! type error".
2275
6ef284bd
SM
22762014-06-05 Simon Marchi <simon.marchi@ericsson.com>
2277
2278 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
2279 erroneous dprintf expected input.
2280
a872e241
DE
22812014-06-04 Doug Evans <xdje42@gmail.com>
2282
2283 * gdb.guile/scm-generics.exp: Delete.
2284
16f691fb
DE
22852014-06-04 Doug Evans <xdje42@gmail.com>
2286
2287 * gdb.guile/scm-breakpoint.exp: Update.
2288 Add tests for breakpoint registration.
2289
012370f6
TT
22902014-06-04 Tom Tromey <tromey@redhat.com>
2291
2292 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
2293 VLA-in-union.
2294 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
2295 inner_vla_struct, vla_union types. Initialize objects of those
2296 types and compute their sizes.
2297
9f5a4cef
HZ
22982014-06-04 Nathan Sidwell <nathan@codesourcery.com>
2299 Hui Zhu <hui@codesourcery.com>
2300
2301 * gdb.base/fileio.exp: Add test for shell not available as well as
2302 available.
2303 * gdb.base/fileio.c (test_system): Check for shell twice.
2304
90a45c4d
YQ
23052014-06-04 Yao Qi <yao@codesourcery.com>
2306
2307 * gdb.base/auto-connect-native-target.exp: Remove redundant
2308 space from the regexp pattern.
2309
70017e41
YQ
23102014-06-04 Yao Qi <yao@codesourcery.com>
2311
2312 * gdb.base/default.exp: Replace "child" with "native" in
2313 regexp pattern.
2314
883964a7
SC
23152014-06-03 Siva Chandra Reddy <sivachandra@google.com>
2316
2317 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
2318 * gdb.python/py-xmethods.exp: New tests to test xmethods.
2319 * gdb.python/py-xmethods.py: Python script supporting the
2320 new testcase and tests.
2321
ef370185
JB
23222014-06-03 Joel Brobecker <brobecker@adacore.com>
2323 Pedro Alves <palves@redhat.com>
2324
2325 PR breakpoints/17000
2326 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
2327 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
2328
1e2ccb61
BM
23292014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
2330
2331 * gdb.base/subst.exp: Add tests to verify partial path matching
2332 output.
2333
c6ec5ab2
PA
23342014-06-03 Pedro Alves <palves@redhat.com>
2335
2336 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
2337 target that doesn't use software single-stepping.
2338
835c559f
PA
23392014-06-03 Pedro Alves <palves@redhat.com>
2340
2341 PR breakpoints/17000
2342 * gdb.base/sss-bp-on-user-bp-2.c: New file.
2343 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
2344
06eb1586
DE
23452014-06-02 Doug Evans <xdje42@gmail.com>
2346
2347 * gdb.guile/scm-parameter.exp: New file.
2348
e698b8c4
DE
23492014-06-02 Doug Evans <xdje42@gmail.com>
2350
2351 * gdb.guile/scm-cmd.c: New file.
2352 * gdb.guile/scm-cmd.exp: New file.
2353
ded03782
DE
23542014-06-02 Doug Evans <xdje42@gmail.com>
2355
2356 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
2357 pretty-printer lookup.
2358 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
2359 (make-pp_s-printer): Call it.
2360 (make-pretty-printer-from-dict): New function.
2361 (lookup-pretty-printer-maker-from-dict): New function.
2362 (*pretty-printer*): Simplify.
2363 (make-objfile-pp_s-printer): New function.
2364 (install-objfile-pretty-printers!): New function.
2365 (make-progspace-pp_s-printer): New function.
2366 (install-progspace-pretty-printers!): New function.
2367 * gdb.guile/scm-progspace.c: New file.
2368 * gdb.guile/scm-progspace.exp: New file.
2369
41fac0cf
PA
23702014-06-02 Pedro Alves <palves@redhat.com>
2371
2372 * gdb.base/dprintf-bp-same-addr.c: New file.
2373 * gdb.base/dprintf-bp-same-addr.exp: New file.
2374
96ae5695
EBM
23752014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2376
2377 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
2378 * gdb.arch/powerpc-power.s: Likewise.
2379
da02b3a8
JB
23802014-06-02 Joel Brobecker <brobecker@adacore.com>
2381
2382 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
2383
c72b2e7b
YQ
23842014-06-01 Yao Qi <yao@codesourcery.com>
2385
2386 * gdb.base/watchpoint.exp (test_watch_location): Check null
2387 pointer can be dereferenced. If not, do the test, otherwise
2388 skip it.
2389
53e8a631
AB
23902014-05-30 Andrew Burgess <aburgess@broadcom.com>
2391
2392 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
2393 results.
2394 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
2395
938f0e2f
AB
23962014-05-30 Andrew Burgess <aburgess@broadcom.com>
2397
2398 * gdb.arch/amd64-invalid-stack-middle.S: New file.
2399 * gdb.arch/amd64-invalid-stack-middle.c: New file.
2400 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
2401 * gdb.arch/amd64-invalid-stack-top.c: New file.
2402 * gdb.arch/amd64-invalid-stack-top.exp: New file.
2403
9ba6657a
PA
24042014-05-30 Pedro Alves <palves@redhat.com>
2405
2406 PR breakpoints/17000
2407 * gdb.base/sss-bp-on-user-bp.c: New file.
2408 * gdb.base/sss-bp-on-user-bp.exp: New file.
2409
522c09bf
DB
24102014-05-30 David Blaikie <dblaikie@gmail.com>
2411
2412 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
2413 gnu_inline semantics via attribute.
2414 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
2415 source explicitly specifies the required semantics.
2416
bf4ef81e
MR
24172014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
2418
2419 * gdb.reverse/sigall-reverse.exp: Fix a typo.
2420
329ea579
PA
24212014-05-29 Pedro Alves <palves@redhat.com>
2422 Tom Tromey <tromey@redhat.com>
2423
2424 * gdb.base/async-shell.exp: Don't enable target-async.
2425 * gdb.base/async.exp
2426 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
2427 parameter. Adjust.
2428 (top level): Don't test with "target-async".
2429 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
2430 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
2431 * gdb.base/inferior-died.exp: Don't enable target-async.
2432 * gdb.base/interrupt-noterm.exp: Likewise.
2433 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
2434 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2435 * gdb.mi/mi-nonstop.exp: Likewise.
2436 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2437 * gdb.mi/mi-nsintrall.exp: Likewise.
2438 * gdb.mi/mi-nsmoribund.exp: Likewise.
2439 * gdb.mi/mi-nsthrexec.exp: Likewise.
2440 * gdb.mi/mi-watch-nonstop.exp: Likewise.
2441 * gdb.multi/watchpoint-multi.exp: Adjust comment.
2442 * gdb.python/py-evsignal.exp: Don't enable target-async.
2443 * gdb.python/py-evthreads.exp: Likewise.
2444 * gdb.python/py-prompt.exp: Likewise.
2445 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
2446 * gdb.server/solib-list.exp: Don't enable target-async.
2447 * gdb.threads/thread-specific-bp.exp: Likewise.
2448 * lib/mi-support.exp: Adjust to use mi-async.
2449
fd664c91
PA
24502014-05-29 Pedro Alves <palves@redhat.com>
2451
2452 PR gdb/13860
2453 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
2454 reason, even in sync mode.
2455
251bde03
PA
24562014-05-29 Pedro Alves <palves@redhat.com>
2457 Hui Zhu <hui@codesourcery.com>
2458
2459 PR PR15693
2460 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
2461 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
2462 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
2463 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
2464
7f3c0343
JB
24652014-05-28 Joel Brobecker <brobecker@adacore.com>
2466
2467 * config/monitor.exp (gdb_target_monitor): Replace use of
2468 "set remotebaud" by "set serial baud".
2469
b2715b27
AW
24702014-05-26 Andy Wingo <wingo@igalia.com>
2471
2472 * gdb.guile/scm-breakpoint.exp:
2473 * gdb.guile/scm-gsmob.exp: Update to use plain old object
2474 properties instead of gdb-object-properties.
2475
498a4489
YQ
24762014-05-26 Yao Qi <yao@codesourcery.com>
2477
2478 * gdb.server/no-thread-db.exp: Specify source file name
2479 explicitly when setting a breakpoint.
2480
589fdceb
MM
24812014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2482
2483 * gdb.btrace/vdso.c: New.
2484 * gdb.btrace/vdso.exp: New.
2485
e9089e05
MM
24862014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2487
2488 * gdb.base/gcore.exp (capture_command_output): Move ...
2489 * lib/gdb.exp (capture_command_output): ... here.
2490
67b5c0c1
MM
24912014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2492
2493 * gdb.btrace/data.exp: Test memory access during btrace replay.
2494
a2199296
SM
24952014-05-22 Simon Marchi <simon.marchi@ericsson.com>
2496
2497 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
2498
17b2616c
PA
24992014-05-21 Pedro Alves <palves@redhat.com>
2500
2501 PR gdb/13860
2502 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
2503 (top level): Test that output related to execution commands is
2504 sent to the console with CLI commands, but not with MI commands.
2505 Test that breakpoint events are always mirrored to the console.
2506 Also expect the new source line to be output after a "next" in
2507 async mode too. Make it a pass/fail test.
2508 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
2509 output.
2510 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
2511
5166082f
PA
25122014-05-21 Pedro Alves <palves@redhat.com>
2513
2514 * gdb.base/list.exp (build_pattern, test_list): New procedures.
2515 Use them to test variations of "list" after reaching a breakpoint.
2516 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
2517 Test "list" with listsize 10 after reaching a breakpoint.
2518 * gdb.python/python.exp (decode_line current location line
2519 number): Adjust expected line number.
2520
2f25d70f
SM
25212014-05-21 Simon Marchi <simon.marchi@ericsson.com>
2522
2523 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
2524 behavior for $args, pass it directly to "run".
2525
ff604a67
MR
25262014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
2527
2528 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
2529 30000 to 65536.
2530
6a3cb8e8
PA
25312014-05-21 Pedro Alves <palves@redhat.com>
2532
2533 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
2534 auto-connect-native-target off".
2535 * gdb.base/auto-connect-native-target.c: New file.
2536 * gdb.base/auto-connect-native-target.exp: New file.
2537
4ebfc96e
PA
25382014-05-21 Pedro Alves <palves@redhat.com>
2539
2540 * gdb.base/default.exp: Test "target native" instead of "target
2541 child".
2542
36d46afb
MW
25432014-05-21 Mark Wielaard <mjw@redhat.com>
2544
2545 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2546
5876f503
JK
25472014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2548
2549 Fix TLS access for -static -pthread.
2550 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
2551 <HAVE_TLS> (thread_function, main): Initialize it.
2552 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
2553 Add clean_restart.
2554 <$have_tls != "">: Check TLSVAR.
2555
0256a6ac
PA
25562014-05-21 Pedro Alves <palves@redhat.com>
2557
2558 * gdb.base/dcache-line-read-error.c: New.
2559 * gdb.base/dcache-line-read-error.exp: New.
2560
936d2992
PA
25612014-05-20 Pedro Alves <palves@redhat.com>
2562
2563 * gdb.base/compare-sections.c: New file.
2564 * gdb.base/compare-sections.exp: New file.
2565
802e8e6d
PA
25662014-05-20 Pedro Alves <palves@redhat.com>
2567
2568 * gdb.base/break-idempotent.c: New file.
2569 * gdb.base/break-idempotent.exp: New file.
2570
e59fa00f
MM
25712014-05-20 Markus Metzger <markus.t.metzger@intel.com>
2572
2573 * gdb.btrace/nohist.exp: New.
2574
8b696e31
YQ
25752014-05-20 Yao Qi <yao@codesourcery.com>
2576
2577 * lib/gdb.exp (gdb_init): Set timeout if test file is under
2578 gdb.reverse directory and gdb_reverse_timeout exists in board
2579 setting.
2580 * README: Document gdb_reverse_timeout.
2581
73c9764f
YQ
25822014-05-20 Yao Qi <yao@codesourcery.com>
2583
2584 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
2585 'test_file_name'. Treat args as a string instead of a list.
2586 (gdb_init): Rename argument 'args' by 'test_file_name'.
2587
f1f4348a
JK
25882014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2589
2590 * gdb.arch/powerpc-power.exp: New file.
2591 * gdb.arch/powerpc-power.s: New file.
2592
0dbe70ce
DE
25932014-05-16 Doug Evans <dje@google.com>
2594
2595 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
2596 * gdb.base/completion.exp: Check that all expected files exist
2597 before doing file completion.
0dbe70ce 2598
8d551b02
DE
25992014-05-16 Doug Evans <dje@google.com>
2600
2601 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
2602 Update.
2603 (do_syscall_tests_without_xml): Update.
2604
73eb7709
PA
26052014-05-16 Pedro Alves <palves@redhat.com>
2606
2607 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
2608 instead of "unknown output after running".
2609
3fae92fc
YQ
26102014-05-16 Yao Qi <yao@codesourcery.com>
2611
2612 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
2613 file1.txt from host at the end.
2614 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2615
c2b2ccc5
DE
26162014-05-15 Doug Evans <dje@google.com>
2617
2618 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
2619 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
2620 loading file. Add test for TU lookup.
2621
8c217a4b
SM
26222014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2623
2624 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
2625 calling "-exec-arguments" or "set args" before running the
2626 inferior.
2627
3deb39c6
SM
26282014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2629
2630 * lib/mi-support.exp (mi_expect_stop): Expect message for
2631 inferiors that exit with non-zero exit code.
2632
71a79f8c
YQ
26332014-05-14 Yao Qi <yao@codesourcery.com>
2634
2635 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
2636 match absolute path on remote host.
2637 (test_file_list_exec_source_files): Remove "/" from the
2638 pattern.
2639
f23fcd46
YQ
26402014-05-14 Yao Qi <yao@codesourcery.com>
2641
2642 * boards/local-remote-host-notty.exp (${board}_file): New
2643 proc.
2644
9404b58f
KM
26452014-05-07 Kyle McMartin <kyle@redhat.com>
2646
2647 Pushed by Joel Brobecker <brobecker@adacore.com>.
2648 * gdb.arch/aarch64-atomic-inst.c: New file.
2649 * gdb.arch/aarch64-atomic-inst.exp: New file.
2650
5e45f04c
YQ
26512014-05-07 Yao Qi <yao@codesourcery.com>
2652
2653 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
2654 in current context" too.
2655
c888a17d
KS
26562014-05-05 Keith Seitz <keiths@redhat.com>
2657
2658 * gdb.linespec/ls-dollar.exp: Add test for linespec
2659 file:convenience_variable.
2660
290a839c
YQ
26612014-05-05 Yao Qi <yao@codesourcery.com>
2662
2663 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
2664 traceframes into tfile and ctf trace files. Read data from
2665 trace file and test collected data.
2666 (gdb_collect_locals_test): Likewise.
2667 (gdb_unavailable_registers_test): Likewise.
2668 (gdb_unavailable_floats): Likewise.
2669 (gdb_collect_globals_test): Likewise.
2670 (top-level): Append "ctf" to trace_file_targets if GDB
2671 supports.
2672
b5262cd0
YQ
26732014-05-05 Yao Qi <yao@codesourcery.com>
2674
2675 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
2676 code to ...
2677 (gdb_collect_args_test_1): ... it. New proc.
2678 (gdb_collect_locals_test): Move some code to ...
2679 (gdb_collect_locals_test_1): ... it. New proc.
2680 (gdb_unavailable_registers_test): Move some code to ...
2681 (gdb_unavailable_registers_test_1): ... it. New proc.
2682 (gdb_unavailable_floats): Move some code to ...
2683 (gdb_unavailable_floats_1): ... it. New proc.
2684
30a1e6cc
SDJ
26852014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2686
2687 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
2688 probes to test for bitness recognition.
2689 * gdb.arch/amd64-stap-optional-prefix.exp
2690 (test_probe_value_without_reg): New procedure.
2691 Add code to test for different kinds of bitness.
2692
f33da99a
SDJ
26932014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2694
2695 PR breakpoints/16889
2696 * gdb.arch/amd64-stap-optional-prefix.S: New file.
2697 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2698
5b80f00d
PA
26992014-05-01 Pedro Alves <palves@redhat.com>
2700
2701 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
2702 gdb_file_cmd if no file is specified.
2703 * boards/native-extended-gdbserver.exp (gdb_load): Use the
2704 last_loaded_file to set the remote exec-file.
2705
f8c2a73c
PA
27062014-05-01 Pedro Alves <palves@redhat.com>
2707
2708 * boards/local-remote-host.exp: New file.
2709
be6e8ac7
PA
27102014-05-01 Pedro Alves <palves@redhat.com>
2711
2712 * boards/local-remote-host.exp: Rename to ...
2713 * boards/local-remote-host-notty.exp: ... this.
2714
cac0dc8f
JB
27152014-04-28 Joel Brobecker <brobecker@adacore.com>
2716
2717 * gdb.ada/dyn_arrayidx: New testcase.
2718
9730e6cc
YQ
27192014-04-26 Yao Qi <yao@codesourcery.com>
2720
2721 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
2722 and compute the length of function main. Save it in
2723 $main_length.
2724 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
2725 (top-level): Use gdb_compile to compile objects into
2726 executable and restart GDB. Remove invocation to
2727 prepare_for_testing.
2728
7ae1a6a6
PA
27292014-04-25 Simon Marchi <simon.marchi@ericsson.com>
2730 Pedro Alves <palves@redhat.com>
2731
2732 PR server/16255
2733 * gdb.multi/multi-attach.c: New file.
2734 * gdb.multi/multi-attach.exp: New file.
2735
4082afcc
PA
27362014-04-25 Pedro Alves <palves@redhat.com>
2737
2738 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
2739 user.
2740 (top level): Test that "set remote conditional-breakpoints-packet
2741 off" works as intended.
2742 * gdb.base/dprintf.exp: Test that "set remote
2743 breakpoint-commands-packet off" works as intended.
2744 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
2745 New function.
2746 (top level): Call it.
2747 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
2748 remote fast-tracepoints-packet off" works as intended.
2749 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
2750 * lib/gdb.exp (gdb_is_target_remote): ... here.
2751
2abc3f8d
DB
27522014-04-24 David Blaikie <dblaikie@gmail.com>
2753
2754 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
2755 ensure clang would not discard them.
2756 * gdb.base/gdbvars.c: Ditto.
2757 * gdb.base/memattr.c: Ditto.
2758 * gdb.base/whatis.c: Ditto.
2759 * gdb.python/py-prettyprint.c: Ditto.
2760 * gdb.trace/actions.c: Ditto.
2761 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
2762 ensure clang would not discard it.
2763
bfd39632
DB
27642014-04-24 David Blaikie <dblaikie@gmail.com>
2765
2766 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
2767 clang to emit the full definition of type required by the test
2768 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
2769
22842ff6
DB
27702014-04-24 David Blaikie <dblaikie@gmail.com>
2771
2772 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
2773 coax Clang into emitting the definition of the type.
2774 * gdb.cp/pr10728-x.h (y): Ditto.
2775 * gdb.cp/pr10728-y.cc (y): Ditto.
2776
c2e827ad
DB
27772014-04-24 David Blaikie <dblaikie@gmail.com>
2778
2779 * gdb.base/label.exp: XFAIL label related tests under Clang.
2780 * gdb.cp/cplabel.exp: Ditto.
2781 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
2782 under Clang those using labels.
2783
4c2d33e7
YQ
27842014-04-25 Yao Qi <yao@codesourcery.com>
2785
2786 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
2787 double_label.
2788 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
2789 partial_label and double_label.
2790
56083b99
DB
27912014-04-24 David Blaikie <dblaikie@gmail.com>
2792
2793 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
2794
25d4e99d
DB
27952014-04-24 David Blaikie <dblaikie@gmail.com>
2796
2797 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
2798 of the function to work across GCC and Clang.
2799 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
2800 pointer types (const void ** const V void **).
2801
01f9f808
MS
28022014-04-24 Michael Sturm <michael.sturm@mintel.com>
2803 Walfred Tedeschi <walfred.tedeschi@intel.com>
2804
2805 * Makefile.in (EXECUTABLES): Added i386-avx512.
2806 * gdb.arch/i386-avx512.c: New file.
2807 * gdb.arch/i386-avx512.exp: Likewise.
2808
4b48d439
KS
28092014-04-23 Keith Seitz <keiths@redhat.com>
2810
2811 * lib/mi-support.exp (mi_list_breakpoints): Delete.
2812 (mi_make_breakpoint_table): New procedure.
2813 (mi_create_breakpoint): Use mi_make_breakpoint
2814 and return the result.
2815 (mi_make_breakpoint): New procedure.
2816 (mi_build_kv_pairs): New procedure.
2817
2818 * gdb.mi/mi-break.exp: Remove unused globals,
2819 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
2820 All callers updated.
2821 * gdb.mi/mi-dprintf.exp: Use variable to track command
2822 number.
2823 Update all callers of mi_create_breakpoint and use
2824 mi_make_breakpoint_table.
2825 Remove any unused global variables.
2826 * gdb.mi/mi-nonstop.exp: Likewise.
2827 * gdb.mi/mi-nsintrall.exp: Likewise.
2828 * gdb.mi/mi-nsmoribund.exp: Likewise.
2829 * gdb.mi/mi-nsthrexec.exp: Likewise.
2830 * gdb.mi/mi-reverse.exp: Likewise.
2831 * gdb.mi/mi-simplerun.exp: Likewise.
2832 * gdb.mi/mi-stepn.exp: Likewise.
2833 * gdb.mi/mi-syn-frame.exp: Likewise.
2834 * gdb.mi/mi-until.exp: Likewise.
2835 * gdb.mi/mi-var-cp.exp: Likewise.
2836 * gdb.mi/mi-var-display.exp: Likewise.
2837 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2838 * gdb.mi/mi2-var-child.exp: Likewise.
2839 * gdb.mi/mi-vla-c99.exp: Likewise.
2840 * lib/mi-support.exp: Likewise.
2841
2842 From Ian Lance Taylor <iant@cygnus.com>:
2843 * lib/gdb.exp (parse_args): New procedure.
2844
08351840
PA
28452014-04-23 Pedro Alves <palves@redhat.com>
2846
2847 * gdb.base/break-unload-file.c: New file.
2848 * gdb.base/break-unload-file.exp: New file.
2849 * gdb.base/sym-file-lib.c (baz): New function.
2850 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
2851 field.
2852 (load): Store the segment's mapped size.
2853 (unload): New function.
2854 (unload_shlib): New function.
2855 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
2856 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
2857 set a breakpoint at baz, and call it.
2858 * gdb.base/sym-file.exp: New tests for stale breakpoint
2859 instructions.
2860
076855f9
PA
28612014-04-23 Pedro Alves <palves@redhat.com>
2862
2863 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
2864 * gdb.base/hbreak-in-shr-unsupported.c: New file.
2865 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
2866 * gdb.base/hbreak-unmapped.c: New file.
2867 * gdb.base/hbreak-unmapped.exp: New file.
2868 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
2869 * lib/gdb.exp (gdb_is_target_remote): ... here.
2870
483805cf
PA
28712014-04-22 Pedro Alves <palves@redhat.com>
2872
2873 * gdb.base/consecutive-step-over.c: New file.
2874 * gdb.base/consecutive-step-over.exp: New file.
2875
06d97543
PA
28762014-04-22 Pedro Alves <palves@redhat.com>
2877
2878 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
2879 instead of send_gdb/gdb_expect.
2880
b4429ea2
YQ
28812014-04-22 Yao Qi <yao@codesourcery.com>
2882
2883 * lib/trace-support.exp (generate_tracefile): New procedure.
2884 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
2885 return 0.
2886 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
2887 if generate_tracefile returns 1.
2888
51d48146
PA
28892014-04-18 Tom Tromey <palves@redhat.com>
2890 Pedro alves <tromey@redhat.com>
2891
2892 PR backtrace/15558
2893 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
2894 with a backtrace limit.
2895 * gdb.python/py-frame-inline.exp: Test running to an inline
2896 function with a backtrace limit, and printing the newest frame.
2897 * gdb.python/py-frame-inline.c (main): Call f.
2898
bd1dce5f
MS
28992014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2900
2901 * gdb.java/jnpe.exp: Drop srcdir from untested path.
2902
40d1a503
MS
29032014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2904
2905 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
2906 Drop prefix from unsupported source file path.
2907
389b98f7
YQ
29082014-04-17 Yao Qi <yao@codesourcery.com>
2909
2910 * lib/gdb.exp (with_target_charset): New proc.
2911 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
2912 with_target_charset.
2913 (test_print_strings): Likewise.
2914 (test_repeat_bytes): Likewise.
2915 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
2916 for some tests.
2917
22869d73
KS
29182014-04-16 Keith Seitz <keiths@redhat.com>
2919
2920 PR gdb/15827
2921 * gdb.dwarf2/corrupt.c: New file.
2922 * gdb.dwarf2/corrupt.exp: New file.
2923
c4f87ca6
KS
29242014-04-16 Keith Seitz <keiths@redhat.com>
2925
2926 PR c++/16597
2927 * gdb.cp/namelessclass.cc: New file.
2928 * gdb.cp/namelessclass.exp: New file.
2929 * gdb.cp/namelessclass.S: New file.
2930
ab19de87
DE
29312014-04-16 Doug Evans <dje@google.com>
2932
2933 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
2934 Add comment.
2935 (gdbserver_default_get_comm_port): New function.
2936 (gdbserver_start): Check if board file provided
2937 "gdbserver,get_comm_port" and use it if so.
2938 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
2939 (gdb,socketport): Set to "stdio".
2940 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
2941 (stdio_gdbserver_template): Delete.
2942 (${board}_get_remote_address): Update.
2943 (${board}_build_remote_cmd): Delete.
2944 (${board}_get_comm_port): New function.
2945 (${board}_spawn): Update.
2946 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
2947 Delete.
2948 (${board}_get_remote_address): Update.
2949 (${board}_get_comm_port): New function.
2950
fc98a809
AB
29512014-04-16 Andrew Burgess <aburgess@broadcom.com>
2952
2953 * gdb.base/memattr.exp: Improve regexps to handle memory regions
2954 appearing in any order.
2955
87fd9e6e
DE
29562014-04-15 Doug Evans <dje@google.com>
2957
2958 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
2959 uninitialized value of "description".
2960
099fc3ea
KS
29612014-04-15 Keith Seitz <keiths@redhat.com>
2962
2963 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
2964 Remove unused globals.
2965 (test_running_the_program): Likewise.
2966 (test_controlled_execution): Likewise.
2967 (test_controlling_breakpoints): Likewise.
2968 (test_program_termination): Likewise.
2969
5da151d4
KS
29702014-04-15 Keith Seitz <keiths@redhat.com>
2971
2972 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
2973 unused globals.
2974 (test_rbreak_creation_and_listing): Likewise.
2975 (test_ignore_count): Likewise.
2976 (test_error): Likewise.
2977
35e5d2f0
PA
29782014-04-15 Pedro Alves <palves@redhat.com>
2979
2980 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
2981 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
2982 sym-file-loader.c.
2983 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2984 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2985 to sym-file-loader.c.
2986 (struct library): Forward declare.
2987 (load_shlib, lookup_function): Change prototypes.
2988 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2989 (translate_offset): Remove declarations.
2990 (get_text_addr): New declaration.
2991 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
2992 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
2993 sym-file-loader.h.
2994 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2995 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2996 here from sym-file-loader.h.
2997 (struct library): New structure.
2998 (load_shlib, lookup_function): Change prototypes and adjust to
2999 work with a struct library.
3000 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3001 (translate_offset): Make static.
3002 (get_text_addr): New function.
3003 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
3004
eb4c1710
PA
30052014-04-15 Pedro Alves <palves@redhat.com>
3006
3007 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
3008
2d1baf52
PA
30092014-04-15 Pedro Alves <palves@redhat.com>
3010
3011 * gdb.base/sym-file-loader.c: Include <limits.h>.
3012 (SELF_LINK): New define.
3013 (get_origin): New function.
3014 (load_shlib): Use it.
3015 * gdb.base/sym-file.exp: Don't early return if the target is
3016 remote. Use runto_main, and issue fail is that fails. Use
3017 gdb_load_shlibs.
3018 (shlib_name): Delete.
3019 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
3020
7dd6df01
PA
30212014-04-15 Pedro Alves <palves@redhat.com>
3022
3023 * gdb.base/sym-file.exp: Remove regex characters from test
3024 message. Don't refer to breakpoint numbers in test messages.
3025
b50c8614
KS
30262014-04-14 Keith Seitz <keiths@redhat.com>
3027
3028 PR c++/16253
3029 * gdb.cp/var-tag.cc: New file.
3030 * gdb.cp/var-tag.exp: New file.
3031 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3032 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3033 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3034 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3035
3d567982
TT
30362014-04-14 Tom Tromey <tromey@redhat.com>
3037
3038 * gdb.cp/classes.exp (test_enums): Handle underlying type.
3039 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
3040 type.
3041 * gdb.cp/enum-class.exp: New file.
3042 * gdb.cp/enum-class.cc: New file.
3043
0626fc76
TT
30442014-04-14 Tom Tromey <tromey@redhat.com>
3045
3046 * gdb.dwarf2/enum-type.exp: New file.
3047
dca325b3
SA
30482014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3049
3050 * gdb.mi/mi-vla-c99.exp: New file.
3051 * gdb.mi/vla.c: New file.
3052
5854b38a
SA
30532014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3054
3055 * gdb.base/vla-datatypes.c: New file.
3056 * gdb.base/vla-datatypes.exp: New file.
3057
463bb957
SA
30582014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3059
3060 * gdb.base/vla-ptr.c: New file.
3061 * gdb.base/vla-ptr.exp: New file.
3062
3dd170be
SA
30632014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3064
3065 * gdb.dwarf2/count.exp: New file.
3066
5ecaaa66
SA
30672014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3068
3069 * gdb.base/vla-sideeffect.c: New file.
3070 * gdb.base/vla-sideeffect.exp: New file.
3071
41f1ada5
DB
30722014-04-14 David Blaikie <dblaikie@gmail.com>
3073
3074 * gdb.mi/non-stop.c: Add return value for non-void function return
3075 statement.
3076 * gdb.threads/staticthreads.c: Ditto.
3077
0be03e84
DE
30782014-04-12 Siva Chandra Reddy <sivachandra@google.com>
3079 Doug Evans <xdje42@gmail.com>
3080
3081 * gdb.guile/scm-value.c: Improve test case.
3082 * gdb.guile/scm-value.exp: Add new test.
3083
f180a1fb
DB
30842014-04-11 David Blaikie <dblaikie@gmail.com>
3085
3086 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
3087 override Clang's default.
3088
6b662e19
JB
30892014-04-11 Joel Brobecker <brobecker@adacore.com>
3090
3091 Revert the following changes (regressions):
3092
3093 * gdb.base/vla-sideeffect.c: New file.
3094 * gdb.base/vla-sideeffect.exp: New file.
3095
3096 * gdb.dwarf2/count.exp: New file.
3097
3098 * gdb.base/vla-multi.c: New file.
3099 * gdb.base/vla-multi.exp: New file.
3100
3101 * gdb.base/vla-ptr.c: New file.
3102 * gdb.base/vla-ptr.exp: New file.
3103
3104 * gdb.base/vla-datatypes.c: New file.
3105 * gdb.base/vla-datatypes.exp: New file.
3106
3107 * gdb.mi/mi-vla-c99.exp: New file.
3108 * gdb.mi/vla.c: New file.
3109
245a5f0b
KS
31102014-04-11 Keith Seitz <keiths@redhat.com>
3111
3112 PR c++/16675
3113 * gdb.cp/cpsizeof.exp: New file.
3114 * gdb.cp/cpsizeof.cc: New file.
3115
58a84dcf
SA
31162014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3117
191a8a90
JB
3118 * gdb.mi/mi-vla-c99.exp: New file.
3119 * gdb.mi/vla.c: New file.
58a84dcf 3120
c8655f75
SA
31212014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3122
3123 * gdb.base/vla-datatypes.c: New file.
3124 * gdb.base/vla-datatypes.exp: New file.
3125
024e13b4
SA
31262014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3127
3128 * gdb.base/vla-ptr.c: New file.
3129 * gdb.base/vla-ptr.exp: New file.
3130
1a237e0e
SA
31312014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3132
3133 * gdb.base/vla-multi.c: New file.
3134 * gdb.base/vla-multi.exp: New file.
3135
504f3432
SA
31362014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3137
3138 * gdb.dwarf2/count.exp: New file.
3139
3bce8237
SA
31402014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3141
191a8a90
JB
3142 * gdb.base/vla-sideeffect.c: New file.
3143 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 3144
322f9c21
YQ
31452014-04-11 Yao Qi <yao@codesourcery.com>
3146
3147 * gdb.base/completion.exp: Check file exists before running tests
3148 on file completion.
3149
d708bcd1
PA
31502014-04-10 Pedro Alves <palves@redhat.com>
3151
3152 * gdb.base/cond-eval-mode.c: New file.
3153 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
3154 prepare_for_testing to build the new file. Check result of
3155 runto_main.
3156 (test_break, test_watch): New procedures.
3157 (top level): Use them.
3158
ae1d2761
PM
31592014-04-08 Pierre Muller <muller@sourceware.org>
3160
3161 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
3162 Ctrl-V use for mingw hosts.
3163
7af389b8
SC
31642014-04-07 Siva Chandra Reddy <sivachandra@google.com>
3165
3166 * gdb.python/py-value.c: Improve test case.
3167 * gdb.python/py-value.exp: Add new test.
3168
5e703181
DE
31692014-04-07 David Blaikie <dblaikie@gmail.com>
3170
3171 * lib/compiler.c: Identify the clang compiler.
3172 * lib/compiler.cc: Ditto.
3173
9810b410
YQ
31742014-04-03 Yao Qi <yao@codesourcery.com>
3175
3176 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
3177
98d1b8dc
AB
31782014-04-01 Anton Blanchard <anton@samba.org>
3179
3180 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
3181 messages unique.
3182
3114cea1
AB
31832014-04-01 Anton Blanchard <anton@samba.org>
3184
3185 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
3186 prepare_for_testing.
3187
62f7182c
AB
31882014-04-01 Anton Blanchard <anton@samba.org>
3189
3190 * gdb.arch/ppc64-atomic-inst.c: Remove.
3191 * gdb.arch/ppc64-atomic-inst.S: New file.
3192 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
3193
770e7fc7
DE
31942014-03-31 Doug Evans <dje@google.com>
3195
3196 * gdb.base/print-symbol-loading-lib.c: New file.
3197 * gdb.base/print-symbol-loading-main.c: New file.
3198 * gdb.base/print-symbol-loading.exp: New file.
3199
46e2bafa
YQ
32002014-03-31 Yao Qi <yao@codesourcery.com>
3201
3202 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
3203
8776cfe9
JB
32042014-03-28 Joel Brobecker <brobecker@adacore.com>
3205
3206 * gdb.ada/mi_dyn_arr: New testcase.
3207
5d1ef361
DE
32082014-03-27 Doug Evans <dje@google.com>
3209
3210 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
3211
b5bee914
YQ
32122014-03-27 Yao Qi <yao@codesourcery.com>
3213
3214 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
3215 if target is nios2-*-*.
3216
0d4d0e77
YQ
32172014-03-26 Yao Qi <yao@codesourcery.com>
3218
3219 * lib/gdb.exp (readline_is_used): New proc.
3220 * gdb.base/completion.exp: Move tests on command complete up.
3221 Skip the rest of tests if readline is not used.
3222 * gdb.ada/complete.exp: Skp the test if readline is not
3223 used.
3224 * gdb.base/filesym.exp: Likewise.
3225 * gdb.base/macscp.exp: Likewise.
3226 * gdb.base/readline-ask.exp: Likewise.
3227 * gdb.base/readline.exp: Likewise.
3228 * gdb.python/py-cmd.exp: Likewise.
3229 * gdb.trace/tfile.exp: Likewise.
3230
29361eee
YQ
32312014-03-26 Yao Qi <yao@codesourcery.com>
3232
3233 * gdb.base/macscp.exp: Fix code format issues.
3234
bc9a5525
UW
32352014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
3236
3237 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
3238 * gdb.asm/powerpc64le.inc: New file.
3239
d3839ede
PA
32402014-03-25 Pedro Alves <palves@redhat.com>
3241 Doug Evans <dje@google.com>
3242
3243 * gdb.base/source-execution.c: New file.
3244 * gdb.base/source-execution.exp: New file.
3245 * gdb.base/source-execution.gdb: New file.
3246
01672a57
DE
32472014-03-24 Doug Evans <dje@google.com>
3248
3249 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
3250 using fission.
3251
88bbeca9
HZ
32522014-03-24 Hui Zhu <hui@codesourcery.com>
3253 Pedro Alves <palves@redhat.com>
3254
3255 PR breakpoints/16101
3256 * gdb.base/dprintf.exp: Use unsupported rather than changing the
3257 test pass/fail messages. Detect missing support for dprintf when
3258 breakpoints are actually inserted.
3259 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
3260 breakpoints are actually inserted.
3261 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
3262 fails.
3263
d2348791
JK
32642014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3265
3266 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
3267
feef67ab
DE
32682014-03-22 Doug Evans <xdje42@gmail.com>
3269
3270 * gdb.python/python.exp (python not supported): Verify multi-line
3271 python command issues an error.
25d743f9 3272 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 3273 guile command issues an error.
feef67ab 3274
ecebef6a
MR
32752014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
3276
3277 * gdb.threads/thread-specific.exp: Handle the lack of usable
3278 $this_breakpoint and $this_thread.
3279
ccdd1909
HZ
32802014-03-21 Hui Zhu <hui@codesourcery.com>
3281
3282 * gdb.base/attach.exp (do_command_attach_tests): New.
3283
beb460e8
PA
32842014-03-20 Tom Tromey <tromey@redhat.com>
3285 Pedro Alves <palves@redhat.com>
3286
3287 PR cli/15718
3288 * gdb.base/condbreak-call-false.c: New file.
3289 * gdb.base/condbreak-call-false.exp: New file.
3290
40acf43a
PA
32912014-03-20 Pedro Alves <palves@redhat.com>
3292
3293 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
3294 Delete.
3295 (block_signals, unblock_signals): Delete.
3296 (child_function_2, main): Remove references to deleted variable
3297 and functions.
3298
9f5e1e02
PA
32992014-03-20 Pedro Alves <palves@redhat.com>
3300
3301 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
3302 Use pthread_kill to signal thread 2.
3303 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3304 Adjust to make the test send itself a signal rather than using the
3305 host's "kill" command.
3306
99619bea
PA
33072014-03-20 Pedro Alves <palves@redhat.com>
3308
3309 * gdb.threads/multiple-step-overs.c: New file.
3310 * gdb.threads/multiple-step-overs.exp: New file.
3311 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3312 Adjust expected infrun debug output.
3313
2adfaa28
PA
33142014-03-20 Pedro Alves <palves@redhat.com>
3315
3316 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
3317 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
3318
31e77af2
PA
33192014-03-20 Pedro Alves <palves@redhat.com>
3320
3321 PR breakpoints/7143
3322 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
3323 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
3324 of gdb_test_multiple.
3325 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
3326 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
3327
b9f437de
PA
33282014-03-20 Pedro Alves <palves@redhat.com>
3329
3330 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
3331 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
3332
05adc73e
PA
33332014-03-19 Pedro Alves <palves@redhat.com>
3334
3335 * gdb.base/async.exp: Remove early return.
3336
6048b950
PA
33372014-03-19 Pedro Alves <palves@redhat.com>
3338
3339 * gdb.base/async.exp (step& tests): Pass explicit test messages.
3340
8bcfb00a
PA
33412014-03-19 Pedro Alves <palves@redhat.com>
3342
3343 * gdb.base/async.exp (test_background): Expect \r\n after
3344 "completed." in the fail pattern.
3345
884e37dc
PA
33462014-03-19 Pedro Alves <palves@redhat.com>
3347
3348 * gdb.base/async.exp (test_background): New procedure.
3349 Use it for all background execution command tests.
3350
148e57e2
PA
33512014-03-19 Pedro Alves <palves@redhat.com>
3352
3353 * gdb.base/async.exp: Use prepare_for_testing.
3354
f48088c7
PA
33552014-03-19 Pedro Alves <palves@redhat.com>
3356
3357 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
3358 the same line.
3359
e2f6c966
PA
33602014-03-19 Pedro Alves <palves@redhat.com>
3361
3362 * gdb.base/async.c (main): Add "jump here" and "until here" line
3363 marker comments.
3364 * gdb.base/async.exp (jump_here): New global.
3365 (jump& test): Use it.
3366 (until_here): New global.
3367 (until& test): Use it.
3368
c30568d4
PA
33692014-03-19 Pedro Alves <palves@redhat.com>
3370
3371 * gdb.base/async.exp: Don't frob gdb_protocol.
3372
0172b6a7
DE
33732014-03-18 Doug Evans <xdje42@gmail.com>
3374
3375 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
3376 Fix spelling of exec-done-display.
3377
06c868a8
JK
33782014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3379
3380 PR gdb/15358
3381 * gdb.base/gdb-sigterm.c: New file.
3382 * gdb.base/gdb-sigterm.exp: New file.
3383
0c7e1a46
PA
33842014-03-18 Pedro Alves <palves@redhat.com>
3385
3386 PR gdb/13860
3387 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
3388 * lib/mi-support.exp (mi_expect_stop): Add special handling for
3389 solib-event.
3390
f7c77d93
JB
33912014-03-17 Joel Brobecker <brobecker@adacore.com>
3392
3393 * gdb.ada/pckd_arr_ren: New testcase.
3394
5a1e8c7a
DE
33952014-03-13 Doug Evans <xdje42@gmail.com>
3396
3397 PR guile/16612
3398 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
3399 collect after discarding symbols.
3400
350e1a76
DE
34012014-03-13 Ludovic Courtès <ludo@gnu.org>
3402 Doug Evans <xdje42@gmail.com>
3403
3404 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
3405 to history survives a gc.
3406
a69900ae
PA
34072014-03-13 Pedro Alves <palves@redhat.com>
3408
3409 * gdb.base/default.exp: Don't test "target procfs".
3410
5db9f0bd
PA
34112014-03-13 Pedro Alves <palves@redhat.com>
3412
3413 * gdb.base/default.exp: Update "target child" and "target procfs"
3414 tests to not expect "Unix".
3415
b3ccfe11
TT
34162014-03-12 Tom Tromey <tromey@redhat.com>
3417
3418 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
3419 New procs. Add target-async tests.
3420 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
3421 Add target-async tests.
3422
646f4417
AA
34232014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3424
3425 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
3426 'func_start' and 'func_end' for the beginning and end of the
3427 function code, respectively.
3428 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
3429 'func_end' instead of 'func' and 'main'.
3430
288c211f
AA
34312014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3432
3433 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
3434 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
3435 generate the debug info assembler source.
3436
e0c0f156
AA
34372014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3438
3439 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
3440 * gdb.dwarf2/arr-subrange.exp: Likewise.
3441 * gdb.dwarf2/dwz.exp: Likewise.
3442 * gdb.dwarf2/method-ptr.exp: Likewise.
3443 * gdb.dwarf2/missing-sig-type.exp: Likewise.
3444 * gdb.dwarf2/subrange.exp: Likewise.
3445 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
3446 * gdb.dwarf2/implptrpiece.exp: Likewise.
3447 * gdb.dwarf2/nostaticblock.exp: Likewise.
3448
0e5c4555
AA
34492014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3450
3451 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
3452 directory to absolute path name arguments.
3453
5ec18f2b
JG
34542014-03-10 Joel Brobecker <brobecker@adacore.com>
3455
3456 * gdb.ada/tagged_access: New testcase.
3457
847fc4f2
MM
34582014-03-07 Markus Metzger <markus.t.metzger@intel.com>
3459
3460 * gdb.btrace/data.exp: Update expected output.
3461
cc3da688
YQ
34622014-03-06 Yao Qi <yao@codesourcery.com>
3463
3464 * gdb.trace/pr16508.exp: New file.
3465
0f26cec1
PA
34662014-03-05 Pedro Alves <palves@redhat.com>
3467
3468 PR gdb/16575
3469 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
3470 procedure.
3471 (top level): Adjust to use it. Add tests that exercise breakpoint
3472 interaction with the code-cache.
3473
7a5a839f
LC
34742014-02-26 Ludovic Courtès <ludo@gnu.org>
3475
3476 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
3477 test for 'history-append!'.
3478
31aa7e4e
JB
34792014-02-26 Joel Brobecker <brobecker@adacore.com>
3480
3481 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
3482 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
3483 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
3484 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
3485 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
3486 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
3487
1b588015
JB
34882014-02-26 Joel Brobecker <brobecker@adacore.com>
3489
3490 * testsuite/gdb.python/py-pp-re-notag.c: New file.
3491 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
3492 * testsuite/gdb.python/py-pp-re-notag.p: New file.
3493
55426c9d
JB
34942014-02-26 Joel Brobecker <brobecker@adacore.com>
3495
3496 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
3497
dc53a7ad
JB
34982014-02-26 Joel Brobecker <brobecker@adacore.com>
3499
3500 * gdb.dwarf2/arr-stride.c: New file.
3501 * gdb.dwarf2/arr-stride.exp: New file.
3502
12ab52e9
PA
35032014-02-26 Pedro Alves <palves@redhat.com>
3504
3505 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
3506 that won't ever trigger. Make sure that GDB reports the correct
3507 breakpoint that caused the stop.
3508
849c862e
JK
35092014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3510
3511 PR gdb/16626
3512 * gdb.base/auto-load-script: New file.
3513 * gdb.base/auto-load.c: New file.
3514 * gdb.base/auto-load.exp: New file.
3515
71b7d793
JK
3516 PR gdb/16626
3517 * gdb.base/auto-load.exp: Fix out-of-srctree run.
3518
e2f0d509
JK
35192014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3520
3521 Fix dw2-icycle.exp -fsanitize=address GDB crash.
3522 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
3523
50cc37c8
DE
35242014-02-24 Doug Evans <dje@google.com>
3525
3526 * lib/gdb.exp (run_on_host): Log error output if program fails.
3527
ea4758f2
PA
35282014-02-21 Pedro Alves <palves@redhat.com>
3529
3530 * gdb.threads/step-after-sr-lock.c: Rename to ...
3531 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
3532 * gdb.threads/step-after-sr-lock.exp: Rename to ...
3533 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3534 ... this.
3535
d7b30f67
SDJ
35362014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
3537
3538 PR tdep/16397
3539 * gdb.arch/amd64-stap-special-operands.exp: New file.
3540 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
3541 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
3542 * gdb.arch/amd64-stap-triplet.S: Likewise.
3543 * gdb.arch/amd64-stap-triplet.c: Likewise.
3544
83deb43f
JB
35452014-02-20 Joel Brobecker <brobecker@adacore.com>
3546
3547 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
3548 in .section pseudo-op.
3549
adde2bff
DE
35502014-02-20 lin zuojian <manjian2006@gmail.com>
3551 Joel Brobecker <brobecker@adacore.com>
3552 Doug Evans <xdje42@gmail.com>
3553
3554 PR symtab/16581
3555 * gdb.dwarf2/dw2-icycle.S: New file.
3556 * gdb.dwarf2/dw2-icycle.c: New file.
3557 * gdb.dwarf2/dw2-icycle.exp: New file.
3558
f7bd0f78
SC
35592014-02-19 Siva Chandra Reddy <sivachandra@google.com>
3560
3561 * gdb.python/py-value-cc.cc: Improve test case to enable testing
3562 operations on gdb.Value objects.
3563 * gdb.python/py-value-cc.exp: Add new test to test operations on
3564 gdb.Value objects.
3565
c17ef0d5
DE
35662014-02-18 Doug Evans <dje@google.com>
3567
3568 * Makefile.in (TESTS): New variable.
3569 (expanded_tests, expanded_tests_or_none): New variables
3570 (check-single): Pass $(expanded_tests_or_none) to runtest.
3571 (check-parallel): Only run tests in $(TESTS) if non-empty.
3572 (check/no-matching-tests-found): New rule.
3573 * README: Document TESTS makefile variable.
3574
5dd3176f
DE
35752014-02-18 Doug Evans <dje@google.com>
3576
3577 * Makefile.in (check-parallel): rm -rf outputs temp.
3578
0b10be4f
JK
35792014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3580
3581 Fix "ERROR: no fileid for" in the testsuite.
3582 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
3583
85f224e7
DE
35842014-02-12 Doug Evans <dje@google.com>
3585
3586 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
3587 (MISCELLANEOUS): New variable.
3588 (clean): rm -rf $(MISCELLANEOUS).
3589 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
3590 dwp live in the same directory as symlinks, with each symlink pointed
3591 to a differently named file in a different directory.
3592
149b30ff
DE
35932014-02-11 Doug Evans <dje@google.com>
3594
3595 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
3596 of Tcl file commands.
3597
1dfdac32
MK
35982014-02-10 Mark Kettenis <kettenis@gnu.org>
3599
3600 * gdb.threads/step-after-sr-lock.exp: Avoid executing
3601 "kill -SIGUSR1 -1".
3602
aa4fb036
JB
36032014-02-10 Joel Brobecker <brobecker@adacore.com>
3604
3605 * gdb.ada/tick_length_array_enum_idx: New testcase.
3606
ed3ef339
DE
36072014-02-10 Doug Evans <xdje42@gmail.com>
3608
3609 * configure.ac (AC_OUTPUT): Add gdb.guile.
3610 * configure: Regenerate.
3611 * lib/gdb-guile.exp: New file.
3612 * lib/gdb.exp (get_target_charset): New function.
3613 * gdb.base/help.exp: Update expected output from "apropos apropos".
3614 * gdb.guile/Makefile.in: New file.
3615 * gdb.guile/guile.exp: New file.
3616 * gdb.guile/scm-arch.c: New file.
3617 * gdb.guile/scm-arch.exp: New file.
3618 * gdb.guile/scm-block.c: New file.
3619 * gdb.guile/scm-block.exp: New file.
3620 * gdb.guile/scm-breakpoint.c: New file.
3621 * gdb.guile/scm-breakpoint.exp: New file.
3622 * gdb.guile/scm-disasm.c: New file.
3623 * gdb.guile/scm-disasm.exp: New file.
3624 * gdb.guile/scm-equal.c: New file.
3625 * gdb.guile/scm-equal.exp: New file.
3626 * gdb.guile/scm-error.exp: New file.
3627 * gdb.guile/scm-error.scm: New file.
3628 * gdb.guile/scm-frame-args.c: New file.
3629 * gdb.guile/scm-frame-args.exp: New file.
3630 * gdb.guile/scm-frame-args.scm: New file.
3631 * gdb.guile/scm-frame-inline.c: New file.
3632 * gdb.guile/scm-frame-inline.exp: New file.
3633 * gdb.guile/scm-frame.c: New file.
3634 * gdb.guile/scm-frame.exp: New file.
3635 * gdb.guile/scm-generics.exp: New file.
3636 * gdb.guile/scm-gsmob.exp: New file.
3637 * gdb.guile/scm-iterator.c: New file.
3638 * gdb.guile/scm-iterator.exp: New file.
3639 * gdb.guile/scm-math.c: New file.
3640 * gdb.guile/scm-math.exp: New file.
3641 * gdb.guile/scm-objfile-script-gdb.in: New file.
3642 * gdb.guile/scm-objfile-script.c: New file.
3643 * gdb.guile/scm-objfile-script.exp: New file.
3644 * gdb.guile/scm-objfile.c: New file.
3645 * gdb.guile/scm-objfile.exp: New file.
3646 * gdb.guile/scm-ports.exp: New file.
3647 * gdb.guile/scm-pretty-print.c: New file.
3648 * gdb.guile/scm-pretty-print.exp: New file.
3649 * gdb.guile/scm-pretty-print.scm: New file.
3650 * gdb.guile/scm-section-script.c: New file.
3651 * gdb.guile/scm-section-script.exp: New file.
3652 * gdb.guile/scm-section-script.scm: New file.
3653 * gdb.guile/scm-symbol.c: New file.
3654 * gdb.guile/scm-symbol.exp: New file.
3655 * gdb.guile/scm-symtab-2.c: New file.
3656 * gdb.guile/scm-symtab.c: New file.
3657 * gdb.guile/scm-symtab.exp: New file.
3658 * gdb.guile/scm-type.c: New file.
3659 * gdb.guile/scm-type.exp: New file.
3660 * gdb.guile/scm-value-cc.cc: New file.
3661 * gdb.guile/scm-value-cc.exp: New file.
3662 * gdb.guile/scm-value.c: New file.
3663 * gdb.guile/scm-value.exp: New file.
3664 * gdb.guile/source2.scm: New file.
3665 * gdb.guile/types-module.cc: New file.
3666 * gdb.guile/types-module.exp: New file.
3667
7026a7c1
YQ
36682014-02-10 Yao Qi <yao@codesourcery.com>
3669
3670 PR testsuite/16543
3671 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
3672 * configure: Regenerated.
3673 * Makefile.in: New file.
3674
6c466447
AS
36752014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3676
3677 * gdb.python/py-framefilter.exp: Fix typo.
3678
6e854735
YQ
36792014-02-08 Yao Qi <yao@codesourcery.com>
3680
3681 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
3682 that no =breakpoint-modified is emitted when breakpoints are
3683 modified through MI commands.
3684
d137e6dc
PA
36852014-02-07 Pedro Alves <pedro@codesourcery.com>
3686 Pedro Alves <palves@redhat.com>
3687
3688 * gdb.threads/step-after-sr-lock.c: New file.
3689 * gdb.threads/step-after-sr-lock.exp: New file.
3690
b5ee5a50
PA
36912014-02-07 Pedro Alves <palves@redhat.com>
3692
3693 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
3694
3c77faf3
JK
36952014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3696
3697 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
3698 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
3699
6dddc817
DE
37002014-02-06 Doug Evans <xdje42@gmail.com>
3701
3702 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
3703 output.
3704
3705 * gdb.gdb/python-interrupts.exp: New file.
3706
de7b2893
YQ
37072014-02-05 Yao Qi <yao@codesourcery.com>
3708
3709 * gdb.trace/report.exp (use_collected_data): Test the output
3710 of "info threads" and "info inferiors".
3711
66d032ac
YQ
37122014-02-05 Yao Qi <yao@codesourcery.com>
3713
3714 Revert this patch:
3715
3716 2013-05-24 Yao Qi <yao@codesourcery.com>
3717
3718 * gdb.trace/tfile.exp: Test inferior and thread.
3719
591a12a1
UW
37202014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3721
3722 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
3723 on a function.
3724 * gdb.base/step-bt.c: Call hello via function pointer to make
3725 sure its first instruction is executed on powerpc64le-linux.
3726
0ff3e01f
UW
37272014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3728
3729 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
3730
084ee545
UW
37312014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3732
3733 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
3734 of the test patterns for use on little-endian systems.
3735
6ed14ff3
UW
37362014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3737
3738 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
3739 (decimal_vector): Fix for little-endian.
3740
401e27fd
JM
37412014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3742
3743 * gdb.arch/sparc-sysstep.exp: New file.
3744 * gdb.arch/sparc-sysstep.c: Likewise.
3745
3746 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
3747
8b924729
EBM
37482014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3749
3750 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
3751
fb151210
JB
37522014-01-23 Tom Tromey <tromey@redhat.com>
3753
3754 * gdb.ada/array_char_idx: New testcase.
3755
0740f8d8
TT
37562014-01-23 Tom Tromey <tromey@redhat.com>
3757
3758 PR python/16487:
3759 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
3760 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
3761 classes.
3762
21909fa1
TT
37632014-01-23 Tom Tromey <tromey@redhat.com>
3764
3765 PR python/16491:
3766 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
3767 string from an inferior frame.
3768 * gdb.python/py-framefilter-mi.exp: Update.
3769
87ce2a04
DE
37702014-01-22 Doug Evans <dje@google.com>
3771
3772 * gdb.server/server-mon.exp: Add tests for "set debug-format".
3773
237b092b
AA
37742014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3775
3776 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
3777
d674a709
AA
37782014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3779
3780 * gdb.trace/entry-values.exp: Remove excess space character from
3781 regex patterns. Handle s390 call instruction.
3782
20fa3390
AA
37832014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3784
3785 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
3786 define "*_start" label. Make "name" static.
3787 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
3788 ${name} by references to ${name}_start.
3789
78466714
AA
37902014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3791
3792 * gdb.base/info-macros.exp: Remove "debug" from the compile
3793 options.
3794
ec9f644a
IB
37952014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3796
3797 * gdb.dlang/demangle.exp: New file.
3798
94b1b47e
IB
37992014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3800
3801 * gdb.dlang/primitive-types.exp: New file.
3802
7f420862
IB
38032014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3804
3805 * configure.ac: Create gdb.dlang/Makefile.
3806 * configure: Regenerate.
3807 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
3808 * gdb.dlang/Makefile.in: New file.
3809 * lib/d-support.exp: New file.
3810 * lib/gdb.exp (skip_d_tests): New proc.
3811
52834460
MM
38122014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3813
3814 * gdb.btrace/delta.exp: Check reverse stepi.
3815 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
3816 * gdb.btrace/finish.exp: New.
3817 * gdb.btrace/next.exp: New.
3818 * gdb.btrace/nexti.exp: New.
3819 * gdb.btrace/record_goto.c: Add comments.
3820 * gdb.btrace/step.exp: New.
3821 * gdb.btrace/stepi.exp: New.
3822 * gdb.btrace/multi-thread-step.c: New.
3823 * gdb.btrace/multi-thread-step.exp: New.
3824 * gdb.btrace/rn-dl-bind.c: New.
3825 * gdb.btrace/rn-dl-bind.exp: New.
3826 * gdb.btrace/data.c: New.
3827 * gdb.btrace/data.exp: New.
3828 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3829
6e07b1d2
MM
38302014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3831
3832 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
3833 * gdb.btrace/exception.exp: Update.
3834 * gdb.btrace/instruction_history.exp: Update.
3835 * gdb.btrace/record_goto.exp: Update.
3836 * gdb.btrace/tailcall.exp: Update.
3837 * gdb.btrace/unknown_functions.exp: Update.
3838 * gdb.btrace/delta.exp: New.
3839
0b722aec
MM
38402014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3841
3842 * gdb.btrace/record_goto.exp: Add backtrace test.
3843 * gdb.btrace/tailcall.exp: Add backtrace test.
3844
066ce621
MM
38452014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3846
3847 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
3848 * gdb.btrace/record_goto.c: New.
3849 * gdb.btrace/record_goto.exp: New.
3850 * gdb.btrace/x86-record_goto.S: New.
3851
0688d04e
MM
38522014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3853
3854 * gdb.btrace/function_call_history.exp: Update tests.
3855 * gdb.btrace/instruction_history.exp: Update tests.
3856
8710b709
MM
38572014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3858
3859 * gdb.btrace/function_call_history.exp: Fix expected field
3860 order for "record function-call-history".
3861 Add new tests for "record function-call-history /c".
3862 * gdb.btrace/exception.cc: New.
3863 * gdb.btrace/exception.exp: New.
3864 * gdb.btrace/tailcall.exp: New.
3865 * gdb.btrace/x86-tailcall.S: New.
3866 * gdb.btrace/x86-tailcall.c: New.
3867 * gdb.btrace/unknown_functions.c: New.
3868 * gdb.btrace/unknown_functions.exp: New.
3869 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3870
5de9129b
MM
38712014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3872
3873 * gdb.btrace/instruction_history.exp: Update.
3874 * gdb.btrace/function_call_history.exp: Update.
3875
23a7fe75
MM
38762014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3877
3878 * gdb.btrace/function_call_history.exp: Fix expected function
3879 trace.
3880 * gdb.btrace/instruction_history.exp: Initialize traced.
3881 Remove traced_functions.
3882
724c7dd8
MM
38832014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3884
3885 * gdb.btrace/function_call_history.exp: Update
3886 * gdb.btrace/instruction_history.exp: Update.
3887
6d78d93b
MM
38882014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3889
3890 * gdb.btrace/enable.exp: Update expected text.
3891
93a360cc
OJ
38922014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
3893
3894 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
3895 bytes.
3896
3772b53f
MR
38972014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
3898
3899 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
3900
596662fa
OJ
39012014-01-15 Omair Javaid <omair.javaid@linaro.org>
3902
3903 * lib/gdb.exp (supports_process_record): Return true for
3904 arm*-linux*. (supports_reverse): Likewise.
3905
b5b08fb4
SC
39062014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3907
3908 PR python/15464
3909 PR python/16113
3910 * gdb.python/py-type.c: Enhance test case.
3911 * gdb.python/py-value-cc.cc: Likewise
3912 * gdb.python/py-type.exp: Add new tests.
3913 * gdb.python/py-value-cc.exp: Likewise
3914
52d7fb13
AA
39152014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3916 Pedro Alves <palves@redhat.com>
3917
3918 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
3919 Make "name" extern.
3920 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
3921 references to ${name}_start by references to ${name}.
3922
a2cd8cfe
JB
39232014-01-10 Joel Brobecker <brobecker@adacore.com>
3924
3925 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
3926
4e23fced
JB
39272014-01-10 Joel Brobecker <brobecker@adacore.com>
3928
3929 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
3930
c6a9e42c
PA
39312014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
3932 Pedro Alves <palves@redhat.com>
3933
3934 * gdb.mi/mi-info-os.exp: Connect to the target with
3935 mi_gdb_target_load.
3936
b7ea362b
PA
39372014-01-08 Pedro Alves <palves@redhat.com>
3938
3939 * gdb.threads/reconnect-signal.c: New file.
3940 * gdb.threads/reconnect-signal.exp: New file.
3941
5e3f4fab
EBM
39422014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3943
3944 * gdb.base/source-dir.exp: New file.
3945
79301218
JB
39462014-01-07 Joel Brobecker <brobecker@adacore.com>
3947
3948 * gdb.ada/mi_interface: New testcase.
3949
8e355c5d
JB
39502014-01-07 Joel Brobecker <brobecker@adacore.com>
3951
3952 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
3953 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
3954 gdb.ada/pp-rec-component/pck.ads: New files.
3955
c0d48811
JB
39562014-01-07 Joel Brobecker <brobecker@adacore.com>
3957
3958 * gdb.python/py-pp-integral.c: New file.
3959 * gdb.python/py-pp-integral.py: New file.
3960 * gdb.python/py-pp-integral.exp: New file.
3961
17b609c3 3962For older changes see ChangeLog-1993-2013.
c906108c 3963\f
8d8cb839
EZ
3964;; Local Variables:
3965;; mode: change-log
3966;; left-margin: 8
3967;; fill-column: 74
3968;; version-control: never
3969;; End:
902f2ccb 3970
32d0add0 3971 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
3972 Copying and distribution of this file, with or without modification,
3973 are permitted provided the copyright notice and this notice are preserved.
This page took 3.300116 seconds and 4 git commands to generate.