framefilter quit: New test
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
63cc30e9
JK
12015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2
3 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
4
0703599a
PA
52015-02-11 Pedro Alves <pedro@codesourcery.com>
6
7 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
8 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
9
7e60a48e
DE
102015-02-10 Doug Evans <xdje42@gmail.com>
11
12 * lib/gdb.exp (gdb_load): Always return a result.
13
01b088bc
PA
142015-02-10 Pedro Alves <palves@redhat.com>
15
16 * gdb.threads/signal-sigtrap.c: New file.
17 * gdb.threads/signal-sigtrap.exp: New file.
18
b05ec7a5
AT
192015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
20
21 * gdb.trace/no-attach-trace.c: New file.
22 * gdb.trace/no-attach-trace.exp: New file.
23
a2c2acaf
MW
242015-02-09 Mark Wielaard <mjw@redhat.com>
25
26 * gdb.dwarf2/atomic.c: New file.
27 * gdb.dwarf2/atomic-type.exp: Likewise.
28
31fd9caa
MM
292015-02-09 Markus Metzger <markus.t.metzger@intel.com>
30
31 * gdb.btrace/buffer-size.exp: Update "info record" output.
32 * gdb.btrace/delta.exp: Update "info record" output.
33 * gdb.btrace/enable.exp: Update "info record" output.
34 * gdb.btrace/finish.exp: Update "info record" output.
35 * gdb.btrace/instruction_history.exp: Update "info record" output.
36 * gdb.btrace/next.exp: Update "info record" output.
37 * gdb.btrace/nexti.exp: Update "info record" output.
38 * gdb.btrace/step.exp: Update "info record" output.
39 * gdb.btrace/stepi.exp: Update "info record" output.
40 * gdb.btrace/nohist.exp: Update "info record" output.
41
d33501a5
MM
422015-02-09 Markus Metzger <markus.t.metzger@intel.com>
43
44 * gdb.btrace/buffer-size: New.
45
f4abbc16
MM
462015-02-09 Markus Metzger <markus.t.metzger@intel.com>
47
48 * gdb.btrace/delta.exp: Update "info record" output.
49 * gdb.btrace/enable.exp: Update "info record" output.
50 * gdb.btrace/finish.exp: Update "info record" output.
51 * gdb.btrace/instruction_history.exp: Update "info record" output.
52 * gdb.btrace/next.exp: Update "info record" output.
53 * gdb.btrace/nexti.exp: Update "info record" output.
54 * gdb.btrace/step.exp: Update "info record" output.
55 * gdb.btrace/stepi.exp: Update "info record" output.
56 * gdb.btrace/nohist.exp: Update "info record" output.
57
b9d61307
SM
582015-02-06 Simon Marchi <simon.marchi@ericsson.com>
59
60 PR gdb/15678
61 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
62
e584fdbc
PA
632015-02-06 Pedro Alves <palves@redhat.com>
64
65 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
66 macro.
67 (seconds_left, again): New globals.
68 (main): Wait seconds_left in a 1-second sleep loop instead of
69 sleeping 180 seconds. If 'again' is set, reset the seconds
70 counter.
71 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
72 'again' in the inferior before detaching. Print the seconds left.
73 (options): New global.
74 (top level): Build program with -DTIMEOUT=$timeout.
75
77f41761
PA
762015-02-06 Pedro Alves <palves@redhat.com>
77
78 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
79 determine how many seconds to pass to 'alarm'.
80 * gdb.base/gdb-sigterm.exp (top level): Build program with
81 -DTIMEOUT=$timeout.
82 (do_test): Return success/failure indication. Add more verbose
83 logging. Don't fail if 200 single steps are seen. Instead, fail
84 when the test times out.
85 (passes): New global.
86 (top level): Break the testing loop if testing fails on any
87 iteration. Use gdb_assert.
88
b9394193
DB
892015-02-04 Don Breazeal <donb@codesourcery.com>
90
91 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
92 and initialize them.
93 (ipc_cleanup): New function.
94 (main): Don't declare shmid, semid, and msqid. Add a call to
95 atexit so that we call ipc_cleanup on exit.
96
42d9e528
PA
972015-02-04 Pedro Alves <palves@redhat.com>
98
99 * boards/native-extended-gdbserver.exp: Remove any target variant
100 specifications from the board name before clearing the isremote
101 flag from board_info.
102
ae6ae975
DE
1032015-01-31 Doug Evans <xdje42@gmail.com>
104
105 * gdb.base/maint.exp <maint print type argc>: Update expected output.
106
cfb069a8
GB
1072015-01-31 Gary Benson <gbenson@redhat.com>
108
109 * gdb.base/completion.exp: Disable completion limiting for
110 existing tests. Add new tests to check completion limiting.
111 * gdb.linespec/ls-errs.exp: Disable completion limiting.
112
5dd31d79
DE
1132015-01-31 Doug Evans <xdje42@gmail.com>
114
115 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
116
9f050062
DE
1172015-01-31 Doug Evans <xdje42@gmail.com>
118
119 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
120 entries. Duplicate file section script entries.
121 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
122 inlined entries. Add test for safe-path rejection.
123 * gdb.python/py-section-script.c: Add duplicate inlined section script
124 entries. Duplicate file section script entries.
125 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
126 inlined entries. Add test for safe-path rejection.
127
df25ebbd
JB
1282015-01-29 Joel Brobecker <brobecker@adacore.com>
129
130 * gdb.ada/disc_arr_bound: New testcase.
131
4a0ca9ec
JB
1322015-01-29 Joel Brobecker <brobecker@adacore.com>
133
134 * gdb.ada/mi_var_array: New testcase.
135
3a8b707a
DE
1362015-01-27 Doug Evans <dje@google.com>
137
138 * gdb.python/py-objfile.exp: Add tests for objfile.username.
139 Add test for objfile.filename, objfile.username after objfile
140 has been unloaded.
141
f8313f6e
JB
1422015-01-26 Joel Brobecker <brobecker@adacore.com>
143
144 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
145 the second test to print the name attribute of value
146 returned by the call to gdb.lookup_type, and adjust
147 the expected output accordingly.
148
37bc665e
MW
1492015-01-25 Mark Wielaard <mjw@redhat.com>
150
151 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
152 * gdb.base/disp-step-fork.c: Include unistd.h.
153 * gdb.base/siginfo-obj.c: Include stdio.h.
154 * gdb.base/siginfo-thread.c: Likewise.
155 * gdb.mi/non-stop.c: Include unistd.h.
156 * gdb.mi/nsthrexec.c: Include stdio.h.
157 * gdb.mi/pthreads.c: Include unistd.h.
158 * gdb.modula2/unbounded1.c (main): Declare returns int.
159 * gdb.reverse/consecutive-reverse.c: Likewise.
160 * gdb.threads/create-fail.c: Include unistd.h.
161 * gdb.threads/killed.c: Likewise.
162 * gdb.threads/linux-dp.c: Likewise.
163 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
164 * gdb.threads/non-ldr-exc-2.c: Likewise.
165 * gdb.threads/non-ldr-exc-3.c: Likewise.
166 * gdb.threads/non-ldr-exc-4.c: Likewise.
167 * gdb.threads/pthreads.c: Include unistd.h.
168 (main): Declare returns int.
169 * gdb.threads/tls-main.c (foo): New declaration.
170 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
171
f7e5394d
SM
1722015-01-23 Simon Marchi <simon.marchi@ericsson.com>
173
174 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
175 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
176
743649fd
MW
1772015-01-15 Mark Wielaard <mjw@redhat.com>
178
179 * gdb.base/noreturn-return.c: New file.
180 * gdb.base/noreturn-return.exp: New file.
181 * gdb.base/noreturn-finish.c: New file.
182 * gdb.base/noreturn-finish.exp: New file.
183
198297aa
PA
1842015-01-23 Pedro Alves <palves@redhat.com>
185
186 * gdb.threads/continue-pending-after-query.c: New file.
187 * gdb.threads/continue-pending-after-query.exp: New file.
188
717cf30c
AG
1892015-01-22 Anders Granlund <anders.granlund@ericsson.com>
190 Simon Marchi <simon.marchi@ericsson.com>
191
192 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
193 * gdb.base/valgrind-db-attach.exp: Same.
194 * gdb.base/valgrind-infcall.exp: Same.
195 * lib/mi-support.exp (default_mi_gdb_start): Same.
196 * lib/prompt.exp (default_prompt_gdb_start): Same.
197 * lib/gdb.exp (default_gdb_spawn): Same.
198 (gdb_interact): New.
199
200
4b62a76e
JK
2012015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
202
203 * gdb.compile/compile.exp (pointer to jit function): New test.
204
b4cdae6f
WW
2052015-01-17 Wei-cheng Wang <cole945@gmail.com>
206
207 * lib/gdb.exp (supports_process_record): Return true for
208 powerpc*-*-linux*.
209 (supports_reverse): Likewise.
210
d221e7ef
DB
2112015-01-15 Don Breazeal <donb@codesourcery.com>
212
213 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
214 instead of checking whether the target board is remote and
215 use spawn_wait_for_attach instead of exec/sleep.
216 * gdb.base/attach-twice.exp: Likewise.
217
bafffb51
JB
2182015-01-15 Joel Brobecker <brobecker@adacore.com>
219
220 * gdb.ada/var_arr_attrs: New testcase.
221
5589af0e
PA
2222015-01-14 Pedro Alves <palves@redhat.com>
223 Joel Brobecker <brobecker@adacore.com>
224
225 PR gdb/17525
226 * gdb.base/bp-cmds-execution-x-script.c: New file.
227 * gdb.base/bp-cmds-execution-x-script.exp: New file.
228 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
229
6c400b59
PA
2302015-01-14 Pedro Alves <palves@redhat.com>
231
232 PR cli/17828
233 * gdb.base/batch-preserve-term-settings.c: New file.
234 * gdb.base/batch-preserve-term-settings.exp: New file.
235
e02c96a7
DE
2362015-01-13 Doug Evans <dje@google.com>
237
238 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
239 binary.
240
576fd14c
JB
2412015-01-13 Joel Brobecker <brobecker@adacore.com>
242
243 * Makefile.in (clean mostlyclean): Do not delete *.py.
244
04dccad0
JB
2452015-01-13 Joel Brobecker <brobecker@adacore.com>
246
247 * gdb.python/py-lookup-type.exp: New file.
248
3d230f71
PA
2492015-01-12 Pedro Alves <palves@redhat.com>
250
251 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
252 restore GDBFLAGS before returning.
253
7e67715d
JK
2542015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
255
256 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
257 is_amd64_regs_target and is_x86_like_target.
258
f2e0d4b4
DE
2592015-01-11 Doug Evans <xdje42@gmail.com>
260
261 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
262 is given without an explicit form.
263 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
264 attributes.
265 * gdb.dwarf/corrupt.exp: Ditto.
266 * gdb.dwarf2/enum-type.exp: Ditto.
267 * gdb.trace/entry-values.exp: Ditto.
268 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
269
439250fb
DE
2702015-01-11 Doug Evans <xdje42@gmail.com>
271
272 PR gdb/15830
273 * gdb.base/maint.exp: Remove references to "maint demangle".
274 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
275 Add tests for explicitly specifying language to demangle.
276 * gdb.dlang/demangle.exp: Ditto.
277
ede9f622
PA
2782015-01-09 Pedro Alves <palves@redhat.com>
279
280 * gdb.threads/non-stop-fair-events.c: New file.
281 * gdb.threads/non-stop-fair-events.exp: New file.
282
a7b796db
PA
2832015-01-09 Pedro Alves <palves@redhat.com>
284
285 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
286 the global scope. Set a breakpoint after all threads are started
287 rather than stepping over two source lines. Expect the prompt.
288 * gdb.base/watch_thread_num.c (threads_started_barrier): New
289 global.
290 (NUM): Now 15.
291 (main): Use threads_started_barrier to wait for all threads to
292 start. Main thread no longer calls thread_function. Exit after
293 180 seconds.
294 (loop): New function.
295 (thread_function): Wait on threads_started_barrier barrier. Call
296 'loop' at each iteration.
297 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
298 threads have started, instead of hardcoding number of "next"
299 steps. Use an access watchpoint instead of a write watchpoint.
300
9665ffdd
PA
3012015-01-09 Pedro Alves <palves@redhat.com>
302
303 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
304 (thread_func): Wait on barrier.
305 (main): Wait for all threads to start before stopping GDB.
306 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
307 global.
308 (thread1_func, thread2_func): Wait on barrier.
309 (main): Wait for all threads to start before stopping GDB.
310 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
311 New global.
312 (thread1_func, thread2_func): Wait on barrier.
313 (main): Wait for all threads to start before stopping GDB.
314
c945a99f
PA
3152015-01-09 Pedro Alves <palves@redhat.com>
316
317 * gdb.threads/attach-many-short-lived-threads.c: New file.
318 * gdb.threads/attach-many-short-lived-threads.exp: New file.
319
c1a747c1
PA
3202014-01-09 Pedro Alves <palves@redhat.com>
321
322 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
323 instead of to thread 2.
324 * gdb.threads/signal-command-multiple-signals-pending.c (main):
325 Add barrier around each pthread_create call instead of around all
326 calls.
327 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
328 Set a break on thread_function and have the child threads hit it
329 one at at a time.
330
60b3033e
PA
3312015-01-09 Pedro Alves <palves@redhat.com>
332
333 * lib/gdb.exp (can_spawn_for_attach): New procedure.
334 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
335 false.
336 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
337 checking whether the target board is remote.
338 * gdb.multi/multi-attach.exp: Likewise.
339 * gdb.python/py-sync-interp.exp: Likewise.
340 * gdb.server/ext-attach.exp: Likewise.
341 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
342 tests that need to attach, instead of checking whether the target
343 board is remote at the top of the file.
344
acc018ac
YQ
3452015-01-08 Yao Qi <yao@codesourcery.com>
346
347 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
348
50a18af8
JK
3492015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
350
351 Fix testcase compilation.
352 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
353
8503d6e1
JB
3542015-01-06 Joel Brobecker <brobecker@adacore.com>
355
356 * gdb.python/py-type.exp: Add a couple test about empty
357 array creation, and negative-length array creation.
358
cc73dbcc
DE
3592015-01-02 Doug Evans <xdje42@gmail.com>
360
361 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
362
0300bbc7
DE
3632015-01-02 Doug Evans <dje@google.com>
364
365 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
366
9d85a0ec
YQ
3672014-12-29 Yao Qi <yao@codesourcery.com>
368
369 * gdb.trace/entry-values.exp: Update comments. Rename variable
370 bar_call_foo to returned_from_foo.
371
87186c6a
MMN
3722014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
373
374 PR gdb/17394
375 * gdb.linespec/break-asm-file.c: New file.
376 * gdb.linespec/break-asm-file.exp: New file.
377 * gdb.linespec/break-asm-file0.s: New file.
378 * gdb.linespec/break-asm-file1.s: New file.
379
1bab7383
YQ
3802014-12-18 Nigel Stephens <nigel@mips.com>
381 Maciej W. Rozycki <macro@codesourcery.com>
382
383 * gdb.base/float.exp: Handle the new output from "info float" on
384 MIPS targets.
385
1bc1068a
JK
3862014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
387
388 Fix MinGW compilation.
389 * gdb.compile/compile-ops.exp: Update untested message if
390 !skip_compile_feature_tests.
391 * gdb.compile/compile-setjmp.exp: Likewise.
392 * gdb.compile/compile-tls.exp: Likewise.
393 * gdb.compile/compile.exp: Likewise.
394 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
395 supported on this host".
396
b6615d10
DE
3972014-12-16 Doug Evans <xdje42@gmail.com>
398
399 * boards/stabs.exp: New file.
400
25dda427
AA
4012014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
402
403 * gdb.base/completion.exp: Adjust to format changes of "maint
404 print user-registers".
405
bf330350
CU
4062014-12-16 Catalin Udma <catalin.udma@freescale.com>
407
408 PR server/17457
409 * gdb.arch/aarch64-fp.c: New file.
410 * gdb.arch/aarch64-fp.exp: New file.
411
395cf596
SDJ
4122014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
413
414 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
415 r210637, r210913, r211666, r215400, r215817).
416
417 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
418 * dg-extract-results.py: New file.
419 * dg-extract-results.sh: Use it if the environment seems
420 suitable.
421
422 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
423
424 * dg-extract-results.py (parse_run): Handle warnings that
425 are printed before a test harness is run.
426
427 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
428
429 * dg-extract-results.py (Named): Remove __cmp__ method.
430 (output_variation): Use a key to sort variation.harnesses.
431
432 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
433
434 * dg-extract-results.py: For Python 3, force sys.stdout to
435 handle surrogate escape sequences.
436 (safe_open): New function.
437 (output_segment, main): Use it.
438
439 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
440
441 * dg-extract-results.py (Prog.result_re): Include options
442 in test name.
443
444 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
445
446 * dg-extract-results.py (output_variation): Always sort if
447 do_sum.
448
e882ef3c
SM
4492014-12-15 Simon Marchi <simon.marchi@ericsson.com>
450
451 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
452 as long as we get pagination notifications.
453
4992aa20
JM
4542014-12-15 Jason Merrill <jason@redhat.com>
455
456 * Makefile.in (check-gdb.%): Restore.
457 * README: Mention it.
458
c1b5a1a6
JB
4592014-12-13 Joel Brobecker <brobecker@adacore.com>
460
461 * gdb.ada/str_uninit: New testcase.
462
5537b577
JK
4632014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
464
465 PR symtab/17642
466 * gdb.base/vla-stub-define.c: New file.
467 * gdb.base/vla-stub.c: New file.
468 * gdb.base/vla-stub.exp: New file.
469
bb2ec1b3
TT
4702014-12-12 Phil Muldoon <pmuldoon@redhat.com>
471 Jan Kratochvil <jan.kratochvil@redhat.com>
472 Tom Tromey <tromey@redhat.com>
473
474 * configure.ac: Add gdb.compile/.
475 * configure: Regenerate.
476 * gdb.compile/Makefile.in: New file.
477 * gdb.compile/compile-ops.exp: New file.
478 * gdb.compile/compile-ops.c: New file.
479 * gdb.compile/compile-tls.c: New file.
480 * gdb.compile/compile-tls.exp: New file.
481 * gdb.compile/compile-constvar.S: New file.
482 * gdb.compile/compile-constvar.c: New file.
483 * gdb.compile/compile-mod.c: New file.
484 * gdb.compile/compile-nodebug.c: New file.
485 * gdb.compile/compile-setjmp-mod.c: New file.
486 * gdb.compile/compile-setjmp.c: New file.
487 * gdb.compile/compile-setjmp.exp: New file.
488 * gdb.compile/compile-shlib.c: New file.
489 * gdb.compile/compile.c: New file.
490 * gdb.compile/compile.exp: New file.
491 * lib/gdb.exp (skip_compile_feature_tests): New proc.
492
4ff709eb
TT
4932014-12-12 Tom Tromey <tromey@redhat.com>
494
495 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
496 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
497
6dddd6a5
DE
4982014-12-12 Doug Evans <dje@google.com>
499
500 * lib/gdb-python.exp (get_python_valueof): New function.
501 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
502
71c24708
AA
5032014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
504
505 * gdb.base/completion.exp: Add test for completion of "info
506 registers ".
507
3e29f34a
MR
5082014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
509
510 * gdb.base/func-ptrs.c: New file.
511 * gdb.base/func-ptrs.exp: New file.
512
fc126975
SM
5132014-12-10 Simon Marchi <simon.marchi@ericsson.com>
514
515 PR breakpoints/17012
516 * gdb.base/dprintf-detach.c: New file.
517 * gdb.base/dprintf-detach.exp: New file.
518
0a46d518
SM
5192014-12-10 Simon Marchi <simon.marchi@ericsson.com>
520
521 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
522 * lib/gdb.exp (target_is_gdbserver): New procedure.
523
a0be3e44
DE
5242014-12-08 Doug Evans <dje@google.com>
525
526 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
527
df1b803a
YQ
5282014-12-05 Yao Qi <yao@codesourcery.com>
529
530 * gdb.guile/scm-error.exp: Remove the third argument to
531 gdb_remote_download.
532 * gdb.guile/scm-frame-args.exp: Likewise.
533 * gdb.guile/scm-section-script.exp: Likewise.
534
ddb9f679
YQ
5352014-12-05 Yao Qi <yao@codesourcery.com>
536
537 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
538
86e4ed39
DE
5392014-12-04 Doug Evans <dje@google.com>
540
541 * gdb.python/py-objfile.exp: Add tests for
542 objfile.add_separate_debug_file.
543
7c50a931
DE
5442014-12-04 Doug Evans <dje@google.com>
545
546 * lib/gdb.exp (get_build_id): New function.
547 (build_id_debug_filename_get): Rewrite to use it.
548 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
549
621661e3
MR
5502014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
551
552 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
553 `method(long)', not just 0x0.
554 * gdb.cp/nsalias.exp: Align code labels to 4.
555 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
556 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
557 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
558 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
559 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
560 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
561
29f0c3b7
DE
5622014-12-02 Doug Evans <dje@google.com>
563
e1e061e7 564 PR symtab/17602
29f0c3b7 565 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 566 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
567 * gdb.cp/anon-ns.exp: Update.
568
162078c8
NB
5692014-12-02 Nick Bull <nicholaspbull@gmail.com>
570
571 * gdb.python/py-events.py (inferior_call_handler): New.
572 (register_changed_handler, memory_changed_handler): New.
573 (test_events.invoke): Register new handlers.
574 * gdb.python/py-events.exp: Add tests for inferior call,
575 memory_changed and register_changed events.
576
fdb09caf
AA
5772014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
578
579 * gdb.base/execl-update-breakpoints.exp: Specify the link address
580 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
581 if the linker doesn't understand this.
582
55cfb2c4
SM
5832014-12-01 Simon Marchi <simon.marchi@ericsson.com>
584
585 * gdb.python/python.exp: Change expected reply to help().
586
9e8cd6df
YQ
5872014-12-01 Yao Qi <yao@codesourcery.com>
588
589 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
590 AC_CONFIG_SUBDIRS(gdb.gdbtk).
591 * configure: Re-generated.
592
6c659fc2
SC
5932014-11-28 Siva Chandra Reddy <sivachandra@google.com>
594
595 * gdb.cp/chained-calls.cc: New file.
596 * gdb.cp/chained-calls.exp: New file.
597 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
598
d7fc3181
SM
5992014-11-28 Simon Marchi <simon.marchi@ericsson.com>
600
601 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
602 * gdb.dwarf2/symtab-producer.exp: Same.
603 * gdb.gdb/python-interrupts.exp: Same.
604 * gdb.gdb/python-selftest.exp: Same.
605 * gdb.python/py-linetable.exp: Same.
606 * gdb.python/py-type.exp: Same.
607 * gdb.python/py-value-cc.exp: Same.
608 * gdb.python/py-value.exp: Same.
609
10e79639
YQ
6102014-11-28 Yao Qi <yao@codesourcery.com>
611
612 * gdb.base/break-probes.exp: Match library name prefixed with
613 sysroot.
614
f28a0564
SM
6152014-11-27 Simon Marchi <simon.marchi@ericsson.com>
616
617 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
618 test expected output. Add parentheses for the call to print.
619 Remove L suffix from integers.
620
3fe1ce1d
DE
6212014-11-26 Doug Evans <dje@google.com>
622
623 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
624
84429e27
YQ
6252014-11-22 Yao Qi <yao@codesourcery.com>
626
627 * gdb.trace/entry-values.c: Remove asms.
628 (foo): Add foo_label.
629 (bar): Add bar_label.
630 * gdb.trace/entry-values.exp: Remove code computing foo's
631 length and bar's length.
632 (Dwarf::assemble): Invoke function_range for bar and use
633 MACRO_AT_func for foo.
634
26741859
YQ
6352014-11-22 Yao Qi <yao@codesourcery.com>
636
637 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
638 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
639 Use .Lgcc43_procstart instead of gcc43.
640
45e44d27
JB
6412014-11-21 Joel Brobecker <brobecker@adacore.com>
642
643 * gdb.ada/n_arr_bound: New testcase.
644
458c8db8
SDJ
6452014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
646
647 PR breakpoints/10737
648 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
649 test_catch_syscall_multi_arch.
650 (test_catch_syscall_multi_arch): New function.
651
43f3e411
DE
6522014-11-20 Doug Evans <xdje42@gmail.com>
653
654 * gdb.base/maint.exp: Update expected output.
655
0d7b2549
AA
6562014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
657
658 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
659 4-byte instruction on S390.
660
8908fca5
JB
6612014-11-19 Joel Brobecker <brobecker@adacore.com>
662
663 * gdb.ada/arr_arr: New testcase.
664
4a46959e
JB
6652014-11-19 Joel Brobecker <brobecker@adacore.com>
666
667 * gdb.ada/pkd_arr_elem: New Testcase.
668
470e2f4e
LM
6692014-11-18 Luis Machado <lgustavo@codesourcery.com>
670
671 * gdb.reverse/break-precsave: Expect completion message for
672 core file reads.
673 * gdb.reverse/consecutive-precsave.exp: Likewise.
674 * gdb.reverse/finish-precsave.exp: Likewise.
675 * gdb.reverse/i386-precsave.exp: Likewise.
676 * gdb.reverse/machinestate-precsave.exp: Likewise.
677 * gdb.reverse/sigall-precsave.exp: Likewise.
678 * gdb.reverse/solib-precsave.exp: Likewise.
679 * gdb.reverse/step-precsave.exp: Likewise.
680 * gdb.reverse/until-precsave.exp: Likewise.
681 * gdb.reverse/watch-precsave.exp: Likewise.
682
a267f3ad
AA
6832014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
684
685 * gdb.base/bp-permanent.c: Include unistd.h.
686 * gdb.python/py-framefilter-mi.c (main): Add return type.
687 * gdb.python/py-framefilter.c (main): Likewise.
688 * gdb.trace/actions-changed.c (main): Likewise.
689
12084a9a
AA
6902014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
691
692 * gdb.mi/until.c: Add eye-catchers.
693 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
694 line numbers.
695
dc7e1a77
AA
6962014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
697
698 * gdb.base/condbreak.exp: Drop references to removed non-prototype
699 function header variants in break1.c.
700 * gdb.base/ena-dis-br.exp: Likewise.
701 * gdb.base/hbreak2.exp: Likewise.
702 * gdb.reverse/until-precsave.exp: Drop references to removed
703 non-prototype function header variants in ur1.c.
704 * gdb.reverse/until-reverse.exp: Likewise.
705
41c77605
PM
7062014-11-17 Petr Machata <pmachata@redhat.com>
707
708 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
709 ${_cu_offset_size} bytes abbrev offset.
710
34248c3a
DE
7112014-11-15 Doug Evans <xdje42@gmail.com>
712
713 PR symtab/17559
714 * gdb.base/line-symtabs.exp: New file.
715 * gdb.base/line-symtabs.c: New file.
716 * gdb.base/line-symtabs.h: New file.
717
646da059
YQ
7182014-11-14 Yao Qi <yao@codesourcery.com>
719
720 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
721 (func): Add label func_label.
722 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
723 Replace low_pc and high_pc with MACRO_AT_range.
724 Replace name, low_pc and high_pc with MACRO_AT_func.
725
9301ebe6
YQ
7262014-11-14 Yao Qi <yao@codesourcery.com>
727
728 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
729 Replace name, low_pc and high_pc with MACRO_AT_func.
730
f166b542
YQ
7312014-11-14 Yao Qi <yao@codesourcery.com>
732
733 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
734 produce debug information.
735 * gdb.dwarf2/implptr-optimized-out.S: Removed.
736
0f6e71e3
YQ
7372014-11-14 Yao Qi <yao@codesourcery.com>
738
739 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
740 object and get function length.
741 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
742 with MACRO_AT_func.
743 (top-level): Replace gdb_compile and clean_restart with
744 prepare_for_testing.
745 * gdb.dwarf2/main.c (main): Add label main_label.
746
876c4df9
YQ
7472014-11-14 Yao Qi <yao@codesourcery.com>
748
749 * lib/dwarf.exp (function_range): New procedure.
750 (Dwarf::_handle_macro_at_func): New procedure.
751 (Dwarf::_handle_macro_at_range): New procedure.
752 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
753
02ad9cf1
YQ
7542014-11-14 Yao Qi <yao@codesourcery.com>
755
756 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
757 (_handle_attribute): New procedure.
758
a59add0c
AA
7592014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
760
761 * gdb.ada/cond_lang/foo.c (callme): Add return type.
762 * gdb.base/call-sc.c (zed): Likewise.
763 * gdb.base/checkpoint.c (main): Likewise.
764 * gdb.base/dump.c (main): Likewise.
765 * gdb.base/gcore.c (main): Likewise.
766 * gdb.base/huge.c (main): Likewise.
767 * gdb.base/multi-forks.c (main): Likewise.
768 * gdb.base/pr10179-a.c (main): Likewise.
769 * gdb.base/savedregs.c (main): Likewise.
770 * gdb.base/sigaltstack.c (main): Likewise.
771 * gdb.base/siginfo.c (main): Likewise.
772 * gdb.base/structs.c (zed): Likewise.
773 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
774 * gdb.mi/mi-syn-frame.c (main): Likewise.
775 * gdb.mi/until.c (foo, main): Likewise.
776 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
777 * gdb.base/solib-weak.c (foo): Declare.
778 * gdb.base/attach-twice.c: Include stdio.h.
779 * gdb.base/weaklib1.c: Likewise.
780 * gdb.base/weaklib2.c: Likewise.
781 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
782 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
783 unistd.h.
784 * gdb.base/attach-pie-misread.c: Include stdlib.h.
785 * gdb.mi/mi-exit-code.c: Likewise.
786 * gdb.base/break-interp-lib.c: Include string.h.
787 * gdb.base/coremaker.c: Likewise.
788 * gdb.base/testenv.c: Likewise.
789 * gdb.python/py-finish-breakpoint.c: Likewise.
790 * gdb.base/inferior-died.c: Include sys/wait.h.
791 * gdb.base/fileio.c: Include time.h.
792 * gdb.base/async-shell.c: Include unistd.h.
793 * gdb.base/dprintf-non-stop.c: Likewise.
794 * gdb.base/info-os.c: Likewise.
795 * gdb.mi/mi-console.c: Likewise.
796 * gdb.mi/watch-nonstop.c: Likewise.
797 * gdb.python/py-events.c: Likewise.
798 * gdb.base/async.c (baz): Move up before its invocation.
799 * gdb.base/code_elim2.c (my_global_func): Likewise.
800 * gdb.base/skip-solib-lib.c (multiply): Likewise.
801 * gdb.base/advance.c (func2): Likewise.
802
3b5d5997
AA
8032014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
804
805 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
806 variant.
807 * gdb.base/annota3.c: Likewise.
808 * gdb.base/async.c: Likewise.
809 * gdb.base/average.c: Likewise.
810 * gdb.base/call-ar-st.c: Likewise.
811 * gdb.base/call-rt-st.c: Likewise.
812 * gdb.base/call-sc.c: Likewise.
813 * gdb.base/call-strs.c: Likewise.
814 * gdb.base/ending-run.c: Likewise.
815 * gdb.base/execd-prog.c: Likewise.
816 * gdb.base/exprs.c: Likewise.
817 * gdb.base/foll-exec.c: Likewise.
818 * gdb.base/foll-fork.c: Likewise.
819 * gdb.base/foll-vfork.c: Likewise.
820 * gdb.base/funcargs.c: Likewise.
821 * gdb.base/gcore.c: Likewise.
822 * gdb.base/jump.c: Likewise.
823 * gdb.base/langs0.c: Likewise.
824 * gdb.base/langs1.c: Likewise.
825 * gdb.base/langs2.c: Likewise.
826 * gdb.base/mips_pro.c: Likewise.
827 * gdb.base/nodebug.c: Likewise.
828 * gdb.base/opaque0.c: Likewise.
829 * gdb.base/opaque1.c: Likewise.
830 * gdb.base/recurse.c: Likewise.
831 * gdb.base/run.c: Likewise.
832 * gdb.base/scope0.c: Likewise.
833 * gdb.base/scope1.c: Likewise.
834 * gdb.base/setshow.c: Likewise.
835 * gdb.base/setvar.c: Likewise.
836 * gdb.base/shmain.c: Likewise.
837 * gdb.base/shr1.c: Likewise.
838 * gdb.base/shr2.c: Likewise.
839 * gdb.base/sigall.c: Likewise.
840 * gdb.base/signals.c: Likewise.
841 * gdb.base/so-indr-cl.c: Likewise.
842 * gdb.base/solib2.c: Likewise.
843 * gdb.base/structs.c: Likewise.
844 * gdb.base/sum.c: Likewise.
845 * gdb.base/vforked-prog.c: Likewise.
846 * gdb.base/watchpoint.c: Likewise.
847 * gdb.reverse/shr2.c: Likewise.
848 * gdb.reverse/until-reverse.c: Likewise.
849 * gdb.reverse/ur1.c: Likewise.
850 * gdb.reverse/watch-reverse.c: Likewise.
851
066a77c5
AA
8522014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
853
854 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
855 variant.
856 * gdb.base/sepdebug.exp: Drop references to removed code.
857
4f204ea5
AA
8582014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
859
860 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
861 variant. Preserve original line numbering.
862 * gdb.base/list1.c: Likewise.
863
3b377a3a
AA
8642014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
865
866 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
867 variant.
868 * gdb.base/break1.c: Likewise.
869 * gdb.base/break.exp: Drop references to removed code.
870
e444df73
AA
8712014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
872
873 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
874 variant.
875
8008f2a7
AA
8762014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
877
878 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
879
a5a06887
AA
8802014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
881
882 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
883 logic into perform_all_tests() and invoke it with and without
884 function header prototypes.
885 (do_function_calls): Remove conditional XFAIL for PR 5318.
886 (rerun_and_prepare): Remove duplicate code.
887 (perform_all_tests): New. Main logic moved here.
888
44dba9b9
AA
8892014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
890
891 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
892 code guarded by #ifdef NO_PROTOTYPES.
893 (t_double_many_args): Likewise.
894 (DEF_FUNC_MANY_ARGS_1): Likewise.
895 (DEF_FUNC_VALUES_1): Likewise.
896 (t_structs_ldc): Renamed from t_structs_fc in conditional code
897 guarded by #ifdef PROTOTYPES.
898
d1fbcd56
AA
8992014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
900
901 * gdb.mi/mi-console.c: Add eye-catcher.
902 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
903 instead of literal line number.
904
b0e59b8f
AA
9052014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
906
907 * gdb.base/shr2.c: Add eye-catcher.
908 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
909 line number.
910
78f98cca
AA
9112014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
912
913 * gdb.base/jump.c: Add eye-catchers.
914 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
915 numbers.
916
58fa2af0
AA
9172014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
918
919 * gdb.base/execd-prog.c: Add eye-catchers.
920 * gdb.base/foll-exec.c: Likewise.
921 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
922 line numbers.
923
04e5059b
AA
9242014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
925
926 * gdb.base/ending-run.c: Add eye-catchers.
927 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
928 literal line numbers.
929
dbfdb174
AA
9302014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
931
932 * gdb.base/call-rt-st.c: Add eye-catchers.
933 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
934 literal line numbers.
935
888a2ade
AA
9362014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
937
938 * gdb.base/call-ar-st.c: Add eye-catchers.
939 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
940 literal line numbers.
941
6acc2dde
AA
9422014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
943
944 * gdb.base/average.c: Add eye-catchers.
945 * gdb.base/sum.c: Likewise.
946 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
947 regexps dynamically.
948
9ecfcd1d
AA
9492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
950
951 * gdb.base/solib1.c: Add eye-catchers.
952 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
953 literal line numbers.
954
78708b7c
PA
9552014-11-12 Pedro Alves <palves@redhat.com>
956
957 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
958 leader has exited.
959
af48d08f
PA
9602014-11-12 Pedro Alves <palves@redhat.com>
961
962 * gdb.arch/i386-bp_permanent.c: New file.
963 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
964 (srcfile): Set to i386-bp_permanent.c.
965 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
966 that stepi does not execute the 'leave' instruction, instead of
967 testing it does execute.
968 * gdb.base/bp-permanent.c: New file.
969 * gdb.base/bp-permanent.exp: New file.
970
af3768e9
DE
9712014-11-10 Doug Evans <xdje42@gmail.com>
972
973 PR symtab/17564
974 * gdb.base/symtab-search-order.exp: New file.
975 * gdb.base/symtab-search-order.c: New file.
976 * gdb.base/symtab-search-order-1.c: New file.
977 * gdb.base/symtab-search-order-shlib-1.c: New file.
978
9de00a4a
PA
9792014-11-07 Pedro Alves <palves@redhat.com>
980
981 PR gdb/17511
982 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
983 i?86-*-linux*.
984
e0f52461
SC
9852014-11-03 Siva Chandra Reddy <sivachandra@google.com>
986
987 PR c++/17494
988 * gdb.cp/pr17494.cc: New file.
989 * gdb.cp/pr17494.exp: New file.
990
6ce8c980
YQ
9912014-11-02 Yao Qi <yao@codesourcery.com>
992
993 * gdb.python/python.exp: Get working directory and match the
994 output of "set extended-prompt \\w " with it.
995
02be9a71
DE
9962014-10-30 Doug Evans <dje@google.com>
997
998 * gdb.python/py-objfile.exp: Add tests for setting random attributes
999 in objfiles.
1000 * gdb.python/py-progspace.exp: Add tests for setting random attributes
1001 in progspaces.
1002
3bdff46b
LM
10032014-10-30 Janis Johnson <janisjo@codesourcery.com>
1004
1005 * gdb.base/fullpath-expand.exp: Skip for a remote host.
1006 * gdb.base/realname-expand.exp: Likewise.
1007 * gdb.linespec/macro-relative.exp: Likewise.
1008
ab917dfb
PA
10092014-10-29 Pedro Alves <palves@redhat.com>
1010
1011 PR gdb/17408
1012 * gdb.threads/schedlock.c (some_function): New function.
1013 (call_function): New global.
1014 (MAYBE_CALL_SOME_FUNCTION): New macro.
1015 (thread_function): Call it.
1016 * gdb.threads/schedlock.exp (get_args): Add description parameter,
1017 and use it instead of a global counter. Adjust all callers.
1018 (get_current_thread): Use "find current thread" for test message
1019 here rather than having all callers pass down the same string.
1020 (goto_loop): New procedure, factored out from ...
1021 (my_continue): ... this.
1022 (step_ten_loops): Change parameter from test message to command to
1023 use. Adjust.
1024 (list_count): Delete global.
1025 (check_result): New procedure, factored out from duplicate top
1026 level code.
1027 (continue tests): Wrap in with_test_prefix.
1028 (test_step): New procedure, factored out from duplicate top level
1029 code.
1030 (top level): Test "step" in combination with all scheduler-locking
1031 modes. Test "next" in combination with all scheduler-locking
1032 modes, and in combination with stepping over a function call or
1033 not.
1034 * gdb.threads/next-bp-other-thread.c: New file.
1035 * gdb.threads/next-bp-other-thread.exp: New file.
1036
d3d4baed
PA
10372014-10-29 Pedro Alves <palves@redhat.com>
1038
1039 PR python/17372
1040 * gdb.python/python.exp: Test a multi-line command that spawns
1041 interactive Python.
1042 * gdb.base/multi-line-starts-subshell.exp: New file.
1043
563e8d85
YQ
10442014-10-29 Yao Qi <yao@codesourcery.com>
1045
1046 * gdb.base/fileio.exp: Make directories on host.
1047
0ea4d52e
YQ
10482014-10-29 Yao Qi <yao@codesourcery.com>
1049
1050 * gdb.base/fileio.c (test_write): Close the file.
1051
7f5ef605
PA
10522014-10-28 Pedro Alves <palves@redhat.com>
1053
1054 PR gdb/12623
1055 * gdb.base/sigstep.c (no_handler): New global.
1056 (main): If 'no_handler is true, set the signal handlers to
1057 SIG_IGN.
1058 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
1059 with_sw_watch and no_handler parameters. Handle them.
1060 (top level) <stepping over handler when stopped at a breakpoint
1061 test>: Add a test axis for testing with a software watchpoint, and
1062 another for testing with the signal handler set to SIG_IGN.
1063 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
1064 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
1065
abbdbd03
PA
10662014-10-28 Pedro Alves <palves@redhat.com>
1067
1068 PR gdb/17511
1069 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
1070 * gdb.base/sigstep.exp (other_handler_location): New global.
1071 (advance): Support stepping into the signal handler, and running
1072 commands while in the handler.
1073 (in_handler_map): New global.
1074 (top level): In the advance test, add combinations for getting
1075 into the handler with stepping commands, and for running commands
1076 in the handler. Add comment descripting the advancei tests.
1077
1df4399f
PA
10782014-10-28 Pedro Alves <palves@redhat.com>
1079
1080 * gdb.base/sigstep.exp: Use build_executable instead of
1081 prepare_for_testing.
1082 (top level): Move code that starts GDB, runs to main and creates a
1083 display to ...
1084 (restart): ... this new procedure.
1085 (top level): Move backtrace from signal handler test to ...
1086 (validate_backtrace): ... this new procedure.
1087 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
1088 with_test_prefix. Always restart GDB.
1089 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
1090 with_test_prefix. Always restart GDB. No need to delete
1091 breakpoints after the test.
1092 (test_skip_handler): Remove prefix parameter.
1093 (skip_over_handler, breakpoint_to_handler)
1094 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
1095 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
1096 restart GDB. No need to delete breakpoints after the test.
1097 (top level): Use foreach to call the test procedures with
1098 different commands.
1099
a5b6e449
PA
11002014-10-28 Pedro Alves <palves@redhat.com>
1101
1102 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
1103 instead of GNATS numbers.
1104 * gdb.base/sigbpt.exp: Likewise.
1105 * gdb.base/siginfo.exp: Likewise.
1106 * gdb.base/sigstep.exp: Likewise.
1107
e5f8a7cc
PA
11082014-10-27 Pedro Alves <palves@redhat.com>
1109
1110 * gdb.base/sigstep.c (dummy): New global.
1111 (main): Issue a couple writes to the new global.
1112 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
1113 procedures.
1114 (skip_over_handler): Use test_skip_handler.
1115 (top level): Call skip_over_handler for stepi and nexti too.
1116 (breakpoint_over_handler): Use test_skip_handler.
1117 (top level): Call breakpoint_over_handler for stepi and nexti too.
1118
763905a3
YQ
11192014-10-27 Yao Qi <yao@codesourcery.com>
1120
1121 * gdb.trace/tfile.c (adjust_function_address)
1122 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
1123 function descriptor.
1124
6f259a23
DB
11252014-10-24 Don Breazeal <donb@codesourcery.com>
1126
1127 * gdb.base/foll-fork.exp (test_follow_fork,
1128 catch_fork_child_follow): Check for updated fork messages emitted
1129 from infrun.c.
1130 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
1131 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
1132 vfork_and_exec_child_follow_through_step): Check for updated vfork
1133 messages emitted from infrun.c.
1134
09dd9a69
PA
11352014-10-24 Pedro Alves <palves@redhat.com>
1136
1137 * gdb.base/corefile.exp: Remove references to ultrix.
1138 * gdb.base/interrupt.exp: Likewise.
1139 * gdb.base/whatis.exp: Likewise.
1140 * gdb.gdb/selftest.exp: Likewise.
1141 * gdb.threads/manythreads.exp: Likewise.
1142 * gdb.threads/print-threads.exp: Likewise.
1143 * gdb.threads/pthreads.exp:: Likewise.
1144 * gdb.threads/schedlock.exp: Likewise.
1145
3433cfa5
SC
11462014-10-24 Siva Chandra Reddy <sivachandra@google.com>
1147
1148 * gdb.cp/non-trivial-retval.cc: Add a test case.
1149 * gdb.cp/non-trivial-retval.exp: Add a test.
1150
092f880b
YQ
11512014-10-20 Yao Qi <yao@codesourcery.com>
1152
1153 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
1154 * gdb.python/py-objfile-script-gdb.py: New file.
1155 * gdb.python/py-objfile-script.exp: Update reference to
1156 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
1157 of remote_download. Remove the dest file.
1158
acbdb7f3
YQ
11592014-10-20 Yao Qi <yao@codesourcery.com>
1160
1161 * gdb.base/checkpoint.exp: Don't remove file copied on host.
1162 * gdb.base/step-line.exp: Likewise.
1163 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1164 * gdb.dwarf2/dw2-basic.exp: Likewise.
1165 * gdb.dwarf2/dw2-compressed.exp: Likewise.
1166 * gdb.dwarf2/dw2-filename.exp: Likewise.
1167 * gdb.dwarf2/dw2-intercu.exp: Likewise.
1168 * gdb.dwarf2/dw2-intermix.exp: Likewise.
1169 * gdb.dwarf2/dw2-producer.exp: Likewise.
1170 * gdb.dwarf2/mac-fileno.exp: Likewise.
1171 * gdb.python/py-frame-args.exp: Likewise.
1172 * gdb.python/py-framefilter.exp: Likewise.
1173 * gdb.python/py-mi.exp: Likewise.
1174 * gdb.python/py-objfile-script.exp: Likewise
1175 * gdb.python/py-pp-integral.exp: Likewise.
1176 * gdb.python/py-pp-re-notag.exp: Likewise.
1177 * gdb.python/py-prettyprint.exp: Likewise.
1178 * gdb.python/py-section-script.exp: Likewise.
1179 * gdb.python/py-typeprint.exp: Likewise.
1180 * gdb.python/py-xmethods.exp: Likewise.
1181 * gdb.stabs/weird.exp: Likewise.
1182 * gdb.xml/tdesc-regs.exp: Likewise.
1183
bd286a29
KCY
11842014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
1185
1186 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
1187 (out_cu): Use addr_len for the size of addresses.
1188 (out_line): Likewise. Size DW_LNE_set_address instruction
1189 according to addr_len.
1190 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
1191 (FUNC): Add START_INSNS to definition.
1192
673dc4a0
YQ
11932014-10-18 Yao Qi <yao@codesourcery.com>
1194
1195 * gdb.base/argv0-symlink.exp: Check argv[0] value if
1196 gdb_has_argv0 return true.
1197 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
1198 check [target_info exists noargs], check [gdb_has_argv0]
1199 instead.
1200 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1201 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
1202 procedures.
1203
4ffbba72
DE
12042014-10-17 Doug Evans <dje@google.com>
1205
1206 * gdb.python/py-events.exp: Update expected output for clear_objfiles
1207 event.
1208 * gdb.python/py-events.py: Add clear_objfiles event.
1209
d096d8c1
DE
12102014-10-17 Doug Evans <dje@google.com>
1211
1212 * gdb.python/py-objfile.exp: Test progspace attribute.
1213
a80db015
LM
12142014-10-17 Luis Machado <lgustavo@codesourcery.com>
1215
1216 * gdb.guile/scm-breakpoint.exp: Do not assume any
1217 directory separators when matching source file paths.
1218 * gdb.python/py-breakpoint.exp: Likewise.
1219 * gdb.reverse/break-precsave.exp: Likewise.
1220 * gdb.reverse/break-reverse.exp: Likewise.
1221 * gdb.reverse/consecutive-precsave.exp: Likewise.
1222 * gdb.reverse/finish-precsave.exp: Likewise.
1223 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
1224 * gdb.reverse/finish-reverse.exp: Likewise.
1225 * gdb.reverse/i386-precsave.exp: Likewise.
1226 * gdb.reverse/i387-env-reverse.exp: Likewise.
1227 * gdb.reverse/i387-stack-reverse.exp: Likewise.
1228 * gdb.reverse/machinestate-precsave.exp: Likewise.
1229 * gdb.reverse/machinestate.exp: Likewise.
1230 * gdb.reverse/sigall-precsave.exp: Likewise.
1231 * gdb.reverse/solib-precsave.exp: Likewise.
1232 * gdb.reverse/step-precsave.exp: Likewise.
1233 * gdb.reverse/until-precsave.exp: Likewise.
1234 * gdb.reverse/watch-precsave.exp: Likewise.
1235 * gdb.reverse/watch-reverse.exp: Likewise.
1236
b22089ab
YQ
12372014-10-17 Yao Qi <yao@codesourcery.com>
1238
1239 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
1240 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
1241
6c4486e6
PA
12422014-10-17 Pedro Alves <palves@redhat.com>
1243
1244 PR gdb/17471
1245 * gdb.base/bg-execution-repeat.c: New file.
1246 * gdb.base/bg-execution-repeat.exp: New file.
1247
0ff33695
PA
12482014-10-17 Pedro Alves <palves@redhat.com>
1249
1250 PR gdb/17300
1251 * gdb.base/continue-all-already-running.c: New file.
1252 * gdb.base/continue-all-already-running.exp: New file.
1253
6fdebc3d
PA
12542014-10-17 Pedro Alves <palves@redhat.com>
1255
1256 PR gdb/17472
1257 * gdb.base/annota-input-while-running.c: New file.
1258 * gdb.base/annota-input-while-running.exp: New file.
1259
32a8097b
PA
12602014-10-17 Pedro Alves <palves@redhat.com>
1261
1262 * gdb.base/callfuncs.exp: emove references to osf.
1263 * gdb.base/sigall.exp: Likewise.
1264 * gdb.gdb/selftest.exp: Likewise.
1265 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1266 * gdb.mi/non-stop.c: Likewise.
1267 * gdb.mi/pthreads.c: Likewise.
1268 * gdb.reverse/sigall-precsave.exp: Likewise.
1269 * gdb.reverse/sigall-reverse.exp: Likewise.
1270 * gdb.threads/pthreads.c: Likewise.
1271 * gdb.threads/pthreads.exp: Likewise.
1272
7a3517ff
YQ
12732014-10-17 Yao Qi <yao@codesourcery.com>
1274
1275 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
1276 check 'target_info exists noargs'.
1277 (test_command_prompt_position): Likewise.
1278 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
1279 Remove "set args".
1280 (progvar_simple_while_test): Likewise.
1281 (progvar_complex_if_while_test): Likewise.
1282 (if_while_breakpoint_command_test): Likewise.
1283 (infrun_breakpoint_command_test): Likewise.
1284 (breakpoint_command_test): Likewise.
1285 (watchpoint_command_test): Likewise.
1286 (bp_deleted_in_command_test): Likewise.
1287 (temporary_breakpoint_commands): Likewise.
1288
bb99c472
YQ
12892014-10-16 Yao Qi <yao@codesourcery.com>
1290
1291 * gdb.base/remotetimeout.exp: Remove noargs checking.
1292
7c16b83e
PA
12932014-10-15 Pedro Alves <palves@redhat.com>
1294
1295 PR breakpoints/9649
1296 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
1297 * gdb.base/breakpoint-in-ro-region.exp
1298 (probe_target_hardware_step): New procedure.
1299 (top level): Probe hardware stepping and hardware breakpoint
1300 support. Test stepping through a read-only region, with both
1301 "breakpoint auto-hw" on and off and both "always-inserted" on and
1302 off.
1303
35a49624
IB
13042014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
1305
1306 * gdb.dlang/demangle.exp: Update for demangling changes.
1307
2d1c107c
SC
13082014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1309
1310 * gdb.cp/non-trivial-retval.cc: Add new test cases.
1311 * gdb.cp/non-trivial-retval.exp: Add new tests.
1312
778811d5
SC
13132014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1314
1315 PR c++/13403
1316 PR c++/15154
1317 * gdb.cp/non-trivial-retval.cc: New file.
1318 * gdb.cp/non-trivial-retval.exp: New file.
1319
10c5f0a8
YQ
13202014-10-15 Yao Qi <yao@codesourcery.com>
1321
1322 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
1323 remote host.
1324
65d7b369
YQ
13252014-10-15 Yao Qi <yao@codesourcery.com>
1326
1327 * gdb.python/py-symbol.exp: Match file base name if host is
1328 remote, otherwise match file name with dir name.
1329 * gdb.python/py-symtab.exp: Likewise.
1330 * gdb.python/python.exp: Likewise.
1331
46dc1394
YQ
13322014-10-15 Yao Qi <yao@codesourcery.com>
1333
1334 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
1335 pattern.
1336 * gdb.python/py-symtab.exp: Likewise.
1337 * gdb.python/python.exp: Remove trailing ".*". Fix typo
1338 locationn.
1339
c40cc657
JB
13402014-10-14 Joel Brobecker <brobecker@adacore.com>
1341
1342 * gdb.ada/addr_arith: New testcase.
1343
2abf49e1
MR
13442014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
1345
1346 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
1347 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
1348 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
1349 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
1350
f7088df3
SDJ
13512014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
1352
1353 * gdb.arch/stap-eval-lang-ada.S: Likewise.
1354 * gdb.arch/stap-eval-lang-ada.c: Likewise.
1355 * gdb.arch/stap-eval-lang-ada.exp: New file.
1356
4dc06805
YQ
13572014-10-14 Yao Qi <yao@codesourcery.com>
1358
1359 * gdb.mi/mi-var-child.c (nothing1): New function.
1360 (nothing2): New function.
1361 (do_children_tests): Set function pointers by nothing1 and
1362 nothing2.
1363 * gdb.mi/mi-var-child.exp: Step over new added statements.
1364 Update test to match the new output.
1365 * gdb.mi/var-cmd.c (nothing1): New function.
1366 (nothing2): New function.
1367 (do_children_tests): Set function pointers by nothing1 and
1368 nothing2.
1369 * gdb.mi/mi-var-display.exp: Update test to match output.
1370 Step to the line specified by $line_dct_nothing.
1371 Increase the number of lines to step.
1372
46a93de2
YQ
13732014-10-14 Yao Qi <yao@codesourcery.com>
1374
1375 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
1376 tests.
1377 * gdb.mi/mi2-var-child.exp: Likewise.
1378
14ea52ee
DE
13792014-10-13 Doug Evans <dje@google.com>
1380
1381 * gdb.python/py-objfile.exp: Change name of file name test.
1382
e5c6e92b
DE
13832014-10-13 Doug Evans <dje@google.com>
1384
1385 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
1386 from the start of the CU.
1387
c780cc2f
JK
13882014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1389 Yao Qi <yao@codesourcery.com>
1390
1391 Fix "save breakpoints" for "catch" command.
1392 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
1393 Remove -nonewline. Match also the added "main" line.
1394
99894e11
JK
13952014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1396
1397 Fix "save breakpoints" for "disable $bpnum" command.
1398 * gdb.base/save-bp.c (main): Add label.
1399 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
1400
6e1ac5a3
JK
14012014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1402
1403 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
1404
754dd2b0
YQ
14052014-10-11 Yao Qi <yao@codesourcery.com>
1406
1407 * gdb.server/server-kill.exp: Execute command
1408 "set remote trace-status-packet on" before "tstatus".
1409
f90183d7
YQ
14102014-10-11 Yao Qi <yao@codesourcery.com>
1411
1412 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
1413 (main): Call getppid.
1414 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
1415 and continue to it. Read variable "server_pid".
1416
bf40a607
YQ
14172014-10-11 Yao Qi <yao@codesourcery.com>
1418
1419 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
1420
052ca370
YQ
14212014-10-11 Yao Qi <yao@codesourcery.com>
1422
1423 * gdb.threads/thread-find.exp: Don't execute command
1424 "info threads".
1425 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
1426 * gdb.threads/linux-dp.exp: Don't check the condition
1427 $threads_created equals to zero.
1428
3831839c
PA
14292014-10-10 Pedro Alves <palves@redhat.com>
1430
1431 * gdb.base/bigcore.exp: Remove references to IRIX.
1432 * gdb.base/funcargs.exp: Likewise.
1433 * gdb.base/interrupt.exp: Likewise.
1434 * gdb.base/mips_pro.exp: Likewise.
1435 * gdb.base/nodebug.exp: Likewise.
1436 * gdb.base/setvar.exp: Likewise.
1437 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
1438
8b9a549d
PA
14392014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1440 Pedro Alves <palves@redhat.com>
1441
1442 PR symtab/14466
1443 * gdb.base/vdso-warning.c: New file.
1444 * gdb.base/vdso-warning.exp: New file.
1445
d48ba5e8
DE
14462014-10-02 Doug Evans <dje@google.com>
1447
1448 * gdb.base/structs.c (main): Don't run forever.
1449
2278c276
PA
14502014-10-02 Pedro Alves <palves@redhat.com>
1451
1452 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
1453 (top level) <stop threads 1, stop threads 2>: Use it.
1454
b57bacec
PA
14552014-10-02 Pedro Alves <palves@redhat.com>
1456
1457 * gdb.threads/break-while-running.exp (test): Add new
1458 'update_thread_list' argument. Skip "info threads" if false.
1459 (top level): Add new 'update_thread_list' axis.
1460
13fd3ff3
PA
14612014-10-02 Pedro Alves <palves@redhat.com>
1462
1463 PR breakpoints/17431
1464 * gdb.base/execl-update-breakpoints.c: New file.
1465 * gdb.base/execl-update-breakpoints.exp: New file.
1466
0fec99e8
PA
14672014-10-01 Pedro Alves <palves@redhat.com>
1468
1469 * gdb.base/breakpoint-in-ro-region.c: New file.
1470 * gdb.base/breakpoint-in-ro-region.exp: New file.
1471
2ddf4301
SM
14722014-10-01 Simon Marchi <simon.marchi@ericsson.com>
1473
1474 * gdb.mi/mi-exit-code.exp: New file.
1475 * gdb.mi/mi-exit-code.c: New file.
1476
6a5f3f43
YQ
14772014-09-30 Yao Qi <yao@codesourcery.com>
1478
1479 * lib/prelink-support.exp (build_executable_own_libs): Error if
1480 the target isn't native.
1481
345bcc73
YQ
14822014-09-30 Yao Qi <yao@codesourcery.com>
1483
1484 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
1485 false.
1486
a25a5a45
PA
14872014-09-22 Pedro Alves <palves@redhat.com>
1488
1489 * gdb.threads/break-while-running.exp: New file.
1490 * gdb.threads/break-while-running.c: New file.
1491
00ba3162
YQ
14922014-09-19 Yao Qi <yao@codesourcery.com>
1493
1494 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
1495 Invoke test. Restart GDB with --readnow and invoke test again.
1496
c3b7b696
YQ
14972014-09-19 Yao Qi <yao@codesourcery.com>
1498
1499 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
1500 proc set_breakpoint_on_gcd_function. Invoke
1501 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
1502 invoke set_breakpoint_on_gcd_function again.
1503
2b4fd423
DE
15042014-09-18 Doug Evans <dje@google.com>
1505
1506 * gdb.dwarf2/symtab-producer.exp: New file.
1507
a5947601
SDJ
15082014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1509
1510 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
1511 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
1512 * gdb.base/global-var-nested-by-dso.c: Likewise.
1513 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1514
91c19059
SDJ
15152014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1516 Pedro Alves <palves@redhat.com>
1517
1518 * gdb.base/watch-bitfields.exp: Pass string other than test file
1519 name to prepare_for_testing.
1520 (watch): New procedure.
1521 (expect_watchpoint): Use with_test_prefix.
1522 (top level): Factor out tests to ...
1523 (test_watch_location, test_regular_watch): ... these new
1524 procedures, and use with_test_prefix and gdb_continue_to_end.
1525
bb9d5f81
PP
15262014-09-16 Patrick Palka <patrick@parcs.ath.cx>
1527
1528 PR breakpoints/12526
1529 * gdb.base/watch-bitfields.exp: New file.
1530 * gdb.base/watch-bitfields.c: New file.
1531
635856f5
PA
15322014-09-16 Pedro Alves <palves@redhat.com>
1533
1534 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
1535 software and hardware addresses, not software address against
1536 itself.
1537
7280ceea
PA
15382014-09-16 Pedro Alves <palves@redhat.com>
1539
1540 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
1541 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
1542
428b16bd
PA
15432014-09-16 Pedro Alves <palves@redhat.com>
1544
1545 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
1546 files.
1547 * gdb.base/a2-run.exp: Remove all code guarded by istarget
1548 "*-*-vxworks*" throughout.
1549 * gdb.base/break.exp: Likewise.
1550 * gdb.base/default.exp: Likewise.
1551 * gdb.base/scope.exp: Likewise.
1552 * gdb.base/sepdebug.exp: Likewise.
1553 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
1554 throughout.
1555 * gdb.base/run.c: Likewise.
1556 * gdb.base/sepdebug.c: Likewise.
1557 * gdb.hp/gdb.aCC/run.c: Likewise.
1558 * gdb.reverse/until-reverse.c: Likewise.
1559 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
1560
666d413c
YQ
15612014-09-16 Yao Qi <yao@codesourcery.com>
1562
1563 * boards/local-remote-host-native.exp: New file.
1564
57cbd724
DE
15652014-09-14 Doug Evans <xdje42@gmail.com>
1566
1567 * gdb.threads/queue-signal.c (thread_count): New variable.
1568 (thread_count_mutex, thread_count_condvar): New variables.
1569 (incr_thread_count, wait_all_threads_running): New functions.
1570 (main): Wait for all threads to be in their thread functions.
1571
81219e53
DE
15722014-09-13 Doug Evans <xdje42@gmail.com>
1573
1574 * gdb.threads/queue-signal.c: New file.
1575 * gdb.threads/queue-signal.exp: New file.
1576
3714cea7
DE
15772014-09-13 Doug Evans <xdje42@gmail.com>
1578
1579 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
1580 be consistent with what default_gdb_init uses.
1581 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
1582 the plain text of the prompt. Add some logging printfs.
1583 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
1584
fa43b1d7
PA
15852014-09-12 Pedro Alves <palves@redhat.com>
1586
1587 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
1588 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
1589 * gdb.arch/i386-size-overlap.exp: Likewise.
1590 * gdb.arch/i386-size.exp: Likewise.
1591 * gdb.arch/i386-unwind.exp: Likewise.
1592 * gdb.base/a2-run.exp: Likewise.
1593 * gdb.base/break.exp: Likewise.
1594 * gdb.base/charset.exp: Likewise.
1595 * gdb.base/chng-syms.exp: Likewise.
1596 * gdb.base/commands.exp: Likewise.
1597 * gdb.base/dbx.exp: Likewise.
1598 * gdb.base/find.exp: Likewise.
1599 * gdb.base/funcargs.exp: Likewise.
1600 * gdb.base/jit-simple.exp: Likewise.
1601 * gdb.base/reread.exp: Likewise.
1602 * gdb.base/sepdebug.exp: Likewise.
1603 * gdb.base/step-bt.exp: Likewise.
1604 * gdb.cp/mb-inline.exp: Likewise.
1605 * gdb.cp/mb-templates.exp: Likewise.
1606 * gdb.objc/basicclass.exp: Likewise.
1607 * gdb.threads/killed.exp: Likewise.
1608
9d9bf2df
EBM
16092014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1610
1611 PR tdep/17379
1612 * gdb.arch/powerpc-stackless.S: New file.
1613 * gdb.arch/powerpc-stackless.exp: New file.
1614
1cf2f1b0
JK
16152014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1616
1617 * gdb.base/attach.c: Include unistd.h.
1618 (main): Call alarm. Add label postloop.
1619 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
1620 gdb_breakpoint, gdb_continue_to_breakpoint.
1621 (test_command_line_attach_run): Kill ${testpid} in one exit path.
1622
98880d46
PA
16232014-09-11 Pedro Alves <palves@redhat.com>
1624
1625 PR gdb/17347
1626 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
1627 * gdb.base/attach.exp (test_command_line_attach_run): New
1628 procedure.
1629 (top level): Call it.
1630
4c92ff2c
PA
16312014-09-11 Pedro Alves <palves@redhat.com>
1632
1633 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
1634 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
1635 (do_command_attach_tests): Use spawn_wait_for_attach.
1636 * gdb.base/solib-overlap.exp: Likewise.
1637 * gdb.multi/multi-attach.exp: Likewise.
1638 * gdb.python/py-prompt.exp: Likewise.
1639 * gdb.python/py-sync-interp.exp: Likewise.
1640 * gdb.server/ext-attach.exp: Likewise.
1641
3adc1a7d
GKB
16422014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
1643
1644 * gdb.fortran/array-element.exp: Remove unexpected "continue"
1645 command in testcase. Simplify testcase.
1646
96334934
JB
16472014-09-10 Joel Brobecker <brobecker@adacore.com>
1648
1649 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
1650
eb479039
JB
16512014-09-10 Joel Brobecker <brobecker@adacore.com>
1652
1653 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
1654
deede10c
JB
16552014-09-10 Joel Brobecker <brobecker@adacore.com>
1656
1657 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
1658
7828a5f5
JB
16592014-09-10 Joel Brobecker <brobecker@adacore.com>
1660
1661 * gdb.dwarf2/dynarr-ptr.c: New file.
1662 * gdb.dwarf2/dynarr-ptr.exp: New file.
1663
33aeebcf
MR
16642014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1665
1666 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
1667 of 30 rather than hardcoding 120 for a slow test case. Take the
1668 `gdb,timeout' target setting into account for this calculation.
1669 Don't extend the timeout for the test cases that don't need it.
1670
7b415901
MR
16712014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1672
1673 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
1674 a factor of 2 for a slow test case. Take the `gdb,timeout'
1675 target setting into account for this calculation.
1676 * gdb.reverse/until-precsave.exp: Increase the timeout by
1677 a factor of 15 and 3 respectively rather than adding 120
1678 for a pair of slow test cases. Take the `gdb,timeout'
1679 target setting into account for this calculation.
1680
4a40f85a
MR
16812014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1682
1683 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
1684 timeout, don't pass one down to gdb_expect.
1685 (gdb_expect): Rework timeout selection.
1686
09635af7
MR
16872014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1688
1689 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
1690 exception on timeout.
1691 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
1692 (gdbserver_start_extended): Catch any `gdbserver_start' error
1693 exceptions.
1694 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
1695 * lib/mi-support.exp (mi_gdb_target_load): Catch any
1696 `gdbserver_gdb_load' error exceptions.
1697
2bdd10b7
MR
16982014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1699
1700 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
1701 120 on waiting for the TCP socket to open.
1702
316935f0
DE
17032014-09-09 Doug Evans <xdje42@gmail.com>
1704
1705 * gdb.base/default.exp (show_conv_list): Add _caller_is,
1706 _caller_matches, _any_caller_is, _any_caller_matches.
1707
83740597
DE
17082014-09-09 Doug Evans <xdje42@gmail.com>
1709
1710 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
1711
4c122fc3
YQ
17122014-09-09 Yao Qi <yao@codesourcery.com>
1713
1714 * gdb.mi/mi-var-display.exp: Set print symbol off.
1715
a9f116cb
GKB
17162014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
1717
1718 PR gdb/17035
1719 * gdb.base/commands.exp: Add tests to verify user-defined
1720 commands with empty bodies.
1721 * gdb.python/py-cmd.exp: Test that we don't show user-defined
1722 python commands in `show user command`.
1723 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
1724 scheme commands in `show user command`.
1725
c75bd3a2
JK
17262014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1727
1728 PR python/17355
1729 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
1730 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
1731 * gdb.python/py-framefilter-invalidarg.exp: New file.
1732 * gdb.python/py-framefilter-invalidarg.py: New file.
1733
faa42425
DE
17342014-09-06 Doug Evans <xdje42@gmail.com>
1735
1736 PR 15276
1737 * gdb.python/py-caller-is.c: New file.
1738 * gdb.python/py-caller-is.exp: New file.
1739
474ca4f6
SDJ
17402014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
1741
1742 PR gdb/17235
1743 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
1744 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
1745
eb0b0463
SDJ
17462014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
1747
1748 PR fortran/17237
1749 * gdb.fortran/print-formatted.exp: New file.
1750 * gdb.fortran/print-formatted.f90: Likewise.
1751
5f3b99cf
SS
17522014-09-03 Sasha Smundak <asmundak@google.com>
1753
1754 * gdb.python/py-frame.exp: Test Frame.read_register.
1755
7d793aa9
SDJ
17562014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
1757
1758 PR python/16699
1759 * gdb.python/py-completion.exp: New file.
1760 * gdb.python/py-completion.py: Likewise.
1761
fb0576e9
DE
17622014-08-28 Doug Evans <dje@google.com>
1763
1764 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
1765 eax,etc. are live with values set by gdb and thus the compiler can't
1766 use them.
1767 * gdb.arch/i386-pseudo.c (main): Ditto.
1768
ee92b0dd
DE
17692014-08-27 Doug Evans <dje@google.com>
1770
1771 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
1772
6649db35
DE
17732014-08-25 Doug Evans <dje@google.com>
1774
1775 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
1776 (main): Ditto.
1777
564b7600
DE
17782014-08-25 Doug Evans <dje@google.com>
1779
1780 * gdb.threads/thread-execl.exp: #include <stdio.h>.
1781
3881fb67
YQ
17822014-08-24 Yao Qi <yao@codesourcery.com>
1783
1784 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
1785 symbol off.
1786 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
1787
a05a36a5
DE
17882014-08-22 Doug Evans <dje@google.com>
1789
1790 PR 17276
1791 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
1792 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
1793 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
1794
7c343b48
YQ
17952014-08-22 Yao Qi <yao@codesourcery.com>
1796
1797 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
1798 * gdb.python/py-finish-breakpoint2.exp: Likewise.
1799 * gdb.python/python.exp: Likewise. Use .py file on the host
1800 instead of the build.
1801
22fd09ae
JK
18022014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1803
1804 * gdb.threads/gcore-stale-thread.c: New file.
1805 * gdb.threads/gcore-stale-thread.exp: New file.
1806
a8454a7c
PA
18072014-08-21 Pedro Alves <palves@redhat.com>
1808
1809 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
1810 * gdb.base/gcore-relro-pie.exp: Likewise.
1811 * gdb.base/gcore-relro.exp: Likewise.
1812 * gdb.base/gcore.exp: Likewise.
1813 * gdb.base/print-symbol-loading.exp: Likewise.
1814 * gdb.threads/gcore-thread.exp: Likewise.
1815 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
1816
2a31c623
PA
18172014-08-20 Pedro Alves <palves@redhat.com>
1818 Jan Kratochvil <jan.kratochvil@redhat.com>
1819
1820 * Makefile.in (EXTRA_RULES, CC): New variables, get from
1821 configure.
1822 (EXPECT): Handle READ1 being set.
1823 (all): Depend on EXTRA_RULES.
1824 (check-read1, expect-read1, read1.so, read1): New rules.
1825 * README (Testsuite Parameters): Document the READ1 make variable.
1826 (Race detection): New section.
1827 * configure: Regenerate.
1828 * configure.ac: If build==host==target, and running under a
1829 GNU/glibc system, add read1 to the extra Makefile rules.
1830 (EXTRA_RULES): AC_SUBST it.
1831 * lib/read1.c: New file.
1832
d36430db
JB
18332014-08-20 Joel Brobecker <brobecker@adacore.com>
1834
1835 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
1836 the handling of variables declared as a typedef to an array
1837 which a DW_AT_data_location attribute.
1838
9a0dc9e3
PA
18392014-08-19 Andrew Burgess <aburgess@broadcom.com>
1840 Pedro Alves <palves@redhat.com>
1841
1842 PR symtab/14604
1843 PR symtab/14605
1844 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
1845 gdb_test.
1846
0718a8da
PA
18472014-08-19 Pedro Alves <palves@redhat.com>
1848
1849 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
1850
13b448cd
YQ
18512014-08-19 Yao Qi <yao@codesourcery.com>
1852
1853 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
1854 right line.
1855
1cbf5077
DB
18562014-08-18 David Blaikie <dblaikie@gmail.com>
1857
1858 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
1859
bf0fae19
JB
18602014-08-18 Joel Brobecker <brobecker@adacore.com>
1861
1862 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
1863 attribute in array range.
1864
3c8c5dcc
JB
18652014-08-18 Joel Brobecker <brobecker@adacore.com>
1866
1867 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
1868
e66d4446
SC
18692014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1870
1871 PR c++/17132
1872 * gdb.cp/pr17132.cc: New file.
1873 * gdb.cp/pr17132.exp: New file.
1874
940df408
SC
18752014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1876
1877 * gdb.python/py-xmethods.py (A_getarrayind)
1878 (E_method_char_worker.__call__, E_method_int_worker.__call__):
1879 Use 'print' with function call syntax.
1880 (E_method_matcher.match): Fix tab vs space indentation mixup.
1881
ebcc6c3a
YQ
18822014-08-15 Yao Qi <yao@codesourcery.com>
1883
1884 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
1885 false.
1886
775e0f04
YQ
18872014-08-15 Yao Qi <yao@codesourcery.com>
1888
1889 * gdb.cp/casts.exp: Set print symbol off.
1890 * gdb.cp/class2.exp: Likewise.
1891 * gdb.cp/overload.exp: Likewise.
1892 * gdb.cp/templates.exp: Likewise.
1893
d769e349
DE
18942014-08-11 Doug Evans <dje@google.com>
1895
1896 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
1897 (test_load_shlib): Update.
1898
20c6f1e1
YQ
18992014-08-09 Yao Qi <yao@codesourcery.com>
1900
1901 * gdb.base/display.exp: Invoke is_address_zero_readable.
1902 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
1903 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1904 * gdb.base/hbreak-unmapped.exp: Return if
1905 is_address_zero_readable returns true.
1906 * gdb.base/signest.exp: Likewise.
1907 * gdb.base/signull.exp: Likewise.
1908 * gdb.base/sigbpt.exp: Likewise.
1909 * gdb.guile/scm-disasm.exp: Do the test if
1910 is_address_zero_readable returns false.
1911 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
1912 * gdb.python/py-arch.exp: Likewise.
1913 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
1914 * lib/gdb.exp (is_address_zero_readable): New proc.
1915
5792e8e3
YQ
19162014-08-09 Yao Qi <yao@codesourcery.com>
1917
1918 PR testsuite/13443
1919 * gdb.mi/mi-var-display.exp: Make test messages unique.
1920
3cecbbbe
TT
19212014-08-04 Tom Tromey <tromey@redhat.com>
1922
1923 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
1924 target 0".
1925
00b51ff5
TT
19262014-08-04 Tom Tromey <tromey@redhat.com>
1927
1928 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
1929 "target_resume".
1930
6908c509
JB
19312014-08-01 Joel Brobecker <brobecker@adacore.com>
1932
1933 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
1934 inner_vla_struct_object_size.
1935 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
1936 as xfail.
1937
cc6563d2
PA
19382014-07-30 Pedro Alves <palves@redhat.com>
1939
1940 * gdb.threads/signal-command-handle-nopass.exp (test): Add
1941 comment.
1942
7e09a223
YQ
19432014-07-29 Yao Qi <yao@codesourcery.com>
1944
1945 PR gdb/17206
1946 * gdb.base/until-nodebug.exp: New.
1947
7ebdbe92
DE
19482014-07-28 Doug Evans <xdje42@gmail.com>
1949
1950 PR guile/17203
1951 * gdb.guile/scm-parameter.exp: Add tests for trying to create
1952 previously existing parameter, and previously ambiguously spelled
1953 parameter.
1954
fdb1adc6
WN
19552014-07-28 Will Newton <will.newton@linaro.org>
1956
1957 * gdb.base/varargs.exp: Remove KFAILs for ARM.
1958
186fcde0
DE
19592014-07-26 Ludovic Courtès <ludo@gnu.org>
1960 Doug Evans <xdje42@gmail.com>
1961
1962 PR guile/17146
1963 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
1964
70509625
PA
19652014-07-25 Pedro Alves <palves@redhat.com>
1966
1967 * gdb.threads/signal-command-handle-nopass.c: New file.
1968 * gdb.threads/signal-command-handle-nopass.exp: New file.
1969 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
1970 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
1971 * gdb.threads/signal-delivered-right-thread.c: New file.
1972 * gdb.threads/signal-delivered-right-thread.exp: New file.
1973
c3f814a1
PA
19742014-07-25 Pedro Alves <palves@redhat.com>
1975
1976 * gdb.base/double-prompt-target-event-error.exp
1977 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
1978 match.
1979 (cancel_pagination_in_target_event): Rework double prompt
1980 detection.
1981 * gdb.base/paginate-after-ctrl-c-running.exp
1982 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
1983 <return>' match.
1984 * gdb.base/paginate-bg-execution.exp
1985 (test_bg_execution_pagination_return)
1986 (test_bg_execution_pagination_cancel): Remove '-notransfer
1987 <return>' matches.
1988 * gdb.base/paginate-execution-startup.exp
1989 (test_fg_execution_pagination_return)
1990 (test_fg_execution_pagination_cancel): Remove '-notransfer
1991 <return>' matches.
1992 * gdb.base/paginate-inferior-exit.exp
1993 (test_paginate_inferior_exited): Remove '-notransfer <return>'
1994 match.
1995 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
1996 * lib/gdb.exp (pagination_prompt): Run text through
1997 string_to_regexp.
1998 (gdb_test_multiple): Match $pagination_prompt instead of
1999 "<return>".
2000 (string_to_regexp): Move to lib/gdb-utils.exp.
2001
e214cf6c
JK
20022014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2003
2004 * gdb.arch/amd64-entry-value-paramref.S: New file.
2005 * gdb.arch/amd64-entry-value-paramref.cc: New file.
2006 * gdb.arch/amd64-entry-value-paramref.exp: New file.
2007 * gdb.arch/amd64-optimout-repeat.S: New file.
2008 * gdb.arch/amd64-optimout-repeat.c: New file.
2009 * gdb.arch/amd64-optimout-repeat.exp: New file.
2010
17d0c5c8
JK
20112014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2012
2013 PR gdb/17170
2014 * gdb.base/statistics.exp: New file.
2015
b8b8facf
DE
20162014-07-17 Doug Evans <dje@google.com>
2017
74b49205 2018 PR gdb/17170
b8b8facf
DE
2019 * gdb.base/maint.exp: Update testing of per-command stats.
2020
1b5d0ab3
PA
20212014-07-16 Pedro Alves <palves@redhat.com>
2022
2023 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
2024 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
2025 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
2026 (tfile_write_buf): New functions.
2027 (add_memory_block): Rewrite using the above.
2028 (adjust_function_address): New function.
2029 (FUNCTION_ADDRESS): New macro.
2030 (write_basic_trace_file): Remove short_x local, and use
2031 tfile_write_16. Change type of func_addr local to unsigned long
2032 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
2033 here. Cast argument of add_memory_block to char pointer.
2034 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
2035 (main): Remove parameters.
2036 * gdb.trace/tfile.exp: Remove nowarnings.
2037
4d974e88
SM
20382014-07-15 Simon Marchi <simon.marchi@ericsson.com>
2039
2040 * gdb.base/debug-expr.exp: Test string evaluation with
2041 "debug expression" on.
2042
41e99568
PA
20432014-07-15 Pedro Alves <palves@redhat.com>
2044
2045 * gdb.base/reread.exp: Use clean_restart.
2046
487d9753
PL
20472014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
2048
2049 * gdb.arch/avr-flash-qualifer.c: New.
2050 * gdb.arch/avr-flash-qualifer.exp: New.
2051
cc1c52ad
PA
20522014-07-14 Pedro Alves <palves@redhat.com>
2053
2054 * gdb.base/paginate-after-ctrl-c-running.c: New file.
2055 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
2056
1e973570
PA
20572014-07-14 Pedro Alves <palves@redhat.com>
2058
2059 * gdb.base/double-prompt-target-event-error.c: New file.
2060 * gdb.base/double-prompt-target-event-error.exp: New file.
2061
93d6eb10
PA
20622014-07-14 Pedro Alves <palves@redhat.com>
2063
2064 PR gdb/17072
2065 * gdb.base/paginate-inferior-exit.c: New file.
2066 * gdb.base/paginate-inferior-exit.exp: New file.
2067
0017922d
PA
20682014-07-14 Pedro Alves <palves@redhat.com>
2069
2070 PR gdb/17072
2071 * gdb.base/paginate-bg-execution.c: New file.
2072 * gdb.base/paginate-bg-execution.exp: New file.
2073
94696ad3
PA
20742014-07-14 Pedro Alves <palves@redhat.com>
2075
2076 PR gdb/17072
2077 * gdb.base/paginate-execution-startup.c: New file.
2078 * gdb.base/paginate-execution-startup.exp: New file.
2079 * lib/gdb.exp (pagination_prompt): New global.
2080 (default_gdb_spawn): New procedure, factored out from
2081 default_gdb_spawn.
2082 (default_gdb_start): Adjust to call default_gdb_spawn.
2083 (gdb_spawn): New procedure.
2084
bd293940
PA
20852014-07-14 Pedro Alves <palves@redhat.com>
2086
2087 * lib/gdb.exp (gdb_assert): New procedure.
2088 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
2089
c933f875
PA
20902014-07-14 Pedro Alves <palves@redhat.com>
2091
2092 * gdb.base/execution-termios.c: New file.
2093 * gdb.base/execution-termios.exp: New file.
2094
d98b7a16
TT
20952014-07-14 Tom Tromey <tromey@redhat.com>
2096
2097 * gdb.cp/vla-cxx.cc: New file.
2098 * gdb.cp/vla-cxx.exp: New file.
2099
548740d6
TT
21002014-07-14 Tom Tromey <tromey@redhat.com>
2101
2102 * gdb.reverse/rerun-prec.c: New file.
2103 * gdb.reverse/rerun-prec.exp: New file.
2104
a25eb028
MR
21052014-07-12 Maciej W. Rozycki <macro@mips.com>
2106 Maciej W. Rozycki <macro@codesourcery.com>
2107
2108 * lib/gdb-utils.exp: New file.
2109 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
2110 inline `gdb_init_command' processing.
2111 (gdb_start_cmd): Likewise.
2112 * lib/mi-support.exp (mi_run_cmd): Likewise.
2113 * README: Document `gdb_init_command' and `gdb_init_commands'.
2114
218c2655
JK
21152014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2116
2117 Fix false FAIL running under a very long directory name.
2118 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
2119 and "set print elements 10000". Twice.
2120
5401fde3
YQ
21212014-07-11 Yao Qi <yao@codesourcery.com>
2122
2123 * gdb.base/exprs.exp: "set print symbol off".
2124
e76126e8
PA
21252014-07-11 Pedro Alves <palves@redhat.com>
2126
2127 * gdb.threads/kill.c: New file.
2128 * gdb.threads/kill.exp: New file.
2129
2d6f0de6
YQ
21302014-07-10 Yao Qi <yao@codesourcery.com>
2131
2132 * gdb.trace/tfile.c (write_basic_trace_file)
2133 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
2134 address written to trace file.
2135
7180e04a
PA
21362014-07-09 Pedro Alves <palves@redhat.com>
2137
2138 * gdb.base/attach-wait-input.exp: New file.
2139 * gdb.base/attach-wait-input.c: New file.
2140
9a9a7608
AB
21412014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2142
2143 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
2144 setting up test structures.
2145 (main): Call new test function.
2146 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
2147 test function, continue into test function and walk test
2148 structures.
2149
161ac41e
YQ
21502014-07-02 Yao Qi <yao@codesourcery.com>
2151
2152 * gdb.trace/entry-values.c: Define labels 'foo_start' and
2153 'bar_start' at the beginning of functions 'foo' and 'bar'
2154 respectively.
2155 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
2156 instead of 'foo' and 'bar'.
2157
1f267ae3
MM
21582014-07-08 Markus Metzger <markus.t.metzger@intel.com>
2159
2160 * gdb.btrace/segv.exp: New.
2161 * gdb.btrace/segv.c: New.
2162
2b239efb
LM
21632014-07-02 Luis Machado <lgustavo@codesourcery.com>
2164
2165 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
2166 instruction.
2167
cf363f18
MW
21682014-06-30 Mark Wielaard <mjw@redhat.com>
2169
2170 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
2171 vulture, vilify, villar): New volatile array constants.
2172 (vindictive, vegetation): New const volatile array constants.
2173 * gdb.base/volatile.exp: Test volatile and const volatile array
2174 types.
2175
aebf9d24
AA
21762014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2177
2178 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
2179 target lacks support for awatch, rwatch, or hbreak.
2180
b67a2c6f
YQ
21812014-06-27 Yao Qi <yao@codesourcery.com>
2182
2183 * gdb.multi/dummy-frame-restore.exp: New.
2184 * gdb.multi/dummy-frame-restore.c: New.
2185
aef92902
MM
21862014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2187
2188 * gdb.btrace/gcore.exp: New.
2189
8e9db26e
PA
21902014-06-23 Pedro Alves <palves@redhat.com>
2191
2192 * gdb.base/watchpoint-reuse-slot.c: New file.
2193 * gdb.base/watchpoint-reuse-slot.exp: New file.
2194
70afc5b7
SC
21952014-06-23 Siva Chandra Reddy <sivachandra@google.com>
2196
2197 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
2198 progspace's filename in 'info', 'enable' and 'disable' command
2199 tests.
2200
b972bd9c
JK
22012014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2202
2203 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
2204 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2205 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
2206
125f8a3d
GB
22072014-06-20 Gary Benson <gbenson@redhat.com>
2208
2209 * gdb.arch/i386-avx.exp: Fix include file location.
2210 * gdb.arch/i386-sse.exp: Likewise.
2211
3ed9baed
IB
22122014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
2213
2214 * gdb.dlang/expression.exp: New file.
2215
034f788c
PA
22162014-06-19 Pedro Alves <palves@redhat.com>
2217
2218 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
2219 out from ...
2220 (top level): ... here. Iterate running tests under different
2221 scheduler-locking settings.
2222
45371d0c
LM
22232014-06-18 Luis Machado <lgustavo@codesourcery.com>
2224
2225 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
2226 to DW_FORM_addr and use non-zero addresses.
2227
5d376983
SC
22282014-06-18 Siva Chandra Reddy <sivachandra@google.com>
2229
2230 PR gdb/17017
2231 * gdb.python/py-xmethods.cc: Add global function call counters and
2232 increment them in their respective functions. Remove "cout"
2233 statements.
2234 * gdb.python/py-xmethods.exp: Make tests check the global function
2235 call counters instead of depending on inferior IO.
2236
a1aa2221
LM
22372014-06-18 Don Breazeal <donb@codesourcery.com>
2238
2239 * gdb.base/foll-fork.exp (default_fork_parent_follow):
2240 Deleted procedure.
2241 (explicit_fork_parent_follow): Deleted procedure.
2242 (explicit_fork_child_follow): Deleted procedure.
2243 (test_follow_fork): New procedure.
2244 (do_fork_tests): Replace calls to deleted procedures with
2245 calls to test_follow_fork and reset GDB for subsequent
2246 procedure calls.
2247
0fc05997
YQ
22482014-06-17 Yao Qi <yao@codesourcery.com>
2249
2250 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
2251 CP1252.
2252
70795c52
LM
22532014-06-17 Luis Machado <lgustavo@codesourcery.com>
2254
2255 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
2256 Initialize ptr and S explicitly.
2257 (skip_type_update_when_not_use_rtti_test): Likewise.
2258
6be47f0c
KS
22592014-06-16 Keith Seitz <keiths@redhat.com>
2260
2261 PR mi/15863
2262 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
2263 the inferior is started.
2264
d03de421
PA
22652014-06-16 Pedro Alves <palves@redhat.com>
2266
2267 * gdb.base/break-main-file-remove-fail.c: New file.
2268 * gdb.base/break-main-file-remove-fail.exp: New file.
2269 * gdb.base/break-unload-file.exp: Use build_executable instead of
2270 prepare_for_testing.
2271 (test_break): New parameter "initial_load". Handle it.
2272 (top level): Add initial_load cmdline/file axis.
2273
f9579b99
TT
22742014-06-12 Tom Tromey <tromey@redhat.com>
2275
2276 * gdb.base/completion.exp: Don't use directory name in test.
2277
3657956b
GB
22782014-06-09 Gary Benson <gbenson@redhat.com>
2279
2280 * gdb.base/sigall.c [Functions to send signals]: Reorder to
2281 separate the always-available ANSI-standard signals from the
2282 signals that require checking.
2283 (main): Likewise.
2284 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
2285 Likewise.
2286 (main): Likewise.
2287
4186eb54
KS
22882014-06-07 Keith Seitz <keiths@redhat.com>
2289
2290 Revert:
2291 PR c++/16253
2292 * gdb.cp/var-tag.cc: New file.
2293 * gdb.cp/var-tag.exp: New file.
2294 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2295 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2296 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2297 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2298
25326a28 22992014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
2300
2301 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
2302
829155c9
PA
23032014-06-06 Pedro Alves <palves@redhat.com>
2304
2305 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
2306 in target debug output instead of looking at RSP packets,
2307 disabling the test on any target that uses hardware stepping.
2308 Update comments.
2309
61c8d22e
PA
23102014-06-06 Pedro Alves <palves@redhat.com>
2311
2312 * gdb.base/break-unload-file.exp: Fix typo.
2313
d9a47287
YQ
23142014-06-06 Yao Qi <yao@codesourcery.com>
2315
2316 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
2317 from "jit_function" to "^jit_function".
2318
e5e01dbf
YQ
23192014-06-06 Yao Qi <yao@codesourcery.com>
2320
2321 * gdb.base/async.c (foo): Add one statement.
2322 * gdb.base/async.exp: Get the next instruction address and
2323 match the output of "nexti" by instruction address. Match
2324 the hex address in the output of "finish".
2325
73ba372c
GB
23262014-06-06 Gary Benson <gbenson@redhat.com>
2327
2328 * gdb.base/call-signals.c: Remove preprocessor conditionals
2329 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
2330 SIGSEGV and SIGTERM.
2331 * gdb.base/sigall.c: Likewise.
2332 * gdb.base/unwindonsignal.c: Likewise.
2333 * gdb.reverse/sigall-reverse.c: Likewise.
2334
831517df
YQ
23352014-06-06 Yao Qi <yao@codesourcery.com>
2336
2337 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
2338 readable, skip the test.
2339
b8b91e98
YQ
23402014-06-06 Yao Qi <yao@codesourcery.com>
2341
2342 * gdb.threads/staticthreads.c (thread_function): Move the line
2343 setting breakpoint on forward.
2344 * gdb.threads/staticthreads.exp: Update comments.
2345
fb934770
LC
23462014-06-05 Ludovic Courtès <ludo@gnu.org>
2347
2348 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
2349 "history-append! type error".
2350
6ef284bd
SM
23512014-06-05 Simon Marchi <simon.marchi@ericsson.com>
2352
2353 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
2354 erroneous dprintf expected input.
2355
a872e241
DE
23562014-06-04 Doug Evans <xdje42@gmail.com>
2357
2358 * gdb.guile/scm-generics.exp: Delete.
2359
16f691fb
DE
23602014-06-04 Doug Evans <xdje42@gmail.com>
2361
2362 * gdb.guile/scm-breakpoint.exp: Update.
2363 Add tests for breakpoint registration.
2364
012370f6
TT
23652014-06-04 Tom Tromey <tromey@redhat.com>
2366
2367 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
2368 VLA-in-union.
2369 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
2370 inner_vla_struct, vla_union types. Initialize objects of those
2371 types and compute their sizes.
2372
9f5a4cef
HZ
23732014-06-04 Nathan Sidwell <nathan@codesourcery.com>
2374 Hui Zhu <hui@codesourcery.com>
2375
2376 * gdb.base/fileio.exp: Add test for shell not available as well as
2377 available.
2378 * gdb.base/fileio.c (test_system): Check for shell twice.
2379
90a45c4d
YQ
23802014-06-04 Yao Qi <yao@codesourcery.com>
2381
2382 * gdb.base/auto-connect-native-target.exp: Remove redundant
2383 space from the regexp pattern.
2384
70017e41
YQ
23852014-06-04 Yao Qi <yao@codesourcery.com>
2386
2387 * gdb.base/default.exp: Replace "child" with "native" in
2388 regexp pattern.
2389
883964a7
SC
23902014-06-03 Siva Chandra Reddy <sivachandra@google.com>
2391
2392 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
2393 * gdb.python/py-xmethods.exp: New tests to test xmethods.
2394 * gdb.python/py-xmethods.py: Python script supporting the
2395 new testcase and tests.
2396
ef370185
JB
23972014-06-03 Joel Brobecker <brobecker@adacore.com>
2398 Pedro Alves <palves@redhat.com>
2399
2400 PR breakpoints/17000
2401 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
2402 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
2403
1e2ccb61
BM
24042014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
2405
2406 * gdb.base/subst.exp: Add tests to verify partial path matching
2407 output.
2408
c6ec5ab2
PA
24092014-06-03 Pedro Alves <palves@redhat.com>
2410
2411 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
2412 target that doesn't use software single-stepping.
2413
835c559f
PA
24142014-06-03 Pedro Alves <palves@redhat.com>
2415
2416 PR breakpoints/17000
2417 * gdb.base/sss-bp-on-user-bp-2.c: New file.
2418 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
2419
06eb1586
DE
24202014-06-02 Doug Evans <xdje42@gmail.com>
2421
2422 * gdb.guile/scm-parameter.exp: New file.
2423
e698b8c4
DE
24242014-06-02 Doug Evans <xdje42@gmail.com>
2425
2426 * gdb.guile/scm-cmd.c: New file.
2427 * gdb.guile/scm-cmd.exp: New file.
2428
ded03782
DE
24292014-06-02 Doug Evans <xdje42@gmail.com>
2430
2431 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
2432 pretty-printer lookup.
2433 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
2434 (make-pp_s-printer): Call it.
2435 (make-pretty-printer-from-dict): New function.
2436 (lookup-pretty-printer-maker-from-dict): New function.
2437 (*pretty-printer*): Simplify.
2438 (make-objfile-pp_s-printer): New function.
2439 (install-objfile-pretty-printers!): New function.
2440 (make-progspace-pp_s-printer): New function.
2441 (install-progspace-pretty-printers!): New function.
2442 * gdb.guile/scm-progspace.c: New file.
2443 * gdb.guile/scm-progspace.exp: New file.
2444
41fac0cf
PA
24452014-06-02 Pedro Alves <palves@redhat.com>
2446
2447 * gdb.base/dprintf-bp-same-addr.c: New file.
2448 * gdb.base/dprintf-bp-same-addr.exp: New file.
2449
96ae5695
EBM
24502014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2451
2452 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
2453 * gdb.arch/powerpc-power.s: Likewise.
2454
da02b3a8
JB
24552014-06-02 Joel Brobecker <brobecker@adacore.com>
2456
2457 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
2458
c72b2e7b
YQ
24592014-06-01 Yao Qi <yao@codesourcery.com>
2460
2461 * gdb.base/watchpoint.exp (test_watch_location): Check null
2462 pointer can be dereferenced. If not, do the test, otherwise
2463 skip it.
2464
53e8a631
AB
24652014-05-30 Andrew Burgess <aburgess@broadcom.com>
2466
2467 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
2468 results.
2469 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
2470
938f0e2f
AB
24712014-05-30 Andrew Burgess <aburgess@broadcom.com>
2472
2473 * gdb.arch/amd64-invalid-stack-middle.S: New file.
2474 * gdb.arch/amd64-invalid-stack-middle.c: New file.
2475 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
2476 * gdb.arch/amd64-invalid-stack-top.c: New file.
2477 * gdb.arch/amd64-invalid-stack-top.exp: New file.
2478
9ba6657a
PA
24792014-05-30 Pedro Alves <palves@redhat.com>
2480
2481 PR breakpoints/17000
2482 * gdb.base/sss-bp-on-user-bp.c: New file.
2483 * gdb.base/sss-bp-on-user-bp.exp: New file.
2484
522c09bf
DB
24852014-05-30 David Blaikie <dblaikie@gmail.com>
2486
2487 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
2488 gnu_inline semantics via attribute.
2489 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
2490 source explicitly specifies the required semantics.
2491
bf4ef81e
MR
24922014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
2493
2494 * gdb.reverse/sigall-reverse.exp: Fix a typo.
2495
329ea579
PA
24962014-05-29 Pedro Alves <palves@redhat.com>
2497 Tom Tromey <tromey@redhat.com>
2498
2499 * gdb.base/async-shell.exp: Don't enable target-async.
2500 * gdb.base/async.exp
2501 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
2502 parameter. Adjust.
2503 (top level): Don't test with "target-async".
2504 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
2505 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
2506 * gdb.base/inferior-died.exp: Don't enable target-async.
2507 * gdb.base/interrupt-noterm.exp: Likewise.
2508 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
2509 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2510 * gdb.mi/mi-nonstop.exp: Likewise.
2511 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2512 * gdb.mi/mi-nsintrall.exp: Likewise.
2513 * gdb.mi/mi-nsmoribund.exp: Likewise.
2514 * gdb.mi/mi-nsthrexec.exp: Likewise.
2515 * gdb.mi/mi-watch-nonstop.exp: Likewise.
2516 * gdb.multi/watchpoint-multi.exp: Adjust comment.
2517 * gdb.python/py-evsignal.exp: Don't enable target-async.
2518 * gdb.python/py-evthreads.exp: Likewise.
2519 * gdb.python/py-prompt.exp: Likewise.
2520 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
2521 * gdb.server/solib-list.exp: Don't enable target-async.
2522 * gdb.threads/thread-specific-bp.exp: Likewise.
2523 * lib/mi-support.exp: Adjust to use mi-async.
2524
fd664c91
PA
25252014-05-29 Pedro Alves <palves@redhat.com>
2526
2527 PR gdb/13860
2528 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
2529 reason, even in sync mode.
2530
251bde03
PA
25312014-05-29 Pedro Alves <palves@redhat.com>
2532 Hui Zhu <hui@codesourcery.com>
2533
2534 PR PR15693
2535 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
2536 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
2537 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
2538 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
2539
7f3c0343
JB
25402014-05-28 Joel Brobecker <brobecker@adacore.com>
2541
2542 * config/monitor.exp (gdb_target_monitor): Replace use of
2543 "set remotebaud" by "set serial baud".
2544
b2715b27
AW
25452014-05-26 Andy Wingo <wingo@igalia.com>
2546
2547 * gdb.guile/scm-breakpoint.exp:
2548 * gdb.guile/scm-gsmob.exp: Update to use plain old object
2549 properties instead of gdb-object-properties.
2550
498a4489
YQ
25512014-05-26 Yao Qi <yao@codesourcery.com>
2552
2553 * gdb.server/no-thread-db.exp: Specify source file name
2554 explicitly when setting a breakpoint.
2555
589fdceb
MM
25562014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2557
2558 * gdb.btrace/vdso.c: New.
2559 * gdb.btrace/vdso.exp: New.
2560
e9089e05
MM
25612014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2562
2563 * gdb.base/gcore.exp (capture_command_output): Move ...
2564 * lib/gdb.exp (capture_command_output): ... here.
2565
67b5c0c1
MM
25662014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2567
2568 * gdb.btrace/data.exp: Test memory access during btrace replay.
2569
a2199296
SM
25702014-05-22 Simon Marchi <simon.marchi@ericsson.com>
2571
2572 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
2573
17b2616c
PA
25742014-05-21 Pedro Alves <palves@redhat.com>
2575
2576 PR gdb/13860
2577 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
2578 (top level): Test that output related to execution commands is
2579 sent to the console with CLI commands, but not with MI commands.
2580 Test that breakpoint events are always mirrored to the console.
2581 Also expect the new source line to be output after a "next" in
2582 async mode too. Make it a pass/fail test.
2583 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
2584 output.
2585 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
2586
5166082f
PA
25872014-05-21 Pedro Alves <palves@redhat.com>
2588
2589 * gdb.base/list.exp (build_pattern, test_list): New procedures.
2590 Use them to test variations of "list" after reaching a breakpoint.
2591 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
2592 Test "list" with listsize 10 after reaching a breakpoint.
2593 * gdb.python/python.exp (decode_line current location line
2594 number): Adjust expected line number.
2595
2f25d70f
SM
25962014-05-21 Simon Marchi <simon.marchi@ericsson.com>
2597
2598 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
2599 behavior for $args, pass it directly to "run".
2600
ff604a67
MR
26012014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
2602
2603 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
2604 30000 to 65536.
2605
6a3cb8e8
PA
26062014-05-21 Pedro Alves <palves@redhat.com>
2607
2608 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
2609 auto-connect-native-target off".
2610 * gdb.base/auto-connect-native-target.c: New file.
2611 * gdb.base/auto-connect-native-target.exp: New file.
2612
4ebfc96e
PA
26132014-05-21 Pedro Alves <palves@redhat.com>
2614
2615 * gdb.base/default.exp: Test "target native" instead of "target
2616 child".
2617
36d46afb
MW
26182014-05-21 Mark Wielaard <mjw@redhat.com>
2619
2620 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2621
5876f503
JK
26222014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2623
2624 Fix TLS access for -static -pthread.
2625 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
2626 <HAVE_TLS> (thread_function, main): Initialize it.
2627 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
2628 Add clean_restart.
2629 <$have_tls != "">: Check TLSVAR.
2630
0256a6ac
PA
26312014-05-21 Pedro Alves <palves@redhat.com>
2632
2633 * gdb.base/dcache-line-read-error.c: New.
2634 * gdb.base/dcache-line-read-error.exp: New.
2635
936d2992
PA
26362014-05-20 Pedro Alves <palves@redhat.com>
2637
2638 * gdb.base/compare-sections.c: New file.
2639 * gdb.base/compare-sections.exp: New file.
2640
802e8e6d
PA
26412014-05-20 Pedro Alves <palves@redhat.com>
2642
2643 * gdb.base/break-idempotent.c: New file.
2644 * gdb.base/break-idempotent.exp: New file.
2645
e59fa00f
MM
26462014-05-20 Markus Metzger <markus.t.metzger@intel.com>
2647
2648 * gdb.btrace/nohist.exp: New.
2649
8b696e31
YQ
26502014-05-20 Yao Qi <yao@codesourcery.com>
2651
2652 * lib/gdb.exp (gdb_init): Set timeout if test file is under
2653 gdb.reverse directory and gdb_reverse_timeout exists in board
2654 setting.
2655 * README: Document gdb_reverse_timeout.
2656
73c9764f
YQ
26572014-05-20 Yao Qi <yao@codesourcery.com>
2658
2659 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
2660 'test_file_name'. Treat args as a string instead of a list.
2661 (gdb_init): Rename argument 'args' by 'test_file_name'.
2662
f1f4348a
JK
26632014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2664
2665 * gdb.arch/powerpc-power.exp: New file.
2666 * gdb.arch/powerpc-power.s: New file.
2667
0dbe70ce
DE
26682014-05-16 Doug Evans <dje@google.com>
2669
2670 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
2671 * gdb.base/completion.exp: Check that all expected files exist
2672 before doing file completion.
0dbe70ce 2673
8d551b02
DE
26742014-05-16 Doug Evans <dje@google.com>
2675
2676 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
2677 Update.
2678 (do_syscall_tests_without_xml): Update.
2679
73eb7709
PA
26802014-05-16 Pedro Alves <palves@redhat.com>
2681
2682 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
2683 instead of "unknown output after running".
2684
3fae92fc
YQ
26852014-05-16 Yao Qi <yao@codesourcery.com>
2686
2687 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
2688 file1.txt from host at the end.
2689 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2690
c2b2ccc5
DE
26912014-05-15 Doug Evans <dje@google.com>
2692
2693 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
2694 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
2695 loading file. Add test for TU lookup.
2696
8c217a4b
SM
26972014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2698
2699 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
2700 calling "-exec-arguments" or "set args" before running the
2701 inferior.
2702
3deb39c6
SM
27032014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2704
2705 * lib/mi-support.exp (mi_expect_stop): Expect message for
2706 inferiors that exit with non-zero exit code.
2707
71a79f8c
YQ
27082014-05-14 Yao Qi <yao@codesourcery.com>
2709
2710 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
2711 match absolute path on remote host.
2712 (test_file_list_exec_source_files): Remove "/" from the
2713 pattern.
2714
f23fcd46
YQ
27152014-05-14 Yao Qi <yao@codesourcery.com>
2716
2717 * boards/local-remote-host-notty.exp (${board}_file): New
2718 proc.
2719
9404b58f
KM
27202014-05-07 Kyle McMartin <kyle@redhat.com>
2721
2722 Pushed by Joel Brobecker <brobecker@adacore.com>.
2723 * gdb.arch/aarch64-atomic-inst.c: New file.
2724 * gdb.arch/aarch64-atomic-inst.exp: New file.
2725
5e45f04c
YQ
27262014-05-07 Yao Qi <yao@codesourcery.com>
2727
2728 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
2729 in current context" too.
2730
c888a17d
KS
27312014-05-05 Keith Seitz <keiths@redhat.com>
2732
2733 * gdb.linespec/ls-dollar.exp: Add test for linespec
2734 file:convenience_variable.
2735
290a839c
YQ
27362014-05-05 Yao Qi <yao@codesourcery.com>
2737
2738 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
2739 traceframes into tfile and ctf trace files. Read data from
2740 trace file and test collected data.
2741 (gdb_collect_locals_test): Likewise.
2742 (gdb_unavailable_registers_test): Likewise.
2743 (gdb_unavailable_floats): Likewise.
2744 (gdb_collect_globals_test): Likewise.
2745 (top-level): Append "ctf" to trace_file_targets if GDB
2746 supports.
2747
b5262cd0
YQ
27482014-05-05 Yao Qi <yao@codesourcery.com>
2749
2750 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
2751 code to ...
2752 (gdb_collect_args_test_1): ... it. New proc.
2753 (gdb_collect_locals_test): Move some code to ...
2754 (gdb_collect_locals_test_1): ... it. New proc.
2755 (gdb_unavailable_registers_test): Move some code to ...
2756 (gdb_unavailable_registers_test_1): ... it. New proc.
2757 (gdb_unavailable_floats): Move some code to ...
2758 (gdb_unavailable_floats_1): ... it. New proc.
2759
30a1e6cc
SDJ
27602014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2761
2762 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
2763 probes to test for bitness recognition.
2764 * gdb.arch/amd64-stap-optional-prefix.exp
2765 (test_probe_value_without_reg): New procedure.
2766 Add code to test for different kinds of bitness.
2767
f33da99a
SDJ
27682014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2769
2770 PR breakpoints/16889
2771 * gdb.arch/amd64-stap-optional-prefix.S: New file.
2772 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2773
5b80f00d
PA
27742014-05-01 Pedro Alves <palves@redhat.com>
2775
2776 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
2777 gdb_file_cmd if no file is specified.
2778 * boards/native-extended-gdbserver.exp (gdb_load): Use the
2779 last_loaded_file to set the remote exec-file.
2780
f8c2a73c
PA
27812014-05-01 Pedro Alves <palves@redhat.com>
2782
2783 * boards/local-remote-host.exp: New file.
2784
be6e8ac7
PA
27852014-05-01 Pedro Alves <palves@redhat.com>
2786
2787 * boards/local-remote-host.exp: Rename to ...
2788 * boards/local-remote-host-notty.exp: ... this.
2789
cac0dc8f
JB
27902014-04-28 Joel Brobecker <brobecker@adacore.com>
2791
2792 * gdb.ada/dyn_arrayidx: New testcase.
2793
9730e6cc
YQ
27942014-04-26 Yao Qi <yao@codesourcery.com>
2795
2796 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
2797 and compute the length of function main. Save it in
2798 $main_length.
2799 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
2800 (top-level): Use gdb_compile to compile objects into
2801 executable and restart GDB. Remove invocation to
2802 prepare_for_testing.
2803
7ae1a6a6
PA
28042014-04-25 Simon Marchi <simon.marchi@ericsson.com>
2805 Pedro Alves <palves@redhat.com>
2806
2807 PR server/16255
2808 * gdb.multi/multi-attach.c: New file.
2809 * gdb.multi/multi-attach.exp: New file.
2810
4082afcc
PA
28112014-04-25 Pedro Alves <palves@redhat.com>
2812
2813 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
2814 user.
2815 (top level): Test that "set remote conditional-breakpoints-packet
2816 off" works as intended.
2817 * gdb.base/dprintf.exp: Test that "set remote
2818 breakpoint-commands-packet off" works as intended.
2819 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
2820 New function.
2821 (top level): Call it.
2822 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
2823 remote fast-tracepoints-packet off" works as intended.
2824 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
2825 * lib/gdb.exp (gdb_is_target_remote): ... here.
2826
2abc3f8d
DB
28272014-04-24 David Blaikie <dblaikie@gmail.com>
2828
2829 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
2830 ensure clang would not discard them.
2831 * gdb.base/gdbvars.c: Ditto.
2832 * gdb.base/memattr.c: Ditto.
2833 * gdb.base/whatis.c: Ditto.
2834 * gdb.python/py-prettyprint.c: Ditto.
2835 * gdb.trace/actions.c: Ditto.
2836 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
2837 ensure clang would not discard it.
2838
bfd39632
DB
28392014-04-24 David Blaikie <dblaikie@gmail.com>
2840
2841 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
2842 clang to emit the full definition of type required by the test
2843 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
2844
22842ff6
DB
28452014-04-24 David Blaikie <dblaikie@gmail.com>
2846
2847 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
2848 coax Clang into emitting the definition of the type.
2849 * gdb.cp/pr10728-x.h (y): Ditto.
2850 * gdb.cp/pr10728-y.cc (y): Ditto.
2851
c2e827ad
DB
28522014-04-24 David Blaikie <dblaikie@gmail.com>
2853
2854 * gdb.base/label.exp: XFAIL label related tests under Clang.
2855 * gdb.cp/cplabel.exp: Ditto.
2856 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
2857 under Clang those using labels.
2858
4c2d33e7
YQ
28592014-04-25 Yao Qi <yao@codesourcery.com>
2860
2861 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
2862 double_label.
2863 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
2864 partial_label and double_label.
2865
56083b99
DB
28662014-04-24 David Blaikie <dblaikie@gmail.com>
2867
2868 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
2869
25d4e99d
DB
28702014-04-24 David Blaikie <dblaikie@gmail.com>
2871
2872 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
2873 of the function to work across GCC and Clang.
2874 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
2875 pointer types (const void ** const V void **).
2876
01f9f808
MS
28772014-04-24 Michael Sturm <michael.sturm@mintel.com>
2878 Walfred Tedeschi <walfred.tedeschi@intel.com>
2879
2880 * Makefile.in (EXECUTABLES): Added i386-avx512.
2881 * gdb.arch/i386-avx512.c: New file.
2882 * gdb.arch/i386-avx512.exp: Likewise.
2883
4b48d439
KS
28842014-04-23 Keith Seitz <keiths@redhat.com>
2885
2886 * lib/mi-support.exp (mi_list_breakpoints): Delete.
2887 (mi_make_breakpoint_table): New procedure.
2888 (mi_create_breakpoint): Use mi_make_breakpoint
2889 and return the result.
2890 (mi_make_breakpoint): New procedure.
2891 (mi_build_kv_pairs): New procedure.
2892
2893 * gdb.mi/mi-break.exp: Remove unused globals,
2894 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
2895 All callers updated.
2896 * gdb.mi/mi-dprintf.exp: Use variable to track command
2897 number.
2898 Update all callers of mi_create_breakpoint and use
2899 mi_make_breakpoint_table.
2900 Remove any unused global variables.
2901 * gdb.mi/mi-nonstop.exp: Likewise.
2902 * gdb.mi/mi-nsintrall.exp: Likewise.
2903 * gdb.mi/mi-nsmoribund.exp: Likewise.
2904 * gdb.mi/mi-nsthrexec.exp: Likewise.
2905 * gdb.mi/mi-reverse.exp: Likewise.
2906 * gdb.mi/mi-simplerun.exp: Likewise.
2907 * gdb.mi/mi-stepn.exp: Likewise.
2908 * gdb.mi/mi-syn-frame.exp: Likewise.
2909 * gdb.mi/mi-until.exp: Likewise.
2910 * gdb.mi/mi-var-cp.exp: Likewise.
2911 * gdb.mi/mi-var-display.exp: Likewise.
2912 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2913 * gdb.mi/mi2-var-child.exp: Likewise.
2914 * gdb.mi/mi-vla-c99.exp: Likewise.
2915 * lib/mi-support.exp: Likewise.
2916
2917 From Ian Lance Taylor <iant@cygnus.com>:
2918 * lib/gdb.exp (parse_args): New procedure.
2919
08351840
PA
29202014-04-23 Pedro Alves <palves@redhat.com>
2921
2922 * gdb.base/break-unload-file.c: New file.
2923 * gdb.base/break-unload-file.exp: New file.
2924 * gdb.base/sym-file-lib.c (baz): New function.
2925 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
2926 field.
2927 (load): Store the segment's mapped size.
2928 (unload): New function.
2929 (unload_shlib): New function.
2930 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
2931 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
2932 set a breakpoint at baz, and call it.
2933 * gdb.base/sym-file.exp: New tests for stale breakpoint
2934 instructions.
2935
076855f9
PA
29362014-04-23 Pedro Alves <palves@redhat.com>
2937
2938 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
2939 * gdb.base/hbreak-in-shr-unsupported.c: New file.
2940 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
2941 * gdb.base/hbreak-unmapped.c: New file.
2942 * gdb.base/hbreak-unmapped.exp: New file.
2943 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
2944 * lib/gdb.exp (gdb_is_target_remote): ... here.
2945
483805cf
PA
29462014-04-22 Pedro Alves <palves@redhat.com>
2947
2948 * gdb.base/consecutive-step-over.c: New file.
2949 * gdb.base/consecutive-step-over.exp: New file.
2950
06d97543
PA
29512014-04-22 Pedro Alves <palves@redhat.com>
2952
2953 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
2954 instead of send_gdb/gdb_expect.
2955
b4429ea2
YQ
29562014-04-22 Yao Qi <yao@codesourcery.com>
2957
2958 * lib/trace-support.exp (generate_tracefile): New procedure.
2959 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
2960 return 0.
2961 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
2962 if generate_tracefile returns 1.
2963
51d48146
PA
29642014-04-18 Tom Tromey <palves@redhat.com>
2965 Pedro alves <tromey@redhat.com>
2966
2967 PR backtrace/15558
2968 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
2969 with a backtrace limit.
2970 * gdb.python/py-frame-inline.exp: Test running to an inline
2971 function with a backtrace limit, and printing the newest frame.
2972 * gdb.python/py-frame-inline.c (main): Call f.
2973
bd1dce5f
MS
29742014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2975
2976 * gdb.java/jnpe.exp: Drop srcdir from untested path.
2977
40d1a503
MS
29782014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2979
2980 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
2981 Drop prefix from unsupported source file path.
2982
389b98f7
YQ
29832014-04-17 Yao Qi <yao@codesourcery.com>
2984
2985 * lib/gdb.exp (with_target_charset): New proc.
2986 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
2987 with_target_charset.
2988 (test_print_strings): Likewise.
2989 (test_repeat_bytes): Likewise.
2990 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
2991 for some tests.
2992
22869d73
KS
29932014-04-16 Keith Seitz <keiths@redhat.com>
2994
2995 PR gdb/15827
2996 * gdb.dwarf2/corrupt.c: New file.
2997 * gdb.dwarf2/corrupt.exp: New file.
2998
c4f87ca6
KS
29992014-04-16 Keith Seitz <keiths@redhat.com>
3000
3001 PR c++/16597
3002 * gdb.cp/namelessclass.cc: New file.
3003 * gdb.cp/namelessclass.exp: New file.
3004 * gdb.cp/namelessclass.S: New file.
3005
ab19de87
DE
30062014-04-16 Doug Evans <dje@google.com>
3007
3008 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
3009 Add comment.
3010 (gdbserver_default_get_comm_port): New function.
3011 (gdbserver_start): Check if board file provided
3012 "gdbserver,get_comm_port" and use it if so.
3013 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
3014 (gdb,socketport): Set to "stdio".
3015 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
3016 (stdio_gdbserver_template): Delete.
3017 (${board}_get_remote_address): Update.
3018 (${board}_build_remote_cmd): Delete.
3019 (${board}_get_comm_port): New function.
3020 (${board}_spawn): Update.
3021 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
3022 Delete.
3023 (${board}_get_remote_address): Update.
3024 (${board}_get_comm_port): New function.
3025
fc98a809
AB
30262014-04-16 Andrew Burgess <aburgess@broadcom.com>
3027
3028 * gdb.base/memattr.exp: Improve regexps to handle memory regions
3029 appearing in any order.
3030
87fd9e6e
DE
30312014-04-15 Doug Evans <dje@google.com>
3032
3033 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
3034 uninitialized value of "description".
3035
099fc3ea
KS
30362014-04-15 Keith Seitz <keiths@redhat.com>
3037
3038 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
3039 Remove unused globals.
3040 (test_running_the_program): Likewise.
3041 (test_controlled_execution): Likewise.
3042 (test_controlling_breakpoints): Likewise.
3043 (test_program_termination): Likewise.
3044
5da151d4
KS
30452014-04-15 Keith Seitz <keiths@redhat.com>
3046
3047 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
3048 unused globals.
3049 (test_rbreak_creation_and_listing): Likewise.
3050 (test_ignore_count): Likewise.
3051 (test_error): Likewise.
3052
35e5d2f0
PA
30532014-04-15 Pedro Alves <palves@redhat.com>
3054
3055 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
3056 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
3057 sym-file-loader.c.
3058 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3059 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3060 to sym-file-loader.c.
3061 (struct library): Forward declare.
3062 (load_shlib, lookup_function): Change prototypes.
3063 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3064 (translate_offset): Remove declarations.
3065 (get_text_addr): New declaration.
3066 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
3067 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
3068 sym-file-loader.h.
3069 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3070 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3071 here from sym-file-loader.h.
3072 (struct library): New structure.
3073 (load_shlib, lookup_function): Change prototypes and adjust to
3074 work with a struct library.
3075 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3076 (translate_offset): Make static.
3077 (get_text_addr): New function.
3078 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
3079
eb4c1710
PA
30802014-04-15 Pedro Alves <palves@redhat.com>
3081
3082 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
3083
2d1baf52
PA
30842014-04-15 Pedro Alves <palves@redhat.com>
3085
3086 * gdb.base/sym-file-loader.c: Include <limits.h>.
3087 (SELF_LINK): New define.
3088 (get_origin): New function.
3089 (load_shlib): Use it.
3090 * gdb.base/sym-file.exp: Don't early return if the target is
3091 remote. Use runto_main, and issue fail is that fails. Use
3092 gdb_load_shlibs.
3093 (shlib_name): Delete.
3094 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
3095
7dd6df01
PA
30962014-04-15 Pedro Alves <palves@redhat.com>
3097
3098 * gdb.base/sym-file.exp: Remove regex characters from test
3099 message. Don't refer to breakpoint numbers in test messages.
3100
b50c8614
KS
31012014-04-14 Keith Seitz <keiths@redhat.com>
3102
3103 PR c++/16253
3104 * gdb.cp/var-tag.cc: New file.
3105 * gdb.cp/var-tag.exp: New file.
3106 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3107 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3108 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3109 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3110
3d567982
TT
31112014-04-14 Tom Tromey <tromey@redhat.com>
3112
3113 * gdb.cp/classes.exp (test_enums): Handle underlying type.
3114 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
3115 type.
3116 * gdb.cp/enum-class.exp: New file.
3117 * gdb.cp/enum-class.cc: New file.
3118
0626fc76
TT
31192014-04-14 Tom Tromey <tromey@redhat.com>
3120
3121 * gdb.dwarf2/enum-type.exp: New file.
3122
dca325b3
SA
31232014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3124
3125 * gdb.mi/mi-vla-c99.exp: New file.
3126 * gdb.mi/vla.c: New file.
3127
5854b38a
SA
31282014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3129
3130 * gdb.base/vla-datatypes.c: New file.
3131 * gdb.base/vla-datatypes.exp: New file.
3132
463bb957
SA
31332014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3134
3135 * gdb.base/vla-ptr.c: New file.
3136 * gdb.base/vla-ptr.exp: New file.
3137
3dd170be
SA
31382014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3139
3140 * gdb.dwarf2/count.exp: New file.
3141
5ecaaa66
SA
31422014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3143
3144 * gdb.base/vla-sideeffect.c: New file.
3145 * gdb.base/vla-sideeffect.exp: New file.
3146
41f1ada5
DB
31472014-04-14 David Blaikie <dblaikie@gmail.com>
3148
3149 * gdb.mi/non-stop.c: Add return value for non-void function return
3150 statement.
3151 * gdb.threads/staticthreads.c: Ditto.
3152
0be03e84
DE
31532014-04-12 Siva Chandra Reddy <sivachandra@google.com>
3154 Doug Evans <xdje42@gmail.com>
3155
3156 * gdb.guile/scm-value.c: Improve test case.
3157 * gdb.guile/scm-value.exp: Add new test.
3158
f180a1fb
DB
31592014-04-11 David Blaikie <dblaikie@gmail.com>
3160
3161 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
3162 override Clang's default.
3163
6b662e19
JB
31642014-04-11 Joel Brobecker <brobecker@adacore.com>
3165
3166 Revert the following changes (regressions):
3167
3168 * gdb.base/vla-sideeffect.c: New file.
3169 * gdb.base/vla-sideeffect.exp: New file.
3170
3171 * gdb.dwarf2/count.exp: New file.
3172
3173 * gdb.base/vla-multi.c: New file.
3174 * gdb.base/vla-multi.exp: New file.
3175
3176 * gdb.base/vla-ptr.c: New file.
3177 * gdb.base/vla-ptr.exp: New file.
3178
3179 * gdb.base/vla-datatypes.c: New file.
3180 * gdb.base/vla-datatypes.exp: New file.
3181
3182 * gdb.mi/mi-vla-c99.exp: New file.
3183 * gdb.mi/vla.c: New file.
3184
245a5f0b
KS
31852014-04-11 Keith Seitz <keiths@redhat.com>
3186
3187 PR c++/16675
3188 * gdb.cp/cpsizeof.exp: New file.
3189 * gdb.cp/cpsizeof.cc: New file.
3190
58a84dcf
SA
31912014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3192
191a8a90
JB
3193 * gdb.mi/mi-vla-c99.exp: New file.
3194 * gdb.mi/vla.c: New file.
58a84dcf 3195
c8655f75
SA
31962014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3197
3198 * gdb.base/vla-datatypes.c: New file.
3199 * gdb.base/vla-datatypes.exp: New file.
3200
024e13b4
SA
32012014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3202
3203 * gdb.base/vla-ptr.c: New file.
3204 * gdb.base/vla-ptr.exp: New file.
3205
1a237e0e
SA
32062014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3207
3208 * gdb.base/vla-multi.c: New file.
3209 * gdb.base/vla-multi.exp: New file.
3210
504f3432
SA
32112014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3212
3213 * gdb.dwarf2/count.exp: New file.
3214
3bce8237
SA
32152014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3216
191a8a90
JB
3217 * gdb.base/vla-sideeffect.c: New file.
3218 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 3219
322f9c21
YQ
32202014-04-11 Yao Qi <yao@codesourcery.com>
3221
3222 * gdb.base/completion.exp: Check file exists before running tests
3223 on file completion.
3224
d708bcd1
PA
32252014-04-10 Pedro Alves <palves@redhat.com>
3226
3227 * gdb.base/cond-eval-mode.c: New file.
3228 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
3229 prepare_for_testing to build the new file. Check result of
3230 runto_main.
3231 (test_break, test_watch): New procedures.
3232 (top level): Use them.
3233
ae1d2761
PM
32342014-04-08 Pierre Muller <muller@sourceware.org>
3235
3236 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
3237 Ctrl-V use for mingw hosts.
3238
7af389b8
SC
32392014-04-07 Siva Chandra Reddy <sivachandra@google.com>
3240
3241 * gdb.python/py-value.c: Improve test case.
3242 * gdb.python/py-value.exp: Add new test.
3243
5e703181
DE
32442014-04-07 David Blaikie <dblaikie@gmail.com>
3245
3246 * lib/compiler.c: Identify the clang compiler.
3247 * lib/compiler.cc: Ditto.
3248
9810b410
YQ
32492014-04-03 Yao Qi <yao@codesourcery.com>
3250
3251 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
3252
98d1b8dc
AB
32532014-04-01 Anton Blanchard <anton@samba.org>
3254
3255 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
3256 messages unique.
3257
3114cea1
AB
32582014-04-01 Anton Blanchard <anton@samba.org>
3259
3260 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
3261 prepare_for_testing.
3262
62f7182c
AB
32632014-04-01 Anton Blanchard <anton@samba.org>
3264
3265 * gdb.arch/ppc64-atomic-inst.c: Remove.
3266 * gdb.arch/ppc64-atomic-inst.S: New file.
3267 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
3268
770e7fc7
DE
32692014-03-31 Doug Evans <dje@google.com>
3270
3271 * gdb.base/print-symbol-loading-lib.c: New file.
3272 * gdb.base/print-symbol-loading-main.c: New file.
3273 * gdb.base/print-symbol-loading.exp: New file.
3274
46e2bafa
YQ
32752014-03-31 Yao Qi <yao@codesourcery.com>
3276
3277 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
3278
8776cfe9
JB
32792014-03-28 Joel Brobecker <brobecker@adacore.com>
3280
3281 * gdb.ada/mi_dyn_arr: New testcase.
3282
5d1ef361
DE
32832014-03-27 Doug Evans <dje@google.com>
3284
3285 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
3286
b5bee914
YQ
32872014-03-27 Yao Qi <yao@codesourcery.com>
3288
3289 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
3290 if target is nios2-*-*.
3291
0d4d0e77
YQ
32922014-03-26 Yao Qi <yao@codesourcery.com>
3293
3294 * lib/gdb.exp (readline_is_used): New proc.
3295 * gdb.base/completion.exp: Move tests on command complete up.
3296 Skip the rest of tests if readline is not used.
3297 * gdb.ada/complete.exp: Skp the test if readline is not
3298 used.
3299 * gdb.base/filesym.exp: Likewise.
3300 * gdb.base/macscp.exp: Likewise.
3301 * gdb.base/readline-ask.exp: Likewise.
3302 * gdb.base/readline.exp: Likewise.
3303 * gdb.python/py-cmd.exp: Likewise.
3304 * gdb.trace/tfile.exp: Likewise.
3305
29361eee
YQ
33062014-03-26 Yao Qi <yao@codesourcery.com>
3307
3308 * gdb.base/macscp.exp: Fix code format issues.
3309
bc9a5525
UW
33102014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
3311
3312 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
3313 * gdb.asm/powerpc64le.inc: New file.
3314
d3839ede
PA
33152014-03-25 Pedro Alves <palves@redhat.com>
3316 Doug Evans <dje@google.com>
3317
3318 * gdb.base/source-execution.c: New file.
3319 * gdb.base/source-execution.exp: New file.
3320 * gdb.base/source-execution.gdb: New file.
3321
01672a57
DE
33222014-03-24 Doug Evans <dje@google.com>
3323
3324 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
3325 using fission.
3326
88bbeca9
HZ
33272014-03-24 Hui Zhu <hui@codesourcery.com>
3328 Pedro Alves <palves@redhat.com>
3329
3330 PR breakpoints/16101
3331 * gdb.base/dprintf.exp: Use unsupported rather than changing the
3332 test pass/fail messages. Detect missing support for dprintf when
3333 breakpoints are actually inserted.
3334 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
3335 breakpoints are actually inserted.
3336 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
3337 fails.
3338
d2348791
JK
33392014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3340
3341 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
3342
feef67ab
DE
33432014-03-22 Doug Evans <xdje42@gmail.com>
3344
3345 * gdb.python/python.exp (python not supported): Verify multi-line
3346 python command issues an error.
25d743f9 3347 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 3348 guile command issues an error.
feef67ab 3349
ecebef6a
MR
33502014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
3351
3352 * gdb.threads/thread-specific.exp: Handle the lack of usable
3353 $this_breakpoint and $this_thread.
3354
ccdd1909
HZ
33552014-03-21 Hui Zhu <hui@codesourcery.com>
3356
3357 * gdb.base/attach.exp (do_command_attach_tests): New.
3358
beb460e8
PA
33592014-03-20 Tom Tromey <tromey@redhat.com>
3360 Pedro Alves <palves@redhat.com>
3361
3362 PR cli/15718
3363 * gdb.base/condbreak-call-false.c: New file.
3364 * gdb.base/condbreak-call-false.exp: New file.
3365
40acf43a
PA
33662014-03-20 Pedro Alves <palves@redhat.com>
3367
3368 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
3369 Delete.
3370 (block_signals, unblock_signals): Delete.
3371 (child_function_2, main): Remove references to deleted variable
3372 and functions.
3373
9f5e1e02
PA
33742014-03-20 Pedro Alves <palves@redhat.com>
3375
3376 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
3377 Use pthread_kill to signal thread 2.
3378 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3379 Adjust to make the test send itself a signal rather than using the
3380 host's "kill" command.
3381
99619bea
PA
33822014-03-20 Pedro Alves <palves@redhat.com>
3383
3384 * gdb.threads/multiple-step-overs.c: New file.
3385 * gdb.threads/multiple-step-overs.exp: New file.
3386 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3387 Adjust expected infrun debug output.
3388
2adfaa28
PA
33892014-03-20 Pedro Alves <palves@redhat.com>
3390
3391 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
3392 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
3393
31e77af2
PA
33942014-03-20 Pedro Alves <palves@redhat.com>
3395
3396 PR breakpoints/7143
3397 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
3398 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
3399 of gdb_test_multiple.
3400 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
3401 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
3402
b9f437de
PA
34032014-03-20 Pedro Alves <palves@redhat.com>
3404
3405 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
3406 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
3407
05adc73e
PA
34082014-03-19 Pedro Alves <palves@redhat.com>
3409
3410 * gdb.base/async.exp: Remove early return.
3411
6048b950
PA
34122014-03-19 Pedro Alves <palves@redhat.com>
3413
3414 * gdb.base/async.exp (step& tests): Pass explicit test messages.
3415
8bcfb00a
PA
34162014-03-19 Pedro Alves <palves@redhat.com>
3417
3418 * gdb.base/async.exp (test_background): Expect \r\n after
3419 "completed." in the fail pattern.
3420
884e37dc
PA
34212014-03-19 Pedro Alves <palves@redhat.com>
3422
3423 * gdb.base/async.exp (test_background): New procedure.
3424 Use it for all background execution command tests.
3425
148e57e2
PA
34262014-03-19 Pedro Alves <palves@redhat.com>
3427
3428 * gdb.base/async.exp: Use prepare_for_testing.
3429
f48088c7
PA
34302014-03-19 Pedro Alves <palves@redhat.com>
3431
3432 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
3433 the same line.
3434
e2f6c966
PA
34352014-03-19 Pedro Alves <palves@redhat.com>
3436
3437 * gdb.base/async.c (main): Add "jump here" and "until here" line
3438 marker comments.
3439 * gdb.base/async.exp (jump_here): New global.
3440 (jump& test): Use it.
3441 (until_here): New global.
3442 (until& test): Use it.
3443
c30568d4
PA
34442014-03-19 Pedro Alves <palves@redhat.com>
3445
3446 * gdb.base/async.exp: Don't frob gdb_protocol.
3447
0172b6a7
DE
34482014-03-18 Doug Evans <xdje42@gmail.com>
3449
3450 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
3451 Fix spelling of exec-done-display.
3452
06c868a8
JK
34532014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3454
3455 PR gdb/15358
3456 * gdb.base/gdb-sigterm.c: New file.
3457 * gdb.base/gdb-sigterm.exp: New file.
3458
0c7e1a46
PA
34592014-03-18 Pedro Alves <palves@redhat.com>
3460
3461 PR gdb/13860
3462 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
3463 * lib/mi-support.exp (mi_expect_stop): Add special handling for
3464 solib-event.
3465
f7c77d93
JB
34662014-03-17 Joel Brobecker <brobecker@adacore.com>
3467
3468 * gdb.ada/pckd_arr_ren: New testcase.
3469
5a1e8c7a
DE
34702014-03-13 Doug Evans <xdje42@gmail.com>
3471
3472 PR guile/16612
3473 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
3474 collect after discarding symbols.
3475
350e1a76
DE
34762014-03-13 Ludovic Courtès <ludo@gnu.org>
3477 Doug Evans <xdje42@gmail.com>
3478
3479 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
3480 to history survives a gc.
3481
a69900ae
PA
34822014-03-13 Pedro Alves <palves@redhat.com>
3483
3484 * gdb.base/default.exp: Don't test "target procfs".
3485
5db9f0bd
PA
34862014-03-13 Pedro Alves <palves@redhat.com>
3487
3488 * gdb.base/default.exp: Update "target child" and "target procfs"
3489 tests to not expect "Unix".
3490
b3ccfe11
TT
34912014-03-12 Tom Tromey <tromey@redhat.com>
3492
3493 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
3494 New procs. Add target-async tests.
3495 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
3496 Add target-async tests.
3497
646f4417
AA
34982014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3499
3500 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
3501 'func_start' and 'func_end' for the beginning and end of the
3502 function code, respectively.
3503 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
3504 'func_end' instead of 'func' and 'main'.
3505
288c211f
AA
35062014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3507
3508 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
3509 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
3510 generate the debug info assembler source.
3511
e0c0f156
AA
35122014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3513
3514 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
3515 * gdb.dwarf2/arr-subrange.exp: Likewise.
3516 * gdb.dwarf2/dwz.exp: Likewise.
3517 * gdb.dwarf2/method-ptr.exp: Likewise.
3518 * gdb.dwarf2/missing-sig-type.exp: Likewise.
3519 * gdb.dwarf2/subrange.exp: Likewise.
3520 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
3521 * gdb.dwarf2/implptrpiece.exp: Likewise.
3522 * gdb.dwarf2/nostaticblock.exp: Likewise.
3523
0e5c4555
AA
35242014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3525
3526 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
3527 directory to absolute path name arguments.
3528
5ec18f2b
JG
35292014-03-10 Joel Brobecker <brobecker@adacore.com>
3530
3531 * gdb.ada/tagged_access: New testcase.
3532
847fc4f2
MM
35332014-03-07 Markus Metzger <markus.t.metzger@intel.com>
3534
3535 * gdb.btrace/data.exp: Update expected output.
3536
cc3da688
YQ
35372014-03-06 Yao Qi <yao@codesourcery.com>
3538
3539 * gdb.trace/pr16508.exp: New file.
3540
0f26cec1
PA
35412014-03-05 Pedro Alves <palves@redhat.com>
3542
3543 PR gdb/16575
3544 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
3545 procedure.
3546 (top level): Adjust to use it. Add tests that exercise breakpoint
3547 interaction with the code-cache.
3548
7a5a839f
LC
35492014-02-26 Ludovic Courtès <ludo@gnu.org>
3550
3551 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
3552 test for 'history-append!'.
3553
31aa7e4e
JB
35542014-02-26 Joel Brobecker <brobecker@adacore.com>
3555
3556 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
3557 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
3558 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
3559 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
3560 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
3561 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
3562
1b588015
JB
35632014-02-26 Joel Brobecker <brobecker@adacore.com>
3564
3565 * testsuite/gdb.python/py-pp-re-notag.c: New file.
3566 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
3567 * testsuite/gdb.python/py-pp-re-notag.p: New file.
3568
55426c9d
JB
35692014-02-26 Joel Brobecker <brobecker@adacore.com>
3570
3571 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
3572
dc53a7ad
JB
35732014-02-26 Joel Brobecker <brobecker@adacore.com>
3574
3575 * gdb.dwarf2/arr-stride.c: New file.
3576 * gdb.dwarf2/arr-stride.exp: New file.
3577
12ab52e9
PA
35782014-02-26 Pedro Alves <palves@redhat.com>
3579
3580 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
3581 that won't ever trigger. Make sure that GDB reports the correct
3582 breakpoint that caused the stop.
3583
849c862e
JK
35842014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3585
3586 PR gdb/16626
3587 * gdb.base/auto-load-script: New file.
3588 * gdb.base/auto-load.c: New file.
3589 * gdb.base/auto-load.exp: New file.
3590
71b7d793
JK
3591 PR gdb/16626
3592 * gdb.base/auto-load.exp: Fix out-of-srctree run.
3593
e2f0d509
JK
35942014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3595
3596 Fix dw2-icycle.exp -fsanitize=address GDB crash.
3597 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
3598
50cc37c8
DE
35992014-02-24 Doug Evans <dje@google.com>
3600
3601 * lib/gdb.exp (run_on_host): Log error output if program fails.
3602
ea4758f2
PA
36032014-02-21 Pedro Alves <palves@redhat.com>
3604
3605 * gdb.threads/step-after-sr-lock.c: Rename to ...
3606 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
3607 * gdb.threads/step-after-sr-lock.exp: Rename to ...
3608 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3609 ... this.
3610
d7b30f67
SDJ
36112014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
3612
3613 PR tdep/16397
3614 * gdb.arch/amd64-stap-special-operands.exp: New file.
3615 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
3616 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
3617 * gdb.arch/amd64-stap-triplet.S: Likewise.
3618 * gdb.arch/amd64-stap-triplet.c: Likewise.
3619
83deb43f
JB
36202014-02-20 Joel Brobecker <brobecker@adacore.com>
3621
3622 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
3623 in .section pseudo-op.
3624
adde2bff
DE
36252014-02-20 lin zuojian <manjian2006@gmail.com>
3626 Joel Brobecker <brobecker@adacore.com>
3627 Doug Evans <xdje42@gmail.com>
3628
3629 PR symtab/16581
3630 * gdb.dwarf2/dw2-icycle.S: New file.
3631 * gdb.dwarf2/dw2-icycle.c: New file.
3632 * gdb.dwarf2/dw2-icycle.exp: New file.
3633
f7bd0f78
SC
36342014-02-19 Siva Chandra Reddy <sivachandra@google.com>
3635
3636 * gdb.python/py-value-cc.cc: Improve test case to enable testing
3637 operations on gdb.Value objects.
3638 * gdb.python/py-value-cc.exp: Add new test to test operations on
3639 gdb.Value objects.
3640
c17ef0d5
DE
36412014-02-18 Doug Evans <dje@google.com>
3642
3643 * Makefile.in (TESTS): New variable.
3644 (expanded_tests, expanded_tests_or_none): New variables
3645 (check-single): Pass $(expanded_tests_or_none) to runtest.
3646 (check-parallel): Only run tests in $(TESTS) if non-empty.
3647 (check/no-matching-tests-found): New rule.
3648 * README: Document TESTS makefile variable.
3649
5dd3176f
DE
36502014-02-18 Doug Evans <dje@google.com>
3651
3652 * Makefile.in (check-parallel): rm -rf outputs temp.
3653
0b10be4f
JK
36542014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3655
3656 Fix "ERROR: no fileid for" in the testsuite.
3657 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
3658
85f224e7
DE
36592014-02-12 Doug Evans <dje@google.com>
3660
3661 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
3662 (MISCELLANEOUS): New variable.
3663 (clean): rm -rf $(MISCELLANEOUS).
3664 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
3665 dwp live in the same directory as symlinks, with each symlink pointed
3666 to a differently named file in a different directory.
3667
149b30ff
DE
36682014-02-11 Doug Evans <dje@google.com>
3669
3670 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
3671 of Tcl file commands.
3672
1dfdac32
MK
36732014-02-10 Mark Kettenis <kettenis@gnu.org>
3674
3675 * gdb.threads/step-after-sr-lock.exp: Avoid executing
3676 "kill -SIGUSR1 -1".
3677
aa4fb036
JB
36782014-02-10 Joel Brobecker <brobecker@adacore.com>
3679
3680 * gdb.ada/tick_length_array_enum_idx: New testcase.
3681
ed3ef339
DE
36822014-02-10 Doug Evans <xdje42@gmail.com>
3683
3684 * configure.ac (AC_OUTPUT): Add gdb.guile.
3685 * configure: Regenerate.
3686 * lib/gdb-guile.exp: New file.
3687 * lib/gdb.exp (get_target_charset): New function.
3688 * gdb.base/help.exp: Update expected output from "apropos apropos".
3689 * gdb.guile/Makefile.in: New file.
3690 * gdb.guile/guile.exp: New file.
3691 * gdb.guile/scm-arch.c: New file.
3692 * gdb.guile/scm-arch.exp: New file.
3693 * gdb.guile/scm-block.c: New file.
3694 * gdb.guile/scm-block.exp: New file.
3695 * gdb.guile/scm-breakpoint.c: New file.
3696 * gdb.guile/scm-breakpoint.exp: New file.
3697 * gdb.guile/scm-disasm.c: New file.
3698 * gdb.guile/scm-disasm.exp: New file.
3699 * gdb.guile/scm-equal.c: New file.
3700 * gdb.guile/scm-equal.exp: New file.
3701 * gdb.guile/scm-error.exp: New file.
3702 * gdb.guile/scm-error.scm: New file.
3703 * gdb.guile/scm-frame-args.c: New file.
3704 * gdb.guile/scm-frame-args.exp: New file.
3705 * gdb.guile/scm-frame-args.scm: New file.
3706 * gdb.guile/scm-frame-inline.c: New file.
3707 * gdb.guile/scm-frame-inline.exp: New file.
3708 * gdb.guile/scm-frame.c: New file.
3709 * gdb.guile/scm-frame.exp: New file.
3710 * gdb.guile/scm-generics.exp: New file.
3711 * gdb.guile/scm-gsmob.exp: New file.
3712 * gdb.guile/scm-iterator.c: New file.
3713 * gdb.guile/scm-iterator.exp: New file.
3714 * gdb.guile/scm-math.c: New file.
3715 * gdb.guile/scm-math.exp: New file.
3716 * gdb.guile/scm-objfile-script-gdb.in: New file.
3717 * gdb.guile/scm-objfile-script.c: New file.
3718 * gdb.guile/scm-objfile-script.exp: New file.
3719 * gdb.guile/scm-objfile.c: New file.
3720 * gdb.guile/scm-objfile.exp: New file.
3721 * gdb.guile/scm-ports.exp: New file.
3722 * gdb.guile/scm-pretty-print.c: New file.
3723 * gdb.guile/scm-pretty-print.exp: New file.
3724 * gdb.guile/scm-pretty-print.scm: New file.
3725 * gdb.guile/scm-section-script.c: New file.
3726 * gdb.guile/scm-section-script.exp: New file.
3727 * gdb.guile/scm-section-script.scm: New file.
3728 * gdb.guile/scm-symbol.c: New file.
3729 * gdb.guile/scm-symbol.exp: New file.
3730 * gdb.guile/scm-symtab-2.c: New file.
3731 * gdb.guile/scm-symtab.c: New file.
3732 * gdb.guile/scm-symtab.exp: New file.
3733 * gdb.guile/scm-type.c: New file.
3734 * gdb.guile/scm-type.exp: New file.
3735 * gdb.guile/scm-value-cc.cc: New file.
3736 * gdb.guile/scm-value-cc.exp: New file.
3737 * gdb.guile/scm-value.c: New file.
3738 * gdb.guile/scm-value.exp: New file.
3739 * gdb.guile/source2.scm: New file.
3740 * gdb.guile/types-module.cc: New file.
3741 * gdb.guile/types-module.exp: New file.
3742
7026a7c1
YQ
37432014-02-10 Yao Qi <yao@codesourcery.com>
3744
3745 PR testsuite/16543
3746 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
3747 * configure: Regenerated.
3748 * Makefile.in: New file.
3749
6c466447
AS
37502014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3751
3752 * gdb.python/py-framefilter.exp: Fix typo.
3753
6e854735
YQ
37542014-02-08 Yao Qi <yao@codesourcery.com>
3755
3756 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
3757 that no =breakpoint-modified is emitted when breakpoints are
3758 modified through MI commands.
3759
d137e6dc
PA
37602014-02-07 Pedro Alves <pedro@codesourcery.com>
3761 Pedro Alves <palves@redhat.com>
3762
3763 * gdb.threads/step-after-sr-lock.c: New file.
3764 * gdb.threads/step-after-sr-lock.exp: New file.
3765
b5ee5a50
PA
37662014-02-07 Pedro Alves <palves@redhat.com>
3767
3768 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
3769
3c77faf3
JK
37702014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3771
3772 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
3773 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
3774
6dddc817
DE
37752014-02-06 Doug Evans <xdje42@gmail.com>
3776
3777 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
3778 output.
3779
3780 * gdb.gdb/python-interrupts.exp: New file.
3781
de7b2893
YQ
37822014-02-05 Yao Qi <yao@codesourcery.com>
3783
3784 * gdb.trace/report.exp (use_collected_data): Test the output
3785 of "info threads" and "info inferiors".
3786
66d032ac
YQ
37872014-02-05 Yao Qi <yao@codesourcery.com>
3788
3789 Revert this patch:
3790
3791 2013-05-24 Yao Qi <yao@codesourcery.com>
3792
3793 * gdb.trace/tfile.exp: Test inferior and thread.
3794
591a12a1
UW
37952014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3796
3797 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
3798 on a function.
3799 * gdb.base/step-bt.c: Call hello via function pointer to make
3800 sure its first instruction is executed on powerpc64le-linux.
3801
0ff3e01f
UW
38022014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3803
3804 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
3805
084ee545
UW
38062014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3807
3808 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
3809 of the test patterns for use on little-endian systems.
3810
6ed14ff3
UW
38112014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3812
3813 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
3814 (decimal_vector): Fix for little-endian.
3815
401e27fd
JM
38162014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3817
3818 * gdb.arch/sparc-sysstep.exp: New file.
3819 * gdb.arch/sparc-sysstep.c: Likewise.
3820
3821 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
3822
8b924729
EBM
38232014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3824
3825 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
3826
fb151210
JB
38272014-01-23 Tom Tromey <tromey@redhat.com>
3828
3829 * gdb.ada/array_char_idx: New testcase.
3830
0740f8d8
TT
38312014-01-23 Tom Tromey <tromey@redhat.com>
3832
3833 PR python/16487:
3834 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
3835 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
3836 classes.
3837
21909fa1
TT
38382014-01-23 Tom Tromey <tromey@redhat.com>
3839
3840 PR python/16491:
3841 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
3842 string from an inferior frame.
3843 * gdb.python/py-framefilter-mi.exp: Update.
3844
87ce2a04
DE
38452014-01-22 Doug Evans <dje@google.com>
3846
3847 * gdb.server/server-mon.exp: Add tests for "set debug-format".
3848
237b092b
AA
38492014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3850
3851 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
3852
d674a709
AA
38532014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3854
3855 * gdb.trace/entry-values.exp: Remove excess space character from
3856 regex patterns. Handle s390 call instruction.
3857
20fa3390
AA
38582014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3859
3860 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
3861 define "*_start" label. Make "name" static.
3862 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
3863 ${name} by references to ${name}_start.
3864
78466714
AA
38652014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3866
3867 * gdb.base/info-macros.exp: Remove "debug" from the compile
3868 options.
3869
ec9f644a
IB
38702014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3871
3872 * gdb.dlang/demangle.exp: New file.
3873
94b1b47e
IB
38742014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3875
3876 * gdb.dlang/primitive-types.exp: New file.
3877
7f420862
IB
38782014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3879
3880 * configure.ac: Create gdb.dlang/Makefile.
3881 * configure: Regenerate.
3882 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
3883 * gdb.dlang/Makefile.in: New file.
3884 * lib/d-support.exp: New file.
3885 * lib/gdb.exp (skip_d_tests): New proc.
3886
52834460
MM
38872014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3888
3889 * gdb.btrace/delta.exp: Check reverse stepi.
3890 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
3891 * gdb.btrace/finish.exp: New.
3892 * gdb.btrace/next.exp: New.
3893 * gdb.btrace/nexti.exp: New.
3894 * gdb.btrace/record_goto.c: Add comments.
3895 * gdb.btrace/step.exp: New.
3896 * gdb.btrace/stepi.exp: New.
3897 * gdb.btrace/multi-thread-step.c: New.
3898 * gdb.btrace/multi-thread-step.exp: New.
3899 * gdb.btrace/rn-dl-bind.c: New.
3900 * gdb.btrace/rn-dl-bind.exp: New.
3901 * gdb.btrace/data.c: New.
3902 * gdb.btrace/data.exp: New.
3903 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3904
6e07b1d2
MM
39052014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3906
3907 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
3908 * gdb.btrace/exception.exp: Update.
3909 * gdb.btrace/instruction_history.exp: Update.
3910 * gdb.btrace/record_goto.exp: Update.
3911 * gdb.btrace/tailcall.exp: Update.
3912 * gdb.btrace/unknown_functions.exp: Update.
3913 * gdb.btrace/delta.exp: New.
3914
0b722aec
MM
39152014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3916
3917 * gdb.btrace/record_goto.exp: Add backtrace test.
3918 * gdb.btrace/tailcall.exp: Add backtrace test.
3919
066ce621
MM
39202014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3921
3922 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
3923 * gdb.btrace/record_goto.c: New.
3924 * gdb.btrace/record_goto.exp: New.
3925 * gdb.btrace/x86-record_goto.S: New.
3926
0688d04e
MM
39272014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3928
3929 * gdb.btrace/function_call_history.exp: Update tests.
3930 * gdb.btrace/instruction_history.exp: Update tests.
3931
8710b709
MM
39322014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3933
3934 * gdb.btrace/function_call_history.exp: Fix expected field
3935 order for "record function-call-history".
3936 Add new tests for "record function-call-history /c".
3937 * gdb.btrace/exception.cc: New.
3938 * gdb.btrace/exception.exp: New.
3939 * gdb.btrace/tailcall.exp: New.
3940 * gdb.btrace/x86-tailcall.S: New.
3941 * gdb.btrace/x86-tailcall.c: New.
3942 * gdb.btrace/unknown_functions.c: New.
3943 * gdb.btrace/unknown_functions.exp: New.
3944 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3945
5de9129b
MM
39462014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3947
3948 * gdb.btrace/instruction_history.exp: Update.
3949 * gdb.btrace/function_call_history.exp: Update.
3950
23a7fe75
MM
39512014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3952
3953 * gdb.btrace/function_call_history.exp: Fix expected function
3954 trace.
3955 * gdb.btrace/instruction_history.exp: Initialize traced.
3956 Remove traced_functions.
3957
724c7dd8
MM
39582014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3959
3960 * gdb.btrace/function_call_history.exp: Update
3961 * gdb.btrace/instruction_history.exp: Update.
3962
6d78d93b
MM
39632014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3964
3965 * gdb.btrace/enable.exp: Update expected text.
3966
93a360cc
OJ
39672014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
3968
3969 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
3970 bytes.
3971
3772b53f
MR
39722014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
3973
3974 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
3975
596662fa
OJ
39762014-01-15 Omair Javaid <omair.javaid@linaro.org>
3977
3978 * lib/gdb.exp (supports_process_record): Return true for
3979 arm*-linux*. (supports_reverse): Likewise.
3980
b5b08fb4
SC
39812014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3982
3983 PR python/15464
3984 PR python/16113
3985 * gdb.python/py-type.c: Enhance test case.
3986 * gdb.python/py-value-cc.cc: Likewise
3987 * gdb.python/py-type.exp: Add new tests.
3988 * gdb.python/py-value-cc.exp: Likewise
3989
52d7fb13
AA
39902014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3991 Pedro Alves <palves@redhat.com>
3992
3993 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
3994 Make "name" extern.
3995 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
3996 references to ${name}_start by references to ${name}.
3997
a2cd8cfe
JB
39982014-01-10 Joel Brobecker <brobecker@adacore.com>
3999
4000 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
4001
4e23fced
JB
40022014-01-10 Joel Brobecker <brobecker@adacore.com>
4003
4004 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
4005
c6a9e42c
PA
40062014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
4007 Pedro Alves <palves@redhat.com>
4008
4009 * gdb.mi/mi-info-os.exp: Connect to the target with
4010 mi_gdb_target_load.
4011
b7ea362b
PA
40122014-01-08 Pedro Alves <palves@redhat.com>
4013
4014 * gdb.threads/reconnect-signal.c: New file.
4015 * gdb.threads/reconnect-signal.exp: New file.
4016
5e3f4fab
EBM
40172014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4018
4019 * gdb.base/source-dir.exp: New file.
4020
79301218
JB
40212014-01-07 Joel Brobecker <brobecker@adacore.com>
4022
4023 * gdb.ada/mi_interface: New testcase.
4024
8e355c5d
JB
40252014-01-07 Joel Brobecker <brobecker@adacore.com>
4026
4027 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
4028 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
4029 gdb.ada/pp-rec-component/pck.ads: New files.
4030
c0d48811
JB
40312014-01-07 Joel Brobecker <brobecker@adacore.com>
4032
4033 * gdb.python/py-pp-integral.c: New file.
4034 * gdb.python/py-pp-integral.py: New file.
4035 * gdb.python/py-pp-integral.exp: New file.
4036
17b609c3 4037For older changes see ChangeLog-1993-2013.
c906108c 4038\f
8d8cb839
EZ
4039;; Local Variables:
4040;; mode: change-log
4041;; left-margin: 8
4042;; fill-column: 74
4043;; version-control: never
4044;; End:
902f2ccb 4045
32d0add0 4046 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
4047 Copying and distribution of this file, with or without modification,
4048 are permitted provided the copyright notice and this notice are preserved.
This page took 2.309707 seconds and 4 git commands to generate.