]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Updates the ARM disassembler's output of floating point constants to include the...
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
db1ff28b
JK
12015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2
3 Revert the previous commit:
4 Tests for validate symbol file using build-id.
5
0a94970d
JK
62015-07-15 Aleksandar Ristovski <aristovski@qnx.com
7
8 Tests for validate symbol file using build-id.
9 * gdb.base/solib-mismatch-lib.c: New file.
10 * gdb.base/solib-mismatch-libmod.c: New file.
11 * gdb.base/solib-mismatch.c: New file.
12 * gdb.base/solib-mismatch.exp: New file.
13
03346981
SL
142015-07-15 Sandra Loosemore <sandra@codesourcery.com>
15
16 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
17 nios2-*-linux*.
18 * gdb.base/sigbpt.exp (stepi_out): Likewise.
19 * gdb.base/siginfo.exp: Likewise.
20 * gdb.base/sigstep.exp (advance, advancei): Likewise.
21
42422cc7
PL
222015-07-15 Pierre Langlois <pierre.langlois@arm.com>
23
24 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
25 Move it to ...
26 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
27 ... here.
28 * gdb.trace/range-stepping.exp: Check that the target supports
29 range stepping.
30
cfa68bae
JK
312015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
32
33 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
34
8ffdba26
PA
352015-07-14 Pedro Alves <palves@redhat.com>
36
37 * gdb.base/killed-outside.exp: New file.
38 * gdb.base/killed-outside.c: New file.
39
218a5a11
JK
402015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
41
42 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
43 (n at main): New.
44 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
45
e03ed3c6
AA
462015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
47
48 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
49 infcall tests instead of setting up for KFAIL.
50
485668e5
MM
512015-07-10 Markus Metzger <markus.t.metzger@intel.com>
52
53 * gdb.btrace/record_goto-step.exp: New.
54
08464196
JK
552015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
56
57 PR compile/18484
58 * gdb.compile/compile.c (struct struct_type): Add volatile to
59 selffield's type.
60 * gdb.compile/compile.exp
61 (compile code struct_object.selffield = &struct_object): Skip further
62 struct_object tests if this one xfails.
63
bcf5c1d9
RC
642015-07-08 Robert O'Callahan <robert@ocallahan.org>
65
66 PR exp/18617
67 * gdb.trace/ax.exp: Add test.
68
4931af25
YQ
692015-07-07 Yao Qi <yao.qi@linaro.org>
70
71 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
72 instead of istarget "aarch64*-*-*".
73 * gdb.arch/aarch64-fp.exp: Likewise.
74 * gdb.base/float.exp: Likewise.
75 * gdb.reverse/aarch64.exp: Likewise.
76 * lib/gdb.exp (is_aarch64_target): New proc.
77
9fcf688e
YQ
782015-07-07 Yao Qi <yao.qi@linaro.org>
79
80 * lib/gdb.exp (is_aarch32_target): New proc.
81 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
82 instead of "istarget "arm*-*-*"".
83 * gdb.arch/arm-disp-step.exp: Likewise.
84 * gdb.arch/thumb-bx-pc.exp: Likewise.
85 * gdb.arch/thumb-prologue.exp: Likewise.
86 * gdb.arch/thumb-singlestep.exp: Likewise.
87 * gdb.base/disp-step-syscall.exp: Likewise.
88 * gdb.base/float.exp: Likewise.
89
fbd8d50d
YQ
902015-07-07 Yao Qi <yao.qi@linaro.org>
91
92 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
93 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
94
71be1fdc
YQ
952015-07-07 Yao Qi <yao.qi@linaro.org>
96
97 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
98 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
99 if it exists.
100 * gdb.multi/multi-arch.exp: Likewise.
101
3e221d36
SM
1022015-07-07 Simon Marchi <simon.marchi@ericsson.com>
103
104 * gdb.python/py-lazy-string.exp: Add missing parentheses to
105 print.
106
d441430b
YQ
1072015-07-07 Yao Qi <yao.qi@linaro.org>
108
109 * gdb.arch/thumb-singlestep.exp: Do one more single step.
110
06f810bd
MG
1112015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
112
113 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
114 '[' and ']' characters.
115
5e61e7c0
IB
1162015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
117
118 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
119
28bf096c
PA
1202015-06-29 Pedro Alves <palves@redhat.com>
121
122 PR threads/18127
123 * gdb.threads/hand-call-new-thread.c: New file.
124 * gdb.threads/hand-call-new-thread.c: New file.
125
ee93cd5e
KS
1262015-06-26 Keith Seitz <keiths@redhat.com>
127 Doug Evans <dje@google.com>
128
129 PR 16253
130 * gdb.cp/var-tag-2.cc: New file.
131 * gdb.cp/var-tag-3.cc: New file.
132 * gdb.cp/var-tag-4.cc: New file.
133 * gdb.cp/var-tag.cc: New file.
134 * gdb.cp/var-tag.exp: New file.
135
fc637f04
PP
1362015-06-26 Patrick Palka <patrick@parcs.ath.cx>
137
138 * gdb.base/history-duplicates.exp: New test.
139
2e52ae68
PP
1402015-06-26 Patrick Palka <patrick@parcs.ath.cx>
141
142 * gdb.base/completion.exp: Test the completion of the "focus"
143 command.
144
6e22494e
JK
1452015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
146
147 * gdb.arch/amd64-prologue-skip.S: New file.
148 * gdb.arch/amd64-prologue-skip.exp: New file.
149
bf7b9cd9
SM
1502015-06-25 Simon Marchi <simon.marchi@ericsson.com>
151
152 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
153 is_address_zero_readable check.
154
201e8dfd
PB
1552015-06-24 Peter Bergner <bergner@vnet.ibm.com>
156
157 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
158 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
159
5cd867b4
YQ
1602015-06-24 Yao Qi <yao.qi@linaro.org>
161
162 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
163 linux targets.
164
4d7be007
YQ
1652015-06-24 Yao Qi <yao.qi@linaro.org>
166
167 * lib/gdb.exp (supports_get_siginfo_type): New proc.
168 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
169 * gdb.base/siginfo-thread.exp: Likewise.
170
07fcd301
YQ
1712015-06-22 Yao Qi <yao.qi@linaro.org>
172
173 * boards/remote-gdbserver-on-localhost.exp: Add comments.
174
52042a00
YQ
1752015-06-22 Yao Qi <yao.qi@linaro.org>
176
177 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
178 aarch64*-*-*.
179 (skip_hw_watchpoint_tests): Likewise.
180
74bd41ce
PP
1812015-06-18 Patrick Palka <patrick@parcs.ath.cx>
182
183 * gdb.base/gdbinit-history.exp: Test the interaction between
184 setting GDBHISTSIZE and setting the history size via .gdbinit.
185
bc460514
PP
1862015-06-17 Patrick Palka <patrick@parcs.ath.cx>
187
188 PR gdb/16999
189 * gdb.base/gdbhistsize-history.exp: New test.
190
b58c513b
PP
1912015-06-17 Patrick Palka <patrick@parcs.ath.cx>
192
193 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
194 with GDBHISTSIZE.
195 * gdb.base/readline.exp: Likewise.
196
92046791
YQ
1972015-06-17 Yao Qi <yao.qi@linaro.org>
198
199 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
200 line.
201
2093d2d3
PP
2022015-06-17 Patrick Palka <patrick@parcs.ath.cx>
203
204 * gdb.base/gdbinit-history.exp: Add test case to check that
205 an unlimited history file does not get truncated on exit.
206
e6c693af
AA
2072015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
208
209 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
210 (VECTOR): New macro. Use it...
211 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
212 ...for these typedefs.
213 (int8, char1, int1, double1): New typedefs.
214 (struct just_int2, struct two_int2): New structures.
215 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
216 (add_structvecs, add_singlevecs): New functions.
217 (main): Call add_some_intvecs twice.
218 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
219 the compile and exit upon failure. Try compiling for the "native"
220 architecture. Test inferior function calls with vector arguments
221 and vector return value handling with "finish" and "return".
222
c74f7d1c
JT
2232015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
224
225 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
226 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
227 PE file.
228 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
229
98aa42ee
AT
2302015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
231
232 PR breakpoints/16465
233 * gdb.mi/mi-dprintf-pending.c: New file.
234 * gdb.mi/mi-dprintf-pending.exp: New test.
235 * gdb.mi/mi-dprintf-pendshr.c: New file.
236
7d73c23c
WT
2372015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
238 Mircea Gherzan <mircea.gherzan@intel.com>
239
240 * gdb.arch/i386-mpx-map.c: New file.
241 * gdb.arch/i386-mpx-map.exp: New File.
242
2432015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
244
245 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
246 * gdb.arch/i386-mpx.exp: Indentation fixed.
247
2482015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
249
250 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
251 function and improved indentation.
252 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
253 gdb_test_multiple. Added additional tests to skip the test.
254
2552015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
256
257 * gdb.arch/i386-avx512.c: Change path in include file.
258 * gdb.arch/i386-avx512.exp: Change include dir path
259 compilation flag.
260 * gdb.arch/i386-mpx.c: Change path in include file.
261 * gdb.arch/i386-mpx.exp: Change include dir path compilation
262 flag.
263
d5eba19a
JK
2642015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
265
266 * gdb.compile/compile-print.exp (compile print *vararray@3)
267 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
268
7f361056
JK
2692015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
270
271 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
272 (do not keep jit in memory): ... this.
273 (expect 5): Change it to ...
274 (expect no 5): ... this.
275
3b462ec2
SM
2762015-06-02 Simon Marchi <simon.marchi@ericsson.com>
277
278 PR gdb/15564
279 * gdb.mi/mi-detach.exp: New file.
280
e0619de6
JK
2812015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
282
283 PR symtab/18392
284 * gdb.arch/amd64-tailcall-self.S: New file.
285 * gdb.arch/amd64-tailcall-self.c: New file.
286 * gdb.arch/amd64-tailcall-self.exp: New file.
287
e970cb34
DB
2882015-05-28 Don Breazeal <donb@codesourcery.com>
289
290 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
291 tests for remote targets by checking is_target_gdbserver.
292
b2e2f908
DE
2932015-05-27 Doug Evans <dje@google.com>
294
295 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
296 * gdb.dwarf2/opaque-type-lookup.c: New file.
297 * gdb.dwarf2/opaque-type-lookup.exp: New file.
298
82c7be31
DE
2992015-05-26 Doug Evans <dje@google.com>
300
301 * gdb.cp/iostream.cc: New file.
302 * gdb.cp/iostream.exp: New file.
303
b4f54984
DE
3042015-05-26 Doug Evans <dje@google.com>
305
306 * gdb.dwarf2/dw2-op-call.exp: Update.
307 * gdb.dwarf2/dw4-sig-types.exp: Update.
308 * gdb.dwarf2/implptr.exp: Update.
309 * gdb.mi/mi-cmd-param-changed.exp: Update.
310
4ea6efe9
DE
3112015-05-26 Doug Evans <dje@google.com>
312
313 * gdb.python/py-lazy-string.c: New file.
314 * gdb.python/py-lazy-string.exp: New file.
315 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
316 (main): Update. Add estring3.
317 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
318 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
319
f6bb7db3
YQ
3202015-05-26 Omair Javaid <omair.javaid@linaro.org>
321 Yao Qi <yao.qi@linaro.org>
322
323 * gdb.reverse/aarch64.c: New.
324 * gdb.reverse/aarch64.exp: New.
325
a81bfbd0
OJ
3262015-05-26 Omair Javaid <omair.javaid@linaro.org>
327
328 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
329 (supports_reverse): Likewise.
330
158bf1b4
PP
3312015-05-22 Patrick Palka <patrick@parcs.ath.cx>
332
333 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
334 Use with_test_prefix.
335
a0145030
AB
3362015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
337
338 * gdb.base/completion.exp: Add test for completion of layout
339 names.
340
ebe3b578
AB
3412015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
342
343 * lib/gdb.exp (skip_tui_tests): New proc.
344 * gdb.base/tui-layout.exp: Check skip_tui_tests.
345
84204ed7
PA
3462015-05-19 Pedro Alves <palves@redhat.com>
347
348 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
349 Save the whole env array instead of just HOME. Unset HISTSIZE in
350 the environment while testing. Restore whole environment
351 afterwards.
352
37442ce1
DE
3532015-05-16 Doug Evans <xdje42@gmail.com>
354
355 * gdb.guile/scm-ports.c: New file.
356 * gdb.guile/scm-ports.exp: Add memory port tests.
357
36de76f9
JK
3582015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
359
360 * gdb.compile/compile-print.c: New file.
361 * gdb.compile/compile-print.exp: New file.
362
3a9558c4
JK
3632015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
364
365 * gdb.compile/compile-ops.exp: Cast param to void.
366 * gdb.compile/compile.exp: Complete type for _gdb_expr.
367 (compile code struct_object.selffield = &struct_object): Add xfail.
368
aa715135
JG
3692015-05-15 Joel Brobecker <brobecker@adacore.com>
370
371 * gdb.ada/arr_enum_with_gap: New testcase.
372
931e5bc3
JG
3732015-05-15 Joel Brobecker <brobecker@adacore.com>
374
375 * gdb.ada/byte_packed_arr: New testcase.
376
9cd4d857
JB
3772015-05-15 Joel Brobecker <brobecker@adacore.com>
378
379 * gdb.ada/pckd_neg: New testcase.
380
ebfd00d2
PP
3812015-05-13 Patrick Palka <patrick@parcs.ath.cx>
382
383 PR gdb/17820
384 * gdb.base/gdbinit-history.exp: New test.
385 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
386 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
387
4c082a81
SC
3882015-05-09 Siva Chandra Reddy <sivachandra@google.com>
389
390 * gdb.python/py-xmethods.cc: Enhance test case.
391 * gdb.python/py-xmethods.exp: New tests.
392 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
393 function.
394 (B_indexoper): Likewise.
395 (global_dm_list) : Add new xmethod worker functions.
396
f7797074
SDJ
3972015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
398
399 * gdb.base/coredump-filter.exp: Correctly unset
400 "coredump_var_addr" array.
401
a4674e4e
PA
4022015-05-08 Pedro Alves <palves@redhat.com>
403
404 * gdb.server/non-existing-program.exp: Unset spawn_id.
405
df2eb078
SC
4062015-05-08 Siva Chandra Reddy <sivachandra@google.com>
407
408 PR python/18291
409 * gdb.python/py-xmethods.exp: Add tests.
410
422349a3
YQ
4112015-05-08 Yao Qi <yao.qi@linaro.org>
412
413 PR gdb/18208
414 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
415 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
416 function set_coredump_filter, and remove remote_exec call.
417 Remove argument ipid. Callers update.
418 (top level): Don't get inferior's PID.
419
63fc80ce
AA
4202015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
421
422 * gdb.base/watch_thread_num.exp: Skip test on targets without
423 access watchpoints.
424
80ad801e
PA
4252015-05-06 Pedro Alves <palves@redhat.com>
426
427 PR server/18081
428 * gdb.server/non-existing-program.exp: New file.
429
0fa7fe50
JB
4302015-05-05 Joel Brobecker <brobecker@adacore.com>
431
432 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
433
3ea89b92
PMR
4342015-05-05 Joel Brobecker <brobecker@adacore.com>
435
436 * gdb.ada/out_of_line_in_inlined: New testcase.
437
87b8eff0
JB
4382015-05-05 Joel Brobecker <brobecker@adacore.com>
439
440 * gdb.ada/var_rec_arr: New testcase.
441
5fccc635
YQ
4422015-04-30 Yao Qi <yao.qi@linaro.org>
443
444 * gdb.base/break-idempotent.exp: If
445 skip_hw_watchpoint_multi_tests returns true, skip the tests
446 on "rwatch" and "awatch".
447
42d38f42
YQ
4482015-04-30 Yao Qi <yao.qi@linaro.org>
449
450 * gdb.base/relativedebug.exp: Invoke gdb command
451 "info sharedlibrary", and if libc.so doesn't have debug info,
452 skip the test.
453
2ce1cdbf
DE
4542015-04-29 Doug Evans <dje@google.com>
455
456 * gdb.python/py-xmethods.exp: Add ptype tests.
457 * gdb.python/py-xmethods.py (E_method_char_worker): Add
458 get_result_type method.
459
f24a38c5
LM
4602015-04-29 Luis Machado <lgustavo@codesourcery.com>
461
462 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
463 the target does not support hardware watchpoints.
464
ecbf2b3c
LM
4652015-04-29 Luis Machado <lgustavo@codesourcery.com>
466
467 * gdb.base/break-always.exp: Abort testing if writing to memory
468 causes an error.
469
34f5f757
DE
4702015-04-28 Doug Evans <dje@google.com>
471
472 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
473 * gdb.python/py-pp-registration.exp: ... here. New file.
474 * gdb.python/py-pp-registration.c: New file.
475 * gdb.python/py-pp-registration.py: New file.
476
69b4374a
DE
4772015-04-28 Doug Evans <dje@google.com>
478
479 * gdb.python/py-bad-printers.c: New file.
480 * gdb.python/py-bad-printers.py: New file.
481 * gdb.python/py-bad-printers.exp: New file.
482
59fb7612
SS
4832015-04-28 Sasha Smundak <asmundak@google.com>
484
485 * gdb.python/py-type.exp: New test.
486
2631b16a
AW
4872015-04-28 Andy Wingo <wingo@igalia.com>
488
489 * gdb.python/py-parameter.exp:
490 * gdb.guile/scm-parameter.exp: Escape the path that we are
491 matching against, as it might contain characters that are special
492 to regular expressions.
493
460efde1
JB
4942015-04-27 Joel Brobecker <brobecker@adacore.com>
495
496 * gdb.ada/rec_comp: New testcase.
497
2d369d8e
SDJ
4982015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
499
500 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
501 before using it.
502
cf75d6c3
AB
5032015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
504
505 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
506 new tests for verilog output.
507
8dbe7ca5
YQ
5082015-04-24 Yao Qi <yao.qi@linaro.org>
509
510 * boards/remote-gdbserver-on-localhost.exp: New file.
511
4ef9fb2f
PA
5122015-04-23 Pedro Alves <palves@redhat.com>
513
514 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
515 $inferior_spawn_id instead of $inferior_spawn_id directly. On
516 "end of file", remove $inferior_spawn_id from the indirect list.
517
0a803169
PA
5182015-04-23 Pedro Alves <palves@redhat.com>
519
520 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
521
749ef8f8
PA
5222015-04-23 Pedro Alves <palves@redhat.com>
523
524 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
525 on $any_spawn_id instead of only on $gdb_spawn_id.
526
8aae4344
PM
5272015-04-21 Pierre Muller <muller@sourceware.org>
528
529 PR pascal/17815
530 * lib/pascal.exp (gpc_compile): Add new option "class".
531 (fpc_compile): Likewise.
532 * gdb.pascal/case-insensitive-symbols.pas: New file.
533 * gdb.pascal/case-insensitive-symbols.exp: New file.
534
1586c8fb
GB
5352015-04-20 Gary Benson <gbenson@redhat.com>
536
537 * gdb.base/attach.exp: Fix three extended remote failures.
538
1b6e6f5c
GB
5392015-04-17 Gary Benson <gbenson@redhat.com>
540
541 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
542 the main executable over the remote protocol.
543
e797481d
PA
5442015-04-16 Pedro Alves <palves@redhat.com>
545
546 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
547 a new gdbserver if gdbserver_reconnect_p is set.
548
1ca99c42
PA
5492015-04-16 Pedro Alves <palves@redhat.com>
550
551 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
552 is set, don't exit gdbserver.
553
af9fd6f8
AA
5542015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
555
556 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
557 appropriate .insn, such that an older assembler can be used.
558 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
559 the z/Architecture instruction set on 31-bit targets as well.
560
04ff1e61
AA
5612015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
562
563 * gdb.go/handcall.exp: Remove all logic related to the first
564 breakpoint and rely on go_runto_main instead.
565 * gdb.go/strings.exp: Likewise.
566 * gdb.go/unsafe.exp: Likewise.
567 * gdb.go/hello.exp: Likewise. Also rename the remaining
568 breakpoint marker to "breakpoint 1".
569 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
570 * gdb.go/strings.go: Likewise.
571 * gdb.go/unsafe.go: Likewise.
572 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
573 "set breakpoint 2 here" and rename the remaining breakpoint marker
574 to "breakpoint 1".
575
40d2f8d6
SM
5762015-04-15 Simon Marchi <simon.marchi@ericsson.com>
577
578 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
579 if itertools.imap is not present.
580 * gdb.python/py-objfile.exp: Add parentheses.
581 * gdb.python/py-type.exp: Same.
582 * gdb.python/py-unwind-maint.py: Same.
583
8cbc97c6
YQ
5842015-04-15 Yao Qi <yao.qi@linaro.org>
585
586 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
587 of ":$ptr_size" and set its form explicitly.
588
45fd756c
YQ
5892015-04-15 Pedro Alves <palves@redhat.com>
590 Yao Qi <yao.qi@linaro.org>
591
592 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
593 timeout by factor of 4.
594 (test_regular_watch): Likewise.
595 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
596 * gdb.reverse/sigall-reverse.exp: Likewise.
597 * gdb.reverse/until-precsave.exp: Likewise.
598 * lib/gdb.exp (with_timeout_factor): New proc.
599 (gdb_expect): Move some code to ...
600 (get_largest_timeout): ... here. New procedure.
601
9e811bc3
LM
6022015-04-14 Luis Machado <lgustavo@codesourcery.com>
603
604 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
605
0ff6fcb2
LM
6062015-04-13 Luis Machado <lgustavo@codesourcery.com>
607
608 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
609 to write to the .text section.
610
7578d5f7
LM
6112015-04-13 Luis Machado <lgustavo@codesourcery.com>
612
613 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
614 Handle the case of targets that do not provide PID information.
615
2efe15c4
YQ
6162015-04-13 Yao Qi <yao.qi@linaro.org>
617
618 * lib/gdbserver-support.exp (gdb_exit): Catch exception
619 and use expect instead of gdb_expect.
620
8cd8f2f8
SDJ
6212015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
622
623 * gdb.base/coredump-filter.exp: Rename variable "addr" to
624 "coredump_var_addr" to avoid naming conflict with other testcases.
625
9ee41772
PA
6262015-04-10 Pedro Alves <palves@redhat.com>
627
628 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
629 gdb_test_sequence and gdb_assert.
630
07473109
PA
6312015-04-10 Pedro Alves <palves@redhat.com>
632
633 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
634 test messages that don't include the breakpoint address.
635
de3db44c
YQ
6362015-04-10 Yao Qi <yao.qi@linaro.org>
637
638 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
639 false for some offset and width combinations which aren't
640 supported by linux kernel.
641
c79d856c
PA
6422015-04-10 Pedro Alves <palves@redhat.com>
643
644 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
645 procedure, factored out from ...
646 (top level): ... here. Add "set displaced-stepping" testing axis.
647 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
648 parameter "displaced". Use it.
649 (top level): Use foreach and add "set displaced-stepping" testing
650 axis.
651
ebc90b50
PA
6522015-04-10 Pedro Alves <palves@redhat.com>
653
654 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
655 Remove comment.
656 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
657 both the address of the instruction that triggers the watchpoint
658 and the address of the instruction immediately after, and use
659 those addresses for the test. Fix comment.
660
8f572e5c
PA
6612015-04-10 Pedro Alves <palves@redhat.com>
662
663 * gdb.base/sigstep.exp (breakpoint_to_handler)
664 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
665 Test "backtrace" in handler.
666 (breakpoint_over_handler): New parameter 'displaced'. Use it.
667 (top level): Add new "displaced" test axis to
668 breakpoint_to_handler, breakpoint_to_handler_entry and
669 breakpoint_over_handler.
670
8d707a12
PA
6712015-04-10 Pedro Alves <palves@redhat.com>
672
673 PR gdb/18216
674 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
675
ef713951
YQ
6762015-04-10 Yao Qi <yao.qi@linaro.org>
677
678 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
679 (test_add_rn_pc): New function.
680 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
681 (top level): Invoke test_add_rn_pc.
682
906d60cf
PA
6832015-04-10 Pedro Alves <palves@redhat.com>
684
685 PR gdb/13858
686 * gdb.base/step-over-no-symbols.exp: New file.
687
f2983cc3
AW
6882015-04-09 Andy Wingo <wingo@igalia.com>
689
690 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
691 after the Python tests.
692
6d62641c
SDJ
6932015-04-08 Keith Seitz <keiths@redhat.com>
694
695 PR python/16699
696 * gdb.python/py-completion.exp: New tests for completion.
697 * gdb.python/py-completion.py (CompleteLimit1): New class.
698 (CompleteLimit2): Likewise.
699 (CompleteLimit3): Likewise.
700 (CompleteLimit4): Likewise.
701 (CompleteLimit5): Likewise.
702 (CompleteLimit6): Likewise.
703 (CompleteLimit7): Likewise.
704
f3770638
PA
7052015-04-08 Pedro Alves <palves@redhat.com>
706
707 PR gdb/18214
708 PR gdb/18216
709 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
710 function.
711 (main): Install it as SIGUSR1 handler.
712 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
713 parameter. Always use "setup" as prefix. Toggle "set
714 displaced-stepping" off/on depending on global. Don't switch to
715 thread 1 here.
716 (top level): Add displaced stepping "off/on" test axis. Update
717 "setup" calls. Wrap each subtest with with_test_prefix. Test
718 continuing with a queued signal in each thread.
719
4496bed7
PA
7202015-04-08 Pedro Alves <palves@redhat.com>
721
722 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
723 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
724 gdb_breakpoint instead of gdb_test that doesn't expect anything.
725 Return early if running to main fails.
726 * gdb.trace/while-stepping.exp: Likewise.
727
b97fde92
PA
7282015-04-07 Pedro Alves <palves@redhat.com>
729
730 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
731 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
732 interact with inferior program.
733
f71c18e7
PA
7342015-04-07 Pedro Alves <palves@redhat.com>
735
736 * lib/gdb.exp (inferior_spawn_id): New global.
737 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
738 spawn id after processing the user code.
739 (default_gdb_start): Set inferior_spawn_id.
740 (send_inferior): New procedure.
741 * lib/gdbserver-support.exp (gdbserver_start): Set
742 inferior_spawn_id.
743 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
744
6423214f
PA
7452015-04-07 Pedro Alves <palves@redhat.com>
746
747 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
748 * lib/gdbserver-support.exp (gdbserver_start): Make
749 $server_spawn_id global.
750 (gdbserver_start): Don't wait for gdbserver's spawn id with
751 expect_background.
752 (close_gdbserver): New procedure.
753 (gdb_exit): Rename the default version and reimplement.
754
71c0ee8c
PA
7552015-04-07 Pedro Alves <palves@redhat.com>
756
757 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
758 append the substituted item, not the original item.
759
203bc29b
PA
7602015-04-07 Pedro Alves <palves@redhat.com>
761
762 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
763 gdb_expect.
764
508a3ddf
PA
7652015-04-07 Pedro Alves <palves@redhat.com>
766
767 * gdb.base/interrupt.exp: Don't handle the case of the inferior
768 output appearing once only.
769
9f6dbe2b
PA
7702015-04-07 Pedro Alves <palves@redhat.com>
771
772 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
773 that doesn't expect anything. Return early if running to main
774 fails.
775
337532fa
YQ
7762015-04-07 Yao Qi <yao.qi@linaro.org>
777
778 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
779 (child_function): Call alarm.
780 (main): Move call to alarm into the loop.
781 * gdb.threads/non-stop-fair-events.exp: Build program with
782 -DTIMEOUT=$timeout.
783
01b622d4
DE
7842015-04-06 Doug Evans <xdje42@gmail.com>
785
786 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
787 Fix dest parameter to board_info.
788 (fpc_compile): Ditto.
789 (gdb_compile_pascal): Rename dest arg to destfile.
790
961f4160
PMR
7912015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
792
793 * gdb.ada/funcall_ref.exp: New file.
794 * gdb.ada/funcall_ref/foo.adb: New file.
795
cafda597
YQ
7962015-04-02 Yao Qi <yao.qi@linaro.org>
797
798 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
799 is remote.
800
fed040c6
GB
8012015-04-02 Gary Benson <gbenson@redhat.com>
802
803 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
804
d11916aa
SS
8052015-04-01 Sasha Smundak <asmundak@google.com>
806
807 * gdb.python/py-unwind-maint.c: New file.
808 * gdb.python/py-unwind-maint.exp: New test.
809 * gdb.python/py-unwind-maint.py: New file.
810 * gdb.python/py-unwind.c: New file.
811 * gdb.python/py-unwind.exp: New test.
812 * gdb.python/py-unwind.py: New test.
813
a1471180
PA
8142015-04-01 Pedro Alves <palves@redhat.com>
815
816 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
817 to fail instead of non-existent $test.
818
0bbeccb1
PA
8192015-04-01 Pedro Alves <palves@redhat.com>
820
821 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
822 GDBFLAGS if not empty.
823
3c724c8c
PMR
8242015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
825
826 * gdb.ada/complete.exp: Remove "multi_line".
827 * gdb.ada/info_exc.exp: Remove "multi_line".
828 * gdb.ada/packed_tagged.exp: Remove "multi_line".
829 * gdb.ada/ptype_field.exp: Remove "multi_line".
830 * gdb.ada/sym_print_name.exp: Remove "multi_line".
831 * gdb.ada/tagged.exp: Remove "multi_line".
832 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
833 [multi_line ...]
834 * gdb.btrace/delta.exp: Likewise.
835 * gdb.btrace/exception.exp: Likewise.
836 * gdb.btrace/function_call_history.exp: Likewise.
837 * gdb.btrace/instruction_history.exp: Likewise.
838 * gdb.btrace/nohist.exp: Likewise.
839 * gdb.btrace/record_goto.exp: Likewise.
840 * gdb.btrace/segv.exp: Likewise.
841 * gdb.btrace/stepi.exp: Likewise.
842 * gdb.btrace/tailcall.exp: Likewise.
843 * gdb.btrace/unknown_functions.exp: Likewise.
844 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
845 * lib/gdb.exp: Add the "multi_line" helper.
846
4eec2deb
PA
8472015-04-01 Pedro Alves <palves@redhat.com>
848
849 * gdb.threads/tid-reuse.c: New file.
850 * gdb.threads/tid-reuse.exp: New file.
851
df8411da
SDJ
8522015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
853
854 PR corefiles/16092
855 * gdb.base/coredump-filter.c: New file.
856 * gdb.base/coredump-filter.exp: Likewise.
857
6ef37366
PM
8582015-03-27 Petr Machata <pmachata@redhat.com>
859
860 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
861 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
862 (Dwarf::assemble): Initialize them.
863 (Dwarf::lines): New function.
864
7ec911b0
JT
8652015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
866
867 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
868 SYMBOL_PREFIX for x86_64-*-cygwin.
869
ff908ebf
AW
8702015-03-26 Andy Wingo <wingo@igalia.com>
871
872 PR symtab/18148
873 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
874 const_value but not a location.
875 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
876 location defined in non-main CUs are visible.
877
6d5f0679
YQ
8782015-03-26 Yao Qi <yao.qi@linaro.org>
879
880 PR testsuite/18139
881 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
882 Add a line number entry for the same line.
883 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
884 Add a line number entry for the same line.
885
2898689b
YQ
8862015-03-26 Yao Qi <yao.qi@linaro.org>
887
888 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
889 .int 0.
890 (func): Likewise. Add .Lfunc_1 label.
891 Use .Lfunc_1 label.
892 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
893 .int 0.
894 (func): Likewise.
895 Use .Lfunc_1 label.
896
85180498
YQ
8972015-03-26 Yao Qi <yao.qi@linaro.org>
898
899 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
900 Call gdb_compile instead to compile each .s files without debug
901 information.
902
8aa08a8d
YQ
9032015-03-26 Yao Qi <yao.qi@linaro.org>
904
905 * gdb.base/savedregs.exp (process_saved_regs): Make
906 "Saved registers:" optional in the pattern.
907
66849923
MM
9082015-03-25 Markus Metzger <markus.t.metzger@intel.com>
909
910 * gdb.btrace/next.exp: Merged into step.exp.
911 * gdb.btrace/finish.exp: Merged into step.exp.
912 * gdb.btrace/nexti.exp: Merged into stepi.exp.
913 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
914 "record goto" and checking the exact replay position.
915 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
916 check for "Recording format" in "info record" output.
917 * gdb.btrace/record_goto.exp: Choose test file based on target.
918 * gdb.btrace/x86-record_goto.S: Renamed into ...
919 * gdb.btrace/x86_64-record_goto.S: ... this.
920 * gdb.btrace/i686-record_goto.S: New.
921 * gdb.btrace/x86-tailcall.S: Renamed into ...
922 * gdb.btrace/x86_64-tailcall.S: ... this.
923 * gdb.btrace/i686-tailcall.S: New.
924 * gdb.btrace/x86-tailcall.c: Renamed into ...
925 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
926 separate statements. Update test.
927 * gdb.btrace/delta.exp: Use record_goto.c as test file.
928 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
929 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
930 * gdb.btrace/tailcall.exp: Choose test file based on target.
931 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
932
11cc1b74
MM
9332015-03-25 Markus Metzger <markus.t.metzger@intel.com>
934
935 * gdb.btrace/exception.exp: Increase BTS buffer size.
936
a25d8bf9
PA
9372015-03-24 Pedro Alves <palves@redhat.com>
938
939 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
940
856e7dd6
PA
9412015-03-24 Pedro Alves <palves@redhat.com>
942
943 * gdb.threads/schedlock.exp (test_step): No longer expect that
944 "set scheduler-locking step" with "next" over a function call runs
945 threads unlocked.
946
ad235a41
AT
9472015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
948
949 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
950
15630549
AT
9512015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
952
953 PR breakpoints/16466
954 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
955 * gdb.mi/mi-pending.c (thread_func): New function.
956 (int main): Add threading support required.
957 * gdb.mi/mi-pending.exp: Add tests for this issue.
958 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
959 (pendfunc2): Remove stdio dependency.
960 * gdb.mi/mi-pendshr2.c: New file.
961
693dca06
KS
9622015-03-23 Keith Seitz <keiths@redhat.com>
963
964 * gdb.linespec/keywords.c: New file.
965 * gdb.linespec/keywords.exp: New file.
966
7e993ebf
KS
9672015-03-23 Keith Seitz <keiths@redhat.com>
968
969 PR gdb/18021
970 * gdb.dwarf2/staticvirtual.exp: New test.
971
bc23328c
JK
9722015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
973
974 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
975 * README: Remove HP-UX and gdb.hp.
976 (configuration):
977 * configure: Regenerate.
978 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
979 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
980 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
981 gdb.hp/gdb.defects/Makefile.
982 * gdb.hp/Makefile.in: File deleted.
983 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
984 * gdb.hp/gdb.aCC/optimize.c: File deleted.
985 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
986 * gdb.hp/gdb.aCC/run.c: File deleted.
987 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
988 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
989 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
990 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
991 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
992 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
993 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
994 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
995 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
996 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
997 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
998 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
999 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
1000 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
1001 * gdb.hp/gdb.base-hp/reg.s: File deleted.
1002 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
1003 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
1004 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
1005 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
1006 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
1007 * gdb.hp/gdb.compat/Makefile.in: File deleted.
1008 * gdb.hp/gdb.compat/average.c: File deleted.
1009 * gdb.hp/gdb.compat/sum.c: File deleted.
1010 * gdb.hp/gdb.compat/xdb.c: File deleted.
1011 * gdb.hp/gdb.compat/xdb0.c: File deleted.
1012 * gdb.hp/gdb.compat/xdb0.h: File deleted.
1013 * gdb.hp/gdb.compat/xdb1.c: File deleted.
1014 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
1015 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
1016 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
1017 * gdb.hp/gdb.defects/Makefile.in: File deleted.
1018 * gdb.hp/gdb.defects/bs14602.c: File deleted.
1019 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
1020 * gdb.hp/gdb.defects/solib-d.c: File deleted.
1021 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
1022 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
1023 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
1024 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
1025 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
1026 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
1027 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
1028 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
1029 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
1030 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
1031 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
1032 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
1033 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
1034 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
1035 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
1036 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
1037 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
1038 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
1039 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
1040 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
1041 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
1042 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
1043 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
1044 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
1045 * gdb.hp/tools/odump: File deleted.
1046
8bf3b159
PA
10472015-03-19 Pedro Alves <palves@redhat.com>
1048
1049 * gdb.threads/continue-pending-status.exp (saw_thread_2)
1050 (saw_thread_3): New globals.
1051 (top level): Increment them when an event for the corresponding
1052 thread is seen.
1053 (no thread starvation): New test.
1054
eb54c8bf
PA
10552015-03-19 Pedro Alves <palves@redhat.com>
1056
1057 * gdb.threads/continue-pending-status.c: New file.
1058 * gdb.threads/continue-pending-status.exp: New file.
1059
32d2e5d6
PA
10602015-03-18 Pedro Alves <palves@redhat.com>
1061
1062 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1063 Use gdb_is_target_remote instead of is_remote. Use
1064 gdb_test_multiple instead of gdb_expect. Exit early if
1065 gdb_test_multiple hits its internal matches. Tighten stepi tests
1066 expected output. Fail on exit with any signal, instead of just
1067 SIGILL.
1068
f68f11b7
YQ
10692015-03-18 Yao Qi <yao.qi@linaro.org>
1070
1071 PR tdep/18107
1072 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
1073 variable.
1074 * gdb.base/catch-syscall.exp: Don't skip it on
1075 aarch64*-*-linux* target. Remove elements in all_syscalls.
1076 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
1077 target.
1078 (setup_all_syscalls): New proc.
1079
ca5fd19b
YQ
10802015-03-16 Yao Qi <yao.qi@linaro.org>
1081
1082 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
1083 (top level): Skip tests if valid_addr_p returns false for
1084 $cmd1 or $cmd2.
1085
85642ba0
AW
10862015-03-11 Andy Wingo <wingo@igalia.com>
1087
1088 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
1089
e03f9645
YQ
10902015-03-11 Yao Qi <yao.qi@linaro.org>
1091
1092 * gdb.base/catch-syscall.exp: Fix typo in comments.
1093
5d0962b2
YQ
10942015-03-11 Yao Qi <yao.qi@linaro.org>
1095
1096 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
1097
b2df3cef
PA
10982015-03-09 Pedro Alves <palves@redhat.com>
1099
1100 * dg-extract-results.py: Delete.
1101
ef878e53
PA
11022015-03-09 Pedro Alves <palves@redhat.com>
1103
1104 Merge dg-extract-results.sh from GCC upstream (r218843).
1105
1106 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
1107 * dg-extract-results.sh: Use --text with grep to avoid issues with
1108 binary files. Fall back to cat -v, if that doesn't work.
1109
9494d219
PA
11102015-03-05 Pedro Alves <palves@redhat.com>
1111
1112 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
1113
a8d9763a
SM
11142015-03-04 Simon Marchi <simon.marchi@ericsson.com>
1115
1116 * lib/mi-support.exp (mi_expect_interrupt): Accept
1117 alternative event for when in all-stop mode.
1118
be9957b8
PA
11192015-03-04 Pedro Alves <palves@redhat.com>
1120
1121 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
1122
d57be0f4 11232015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
1124
1125 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
1126
c214c7cf
AA
11272015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
1128
1129 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
1130 regexps for GDB's current line display, accept a hex address
1131 preceding the line number.
1132
6d74a497
AA
11332015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
1134
1135 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
1136 the 'arch1' variable for "s390*-linux*" targets.
1137
511aee7c
PA
11382015-03-04 Pedro Alves <palves@redhat.com>
1139
1140 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
1141 (main): Pass missing retval argument to pthread_join call.
1142
95e50b27
PA
11432015-03-02 Pedro Alves <palves@redhat.com>
1144
1145 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
1146 (top level): Call do_test with non-stop as well.
1147
28054d69
PA
11482015-03-02 Pedro Alves <palves@redhat.com>
1149
1150 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
1151 -1.
1152
4fa5d7b4
AA
11532015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1154
1155 * gdb.arch/s390-vregs.exp: New test.
1156 * gdb.arch/s390-vregs.S: New file.
1157
97c18565
PA
11582015-02-27 Pedro Alves <palves@redhat.com>
1159
1160 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
1161 call to catch_command_errors.
1162 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
1163 catch_command_errors.
1164
a37bfa30
PA
11652015-02-27 Pedro Alves <palves@redhat.com>
1166
1167 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
1168 "true" for boolean result.
1169 * gdb.gdb/selftest.exp (test_with_self): Also accept full
1170 prototype of main.
1171
6f98576f
PA
11722015-02-27 Pedro Alves <palves@redhat.com>
1173
1174 * lib/unbuffer_output.c: New file.
1175 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
1176 (main): Call gdb_unbuffer_output.
1177
eba5ab56
YQ
11782015-02-27 Yao Qi <yao.qi@linaro.org>
1179
1180 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
1181 target.
1182
0def5aaa
DE
11832015-02-26 Doug Evans <dje@google.com>
1184
1185 * gdb.cp/class2.cc (Dbase, D): New classes.
1186 (main): New local delta.
1187 * gdb.cp/class2.exp: Test printing delta.
1188 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
1189 (dynbar): New global.
1190 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
1191
081a1c2c
JK
11922015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1193
1194 * gdb.compile/compile-ifunc.c: New file.
1195 * gdb.compile/compile-ifunc.exp: New file.
1196
2f41223f
AT
11972015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
1198
1199 * gdb.base/structs.exp: Check for correct struct on finish.
1200
03eddd80
YQ
12012015-02-26 Yao Qi <yao.qi@linaro.org>
1202
1203 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
1204 is zero.
1205
80c57053
JK
12062015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1207
1208 * gdb.arch/cordic.ko.bz2: New file.
1209 * gdb.arch/cordic.ko.debug.bz2: New file.
1210 * gdb.arch/ppc64-symtab-cordic.exp: New file.
1211
21613c12
YQ
12122015-02-25 Yao Qi <yao.qi@linaro.org>
1213
1214 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
1215 aarch64*-*-* target.
1216
d8b901ed
PA
12172015-02-23 Pedro Alves <palves@redhat.com>
1218
1219 * lib/gdb.exp (delete_breakpoints): Rewrite using
1220 gdb_test_multiple.
1221
e5b85ead
PA
12222015-02-23 Pedro Alves <palves@redhat.com>
1223
1224 * gdb.base/info-os.c: Include stdlib.h.
1225
85c3a371
DE
12262015-02-22 Doug Evans <xdje42@gmail.com>
1227
1228 PR symtab/17855
1229 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
1230 is read after symbols have been re-read.
1231 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
1232 * gdb.ada/exec_changed/second.adb (Second): Ditto.
1233
96553a0c
DE
12342015-02-21 Doug Evans <dje@google.com>
1235
1236 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
1237
97a0c697
JK
12382015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1239
1240 PR corefiles/17808
1241 * gdb.arch/i386-biarch-core.core.bz2: New file.
1242 * gdb.arch/i386-biarch-core.exp: New file.
1243
a47cd6e9
PA
12442015-02-21 Pedro Alves <palves@redhat.com>
1245
1246 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
1247 runto_main fails.
1248
c5facdc4
PA
12492015-02-20 Pedro Alves <palves@redhat.com>
1250
1251 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
1252 info probes.
1253
2db9a427
PA
12542015-02-20 Pedro Alves <palves@redhat.com>
1255
1256 * gdb.threads/multi-create-ns-info-thr.exp: New file.
1257
60fb7e9e
PA
12582015-02-20 Pedro Alves <palves@redhat.com>
1259
1260 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
1261 clean_restart before gdb_target_supports_trace.
1262
5c5019c2
PA
12632015-02-20 Pedro Alves <palves@redhat.com>
1264
1265 PR threads/18006
1266 * gdb.threads/clone-thread_db.c: New file.
1267 * gdb.threads/clone-thread_db.exp: New file.
1268
c9587f88
AT
12692015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
1270
1271 PR breakpoints/16812
1272 * gdb.base/catch-gdb-caused-signals.c: New file.
1273 * gdb.base/catch-gdb-caused-signals.exp: New file.
1274
f6a88844
JM
12752015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
1276
1277 * configure: Regenerated.
1278 * configure.ac: Use GDB_AC_TRANSFORM.
1279 * aclocal.m4: sinclude ../transform.m4.
1280
497c491b
JM
12812015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1282
1283 * lib/dtrace.exp: New file.
1284 * gdb.base/dtrace-probe.exp: Likewise.
1285 * gdb.base/dtrace-probe.d: Likewise.
1286 * gdb.base/dtrace-probe.c: Likewise.
1287 * lib/pdtrace.in: Likewise.
1288 * configure.ac: Output variables with the transformed names of
1289 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
1290 * configure: Regenerated.
1291
03e98035
JM
12922015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1293
1294 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
1295 expected message when trying to access $_probe_* convenience
1296 variables while not on a probe.
1297
63cc30e9
JK
12982015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1299
1300 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
1301
0703599a
PA
13022015-02-11 Pedro Alves <pedro@codesourcery.com>
1303
1304 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
1305 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
1306
7e60a48e
DE
13072015-02-10 Doug Evans <xdje42@gmail.com>
1308
1309 * lib/gdb.exp (gdb_load): Always return a result.
1310
01b088bc
PA
13112015-02-10 Pedro Alves <palves@redhat.com>
1312
1313 * gdb.threads/signal-sigtrap.c: New file.
1314 * gdb.threads/signal-sigtrap.exp: New file.
1315
b05ec7a5
AT
13162015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
1317
1318 * gdb.trace/no-attach-trace.c: New file.
1319 * gdb.trace/no-attach-trace.exp: New file.
1320
a2c2acaf
MW
13212015-02-09 Mark Wielaard <mjw@redhat.com>
1322
1323 * gdb.dwarf2/atomic.c: New file.
1324 * gdb.dwarf2/atomic-type.exp: Likewise.
1325
31fd9caa
MM
13262015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1327
1328 * gdb.btrace/buffer-size.exp: Update "info record" output.
1329 * gdb.btrace/delta.exp: Update "info record" output.
1330 * gdb.btrace/enable.exp: Update "info record" output.
1331 * gdb.btrace/finish.exp: Update "info record" output.
1332 * gdb.btrace/instruction_history.exp: Update "info record" output.
1333 * gdb.btrace/next.exp: Update "info record" output.
1334 * gdb.btrace/nexti.exp: Update "info record" output.
1335 * gdb.btrace/step.exp: Update "info record" output.
1336 * gdb.btrace/stepi.exp: Update "info record" output.
1337 * gdb.btrace/nohist.exp: Update "info record" output.
1338
d33501a5
MM
13392015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1340
1341 * gdb.btrace/buffer-size: New.
1342
f4abbc16
MM
13432015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1344
1345 * gdb.btrace/delta.exp: Update "info record" output.
1346 * gdb.btrace/enable.exp: Update "info record" output.
1347 * gdb.btrace/finish.exp: Update "info record" output.
1348 * gdb.btrace/instruction_history.exp: Update "info record" output.
1349 * gdb.btrace/next.exp: Update "info record" output.
1350 * gdb.btrace/nexti.exp: Update "info record" output.
1351 * gdb.btrace/step.exp: Update "info record" output.
1352 * gdb.btrace/stepi.exp: Update "info record" output.
1353 * gdb.btrace/nohist.exp: Update "info record" output.
1354
b9d61307
SM
13552015-02-06 Simon Marchi <simon.marchi@ericsson.com>
1356
1357 PR gdb/15678
1358 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
1359
e584fdbc
PA
13602015-02-06 Pedro Alves <palves@redhat.com>
1361
1362 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
1363 macro.
1364 (seconds_left, again): New globals.
1365 (main): Wait seconds_left in a 1-second sleep loop instead of
1366 sleeping 180 seconds. If 'again' is set, reset the seconds
1367 counter.
1368 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
1369 'again' in the inferior before detaching. Print the seconds left.
1370 (options): New global.
1371 (top level): Build program with -DTIMEOUT=$timeout.
1372
77f41761
PA
13732015-02-06 Pedro Alves <palves@redhat.com>
1374
1375 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
1376 determine how many seconds to pass to 'alarm'.
1377 * gdb.base/gdb-sigterm.exp (top level): Build program with
1378 -DTIMEOUT=$timeout.
1379 (do_test): Return success/failure indication. Add more verbose
1380 logging. Don't fail if 200 single steps are seen. Instead, fail
1381 when the test times out.
1382 (passes): New global.
1383 (top level): Break the testing loop if testing fails on any
1384 iteration. Use gdb_assert.
1385
b9394193
DB
13862015-02-04 Don Breazeal <donb@codesourcery.com>
1387
1388 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
1389 and initialize them.
1390 (ipc_cleanup): New function.
1391 (main): Don't declare shmid, semid, and msqid. Add a call to
1392 atexit so that we call ipc_cleanup on exit.
1393
42d9e528
PA
13942015-02-04 Pedro Alves <palves@redhat.com>
1395
1396 * boards/native-extended-gdbserver.exp: Remove any target variant
1397 specifications from the board name before clearing the isremote
1398 flag from board_info.
1399
ae6ae975
DE
14002015-01-31 Doug Evans <xdje42@gmail.com>
1401
1402 * gdb.base/maint.exp <maint print type argc>: Update expected output.
1403
cfb069a8
GB
14042015-01-31 Gary Benson <gbenson@redhat.com>
1405
1406 * gdb.base/completion.exp: Disable completion limiting for
1407 existing tests. Add new tests to check completion limiting.
1408 * gdb.linespec/ls-errs.exp: Disable completion limiting.
1409
5dd31d79
DE
14102015-01-31 Doug Evans <xdje42@gmail.com>
1411
1412 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
1413
9f050062
DE
14142015-01-31 Doug Evans <xdje42@gmail.com>
1415
1416 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
1417 entries. Duplicate file section script entries.
1418 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
1419 inlined entries. Add test for safe-path rejection.
1420 * gdb.python/py-section-script.c: Add duplicate inlined section script
1421 entries. Duplicate file section script entries.
1422 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
1423 inlined entries. Add test for safe-path rejection.
1424
df25ebbd
JB
14252015-01-29 Joel Brobecker <brobecker@adacore.com>
1426
1427 * gdb.ada/disc_arr_bound: New testcase.
1428
4a0ca9ec
JB
14292015-01-29 Joel Brobecker <brobecker@adacore.com>
1430
1431 * gdb.ada/mi_var_array: New testcase.
1432
3a8b707a
DE
14332015-01-27 Doug Evans <dje@google.com>
1434
1435 * gdb.python/py-objfile.exp: Add tests for objfile.username.
1436 Add test for objfile.filename, objfile.username after objfile
1437 has been unloaded.
1438
f8313f6e
JB
14392015-01-26 Joel Brobecker <brobecker@adacore.com>
1440
1441 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
1442 the second test to print the name attribute of value
1443 returned by the call to gdb.lookup_type, and adjust
1444 the expected output accordingly.
1445
37bc665e
MW
14462015-01-25 Mark Wielaard <mjw@redhat.com>
1447
1448 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
1449 * gdb.base/disp-step-fork.c: Include unistd.h.
1450 * gdb.base/siginfo-obj.c: Include stdio.h.
1451 * gdb.base/siginfo-thread.c: Likewise.
1452 * gdb.mi/non-stop.c: Include unistd.h.
1453 * gdb.mi/nsthrexec.c: Include stdio.h.
1454 * gdb.mi/pthreads.c: Include unistd.h.
1455 * gdb.modula2/unbounded1.c (main): Declare returns int.
1456 * gdb.reverse/consecutive-reverse.c: Likewise.
1457 * gdb.threads/create-fail.c: Include unistd.h.
1458 * gdb.threads/killed.c: Likewise.
1459 * gdb.threads/linux-dp.c: Likewise.
1460 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
1461 * gdb.threads/non-ldr-exc-2.c: Likewise.
1462 * gdb.threads/non-ldr-exc-3.c: Likewise.
1463 * gdb.threads/non-ldr-exc-4.c: Likewise.
1464 * gdb.threads/pthreads.c: Include unistd.h.
1465 (main): Declare returns int.
1466 * gdb.threads/tls-main.c (foo): New declaration.
1467 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
1468
f7e5394d
SM
14692015-01-23 Simon Marchi <simon.marchi@ericsson.com>
1470
1471 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
1472 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
1473
743649fd
MW
14742015-01-15 Mark Wielaard <mjw@redhat.com>
1475
1476 * gdb.base/noreturn-return.c: New file.
1477 * gdb.base/noreturn-return.exp: New file.
1478 * gdb.base/noreturn-finish.c: New file.
1479 * gdb.base/noreturn-finish.exp: New file.
1480
198297aa
PA
14812015-01-23 Pedro Alves <palves@redhat.com>
1482
1483 * gdb.threads/continue-pending-after-query.c: New file.
1484 * gdb.threads/continue-pending-after-query.exp: New file.
1485
717cf30c
AG
14862015-01-22 Anders Granlund <anders.granlund@ericsson.com>
1487 Simon Marchi <simon.marchi@ericsson.com>
1488
1489 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
1490 * gdb.base/valgrind-db-attach.exp: Same.
1491 * gdb.base/valgrind-infcall.exp: Same.
1492 * lib/mi-support.exp (default_mi_gdb_start): Same.
1493 * lib/prompt.exp (default_prompt_gdb_start): Same.
1494 * lib/gdb.exp (default_gdb_spawn): Same.
1495 (gdb_interact): New.
1496
1497
4b62a76e
JK
14982015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1499
1500 * gdb.compile/compile.exp (pointer to jit function): New test.
1501
b4cdae6f
WW
15022015-01-17 Wei-cheng Wang <cole945@gmail.com>
1503
1504 * lib/gdb.exp (supports_process_record): Return true for
1505 powerpc*-*-linux*.
1506 (supports_reverse): Likewise.
1507
d221e7ef
DB
15082015-01-15 Don Breazeal <donb@codesourcery.com>
1509
1510 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
1511 instead of checking whether the target board is remote and
1512 use spawn_wait_for_attach instead of exec/sleep.
1513 * gdb.base/attach-twice.exp: Likewise.
1514
bafffb51
JB
15152015-01-15 Joel Brobecker <brobecker@adacore.com>
1516
1517 * gdb.ada/var_arr_attrs: New testcase.
1518
5589af0e
PA
15192015-01-14 Pedro Alves <palves@redhat.com>
1520 Joel Brobecker <brobecker@adacore.com>
1521
1522 PR gdb/17525
1523 * gdb.base/bp-cmds-execution-x-script.c: New file.
1524 * gdb.base/bp-cmds-execution-x-script.exp: New file.
1525 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
1526
6c400b59
PA
15272015-01-14 Pedro Alves <palves@redhat.com>
1528
1529 PR cli/17828
1530 * gdb.base/batch-preserve-term-settings.c: New file.
1531 * gdb.base/batch-preserve-term-settings.exp: New file.
1532
e02c96a7
DE
15332015-01-13 Doug Evans <dje@google.com>
1534
1535 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
1536 binary.
1537
576fd14c
JB
15382015-01-13 Joel Brobecker <brobecker@adacore.com>
1539
1540 * Makefile.in (clean mostlyclean): Do not delete *.py.
1541
04dccad0
JB
15422015-01-13 Joel Brobecker <brobecker@adacore.com>
1543
1544 * gdb.python/py-lookup-type.exp: New file.
1545
3d230f71
PA
15462015-01-12 Pedro Alves <palves@redhat.com>
1547
1548 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
1549 restore GDBFLAGS before returning.
1550
7e67715d
JK
15512015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1552
1553 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
1554 is_amd64_regs_target and is_x86_like_target.
1555
f2e0d4b4
DE
15562015-01-11 Doug Evans <xdje42@gmail.com>
1557
1558 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
1559 is given without an explicit form.
1560 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
1561 attributes.
1562 * gdb.dwarf/corrupt.exp: Ditto.
1563 * gdb.dwarf2/enum-type.exp: Ditto.
1564 * gdb.trace/entry-values.exp: Ditto.
1565 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
1566
439250fb
DE
15672015-01-11 Doug Evans <xdje42@gmail.com>
1568
1569 PR gdb/15830
1570 * gdb.base/maint.exp: Remove references to "maint demangle".
1571 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
1572 Add tests for explicitly specifying language to demangle.
1573 * gdb.dlang/demangle.exp: Ditto.
1574
ede9f622
PA
15752015-01-09 Pedro Alves <palves@redhat.com>
1576
1577 * gdb.threads/non-stop-fair-events.c: New file.
1578 * gdb.threads/non-stop-fair-events.exp: New file.
1579
a7b796db
PA
15802015-01-09 Pedro Alves <palves@redhat.com>
1581
1582 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
1583 the global scope. Set a breakpoint after all threads are started
1584 rather than stepping over two source lines. Expect the prompt.
1585 * gdb.base/watch_thread_num.c (threads_started_barrier): New
1586 global.
1587 (NUM): Now 15.
1588 (main): Use threads_started_barrier to wait for all threads to
1589 start. Main thread no longer calls thread_function. Exit after
1590 180 seconds.
1591 (loop): New function.
1592 (thread_function): Wait on threads_started_barrier barrier. Call
1593 'loop' at each iteration.
1594 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
1595 threads have started, instead of hardcoding number of "next"
1596 steps. Use an access watchpoint instead of a write watchpoint.
1597
9665ffdd
PA
15982015-01-09 Pedro Alves <palves@redhat.com>
1599
1600 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
1601 (thread_func): Wait on barrier.
1602 (main): Wait for all threads to start before stopping GDB.
1603 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
1604 global.
1605 (thread1_func, thread2_func): Wait on barrier.
1606 (main): Wait for all threads to start before stopping GDB.
1607 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
1608 New global.
1609 (thread1_func, thread2_func): Wait on barrier.
1610 (main): Wait for all threads to start before stopping GDB.
1611
c945a99f
PA
16122015-01-09 Pedro Alves <palves@redhat.com>
1613
1614 * gdb.threads/attach-many-short-lived-threads.c: New file.
1615 * gdb.threads/attach-many-short-lived-threads.exp: New file.
1616
c1a747c1
PA
16172014-01-09 Pedro Alves <palves@redhat.com>
1618
1619 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
1620 instead of to thread 2.
1621 * gdb.threads/signal-command-multiple-signals-pending.c (main):
1622 Add barrier around each pthread_create call instead of around all
1623 calls.
1624 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
1625 Set a break on thread_function and have the child threads hit it
1626 one at at a time.
1627
60b3033e
PA
16282015-01-09 Pedro Alves <palves@redhat.com>
1629
1630 * lib/gdb.exp (can_spawn_for_attach): New procedure.
1631 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
1632 false.
1633 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
1634 checking whether the target board is remote.
1635 * gdb.multi/multi-attach.exp: Likewise.
1636 * gdb.python/py-sync-interp.exp: Likewise.
1637 * gdb.server/ext-attach.exp: Likewise.
1638 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
1639 tests that need to attach, instead of checking whether the target
1640 board is remote at the top of the file.
1641
acc018ac
YQ
16422015-01-08 Yao Qi <yao@codesourcery.com>
1643
1644 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
1645
50a18af8
JK
16462015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1647
1648 Fix testcase compilation.
1649 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
1650
8503d6e1
JB
16512015-01-06 Joel Brobecker <brobecker@adacore.com>
1652
1653 * gdb.python/py-type.exp: Add a couple test about empty
1654 array creation, and negative-length array creation.
1655
cc73dbcc
DE
16562015-01-02 Doug Evans <xdje42@gmail.com>
1657
1658 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
1659
0300bbc7
DE
16602015-01-02 Doug Evans <dje@google.com>
1661
1662 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
1663
9d85a0ec
YQ
16642014-12-29 Yao Qi <yao@codesourcery.com>
1665
1666 * gdb.trace/entry-values.exp: Update comments. Rename variable
1667 bar_call_foo to returned_from_foo.
1668
87186c6a
MMN
16692014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
1670
1671 PR gdb/17394
1672 * gdb.linespec/break-asm-file.c: New file.
1673 * gdb.linespec/break-asm-file.exp: New file.
1674 * gdb.linespec/break-asm-file0.s: New file.
1675 * gdb.linespec/break-asm-file1.s: New file.
1676
1bab7383
YQ
16772014-12-18 Nigel Stephens <nigel@mips.com>
1678 Maciej W. Rozycki <macro@codesourcery.com>
1679
1680 * gdb.base/float.exp: Handle the new output from "info float" on
1681 MIPS targets.
1682
1bc1068a
JK
16832014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1684
1685 Fix MinGW compilation.
1686 * gdb.compile/compile-ops.exp: Update untested message if
1687 !skip_compile_feature_tests.
1688 * gdb.compile/compile-setjmp.exp: Likewise.
1689 * gdb.compile/compile-tls.exp: Likewise.
1690 * gdb.compile/compile.exp: Likewise.
1691 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
1692 supported on this host".
1693
b6615d10
DE
16942014-12-16 Doug Evans <xdje42@gmail.com>
1695
1696 * boards/stabs.exp: New file.
1697
25dda427
AA
16982014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
1699
1700 * gdb.base/completion.exp: Adjust to format changes of "maint
1701 print user-registers".
1702
bf330350
CU
17032014-12-16 Catalin Udma <catalin.udma@freescale.com>
1704
1705 PR server/17457
1706 * gdb.arch/aarch64-fp.c: New file.
1707 * gdb.arch/aarch64-fp.exp: New file.
1708
395cf596
SDJ
17092014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
1710
1711 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
1712 r210637, r210913, r211666, r215400, r215817).
1713
1714 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
1715 * dg-extract-results.py: New file.
1716 * dg-extract-results.sh: Use it if the environment seems
1717 suitable.
1718
1719 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
1720
1721 * dg-extract-results.py (parse_run): Handle warnings that
1722 are printed before a test harness is run.
1723
1724 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
1725
1726 * dg-extract-results.py (Named): Remove __cmp__ method.
1727 (output_variation): Use a key to sort variation.harnesses.
1728
1729 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
1730
1731 * dg-extract-results.py: For Python 3, force sys.stdout to
1732 handle surrogate escape sequences.
1733 (safe_open): New function.
1734 (output_segment, main): Use it.
1735
1736 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
1737
1738 * dg-extract-results.py (Prog.result_re): Include options
1739 in test name.
1740
1741 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
1742
1743 * dg-extract-results.py (output_variation): Always sort if
1744 do_sum.
1745
e882ef3c
SM
17462014-12-15 Simon Marchi <simon.marchi@ericsson.com>
1747
1748 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
1749 as long as we get pagination notifications.
1750
4992aa20
JM
17512014-12-15 Jason Merrill <jason@redhat.com>
1752
1753 * Makefile.in (check-gdb.%): Restore.
1754 * README: Mention it.
1755
c1b5a1a6
JB
17562014-12-13 Joel Brobecker <brobecker@adacore.com>
1757
1758 * gdb.ada/str_uninit: New testcase.
1759
5537b577
JK
17602014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1761
1762 PR symtab/17642
1763 * gdb.base/vla-stub-define.c: New file.
1764 * gdb.base/vla-stub.c: New file.
1765 * gdb.base/vla-stub.exp: New file.
1766
bb2ec1b3
TT
17672014-12-12 Phil Muldoon <pmuldoon@redhat.com>
1768 Jan Kratochvil <jan.kratochvil@redhat.com>
1769 Tom Tromey <tromey@redhat.com>
1770
1771 * configure.ac: Add gdb.compile/.
1772 * configure: Regenerate.
1773 * gdb.compile/Makefile.in: New file.
1774 * gdb.compile/compile-ops.exp: New file.
1775 * gdb.compile/compile-ops.c: New file.
1776 * gdb.compile/compile-tls.c: New file.
1777 * gdb.compile/compile-tls.exp: New file.
1778 * gdb.compile/compile-constvar.S: New file.
1779 * gdb.compile/compile-constvar.c: New file.
1780 * gdb.compile/compile-mod.c: New file.
1781 * gdb.compile/compile-nodebug.c: New file.
1782 * gdb.compile/compile-setjmp-mod.c: New file.
1783 * gdb.compile/compile-setjmp.c: New file.
1784 * gdb.compile/compile-setjmp.exp: New file.
1785 * gdb.compile/compile-shlib.c: New file.
1786 * gdb.compile/compile.c: New file.
1787 * gdb.compile/compile.exp: New file.
1788 * lib/gdb.exp (skip_compile_feature_tests): New proc.
1789
4ff709eb
TT
17902014-12-12 Tom Tromey <tromey@redhat.com>
1791
1792 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
1793 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
1794
6dddd6a5
DE
17952014-12-12 Doug Evans <dje@google.com>
1796
1797 * lib/gdb-python.exp (get_python_valueof): New function.
1798 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
1799
71c24708
AA
18002014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1801
1802 * gdb.base/completion.exp: Add test for completion of "info
1803 registers ".
1804
3e29f34a
MR
18052014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
1806
1807 * gdb.base/func-ptrs.c: New file.
1808 * gdb.base/func-ptrs.exp: New file.
1809
fc126975
SM
18102014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1811
1812 PR breakpoints/17012
1813 * gdb.base/dprintf-detach.c: New file.
1814 * gdb.base/dprintf-detach.exp: New file.
1815
0a46d518
SM
18162014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1817
1818 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
1819 * lib/gdb.exp (target_is_gdbserver): New procedure.
1820
a0be3e44
DE
18212014-12-08 Doug Evans <dje@google.com>
1822
1823 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
1824
df1b803a
YQ
18252014-12-05 Yao Qi <yao@codesourcery.com>
1826
1827 * gdb.guile/scm-error.exp: Remove the third argument to
1828 gdb_remote_download.
1829 * gdb.guile/scm-frame-args.exp: Likewise.
1830 * gdb.guile/scm-section-script.exp: Likewise.
1831
ddb9f679
YQ
18322014-12-05 Yao Qi <yao@codesourcery.com>
1833
1834 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
1835
86e4ed39
DE
18362014-12-04 Doug Evans <dje@google.com>
1837
1838 * gdb.python/py-objfile.exp: Add tests for
1839 objfile.add_separate_debug_file.
1840
7c50a931
DE
18412014-12-04 Doug Evans <dje@google.com>
1842
1843 * lib/gdb.exp (get_build_id): New function.
1844 (build_id_debug_filename_get): Rewrite to use it.
1845 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
1846
621661e3
MR
18472014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
1848
1849 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
1850 `method(long)', not just 0x0.
1851 * gdb.cp/nsalias.exp: Align code labels to 4.
1852 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
1853 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
1854 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
1855 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
1856 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
1857 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
1858
29f0c3b7
DE
18592014-12-02 Doug Evans <dje@google.com>
1860
e1e061e7 1861 PR symtab/17602
29f0c3b7 1862 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 1863 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
1864 * gdb.cp/anon-ns.exp: Update.
1865
162078c8
NB
18662014-12-02 Nick Bull <nicholaspbull@gmail.com>
1867
1868 * gdb.python/py-events.py (inferior_call_handler): New.
1869 (register_changed_handler, memory_changed_handler): New.
1870 (test_events.invoke): Register new handlers.
1871 * gdb.python/py-events.exp: Add tests for inferior call,
1872 memory_changed and register_changed events.
1873
fdb09caf
AA
18742014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1875
1876 * gdb.base/execl-update-breakpoints.exp: Specify the link address
1877 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
1878 if the linker doesn't understand this.
1879
55cfb2c4
SM
18802014-12-01 Simon Marchi <simon.marchi@ericsson.com>
1881
1882 * gdb.python/python.exp: Change expected reply to help().
1883
9e8cd6df
YQ
18842014-12-01 Yao Qi <yao@codesourcery.com>
1885
1886 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
1887 AC_CONFIG_SUBDIRS(gdb.gdbtk).
1888 * configure: Re-generated.
1889
6c659fc2
SC
18902014-11-28 Siva Chandra Reddy <sivachandra@google.com>
1891
1892 * gdb.cp/chained-calls.cc: New file.
1893 * gdb.cp/chained-calls.exp: New file.
1894 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
1895
d7fc3181
SM
18962014-11-28 Simon Marchi <simon.marchi@ericsson.com>
1897
1898 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
1899 * gdb.dwarf2/symtab-producer.exp: Same.
1900 * gdb.gdb/python-interrupts.exp: Same.
1901 * gdb.gdb/python-selftest.exp: Same.
1902 * gdb.python/py-linetable.exp: Same.
1903 * gdb.python/py-type.exp: Same.
1904 * gdb.python/py-value-cc.exp: Same.
1905 * gdb.python/py-value.exp: Same.
1906
10e79639
YQ
19072014-11-28 Yao Qi <yao@codesourcery.com>
1908
1909 * gdb.base/break-probes.exp: Match library name prefixed with
1910 sysroot.
1911
f28a0564
SM
19122014-11-27 Simon Marchi <simon.marchi@ericsson.com>
1913
1914 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
1915 test expected output. Add parentheses for the call to print.
1916 Remove L suffix from integers.
1917
3fe1ce1d
DE
19182014-11-26 Doug Evans <dje@google.com>
1919
1920 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
1921
84429e27
YQ
19222014-11-22 Yao Qi <yao@codesourcery.com>
1923
1924 * gdb.trace/entry-values.c: Remove asms.
1925 (foo): Add foo_label.
1926 (bar): Add bar_label.
1927 * gdb.trace/entry-values.exp: Remove code computing foo's
1928 length and bar's length.
1929 (Dwarf::assemble): Invoke function_range for bar and use
1930 MACRO_AT_func for foo.
1931
26741859
YQ
19322014-11-22 Yao Qi <yao@codesourcery.com>
1933
1934 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
1935 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
1936 Use .Lgcc43_procstart instead of gcc43.
1937
45e44d27
JB
19382014-11-21 Joel Brobecker <brobecker@adacore.com>
1939
1940 * gdb.ada/n_arr_bound: New testcase.
1941
458c8db8
SDJ
19422014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1943
1944 PR breakpoints/10737
1945 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
1946 test_catch_syscall_multi_arch.
1947 (test_catch_syscall_multi_arch): New function.
1948
43f3e411
DE
19492014-11-20 Doug Evans <xdje42@gmail.com>
1950
1951 * gdb.base/maint.exp: Update expected output.
1952
0d7b2549
AA
19532014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1954
1955 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
1956 4-byte instruction on S390.
1957
8908fca5
JB
19582014-11-19 Joel Brobecker <brobecker@adacore.com>
1959
1960 * gdb.ada/arr_arr: New testcase.
1961
4a46959e
JB
19622014-11-19 Joel Brobecker <brobecker@adacore.com>
1963
1964 * gdb.ada/pkd_arr_elem: New Testcase.
1965
470e2f4e
LM
19662014-11-18 Luis Machado <lgustavo@codesourcery.com>
1967
1968 * gdb.reverse/break-precsave: Expect completion message for
1969 core file reads.
1970 * gdb.reverse/consecutive-precsave.exp: Likewise.
1971 * gdb.reverse/finish-precsave.exp: Likewise.
1972 * gdb.reverse/i386-precsave.exp: Likewise.
1973 * gdb.reverse/machinestate-precsave.exp: Likewise.
1974 * gdb.reverse/sigall-precsave.exp: Likewise.
1975 * gdb.reverse/solib-precsave.exp: Likewise.
1976 * gdb.reverse/step-precsave.exp: Likewise.
1977 * gdb.reverse/until-precsave.exp: Likewise.
1978 * gdb.reverse/watch-precsave.exp: Likewise.
1979
a267f3ad
AA
19802014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1981
1982 * gdb.base/bp-permanent.c: Include unistd.h.
1983 * gdb.python/py-framefilter-mi.c (main): Add return type.
1984 * gdb.python/py-framefilter.c (main): Likewise.
1985 * gdb.trace/actions-changed.c (main): Likewise.
1986
12084a9a
AA
19872014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1988
1989 * gdb.mi/until.c: Add eye-catchers.
1990 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
1991 line numbers.
1992
dc7e1a77
AA
19932014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1994
1995 * gdb.base/condbreak.exp: Drop references to removed non-prototype
1996 function header variants in break1.c.
1997 * gdb.base/ena-dis-br.exp: Likewise.
1998 * gdb.base/hbreak2.exp: Likewise.
1999 * gdb.reverse/until-precsave.exp: Drop references to removed
2000 non-prototype function header variants in ur1.c.
2001 * gdb.reverse/until-reverse.exp: Likewise.
2002
41c77605
PM
20032014-11-17 Petr Machata <pmachata@redhat.com>
2004
2005 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
2006 ${_cu_offset_size} bytes abbrev offset.
2007
34248c3a
DE
20082014-11-15 Doug Evans <xdje42@gmail.com>
2009
2010 PR symtab/17559
2011 * gdb.base/line-symtabs.exp: New file.
2012 * gdb.base/line-symtabs.c: New file.
2013 * gdb.base/line-symtabs.h: New file.
2014
646da059
YQ
20152014-11-14 Yao Qi <yao@codesourcery.com>
2016
2017 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
2018 (func): Add label func_label.
2019 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
2020 Replace low_pc and high_pc with MACRO_AT_range.
2021 Replace name, low_pc and high_pc with MACRO_AT_func.
2022
9301ebe6
YQ
20232014-11-14 Yao Qi <yao@codesourcery.com>
2024
2025 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
2026 Replace name, low_pc and high_pc with MACRO_AT_func.
2027
f166b542
YQ
20282014-11-14 Yao Qi <yao@codesourcery.com>
2029
2030 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
2031 produce debug information.
2032 * gdb.dwarf2/implptr-optimized-out.S: Removed.
2033
0f6e71e3
YQ
20342014-11-14 Yao Qi <yao@codesourcery.com>
2035
2036 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
2037 object and get function length.
2038 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
2039 with MACRO_AT_func.
2040 (top-level): Replace gdb_compile and clean_restart with
2041 prepare_for_testing.
2042 * gdb.dwarf2/main.c (main): Add label main_label.
2043
876c4df9
YQ
20442014-11-14 Yao Qi <yao@codesourcery.com>
2045
2046 * lib/dwarf.exp (function_range): New procedure.
2047 (Dwarf::_handle_macro_at_func): New procedure.
2048 (Dwarf::_handle_macro_at_range): New procedure.
2049 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
2050
02ad9cf1
YQ
20512014-11-14 Yao Qi <yao@codesourcery.com>
2052
2053 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
2054 (_handle_attribute): New procedure.
2055
a59add0c
AA
20562014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2057
2058 * gdb.ada/cond_lang/foo.c (callme): Add return type.
2059 * gdb.base/call-sc.c (zed): Likewise.
2060 * gdb.base/checkpoint.c (main): Likewise.
2061 * gdb.base/dump.c (main): Likewise.
2062 * gdb.base/gcore.c (main): Likewise.
2063 * gdb.base/huge.c (main): Likewise.
2064 * gdb.base/multi-forks.c (main): Likewise.
2065 * gdb.base/pr10179-a.c (main): Likewise.
2066 * gdb.base/savedregs.c (main): Likewise.
2067 * gdb.base/sigaltstack.c (main): Likewise.
2068 * gdb.base/siginfo.c (main): Likewise.
2069 * gdb.base/structs.c (zed): Likewise.
2070 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
2071 * gdb.mi/mi-syn-frame.c (main): Likewise.
2072 * gdb.mi/until.c (foo, main): Likewise.
2073 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
2074 * gdb.base/solib-weak.c (foo): Declare.
2075 * gdb.base/attach-twice.c: Include stdio.h.
2076 * gdb.base/weaklib1.c: Likewise.
2077 * gdb.base/weaklib2.c: Likewise.
2078 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
2079 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
2080 unistd.h.
2081 * gdb.base/attach-pie-misread.c: Include stdlib.h.
2082 * gdb.mi/mi-exit-code.c: Likewise.
2083 * gdb.base/break-interp-lib.c: Include string.h.
2084 * gdb.base/coremaker.c: Likewise.
2085 * gdb.base/testenv.c: Likewise.
2086 * gdb.python/py-finish-breakpoint.c: Likewise.
2087 * gdb.base/inferior-died.c: Include sys/wait.h.
2088 * gdb.base/fileio.c: Include time.h.
2089 * gdb.base/async-shell.c: Include unistd.h.
2090 * gdb.base/dprintf-non-stop.c: Likewise.
2091 * gdb.base/info-os.c: Likewise.
2092 * gdb.mi/mi-console.c: Likewise.
2093 * gdb.mi/watch-nonstop.c: Likewise.
2094 * gdb.python/py-events.c: Likewise.
2095 * gdb.base/async.c (baz): Move up before its invocation.
2096 * gdb.base/code_elim2.c (my_global_func): Likewise.
2097 * gdb.base/skip-solib-lib.c (multiply): Likewise.
2098 * gdb.base/advance.c (func2): Likewise.
2099
3b5d5997
AA
21002014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2101
2102 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
2103 variant.
2104 * gdb.base/annota3.c: Likewise.
2105 * gdb.base/async.c: Likewise.
2106 * gdb.base/average.c: Likewise.
2107 * gdb.base/call-ar-st.c: Likewise.
2108 * gdb.base/call-rt-st.c: Likewise.
2109 * gdb.base/call-sc.c: Likewise.
2110 * gdb.base/call-strs.c: Likewise.
2111 * gdb.base/ending-run.c: Likewise.
2112 * gdb.base/execd-prog.c: Likewise.
2113 * gdb.base/exprs.c: Likewise.
2114 * gdb.base/foll-exec.c: Likewise.
2115 * gdb.base/foll-fork.c: Likewise.
2116 * gdb.base/foll-vfork.c: Likewise.
2117 * gdb.base/funcargs.c: Likewise.
2118 * gdb.base/gcore.c: Likewise.
2119 * gdb.base/jump.c: Likewise.
2120 * gdb.base/langs0.c: Likewise.
2121 * gdb.base/langs1.c: Likewise.
2122 * gdb.base/langs2.c: Likewise.
2123 * gdb.base/mips_pro.c: Likewise.
2124 * gdb.base/nodebug.c: Likewise.
2125 * gdb.base/opaque0.c: Likewise.
2126 * gdb.base/opaque1.c: Likewise.
2127 * gdb.base/recurse.c: Likewise.
2128 * gdb.base/run.c: Likewise.
2129 * gdb.base/scope0.c: Likewise.
2130 * gdb.base/scope1.c: Likewise.
2131 * gdb.base/setshow.c: Likewise.
2132 * gdb.base/setvar.c: Likewise.
2133 * gdb.base/shmain.c: Likewise.
2134 * gdb.base/shr1.c: Likewise.
2135 * gdb.base/shr2.c: Likewise.
2136 * gdb.base/sigall.c: Likewise.
2137 * gdb.base/signals.c: Likewise.
2138 * gdb.base/so-indr-cl.c: Likewise.
2139 * gdb.base/solib2.c: Likewise.
2140 * gdb.base/structs.c: Likewise.
2141 * gdb.base/sum.c: Likewise.
2142 * gdb.base/vforked-prog.c: Likewise.
2143 * gdb.base/watchpoint.c: Likewise.
2144 * gdb.reverse/shr2.c: Likewise.
2145 * gdb.reverse/until-reverse.c: Likewise.
2146 * gdb.reverse/ur1.c: Likewise.
2147 * gdb.reverse/watch-reverse.c: Likewise.
2148
066a77c5
AA
21492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2150
2151 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
2152 variant.
2153 * gdb.base/sepdebug.exp: Drop references to removed code.
2154
4f204ea5
AA
21552014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2156
2157 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
2158 variant. Preserve original line numbering.
2159 * gdb.base/list1.c: Likewise.
2160
3b377a3a
AA
21612014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2162
2163 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
2164 variant.
2165 * gdb.base/break1.c: Likewise.
2166 * gdb.base/break.exp: Drop references to removed code.
2167
e444df73
AA
21682014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2169
2170 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
2171 variant.
2172
8008f2a7
AA
21732014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2174
2175 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
2176
a5a06887
AA
21772014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2178
2179 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
2180 logic into perform_all_tests() and invoke it with and without
2181 function header prototypes.
2182 (do_function_calls): Remove conditional XFAIL for PR 5318.
2183 (rerun_and_prepare): Remove duplicate code.
2184 (perform_all_tests): New. Main logic moved here.
2185
44dba9b9
AA
21862014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2187
2188 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
2189 code guarded by #ifdef NO_PROTOTYPES.
2190 (t_double_many_args): Likewise.
2191 (DEF_FUNC_MANY_ARGS_1): Likewise.
2192 (DEF_FUNC_VALUES_1): Likewise.
2193 (t_structs_ldc): Renamed from t_structs_fc in conditional code
2194 guarded by #ifdef PROTOTYPES.
2195
d1fbcd56
AA
21962014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2197
2198 * gdb.mi/mi-console.c: Add eye-catcher.
2199 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
2200 instead of literal line number.
2201
b0e59b8f
AA
22022014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2203
2204 * gdb.base/shr2.c: Add eye-catcher.
2205 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
2206 line number.
2207
78f98cca
AA
22082014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2209
2210 * gdb.base/jump.c: Add eye-catchers.
2211 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
2212 numbers.
2213
58fa2af0
AA
22142014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2215
2216 * gdb.base/execd-prog.c: Add eye-catchers.
2217 * gdb.base/foll-exec.c: Likewise.
2218 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
2219 line numbers.
2220
04e5059b
AA
22212014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2222
2223 * gdb.base/ending-run.c: Add eye-catchers.
2224 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
2225 literal line numbers.
2226
dbfdb174
AA
22272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2228
2229 * gdb.base/call-rt-st.c: Add eye-catchers.
2230 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
2231 literal line numbers.
2232
888a2ade
AA
22332014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2234
2235 * gdb.base/call-ar-st.c: Add eye-catchers.
2236 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
2237 literal line numbers.
2238
6acc2dde
AA
22392014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2240
2241 * gdb.base/average.c: Add eye-catchers.
2242 * gdb.base/sum.c: Likewise.
2243 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
2244 regexps dynamically.
2245
9ecfcd1d
AA
22462014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2247
2248 * gdb.base/solib1.c: Add eye-catchers.
2249 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
2250 literal line numbers.
2251
78708b7c
PA
22522014-11-12 Pedro Alves <palves@redhat.com>
2253
2254 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
2255 leader has exited.
2256
af48d08f
PA
22572014-11-12 Pedro Alves <palves@redhat.com>
2258
2259 * gdb.arch/i386-bp_permanent.c: New file.
2260 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
2261 (srcfile): Set to i386-bp_permanent.c.
2262 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
2263 that stepi does not execute the 'leave' instruction, instead of
2264 testing it does execute.
2265 * gdb.base/bp-permanent.c: New file.
2266 * gdb.base/bp-permanent.exp: New file.
2267
af3768e9
DE
22682014-11-10 Doug Evans <xdje42@gmail.com>
2269
2270 PR symtab/17564
2271 * gdb.base/symtab-search-order.exp: New file.
2272 * gdb.base/symtab-search-order.c: New file.
2273 * gdb.base/symtab-search-order-1.c: New file.
2274 * gdb.base/symtab-search-order-shlib-1.c: New file.
2275
9de00a4a
PA
22762014-11-07 Pedro Alves <palves@redhat.com>
2277
2278 PR gdb/17511
2279 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
2280 i?86-*-linux*.
2281
e0f52461
SC
22822014-11-03 Siva Chandra Reddy <sivachandra@google.com>
2283
2284 PR c++/17494
2285 * gdb.cp/pr17494.cc: New file.
2286 * gdb.cp/pr17494.exp: New file.
2287
6ce8c980
YQ
22882014-11-02 Yao Qi <yao@codesourcery.com>
2289
2290 * gdb.python/python.exp: Get working directory and match the
2291 output of "set extended-prompt \\w " with it.
2292
02be9a71
DE
22932014-10-30 Doug Evans <dje@google.com>
2294
2295 * gdb.python/py-objfile.exp: Add tests for setting random attributes
2296 in objfiles.
2297 * gdb.python/py-progspace.exp: Add tests for setting random attributes
2298 in progspaces.
2299
3bdff46b
LM
23002014-10-30 Janis Johnson <janisjo@codesourcery.com>
2301
2302 * gdb.base/fullpath-expand.exp: Skip for a remote host.
2303 * gdb.base/realname-expand.exp: Likewise.
2304 * gdb.linespec/macro-relative.exp: Likewise.
2305
ab917dfb
PA
23062014-10-29 Pedro Alves <palves@redhat.com>
2307
2308 PR gdb/17408
2309 * gdb.threads/schedlock.c (some_function): New function.
2310 (call_function): New global.
2311 (MAYBE_CALL_SOME_FUNCTION): New macro.
2312 (thread_function): Call it.
2313 * gdb.threads/schedlock.exp (get_args): Add description parameter,
2314 and use it instead of a global counter. Adjust all callers.
2315 (get_current_thread): Use "find current thread" for test message
2316 here rather than having all callers pass down the same string.
2317 (goto_loop): New procedure, factored out from ...
2318 (my_continue): ... this.
2319 (step_ten_loops): Change parameter from test message to command to
2320 use. Adjust.
2321 (list_count): Delete global.
2322 (check_result): New procedure, factored out from duplicate top
2323 level code.
2324 (continue tests): Wrap in with_test_prefix.
2325 (test_step): New procedure, factored out from duplicate top level
2326 code.
2327 (top level): Test "step" in combination with all scheduler-locking
2328 modes. Test "next" in combination with all scheduler-locking
2329 modes, and in combination with stepping over a function call or
2330 not.
2331 * gdb.threads/next-bp-other-thread.c: New file.
2332 * gdb.threads/next-bp-other-thread.exp: New file.
2333
d3d4baed
PA
23342014-10-29 Pedro Alves <palves@redhat.com>
2335
2336 PR python/17372
2337 * gdb.python/python.exp: Test a multi-line command that spawns
2338 interactive Python.
2339 * gdb.base/multi-line-starts-subshell.exp: New file.
2340
563e8d85
YQ
23412014-10-29 Yao Qi <yao@codesourcery.com>
2342
2343 * gdb.base/fileio.exp: Make directories on host.
2344
0ea4d52e
YQ
23452014-10-29 Yao Qi <yao@codesourcery.com>
2346
2347 * gdb.base/fileio.c (test_write): Close the file.
2348
7f5ef605
PA
23492014-10-28 Pedro Alves <palves@redhat.com>
2350
2351 PR gdb/12623
2352 * gdb.base/sigstep.c (no_handler): New global.
2353 (main): If 'no_handler is true, set the signal handlers to
2354 SIG_IGN.
2355 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
2356 with_sw_watch and no_handler parameters. Handle them.
2357 (top level) <stepping over handler when stopped at a breakpoint
2358 test>: Add a test axis for testing with a software watchpoint, and
2359 another for testing with the signal handler set to SIG_IGN.
2360 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
2361 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
2362
abbdbd03
PA
23632014-10-28 Pedro Alves <palves@redhat.com>
2364
2365 PR gdb/17511
2366 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
2367 * gdb.base/sigstep.exp (other_handler_location): New global.
2368 (advance): Support stepping into the signal handler, and running
2369 commands while in the handler.
2370 (in_handler_map): New global.
2371 (top level): In the advance test, add combinations for getting
2372 into the handler with stepping commands, and for running commands
2373 in the handler. Add comment descripting the advancei tests.
2374
1df4399f
PA
23752014-10-28 Pedro Alves <palves@redhat.com>
2376
2377 * gdb.base/sigstep.exp: Use build_executable instead of
2378 prepare_for_testing.
2379 (top level): Move code that starts GDB, runs to main and creates a
2380 display to ...
2381 (restart): ... this new procedure.
2382 (top level): Move backtrace from signal handler test to ...
2383 (validate_backtrace): ... this new procedure.
2384 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
2385 with_test_prefix. Always restart GDB.
2386 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
2387 with_test_prefix. Always restart GDB. No need to delete
2388 breakpoints after the test.
2389 (test_skip_handler): Remove prefix parameter.
2390 (skip_over_handler, breakpoint_to_handler)
2391 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
2392 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
2393 restart GDB. No need to delete breakpoints after the test.
2394 (top level): Use foreach to call the test procedures with
2395 different commands.
2396
a5b6e449
PA
23972014-10-28 Pedro Alves <palves@redhat.com>
2398
2399 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
2400 instead of GNATS numbers.
2401 * gdb.base/sigbpt.exp: Likewise.
2402 * gdb.base/siginfo.exp: Likewise.
2403 * gdb.base/sigstep.exp: Likewise.
2404
e5f8a7cc
PA
24052014-10-27 Pedro Alves <palves@redhat.com>
2406
2407 * gdb.base/sigstep.c (dummy): New global.
2408 (main): Issue a couple writes to the new global.
2409 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
2410 procedures.
2411 (skip_over_handler): Use test_skip_handler.
2412 (top level): Call skip_over_handler for stepi and nexti too.
2413 (breakpoint_over_handler): Use test_skip_handler.
2414 (top level): Call breakpoint_over_handler for stepi and nexti too.
2415
763905a3
YQ
24162014-10-27 Yao Qi <yao@codesourcery.com>
2417
2418 * gdb.trace/tfile.c (adjust_function_address)
2419 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
2420 function descriptor.
2421
6f259a23
DB
24222014-10-24 Don Breazeal <donb@codesourcery.com>
2423
2424 * gdb.base/foll-fork.exp (test_follow_fork,
2425 catch_fork_child_follow): Check for updated fork messages emitted
2426 from infrun.c.
2427 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
2428 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
2429 vfork_and_exec_child_follow_through_step): Check for updated vfork
2430 messages emitted from infrun.c.
2431
09dd9a69
PA
24322014-10-24 Pedro Alves <palves@redhat.com>
2433
2434 * gdb.base/corefile.exp: Remove references to ultrix.
2435 * gdb.base/interrupt.exp: Likewise.
2436 * gdb.base/whatis.exp: Likewise.
2437 * gdb.gdb/selftest.exp: Likewise.
2438 * gdb.threads/manythreads.exp: Likewise.
2439 * gdb.threads/print-threads.exp: Likewise.
2440 * gdb.threads/pthreads.exp:: Likewise.
2441 * gdb.threads/schedlock.exp: Likewise.
2442
3433cfa5
SC
24432014-10-24 Siva Chandra Reddy <sivachandra@google.com>
2444
2445 * gdb.cp/non-trivial-retval.cc: Add a test case.
2446 * gdb.cp/non-trivial-retval.exp: Add a test.
2447
092f880b
YQ
24482014-10-20 Yao Qi <yao@codesourcery.com>
2449
2450 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
2451 * gdb.python/py-objfile-script-gdb.py: New file.
2452 * gdb.python/py-objfile-script.exp: Update reference to
2453 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
2454 of remote_download. Remove the dest file.
2455
acbdb7f3
YQ
24562014-10-20 Yao Qi <yao@codesourcery.com>
2457
2458 * gdb.base/checkpoint.exp: Don't remove file copied on host.
2459 * gdb.base/step-line.exp: Likewise.
2460 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2461 * gdb.dwarf2/dw2-basic.exp: Likewise.
2462 * gdb.dwarf2/dw2-compressed.exp: Likewise.
2463 * gdb.dwarf2/dw2-filename.exp: Likewise.
2464 * gdb.dwarf2/dw2-intercu.exp: Likewise.
2465 * gdb.dwarf2/dw2-intermix.exp: Likewise.
2466 * gdb.dwarf2/dw2-producer.exp: Likewise.
2467 * gdb.dwarf2/mac-fileno.exp: Likewise.
2468 * gdb.python/py-frame-args.exp: Likewise.
2469 * gdb.python/py-framefilter.exp: Likewise.
2470 * gdb.python/py-mi.exp: Likewise.
2471 * gdb.python/py-objfile-script.exp: Likewise
2472 * gdb.python/py-pp-integral.exp: Likewise.
2473 * gdb.python/py-pp-re-notag.exp: Likewise.
2474 * gdb.python/py-prettyprint.exp: Likewise.
2475 * gdb.python/py-section-script.exp: Likewise.
2476 * gdb.python/py-typeprint.exp: Likewise.
2477 * gdb.python/py-xmethods.exp: Likewise.
2478 * gdb.stabs/weird.exp: Likewise.
2479 * gdb.xml/tdesc-regs.exp: Likewise.
2480
bd286a29
KCY
24812014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
2482
2483 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
2484 (out_cu): Use addr_len for the size of addresses.
2485 (out_line): Likewise. Size DW_LNE_set_address instruction
2486 according to addr_len.
2487 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
2488 (FUNC): Add START_INSNS to definition.
2489
673dc4a0
YQ
24902014-10-18 Yao Qi <yao@codesourcery.com>
2491
2492 * gdb.base/argv0-symlink.exp: Check argv[0] value if
2493 gdb_has_argv0 return true.
2494 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
2495 check [target_info exists noargs], check [gdb_has_argv0]
2496 instead.
2497 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2498 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
2499 procedures.
2500
4ffbba72
DE
25012014-10-17 Doug Evans <dje@google.com>
2502
2503 * gdb.python/py-events.exp: Update expected output for clear_objfiles
2504 event.
2505 * gdb.python/py-events.py: Add clear_objfiles event.
2506
d096d8c1
DE
25072014-10-17 Doug Evans <dje@google.com>
2508
2509 * gdb.python/py-objfile.exp: Test progspace attribute.
2510
a80db015
LM
25112014-10-17 Luis Machado <lgustavo@codesourcery.com>
2512
2513 * gdb.guile/scm-breakpoint.exp: Do not assume any
2514 directory separators when matching source file paths.
2515 * gdb.python/py-breakpoint.exp: Likewise.
2516 * gdb.reverse/break-precsave.exp: Likewise.
2517 * gdb.reverse/break-reverse.exp: Likewise.
2518 * gdb.reverse/consecutive-precsave.exp: Likewise.
2519 * gdb.reverse/finish-precsave.exp: Likewise.
2520 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
2521 * gdb.reverse/finish-reverse.exp: Likewise.
2522 * gdb.reverse/i386-precsave.exp: Likewise.
2523 * gdb.reverse/i387-env-reverse.exp: Likewise.
2524 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2525 * gdb.reverse/machinestate-precsave.exp: Likewise.
2526 * gdb.reverse/machinestate.exp: Likewise.
2527 * gdb.reverse/sigall-precsave.exp: Likewise.
2528 * gdb.reverse/solib-precsave.exp: Likewise.
2529 * gdb.reverse/step-precsave.exp: Likewise.
2530 * gdb.reverse/until-precsave.exp: Likewise.
2531 * gdb.reverse/watch-precsave.exp: Likewise.
2532 * gdb.reverse/watch-reverse.exp: Likewise.
2533
b22089ab
YQ
25342014-10-17 Yao Qi <yao@codesourcery.com>
2535
2536 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
2537 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
2538
6c4486e6
PA
25392014-10-17 Pedro Alves <palves@redhat.com>
2540
2541 PR gdb/17471
2542 * gdb.base/bg-execution-repeat.c: New file.
2543 * gdb.base/bg-execution-repeat.exp: New file.
2544
0ff33695
PA
25452014-10-17 Pedro Alves <palves@redhat.com>
2546
2547 PR gdb/17300
2548 * gdb.base/continue-all-already-running.c: New file.
2549 * gdb.base/continue-all-already-running.exp: New file.
2550
6fdebc3d
PA
25512014-10-17 Pedro Alves <palves@redhat.com>
2552
2553 PR gdb/17472
2554 * gdb.base/annota-input-while-running.c: New file.
2555 * gdb.base/annota-input-while-running.exp: New file.
2556
32a8097b
PA
25572014-10-17 Pedro Alves <palves@redhat.com>
2558
2559 * gdb.base/callfuncs.exp: emove references to osf.
2560 * gdb.base/sigall.exp: Likewise.
2561 * gdb.gdb/selftest.exp: Likewise.
2562 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
2563 * gdb.mi/non-stop.c: Likewise.
2564 * gdb.mi/pthreads.c: Likewise.
2565 * gdb.reverse/sigall-precsave.exp: Likewise.
2566 * gdb.reverse/sigall-reverse.exp: Likewise.
2567 * gdb.threads/pthreads.c: Likewise.
2568 * gdb.threads/pthreads.exp: Likewise.
2569
7a3517ff
YQ
25702014-10-17 Yao Qi <yao@codesourcery.com>
2571
2572 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
2573 check 'target_info exists noargs'.
2574 (test_command_prompt_position): Likewise.
2575 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
2576 Remove "set args".
2577 (progvar_simple_while_test): Likewise.
2578 (progvar_complex_if_while_test): Likewise.
2579 (if_while_breakpoint_command_test): Likewise.
2580 (infrun_breakpoint_command_test): Likewise.
2581 (breakpoint_command_test): Likewise.
2582 (watchpoint_command_test): Likewise.
2583 (bp_deleted_in_command_test): Likewise.
2584 (temporary_breakpoint_commands): Likewise.
2585
bb99c472
YQ
25862014-10-16 Yao Qi <yao@codesourcery.com>
2587
2588 * gdb.base/remotetimeout.exp: Remove noargs checking.
2589
7c16b83e
PA
25902014-10-15 Pedro Alves <palves@redhat.com>
2591
2592 PR breakpoints/9649
2593 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
2594 * gdb.base/breakpoint-in-ro-region.exp
2595 (probe_target_hardware_step): New procedure.
2596 (top level): Probe hardware stepping and hardware breakpoint
2597 support. Test stepping through a read-only region, with both
2598 "breakpoint auto-hw" on and off and both "always-inserted" on and
2599 off.
2600
35a49624
IB
26012014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
2602
2603 * gdb.dlang/demangle.exp: Update for demangling changes.
2604
2d1c107c
SC
26052014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2606
2607 * gdb.cp/non-trivial-retval.cc: Add new test cases.
2608 * gdb.cp/non-trivial-retval.exp: Add new tests.
2609
778811d5
SC
26102014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2611
2612 PR c++/13403
2613 PR c++/15154
2614 * gdb.cp/non-trivial-retval.cc: New file.
2615 * gdb.cp/non-trivial-retval.exp: New file.
2616
10c5f0a8
YQ
26172014-10-15 Yao Qi <yao@codesourcery.com>
2618
2619 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
2620 remote host.
2621
65d7b369
YQ
26222014-10-15 Yao Qi <yao@codesourcery.com>
2623
2624 * gdb.python/py-symbol.exp: Match file base name if host is
2625 remote, otherwise match file name with dir name.
2626 * gdb.python/py-symtab.exp: Likewise.
2627 * gdb.python/python.exp: Likewise.
2628
46dc1394
YQ
26292014-10-15 Yao Qi <yao@codesourcery.com>
2630
2631 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
2632 pattern.
2633 * gdb.python/py-symtab.exp: Likewise.
2634 * gdb.python/python.exp: Remove trailing ".*". Fix typo
2635 locationn.
2636
c40cc657
JB
26372014-10-14 Joel Brobecker <brobecker@adacore.com>
2638
2639 * gdb.ada/addr_arith: New testcase.
2640
2abf49e1
MR
26412014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
2642
2643 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
2644 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
2645 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
2646 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
2647
f7088df3
SDJ
26482014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
2649
2650 * gdb.arch/stap-eval-lang-ada.S: Likewise.
2651 * gdb.arch/stap-eval-lang-ada.c: Likewise.
2652 * gdb.arch/stap-eval-lang-ada.exp: New file.
2653
4dc06805
YQ
26542014-10-14 Yao Qi <yao@codesourcery.com>
2655
2656 * gdb.mi/mi-var-child.c (nothing1): New function.
2657 (nothing2): New function.
2658 (do_children_tests): Set function pointers by nothing1 and
2659 nothing2.
2660 * gdb.mi/mi-var-child.exp: Step over new added statements.
2661 Update test to match the new output.
2662 * gdb.mi/var-cmd.c (nothing1): New function.
2663 (nothing2): New function.
2664 (do_children_tests): Set function pointers by nothing1 and
2665 nothing2.
2666 * gdb.mi/mi-var-display.exp: Update test to match output.
2667 Step to the line specified by $line_dct_nothing.
2668 Increase the number of lines to step.
2669
46a93de2
YQ
26702014-10-14 Yao Qi <yao@codesourcery.com>
2671
2672 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
2673 tests.
2674 * gdb.mi/mi2-var-child.exp: Likewise.
2675
14ea52ee
DE
26762014-10-13 Doug Evans <dje@google.com>
2677
2678 * gdb.python/py-objfile.exp: Change name of file name test.
2679
e5c6e92b
DE
26802014-10-13 Doug Evans <dje@google.com>
2681
2682 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
2683 from the start of the CU.
2684
c780cc2f
JK
26852014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2686 Yao Qi <yao@codesourcery.com>
2687
2688 Fix "save breakpoints" for "catch" command.
2689 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
2690 Remove -nonewline. Match also the added "main" line.
2691
99894e11
JK
26922014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2693
2694 Fix "save breakpoints" for "disable $bpnum" command.
2695 * gdb.base/save-bp.c (main): Add label.
2696 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
2697
6e1ac5a3
JK
26982014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2699
2700 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
2701
754dd2b0
YQ
27022014-10-11 Yao Qi <yao@codesourcery.com>
2703
2704 * gdb.server/server-kill.exp: Execute command
2705 "set remote trace-status-packet on" before "tstatus".
2706
f90183d7
YQ
27072014-10-11 Yao Qi <yao@codesourcery.com>
2708
2709 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
2710 (main): Call getppid.
2711 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
2712 and continue to it. Read variable "server_pid".
2713
bf40a607
YQ
27142014-10-11 Yao Qi <yao@codesourcery.com>
2715
2716 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
2717
052ca370
YQ
27182014-10-11 Yao Qi <yao@codesourcery.com>
2719
2720 * gdb.threads/thread-find.exp: Don't execute command
2721 "info threads".
2722 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
2723 * gdb.threads/linux-dp.exp: Don't check the condition
2724 $threads_created equals to zero.
2725
3831839c
PA
27262014-10-10 Pedro Alves <palves@redhat.com>
2727
2728 * gdb.base/bigcore.exp: Remove references to IRIX.
2729 * gdb.base/funcargs.exp: Likewise.
2730 * gdb.base/interrupt.exp: Likewise.
2731 * gdb.base/mips_pro.exp: Likewise.
2732 * gdb.base/nodebug.exp: Likewise.
2733 * gdb.base/setvar.exp: Likewise.
2734 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
2735
8b9a549d
PA
27362014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2737 Pedro Alves <palves@redhat.com>
2738
2739 PR symtab/14466
2740 * gdb.base/vdso-warning.c: New file.
2741 * gdb.base/vdso-warning.exp: New file.
2742
d48ba5e8
DE
27432014-10-02 Doug Evans <dje@google.com>
2744
2745 * gdb.base/structs.c (main): Don't run forever.
2746
2278c276
PA
27472014-10-02 Pedro Alves <palves@redhat.com>
2748
2749 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
2750 (top level) <stop threads 1, stop threads 2>: Use it.
2751
b57bacec
PA
27522014-10-02 Pedro Alves <palves@redhat.com>
2753
2754 * gdb.threads/break-while-running.exp (test): Add new
2755 'update_thread_list' argument. Skip "info threads" if false.
2756 (top level): Add new 'update_thread_list' axis.
2757
13fd3ff3
PA
27582014-10-02 Pedro Alves <palves@redhat.com>
2759
2760 PR breakpoints/17431
2761 * gdb.base/execl-update-breakpoints.c: New file.
2762 * gdb.base/execl-update-breakpoints.exp: New file.
2763
0fec99e8
PA
27642014-10-01 Pedro Alves <palves@redhat.com>
2765
2766 * gdb.base/breakpoint-in-ro-region.c: New file.
2767 * gdb.base/breakpoint-in-ro-region.exp: New file.
2768
2ddf4301
SM
27692014-10-01 Simon Marchi <simon.marchi@ericsson.com>
2770
2771 * gdb.mi/mi-exit-code.exp: New file.
2772 * gdb.mi/mi-exit-code.c: New file.
2773
6a5f3f43
YQ
27742014-09-30 Yao Qi <yao@codesourcery.com>
2775
2776 * lib/prelink-support.exp (build_executable_own_libs): Error if
2777 the target isn't native.
2778
345bcc73
YQ
27792014-09-30 Yao Qi <yao@codesourcery.com>
2780
2781 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
2782 false.
2783
a25a5a45
PA
27842014-09-22 Pedro Alves <palves@redhat.com>
2785
2786 * gdb.threads/break-while-running.exp: New file.
2787 * gdb.threads/break-while-running.c: New file.
2788
00ba3162
YQ
27892014-09-19 Yao Qi <yao@codesourcery.com>
2790
2791 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
2792 Invoke test. Restart GDB with --readnow and invoke test again.
2793
c3b7b696
YQ
27942014-09-19 Yao Qi <yao@codesourcery.com>
2795
2796 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
2797 proc set_breakpoint_on_gcd_function. Invoke
2798 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
2799 invoke set_breakpoint_on_gcd_function again.
2800
2b4fd423
DE
28012014-09-18 Doug Evans <dje@google.com>
2802
2803 * gdb.dwarf2/symtab-producer.exp: New file.
2804
a5947601
SDJ
28052014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2806
2807 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
2808 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
2809 * gdb.base/global-var-nested-by-dso.c: Likewise.
2810 * gdb.base/global-var-nested-by-dso.exp: Likewise.
2811
91c19059
SDJ
28122014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2813 Pedro Alves <palves@redhat.com>
2814
2815 * gdb.base/watch-bitfields.exp: Pass string other than test file
2816 name to prepare_for_testing.
2817 (watch): New procedure.
2818 (expect_watchpoint): Use with_test_prefix.
2819 (top level): Factor out tests to ...
2820 (test_watch_location, test_regular_watch): ... these new
2821 procedures, and use with_test_prefix and gdb_continue_to_end.
2822
bb9d5f81
PP
28232014-09-16 Patrick Palka <patrick@parcs.ath.cx>
2824
2825 PR breakpoints/12526
2826 * gdb.base/watch-bitfields.exp: New file.
2827 * gdb.base/watch-bitfields.c: New file.
2828
635856f5
PA
28292014-09-16 Pedro Alves <palves@redhat.com>
2830
2831 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
2832 software and hardware addresses, not software address against
2833 itself.
2834
7280ceea
PA
28352014-09-16 Pedro Alves <palves@redhat.com>
2836
2837 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
2838 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
2839
428b16bd
PA
28402014-09-16 Pedro Alves <palves@redhat.com>
2841
2842 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
2843 files.
2844 * gdb.base/a2-run.exp: Remove all code guarded by istarget
2845 "*-*-vxworks*" throughout.
2846 * gdb.base/break.exp: Likewise.
2847 * gdb.base/default.exp: Likewise.
2848 * gdb.base/scope.exp: Likewise.
2849 * gdb.base/sepdebug.exp: Likewise.
2850 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
2851 throughout.
2852 * gdb.base/run.c: Likewise.
2853 * gdb.base/sepdebug.c: Likewise.
2854 * gdb.hp/gdb.aCC/run.c: Likewise.
2855 * gdb.reverse/until-reverse.c: Likewise.
2856 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
2857
666d413c
YQ
28582014-09-16 Yao Qi <yao@codesourcery.com>
2859
2860 * boards/local-remote-host-native.exp: New file.
2861
57cbd724
DE
28622014-09-14 Doug Evans <xdje42@gmail.com>
2863
2864 * gdb.threads/queue-signal.c (thread_count): New variable.
2865 (thread_count_mutex, thread_count_condvar): New variables.
2866 (incr_thread_count, wait_all_threads_running): New functions.
2867 (main): Wait for all threads to be in their thread functions.
2868
81219e53
DE
28692014-09-13 Doug Evans <xdje42@gmail.com>
2870
2871 * gdb.threads/queue-signal.c: New file.
2872 * gdb.threads/queue-signal.exp: New file.
2873
3714cea7
DE
28742014-09-13 Doug Evans <xdje42@gmail.com>
2875
2876 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
2877 be consistent with what default_gdb_init uses.
2878 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
2879 the plain text of the prompt. Add some logging printfs.
2880 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
2881
fa43b1d7
PA
28822014-09-12 Pedro Alves <palves@redhat.com>
2883
2884 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
2885 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
2886 * gdb.arch/i386-size-overlap.exp: Likewise.
2887 * gdb.arch/i386-size.exp: Likewise.
2888 * gdb.arch/i386-unwind.exp: Likewise.
2889 * gdb.base/a2-run.exp: Likewise.
2890 * gdb.base/break.exp: Likewise.
2891 * gdb.base/charset.exp: Likewise.
2892 * gdb.base/chng-syms.exp: Likewise.
2893 * gdb.base/commands.exp: Likewise.
2894 * gdb.base/dbx.exp: Likewise.
2895 * gdb.base/find.exp: Likewise.
2896 * gdb.base/funcargs.exp: Likewise.
2897 * gdb.base/jit-simple.exp: Likewise.
2898 * gdb.base/reread.exp: Likewise.
2899 * gdb.base/sepdebug.exp: Likewise.
2900 * gdb.base/step-bt.exp: Likewise.
2901 * gdb.cp/mb-inline.exp: Likewise.
2902 * gdb.cp/mb-templates.exp: Likewise.
2903 * gdb.objc/basicclass.exp: Likewise.
2904 * gdb.threads/killed.exp: Likewise.
2905
9d9bf2df
EBM
29062014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2907
2908 PR tdep/17379
2909 * gdb.arch/powerpc-stackless.S: New file.
2910 * gdb.arch/powerpc-stackless.exp: New file.
2911
1cf2f1b0
JK
29122014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2913
2914 * gdb.base/attach.c: Include unistd.h.
2915 (main): Call alarm. Add label postloop.
2916 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
2917 gdb_breakpoint, gdb_continue_to_breakpoint.
2918 (test_command_line_attach_run): Kill ${testpid} in one exit path.
2919
98880d46
PA
29202014-09-11 Pedro Alves <palves@redhat.com>
2921
2922 PR gdb/17347
2923 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
2924 * gdb.base/attach.exp (test_command_line_attach_run): New
2925 procedure.
2926 (top level): Call it.
2927
4c92ff2c
PA
29282014-09-11 Pedro Alves <palves@redhat.com>
2929
2930 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
2931 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
2932 (do_command_attach_tests): Use spawn_wait_for_attach.
2933 * gdb.base/solib-overlap.exp: Likewise.
2934 * gdb.multi/multi-attach.exp: Likewise.
2935 * gdb.python/py-prompt.exp: Likewise.
2936 * gdb.python/py-sync-interp.exp: Likewise.
2937 * gdb.server/ext-attach.exp: Likewise.
2938
3adc1a7d
GKB
29392014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
2940
2941 * gdb.fortran/array-element.exp: Remove unexpected "continue"
2942 command in testcase. Simplify testcase.
2943
96334934
JB
29442014-09-10 Joel Brobecker <brobecker@adacore.com>
2945
2946 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
2947
eb479039
JB
29482014-09-10 Joel Brobecker <brobecker@adacore.com>
2949
2950 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
2951
deede10c
JB
29522014-09-10 Joel Brobecker <brobecker@adacore.com>
2953
2954 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
2955
7828a5f5
JB
29562014-09-10 Joel Brobecker <brobecker@adacore.com>
2957
2958 * gdb.dwarf2/dynarr-ptr.c: New file.
2959 * gdb.dwarf2/dynarr-ptr.exp: New file.
2960
33aeebcf
MR
29612014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2962
2963 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
2964 of 30 rather than hardcoding 120 for a slow test case. Take the
2965 `gdb,timeout' target setting into account for this calculation.
2966 Don't extend the timeout for the test cases that don't need it.
2967
7b415901
MR
29682014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2969
2970 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
2971 a factor of 2 for a slow test case. Take the `gdb,timeout'
2972 target setting into account for this calculation.
2973 * gdb.reverse/until-precsave.exp: Increase the timeout by
2974 a factor of 15 and 3 respectively rather than adding 120
2975 for a pair of slow test cases. Take the `gdb,timeout'
2976 target setting into account for this calculation.
2977
4a40f85a
MR
29782014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2979
2980 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
2981 timeout, don't pass one down to gdb_expect.
2982 (gdb_expect): Rework timeout selection.
2983
09635af7
MR
29842014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2985
2986 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
2987 exception on timeout.
2988 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
2989 (gdbserver_start_extended): Catch any `gdbserver_start' error
2990 exceptions.
2991 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
2992 * lib/mi-support.exp (mi_gdb_target_load): Catch any
2993 `gdbserver_gdb_load' error exceptions.
2994
2bdd10b7
MR
29952014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2996
2997 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
2998 120 on waiting for the TCP socket to open.
2999
316935f0
DE
30002014-09-09 Doug Evans <xdje42@gmail.com>
3001
3002 * gdb.base/default.exp (show_conv_list): Add _caller_is,
3003 _caller_matches, _any_caller_is, _any_caller_matches.
3004
83740597
DE
30052014-09-09 Doug Evans <xdje42@gmail.com>
3006
3007 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
3008
4c122fc3
YQ
30092014-09-09 Yao Qi <yao@codesourcery.com>
3010
3011 * gdb.mi/mi-var-display.exp: Set print symbol off.
3012
a9f116cb
GKB
30132014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
3014
3015 PR gdb/17035
3016 * gdb.base/commands.exp: Add tests to verify user-defined
3017 commands with empty bodies.
3018 * gdb.python/py-cmd.exp: Test that we don't show user-defined
3019 python commands in `show user command`.
3020 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
3021 scheme commands in `show user command`.
3022
c75bd3a2
JK
30232014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3024
3025 PR python/17355
3026 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
3027 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
3028 * gdb.python/py-framefilter-invalidarg.exp: New file.
3029 * gdb.python/py-framefilter-invalidarg.py: New file.
3030
faa42425
DE
30312014-09-06 Doug Evans <xdje42@gmail.com>
3032
3033 PR 15276
3034 * gdb.python/py-caller-is.c: New file.
3035 * gdb.python/py-caller-is.exp: New file.
3036
474ca4f6
SDJ
30372014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
3038
3039 PR gdb/17235
3040 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
3041 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
3042
eb0b0463
SDJ
30432014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
3044
3045 PR fortran/17237
3046 * gdb.fortran/print-formatted.exp: New file.
3047 * gdb.fortran/print-formatted.f90: Likewise.
3048
5f3b99cf
SS
30492014-09-03 Sasha Smundak <asmundak@google.com>
3050
3051 * gdb.python/py-frame.exp: Test Frame.read_register.
3052
7d793aa9
SDJ
30532014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
3054
3055 PR python/16699
3056 * gdb.python/py-completion.exp: New file.
3057 * gdb.python/py-completion.py: Likewise.
3058
fb0576e9
DE
30592014-08-28 Doug Evans <dje@google.com>
3060
3061 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
3062 eax,etc. are live with values set by gdb and thus the compiler can't
3063 use them.
3064 * gdb.arch/i386-pseudo.c (main): Ditto.
3065
ee92b0dd
DE
30662014-08-27 Doug Evans <dje@google.com>
3067
3068 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
3069
6649db35
DE
30702014-08-25 Doug Evans <dje@google.com>
3071
3072 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
3073 (main): Ditto.
3074
564b7600
DE
30752014-08-25 Doug Evans <dje@google.com>
3076
3077 * gdb.threads/thread-execl.exp: #include <stdio.h>.
3078
3881fb67
YQ
30792014-08-24 Yao Qi <yao@codesourcery.com>
3080
3081 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
3082 symbol off.
3083 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
3084
a05a36a5
DE
30852014-08-22 Doug Evans <dje@google.com>
3086
3087 PR 17276
3088 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
3089 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
3090 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
3091
7c343b48
YQ
30922014-08-22 Yao Qi <yao@codesourcery.com>
3093
3094 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
3095 * gdb.python/py-finish-breakpoint2.exp: Likewise.
3096 * gdb.python/python.exp: Likewise. Use .py file on the host
3097 instead of the build.
3098
22fd09ae
JK
30992014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3100
3101 * gdb.threads/gcore-stale-thread.c: New file.
3102 * gdb.threads/gcore-stale-thread.exp: New file.
3103
a8454a7c
PA
31042014-08-21 Pedro Alves <palves@redhat.com>
3105
3106 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
3107 * gdb.base/gcore-relro-pie.exp: Likewise.
3108 * gdb.base/gcore-relro.exp: Likewise.
3109 * gdb.base/gcore.exp: Likewise.
3110 * gdb.base/print-symbol-loading.exp: Likewise.
3111 * gdb.threads/gcore-thread.exp: Likewise.
3112 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
3113
2a31c623
PA
31142014-08-20 Pedro Alves <palves@redhat.com>
3115 Jan Kratochvil <jan.kratochvil@redhat.com>
3116
3117 * Makefile.in (EXTRA_RULES, CC): New variables, get from
3118 configure.
3119 (EXPECT): Handle READ1 being set.
3120 (all): Depend on EXTRA_RULES.
3121 (check-read1, expect-read1, read1.so, read1): New rules.
3122 * README (Testsuite Parameters): Document the READ1 make variable.
3123 (Race detection): New section.
3124 * configure: Regenerate.
3125 * configure.ac: If build==host==target, and running under a
3126 GNU/glibc system, add read1 to the extra Makefile rules.
3127 (EXTRA_RULES): AC_SUBST it.
3128 * lib/read1.c: New file.
3129
d36430db
JB
31302014-08-20 Joel Brobecker <brobecker@adacore.com>
3131
3132 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
3133 the handling of variables declared as a typedef to an array
3134 which a DW_AT_data_location attribute.
3135
9a0dc9e3
PA
31362014-08-19 Andrew Burgess <aburgess@broadcom.com>
3137 Pedro Alves <palves@redhat.com>
3138
3139 PR symtab/14604
3140 PR symtab/14605
3141 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
3142 gdb_test.
3143
0718a8da
PA
31442014-08-19 Pedro Alves <palves@redhat.com>
3145
3146 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
3147
13b448cd
YQ
31482014-08-19 Yao Qi <yao@codesourcery.com>
3149
3150 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
3151 right line.
3152
1cbf5077
DB
31532014-08-18 David Blaikie <dblaikie@gmail.com>
3154
3155 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
3156
bf0fae19
JB
31572014-08-18 Joel Brobecker <brobecker@adacore.com>
3158
3159 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
3160 attribute in array range.
3161
3c8c5dcc
JB
31622014-08-18 Joel Brobecker <brobecker@adacore.com>
3163
3164 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
3165
e66d4446
SC
31662014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3167
3168 PR c++/17132
3169 * gdb.cp/pr17132.cc: New file.
3170 * gdb.cp/pr17132.exp: New file.
3171
940df408
SC
31722014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3173
3174 * gdb.python/py-xmethods.py (A_getarrayind)
3175 (E_method_char_worker.__call__, E_method_int_worker.__call__):
3176 Use 'print' with function call syntax.
3177 (E_method_matcher.match): Fix tab vs space indentation mixup.
3178
ebcc6c3a
YQ
31792014-08-15 Yao Qi <yao@codesourcery.com>
3180
3181 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
3182 false.
3183
775e0f04
YQ
31842014-08-15 Yao Qi <yao@codesourcery.com>
3185
3186 * gdb.cp/casts.exp: Set print symbol off.
3187 * gdb.cp/class2.exp: Likewise.
3188 * gdb.cp/overload.exp: Likewise.
3189 * gdb.cp/templates.exp: Likewise.
3190
d769e349
DE
31912014-08-11 Doug Evans <dje@google.com>
3192
3193 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3194 (test_load_shlib): Update.
3195
20c6f1e1
YQ
31962014-08-09 Yao Qi <yao@codesourcery.com>
3197
3198 * gdb.base/display.exp: Invoke is_address_zero_readable.
3199 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
3200 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
3201 * gdb.base/hbreak-unmapped.exp: Return if
3202 is_address_zero_readable returns true.
3203 * gdb.base/signest.exp: Likewise.
3204 * gdb.base/signull.exp: Likewise.
3205 * gdb.base/sigbpt.exp: Likewise.
3206 * gdb.guile/scm-disasm.exp: Do the test if
3207 is_address_zero_readable returns false.
3208 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
3209 * gdb.python/py-arch.exp: Likewise.
3210 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
3211 * lib/gdb.exp (is_address_zero_readable): New proc.
3212
5792e8e3
YQ
32132014-08-09 Yao Qi <yao@codesourcery.com>
3214
3215 PR testsuite/13443
3216 * gdb.mi/mi-var-display.exp: Make test messages unique.
3217
3cecbbbe
TT
32182014-08-04 Tom Tromey <tromey@redhat.com>
3219
3220 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
3221 target 0".
3222
00b51ff5
TT
32232014-08-04 Tom Tromey <tromey@redhat.com>
3224
3225 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
3226 "target_resume".
3227
6908c509
JB
32282014-08-01 Joel Brobecker <brobecker@adacore.com>
3229
3230 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
3231 inner_vla_struct_object_size.
3232 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
3233 as xfail.
3234
cc6563d2
PA
32352014-07-30 Pedro Alves <palves@redhat.com>
3236
3237 * gdb.threads/signal-command-handle-nopass.exp (test): Add
3238 comment.
3239
7e09a223
YQ
32402014-07-29 Yao Qi <yao@codesourcery.com>
3241
3242 PR gdb/17206
3243 * gdb.base/until-nodebug.exp: New.
3244
7ebdbe92
DE
32452014-07-28 Doug Evans <xdje42@gmail.com>
3246
3247 PR guile/17203
3248 * gdb.guile/scm-parameter.exp: Add tests for trying to create
3249 previously existing parameter, and previously ambiguously spelled
3250 parameter.
3251
fdb1adc6
WN
32522014-07-28 Will Newton <will.newton@linaro.org>
3253
3254 * gdb.base/varargs.exp: Remove KFAILs for ARM.
3255
186fcde0
DE
32562014-07-26 Ludovic Courtès <ludo@gnu.org>
3257 Doug Evans <xdje42@gmail.com>
3258
3259 PR guile/17146
3260 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
3261
70509625
PA
32622014-07-25 Pedro Alves <palves@redhat.com>
3263
3264 * gdb.threads/signal-command-handle-nopass.c: New file.
3265 * gdb.threads/signal-command-handle-nopass.exp: New file.
3266 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
3267 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
3268 * gdb.threads/signal-delivered-right-thread.c: New file.
3269 * gdb.threads/signal-delivered-right-thread.exp: New file.
3270
c3f814a1
PA
32712014-07-25 Pedro Alves <palves@redhat.com>
3272
3273 * gdb.base/double-prompt-target-event-error.exp
3274 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
3275 match.
3276 (cancel_pagination_in_target_event): Rework double prompt
3277 detection.
3278 * gdb.base/paginate-after-ctrl-c-running.exp
3279 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
3280 <return>' match.
3281 * gdb.base/paginate-bg-execution.exp
3282 (test_bg_execution_pagination_return)
3283 (test_bg_execution_pagination_cancel): Remove '-notransfer
3284 <return>' matches.
3285 * gdb.base/paginate-execution-startup.exp
3286 (test_fg_execution_pagination_return)
3287 (test_fg_execution_pagination_cancel): Remove '-notransfer
3288 <return>' matches.
3289 * gdb.base/paginate-inferior-exit.exp
3290 (test_paginate_inferior_exited): Remove '-notransfer <return>'
3291 match.
3292 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
3293 * lib/gdb.exp (pagination_prompt): Run text through
3294 string_to_regexp.
3295 (gdb_test_multiple): Match $pagination_prompt instead of
3296 "<return>".
3297 (string_to_regexp): Move to lib/gdb-utils.exp.
3298
e214cf6c
JK
32992014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3300
3301 * gdb.arch/amd64-entry-value-paramref.S: New file.
3302 * gdb.arch/amd64-entry-value-paramref.cc: New file.
3303 * gdb.arch/amd64-entry-value-paramref.exp: New file.
3304 * gdb.arch/amd64-optimout-repeat.S: New file.
3305 * gdb.arch/amd64-optimout-repeat.c: New file.
3306 * gdb.arch/amd64-optimout-repeat.exp: New file.
3307
17d0c5c8
JK
33082014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3309
3310 PR gdb/17170
3311 * gdb.base/statistics.exp: New file.
3312
b8b8facf
DE
33132014-07-17 Doug Evans <dje@google.com>
3314
74b49205 3315 PR gdb/17170
b8b8facf
DE
3316 * gdb.base/maint.exp: Update testing of per-command stats.
3317
1b5d0ab3
PA
33182014-07-16 Pedro Alves <palves@redhat.com>
3319
3320 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
3321 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
3322 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
3323 (tfile_write_buf): New functions.
3324 (add_memory_block): Rewrite using the above.
3325 (adjust_function_address): New function.
3326 (FUNCTION_ADDRESS): New macro.
3327 (write_basic_trace_file): Remove short_x local, and use
3328 tfile_write_16. Change type of func_addr local to unsigned long
3329 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
3330 here. Cast argument of add_memory_block to char pointer.
3331 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
3332 (main): Remove parameters.
3333 * gdb.trace/tfile.exp: Remove nowarnings.
3334
4d974e88
SM
33352014-07-15 Simon Marchi <simon.marchi@ericsson.com>
3336
3337 * gdb.base/debug-expr.exp: Test string evaluation with
3338 "debug expression" on.
3339
41e99568
PA
33402014-07-15 Pedro Alves <palves@redhat.com>
3341
3342 * gdb.base/reread.exp: Use clean_restart.
3343
487d9753
PL
33442014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
3345
3346 * gdb.arch/avr-flash-qualifer.c: New.
3347 * gdb.arch/avr-flash-qualifer.exp: New.
3348
cc1c52ad
PA
33492014-07-14 Pedro Alves <palves@redhat.com>
3350
3351 * gdb.base/paginate-after-ctrl-c-running.c: New file.
3352 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
3353
1e973570
PA
33542014-07-14 Pedro Alves <palves@redhat.com>
3355
3356 * gdb.base/double-prompt-target-event-error.c: New file.
3357 * gdb.base/double-prompt-target-event-error.exp: New file.
3358
93d6eb10
PA
33592014-07-14 Pedro Alves <palves@redhat.com>
3360
3361 PR gdb/17072
3362 * gdb.base/paginate-inferior-exit.c: New file.
3363 * gdb.base/paginate-inferior-exit.exp: New file.
3364
0017922d
PA
33652014-07-14 Pedro Alves <palves@redhat.com>
3366
3367 PR gdb/17072
3368 * gdb.base/paginate-bg-execution.c: New file.
3369 * gdb.base/paginate-bg-execution.exp: New file.
3370
94696ad3
PA
33712014-07-14 Pedro Alves <palves@redhat.com>
3372
3373 PR gdb/17072
3374 * gdb.base/paginate-execution-startup.c: New file.
3375 * gdb.base/paginate-execution-startup.exp: New file.
3376 * lib/gdb.exp (pagination_prompt): New global.
3377 (default_gdb_spawn): New procedure, factored out from
3378 default_gdb_spawn.
3379 (default_gdb_start): Adjust to call default_gdb_spawn.
3380 (gdb_spawn): New procedure.
3381
bd293940
PA
33822014-07-14 Pedro Alves <palves@redhat.com>
3383
3384 * lib/gdb.exp (gdb_assert): New procedure.
3385 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
3386
c933f875
PA
33872014-07-14 Pedro Alves <palves@redhat.com>
3388
3389 * gdb.base/execution-termios.c: New file.
3390 * gdb.base/execution-termios.exp: New file.
3391
d98b7a16
TT
33922014-07-14 Tom Tromey <tromey@redhat.com>
3393
3394 * gdb.cp/vla-cxx.cc: New file.
3395 * gdb.cp/vla-cxx.exp: New file.
3396
548740d6
TT
33972014-07-14 Tom Tromey <tromey@redhat.com>
3398
3399 * gdb.reverse/rerun-prec.c: New file.
3400 * gdb.reverse/rerun-prec.exp: New file.
3401
a25eb028
MR
34022014-07-12 Maciej W. Rozycki <macro@mips.com>
3403 Maciej W. Rozycki <macro@codesourcery.com>
3404
3405 * lib/gdb-utils.exp: New file.
3406 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
3407 inline `gdb_init_command' processing.
3408 (gdb_start_cmd): Likewise.
3409 * lib/mi-support.exp (mi_run_cmd): Likewise.
3410 * README: Document `gdb_init_command' and `gdb_init_commands'.
3411
218c2655
JK
34122014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3413
3414 Fix false FAIL running under a very long directory name.
3415 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
3416 and "set print elements 10000". Twice.
3417
5401fde3
YQ
34182014-07-11 Yao Qi <yao@codesourcery.com>
3419
3420 * gdb.base/exprs.exp: "set print symbol off".
3421
e76126e8
PA
34222014-07-11 Pedro Alves <palves@redhat.com>
3423
3424 * gdb.threads/kill.c: New file.
3425 * gdb.threads/kill.exp: New file.
3426
2d6f0de6
YQ
34272014-07-10 Yao Qi <yao@codesourcery.com>
3428
3429 * gdb.trace/tfile.c (write_basic_trace_file)
3430 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
3431 address written to trace file.
3432
7180e04a
PA
34332014-07-09 Pedro Alves <palves@redhat.com>
3434
3435 * gdb.base/attach-wait-input.exp: New file.
3436 * gdb.base/attach-wait-input.c: New file.
3437
9a9a7608
AB
34382014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3439
3440 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
3441 setting up test structures.
3442 (main): Call new test function.
3443 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
3444 test function, continue into test function and walk test
3445 structures.
3446
161ac41e
YQ
34472014-07-02 Yao Qi <yao@codesourcery.com>
3448
3449 * gdb.trace/entry-values.c: Define labels 'foo_start' and
3450 'bar_start' at the beginning of functions 'foo' and 'bar'
3451 respectively.
3452 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
3453 instead of 'foo' and 'bar'.
3454
1f267ae3
MM
34552014-07-08 Markus Metzger <markus.t.metzger@intel.com>
3456
3457 * gdb.btrace/segv.exp: New.
3458 * gdb.btrace/segv.c: New.
3459
2b239efb
LM
34602014-07-02 Luis Machado <lgustavo@codesourcery.com>
3461
3462 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
3463 instruction.
3464
cf363f18
MW
34652014-06-30 Mark Wielaard <mjw@redhat.com>
3466
3467 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
3468 vulture, vilify, villar): New volatile array constants.
3469 (vindictive, vegetation): New const volatile array constants.
3470 * gdb.base/volatile.exp: Test volatile and const volatile array
3471 types.
3472
aebf9d24
AA
34732014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
3474
3475 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
3476 target lacks support for awatch, rwatch, or hbreak.
3477
b67a2c6f
YQ
34782014-06-27 Yao Qi <yao@codesourcery.com>
3479
3480 * gdb.multi/dummy-frame-restore.exp: New.
3481 * gdb.multi/dummy-frame-restore.c: New.
3482
aef92902
MM
34832014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3484
3485 * gdb.btrace/gcore.exp: New.
3486
8e9db26e
PA
34872014-06-23 Pedro Alves <palves@redhat.com>
3488
3489 * gdb.base/watchpoint-reuse-slot.c: New file.
3490 * gdb.base/watchpoint-reuse-slot.exp: New file.
3491
70afc5b7
SC
34922014-06-23 Siva Chandra Reddy <sivachandra@google.com>
3493
3494 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
3495 progspace's filename in 'info', 'enable' and 'disable' command
3496 tests.
3497
b972bd9c
JK
34982014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3499
3500 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
3501 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3502 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
3503
125f8a3d
GB
35042014-06-20 Gary Benson <gbenson@redhat.com>
3505
3506 * gdb.arch/i386-avx.exp: Fix include file location.
3507 * gdb.arch/i386-sse.exp: Likewise.
3508
3ed9baed
IB
35092014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
3510
3511 * gdb.dlang/expression.exp: New file.
3512
034f788c
PA
35132014-06-19 Pedro Alves <palves@redhat.com>
3514
3515 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
3516 out from ...
3517 (top level): ... here. Iterate running tests under different
3518 scheduler-locking settings.
3519
45371d0c
LM
35202014-06-18 Luis Machado <lgustavo@codesourcery.com>
3521
3522 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
3523 to DW_FORM_addr and use non-zero addresses.
3524
5d376983
SC
35252014-06-18 Siva Chandra Reddy <sivachandra@google.com>
3526
3527 PR gdb/17017
3528 * gdb.python/py-xmethods.cc: Add global function call counters and
3529 increment them in their respective functions. Remove "cout"
3530 statements.
3531 * gdb.python/py-xmethods.exp: Make tests check the global function
3532 call counters instead of depending on inferior IO.
3533
a1aa2221
LM
35342014-06-18 Don Breazeal <donb@codesourcery.com>
3535
3536 * gdb.base/foll-fork.exp (default_fork_parent_follow):
3537 Deleted procedure.
3538 (explicit_fork_parent_follow): Deleted procedure.
3539 (explicit_fork_child_follow): Deleted procedure.
3540 (test_follow_fork): New procedure.
3541 (do_fork_tests): Replace calls to deleted procedures with
3542 calls to test_follow_fork and reset GDB for subsequent
3543 procedure calls.
3544
0fc05997
YQ
35452014-06-17 Yao Qi <yao@codesourcery.com>
3546
3547 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
3548 CP1252.
3549
70795c52
LM
35502014-06-17 Luis Machado <lgustavo@codesourcery.com>
3551
3552 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
3553 Initialize ptr and S explicitly.
3554 (skip_type_update_when_not_use_rtti_test): Likewise.
3555
6be47f0c
KS
35562014-06-16 Keith Seitz <keiths@redhat.com>
3557
3558 PR mi/15863
3559 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
3560 the inferior is started.
3561
d03de421
PA
35622014-06-16 Pedro Alves <palves@redhat.com>
3563
3564 * gdb.base/break-main-file-remove-fail.c: New file.
3565 * gdb.base/break-main-file-remove-fail.exp: New file.
3566 * gdb.base/break-unload-file.exp: Use build_executable instead of
3567 prepare_for_testing.
3568 (test_break): New parameter "initial_load". Handle it.
3569 (top level): Add initial_load cmdline/file axis.
3570
f9579b99
TT
35712014-06-12 Tom Tromey <tromey@redhat.com>
3572
3573 * gdb.base/completion.exp: Don't use directory name in test.
3574
3657956b
GB
35752014-06-09 Gary Benson <gbenson@redhat.com>
3576
3577 * gdb.base/sigall.c [Functions to send signals]: Reorder to
3578 separate the always-available ANSI-standard signals from the
3579 signals that require checking.
3580 (main): Likewise.
3581 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
3582 Likewise.
3583 (main): Likewise.
3584
4186eb54
KS
35852014-06-07 Keith Seitz <keiths@redhat.com>
3586
3587 Revert:
3588 PR c++/16253
3589 * gdb.cp/var-tag.cc: New file.
3590 * gdb.cp/var-tag.exp: New file.
3591 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3592 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3593 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3594 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3595
25326a28 35962014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
3597
3598 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
3599
829155c9
PA
36002014-06-06 Pedro Alves <palves@redhat.com>
3601
3602 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
3603 in target debug output instead of looking at RSP packets,
3604 disabling the test on any target that uses hardware stepping.
3605 Update comments.
3606
61c8d22e
PA
36072014-06-06 Pedro Alves <palves@redhat.com>
3608
3609 * gdb.base/break-unload-file.exp: Fix typo.
3610
d9a47287
YQ
36112014-06-06 Yao Qi <yao@codesourcery.com>
3612
3613 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
3614 from "jit_function" to "^jit_function".
3615
e5e01dbf
YQ
36162014-06-06 Yao Qi <yao@codesourcery.com>
3617
3618 * gdb.base/async.c (foo): Add one statement.
3619 * gdb.base/async.exp: Get the next instruction address and
3620 match the output of "nexti" by instruction address. Match
3621 the hex address in the output of "finish".
3622
73ba372c
GB
36232014-06-06 Gary Benson <gbenson@redhat.com>
3624
3625 * gdb.base/call-signals.c: Remove preprocessor conditionals
3626 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
3627 SIGSEGV and SIGTERM.
3628 * gdb.base/sigall.c: Likewise.
3629 * gdb.base/unwindonsignal.c: Likewise.
3630 * gdb.reverse/sigall-reverse.c: Likewise.
3631
831517df
YQ
36322014-06-06 Yao Qi <yao@codesourcery.com>
3633
3634 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
3635 readable, skip the test.
3636
b8b91e98
YQ
36372014-06-06 Yao Qi <yao@codesourcery.com>
3638
3639 * gdb.threads/staticthreads.c (thread_function): Move the line
3640 setting breakpoint on forward.
3641 * gdb.threads/staticthreads.exp: Update comments.
3642
fb934770
LC
36432014-06-05 Ludovic Courtès <ludo@gnu.org>
3644
3645 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
3646 "history-append! type error".
3647
6ef284bd
SM
36482014-06-05 Simon Marchi <simon.marchi@ericsson.com>
3649
3650 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
3651 erroneous dprintf expected input.
3652
a872e241
DE
36532014-06-04 Doug Evans <xdje42@gmail.com>
3654
3655 * gdb.guile/scm-generics.exp: Delete.
3656
16f691fb
DE
36572014-06-04 Doug Evans <xdje42@gmail.com>
3658
3659 * gdb.guile/scm-breakpoint.exp: Update.
3660 Add tests for breakpoint registration.
3661
012370f6
TT
36622014-06-04 Tom Tromey <tromey@redhat.com>
3663
3664 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
3665 VLA-in-union.
3666 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
3667 inner_vla_struct, vla_union types. Initialize objects of those
3668 types and compute their sizes.
3669
9f5a4cef
HZ
36702014-06-04 Nathan Sidwell <nathan@codesourcery.com>
3671 Hui Zhu <hui@codesourcery.com>
3672
3673 * gdb.base/fileio.exp: Add test for shell not available as well as
3674 available.
3675 * gdb.base/fileio.c (test_system): Check for shell twice.
3676
90a45c4d
YQ
36772014-06-04 Yao Qi <yao@codesourcery.com>
3678
3679 * gdb.base/auto-connect-native-target.exp: Remove redundant
3680 space from the regexp pattern.
3681
70017e41
YQ
36822014-06-04 Yao Qi <yao@codesourcery.com>
3683
3684 * gdb.base/default.exp: Replace "child" with "native" in
3685 regexp pattern.
3686
883964a7
SC
36872014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3688
3689 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
3690 * gdb.python/py-xmethods.exp: New tests to test xmethods.
3691 * gdb.python/py-xmethods.py: Python script supporting the
3692 new testcase and tests.
3693
ef370185
JB
36942014-06-03 Joel Brobecker <brobecker@adacore.com>
3695 Pedro Alves <palves@redhat.com>
3696
3697 PR breakpoints/17000
3698 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
3699 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
3700
1e2ccb61
BM
37012014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
3702
3703 * gdb.base/subst.exp: Add tests to verify partial path matching
3704 output.
3705
c6ec5ab2
PA
37062014-06-03 Pedro Alves <palves@redhat.com>
3707
3708 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
3709 target that doesn't use software single-stepping.
3710
835c559f
PA
37112014-06-03 Pedro Alves <palves@redhat.com>
3712
3713 PR breakpoints/17000
3714 * gdb.base/sss-bp-on-user-bp-2.c: New file.
3715 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
3716
06eb1586
DE
37172014-06-02 Doug Evans <xdje42@gmail.com>
3718
3719 * gdb.guile/scm-parameter.exp: New file.
3720
e698b8c4
DE
37212014-06-02 Doug Evans <xdje42@gmail.com>
3722
3723 * gdb.guile/scm-cmd.c: New file.
3724 * gdb.guile/scm-cmd.exp: New file.
3725
ded03782
DE
37262014-06-02 Doug Evans <xdje42@gmail.com>
3727
3728 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
3729 pretty-printer lookup.
3730 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
3731 (make-pp_s-printer): Call it.
3732 (make-pretty-printer-from-dict): New function.
3733 (lookup-pretty-printer-maker-from-dict): New function.
3734 (*pretty-printer*): Simplify.
3735 (make-objfile-pp_s-printer): New function.
3736 (install-objfile-pretty-printers!): New function.
3737 (make-progspace-pp_s-printer): New function.
3738 (install-progspace-pretty-printers!): New function.
3739 * gdb.guile/scm-progspace.c: New file.
3740 * gdb.guile/scm-progspace.exp: New file.
3741
41fac0cf
PA
37422014-06-02 Pedro Alves <palves@redhat.com>
3743
3744 * gdb.base/dprintf-bp-same-addr.c: New file.
3745 * gdb.base/dprintf-bp-same-addr.exp: New file.
3746
96ae5695
EBM
37472014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3748
3749 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
3750 * gdb.arch/powerpc-power.s: Likewise.
3751
da02b3a8
JB
37522014-06-02 Joel Brobecker <brobecker@adacore.com>
3753
3754 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
3755
c72b2e7b
YQ
37562014-06-01 Yao Qi <yao@codesourcery.com>
3757
3758 * gdb.base/watchpoint.exp (test_watch_location): Check null
3759 pointer can be dereferenced. If not, do the test, otherwise
3760 skip it.
3761
53e8a631
AB
37622014-05-30 Andrew Burgess <aburgess@broadcom.com>
3763
3764 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
3765 results.
3766 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
3767
938f0e2f
AB
37682014-05-30 Andrew Burgess <aburgess@broadcom.com>
3769
3770 * gdb.arch/amd64-invalid-stack-middle.S: New file.
3771 * gdb.arch/amd64-invalid-stack-middle.c: New file.
3772 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
3773 * gdb.arch/amd64-invalid-stack-top.c: New file.
3774 * gdb.arch/amd64-invalid-stack-top.exp: New file.
3775
9ba6657a
PA
37762014-05-30 Pedro Alves <palves@redhat.com>
3777
3778 PR breakpoints/17000
3779 * gdb.base/sss-bp-on-user-bp.c: New file.
3780 * gdb.base/sss-bp-on-user-bp.exp: New file.
3781
522c09bf
DB
37822014-05-30 David Blaikie <dblaikie@gmail.com>
3783
3784 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
3785 gnu_inline semantics via attribute.
3786 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
3787 source explicitly specifies the required semantics.
3788
bf4ef81e
MR
37892014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
3790
3791 * gdb.reverse/sigall-reverse.exp: Fix a typo.
3792
329ea579
PA
37932014-05-29 Pedro Alves <palves@redhat.com>
3794 Tom Tromey <tromey@redhat.com>
3795
3796 * gdb.base/async-shell.exp: Don't enable target-async.
3797 * gdb.base/async.exp
3798 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
3799 parameter. Adjust.
3800 (top level): Don't test with "target-async".
3801 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
3802 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
3803 * gdb.base/inferior-died.exp: Don't enable target-async.
3804 * gdb.base/interrupt-noterm.exp: Likewise.
3805 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
3806 * gdb.mi/mi-nonstop-exit.exp: Likewise.
3807 * gdb.mi/mi-nonstop.exp: Likewise.
3808 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
3809 * gdb.mi/mi-nsintrall.exp: Likewise.
3810 * gdb.mi/mi-nsmoribund.exp: Likewise.
3811 * gdb.mi/mi-nsthrexec.exp: Likewise.
3812 * gdb.mi/mi-watch-nonstop.exp: Likewise.
3813 * gdb.multi/watchpoint-multi.exp: Adjust comment.
3814 * gdb.python/py-evsignal.exp: Don't enable target-async.
3815 * gdb.python/py-evthreads.exp: Likewise.
3816 * gdb.python/py-prompt.exp: Likewise.
3817 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
3818 * gdb.server/solib-list.exp: Don't enable target-async.
3819 * gdb.threads/thread-specific-bp.exp: Likewise.
3820 * lib/mi-support.exp: Adjust to use mi-async.
3821
fd664c91
PA
38222014-05-29 Pedro Alves <palves@redhat.com>
3823
3824 PR gdb/13860
3825 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
3826 reason, even in sync mode.
3827
251bde03
PA
38282014-05-29 Pedro Alves <palves@redhat.com>
3829 Hui Zhu <hui@codesourcery.com>
3830
3831 PR PR15693
3832 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
3833 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
3834 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
3835 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
3836
7f3c0343
JB
38372014-05-28 Joel Brobecker <brobecker@adacore.com>
3838
3839 * config/monitor.exp (gdb_target_monitor): Replace use of
3840 "set remotebaud" by "set serial baud".
3841
b2715b27
AW
38422014-05-26 Andy Wingo <wingo@igalia.com>
3843
3844 * gdb.guile/scm-breakpoint.exp:
3845 * gdb.guile/scm-gsmob.exp: Update to use plain old object
3846 properties instead of gdb-object-properties.
3847
498a4489
YQ
38482014-05-26 Yao Qi <yao@codesourcery.com>
3849
3850 * gdb.server/no-thread-db.exp: Specify source file name
3851 explicitly when setting a breakpoint.
3852
589fdceb
MM
38532014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3854
3855 * gdb.btrace/vdso.c: New.
3856 * gdb.btrace/vdso.exp: New.
3857
e9089e05
MM
38582014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3859
3860 * gdb.base/gcore.exp (capture_command_output): Move ...
3861 * lib/gdb.exp (capture_command_output): ... here.
3862
67b5c0c1
MM
38632014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3864
3865 * gdb.btrace/data.exp: Test memory access during btrace replay.
3866
a2199296
SM
38672014-05-22 Simon Marchi <simon.marchi@ericsson.com>
3868
3869 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
3870
17b2616c
PA
38712014-05-21 Pedro Alves <palves@redhat.com>
3872
3873 PR gdb/13860
3874 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
3875 (top level): Test that output related to execution commands is
3876 sent to the console with CLI commands, but not with MI commands.
3877 Test that breakpoint events are always mirrored to the console.
3878 Also expect the new source line to be output after a "next" in
3879 async mode too. Make it a pass/fail test.
3880 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
3881 output.
3882 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
3883
5166082f
PA
38842014-05-21 Pedro Alves <palves@redhat.com>
3885
3886 * gdb.base/list.exp (build_pattern, test_list): New procedures.
3887 Use them to test variations of "list" after reaching a breakpoint.
3888 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
3889 Test "list" with listsize 10 after reaching a breakpoint.
3890 * gdb.python/python.exp (decode_line current location line
3891 number): Adjust expected line number.
3892
2f25d70f
SM
38932014-05-21 Simon Marchi <simon.marchi@ericsson.com>
3894
3895 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
3896 behavior for $args, pass it directly to "run".
3897
ff604a67
MR
38982014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3899
3900 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
3901 30000 to 65536.
3902
6a3cb8e8
PA
39032014-05-21 Pedro Alves <palves@redhat.com>
3904
3905 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
3906 auto-connect-native-target off".
3907 * gdb.base/auto-connect-native-target.c: New file.
3908 * gdb.base/auto-connect-native-target.exp: New file.
3909
4ebfc96e
PA
39102014-05-21 Pedro Alves <palves@redhat.com>
3911
3912 * gdb.base/default.exp: Test "target native" instead of "target
3913 child".
3914
36d46afb
MW
39152014-05-21 Mark Wielaard <mjw@redhat.com>
3916
3917 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3918
5876f503
JK
39192014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3920
3921 Fix TLS access for -static -pthread.
3922 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
3923 <HAVE_TLS> (thread_function, main): Initialize it.
3924 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
3925 Add clean_restart.
3926 <$have_tls != "">: Check TLSVAR.
3927
0256a6ac
PA
39282014-05-21 Pedro Alves <palves@redhat.com>
3929
3930 * gdb.base/dcache-line-read-error.c: New.
3931 * gdb.base/dcache-line-read-error.exp: New.
3932
936d2992
PA
39332014-05-20 Pedro Alves <palves@redhat.com>
3934
3935 * gdb.base/compare-sections.c: New file.
3936 * gdb.base/compare-sections.exp: New file.
3937
802e8e6d
PA
39382014-05-20 Pedro Alves <palves@redhat.com>
3939
3940 * gdb.base/break-idempotent.c: New file.
3941 * gdb.base/break-idempotent.exp: New file.
3942
e59fa00f
MM
39432014-05-20 Markus Metzger <markus.t.metzger@intel.com>
3944
3945 * gdb.btrace/nohist.exp: New.
3946
8b696e31
YQ
39472014-05-20 Yao Qi <yao@codesourcery.com>
3948
3949 * lib/gdb.exp (gdb_init): Set timeout if test file is under
3950 gdb.reverse directory and gdb_reverse_timeout exists in board
3951 setting.
3952 * README: Document gdb_reverse_timeout.
3953
73c9764f
YQ
39542014-05-20 Yao Qi <yao@codesourcery.com>
3955
3956 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
3957 'test_file_name'. Treat args as a string instead of a list.
3958 (gdb_init): Rename argument 'args' by 'test_file_name'.
3959
f1f4348a
JK
39602014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3961
3962 * gdb.arch/powerpc-power.exp: New file.
3963 * gdb.arch/powerpc-power.s: New file.
3964
0dbe70ce
DE
39652014-05-16 Doug Evans <dje@google.com>
3966
3967 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
3968 * gdb.base/completion.exp: Check that all expected files exist
3969 before doing file completion.
0dbe70ce 3970
8d551b02
DE
39712014-05-16 Doug Evans <dje@google.com>
3972
3973 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
3974 Update.
3975 (do_syscall_tests_without_xml): Update.
3976
73eb7709
PA
39772014-05-16 Pedro Alves <palves@redhat.com>
3978
3979 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
3980 instead of "unknown output after running".
3981
3fae92fc
YQ
39822014-05-16 Yao Qi <yao@codesourcery.com>
3983
3984 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
3985 file1.txt from host at the end.
3986 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3987
c2b2ccc5
DE
39882014-05-15 Doug Evans <dje@google.com>
3989
3990 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
3991 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
3992 loading file. Add test for TU lookup.
3993
8c217a4b
SM
39942014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3995
3996 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
3997 calling "-exec-arguments" or "set args" before running the
3998 inferior.
3999
3deb39c6
SM
40002014-05-15 Simon Marchi <simon.marchi@ericsson.com>
4001
4002 * lib/mi-support.exp (mi_expect_stop): Expect message for
4003 inferiors that exit with non-zero exit code.
4004
71a79f8c
YQ
40052014-05-14 Yao Qi <yao@codesourcery.com>
4006
4007 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
4008 match absolute path on remote host.
4009 (test_file_list_exec_source_files): Remove "/" from the
4010 pattern.
4011
f23fcd46
YQ
40122014-05-14 Yao Qi <yao@codesourcery.com>
4013
4014 * boards/local-remote-host-notty.exp (${board}_file): New
4015 proc.
4016
9404b58f
KM
40172014-05-07 Kyle McMartin <kyle@redhat.com>
4018
4019 Pushed by Joel Brobecker <brobecker@adacore.com>.
4020 * gdb.arch/aarch64-atomic-inst.c: New file.
4021 * gdb.arch/aarch64-atomic-inst.exp: New file.
4022
5e45f04c
YQ
40232014-05-07 Yao Qi <yao@codesourcery.com>
4024
4025 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
4026 in current context" too.
4027
c888a17d
KS
40282014-05-05 Keith Seitz <keiths@redhat.com>
4029
4030 * gdb.linespec/ls-dollar.exp: Add test for linespec
4031 file:convenience_variable.
4032
290a839c
YQ
40332014-05-05 Yao Qi <yao@codesourcery.com>
4034
4035 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
4036 traceframes into tfile and ctf trace files. Read data from
4037 trace file and test collected data.
4038 (gdb_collect_locals_test): Likewise.
4039 (gdb_unavailable_registers_test): Likewise.
4040 (gdb_unavailable_floats): Likewise.
4041 (gdb_collect_globals_test): Likewise.
4042 (top-level): Append "ctf" to trace_file_targets if GDB
4043 supports.
4044
b5262cd0
YQ
40452014-05-05 Yao Qi <yao@codesourcery.com>
4046
4047 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
4048 code to ...
4049 (gdb_collect_args_test_1): ... it. New proc.
4050 (gdb_collect_locals_test): Move some code to ...
4051 (gdb_collect_locals_test_1): ... it. New proc.
4052 (gdb_unavailable_registers_test): Move some code to ...
4053 (gdb_unavailable_registers_test_1): ... it. New proc.
4054 (gdb_unavailable_floats): Move some code to ...
4055 (gdb_unavailable_floats_1): ... it. New proc.
4056
30a1e6cc
SDJ
40572014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4058
4059 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
4060 probes to test for bitness recognition.
4061 * gdb.arch/amd64-stap-optional-prefix.exp
4062 (test_probe_value_without_reg): New procedure.
4063 Add code to test for different kinds of bitness.
4064
f33da99a
SDJ
40652014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4066
4067 PR breakpoints/16889
4068 * gdb.arch/amd64-stap-optional-prefix.S: New file.
4069 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
4070
5b80f00d
PA
40712014-05-01 Pedro Alves <palves@redhat.com>
4072
4073 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
4074 gdb_file_cmd if no file is specified.
4075 * boards/native-extended-gdbserver.exp (gdb_load): Use the
4076 last_loaded_file to set the remote exec-file.
4077
f8c2a73c
PA
40782014-05-01 Pedro Alves <palves@redhat.com>
4079
4080 * boards/local-remote-host.exp: New file.
4081
be6e8ac7
PA
40822014-05-01 Pedro Alves <palves@redhat.com>
4083
4084 * boards/local-remote-host.exp: Rename to ...
4085 * boards/local-remote-host-notty.exp: ... this.
4086
cac0dc8f
JB
40872014-04-28 Joel Brobecker <brobecker@adacore.com>
4088
4089 * gdb.ada/dyn_arrayidx: New testcase.
4090
9730e6cc
YQ
40912014-04-26 Yao Qi <yao@codesourcery.com>
4092
4093 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
4094 and compute the length of function main. Save it in
4095 $main_length.
4096 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
4097 (top-level): Use gdb_compile to compile objects into
4098 executable and restart GDB. Remove invocation to
4099 prepare_for_testing.
4100
7ae1a6a6
PA
41012014-04-25 Simon Marchi <simon.marchi@ericsson.com>
4102 Pedro Alves <palves@redhat.com>
4103
4104 PR server/16255
4105 * gdb.multi/multi-attach.c: New file.
4106 * gdb.multi/multi-attach.exp: New file.
4107
4082afcc
PA
41082014-04-25 Pedro Alves <palves@redhat.com>
4109
4110 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
4111 user.
4112 (top level): Test that "set remote conditional-breakpoints-packet
4113 off" works as intended.
4114 * gdb.base/dprintf.exp: Test that "set remote
4115 breakpoint-commands-packet off" works as intended.
4116 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
4117 New function.
4118 (top level): Call it.
4119 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
4120 remote fast-tracepoints-packet off" works as intended.
4121 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
4122 * lib/gdb.exp (gdb_is_target_remote): ... here.
4123
2abc3f8d
DB
41242014-04-24 David Blaikie <dblaikie@gmail.com>
4125
4126 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
4127 ensure clang would not discard them.
4128 * gdb.base/gdbvars.c: Ditto.
4129 * gdb.base/memattr.c: Ditto.
4130 * gdb.base/whatis.c: Ditto.
4131 * gdb.python/py-prettyprint.c: Ditto.
4132 * gdb.trace/actions.c: Ditto.
4133 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
4134 ensure clang would not discard it.
4135
bfd39632
DB
41362014-04-24 David Blaikie <dblaikie@gmail.com>
4137
4138 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
4139 clang to emit the full definition of type required by the test
4140 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
4141
22842ff6
DB
41422014-04-24 David Blaikie <dblaikie@gmail.com>
4143
4144 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
4145 coax Clang into emitting the definition of the type.
4146 * gdb.cp/pr10728-x.h (y): Ditto.
4147 * gdb.cp/pr10728-y.cc (y): Ditto.
4148
c2e827ad
DB
41492014-04-24 David Blaikie <dblaikie@gmail.com>
4150
4151 * gdb.base/label.exp: XFAIL label related tests under Clang.
4152 * gdb.cp/cplabel.exp: Ditto.
4153 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
4154 under Clang those using labels.
4155
4c2d33e7
YQ
41562014-04-25 Yao Qi <yao@codesourcery.com>
4157
4158 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
4159 double_label.
4160 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
4161 partial_label and double_label.
4162
56083b99
DB
41632014-04-24 David Blaikie <dblaikie@gmail.com>
4164
4165 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
4166
25d4e99d
DB
41672014-04-24 David Blaikie <dblaikie@gmail.com>
4168
4169 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
4170 of the function to work across GCC and Clang.
4171 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
4172 pointer types (const void ** const V void **).
4173
01f9f808
MS
41742014-04-24 Michael Sturm <michael.sturm@mintel.com>
4175 Walfred Tedeschi <walfred.tedeschi@intel.com>
4176
4177 * Makefile.in (EXECUTABLES): Added i386-avx512.
4178 * gdb.arch/i386-avx512.c: New file.
4179 * gdb.arch/i386-avx512.exp: Likewise.
4180
4b48d439
KS
41812014-04-23 Keith Seitz <keiths@redhat.com>
4182
4183 * lib/mi-support.exp (mi_list_breakpoints): Delete.
4184 (mi_make_breakpoint_table): New procedure.
4185 (mi_create_breakpoint): Use mi_make_breakpoint
4186 and return the result.
4187 (mi_make_breakpoint): New procedure.
4188 (mi_build_kv_pairs): New procedure.
4189
4190 * gdb.mi/mi-break.exp: Remove unused globals,
4191 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
4192 All callers updated.
4193 * gdb.mi/mi-dprintf.exp: Use variable to track command
4194 number.
4195 Update all callers of mi_create_breakpoint and use
4196 mi_make_breakpoint_table.
4197 Remove any unused global variables.
4198 * gdb.mi/mi-nonstop.exp: Likewise.
4199 * gdb.mi/mi-nsintrall.exp: Likewise.
4200 * gdb.mi/mi-nsmoribund.exp: Likewise.
4201 * gdb.mi/mi-nsthrexec.exp: Likewise.
4202 * gdb.mi/mi-reverse.exp: Likewise.
4203 * gdb.mi/mi-simplerun.exp: Likewise.
4204 * gdb.mi/mi-stepn.exp: Likewise.
4205 * gdb.mi/mi-syn-frame.exp: Likewise.
4206 * gdb.mi/mi-until.exp: Likewise.
4207 * gdb.mi/mi-var-cp.exp: Likewise.
4208 * gdb.mi/mi-var-display.exp: Likewise.
4209 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
4210 * gdb.mi/mi2-var-child.exp: Likewise.
4211 * gdb.mi/mi-vla-c99.exp: Likewise.
4212 * lib/mi-support.exp: Likewise.
4213
4214 From Ian Lance Taylor <iant@cygnus.com>:
4215 * lib/gdb.exp (parse_args): New procedure.
4216
08351840
PA
42172014-04-23 Pedro Alves <palves@redhat.com>
4218
4219 * gdb.base/break-unload-file.c: New file.
4220 * gdb.base/break-unload-file.exp: New file.
4221 * gdb.base/sym-file-lib.c (baz): New function.
4222 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
4223 field.
4224 (load): Store the segment's mapped size.
4225 (unload): New function.
4226 (unload_shlib): New function.
4227 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
4228 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
4229 set a breakpoint at baz, and call it.
4230 * gdb.base/sym-file.exp: New tests for stale breakpoint
4231 instructions.
4232
076855f9
PA
42332014-04-23 Pedro Alves <palves@redhat.com>
4234
4235 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
4236 * gdb.base/hbreak-in-shr-unsupported.c: New file.
4237 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
4238 * gdb.base/hbreak-unmapped.c: New file.
4239 * gdb.base/hbreak-unmapped.exp: New file.
4240 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
4241 * lib/gdb.exp (gdb_is_target_remote): ... here.
4242
483805cf
PA
42432014-04-22 Pedro Alves <palves@redhat.com>
4244
4245 * gdb.base/consecutive-step-over.c: New file.
4246 * gdb.base/consecutive-step-over.exp: New file.
4247
06d97543
PA
42482014-04-22 Pedro Alves <palves@redhat.com>
4249
4250 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
4251 instead of send_gdb/gdb_expect.
4252
b4429ea2
YQ
42532014-04-22 Yao Qi <yao@codesourcery.com>
4254
4255 * lib/trace-support.exp (generate_tracefile): New procedure.
4256 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
4257 return 0.
4258 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
4259 if generate_tracefile returns 1.
4260
51d48146
PA
42612014-04-18 Tom Tromey <palves@redhat.com>
4262 Pedro alves <tromey@redhat.com>
4263
4264 PR backtrace/15558
4265 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
4266 with a backtrace limit.
4267 * gdb.python/py-frame-inline.exp: Test running to an inline
4268 function with a backtrace limit, and printing the newest frame.
4269 * gdb.python/py-frame-inline.c (main): Call f.
4270
bd1dce5f
MS
42712014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
4272
4273 * gdb.java/jnpe.exp: Drop srcdir from untested path.
4274
40d1a503
MS
42752014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
4276
4277 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
4278 Drop prefix from unsupported source file path.
4279
389b98f7
YQ
42802014-04-17 Yao Qi <yao@codesourcery.com>
4281
4282 * lib/gdb.exp (with_target_charset): New proc.
4283 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
4284 with_target_charset.
4285 (test_print_strings): Likewise.
4286 (test_repeat_bytes): Likewise.
4287 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
4288 for some tests.
4289
22869d73
KS
42902014-04-16 Keith Seitz <keiths@redhat.com>
4291
4292 PR gdb/15827
4293 * gdb.dwarf2/corrupt.c: New file.
4294 * gdb.dwarf2/corrupt.exp: New file.
4295
c4f87ca6
KS
42962014-04-16 Keith Seitz <keiths@redhat.com>
4297
4298 PR c++/16597
4299 * gdb.cp/namelessclass.cc: New file.
4300 * gdb.cp/namelessclass.exp: New file.
4301 * gdb.cp/namelessclass.S: New file.
4302
ab19de87
DE
43032014-04-16 Doug Evans <dje@google.com>
4304
4305 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
4306 Add comment.
4307 (gdbserver_default_get_comm_port): New function.
4308 (gdbserver_start): Check if board file provided
4309 "gdbserver,get_comm_port" and use it if so.
4310 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
4311 (gdb,socketport): Set to "stdio".
4312 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
4313 (stdio_gdbserver_template): Delete.
4314 (${board}_get_remote_address): Update.
4315 (${board}_build_remote_cmd): Delete.
4316 (${board}_get_comm_port): New function.
4317 (${board}_spawn): Update.
4318 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
4319 Delete.
4320 (${board}_get_remote_address): Update.
4321 (${board}_get_comm_port): New function.
4322
fc98a809
AB
43232014-04-16 Andrew Burgess <aburgess@broadcom.com>
4324
4325 * gdb.base/memattr.exp: Improve regexps to handle memory regions
4326 appearing in any order.
4327
87fd9e6e
DE
43282014-04-15 Doug Evans <dje@google.com>
4329
4330 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
4331 uninitialized value of "description".
4332
099fc3ea
KS
43332014-04-15 Keith Seitz <keiths@redhat.com>
4334
4335 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
4336 Remove unused globals.
4337 (test_running_the_program): Likewise.
4338 (test_controlled_execution): Likewise.
4339 (test_controlling_breakpoints): Likewise.
4340 (test_program_termination): Likewise.
4341
5da151d4
KS
43422014-04-15 Keith Seitz <keiths@redhat.com>
4343
4344 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
4345 unused globals.
4346 (test_rbreak_creation_and_listing): Likewise.
4347 (test_ignore_count): Likewise.
4348 (test_error): Likewise.
4349
35e5d2f0
PA
43502014-04-15 Pedro Alves <palves@redhat.com>
4351
4352 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
4353 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
4354 sym-file-loader.c.
4355 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4356 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4357 to sym-file-loader.c.
4358 (struct library): Forward declare.
4359 (load_shlib, lookup_function): Change prototypes.
4360 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4361 (translate_offset): Remove declarations.
4362 (get_text_addr): New declaration.
4363 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
4364 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
4365 sym-file-loader.h.
4366 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4367 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4368 here from sym-file-loader.h.
4369 (struct library): New structure.
4370 (load_shlib, lookup_function): Change prototypes and adjust to
4371 work with a struct library.
4372 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4373 (translate_offset): Make static.
4374 (get_text_addr): New function.
4375 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
4376
eb4c1710
PA
43772014-04-15 Pedro Alves <palves@redhat.com>
4378
4379 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
4380
2d1baf52
PA
43812014-04-15 Pedro Alves <palves@redhat.com>
4382
4383 * gdb.base/sym-file-loader.c: Include <limits.h>.
4384 (SELF_LINK): New define.
4385 (get_origin): New function.
4386 (load_shlib): Use it.
4387 * gdb.base/sym-file.exp: Don't early return if the target is
4388 remote. Use runto_main, and issue fail is that fails. Use
4389 gdb_load_shlibs.
4390 (shlib_name): Delete.
4391 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
4392
7dd6df01
PA
43932014-04-15 Pedro Alves <palves@redhat.com>
4394
4395 * gdb.base/sym-file.exp: Remove regex characters from test
4396 message. Don't refer to breakpoint numbers in test messages.
4397
b50c8614
KS
43982014-04-14 Keith Seitz <keiths@redhat.com>
4399
4400 PR c++/16253
4401 * gdb.cp/var-tag.cc: New file.
4402 * gdb.cp/var-tag.exp: New file.
4403 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4404 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4405 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4406 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4407
3d567982
TT
44082014-04-14 Tom Tromey <tromey@redhat.com>
4409
4410 * gdb.cp/classes.exp (test_enums): Handle underlying type.
4411 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
4412 type.
4413 * gdb.cp/enum-class.exp: New file.
4414 * gdb.cp/enum-class.cc: New file.
4415
0626fc76
TT
44162014-04-14 Tom Tromey <tromey@redhat.com>
4417
4418 * gdb.dwarf2/enum-type.exp: New file.
4419
dca325b3
SA
44202014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4421
4422 * gdb.mi/mi-vla-c99.exp: New file.
4423 * gdb.mi/vla.c: New file.
4424
5854b38a
SA
44252014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4426
4427 * gdb.base/vla-datatypes.c: New file.
4428 * gdb.base/vla-datatypes.exp: New file.
4429
463bb957
SA
44302014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4431
4432 * gdb.base/vla-ptr.c: New file.
4433 * gdb.base/vla-ptr.exp: New file.
4434
3dd170be
SA
44352014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4436
4437 * gdb.dwarf2/count.exp: New file.
4438
5ecaaa66
SA
44392014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4440
4441 * gdb.base/vla-sideeffect.c: New file.
4442 * gdb.base/vla-sideeffect.exp: New file.
4443
41f1ada5
DB
44442014-04-14 David Blaikie <dblaikie@gmail.com>
4445
4446 * gdb.mi/non-stop.c: Add return value for non-void function return
4447 statement.
4448 * gdb.threads/staticthreads.c: Ditto.
4449
0be03e84
DE
44502014-04-12 Siva Chandra Reddy <sivachandra@google.com>
4451 Doug Evans <xdje42@gmail.com>
4452
4453 * gdb.guile/scm-value.c: Improve test case.
4454 * gdb.guile/scm-value.exp: Add new test.
4455
f180a1fb
DB
44562014-04-11 David Blaikie <dblaikie@gmail.com>
4457
4458 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
4459 override Clang's default.
4460
6b662e19
JB
44612014-04-11 Joel Brobecker <brobecker@adacore.com>
4462
4463 Revert the following changes (regressions):
4464
4465 * gdb.base/vla-sideeffect.c: New file.
4466 * gdb.base/vla-sideeffect.exp: New file.
4467
4468 * gdb.dwarf2/count.exp: New file.
4469
4470 * gdb.base/vla-multi.c: New file.
4471 * gdb.base/vla-multi.exp: New file.
4472
4473 * gdb.base/vla-ptr.c: New file.
4474 * gdb.base/vla-ptr.exp: New file.
4475
4476 * gdb.base/vla-datatypes.c: New file.
4477 * gdb.base/vla-datatypes.exp: New file.
4478
4479 * gdb.mi/mi-vla-c99.exp: New file.
4480 * gdb.mi/vla.c: New file.
4481
245a5f0b
KS
44822014-04-11 Keith Seitz <keiths@redhat.com>
4483
4484 PR c++/16675
4485 * gdb.cp/cpsizeof.exp: New file.
4486 * gdb.cp/cpsizeof.cc: New file.
4487
58a84dcf
SA
44882014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4489
191a8a90
JB
4490 * gdb.mi/mi-vla-c99.exp: New file.
4491 * gdb.mi/vla.c: New file.
58a84dcf 4492
c8655f75
SA
44932014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4494
4495 * gdb.base/vla-datatypes.c: New file.
4496 * gdb.base/vla-datatypes.exp: New file.
4497
024e13b4
SA
44982014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4499
4500 * gdb.base/vla-ptr.c: New file.
4501 * gdb.base/vla-ptr.exp: New file.
4502
1a237e0e
SA
45032014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4504
4505 * gdb.base/vla-multi.c: New file.
4506 * gdb.base/vla-multi.exp: New file.
4507
504f3432
SA
45082014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4509
4510 * gdb.dwarf2/count.exp: New file.
4511
3bce8237
SA
45122014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4513
191a8a90
JB
4514 * gdb.base/vla-sideeffect.c: New file.
4515 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 4516
322f9c21
YQ
45172014-04-11 Yao Qi <yao@codesourcery.com>
4518
4519 * gdb.base/completion.exp: Check file exists before running tests
4520 on file completion.
4521
d708bcd1
PA
45222014-04-10 Pedro Alves <palves@redhat.com>
4523
4524 * gdb.base/cond-eval-mode.c: New file.
4525 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
4526 prepare_for_testing to build the new file. Check result of
4527 runto_main.
4528 (test_break, test_watch): New procedures.
4529 (top level): Use them.
4530
ae1d2761
PM
45312014-04-08 Pierre Muller <muller@sourceware.org>
4532
4533 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
4534 Ctrl-V use for mingw hosts.
4535
7af389b8
SC
45362014-04-07 Siva Chandra Reddy <sivachandra@google.com>
4537
4538 * gdb.python/py-value.c: Improve test case.
4539 * gdb.python/py-value.exp: Add new test.
4540
5e703181
DE
45412014-04-07 David Blaikie <dblaikie@gmail.com>
4542
4543 * lib/compiler.c: Identify the clang compiler.
4544 * lib/compiler.cc: Ditto.
4545
9810b410
YQ
45462014-04-03 Yao Qi <yao@codesourcery.com>
4547
4548 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
4549
98d1b8dc
AB
45502014-04-01 Anton Blanchard <anton@samba.org>
4551
4552 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
4553 messages unique.
4554
3114cea1
AB
45552014-04-01 Anton Blanchard <anton@samba.org>
4556
4557 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
4558 prepare_for_testing.
4559
62f7182c
AB
45602014-04-01 Anton Blanchard <anton@samba.org>
4561
4562 * gdb.arch/ppc64-atomic-inst.c: Remove.
4563 * gdb.arch/ppc64-atomic-inst.S: New file.
4564 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
4565
770e7fc7
DE
45662014-03-31 Doug Evans <dje@google.com>
4567
4568 * gdb.base/print-symbol-loading-lib.c: New file.
4569 * gdb.base/print-symbol-loading-main.c: New file.
4570 * gdb.base/print-symbol-loading.exp: New file.
4571
46e2bafa
YQ
45722014-03-31 Yao Qi <yao@codesourcery.com>
4573
4574 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
4575
8776cfe9
JB
45762014-03-28 Joel Brobecker <brobecker@adacore.com>
4577
4578 * gdb.ada/mi_dyn_arr: New testcase.
4579
5d1ef361
DE
45802014-03-27 Doug Evans <dje@google.com>
4581
4582 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
4583
b5bee914
YQ
45842014-03-27 Yao Qi <yao@codesourcery.com>
4585
4586 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
4587 if target is nios2-*-*.
4588
0d4d0e77
YQ
45892014-03-26 Yao Qi <yao@codesourcery.com>
4590
4591 * lib/gdb.exp (readline_is_used): New proc.
4592 * gdb.base/completion.exp: Move tests on command complete up.
4593 Skip the rest of tests if readline is not used.
4594 * gdb.ada/complete.exp: Skp the test if readline is not
4595 used.
4596 * gdb.base/filesym.exp: Likewise.
4597 * gdb.base/macscp.exp: Likewise.
4598 * gdb.base/readline-ask.exp: Likewise.
4599 * gdb.base/readline.exp: Likewise.
4600 * gdb.python/py-cmd.exp: Likewise.
4601 * gdb.trace/tfile.exp: Likewise.
4602
29361eee
YQ
46032014-03-26 Yao Qi <yao@codesourcery.com>
4604
4605 * gdb.base/macscp.exp: Fix code format issues.
4606
bc9a5525
UW
46072014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
4608
4609 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
4610 * gdb.asm/powerpc64le.inc: New file.
4611
d3839ede
PA
46122014-03-25 Pedro Alves <palves@redhat.com>
4613 Doug Evans <dje@google.com>
4614
4615 * gdb.base/source-execution.c: New file.
4616 * gdb.base/source-execution.exp: New file.
4617 * gdb.base/source-execution.gdb: New file.
4618
01672a57
DE
46192014-03-24 Doug Evans <dje@google.com>
4620
4621 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
4622 using fission.
4623
88bbeca9
HZ
46242014-03-24 Hui Zhu <hui@codesourcery.com>
4625 Pedro Alves <palves@redhat.com>
4626
4627 PR breakpoints/16101
4628 * gdb.base/dprintf.exp: Use unsupported rather than changing the
4629 test pass/fail messages. Detect missing support for dprintf when
4630 breakpoints are actually inserted.
4631 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
4632 breakpoints are actually inserted.
4633 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
4634 fails.
4635
d2348791
JK
46362014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4637
4638 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
4639
feef67ab
DE
46402014-03-22 Doug Evans <xdje42@gmail.com>
4641
4642 * gdb.python/python.exp (python not supported): Verify multi-line
4643 python command issues an error.
25d743f9 4644 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 4645 guile command issues an error.
feef67ab 4646
ecebef6a
MR
46472014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
4648
4649 * gdb.threads/thread-specific.exp: Handle the lack of usable
4650 $this_breakpoint and $this_thread.
4651
ccdd1909
HZ
46522014-03-21 Hui Zhu <hui@codesourcery.com>
4653
4654 * gdb.base/attach.exp (do_command_attach_tests): New.
4655
beb460e8
PA
46562014-03-20 Tom Tromey <tromey@redhat.com>
4657 Pedro Alves <palves@redhat.com>
4658
4659 PR cli/15718
4660 * gdb.base/condbreak-call-false.c: New file.
4661 * gdb.base/condbreak-call-false.exp: New file.
4662
40acf43a
PA
46632014-03-20 Pedro Alves <palves@redhat.com>
4664
4665 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
4666 Delete.
4667 (block_signals, unblock_signals): Delete.
4668 (child_function_2, main): Remove references to deleted variable
4669 and functions.
4670
9f5e1e02
PA
46712014-03-20 Pedro Alves <palves@redhat.com>
4672
4673 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
4674 Use pthread_kill to signal thread 2.
4675 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4676 Adjust to make the test send itself a signal rather than using the
4677 host's "kill" command.
4678
99619bea
PA
46792014-03-20 Pedro Alves <palves@redhat.com>
4680
4681 * gdb.threads/multiple-step-overs.c: New file.
4682 * gdb.threads/multiple-step-overs.exp: New file.
4683 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4684 Adjust expected infrun debug output.
4685
2adfaa28
PA
46862014-03-20 Pedro Alves <palves@redhat.com>
4687
4688 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
4689 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
4690
31e77af2
PA
46912014-03-20 Pedro Alves <palves@redhat.com>
4692
4693 PR breakpoints/7143
4694 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
4695 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
4696 of gdb_test_multiple.
4697 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
4698 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
4699
b9f437de
PA
47002014-03-20 Pedro Alves <palves@redhat.com>
4701
4702 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
4703 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
4704
05adc73e
PA
47052014-03-19 Pedro Alves <palves@redhat.com>
4706
4707 * gdb.base/async.exp: Remove early return.
4708
6048b950
PA
47092014-03-19 Pedro Alves <palves@redhat.com>
4710
4711 * gdb.base/async.exp (step& tests): Pass explicit test messages.
4712
8bcfb00a
PA
47132014-03-19 Pedro Alves <palves@redhat.com>
4714
4715 * gdb.base/async.exp (test_background): Expect \r\n after
4716 "completed." in the fail pattern.
4717
884e37dc
PA
47182014-03-19 Pedro Alves <palves@redhat.com>
4719
4720 * gdb.base/async.exp (test_background): New procedure.
4721 Use it for all background execution command tests.
4722
148e57e2
PA
47232014-03-19 Pedro Alves <palves@redhat.com>
4724
4725 * gdb.base/async.exp: Use prepare_for_testing.
4726
f48088c7
PA
47272014-03-19 Pedro Alves <palves@redhat.com>
4728
4729 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
4730 the same line.
4731
e2f6c966
PA
47322014-03-19 Pedro Alves <palves@redhat.com>
4733
4734 * gdb.base/async.c (main): Add "jump here" and "until here" line
4735 marker comments.
4736 * gdb.base/async.exp (jump_here): New global.
4737 (jump& test): Use it.
4738 (until_here): New global.
4739 (until& test): Use it.
4740
c30568d4
PA
47412014-03-19 Pedro Alves <palves@redhat.com>
4742
4743 * gdb.base/async.exp: Don't frob gdb_protocol.
4744
0172b6a7
DE
47452014-03-18 Doug Evans <xdje42@gmail.com>
4746
4747 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
4748 Fix spelling of exec-done-display.
4749
06c868a8
JK
47502014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4751
4752 PR gdb/15358
4753 * gdb.base/gdb-sigterm.c: New file.
4754 * gdb.base/gdb-sigterm.exp: New file.
4755
0c7e1a46
PA
47562014-03-18 Pedro Alves <palves@redhat.com>
4757
4758 PR gdb/13860
4759 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
4760 * lib/mi-support.exp (mi_expect_stop): Add special handling for
4761 solib-event.
4762
f7c77d93
JB
47632014-03-17 Joel Brobecker <brobecker@adacore.com>
4764
4765 * gdb.ada/pckd_arr_ren: New testcase.
4766
5a1e8c7a
DE
47672014-03-13 Doug Evans <xdje42@gmail.com>
4768
4769 PR guile/16612
4770 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
4771 collect after discarding symbols.
4772
350e1a76
DE
47732014-03-13 Ludovic Courtès <ludo@gnu.org>
4774 Doug Evans <xdje42@gmail.com>
4775
4776 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
4777 to history survives a gc.
4778
a69900ae
PA
47792014-03-13 Pedro Alves <palves@redhat.com>
4780
4781 * gdb.base/default.exp: Don't test "target procfs".
4782
5db9f0bd
PA
47832014-03-13 Pedro Alves <palves@redhat.com>
4784
4785 * gdb.base/default.exp: Update "target child" and "target procfs"
4786 tests to not expect "Unix".
4787
b3ccfe11
TT
47882014-03-12 Tom Tromey <tromey@redhat.com>
4789
4790 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
4791 New procs. Add target-async tests.
4792 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
4793 Add target-async tests.
4794
646f4417
AA
47952014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4796
4797 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
4798 'func_start' and 'func_end' for the beginning and end of the
4799 function code, respectively.
4800 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
4801 'func_end' instead of 'func' and 'main'.
4802
288c211f
AA
48032014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4804
4805 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
4806 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
4807 generate the debug info assembler source.
4808
e0c0f156
AA
48092014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4810
4811 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
4812 * gdb.dwarf2/arr-subrange.exp: Likewise.
4813 * gdb.dwarf2/dwz.exp: Likewise.
4814 * gdb.dwarf2/method-ptr.exp: Likewise.
4815 * gdb.dwarf2/missing-sig-type.exp: Likewise.
4816 * gdb.dwarf2/subrange.exp: Likewise.
4817 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
4818 * gdb.dwarf2/implptrpiece.exp: Likewise.
4819 * gdb.dwarf2/nostaticblock.exp: Likewise.
4820
0e5c4555
AA
48212014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4822
4823 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
4824 directory to absolute path name arguments.
4825
5ec18f2b
JG
48262014-03-10 Joel Brobecker <brobecker@adacore.com>
4827
4828 * gdb.ada/tagged_access: New testcase.
4829
847fc4f2
MM
48302014-03-07 Markus Metzger <markus.t.metzger@intel.com>
4831
4832 * gdb.btrace/data.exp: Update expected output.
4833
cc3da688
YQ
48342014-03-06 Yao Qi <yao@codesourcery.com>
4835
4836 * gdb.trace/pr16508.exp: New file.
4837
0f26cec1
PA
48382014-03-05 Pedro Alves <palves@redhat.com>
4839
4840 PR gdb/16575
4841 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
4842 procedure.
4843 (top level): Adjust to use it. Add tests that exercise breakpoint
4844 interaction with the code-cache.
4845
7a5a839f
LC
48462014-02-26 Ludovic Courtès <ludo@gnu.org>
4847
4848 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
4849 test for 'history-append!'.
4850
31aa7e4e
JB
48512014-02-26 Joel Brobecker <brobecker@adacore.com>
4852
4853 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
4854 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
4855 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
4856 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
4857 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
4858 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
4859
1b588015
JB
48602014-02-26 Joel Brobecker <brobecker@adacore.com>
4861
4862 * testsuite/gdb.python/py-pp-re-notag.c: New file.
4863 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
4864 * testsuite/gdb.python/py-pp-re-notag.p: New file.
4865
55426c9d
JB
48662014-02-26 Joel Brobecker <brobecker@adacore.com>
4867
4868 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
4869
dc53a7ad
JB
48702014-02-26 Joel Brobecker <brobecker@adacore.com>
4871
4872 * gdb.dwarf2/arr-stride.c: New file.
4873 * gdb.dwarf2/arr-stride.exp: New file.
4874
12ab52e9
PA
48752014-02-26 Pedro Alves <palves@redhat.com>
4876
4877 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
4878 that won't ever trigger. Make sure that GDB reports the correct
4879 breakpoint that caused the stop.
4880
849c862e
JK
48812014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4882
4883 PR gdb/16626
4884 * gdb.base/auto-load-script: New file.
4885 * gdb.base/auto-load.c: New file.
4886 * gdb.base/auto-load.exp: New file.
4887
71b7d793
JK
4888 PR gdb/16626
4889 * gdb.base/auto-load.exp: Fix out-of-srctree run.
4890
e2f0d509
JK
48912014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4892
4893 Fix dw2-icycle.exp -fsanitize=address GDB crash.
4894 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
4895
50cc37c8
DE
48962014-02-24 Doug Evans <dje@google.com>
4897
4898 * lib/gdb.exp (run_on_host): Log error output if program fails.
4899
ea4758f2
PA
49002014-02-21 Pedro Alves <palves@redhat.com>
4901
4902 * gdb.threads/step-after-sr-lock.c: Rename to ...
4903 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
4904 * gdb.threads/step-after-sr-lock.exp: Rename to ...
4905 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4906 ... this.
4907
d7b30f67
SDJ
49082014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
4909
4910 PR tdep/16397
4911 * gdb.arch/amd64-stap-special-operands.exp: New file.
4912 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
4913 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
4914 * gdb.arch/amd64-stap-triplet.S: Likewise.
4915 * gdb.arch/amd64-stap-triplet.c: Likewise.
4916
83deb43f
JB
49172014-02-20 Joel Brobecker <brobecker@adacore.com>
4918
4919 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
4920 in .section pseudo-op.
4921
adde2bff
DE
49222014-02-20 lin zuojian <manjian2006@gmail.com>
4923 Joel Brobecker <brobecker@adacore.com>
4924 Doug Evans <xdje42@gmail.com>
4925
4926 PR symtab/16581
4927 * gdb.dwarf2/dw2-icycle.S: New file.
4928 * gdb.dwarf2/dw2-icycle.c: New file.
4929 * gdb.dwarf2/dw2-icycle.exp: New file.
4930
f7bd0f78
SC
49312014-02-19 Siva Chandra Reddy <sivachandra@google.com>
4932
4933 * gdb.python/py-value-cc.cc: Improve test case to enable testing
4934 operations on gdb.Value objects.
4935 * gdb.python/py-value-cc.exp: Add new test to test operations on
4936 gdb.Value objects.
4937
c17ef0d5
DE
49382014-02-18 Doug Evans <dje@google.com>
4939
4940 * Makefile.in (TESTS): New variable.
4941 (expanded_tests, expanded_tests_or_none): New variables
4942 (check-single): Pass $(expanded_tests_or_none) to runtest.
4943 (check-parallel): Only run tests in $(TESTS) if non-empty.
4944 (check/no-matching-tests-found): New rule.
4945 * README: Document TESTS makefile variable.
4946
5dd3176f
DE
49472014-02-18 Doug Evans <dje@google.com>
4948
4949 * Makefile.in (check-parallel): rm -rf outputs temp.
4950
0b10be4f
JK
49512014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4952
4953 Fix "ERROR: no fileid for" in the testsuite.
4954 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
4955
85f224e7
DE
49562014-02-12 Doug Evans <dje@google.com>
4957
4958 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
4959 (MISCELLANEOUS): New variable.
4960 (clean): rm -rf $(MISCELLANEOUS).
4961 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
4962 dwp live in the same directory as symlinks, with each symlink pointed
4963 to a differently named file in a different directory.
4964
149b30ff
DE
49652014-02-11 Doug Evans <dje@google.com>
4966
4967 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
4968 of Tcl file commands.
4969
1dfdac32
MK
49702014-02-10 Mark Kettenis <kettenis@gnu.org>
4971
4972 * gdb.threads/step-after-sr-lock.exp: Avoid executing
4973 "kill -SIGUSR1 -1".
4974
aa4fb036
JB
49752014-02-10 Joel Brobecker <brobecker@adacore.com>
4976
4977 * gdb.ada/tick_length_array_enum_idx: New testcase.
4978
ed3ef339
DE
49792014-02-10 Doug Evans <xdje42@gmail.com>
4980
4981 * configure.ac (AC_OUTPUT): Add gdb.guile.
4982 * configure: Regenerate.
4983 * lib/gdb-guile.exp: New file.
4984 * lib/gdb.exp (get_target_charset): New function.
4985 * gdb.base/help.exp: Update expected output from "apropos apropos".
4986 * gdb.guile/Makefile.in: New file.
4987 * gdb.guile/guile.exp: New file.
4988 * gdb.guile/scm-arch.c: New file.
4989 * gdb.guile/scm-arch.exp: New file.
4990 * gdb.guile/scm-block.c: New file.
4991 * gdb.guile/scm-block.exp: New file.
4992 * gdb.guile/scm-breakpoint.c: New file.
4993 * gdb.guile/scm-breakpoint.exp: New file.
4994 * gdb.guile/scm-disasm.c: New file.
4995 * gdb.guile/scm-disasm.exp: New file.
4996 * gdb.guile/scm-equal.c: New file.
4997 * gdb.guile/scm-equal.exp: New file.
4998 * gdb.guile/scm-error.exp: New file.
4999 * gdb.guile/scm-error.scm: New file.
5000 * gdb.guile/scm-frame-args.c: New file.
5001 * gdb.guile/scm-frame-args.exp: New file.
5002 * gdb.guile/scm-frame-args.scm: New file.
5003 * gdb.guile/scm-frame-inline.c: New file.
5004 * gdb.guile/scm-frame-inline.exp: New file.
5005 * gdb.guile/scm-frame.c: New file.
5006 * gdb.guile/scm-frame.exp: New file.
5007 * gdb.guile/scm-generics.exp: New file.
5008 * gdb.guile/scm-gsmob.exp: New file.
5009 * gdb.guile/scm-iterator.c: New file.
5010 * gdb.guile/scm-iterator.exp: New file.
5011 * gdb.guile/scm-math.c: New file.
5012 * gdb.guile/scm-math.exp: New file.
5013 * gdb.guile/scm-objfile-script-gdb.in: New file.
5014 * gdb.guile/scm-objfile-script.c: New file.
5015 * gdb.guile/scm-objfile-script.exp: New file.
5016 * gdb.guile/scm-objfile.c: New file.
5017 * gdb.guile/scm-objfile.exp: New file.
5018 * gdb.guile/scm-ports.exp: New file.
5019 * gdb.guile/scm-pretty-print.c: New file.
5020 * gdb.guile/scm-pretty-print.exp: New file.
5021 * gdb.guile/scm-pretty-print.scm: New file.
5022 * gdb.guile/scm-section-script.c: New file.
5023 * gdb.guile/scm-section-script.exp: New file.
5024 * gdb.guile/scm-section-script.scm: New file.
5025 * gdb.guile/scm-symbol.c: New file.
5026 * gdb.guile/scm-symbol.exp: New file.
5027 * gdb.guile/scm-symtab-2.c: New file.
5028 * gdb.guile/scm-symtab.c: New file.
5029 * gdb.guile/scm-symtab.exp: New file.
5030 * gdb.guile/scm-type.c: New file.
5031 * gdb.guile/scm-type.exp: New file.
5032 * gdb.guile/scm-value-cc.cc: New file.
5033 * gdb.guile/scm-value-cc.exp: New file.
5034 * gdb.guile/scm-value.c: New file.
5035 * gdb.guile/scm-value.exp: New file.
5036 * gdb.guile/source2.scm: New file.
5037 * gdb.guile/types-module.cc: New file.
5038 * gdb.guile/types-module.exp: New file.
5039
7026a7c1
YQ
50402014-02-10 Yao Qi <yao@codesourcery.com>
5041
5042 PR testsuite/16543
5043 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
5044 * configure: Regenerated.
5045 * Makefile.in: New file.
5046
6c466447
AS
50472014-02-08 Andreas Schwab <schwab@linux-m68k.org>
5048
5049 * gdb.python/py-framefilter.exp: Fix typo.
5050
6e854735
YQ
50512014-02-08 Yao Qi <yao@codesourcery.com>
5052
5053 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
5054 that no =breakpoint-modified is emitted when breakpoints are
5055 modified through MI commands.
5056
d137e6dc
PA
50572014-02-07 Pedro Alves <pedro@codesourcery.com>
5058 Pedro Alves <palves@redhat.com>
5059
5060 * gdb.threads/step-after-sr-lock.c: New file.
5061 * gdb.threads/step-after-sr-lock.exp: New file.
5062
b5ee5a50
PA
50632014-02-07 Pedro Alves <palves@redhat.com>
5064
5065 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
5066
3c77faf3
JK
50672014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5068
5069 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
5070 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
5071
6dddc817
DE
50722014-02-06 Doug Evans <xdje42@gmail.com>
5073
5074 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
5075 output.
5076
5077 * gdb.gdb/python-interrupts.exp: New file.
5078
de7b2893
YQ
50792014-02-05 Yao Qi <yao@codesourcery.com>
5080
5081 * gdb.trace/report.exp (use_collected_data): Test the output
5082 of "info threads" and "info inferiors".
5083
66d032ac
YQ
50842014-02-05 Yao Qi <yao@codesourcery.com>
5085
5086 Revert this patch:
5087
5088 2013-05-24 Yao Qi <yao@codesourcery.com>
5089
5090 * gdb.trace/tfile.exp: Test inferior and thread.
5091
591a12a1
UW
50922014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5093
5094 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
5095 on a function.
5096 * gdb.base/step-bt.c: Call hello via function pointer to make
5097 sure its first instruction is executed on powerpc64le-linux.
5098
0ff3e01f
UW
50992014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5100
5101 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
5102
084ee545
UW
51032014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5104
5105 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
5106 of the test patterns for use on little-endian systems.
5107
6ed14ff3
UW
51082014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5109
5110 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
5111 (decimal_vector): Fix for little-endian.
5112
401e27fd
JM
51132014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
5114
5115 * gdb.arch/sparc-sysstep.exp: New file.
5116 * gdb.arch/sparc-sysstep.c: Likewise.
5117
5118 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
5119
8b924729
EBM
51202014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5121
5122 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
5123
fb151210
JB
51242014-01-23 Tom Tromey <tromey@redhat.com>
5125
5126 * gdb.ada/array_char_idx: New testcase.
5127
0740f8d8
TT
51282014-01-23 Tom Tromey <tromey@redhat.com>
5129
5130 PR python/16487:
5131 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
5132 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
5133 classes.
5134
21909fa1
TT
51352014-01-23 Tom Tromey <tromey@redhat.com>
5136
5137 PR python/16491:
5138 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
5139 string from an inferior frame.
5140 * gdb.python/py-framefilter-mi.exp: Update.
5141
87ce2a04
DE
51422014-01-22 Doug Evans <dje@google.com>
5143
5144 * gdb.server/server-mon.exp: Add tests for "set debug-format".
5145
237b092b
AA
51462014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5147
5148 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
5149
d674a709
AA
51502014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5151
5152 * gdb.trace/entry-values.exp: Remove excess space character from
5153 regex patterns. Handle s390 call instruction.
5154
20fa3390
AA
51552014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5156
5157 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
5158 define "*_start" label. Make "name" static.
5159 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
5160 ${name} by references to ${name}_start.
5161
78466714
AA
51622014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5163
5164 * gdb.base/info-macros.exp: Remove "debug" from the compile
5165 options.
5166
ec9f644a
IB
51672014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5168
5169 * gdb.dlang/demangle.exp: New file.
5170
94b1b47e
IB
51712014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5172
5173 * gdb.dlang/primitive-types.exp: New file.
5174
7f420862
IB
51752014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5176
5177 * configure.ac: Create gdb.dlang/Makefile.
5178 * configure: Regenerate.
5179 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
5180 * gdb.dlang/Makefile.in: New file.
5181 * lib/d-support.exp: New file.
5182 * lib/gdb.exp (skip_d_tests): New proc.
5183
52834460
MM
51842014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5185
5186 * gdb.btrace/delta.exp: Check reverse stepi.
5187 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
5188 * gdb.btrace/finish.exp: New.
5189 * gdb.btrace/next.exp: New.
5190 * gdb.btrace/nexti.exp: New.
5191 * gdb.btrace/record_goto.c: Add comments.
5192 * gdb.btrace/step.exp: New.
5193 * gdb.btrace/stepi.exp: New.
5194 * gdb.btrace/multi-thread-step.c: New.
5195 * gdb.btrace/multi-thread-step.exp: New.
5196 * gdb.btrace/rn-dl-bind.c: New.
5197 * gdb.btrace/rn-dl-bind.exp: New.
5198 * gdb.btrace/data.c: New.
5199 * gdb.btrace/data.exp: New.
5200 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
5201
6e07b1d2
MM
52022014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5203
5204 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
5205 * gdb.btrace/exception.exp: Update.
5206 * gdb.btrace/instruction_history.exp: Update.
5207 * gdb.btrace/record_goto.exp: Update.
5208 * gdb.btrace/tailcall.exp: Update.
5209 * gdb.btrace/unknown_functions.exp: Update.
5210 * gdb.btrace/delta.exp: New.
5211
0b722aec
MM
52122014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5213
5214 * gdb.btrace/record_goto.exp: Add backtrace test.
5215 * gdb.btrace/tailcall.exp: Add backtrace test.
5216
066ce621
MM
52172014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5218
5219 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
5220 * gdb.btrace/record_goto.c: New.
5221 * gdb.btrace/record_goto.exp: New.
5222 * gdb.btrace/x86-record_goto.S: New.
5223
0688d04e
MM
52242014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5225
5226 * gdb.btrace/function_call_history.exp: Update tests.
5227 * gdb.btrace/instruction_history.exp: Update tests.
5228
8710b709
MM
52292014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5230
5231 * gdb.btrace/function_call_history.exp: Fix expected field
5232 order for "record function-call-history".
5233 Add new tests for "record function-call-history /c".
5234 * gdb.btrace/exception.cc: New.
5235 * gdb.btrace/exception.exp: New.
5236 * gdb.btrace/tailcall.exp: New.
5237 * gdb.btrace/x86-tailcall.S: New.
5238 * gdb.btrace/x86-tailcall.c: New.
5239 * gdb.btrace/unknown_functions.c: New.
5240 * gdb.btrace/unknown_functions.exp: New.
5241 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
5242
5de9129b
MM
52432014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5244
5245 * gdb.btrace/instruction_history.exp: Update.
5246 * gdb.btrace/function_call_history.exp: Update.
5247
23a7fe75
MM
52482014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5249
5250 * gdb.btrace/function_call_history.exp: Fix expected function
5251 trace.
5252 * gdb.btrace/instruction_history.exp: Initialize traced.
5253 Remove traced_functions.
5254
724c7dd8
MM
52552014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5256
5257 * gdb.btrace/function_call_history.exp: Update
5258 * gdb.btrace/instruction_history.exp: Update.
5259
6d78d93b
MM
52602014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5261
5262 * gdb.btrace/enable.exp: Update expected text.
5263
93a360cc
OJ
52642014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
5265
5266 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
5267 bytes.
5268
3772b53f
MR
52692014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
5270
5271 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
5272
596662fa
OJ
52732014-01-15 Omair Javaid <omair.javaid@linaro.org>
5274
5275 * lib/gdb.exp (supports_process_record): Return true for
5276 arm*-linux*. (supports_reverse): Likewise.
5277
b5b08fb4
SC
52782014-01-13 Siva Chandra Reddy <sivachandra@google.com>
5279
5280 PR python/15464
5281 PR python/16113
5282 * gdb.python/py-type.c: Enhance test case.
5283 * gdb.python/py-value-cc.cc: Likewise
5284 * gdb.python/py-type.exp: Add new tests.
5285 * gdb.python/py-value-cc.exp: Likewise
5286
52d7fb13
AA
52872014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
5288 Pedro Alves <palves@redhat.com>
5289
5290 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
5291 Make "name" extern.
5292 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
5293 references to ${name}_start by references to ${name}.
5294
a2cd8cfe
JB
52952014-01-10 Joel Brobecker <brobecker@adacore.com>
5296
5297 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
5298
4e23fced
JB
52992014-01-10 Joel Brobecker <brobecker@adacore.com>
5300
5301 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
5302
c6a9e42c
PA
53032014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
5304 Pedro Alves <palves@redhat.com>
5305
5306 * gdb.mi/mi-info-os.exp: Connect to the target with
5307 mi_gdb_target_load.
5308
b7ea362b
PA
53092014-01-08 Pedro Alves <palves@redhat.com>
5310
5311 * gdb.threads/reconnect-signal.c: New file.
5312 * gdb.threads/reconnect-signal.exp: New file.
5313
5e3f4fab
EBM
53142014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5315
5316 * gdb.base/source-dir.exp: New file.
5317
79301218
JB
53182014-01-07 Joel Brobecker <brobecker@adacore.com>
5319
5320 * gdb.ada/mi_interface: New testcase.
5321
8e355c5d
JB
53222014-01-07 Joel Brobecker <brobecker@adacore.com>
5323
5324 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
5325 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
5326 gdb.ada/pp-rec-component/pck.ads: New files.
5327
c0d48811
JB
53282014-01-07 Joel Brobecker <brobecker@adacore.com>
5329
5330 * gdb.python/py-pp-integral.c: New file.
5331 * gdb.python/py-pp-integral.py: New file.
5332 * gdb.python/py-pp-integral.exp: New file.
5333
17b609c3 5334For older changes see ChangeLog-1993-2013.
c906108c 5335\f
8d8cb839
EZ
5336;; Local Variables:
5337;; mode: change-log
5338;; left-margin: 8
5339;; fill-column: 74
5340;; version-control: never
5341;; End:
902f2ccb 5342
32d0add0 5343 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
5344 Copying and distribution of this file, with or without modification,
5345 are permitted provided the copyright notice and this notice are preserved.