]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Test --wrapper in extended-remote
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
8cfe207c
YQ
12015-07-24 Yao Qi <yao.qi@linaro.org>
2
3 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
4 argument options.
5 * gdb.server/ext-wrapper.exp: New file.
6
cc12ce38
DE
72015-07-23 Doug Evans <dje@google.com>
8
9 * gdb.dwarf2/dw2-dummy-cu.S: New file.
10 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
11
d0d84780
PMR
122015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
13
14 * gdb.ada/var_arr_typedef.exp: New testcase.
15 * gdb.ada/var_arr_typedef/pack.adb: New file.
16 * gdb.ada/var_arr_typedef/pack.ads: New file.
17 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
18
8b558f79
JB
192015-07-20 Joel Brobecker <brobecker@adacore.com>
20
21 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
22
775a3298
JK
232015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
24
25 * gdb.arch/i386-biarch-core.exp: Replace istarget
26 by "complete set gnutarget". Remove expectation for the "core-file"
27 command.
28
db1ff28b
JK
292015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
30
31 Revert the previous commit:
32 Tests for validate symbol file using build-id.
33
0a94970d
JK
342015-07-15 Aleksandar Ristovski <aristovski@qnx.com
35
36 Tests for validate symbol file using build-id.
37 * gdb.base/solib-mismatch-lib.c: New file.
38 * gdb.base/solib-mismatch-libmod.c: New file.
39 * gdb.base/solib-mismatch.c: New file.
40 * gdb.base/solib-mismatch.exp: New file.
41
03346981
SL
422015-07-15 Sandra Loosemore <sandra@codesourcery.com>
43
44 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
45 nios2-*-linux*.
46 * gdb.base/sigbpt.exp (stepi_out): Likewise.
47 * gdb.base/siginfo.exp: Likewise.
48 * gdb.base/sigstep.exp (advance, advancei): Likewise.
49
42422cc7
PL
502015-07-15 Pierre Langlois <pierre.langlois@arm.com>
51
52 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
53 Move it to ...
54 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
55 ... here.
56 * gdb.trace/range-stepping.exp: Check that the target supports
57 range stepping.
58
cfa68bae
JK
592015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
60
61 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
62
8ffdba26
PA
632015-07-14 Pedro Alves <palves@redhat.com>
64
65 * gdb.base/killed-outside.exp: New file.
66 * gdb.base/killed-outside.c: New file.
67
218a5a11
JK
682015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
69
70 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
71 (n at main): New.
72 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
73
e03ed3c6
AA
742015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
75
76 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
77 infcall tests instead of setting up for KFAIL.
78
485668e5
MM
792015-07-10 Markus Metzger <markus.t.metzger@intel.com>
80
81 * gdb.btrace/record_goto-step.exp: New.
82
08464196
JK
832015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
84
85 PR compile/18484
86 * gdb.compile/compile.c (struct struct_type): Add volatile to
87 selffield's type.
88 * gdb.compile/compile.exp
89 (compile code struct_object.selffield = &struct_object): Skip further
90 struct_object tests if this one xfails.
91
bcf5c1d9
RC
922015-07-08 Robert O'Callahan <robert@ocallahan.org>
93
94 PR exp/18617
95 * gdb.trace/ax.exp: Add test.
96
4931af25
YQ
972015-07-07 Yao Qi <yao.qi@linaro.org>
98
99 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
100 instead of istarget "aarch64*-*-*".
101 * gdb.arch/aarch64-fp.exp: Likewise.
102 * gdb.base/float.exp: Likewise.
103 * gdb.reverse/aarch64.exp: Likewise.
104 * lib/gdb.exp (is_aarch64_target): New proc.
105
9fcf688e
YQ
1062015-07-07 Yao Qi <yao.qi@linaro.org>
107
108 * lib/gdb.exp (is_aarch32_target): New proc.
109 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
110 instead of "istarget "arm*-*-*"".
111 * gdb.arch/arm-disp-step.exp: Likewise.
112 * gdb.arch/thumb-bx-pc.exp: Likewise.
113 * gdb.arch/thumb-prologue.exp: Likewise.
114 * gdb.arch/thumb-singlestep.exp: Likewise.
115 * gdb.base/disp-step-syscall.exp: Likewise.
116 * gdb.base/float.exp: Likewise.
117
fbd8d50d
YQ
1182015-07-07 Yao Qi <yao.qi@linaro.org>
119
120 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
121 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
122
71be1fdc
YQ
1232015-07-07 Yao Qi <yao.qi@linaro.org>
124
125 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
126 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
127 if it exists.
128 * gdb.multi/multi-arch.exp: Likewise.
129
3e221d36
SM
1302015-07-07 Simon Marchi <simon.marchi@ericsson.com>
131
132 * gdb.python/py-lazy-string.exp: Add missing parentheses to
133 print.
134
d441430b
YQ
1352015-07-07 Yao Qi <yao.qi@linaro.org>
136
137 * gdb.arch/thumb-singlestep.exp: Do one more single step.
138
06f810bd
MG
1392015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
140
141 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
142 '[' and ']' characters.
143
5e61e7c0
IB
1442015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
145
146 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
147
28bf096c
PA
1482015-06-29 Pedro Alves <palves@redhat.com>
149
150 PR threads/18127
151 * gdb.threads/hand-call-new-thread.c: New file.
152 * gdb.threads/hand-call-new-thread.c: New file.
153
ee93cd5e
KS
1542015-06-26 Keith Seitz <keiths@redhat.com>
155 Doug Evans <dje@google.com>
156
157 PR 16253
158 * gdb.cp/var-tag-2.cc: New file.
159 * gdb.cp/var-tag-3.cc: New file.
160 * gdb.cp/var-tag-4.cc: New file.
161 * gdb.cp/var-tag.cc: New file.
162 * gdb.cp/var-tag.exp: New file.
163
fc637f04
PP
1642015-06-26 Patrick Palka <patrick@parcs.ath.cx>
165
166 * gdb.base/history-duplicates.exp: New test.
167
2e52ae68
PP
1682015-06-26 Patrick Palka <patrick@parcs.ath.cx>
169
170 * gdb.base/completion.exp: Test the completion of the "focus"
171 command.
172
6e22494e
JK
1732015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
174
175 * gdb.arch/amd64-prologue-skip.S: New file.
176 * gdb.arch/amd64-prologue-skip.exp: New file.
177
bf7b9cd9
SM
1782015-06-25 Simon Marchi <simon.marchi@ericsson.com>
179
180 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
181 is_address_zero_readable check.
182
201e8dfd
PB
1832015-06-24 Peter Bergner <bergner@vnet.ibm.com>
184
185 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
186 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
187
5cd867b4
YQ
1882015-06-24 Yao Qi <yao.qi@linaro.org>
189
190 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
191 linux targets.
192
4d7be007
YQ
1932015-06-24 Yao Qi <yao.qi@linaro.org>
194
195 * lib/gdb.exp (supports_get_siginfo_type): New proc.
196 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
197 * gdb.base/siginfo-thread.exp: Likewise.
198
07fcd301
YQ
1992015-06-22 Yao Qi <yao.qi@linaro.org>
200
201 * boards/remote-gdbserver-on-localhost.exp: Add comments.
202
52042a00
YQ
2032015-06-22 Yao Qi <yao.qi@linaro.org>
204
205 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
206 aarch64*-*-*.
207 (skip_hw_watchpoint_tests): Likewise.
208
74bd41ce
PP
2092015-06-18 Patrick Palka <patrick@parcs.ath.cx>
210
211 * gdb.base/gdbinit-history.exp: Test the interaction between
212 setting GDBHISTSIZE and setting the history size via .gdbinit.
213
bc460514
PP
2142015-06-17 Patrick Palka <patrick@parcs.ath.cx>
215
216 PR gdb/16999
217 * gdb.base/gdbhistsize-history.exp: New test.
218
b58c513b
PP
2192015-06-17 Patrick Palka <patrick@parcs.ath.cx>
220
221 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
222 with GDBHISTSIZE.
223 * gdb.base/readline.exp: Likewise.
224
92046791
YQ
2252015-06-17 Yao Qi <yao.qi@linaro.org>
226
227 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
228 line.
229
2093d2d3
PP
2302015-06-17 Patrick Palka <patrick@parcs.ath.cx>
231
232 * gdb.base/gdbinit-history.exp: Add test case to check that
233 an unlimited history file does not get truncated on exit.
234
e6c693af
AA
2352015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
236
237 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
238 (VECTOR): New macro. Use it...
239 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
240 ...for these typedefs.
241 (int8, char1, int1, double1): New typedefs.
242 (struct just_int2, struct two_int2): New structures.
243 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
244 (add_structvecs, add_singlevecs): New functions.
245 (main): Call add_some_intvecs twice.
246 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
247 the compile and exit upon failure. Try compiling for the "native"
248 architecture. Test inferior function calls with vector arguments
249 and vector return value handling with "finish" and "return".
250
c74f7d1c
JT
2512015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
252
253 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
254 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
255 PE file.
256 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
257
98aa42ee
AT
2582015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
259
260 PR breakpoints/16465
261 * gdb.mi/mi-dprintf-pending.c: New file.
262 * gdb.mi/mi-dprintf-pending.exp: New test.
263 * gdb.mi/mi-dprintf-pendshr.c: New file.
264
7d73c23c 2652015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 266 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
267
268 * gdb.arch/i386-mpx-map.c: New file.
269 * gdb.arch/i386-mpx-map.exp: New File.
270
2712015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
272
273 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
274 * gdb.arch/i386-mpx.exp: Indentation fixed.
275
2762015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
277
278 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
279 function and improved indentation.
280 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
281 gdb_test_multiple. Added additional tests to skip the test.
282
2832015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
284
285 * gdb.arch/i386-avx512.c: Change path in include file.
286 * gdb.arch/i386-avx512.exp: Change include dir path
287 compilation flag.
288 * gdb.arch/i386-mpx.c: Change path in include file.
289 * gdb.arch/i386-mpx.exp: Change include dir path compilation
290 flag.
291
d5eba19a
JK
2922015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
293
294 * gdb.compile/compile-print.exp (compile print *vararray@3)
295 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
296
7f361056
JK
2972015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
298
299 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
300 (do not keep jit in memory): ... this.
301 (expect 5): Change it to ...
302 (expect no 5): ... this.
303
3b462ec2
SM
3042015-06-02 Simon Marchi <simon.marchi@ericsson.com>
305
306 PR gdb/15564
307 * gdb.mi/mi-detach.exp: New file.
308
e0619de6
JK
3092015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
310
311 PR symtab/18392
312 * gdb.arch/amd64-tailcall-self.S: New file.
313 * gdb.arch/amd64-tailcall-self.c: New file.
314 * gdb.arch/amd64-tailcall-self.exp: New file.
315
e970cb34
DB
3162015-05-28 Don Breazeal <donb@codesourcery.com>
317
318 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
319 tests for remote targets by checking is_target_gdbserver.
320
b2e2f908
DE
3212015-05-27 Doug Evans <dje@google.com>
322
323 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
324 * gdb.dwarf2/opaque-type-lookup.c: New file.
325 * gdb.dwarf2/opaque-type-lookup.exp: New file.
326
82c7be31
DE
3272015-05-26 Doug Evans <dje@google.com>
328
329 * gdb.cp/iostream.cc: New file.
330 * gdb.cp/iostream.exp: New file.
331
b4f54984
DE
3322015-05-26 Doug Evans <dje@google.com>
333
334 * gdb.dwarf2/dw2-op-call.exp: Update.
335 * gdb.dwarf2/dw4-sig-types.exp: Update.
336 * gdb.dwarf2/implptr.exp: Update.
337 * gdb.mi/mi-cmd-param-changed.exp: Update.
338
4ea6efe9
DE
3392015-05-26 Doug Evans <dje@google.com>
340
341 * gdb.python/py-lazy-string.c: New file.
342 * gdb.python/py-lazy-string.exp: New file.
343 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
344 (main): Update. Add estring3.
345 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
346 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
347
f6bb7db3
YQ
3482015-05-26 Omair Javaid <omair.javaid@linaro.org>
349 Yao Qi <yao.qi@linaro.org>
350
351 * gdb.reverse/aarch64.c: New.
352 * gdb.reverse/aarch64.exp: New.
353
a81bfbd0
OJ
3542015-05-26 Omair Javaid <omair.javaid@linaro.org>
355
356 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
357 (supports_reverse): Likewise.
358
158bf1b4
PP
3592015-05-22 Patrick Palka <patrick@parcs.ath.cx>
360
361 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
362 Use with_test_prefix.
363
a0145030
AB
3642015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
365
366 * gdb.base/completion.exp: Add test for completion of layout
367 names.
368
ebe3b578
AB
3692015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
370
371 * lib/gdb.exp (skip_tui_tests): New proc.
372 * gdb.base/tui-layout.exp: Check skip_tui_tests.
373
84204ed7
PA
3742015-05-19 Pedro Alves <palves@redhat.com>
375
376 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
377 Save the whole env array instead of just HOME. Unset HISTSIZE in
378 the environment while testing. Restore whole environment
379 afterwards.
380
37442ce1
DE
3812015-05-16 Doug Evans <xdje42@gmail.com>
382
383 * gdb.guile/scm-ports.c: New file.
384 * gdb.guile/scm-ports.exp: Add memory port tests.
385
36de76f9
JK
3862015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
387
388 * gdb.compile/compile-print.c: New file.
389 * gdb.compile/compile-print.exp: New file.
390
3a9558c4
JK
3912015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
392
393 * gdb.compile/compile-ops.exp: Cast param to void.
394 * gdb.compile/compile.exp: Complete type for _gdb_expr.
395 (compile code struct_object.selffield = &struct_object): Add xfail.
396
aa715135
JG
3972015-05-15 Joel Brobecker <brobecker@adacore.com>
398
399 * gdb.ada/arr_enum_with_gap: New testcase.
400
931e5bc3
JG
4012015-05-15 Joel Brobecker <brobecker@adacore.com>
402
403 * gdb.ada/byte_packed_arr: New testcase.
404
9cd4d857
JB
4052015-05-15 Joel Brobecker <brobecker@adacore.com>
406
407 * gdb.ada/pckd_neg: New testcase.
408
ebfd00d2
PP
4092015-05-13 Patrick Palka <patrick@parcs.ath.cx>
410
411 PR gdb/17820
412 * gdb.base/gdbinit-history.exp: New test.
413 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
414 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
415
4c082a81
SC
4162015-05-09 Siva Chandra Reddy <sivachandra@google.com>
417
418 * gdb.python/py-xmethods.cc: Enhance test case.
419 * gdb.python/py-xmethods.exp: New tests.
420 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
421 function.
422 (B_indexoper): Likewise.
423 (global_dm_list) : Add new xmethod worker functions.
424
f7797074
SDJ
4252015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
426
427 * gdb.base/coredump-filter.exp: Correctly unset
428 "coredump_var_addr" array.
429
a4674e4e
PA
4302015-05-08 Pedro Alves <palves@redhat.com>
431
432 * gdb.server/non-existing-program.exp: Unset spawn_id.
433
df2eb078
SC
4342015-05-08 Siva Chandra Reddy <sivachandra@google.com>
435
436 PR python/18291
437 * gdb.python/py-xmethods.exp: Add tests.
438
422349a3
YQ
4392015-05-08 Yao Qi <yao.qi@linaro.org>
440
441 PR gdb/18208
442 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
443 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
444 function set_coredump_filter, and remove remote_exec call.
445 Remove argument ipid. Callers update.
446 (top level): Don't get inferior's PID.
447
63fc80ce
AA
4482015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
449
450 * gdb.base/watch_thread_num.exp: Skip test on targets without
451 access watchpoints.
452
80ad801e
PA
4532015-05-06 Pedro Alves <palves@redhat.com>
454
455 PR server/18081
456 * gdb.server/non-existing-program.exp: New file.
457
0fa7fe50
JB
4582015-05-05 Joel Brobecker <brobecker@adacore.com>
459
460 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
461
3ea89b92
PMR
4622015-05-05 Joel Brobecker <brobecker@adacore.com>
463
464 * gdb.ada/out_of_line_in_inlined: New testcase.
465
87b8eff0
JB
4662015-05-05 Joel Brobecker <brobecker@adacore.com>
467
468 * gdb.ada/var_rec_arr: New testcase.
469
5fccc635
YQ
4702015-04-30 Yao Qi <yao.qi@linaro.org>
471
472 * gdb.base/break-idempotent.exp: If
473 skip_hw_watchpoint_multi_tests returns true, skip the tests
474 on "rwatch" and "awatch".
475
42d38f42
YQ
4762015-04-30 Yao Qi <yao.qi@linaro.org>
477
478 * gdb.base/relativedebug.exp: Invoke gdb command
479 "info sharedlibrary", and if libc.so doesn't have debug info,
480 skip the test.
481
2ce1cdbf
DE
4822015-04-29 Doug Evans <dje@google.com>
483
484 * gdb.python/py-xmethods.exp: Add ptype tests.
485 * gdb.python/py-xmethods.py (E_method_char_worker): Add
486 get_result_type method.
487
f24a38c5
LM
4882015-04-29 Luis Machado <lgustavo@codesourcery.com>
489
490 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
491 the target does not support hardware watchpoints.
492
ecbf2b3c
LM
4932015-04-29 Luis Machado <lgustavo@codesourcery.com>
494
495 * gdb.base/break-always.exp: Abort testing if writing to memory
496 causes an error.
497
34f5f757
DE
4982015-04-28 Doug Evans <dje@google.com>
499
500 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
501 * gdb.python/py-pp-registration.exp: ... here. New file.
502 * gdb.python/py-pp-registration.c: New file.
503 * gdb.python/py-pp-registration.py: New file.
504
69b4374a
DE
5052015-04-28 Doug Evans <dje@google.com>
506
507 * gdb.python/py-bad-printers.c: New file.
508 * gdb.python/py-bad-printers.py: New file.
509 * gdb.python/py-bad-printers.exp: New file.
510
59fb7612
SS
5112015-04-28 Sasha Smundak <asmundak@google.com>
512
513 * gdb.python/py-type.exp: New test.
514
2631b16a
AW
5152015-04-28 Andy Wingo <wingo@igalia.com>
516
517 * gdb.python/py-parameter.exp:
518 * gdb.guile/scm-parameter.exp: Escape the path that we are
519 matching against, as it might contain characters that are special
520 to regular expressions.
521
460efde1
JB
5222015-04-27 Joel Brobecker <brobecker@adacore.com>
523
524 * gdb.ada/rec_comp: New testcase.
525
2d369d8e
SDJ
5262015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
527
528 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
529 before using it.
530
cf75d6c3
AB
5312015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
532
533 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
534 new tests for verilog output.
535
8dbe7ca5
YQ
5362015-04-24 Yao Qi <yao.qi@linaro.org>
537
538 * boards/remote-gdbserver-on-localhost.exp: New file.
539
4ef9fb2f
PA
5402015-04-23 Pedro Alves <palves@redhat.com>
541
542 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
543 $inferior_spawn_id instead of $inferior_spawn_id directly. On
544 "end of file", remove $inferior_spawn_id from the indirect list.
545
0a803169
PA
5462015-04-23 Pedro Alves <palves@redhat.com>
547
548 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
549
749ef8f8
PA
5502015-04-23 Pedro Alves <palves@redhat.com>
551
552 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
553 on $any_spawn_id instead of only on $gdb_spawn_id.
554
8aae4344
PM
5552015-04-21 Pierre Muller <muller@sourceware.org>
556
557 PR pascal/17815
558 * lib/pascal.exp (gpc_compile): Add new option "class".
559 (fpc_compile): Likewise.
560 * gdb.pascal/case-insensitive-symbols.pas: New file.
561 * gdb.pascal/case-insensitive-symbols.exp: New file.
562
1586c8fb
GB
5632015-04-20 Gary Benson <gbenson@redhat.com>
564
565 * gdb.base/attach.exp: Fix three extended remote failures.
566
1b6e6f5c
GB
5672015-04-17 Gary Benson <gbenson@redhat.com>
568
569 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
570 the main executable over the remote protocol.
571
e797481d
PA
5722015-04-16 Pedro Alves <palves@redhat.com>
573
574 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
575 a new gdbserver if gdbserver_reconnect_p is set.
576
1ca99c42
PA
5772015-04-16 Pedro Alves <palves@redhat.com>
578
579 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
580 is set, don't exit gdbserver.
581
af9fd6f8
AA
5822015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
583
584 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
585 appropriate .insn, such that an older assembler can be used.
586 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
587 the z/Architecture instruction set on 31-bit targets as well.
588
04ff1e61
AA
5892015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
590
591 * gdb.go/handcall.exp: Remove all logic related to the first
592 breakpoint and rely on go_runto_main instead.
593 * gdb.go/strings.exp: Likewise.
594 * gdb.go/unsafe.exp: Likewise.
595 * gdb.go/hello.exp: Likewise. Also rename the remaining
596 breakpoint marker to "breakpoint 1".
597 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
598 * gdb.go/strings.go: Likewise.
599 * gdb.go/unsafe.go: Likewise.
600 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
601 "set breakpoint 2 here" and rename the remaining breakpoint marker
602 to "breakpoint 1".
603
40d2f8d6
SM
6042015-04-15 Simon Marchi <simon.marchi@ericsson.com>
605
606 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
607 if itertools.imap is not present.
608 * gdb.python/py-objfile.exp: Add parentheses.
609 * gdb.python/py-type.exp: Same.
610 * gdb.python/py-unwind-maint.py: Same.
611
8cbc97c6
YQ
6122015-04-15 Yao Qi <yao.qi@linaro.org>
613
614 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
615 of ":$ptr_size" and set its form explicitly.
616
45fd756c
YQ
6172015-04-15 Pedro Alves <palves@redhat.com>
618 Yao Qi <yao.qi@linaro.org>
619
620 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
621 timeout by factor of 4.
622 (test_regular_watch): Likewise.
623 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
624 * gdb.reverse/sigall-reverse.exp: Likewise.
625 * gdb.reverse/until-precsave.exp: Likewise.
626 * lib/gdb.exp (with_timeout_factor): New proc.
627 (gdb_expect): Move some code to ...
628 (get_largest_timeout): ... here. New procedure.
629
9e811bc3
LM
6302015-04-14 Luis Machado <lgustavo@codesourcery.com>
631
632 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
633
0ff6fcb2
LM
6342015-04-13 Luis Machado <lgustavo@codesourcery.com>
635
636 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
637 to write to the .text section.
638
7578d5f7
LM
6392015-04-13 Luis Machado <lgustavo@codesourcery.com>
640
641 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
642 Handle the case of targets that do not provide PID information.
643
2efe15c4
YQ
6442015-04-13 Yao Qi <yao.qi@linaro.org>
645
646 * lib/gdbserver-support.exp (gdb_exit): Catch exception
647 and use expect instead of gdb_expect.
648
8cd8f2f8
SDJ
6492015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
650
651 * gdb.base/coredump-filter.exp: Rename variable "addr" to
652 "coredump_var_addr" to avoid naming conflict with other testcases.
653
9ee41772
PA
6542015-04-10 Pedro Alves <palves@redhat.com>
655
656 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
657 gdb_test_sequence and gdb_assert.
658
07473109
PA
6592015-04-10 Pedro Alves <palves@redhat.com>
660
661 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
662 test messages that don't include the breakpoint address.
663
de3db44c
YQ
6642015-04-10 Yao Qi <yao.qi@linaro.org>
665
666 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
667 false for some offset and width combinations which aren't
668 supported by linux kernel.
669
c79d856c
PA
6702015-04-10 Pedro Alves <palves@redhat.com>
671
672 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
673 procedure, factored out from ...
674 (top level): ... here. Add "set displaced-stepping" testing axis.
675 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
676 parameter "displaced". Use it.
677 (top level): Use foreach and add "set displaced-stepping" testing
678 axis.
679
ebc90b50
PA
6802015-04-10 Pedro Alves <palves@redhat.com>
681
682 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
683 Remove comment.
684 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
685 both the address of the instruction that triggers the watchpoint
686 and the address of the instruction immediately after, and use
687 those addresses for the test. Fix comment.
688
8f572e5c
PA
6892015-04-10 Pedro Alves <palves@redhat.com>
690
691 * gdb.base/sigstep.exp (breakpoint_to_handler)
692 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
693 Test "backtrace" in handler.
694 (breakpoint_over_handler): New parameter 'displaced'. Use it.
695 (top level): Add new "displaced" test axis to
696 breakpoint_to_handler, breakpoint_to_handler_entry and
697 breakpoint_over_handler.
698
8d707a12
PA
6992015-04-10 Pedro Alves <palves@redhat.com>
700
701 PR gdb/18216
702 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
703
ef713951
YQ
7042015-04-10 Yao Qi <yao.qi@linaro.org>
705
706 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
707 (test_add_rn_pc): New function.
708 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
709 (top level): Invoke test_add_rn_pc.
710
906d60cf
PA
7112015-04-10 Pedro Alves <palves@redhat.com>
712
713 PR gdb/13858
714 * gdb.base/step-over-no-symbols.exp: New file.
715
f2983cc3
AW
7162015-04-09 Andy Wingo <wingo@igalia.com>
717
718 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
719 after the Python tests.
720
6d62641c
SDJ
7212015-04-08 Keith Seitz <keiths@redhat.com>
722
723 PR python/16699
724 * gdb.python/py-completion.exp: New tests for completion.
725 * gdb.python/py-completion.py (CompleteLimit1): New class.
726 (CompleteLimit2): Likewise.
727 (CompleteLimit3): Likewise.
728 (CompleteLimit4): Likewise.
729 (CompleteLimit5): Likewise.
730 (CompleteLimit6): Likewise.
731 (CompleteLimit7): Likewise.
732
f3770638
PA
7332015-04-08 Pedro Alves <palves@redhat.com>
734
735 PR gdb/18214
736 PR gdb/18216
737 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
738 function.
739 (main): Install it as SIGUSR1 handler.
740 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
741 parameter. Always use "setup" as prefix. Toggle "set
742 displaced-stepping" off/on depending on global. Don't switch to
743 thread 1 here.
744 (top level): Add displaced stepping "off/on" test axis. Update
745 "setup" calls. Wrap each subtest with with_test_prefix. Test
746 continuing with a queued signal in each thread.
747
4496bed7
PA
7482015-04-08 Pedro Alves <palves@redhat.com>
749
750 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
751 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
752 gdb_breakpoint instead of gdb_test that doesn't expect anything.
753 Return early if running to main fails.
754 * gdb.trace/while-stepping.exp: Likewise.
755
b97fde92
PA
7562015-04-07 Pedro Alves <palves@redhat.com>
757
758 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
759 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
760 interact with inferior program.
761
f71c18e7
PA
7622015-04-07 Pedro Alves <palves@redhat.com>
763
764 * lib/gdb.exp (inferior_spawn_id): New global.
765 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
766 spawn id after processing the user code.
767 (default_gdb_start): Set inferior_spawn_id.
768 (send_inferior): New procedure.
769 * lib/gdbserver-support.exp (gdbserver_start): Set
770 inferior_spawn_id.
771 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
772
6423214f
PA
7732015-04-07 Pedro Alves <palves@redhat.com>
774
775 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
776 * lib/gdbserver-support.exp (gdbserver_start): Make
777 $server_spawn_id global.
778 (gdbserver_start): Don't wait for gdbserver's spawn id with
779 expect_background.
780 (close_gdbserver): New procedure.
781 (gdb_exit): Rename the default version and reimplement.
782
71c0ee8c
PA
7832015-04-07 Pedro Alves <palves@redhat.com>
784
72f4393d 785 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
786 append the substituted item, not the original item.
787
203bc29b
PA
7882015-04-07 Pedro Alves <palves@redhat.com>
789
790 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
791 gdb_expect.
792
508a3ddf
PA
7932015-04-07 Pedro Alves <palves@redhat.com>
794
795 * gdb.base/interrupt.exp: Don't handle the case of the inferior
796 output appearing once only.
797
9f6dbe2b
PA
7982015-04-07 Pedro Alves <palves@redhat.com>
799
800 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
801 that doesn't expect anything. Return early if running to main
802 fails.
803
337532fa
YQ
8042015-04-07 Yao Qi <yao.qi@linaro.org>
805
806 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
807 (child_function): Call alarm.
808 (main): Move call to alarm into the loop.
809 * gdb.threads/non-stop-fair-events.exp: Build program with
810 -DTIMEOUT=$timeout.
811
01b622d4
DE
8122015-04-06 Doug Evans <xdje42@gmail.com>
813
814 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
815 Fix dest parameter to board_info.
816 (fpc_compile): Ditto.
817 (gdb_compile_pascal): Rename dest arg to destfile.
818
961f4160
PMR
8192015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
820
821 * gdb.ada/funcall_ref.exp: New file.
822 * gdb.ada/funcall_ref/foo.adb: New file.
823
cafda597
YQ
8242015-04-02 Yao Qi <yao.qi@linaro.org>
825
826 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
827 is remote.
828
fed040c6
GB
8292015-04-02 Gary Benson <gbenson@redhat.com>
830
831 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
832
d11916aa
SS
8332015-04-01 Sasha Smundak <asmundak@google.com>
834
835 * gdb.python/py-unwind-maint.c: New file.
836 * gdb.python/py-unwind-maint.exp: New test.
837 * gdb.python/py-unwind-maint.py: New file.
838 * gdb.python/py-unwind.c: New file.
839 * gdb.python/py-unwind.exp: New test.
840 * gdb.python/py-unwind.py: New test.
841
a1471180
PA
8422015-04-01 Pedro Alves <palves@redhat.com>
843
844 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
845 to fail instead of non-existent $test.
846
0bbeccb1
PA
8472015-04-01 Pedro Alves <palves@redhat.com>
848
849 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
850 GDBFLAGS if not empty.
851
3c724c8c
PMR
8522015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
853
854 * gdb.ada/complete.exp: Remove "multi_line".
855 * gdb.ada/info_exc.exp: Remove "multi_line".
856 * gdb.ada/packed_tagged.exp: Remove "multi_line".
857 * gdb.ada/ptype_field.exp: Remove "multi_line".
858 * gdb.ada/sym_print_name.exp: Remove "multi_line".
859 * gdb.ada/tagged.exp: Remove "multi_line".
860 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
861 [multi_line ...]
862 * gdb.btrace/delta.exp: Likewise.
863 * gdb.btrace/exception.exp: Likewise.
864 * gdb.btrace/function_call_history.exp: Likewise.
865 * gdb.btrace/instruction_history.exp: Likewise.
866 * gdb.btrace/nohist.exp: Likewise.
867 * gdb.btrace/record_goto.exp: Likewise.
868 * gdb.btrace/segv.exp: Likewise.
869 * gdb.btrace/stepi.exp: Likewise.
870 * gdb.btrace/tailcall.exp: Likewise.
871 * gdb.btrace/unknown_functions.exp: Likewise.
872 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
873 * lib/gdb.exp: Add the "multi_line" helper.
874
4eec2deb
PA
8752015-04-01 Pedro Alves <palves@redhat.com>
876
877 * gdb.threads/tid-reuse.c: New file.
878 * gdb.threads/tid-reuse.exp: New file.
879
df8411da
SDJ
8802015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
881
882 PR corefiles/16092
883 * gdb.base/coredump-filter.c: New file.
884 * gdb.base/coredump-filter.exp: Likewise.
885
6ef37366
PM
8862015-03-27 Petr Machata <pmachata@redhat.com>
887
888 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
889 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
890 (Dwarf::assemble): Initialize them.
891 (Dwarf::lines): New function.
892
7ec911b0
JT
8932015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
894
895 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
896 SYMBOL_PREFIX for x86_64-*-cygwin.
897
ff908ebf
AW
8982015-03-26 Andy Wingo <wingo@igalia.com>
899
900 PR symtab/18148
901 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
902 const_value but not a location.
903 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
904 location defined in non-main CUs are visible.
905
6d5f0679
YQ
9062015-03-26 Yao Qi <yao.qi@linaro.org>
907
908 PR testsuite/18139
909 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
910 Add a line number entry for the same line.
911 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
912 Add a line number entry for the same line.
913
2898689b
YQ
9142015-03-26 Yao Qi <yao.qi@linaro.org>
915
916 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
917 .int 0.
918 (func): Likewise. Add .Lfunc_1 label.
919 Use .Lfunc_1 label.
920 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
921 .int 0.
922 (func): Likewise.
923 Use .Lfunc_1 label.
924
85180498
YQ
9252015-03-26 Yao Qi <yao.qi@linaro.org>
926
927 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
928 Call gdb_compile instead to compile each .s files without debug
929 information.
930
8aa08a8d
YQ
9312015-03-26 Yao Qi <yao.qi@linaro.org>
932
933 * gdb.base/savedregs.exp (process_saved_regs): Make
934 "Saved registers:" optional in the pattern.
935
66849923
MM
9362015-03-25 Markus Metzger <markus.t.metzger@intel.com>
937
938 * gdb.btrace/next.exp: Merged into step.exp.
939 * gdb.btrace/finish.exp: Merged into step.exp.
940 * gdb.btrace/nexti.exp: Merged into stepi.exp.
941 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
942 "record goto" and checking the exact replay position.
943 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
944 check for "Recording format" in "info record" output.
945 * gdb.btrace/record_goto.exp: Choose test file based on target.
946 * gdb.btrace/x86-record_goto.S: Renamed into ...
947 * gdb.btrace/x86_64-record_goto.S: ... this.
948 * gdb.btrace/i686-record_goto.S: New.
949 * gdb.btrace/x86-tailcall.S: Renamed into ...
950 * gdb.btrace/x86_64-tailcall.S: ... this.
951 * gdb.btrace/i686-tailcall.S: New.
952 * gdb.btrace/x86-tailcall.c: Renamed into ...
953 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
954 separate statements. Update test.
955 * gdb.btrace/delta.exp: Use record_goto.c as test file.
956 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
957 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
958 * gdb.btrace/tailcall.exp: Choose test file based on target.
959 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
960
11cc1b74
MM
9612015-03-25 Markus Metzger <markus.t.metzger@intel.com>
962
963 * gdb.btrace/exception.exp: Increase BTS buffer size.
964
a25d8bf9
PA
9652015-03-24 Pedro Alves <palves@redhat.com>
966
967 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
968
856e7dd6
PA
9692015-03-24 Pedro Alves <palves@redhat.com>
970
971 * gdb.threads/schedlock.exp (test_step): No longer expect that
972 "set scheduler-locking step" with "next" over a function call runs
973 threads unlocked.
974
ad235a41
AT
9752015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
976
977 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
978
15630549
AT
9792015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
980
981 PR breakpoints/16466
982 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
983 * gdb.mi/mi-pending.c (thread_func): New function.
984 (int main): Add threading support required.
985 * gdb.mi/mi-pending.exp: Add tests for this issue.
986 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
987 (pendfunc2): Remove stdio dependency.
988 * gdb.mi/mi-pendshr2.c: New file.
989
693dca06
KS
9902015-03-23 Keith Seitz <keiths@redhat.com>
991
992 * gdb.linespec/keywords.c: New file.
993 * gdb.linespec/keywords.exp: New file.
994
7e993ebf
KS
9952015-03-23 Keith Seitz <keiths@redhat.com>
996
997 PR gdb/18021
998 * gdb.dwarf2/staticvirtual.exp: New test.
999
bc23328c
JK
10002015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1001
1002 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
1003 * README: Remove HP-UX and gdb.hp.
1004 (configuration):
1005 * configure: Regenerate.
1006 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
1007 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
1008 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
1009 gdb.hp/gdb.defects/Makefile.
1010 * gdb.hp/Makefile.in: File deleted.
1011 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
1012 * gdb.hp/gdb.aCC/optimize.c: File deleted.
1013 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
1014 * gdb.hp/gdb.aCC/run.c: File deleted.
1015 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
1016 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
1017 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
1018 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
1019 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
1020 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
1021 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
1022 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
1023 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
1024 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
1025 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
1026 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
1027 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
1028 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
1029 * gdb.hp/gdb.base-hp/reg.s: File deleted.
1030 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
1031 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
1032 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
1033 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
1034 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
1035 * gdb.hp/gdb.compat/Makefile.in: File deleted.
1036 * gdb.hp/gdb.compat/average.c: File deleted.
1037 * gdb.hp/gdb.compat/sum.c: File deleted.
1038 * gdb.hp/gdb.compat/xdb.c: File deleted.
1039 * gdb.hp/gdb.compat/xdb0.c: File deleted.
1040 * gdb.hp/gdb.compat/xdb0.h: File deleted.
1041 * gdb.hp/gdb.compat/xdb1.c: File deleted.
1042 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
1043 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
1044 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
1045 * gdb.hp/gdb.defects/Makefile.in: File deleted.
1046 * gdb.hp/gdb.defects/bs14602.c: File deleted.
1047 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
1048 * gdb.hp/gdb.defects/solib-d.c: File deleted.
1049 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
1050 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
1051 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
1052 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
1053 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
1054 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
1055 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
1056 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
1057 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
1058 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
1059 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
1060 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
1061 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
1062 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
1063 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
1064 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
1065 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
1066 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
1067 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
1068 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
1069 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
1070 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
1071 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
1072 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
1073 * gdb.hp/tools/odump: File deleted.
1074
8bf3b159
PA
10752015-03-19 Pedro Alves <palves@redhat.com>
1076
1077 * gdb.threads/continue-pending-status.exp (saw_thread_2)
1078 (saw_thread_3): New globals.
1079 (top level): Increment them when an event for the corresponding
1080 thread is seen.
1081 (no thread starvation): New test.
1082
eb54c8bf
PA
10832015-03-19 Pedro Alves <palves@redhat.com>
1084
1085 * gdb.threads/continue-pending-status.c: New file.
1086 * gdb.threads/continue-pending-status.exp: New file.
1087
32d2e5d6
PA
10882015-03-18 Pedro Alves <palves@redhat.com>
1089
1090 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1091 Use gdb_is_target_remote instead of is_remote. Use
1092 gdb_test_multiple instead of gdb_expect. Exit early if
1093 gdb_test_multiple hits its internal matches. Tighten stepi tests
1094 expected output. Fail on exit with any signal, instead of just
1095 SIGILL.
1096
f68f11b7
YQ
10972015-03-18 Yao Qi <yao.qi@linaro.org>
1098
1099 PR tdep/18107
1100 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
1101 variable.
1102 * gdb.base/catch-syscall.exp: Don't skip it on
1103 aarch64*-*-linux* target. Remove elements in all_syscalls.
1104 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
1105 target.
1106 (setup_all_syscalls): New proc.
1107
ca5fd19b
YQ
11082015-03-16 Yao Qi <yao.qi@linaro.org>
1109
1110 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
1111 (top level): Skip tests if valid_addr_p returns false for
1112 $cmd1 or $cmd2.
1113
85642ba0
AW
11142015-03-11 Andy Wingo <wingo@igalia.com>
1115
1116 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
1117
e03f9645
YQ
11182015-03-11 Yao Qi <yao.qi@linaro.org>
1119
1120 * gdb.base/catch-syscall.exp: Fix typo in comments.
1121
5d0962b2
YQ
11222015-03-11 Yao Qi <yao.qi@linaro.org>
1123
1124 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
1125
b2df3cef
PA
11262015-03-09 Pedro Alves <palves@redhat.com>
1127
1128 * dg-extract-results.py: Delete.
1129
ef878e53
PA
11302015-03-09 Pedro Alves <palves@redhat.com>
1131
1132 Merge dg-extract-results.sh from GCC upstream (r218843).
1133
1134 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
1135 * dg-extract-results.sh: Use --text with grep to avoid issues with
1136 binary files. Fall back to cat -v, if that doesn't work.
1137
9494d219
PA
11382015-03-05 Pedro Alves <palves@redhat.com>
1139
1140 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
1141
a8d9763a
SM
11422015-03-04 Simon Marchi <simon.marchi@ericsson.com>
1143
1144 * lib/mi-support.exp (mi_expect_interrupt): Accept
1145 alternative event for when in all-stop mode.
1146
be9957b8
PA
11472015-03-04 Pedro Alves <palves@redhat.com>
1148
1149 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
1150
d57be0f4 11512015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
1152
1153 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
1154
c214c7cf
AA
11552015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
1156
1157 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
1158 regexps for GDB's current line display, accept a hex address
1159 preceding the line number.
1160
6d74a497
AA
11612015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
1162
1163 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
1164 the 'arch1' variable for "s390*-linux*" targets.
1165
511aee7c
PA
11662015-03-04 Pedro Alves <palves@redhat.com>
1167
1168 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
1169 (main): Pass missing retval argument to pthread_join call.
1170
95e50b27
PA
11712015-03-02 Pedro Alves <palves@redhat.com>
1172
1173 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
1174 (top level): Call do_test with non-stop as well.
1175
28054d69
PA
11762015-03-02 Pedro Alves <palves@redhat.com>
1177
1178 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
1179 -1.
1180
4fa5d7b4
AA
11812015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1182
1183 * gdb.arch/s390-vregs.exp: New test.
1184 * gdb.arch/s390-vregs.S: New file.
1185
97c18565
PA
11862015-02-27 Pedro Alves <palves@redhat.com>
1187
1188 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
1189 call to catch_command_errors.
1190 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
1191 catch_command_errors.
1192
a37bfa30
PA
11932015-02-27 Pedro Alves <palves@redhat.com>
1194
1195 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
1196 "true" for boolean result.
1197 * gdb.gdb/selftest.exp (test_with_self): Also accept full
1198 prototype of main.
1199
6f98576f
PA
12002015-02-27 Pedro Alves <palves@redhat.com>
1201
1202 * lib/unbuffer_output.c: New file.
1203 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
1204 (main): Call gdb_unbuffer_output.
1205
eba5ab56
YQ
12062015-02-27 Yao Qi <yao.qi@linaro.org>
1207
1208 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
1209 target.
1210
0def5aaa
DE
12112015-02-26 Doug Evans <dje@google.com>
1212
1213 * gdb.cp/class2.cc (Dbase, D): New classes.
1214 (main): New local delta.
1215 * gdb.cp/class2.exp: Test printing delta.
1216 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
1217 (dynbar): New global.
1218 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
1219
081a1c2c
JK
12202015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1221
1222 * gdb.compile/compile-ifunc.c: New file.
1223 * gdb.compile/compile-ifunc.exp: New file.
1224
2f41223f
AT
12252015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
1226
1227 * gdb.base/structs.exp: Check for correct struct on finish.
1228
03eddd80
YQ
12292015-02-26 Yao Qi <yao.qi@linaro.org>
1230
1231 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
1232 is zero.
1233
80c57053
JK
12342015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1235
1236 * gdb.arch/cordic.ko.bz2: New file.
1237 * gdb.arch/cordic.ko.debug.bz2: New file.
1238 * gdb.arch/ppc64-symtab-cordic.exp: New file.
1239
21613c12
YQ
12402015-02-25 Yao Qi <yao.qi@linaro.org>
1241
1242 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
1243 aarch64*-*-* target.
1244
d8b901ed
PA
12452015-02-23 Pedro Alves <palves@redhat.com>
1246
1247 * lib/gdb.exp (delete_breakpoints): Rewrite using
1248 gdb_test_multiple.
1249
e5b85ead
PA
12502015-02-23 Pedro Alves <palves@redhat.com>
1251
1252 * gdb.base/info-os.c: Include stdlib.h.
1253
85c3a371
DE
12542015-02-22 Doug Evans <xdje42@gmail.com>
1255
1256 PR symtab/17855
1257 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
1258 is read after symbols have been re-read.
1259 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
1260 * gdb.ada/exec_changed/second.adb (Second): Ditto.
1261
96553a0c
DE
12622015-02-21 Doug Evans <dje@google.com>
1263
1264 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
1265
97a0c697
JK
12662015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1267
1268 PR corefiles/17808
1269 * gdb.arch/i386-biarch-core.core.bz2: New file.
1270 * gdb.arch/i386-biarch-core.exp: New file.
1271
a47cd6e9
PA
12722015-02-21 Pedro Alves <palves@redhat.com>
1273
1274 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
1275 runto_main fails.
1276
c5facdc4
PA
12772015-02-20 Pedro Alves <palves@redhat.com>
1278
1279 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
1280 info probes.
1281
2db9a427
PA
12822015-02-20 Pedro Alves <palves@redhat.com>
1283
1284 * gdb.threads/multi-create-ns-info-thr.exp: New file.
1285
60fb7e9e
PA
12862015-02-20 Pedro Alves <palves@redhat.com>
1287
1288 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
1289 clean_restart before gdb_target_supports_trace.
1290
5c5019c2
PA
12912015-02-20 Pedro Alves <palves@redhat.com>
1292
1293 PR threads/18006
1294 * gdb.threads/clone-thread_db.c: New file.
1295 * gdb.threads/clone-thread_db.exp: New file.
1296
c9587f88
AT
12972015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
1298
1299 PR breakpoints/16812
1300 * gdb.base/catch-gdb-caused-signals.c: New file.
1301 * gdb.base/catch-gdb-caused-signals.exp: New file.
1302
f6a88844
JM
13032015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
1304
1305 * configure: Regenerated.
1306 * configure.ac: Use GDB_AC_TRANSFORM.
1307 * aclocal.m4: sinclude ../transform.m4.
1308
497c491b
JM
13092015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1310
1311 * lib/dtrace.exp: New file.
1312 * gdb.base/dtrace-probe.exp: Likewise.
1313 * gdb.base/dtrace-probe.d: Likewise.
1314 * gdb.base/dtrace-probe.c: Likewise.
1315 * lib/pdtrace.in: Likewise.
1316 * configure.ac: Output variables with the transformed names of
1317 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
1318 * configure: Regenerated.
1319
03e98035
JM
13202015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1321
1322 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
1323 expected message when trying to access $_probe_* convenience
1324 variables while not on a probe.
1325
63cc30e9
JK
13262015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1327
1328 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
1329
0703599a
PA
13302015-02-11 Pedro Alves <pedro@codesourcery.com>
1331
1332 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
1333 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
1334
7e60a48e
DE
13352015-02-10 Doug Evans <xdje42@gmail.com>
1336
1337 * lib/gdb.exp (gdb_load): Always return a result.
1338
01b088bc
PA
13392015-02-10 Pedro Alves <palves@redhat.com>
1340
1341 * gdb.threads/signal-sigtrap.c: New file.
1342 * gdb.threads/signal-sigtrap.exp: New file.
1343
b05ec7a5
AT
13442015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
1345
1346 * gdb.trace/no-attach-trace.c: New file.
1347 * gdb.trace/no-attach-trace.exp: New file.
1348
a2c2acaf
MW
13492015-02-09 Mark Wielaard <mjw@redhat.com>
1350
1351 * gdb.dwarf2/atomic.c: New file.
1352 * gdb.dwarf2/atomic-type.exp: Likewise.
1353
31fd9caa
MM
13542015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1355
1356 * gdb.btrace/buffer-size.exp: Update "info record" output.
1357 * gdb.btrace/delta.exp: Update "info record" output.
1358 * gdb.btrace/enable.exp: Update "info record" output.
1359 * gdb.btrace/finish.exp: Update "info record" output.
1360 * gdb.btrace/instruction_history.exp: Update "info record" output.
1361 * gdb.btrace/next.exp: Update "info record" output.
1362 * gdb.btrace/nexti.exp: Update "info record" output.
1363 * gdb.btrace/step.exp: Update "info record" output.
1364 * gdb.btrace/stepi.exp: Update "info record" output.
1365 * gdb.btrace/nohist.exp: Update "info record" output.
1366
d33501a5
MM
13672015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1368
1369 * gdb.btrace/buffer-size: New.
1370
f4abbc16
MM
13712015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1372
1373 * gdb.btrace/delta.exp: Update "info record" output.
1374 * gdb.btrace/enable.exp: Update "info record" output.
1375 * gdb.btrace/finish.exp: Update "info record" output.
1376 * gdb.btrace/instruction_history.exp: Update "info record" output.
1377 * gdb.btrace/next.exp: Update "info record" output.
1378 * gdb.btrace/nexti.exp: Update "info record" output.
1379 * gdb.btrace/step.exp: Update "info record" output.
1380 * gdb.btrace/stepi.exp: Update "info record" output.
1381 * gdb.btrace/nohist.exp: Update "info record" output.
1382
b9d61307
SM
13832015-02-06 Simon Marchi <simon.marchi@ericsson.com>
1384
1385 PR gdb/15678
1386 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
1387
e584fdbc
PA
13882015-02-06 Pedro Alves <palves@redhat.com>
1389
1390 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
1391 macro.
1392 (seconds_left, again): New globals.
1393 (main): Wait seconds_left in a 1-second sleep loop instead of
1394 sleeping 180 seconds. If 'again' is set, reset the seconds
1395 counter.
1396 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
1397 'again' in the inferior before detaching. Print the seconds left.
1398 (options): New global.
1399 (top level): Build program with -DTIMEOUT=$timeout.
1400
77f41761
PA
14012015-02-06 Pedro Alves <palves@redhat.com>
1402
1403 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
1404 determine how many seconds to pass to 'alarm'.
1405 * gdb.base/gdb-sigterm.exp (top level): Build program with
1406 -DTIMEOUT=$timeout.
1407 (do_test): Return success/failure indication. Add more verbose
1408 logging. Don't fail if 200 single steps are seen. Instead, fail
1409 when the test times out.
1410 (passes): New global.
1411 (top level): Break the testing loop if testing fails on any
1412 iteration. Use gdb_assert.
1413
b9394193
DB
14142015-02-04 Don Breazeal <donb@codesourcery.com>
1415
1416 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
1417 and initialize them.
1418 (ipc_cleanup): New function.
1419 (main): Don't declare shmid, semid, and msqid. Add a call to
1420 atexit so that we call ipc_cleanup on exit.
1421
42d9e528
PA
14222015-02-04 Pedro Alves <palves@redhat.com>
1423
1424 * boards/native-extended-gdbserver.exp: Remove any target variant
1425 specifications from the board name before clearing the isremote
1426 flag from board_info.
1427
ae6ae975
DE
14282015-01-31 Doug Evans <xdje42@gmail.com>
1429
1430 * gdb.base/maint.exp <maint print type argc>: Update expected output.
1431
cfb069a8
GB
14322015-01-31 Gary Benson <gbenson@redhat.com>
1433
1434 * gdb.base/completion.exp: Disable completion limiting for
1435 existing tests. Add new tests to check completion limiting.
1436 * gdb.linespec/ls-errs.exp: Disable completion limiting.
1437
5dd31d79
DE
14382015-01-31 Doug Evans <xdje42@gmail.com>
1439
1440 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
1441
9f050062
DE
14422015-01-31 Doug Evans <xdje42@gmail.com>
1443
1444 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
1445 entries. Duplicate file section script entries.
1446 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
1447 inlined entries. Add test for safe-path rejection.
1448 * gdb.python/py-section-script.c: Add duplicate inlined section script
1449 entries. Duplicate file section script entries.
1450 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
1451 inlined entries. Add test for safe-path rejection.
1452
df25ebbd
JB
14532015-01-29 Joel Brobecker <brobecker@adacore.com>
1454
1455 * gdb.ada/disc_arr_bound: New testcase.
1456
4a0ca9ec
JB
14572015-01-29 Joel Brobecker <brobecker@adacore.com>
1458
1459 * gdb.ada/mi_var_array: New testcase.
1460
3a8b707a
DE
14612015-01-27 Doug Evans <dje@google.com>
1462
1463 * gdb.python/py-objfile.exp: Add tests for objfile.username.
1464 Add test for objfile.filename, objfile.username after objfile
1465 has been unloaded.
1466
f8313f6e
JB
14672015-01-26 Joel Brobecker <brobecker@adacore.com>
1468
1469 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
1470 the second test to print the name attribute of value
1471 returned by the call to gdb.lookup_type, and adjust
1472 the expected output accordingly.
1473
37bc665e
MW
14742015-01-25 Mark Wielaard <mjw@redhat.com>
1475
1476 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
1477 * gdb.base/disp-step-fork.c: Include unistd.h.
1478 * gdb.base/siginfo-obj.c: Include stdio.h.
1479 * gdb.base/siginfo-thread.c: Likewise.
1480 * gdb.mi/non-stop.c: Include unistd.h.
1481 * gdb.mi/nsthrexec.c: Include stdio.h.
1482 * gdb.mi/pthreads.c: Include unistd.h.
1483 * gdb.modula2/unbounded1.c (main): Declare returns int.
1484 * gdb.reverse/consecutive-reverse.c: Likewise.
1485 * gdb.threads/create-fail.c: Include unistd.h.
1486 * gdb.threads/killed.c: Likewise.
1487 * gdb.threads/linux-dp.c: Likewise.
1488 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
1489 * gdb.threads/non-ldr-exc-2.c: Likewise.
1490 * gdb.threads/non-ldr-exc-3.c: Likewise.
1491 * gdb.threads/non-ldr-exc-4.c: Likewise.
1492 * gdb.threads/pthreads.c: Include unistd.h.
1493 (main): Declare returns int.
1494 * gdb.threads/tls-main.c (foo): New declaration.
1495 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
1496
f7e5394d
SM
14972015-01-23 Simon Marchi <simon.marchi@ericsson.com>
1498
1499 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
1500 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
1501
743649fd
MW
15022015-01-15 Mark Wielaard <mjw@redhat.com>
1503
1504 * gdb.base/noreturn-return.c: New file.
1505 * gdb.base/noreturn-return.exp: New file.
1506 * gdb.base/noreturn-finish.c: New file.
1507 * gdb.base/noreturn-finish.exp: New file.
1508
198297aa
PA
15092015-01-23 Pedro Alves <palves@redhat.com>
1510
1511 * gdb.threads/continue-pending-after-query.c: New file.
1512 * gdb.threads/continue-pending-after-query.exp: New file.
1513
717cf30c
AG
15142015-01-22 Anders Granlund <anders.granlund@ericsson.com>
1515 Simon Marchi <simon.marchi@ericsson.com>
1516
1517 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
1518 * gdb.base/valgrind-db-attach.exp: Same.
1519 * gdb.base/valgrind-infcall.exp: Same.
1520 * lib/mi-support.exp (default_mi_gdb_start): Same.
1521 * lib/prompt.exp (default_prompt_gdb_start): Same.
1522 * lib/gdb.exp (default_gdb_spawn): Same.
1523 (gdb_interact): New.
1524
1525
4b62a76e
JK
15262015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1527
1528 * gdb.compile/compile.exp (pointer to jit function): New test.
1529
b4cdae6f
WW
15302015-01-17 Wei-cheng Wang <cole945@gmail.com>
1531
1532 * lib/gdb.exp (supports_process_record): Return true for
1533 powerpc*-*-linux*.
1534 (supports_reverse): Likewise.
1535
d221e7ef
DB
15362015-01-15 Don Breazeal <donb@codesourcery.com>
1537
1538 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
1539 instead of checking whether the target board is remote and
1540 use spawn_wait_for_attach instead of exec/sleep.
1541 * gdb.base/attach-twice.exp: Likewise.
1542
bafffb51
JB
15432015-01-15 Joel Brobecker <brobecker@adacore.com>
1544
1545 * gdb.ada/var_arr_attrs: New testcase.
1546
5589af0e
PA
15472015-01-14 Pedro Alves <palves@redhat.com>
1548 Joel Brobecker <brobecker@adacore.com>
1549
1550 PR gdb/17525
1551 * gdb.base/bp-cmds-execution-x-script.c: New file.
1552 * gdb.base/bp-cmds-execution-x-script.exp: New file.
1553 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
1554
6c400b59
PA
15552015-01-14 Pedro Alves <palves@redhat.com>
1556
1557 PR cli/17828
1558 * gdb.base/batch-preserve-term-settings.c: New file.
1559 * gdb.base/batch-preserve-term-settings.exp: New file.
1560
e02c96a7
DE
15612015-01-13 Doug Evans <dje@google.com>
1562
1563 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
1564 binary.
1565
576fd14c
JB
15662015-01-13 Joel Brobecker <brobecker@adacore.com>
1567
1568 * Makefile.in (clean mostlyclean): Do not delete *.py.
1569
04dccad0
JB
15702015-01-13 Joel Brobecker <brobecker@adacore.com>
1571
1572 * gdb.python/py-lookup-type.exp: New file.
1573
3d230f71
PA
15742015-01-12 Pedro Alves <palves@redhat.com>
1575
1576 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
1577 restore GDBFLAGS before returning.
1578
7e67715d
JK
15792015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1580
1581 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
1582 is_amd64_regs_target and is_x86_like_target.
1583
f2e0d4b4
DE
15842015-01-11 Doug Evans <xdje42@gmail.com>
1585
1586 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
1587 is given without an explicit form.
1588 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
1589 attributes.
1590 * gdb.dwarf/corrupt.exp: Ditto.
1591 * gdb.dwarf2/enum-type.exp: Ditto.
1592 * gdb.trace/entry-values.exp: Ditto.
1593 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
1594
439250fb
DE
15952015-01-11 Doug Evans <xdje42@gmail.com>
1596
1597 PR gdb/15830
1598 * gdb.base/maint.exp: Remove references to "maint demangle".
1599 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
1600 Add tests for explicitly specifying language to demangle.
1601 * gdb.dlang/demangle.exp: Ditto.
1602
ede9f622
PA
16032015-01-09 Pedro Alves <palves@redhat.com>
1604
1605 * gdb.threads/non-stop-fair-events.c: New file.
1606 * gdb.threads/non-stop-fair-events.exp: New file.
1607
a7b796db
PA
16082015-01-09 Pedro Alves <palves@redhat.com>
1609
1610 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
1611 the global scope. Set a breakpoint after all threads are started
1612 rather than stepping over two source lines. Expect the prompt.
1613 * gdb.base/watch_thread_num.c (threads_started_barrier): New
1614 global.
1615 (NUM): Now 15.
1616 (main): Use threads_started_barrier to wait for all threads to
1617 start. Main thread no longer calls thread_function. Exit after
1618 180 seconds.
1619 (loop): New function.
1620 (thread_function): Wait on threads_started_barrier barrier. Call
1621 'loop' at each iteration.
1622 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
1623 threads have started, instead of hardcoding number of "next"
1624 steps. Use an access watchpoint instead of a write watchpoint.
1625
9665ffdd
PA
16262015-01-09 Pedro Alves <palves@redhat.com>
1627
1628 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
1629 (thread_func): Wait on barrier.
1630 (main): Wait for all threads to start before stopping GDB.
1631 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
1632 global.
1633 (thread1_func, thread2_func): Wait on barrier.
1634 (main): Wait for all threads to start before stopping GDB.
1635 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
1636 New global.
1637 (thread1_func, thread2_func): Wait on barrier.
1638 (main): Wait for all threads to start before stopping GDB.
1639
c945a99f
PA
16402015-01-09 Pedro Alves <palves@redhat.com>
1641
1642 * gdb.threads/attach-many-short-lived-threads.c: New file.
1643 * gdb.threads/attach-many-short-lived-threads.exp: New file.
1644
c1a747c1
PA
16452014-01-09 Pedro Alves <palves@redhat.com>
1646
1647 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
1648 instead of to thread 2.
1649 * gdb.threads/signal-command-multiple-signals-pending.c (main):
1650 Add barrier around each pthread_create call instead of around all
1651 calls.
1652 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
1653 Set a break on thread_function and have the child threads hit it
1654 one at at a time.
1655
60b3033e
PA
16562015-01-09 Pedro Alves <palves@redhat.com>
1657
1658 * lib/gdb.exp (can_spawn_for_attach): New procedure.
1659 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
1660 false.
1661 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
1662 checking whether the target board is remote.
1663 * gdb.multi/multi-attach.exp: Likewise.
1664 * gdb.python/py-sync-interp.exp: Likewise.
1665 * gdb.server/ext-attach.exp: Likewise.
1666 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
1667 tests that need to attach, instead of checking whether the target
1668 board is remote at the top of the file.
1669
acc018ac
YQ
16702015-01-08 Yao Qi <yao@codesourcery.com>
1671
1672 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
1673
50a18af8
JK
16742015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1675
1676 Fix testcase compilation.
1677 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
1678
8503d6e1
JB
16792015-01-06 Joel Brobecker <brobecker@adacore.com>
1680
1681 * gdb.python/py-type.exp: Add a couple test about empty
1682 array creation, and negative-length array creation.
1683
cc73dbcc
DE
16842015-01-02 Doug Evans <xdje42@gmail.com>
1685
1686 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
1687
0300bbc7
DE
16882015-01-02 Doug Evans <dje@google.com>
1689
1690 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
1691
9d85a0ec
YQ
16922014-12-29 Yao Qi <yao@codesourcery.com>
1693
1694 * gdb.trace/entry-values.exp: Update comments. Rename variable
1695 bar_call_foo to returned_from_foo.
1696
87186c6a
MMN
16972014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
1698
1699 PR gdb/17394
1700 * gdb.linespec/break-asm-file.c: New file.
1701 * gdb.linespec/break-asm-file.exp: New file.
1702 * gdb.linespec/break-asm-file0.s: New file.
1703 * gdb.linespec/break-asm-file1.s: New file.
1704
1bab7383
YQ
17052014-12-18 Nigel Stephens <nigel@mips.com>
1706 Maciej W. Rozycki <macro@codesourcery.com>
1707
1708 * gdb.base/float.exp: Handle the new output from "info float" on
1709 MIPS targets.
1710
1bc1068a
JK
17112014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1712
1713 Fix MinGW compilation.
1714 * gdb.compile/compile-ops.exp: Update untested message if
1715 !skip_compile_feature_tests.
1716 * gdb.compile/compile-setjmp.exp: Likewise.
1717 * gdb.compile/compile-tls.exp: Likewise.
1718 * gdb.compile/compile.exp: Likewise.
1719 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
1720 supported on this host".
1721
b6615d10
DE
17222014-12-16 Doug Evans <xdje42@gmail.com>
1723
1724 * boards/stabs.exp: New file.
1725
25dda427
AA
17262014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
1727
1728 * gdb.base/completion.exp: Adjust to format changes of "maint
1729 print user-registers".
1730
bf330350
CU
17312014-12-16 Catalin Udma <catalin.udma@freescale.com>
1732
1733 PR server/17457
1734 * gdb.arch/aarch64-fp.c: New file.
1735 * gdb.arch/aarch64-fp.exp: New file.
1736
395cf596
SDJ
17372014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
1738
1739 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
1740 r210637, r210913, r211666, r215400, r215817).
1741
1742 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
1743 * dg-extract-results.py: New file.
1744 * dg-extract-results.sh: Use it if the environment seems
1745 suitable.
1746
1747 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
1748
1749 * dg-extract-results.py (parse_run): Handle warnings that
1750 are printed before a test harness is run.
1751
1752 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
1753
1754 * dg-extract-results.py (Named): Remove __cmp__ method.
1755 (output_variation): Use a key to sort variation.harnesses.
1756
1757 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
1758
1759 * dg-extract-results.py: For Python 3, force sys.stdout to
1760 handle surrogate escape sequences.
1761 (safe_open): New function.
1762 (output_segment, main): Use it.
1763
1764 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
1765
1766 * dg-extract-results.py (Prog.result_re): Include options
1767 in test name.
1768
1769 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
1770
1771 * dg-extract-results.py (output_variation): Always sort if
1772 do_sum.
1773
e882ef3c
SM
17742014-12-15 Simon Marchi <simon.marchi@ericsson.com>
1775
1776 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
1777 as long as we get pagination notifications.
1778
4992aa20
JM
17792014-12-15 Jason Merrill <jason@redhat.com>
1780
1781 * Makefile.in (check-gdb.%): Restore.
1782 * README: Mention it.
1783
c1b5a1a6
JB
17842014-12-13 Joel Brobecker <brobecker@adacore.com>
1785
1786 * gdb.ada/str_uninit: New testcase.
1787
5537b577
JK
17882014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1789
1790 PR symtab/17642
1791 * gdb.base/vla-stub-define.c: New file.
1792 * gdb.base/vla-stub.c: New file.
1793 * gdb.base/vla-stub.exp: New file.
1794
bb2ec1b3
TT
17952014-12-12 Phil Muldoon <pmuldoon@redhat.com>
1796 Jan Kratochvil <jan.kratochvil@redhat.com>
1797 Tom Tromey <tromey@redhat.com>
1798
1799 * configure.ac: Add gdb.compile/.
1800 * configure: Regenerate.
1801 * gdb.compile/Makefile.in: New file.
1802 * gdb.compile/compile-ops.exp: New file.
1803 * gdb.compile/compile-ops.c: New file.
1804 * gdb.compile/compile-tls.c: New file.
1805 * gdb.compile/compile-tls.exp: New file.
1806 * gdb.compile/compile-constvar.S: New file.
1807 * gdb.compile/compile-constvar.c: New file.
1808 * gdb.compile/compile-mod.c: New file.
1809 * gdb.compile/compile-nodebug.c: New file.
1810 * gdb.compile/compile-setjmp-mod.c: New file.
1811 * gdb.compile/compile-setjmp.c: New file.
1812 * gdb.compile/compile-setjmp.exp: New file.
1813 * gdb.compile/compile-shlib.c: New file.
1814 * gdb.compile/compile.c: New file.
1815 * gdb.compile/compile.exp: New file.
1816 * lib/gdb.exp (skip_compile_feature_tests): New proc.
1817
4ff709eb
TT
18182014-12-12 Tom Tromey <tromey@redhat.com>
1819
1820 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
1821 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
1822
6dddd6a5
DE
18232014-12-12 Doug Evans <dje@google.com>
1824
1825 * lib/gdb-python.exp (get_python_valueof): New function.
1826 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
1827
71c24708
AA
18282014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1829
1830 * gdb.base/completion.exp: Add test for completion of "info
1831 registers ".
1832
3e29f34a
MR
18332014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
1834
1835 * gdb.base/func-ptrs.c: New file.
1836 * gdb.base/func-ptrs.exp: New file.
1837
fc126975
SM
18382014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1839
1840 PR breakpoints/17012
1841 * gdb.base/dprintf-detach.c: New file.
1842 * gdb.base/dprintf-detach.exp: New file.
1843
0a46d518
SM
18442014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1845
1846 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
1847 * lib/gdb.exp (target_is_gdbserver): New procedure.
1848
a0be3e44
DE
18492014-12-08 Doug Evans <dje@google.com>
1850
1851 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
1852
df1b803a
YQ
18532014-12-05 Yao Qi <yao@codesourcery.com>
1854
1855 * gdb.guile/scm-error.exp: Remove the third argument to
1856 gdb_remote_download.
1857 * gdb.guile/scm-frame-args.exp: Likewise.
1858 * gdb.guile/scm-section-script.exp: Likewise.
1859
ddb9f679
YQ
18602014-12-05 Yao Qi <yao@codesourcery.com>
1861
1862 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
1863
86e4ed39
DE
18642014-12-04 Doug Evans <dje@google.com>
1865
1866 * gdb.python/py-objfile.exp: Add tests for
1867 objfile.add_separate_debug_file.
1868
7c50a931
DE
18692014-12-04 Doug Evans <dje@google.com>
1870
1871 * lib/gdb.exp (get_build_id): New function.
1872 (build_id_debug_filename_get): Rewrite to use it.
1873 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
1874
621661e3
MR
18752014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
1876
1877 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
1878 `method(long)', not just 0x0.
1879 * gdb.cp/nsalias.exp: Align code labels to 4.
1880 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
1881 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
1882 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
1883 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
1884 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
1885 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
1886
29f0c3b7
DE
18872014-12-02 Doug Evans <dje@google.com>
1888
e1e061e7 1889 PR symtab/17602
29f0c3b7 1890 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 1891 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
1892 * gdb.cp/anon-ns.exp: Update.
1893
162078c8
NB
18942014-12-02 Nick Bull <nicholaspbull@gmail.com>
1895
1896 * gdb.python/py-events.py (inferior_call_handler): New.
1897 (register_changed_handler, memory_changed_handler): New.
1898 (test_events.invoke): Register new handlers.
1899 * gdb.python/py-events.exp: Add tests for inferior call,
1900 memory_changed and register_changed events.
1901
fdb09caf
AA
19022014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1903
1904 * gdb.base/execl-update-breakpoints.exp: Specify the link address
1905 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
1906 if the linker doesn't understand this.
1907
55cfb2c4
SM
19082014-12-01 Simon Marchi <simon.marchi@ericsson.com>
1909
1910 * gdb.python/python.exp: Change expected reply to help().
1911
9e8cd6df
YQ
19122014-12-01 Yao Qi <yao@codesourcery.com>
1913
1914 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
1915 AC_CONFIG_SUBDIRS(gdb.gdbtk).
1916 * configure: Re-generated.
1917
6c659fc2
SC
19182014-11-28 Siva Chandra Reddy <sivachandra@google.com>
1919
1920 * gdb.cp/chained-calls.cc: New file.
1921 * gdb.cp/chained-calls.exp: New file.
1922 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
1923
d7fc3181
SM
19242014-11-28 Simon Marchi <simon.marchi@ericsson.com>
1925
1926 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
1927 * gdb.dwarf2/symtab-producer.exp: Same.
1928 * gdb.gdb/python-interrupts.exp: Same.
1929 * gdb.gdb/python-selftest.exp: Same.
1930 * gdb.python/py-linetable.exp: Same.
1931 * gdb.python/py-type.exp: Same.
1932 * gdb.python/py-value-cc.exp: Same.
1933 * gdb.python/py-value.exp: Same.
1934
10e79639
YQ
19352014-11-28 Yao Qi <yao@codesourcery.com>
1936
1937 * gdb.base/break-probes.exp: Match library name prefixed with
1938 sysroot.
1939
f28a0564
SM
19402014-11-27 Simon Marchi <simon.marchi@ericsson.com>
1941
1942 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
1943 test expected output. Add parentheses for the call to print.
1944 Remove L suffix from integers.
1945
3fe1ce1d
DE
19462014-11-26 Doug Evans <dje@google.com>
1947
1948 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
1949
84429e27
YQ
19502014-11-22 Yao Qi <yao@codesourcery.com>
1951
1952 * gdb.trace/entry-values.c: Remove asms.
1953 (foo): Add foo_label.
1954 (bar): Add bar_label.
1955 * gdb.trace/entry-values.exp: Remove code computing foo's
1956 length and bar's length.
1957 (Dwarf::assemble): Invoke function_range for bar and use
1958 MACRO_AT_func for foo.
1959
26741859
YQ
19602014-11-22 Yao Qi <yao@codesourcery.com>
1961
1962 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
1963 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
1964 Use .Lgcc43_procstart instead of gcc43.
1965
45e44d27
JB
19662014-11-21 Joel Brobecker <brobecker@adacore.com>
1967
1968 * gdb.ada/n_arr_bound: New testcase.
1969
458c8db8
SDJ
19702014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1971
1972 PR breakpoints/10737
1973 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
1974 test_catch_syscall_multi_arch.
1975 (test_catch_syscall_multi_arch): New function.
1976
43f3e411
DE
19772014-11-20 Doug Evans <xdje42@gmail.com>
1978
1979 * gdb.base/maint.exp: Update expected output.
1980
0d7b2549
AA
19812014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1982
1983 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
1984 4-byte instruction on S390.
1985
8908fca5
JB
19862014-11-19 Joel Brobecker <brobecker@adacore.com>
1987
1988 * gdb.ada/arr_arr: New testcase.
1989
4a46959e
JB
19902014-11-19 Joel Brobecker <brobecker@adacore.com>
1991
1992 * gdb.ada/pkd_arr_elem: New Testcase.
1993
470e2f4e
LM
19942014-11-18 Luis Machado <lgustavo@codesourcery.com>
1995
1996 * gdb.reverse/break-precsave: Expect completion message for
1997 core file reads.
1998 * gdb.reverse/consecutive-precsave.exp: Likewise.
1999 * gdb.reverse/finish-precsave.exp: Likewise.
2000 * gdb.reverse/i386-precsave.exp: Likewise.
2001 * gdb.reverse/machinestate-precsave.exp: Likewise.
2002 * gdb.reverse/sigall-precsave.exp: Likewise.
2003 * gdb.reverse/solib-precsave.exp: Likewise.
2004 * gdb.reverse/step-precsave.exp: Likewise.
2005 * gdb.reverse/until-precsave.exp: Likewise.
2006 * gdb.reverse/watch-precsave.exp: Likewise.
2007
a267f3ad
AA
20082014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2009
2010 * gdb.base/bp-permanent.c: Include unistd.h.
2011 * gdb.python/py-framefilter-mi.c (main): Add return type.
2012 * gdb.python/py-framefilter.c (main): Likewise.
2013 * gdb.trace/actions-changed.c (main): Likewise.
2014
12084a9a
AA
20152014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2016
2017 * gdb.mi/until.c: Add eye-catchers.
2018 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
2019 line numbers.
2020
dc7e1a77
AA
20212014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2022
2023 * gdb.base/condbreak.exp: Drop references to removed non-prototype
2024 function header variants in break1.c.
2025 * gdb.base/ena-dis-br.exp: Likewise.
2026 * gdb.base/hbreak2.exp: Likewise.
2027 * gdb.reverse/until-precsave.exp: Drop references to removed
2028 non-prototype function header variants in ur1.c.
2029 * gdb.reverse/until-reverse.exp: Likewise.
2030
41c77605
PM
20312014-11-17 Petr Machata <pmachata@redhat.com>
2032
2033 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
2034 ${_cu_offset_size} bytes abbrev offset.
2035
34248c3a
DE
20362014-11-15 Doug Evans <xdje42@gmail.com>
2037
2038 PR symtab/17559
2039 * gdb.base/line-symtabs.exp: New file.
2040 * gdb.base/line-symtabs.c: New file.
2041 * gdb.base/line-symtabs.h: New file.
2042
646da059
YQ
20432014-11-14 Yao Qi <yao@codesourcery.com>
2044
2045 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
2046 (func): Add label func_label.
2047 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
2048 Replace low_pc and high_pc with MACRO_AT_range.
2049 Replace name, low_pc and high_pc with MACRO_AT_func.
2050
9301ebe6
YQ
20512014-11-14 Yao Qi <yao@codesourcery.com>
2052
2053 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
2054 Replace name, low_pc and high_pc with MACRO_AT_func.
2055
f166b542
YQ
20562014-11-14 Yao Qi <yao@codesourcery.com>
2057
2058 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
2059 produce debug information.
2060 * gdb.dwarf2/implptr-optimized-out.S: Removed.
2061
0f6e71e3
YQ
20622014-11-14 Yao Qi <yao@codesourcery.com>
2063
2064 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
2065 object and get function length.
2066 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
2067 with MACRO_AT_func.
2068 (top-level): Replace gdb_compile and clean_restart with
2069 prepare_for_testing.
2070 * gdb.dwarf2/main.c (main): Add label main_label.
2071
876c4df9
YQ
20722014-11-14 Yao Qi <yao@codesourcery.com>
2073
2074 * lib/dwarf.exp (function_range): New procedure.
2075 (Dwarf::_handle_macro_at_func): New procedure.
2076 (Dwarf::_handle_macro_at_range): New procedure.
2077 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
2078
02ad9cf1
YQ
20792014-11-14 Yao Qi <yao@codesourcery.com>
2080
2081 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
2082 (_handle_attribute): New procedure.
2083
a59add0c
AA
20842014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2085
2086 * gdb.ada/cond_lang/foo.c (callme): Add return type.
2087 * gdb.base/call-sc.c (zed): Likewise.
2088 * gdb.base/checkpoint.c (main): Likewise.
2089 * gdb.base/dump.c (main): Likewise.
2090 * gdb.base/gcore.c (main): Likewise.
2091 * gdb.base/huge.c (main): Likewise.
2092 * gdb.base/multi-forks.c (main): Likewise.
2093 * gdb.base/pr10179-a.c (main): Likewise.
2094 * gdb.base/savedregs.c (main): Likewise.
2095 * gdb.base/sigaltstack.c (main): Likewise.
2096 * gdb.base/siginfo.c (main): Likewise.
2097 * gdb.base/structs.c (zed): Likewise.
2098 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
2099 * gdb.mi/mi-syn-frame.c (main): Likewise.
2100 * gdb.mi/until.c (foo, main): Likewise.
2101 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
2102 * gdb.base/solib-weak.c (foo): Declare.
2103 * gdb.base/attach-twice.c: Include stdio.h.
2104 * gdb.base/weaklib1.c: Likewise.
2105 * gdb.base/weaklib2.c: Likewise.
2106 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
2107 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
2108 unistd.h.
2109 * gdb.base/attach-pie-misread.c: Include stdlib.h.
2110 * gdb.mi/mi-exit-code.c: Likewise.
2111 * gdb.base/break-interp-lib.c: Include string.h.
2112 * gdb.base/coremaker.c: Likewise.
2113 * gdb.base/testenv.c: Likewise.
2114 * gdb.python/py-finish-breakpoint.c: Likewise.
2115 * gdb.base/inferior-died.c: Include sys/wait.h.
2116 * gdb.base/fileio.c: Include time.h.
2117 * gdb.base/async-shell.c: Include unistd.h.
2118 * gdb.base/dprintf-non-stop.c: Likewise.
2119 * gdb.base/info-os.c: Likewise.
2120 * gdb.mi/mi-console.c: Likewise.
2121 * gdb.mi/watch-nonstop.c: Likewise.
2122 * gdb.python/py-events.c: Likewise.
2123 * gdb.base/async.c (baz): Move up before its invocation.
2124 * gdb.base/code_elim2.c (my_global_func): Likewise.
2125 * gdb.base/skip-solib-lib.c (multiply): Likewise.
2126 * gdb.base/advance.c (func2): Likewise.
2127
3b5d5997
AA
21282014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2129
2130 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
2131 variant.
2132 * gdb.base/annota3.c: Likewise.
2133 * gdb.base/async.c: Likewise.
2134 * gdb.base/average.c: Likewise.
2135 * gdb.base/call-ar-st.c: Likewise.
2136 * gdb.base/call-rt-st.c: Likewise.
2137 * gdb.base/call-sc.c: Likewise.
2138 * gdb.base/call-strs.c: Likewise.
2139 * gdb.base/ending-run.c: Likewise.
2140 * gdb.base/execd-prog.c: Likewise.
2141 * gdb.base/exprs.c: Likewise.
2142 * gdb.base/foll-exec.c: Likewise.
2143 * gdb.base/foll-fork.c: Likewise.
2144 * gdb.base/foll-vfork.c: Likewise.
2145 * gdb.base/funcargs.c: Likewise.
2146 * gdb.base/gcore.c: Likewise.
2147 * gdb.base/jump.c: Likewise.
2148 * gdb.base/langs0.c: Likewise.
2149 * gdb.base/langs1.c: Likewise.
2150 * gdb.base/langs2.c: Likewise.
2151 * gdb.base/mips_pro.c: Likewise.
2152 * gdb.base/nodebug.c: Likewise.
2153 * gdb.base/opaque0.c: Likewise.
2154 * gdb.base/opaque1.c: Likewise.
2155 * gdb.base/recurse.c: Likewise.
2156 * gdb.base/run.c: Likewise.
2157 * gdb.base/scope0.c: Likewise.
2158 * gdb.base/scope1.c: Likewise.
2159 * gdb.base/setshow.c: Likewise.
2160 * gdb.base/setvar.c: Likewise.
2161 * gdb.base/shmain.c: Likewise.
2162 * gdb.base/shr1.c: Likewise.
2163 * gdb.base/shr2.c: Likewise.
2164 * gdb.base/sigall.c: Likewise.
2165 * gdb.base/signals.c: Likewise.
2166 * gdb.base/so-indr-cl.c: Likewise.
2167 * gdb.base/solib2.c: Likewise.
2168 * gdb.base/structs.c: Likewise.
2169 * gdb.base/sum.c: Likewise.
2170 * gdb.base/vforked-prog.c: Likewise.
2171 * gdb.base/watchpoint.c: Likewise.
2172 * gdb.reverse/shr2.c: Likewise.
2173 * gdb.reverse/until-reverse.c: Likewise.
2174 * gdb.reverse/ur1.c: Likewise.
2175 * gdb.reverse/watch-reverse.c: Likewise.
2176
066a77c5
AA
21772014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2178
2179 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
2180 variant.
2181 * gdb.base/sepdebug.exp: Drop references to removed code.
2182
4f204ea5
AA
21832014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2184
2185 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
2186 variant. Preserve original line numbering.
2187 * gdb.base/list1.c: Likewise.
2188
3b377a3a
AA
21892014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2190
2191 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
2192 variant.
2193 * gdb.base/break1.c: Likewise.
2194 * gdb.base/break.exp: Drop references to removed code.
2195
e444df73
AA
21962014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2197
2198 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
2199 variant.
2200
8008f2a7
AA
22012014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2202
2203 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
2204
a5a06887
AA
22052014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2206
2207 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
2208 logic into perform_all_tests() and invoke it with and without
2209 function header prototypes.
2210 (do_function_calls): Remove conditional XFAIL for PR 5318.
2211 (rerun_and_prepare): Remove duplicate code.
2212 (perform_all_tests): New. Main logic moved here.
2213
44dba9b9
AA
22142014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2215
2216 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
2217 code guarded by #ifdef NO_PROTOTYPES.
2218 (t_double_many_args): Likewise.
2219 (DEF_FUNC_MANY_ARGS_1): Likewise.
2220 (DEF_FUNC_VALUES_1): Likewise.
2221 (t_structs_ldc): Renamed from t_structs_fc in conditional code
2222 guarded by #ifdef PROTOTYPES.
2223
d1fbcd56
AA
22242014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2225
2226 * gdb.mi/mi-console.c: Add eye-catcher.
2227 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
2228 instead of literal line number.
2229
b0e59b8f
AA
22302014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2231
2232 * gdb.base/shr2.c: Add eye-catcher.
2233 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
2234 line number.
2235
78f98cca
AA
22362014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2237
2238 * gdb.base/jump.c: Add eye-catchers.
2239 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
2240 numbers.
2241
58fa2af0
AA
22422014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2243
2244 * gdb.base/execd-prog.c: Add eye-catchers.
2245 * gdb.base/foll-exec.c: Likewise.
2246 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
2247 line numbers.
2248
04e5059b
AA
22492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2250
2251 * gdb.base/ending-run.c: Add eye-catchers.
2252 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
2253 literal line numbers.
2254
dbfdb174
AA
22552014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2256
2257 * gdb.base/call-rt-st.c: Add eye-catchers.
2258 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
2259 literal line numbers.
2260
888a2ade
AA
22612014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2262
2263 * gdb.base/call-ar-st.c: Add eye-catchers.
2264 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
2265 literal line numbers.
2266
6acc2dde
AA
22672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2268
2269 * gdb.base/average.c: Add eye-catchers.
2270 * gdb.base/sum.c: Likewise.
2271 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
2272 regexps dynamically.
2273
9ecfcd1d
AA
22742014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2275
2276 * gdb.base/solib1.c: Add eye-catchers.
2277 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
2278 literal line numbers.
2279
78708b7c
PA
22802014-11-12 Pedro Alves <palves@redhat.com>
2281
2282 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
2283 leader has exited.
2284
af48d08f
PA
22852014-11-12 Pedro Alves <palves@redhat.com>
2286
2287 * gdb.arch/i386-bp_permanent.c: New file.
2288 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
2289 (srcfile): Set to i386-bp_permanent.c.
2290 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
2291 that stepi does not execute the 'leave' instruction, instead of
2292 testing it does execute.
2293 * gdb.base/bp-permanent.c: New file.
2294 * gdb.base/bp-permanent.exp: New file.
2295
af3768e9
DE
22962014-11-10 Doug Evans <xdje42@gmail.com>
2297
2298 PR symtab/17564
2299 * gdb.base/symtab-search-order.exp: New file.
2300 * gdb.base/symtab-search-order.c: New file.
2301 * gdb.base/symtab-search-order-1.c: New file.
2302 * gdb.base/symtab-search-order-shlib-1.c: New file.
2303
9de00a4a
PA
23042014-11-07 Pedro Alves <palves@redhat.com>
2305
2306 PR gdb/17511
2307 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
2308 i?86-*-linux*.
2309
e0f52461
SC
23102014-11-03 Siva Chandra Reddy <sivachandra@google.com>
2311
2312 PR c++/17494
2313 * gdb.cp/pr17494.cc: New file.
2314 * gdb.cp/pr17494.exp: New file.
2315
6ce8c980
YQ
23162014-11-02 Yao Qi <yao@codesourcery.com>
2317
2318 * gdb.python/python.exp: Get working directory and match the
2319 output of "set extended-prompt \\w " with it.
2320
02be9a71
DE
23212014-10-30 Doug Evans <dje@google.com>
2322
2323 * gdb.python/py-objfile.exp: Add tests for setting random attributes
2324 in objfiles.
2325 * gdb.python/py-progspace.exp: Add tests for setting random attributes
2326 in progspaces.
2327
3bdff46b
LM
23282014-10-30 Janis Johnson <janisjo@codesourcery.com>
2329
2330 * gdb.base/fullpath-expand.exp: Skip for a remote host.
2331 * gdb.base/realname-expand.exp: Likewise.
2332 * gdb.linespec/macro-relative.exp: Likewise.
2333
ab917dfb
PA
23342014-10-29 Pedro Alves <palves@redhat.com>
2335
2336 PR gdb/17408
2337 * gdb.threads/schedlock.c (some_function): New function.
2338 (call_function): New global.
2339 (MAYBE_CALL_SOME_FUNCTION): New macro.
2340 (thread_function): Call it.
2341 * gdb.threads/schedlock.exp (get_args): Add description parameter,
2342 and use it instead of a global counter. Adjust all callers.
2343 (get_current_thread): Use "find current thread" for test message
2344 here rather than having all callers pass down the same string.
2345 (goto_loop): New procedure, factored out from ...
2346 (my_continue): ... this.
2347 (step_ten_loops): Change parameter from test message to command to
2348 use. Adjust.
2349 (list_count): Delete global.
2350 (check_result): New procedure, factored out from duplicate top
2351 level code.
2352 (continue tests): Wrap in with_test_prefix.
2353 (test_step): New procedure, factored out from duplicate top level
2354 code.
2355 (top level): Test "step" in combination with all scheduler-locking
2356 modes. Test "next" in combination with all scheduler-locking
2357 modes, and in combination with stepping over a function call or
2358 not.
2359 * gdb.threads/next-bp-other-thread.c: New file.
2360 * gdb.threads/next-bp-other-thread.exp: New file.
2361
d3d4baed
PA
23622014-10-29 Pedro Alves <palves@redhat.com>
2363
2364 PR python/17372
2365 * gdb.python/python.exp: Test a multi-line command that spawns
2366 interactive Python.
2367 * gdb.base/multi-line-starts-subshell.exp: New file.
2368
563e8d85
YQ
23692014-10-29 Yao Qi <yao@codesourcery.com>
2370
2371 * gdb.base/fileio.exp: Make directories on host.
2372
0ea4d52e
YQ
23732014-10-29 Yao Qi <yao@codesourcery.com>
2374
2375 * gdb.base/fileio.c (test_write): Close the file.
2376
7f5ef605
PA
23772014-10-28 Pedro Alves <palves@redhat.com>
2378
2379 PR gdb/12623
2380 * gdb.base/sigstep.c (no_handler): New global.
2381 (main): If 'no_handler is true, set the signal handlers to
2382 SIG_IGN.
2383 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
2384 with_sw_watch and no_handler parameters. Handle them.
2385 (top level) <stepping over handler when stopped at a breakpoint
2386 test>: Add a test axis for testing with a software watchpoint, and
2387 another for testing with the signal handler set to SIG_IGN.
2388 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
2389 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
2390
abbdbd03
PA
23912014-10-28 Pedro Alves <palves@redhat.com>
2392
2393 PR gdb/17511
2394 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
2395 * gdb.base/sigstep.exp (other_handler_location): New global.
2396 (advance): Support stepping into the signal handler, and running
2397 commands while in the handler.
2398 (in_handler_map): New global.
2399 (top level): In the advance test, add combinations for getting
2400 into the handler with stepping commands, and for running commands
2401 in the handler. Add comment descripting the advancei tests.
2402
1df4399f
PA
24032014-10-28 Pedro Alves <palves@redhat.com>
2404
2405 * gdb.base/sigstep.exp: Use build_executable instead of
2406 prepare_for_testing.
2407 (top level): Move code that starts GDB, runs to main and creates a
2408 display to ...
2409 (restart): ... this new procedure.
2410 (top level): Move backtrace from signal handler test to ...
2411 (validate_backtrace): ... this new procedure.
2412 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
2413 with_test_prefix. Always restart GDB.
2414 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
2415 with_test_prefix. Always restart GDB. No need to delete
2416 breakpoints after the test.
2417 (test_skip_handler): Remove prefix parameter.
2418 (skip_over_handler, breakpoint_to_handler)
2419 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
2420 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
2421 restart GDB. No need to delete breakpoints after the test.
2422 (top level): Use foreach to call the test procedures with
2423 different commands.
2424
a5b6e449
PA
24252014-10-28 Pedro Alves <palves@redhat.com>
2426
2427 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
2428 instead of GNATS numbers.
2429 * gdb.base/sigbpt.exp: Likewise.
2430 * gdb.base/siginfo.exp: Likewise.
2431 * gdb.base/sigstep.exp: Likewise.
2432
e5f8a7cc
PA
24332014-10-27 Pedro Alves <palves@redhat.com>
2434
2435 * gdb.base/sigstep.c (dummy): New global.
2436 (main): Issue a couple writes to the new global.
2437 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
2438 procedures.
2439 (skip_over_handler): Use test_skip_handler.
2440 (top level): Call skip_over_handler for stepi and nexti too.
2441 (breakpoint_over_handler): Use test_skip_handler.
2442 (top level): Call breakpoint_over_handler for stepi and nexti too.
2443
763905a3
YQ
24442014-10-27 Yao Qi <yao@codesourcery.com>
2445
2446 * gdb.trace/tfile.c (adjust_function_address)
2447 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
2448 function descriptor.
2449
6f259a23
DB
24502014-10-24 Don Breazeal <donb@codesourcery.com>
2451
2452 * gdb.base/foll-fork.exp (test_follow_fork,
2453 catch_fork_child_follow): Check for updated fork messages emitted
2454 from infrun.c.
2455 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
2456 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
2457 vfork_and_exec_child_follow_through_step): Check for updated vfork
2458 messages emitted from infrun.c.
2459
09dd9a69
PA
24602014-10-24 Pedro Alves <palves@redhat.com>
2461
2462 * gdb.base/corefile.exp: Remove references to ultrix.
2463 * gdb.base/interrupt.exp: Likewise.
2464 * gdb.base/whatis.exp: Likewise.
2465 * gdb.gdb/selftest.exp: Likewise.
2466 * gdb.threads/manythreads.exp: Likewise.
2467 * gdb.threads/print-threads.exp: Likewise.
2468 * gdb.threads/pthreads.exp:: Likewise.
2469 * gdb.threads/schedlock.exp: Likewise.
2470
3433cfa5
SC
24712014-10-24 Siva Chandra Reddy <sivachandra@google.com>
2472
2473 * gdb.cp/non-trivial-retval.cc: Add a test case.
2474 * gdb.cp/non-trivial-retval.exp: Add a test.
2475
092f880b
YQ
24762014-10-20 Yao Qi <yao@codesourcery.com>
2477
2478 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
2479 * gdb.python/py-objfile-script-gdb.py: New file.
2480 * gdb.python/py-objfile-script.exp: Update reference to
2481 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
2482 of remote_download. Remove the dest file.
2483
acbdb7f3
YQ
24842014-10-20 Yao Qi <yao@codesourcery.com>
2485
2486 * gdb.base/checkpoint.exp: Don't remove file copied on host.
2487 * gdb.base/step-line.exp: Likewise.
2488 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2489 * gdb.dwarf2/dw2-basic.exp: Likewise.
2490 * gdb.dwarf2/dw2-compressed.exp: Likewise.
2491 * gdb.dwarf2/dw2-filename.exp: Likewise.
2492 * gdb.dwarf2/dw2-intercu.exp: Likewise.
2493 * gdb.dwarf2/dw2-intermix.exp: Likewise.
2494 * gdb.dwarf2/dw2-producer.exp: Likewise.
2495 * gdb.dwarf2/mac-fileno.exp: Likewise.
2496 * gdb.python/py-frame-args.exp: Likewise.
2497 * gdb.python/py-framefilter.exp: Likewise.
2498 * gdb.python/py-mi.exp: Likewise.
2499 * gdb.python/py-objfile-script.exp: Likewise
2500 * gdb.python/py-pp-integral.exp: Likewise.
2501 * gdb.python/py-pp-re-notag.exp: Likewise.
2502 * gdb.python/py-prettyprint.exp: Likewise.
2503 * gdb.python/py-section-script.exp: Likewise.
2504 * gdb.python/py-typeprint.exp: Likewise.
2505 * gdb.python/py-xmethods.exp: Likewise.
2506 * gdb.stabs/weird.exp: Likewise.
2507 * gdb.xml/tdesc-regs.exp: Likewise.
2508
bd286a29
KCY
25092014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
2510
2511 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
2512 (out_cu): Use addr_len for the size of addresses.
2513 (out_line): Likewise. Size DW_LNE_set_address instruction
2514 according to addr_len.
2515 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
2516 (FUNC): Add START_INSNS to definition.
2517
673dc4a0
YQ
25182014-10-18 Yao Qi <yao@codesourcery.com>
2519
2520 * gdb.base/argv0-symlink.exp: Check argv[0] value if
2521 gdb_has_argv0 return true.
2522 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
2523 check [target_info exists noargs], check [gdb_has_argv0]
2524 instead.
2525 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2526 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
2527 procedures.
2528
4ffbba72
DE
25292014-10-17 Doug Evans <dje@google.com>
2530
2531 * gdb.python/py-events.exp: Update expected output for clear_objfiles
2532 event.
2533 * gdb.python/py-events.py: Add clear_objfiles event.
2534
d096d8c1
DE
25352014-10-17 Doug Evans <dje@google.com>
2536
2537 * gdb.python/py-objfile.exp: Test progspace attribute.
2538
a80db015
LM
25392014-10-17 Luis Machado <lgustavo@codesourcery.com>
2540
2541 * gdb.guile/scm-breakpoint.exp: Do not assume any
2542 directory separators when matching source file paths.
2543 * gdb.python/py-breakpoint.exp: Likewise.
2544 * gdb.reverse/break-precsave.exp: Likewise.
2545 * gdb.reverse/break-reverse.exp: Likewise.
2546 * gdb.reverse/consecutive-precsave.exp: Likewise.
2547 * gdb.reverse/finish-precsave.exp: Likewise.
2548 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
2549 * gdb.reverse/finish-reverse.exp: Likewise.
2550 * gdb.reverse/i386-precsave.exp: Likewise.
2551 * gdb.reverse/i387-env-reverse.exp: Likewise.
2552 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2553 * gdb.reverse/machinestate-precsave.exp: Likewise.
2554 * gdb.reverse/machinestate.exp: Likewise.
2555 * gdb.reverse/sigall-precsave.exp: Likewise.
2556 * gdb.reverse/solib-precsave.exp: Likewise.
2557 * gdb.reverse/step-precsave.exp: Likewise.
2558 * gdb.reverse/until-precsave.exp: Likewise.
2559 * gdb.reverse/watch-precsave.exp: Likewise.
2560 * gdb.reverse/watch-reverse.exp: Likewise.
2561
b22089ab
YQ
25622014-10-17 Yao Qi <yao@codesourcery.com>
2563
2564 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
2565 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
2566
6c4486e6
PA
25672014-10-17 Pedro Alves <palves@redhat.com>
2568
2569 PR gdb/17471
2570 * gdb.base/bg-execution-repeat.c: New file.
2571 * gdb.base/bg-execution-repeat.exp: New file.
2572
0ff33695
PA
25732014-10-17 Pedro Alves <palves@redhat.com>
2574
2575 PR gdb/17300
2576 * gdb.base/continue-all-already-running.c: New file.
2577 * gdb.base/continue-all-already-running.exp: New file.
2578
6fdebc3d
PA
25792014-10-17 Pedro Alves <palves@redhat.com>
2580
2581 PR gdb/17472
2582 * gdb.base/annota-input-while-running.c: New file.
2583 * gdb.base/annota-input-while-running.exp: New file.
2584
32a8097b
PA
25852014-10-17 Pedro Alves <palves@redhat.com>
2586
2587 * gdb.base/callfuncs.exp: emove references to osf.
2588 * gdb.base/sigall.exp: Likewise.
2589 * gdb.gdb/selftest.exp: Likewise.
2590 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
2591 * gdb.mi/non-stop.c: Likewise.
2592 * gdb.mi/pthreads.c: Likewise.
2593 * gdb.reverse/sigall-precsave.exp: Likewise.
2594 * gdb.reverse/sigall-reverse.exp: Likewise.
2595 * gdb.threads/pthreads.c: Likewise.
2596 * gdb.threads/pthreads.exp: Likewise.
2597
7a3517ff
YQ
25982014-10-17 Yao Qi <yao@codesourcery.com>
2599
2600 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
2601 check 'target_info exists noargs'.
2602 (test_command_prompt_position): Likewise.
2603 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
2604 Remove "set args".
2605 (progvar_simple_while_test): Likewise.
2606 (progvar_complex_if_while_test): Likewise.
2607 (if_while_breakpoint_command_test): Likewise.
2608 (infrun_breakpoint_command_test): Likewise.
2609 (breakpoint_command_test): Likewise.
2610 (watchpoint_command_test): Likewise.
2611 (bp_deleted_in_command_test): Likewise.
2612 (temporary_breakpoint_commands): Likewise.
2613
bb99c472
YQ
26142014-10-16 Yao Qi <yao@codesourcery.com>
2615
2616 * gdb.base/remotetimeout.exp: Remove noargs checking.
2617
7c16b83e
PA
26182014-10-15 Pedro Alves <palves@redhat.com>
2619
2620 PR breakpoints/9649
2621 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
2622 * gdb.base/breakpoint-in-ro-region.exp
2623 (probe_target_hardware_step): New procedure.
2624 (top level): Probe hardware stepping and hardware breakpoint
2625 support. Test stepping through a read-only region, with both
2626 "breakpoint auto-hw" on and off and both "always-inserted" on and
2627 off.
2628
35a49624
IB
26292014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
2630
2631 * gdb.dlang/demangle.exp: Update for demangling changes.
2632
2d1c107c
SC
26332014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2634
2635 * gdb.cp/non-trivial-retval.cc: Add new test cases.
2636 * gdb.cp/non-trivial-retval.exp: Add new tests.
2637
778811d5
SC
26382014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2639
2640 PR c++/13403
2641 PR c++/15154
2642 * gdb.cp/non-trivial-retval.cc: New file.
2643 * gdb.cp/non-trivial-retval.exp: New file.
2644
10c5f0a8
YQ
26452014-10-15 Yao Qi <yao@codesourcery.com>
2646
2647 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
2648 remote host.
2649
65d7b369
YQ
26502014-10-15 Yao Qi <yao@codesourcery.com>
2651
2652 * gdb.python/py-symbol.exp: Match file base name if host is
2653 remote, otherwise match file name with dir name.
2654 * gdb.python/py-symtab.exp: Likewise.
2655 * gdb.python/python.exp: Likewise.
2656
46dc1394
YQ
26572014-10-15 Yao Qi <yao@codesourcery.com>
2658
2659 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
2660 pattern.
2661 * gdb.python/py-symtab.exp: Likewise.
2662 * gdb.python/python.exp: Remove trailing ".*". Fix typo
2663 locationn.
2664
c40cc657
JB
26652014-10-14 Joel Brobecker <brobecker@adacore.com>
2666
2667 * gdb.ada/addr_arith: New testcase.
2668
2abf49e1
MR
26692014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
2670
2671 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
2672 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
2673 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
2674 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
2675
f7088df3
SDJ
26762014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
2677
2678 * gdb.arch/stap-eval-lang-ada.S: Likewise.
2679 * gdb.arch/stap-eval-lang-ada.c: Likewise.
2680 * gdb.arch/stap-eval-lang-ada.exp: New file.
2681
4dc06805
YQ
26822014-10-14 Yao Qi <yao@codesourcery.com>
2683
2684 * gdb.mi/mi-var-child.c (nothing1): New function.
2685 (nothing2): New function.
2686 (do_children_tests): Set function pointers by nothing1 and
2687 nothing2.
2688 * gdb.mi/mi-var-child.exp: Step over new added statements.
2689 Update test to match the new output.
2690 * gdb.mi/var-cmd.c (nothing1): New function.
2691 (nothing2): New function.
2692 (do_children_tests): Set function pointers by nothing1 and
2693 nothing2.
2694 * gdb.mi/mi-var-display.exp: Update test to match output.
2695 Step to the line specified by $line_dct_nothing.
2696 Increase the number of lines to step.
2697
46a93de2
YQ
26982014-10-14 Yao Qi <yao@codesourcery.com>
2699
2700 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
2701 tests.
2702 * gdb.mi/mi2-var-child.exp: Likewise.
2703
14ea52ee
DE
27042014-10-13 Doug Evans <dje@google.com>
2705
2706 * gdb.python/py-objfile.exp: Change name of file name test.
2707
e5c6e92b
DE
27082014-10-13 Doug Evans <dje@google.com>
2709
2710 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
2711 from the start of the CU.
2712
c780cc2f
JK
27132014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2714 Yao Qi <yao@codesourcery.com>
2715
2716 Fix "save breakpoints" for "catch" command.
2717 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
2718 Remove -nonewline. Match also the added "main" line.
2719
99894e11
JK
27202014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2721
2722 Fix "save breakpoints" for "disable $bpnum" command.
2723 * gdb.base/save-bp.c (main): Add label.
2724 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
2725
6e1ac5a3
JK
27262014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2727
2728 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
2729
754dd2b0
YQ
27302014-10-11 Yao Qi <yao@codesourcery.com>
2731
2732 * gdb.server/server-kill.exp: Execute command
2733 "set remote trace-status-packet on" before "tstatus".
2734
f90183d7
YQ
27352014-10-11 Yao Qi <yao@codesourcery.com>
2736
2737 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
2738 (main): Call getppid.
2739 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
2740 and continue to it. Read variable "server_pid".
2741
bf40a607
YQ
27422014-10-11 Yao Qi <yao@codesourcery.com>
2743
2744 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
2745
052ca370
YQ
27462014-10-11 Yao Qi <yao@codesourcery.com>
2747
2748 * gdb.threads/thread-find.exp: Don't execute command
2749 "info threads".
2750 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
2751 * gdb.threads/linux-dp.exp: Don't check the condition
2752 $threads_created equals to zero.
2753
3831839c
PA
27542014-10-10 Pedro Alves <palves@redhat.com>
2755
2756 * gdb.base/bigcore.exp: Remove references to IRIX.
2757 * gdb.base/funcargs.exp: Likewise.
2758 * gdb.base/interrupt.exp: Likewise.
2759 * gdb.base/mips_pro.exp: Likewise.
2760 * gdb.base/nodebug.exp: Likewise.
2761 * gdb.base/setvar.exp: Likewise.
2762 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
2763
8b9a549d
PA
27642014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2765 Pedro Alves <palves@redhat.com>
2766
2767 PR symtab/14466
2768 * gdb.base/vdso-warning.c: New file.
2769 * gdb.base/vdso-warning.exp: New file.
2770
d48ba5e8
DE
27712014-10-02 Doug Evans <dje@google.com>
2772
2773 * gdb.base/structs.c (main): Don't run forever.
2774
2278c276
PA
27752014-10-02 Pedro Alves <palves@redhat.com>
2776
2777 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
2778 (top level) <stop threads 1, stop threads 2>: Use it.
2779
b57bacec
PA
27802014-10-02 Pedro Alves <palves@redhat.com>
2781
2782 * gdb.threads/break-while-running.exp (test): Add new
2783 'update_thread_list' argument. Skip "info threads" if false.
2784 (top level): Add new 'update_thread_list' axis.
2785
13fd3ff3
PA
27862014-10-02 Pedro Alves <palves@redhat.com>
2787
2788 PR breakpoints/17431
2789 * gdb.base/execl-update-breakpoints.c: New file.
2790 * gdb.base/execl-update-breakpoints.exp: New file.
2791
0fec99e8
PA
27922014-10-01 Pedro Alves <palves@redhat.com>
2793
2794 * gdb.base/breakpoint-in-ro-region.c: New file.
2795 * gdb.base/breakpoint-in-ro-region.exp: New file.
2796
2ddf4301
SM
27972014-10-01 Simon Marchi <simon.marchi@ericsson.com>
2798
2799 * gdb.mi/mi-exit-code.exp: New file.
2800 * gdb.mi/mi-exit-code.c: New file.
2801
6a5f3f43
YQ
28022014-09-30 Yao Qi <yao@codesourcery.com>
2803
2804 * lib/prelink-support.exp (build_executable_own_libs): Error if
2805 the target isn't native.
2806
345bcc73
YQ
28072014-09-30 Yao Qi <yao@codesourcery.com>
2808
2809 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
2810 false.
2811
a25a5a45
PA
28122014-09-22 Pedro Alves <palves@redhat.com>
2813
2814 * gdb.threads/break-while-running.exp: New file.
2815 * gdb.threads/break-while-running.c: New file.
2816
00ba3162
YQ
28172014-09-19 Yao Qi <yao@codesourcery.com>
2818
2819 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
2820 Invoke test. Restart GDB with --readnow and invoke test again.
2821
c3b7b696
YQ
28222014-09-19 Yao Qi <yao@codesourcery.com>
2823
2824 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
2825 proc set_breakpoint_on_gcd_function. Invoke
2826 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
2827 invoke set_breakpoint_on_gcd_function again.
2828
2b4fd423
DE
28292014-09-18 Doug Evans <dje@google.com>
2830
2831 * gdb.dwarf2/symtab-producer.exp: New file.
2832
a5947601
SDJ
28332014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2834
2835 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
2836 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
2837 * gdb.base/global-var-nested-by-dso.c: Likewise.
2838 * gdb.base/global-var-nested-by-dso.exp: Likewise.
2839
91c19059
SDJ
28402014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2841 Pedro Alves <palves@redhat.com>
2842
2843 * gdb.base/watch-bitfields.exp: Pass string other than test file
2844 name to prepare_for_testing.
2845 (watch): New procedure.
2846 (expect_watchpoint): Use with_test_prefix.
2847 (top level): Factor out tests to ...
2848 (test_watch_location, test_regular_watch): ... these new
2849 procedures, and use with_test_prefix and gdb_continue_to_end.
2850
bb9d5f81
PP
28512014-09-16 Patrick Palka <patrick@parcs.ath.cx>
2852
2853 PR breakpoints/12526
2854 * gdb.base/watch-bitfields.exp: New file.
2855 * gdb.base/watch-bitfields.c: New file.
2856
635856f5
PA
28572014-09-16 Pedro Alves <palves@redhat.com>
2858
2859 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
2860 software and hardware addresses, not software address against
2861 itself.
2862
7280ceea
PA
28632014-09-16 Pedro Alves <palves@redhat.com>
2864
2865 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
2866 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
2867
428b16bd
PA
28682014-09-16 Pedro Alves <palves@redhat.com>
2869
2870 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
2871 files.
2872 * gdb.base/a2-run.exp: Remove all code guarded by istarget
2873 "*-*-vxworks*" throughout.
2874 * gdb.base/break.exp: Likewise.
2875 * gdb.base/default.exp: Likewise.
2876 * gdb.base/scope.exp: Likewise.
2877 * gdb.base/sepdebug.exp: Likewise.
2878 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
2879 throughout.
2880 * gdb.base/run.c: Likewise.
2881 * gdb.base/sepdebug.c: Likewise.
2882 * gdb.hp/gdb.aCC/run.c: Likewise.
2883 * gdb.reverse/until-reverse.c: Likewise.
2884 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
2885
666d413c
YQ
28862014-09-16 Yao Qi <yao@codesourcery.com>
2887
2888 * boards/local-remote-host-native.exp: New file.
2889
57cbd724
DE
28902014-09-14 Doug Evans <xdje42@gmail.com>
2891
2892 * gdb.threads/queue-signal.c (thread_count): New variable.
2893 (thread_count_mutex, thread_count_condvar): New variables.
2894 (incr_thread_count, wait_all_threads_running): New functions.
2895 (main): Wait for all threads to be in their thread functions.
2896
81219e53
DE
28972014-09-13 Doug Evans <xdje42@gmail.com>
2898
2899 * gdb.threads/queue-signal.c: New file.
2900 * gdb.threads/queue-signal.exp: New file.
2901
3714cea7
DE
29022014-09-13 Doug Evans <xdje42@gmail.com>
2903
2904 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
2905 be consistent with what default_gdb_init uses.
2906 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
2907 the plain text of the prompt. Add some logging printfs.
2908 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
2909
fa43b1d7
PA
29102014-09-12 Pedro Alves <palves@redhat.com>
2911
2912 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
2913 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
2914 * gdb.arch/i386-size-overlap.exp: Likewise.
2915 * gdb.arch/i386-size.exp: Likewise.
2916 * gdb.arch/i386-unwind.exp: Likewise.
2917 * gdb.base/a2-run.exp: Likewise.
2918 * gdb.base/break.exp: Likewise.
2919 * gdb.base/charset.exp: Likewise.
2920 * gdb.base/chng-syms.exp: Likewise.
2921 * gdb.base/commands.exp: Likewise.
2922 * gdb.base/dbx.exp: Likewise.
2923 * gdb.base/find.exp: Likewise.
2924 * gdb.base/funcargs.exp: Likewise.
2925 * gdb.base/jit-simple.exp: Likewise.
2926 * gdb.base/reread.exp: Likewise.
2927 * gdb.base/sepdebug.exp: Likewise.
2928 * gdb.base/step-bt.exp: Likewise.
2929 * gdb.cp/mb-inline.exp: Likewise.
2930 * gdb.cp/mb-templates.exp: Likewise.
2931 * gdb.objc/basicclass.exp: Likewise.
2932 * gdb.threads/killed.exp: Likewise.
2933
9d9bf2df
EBM
29342014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2935
2936 PR tdep/17379
2937 * gdb.arch/powerpc-stackless.S: New file.
2938 * gdb.arch/powerpc-stackless.exp: New file.
2939
1cf2f1b0
JK
29402014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2941
2942 * gdb.base/attach.c: Include unistd.h.
2943 (main): Call alarm. Add label postloop.
2944 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
2945 gdb_breakpoint, gdb_continue_to_breakpoint.
2946 (test_command_line_attach_run): Kill ${testpid} in one exit path.
2947
98880d46
PA
29482014-09-11 Pedro Alves <palves@redhat.com>
2949
2950 PR gdb/17347
2951 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
2952 * gdb.base/attach.exp (test_command_line_attach_run): New
2953 procedure.
2954 (top level): Call it.
2955
4c92ff2c
PA
29562014-09-11 Pedro Alves <palves@redhat.com>
2957
2958 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
2959 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
2960 (do_command_attach_tests): Use spawn_wait_for_attach.
2961 * gdb.base/solib-overlap.exp: Likewise.
2962 * gdb.multi/multi-attach.exp: Likewise.
2963 * gdb.python/py-prompt.exp: Likewise.
2964 * gdb.python/py-sync-interp.exp: Likewise.
2965 * gdb.server/ext-attach.exp: Likewise.
2966
3adc1a7d
GKB
29672014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
2968
2969 * gdb.fortran/array-element.exp: Remove unexpected "continue"
2970 command in testcase. Simplify testcase.
2971
96334934
JB
29722014-09-10 Joel Brobecker <brobecker@adacore.com>
2973
2974 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
2975
eb479039
JB
29762014-09-10 Joel Brobecker <brobecker@adacore.com>
2977
2978 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
2979
deede10c
JB
29802014-09-10 Joel Brobecker <brobecker@adacore.com>
2981
2982 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
2983
7828a5f5
JB
29842014-09-10 Joel Brobecker <brobecker@adacore.com>
2985
2986 * gdb.dwarf2/dynarr-ptr.c: New file.
2987 * gdb.dwarf2/dynarr-ptr.exp: New file.
2988
33aeebcf
MR
29892014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2990
2991 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
2992 of 30 rather than hardcoding 120 for a slow test case. Take the
2993 `gdb,timeout' target setting into account for this calculation.
2994 Don't extend the timeout for the test cases that don't need it.
2995
7b415901
MR
29962014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2997
2998 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
2999 a factor of 2 for a slow test case. Take the `gdb,timeout'
3000 target setting into account for this calculation.
3001 * gdb.reverse/until-precsave.exp: Increase the timeout by
3002 a factor of 15 and 3 respectively rather than adding 120
3003 for a pair of slow test cases. Take the `gdb,timeout'
3004 target setting into account for this calculation.
3005
4a40f85a
MR
30062014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3007
3008 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
3009 timeout, don't pass one down to gdb_expect.
3010 (gdb_expect): Rework timeout selection.
3011
09635af7
MR
30122014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3013
3014 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
3015 exception on timeout.
3016 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
3017 (gdbserver_start_extended): Catch any `gdbserver_start' error
3018 exceptions.
3019 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
3020 * lib/mi-support.exp (mi_gdb_target_load): Catch any
3021 `gdbserver_gdb_load' error exceptions.
3022
2bdd10b7
MR
30232014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3024
3025 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
3026 120 on waiting for the TCP socket to open.
3027
316935f0
DE
30282014-09-09 Doug Evans <xdje42@gmail.com>
3029
3030 * gdb.base/default.exp (show_conv_list): Add _caller_is,
3031 _caller_matches, _any_caller_is, _any_caller_matches.
3032
83740597
DE
30332014-09-09 Doug Evans <xdje42@gmail.com>
3034
3035 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
3036
4c122fc3
YQ
30372014-09-09 Yao Qi <yao@codesourcery.com>
3038
3039 * gdb.mi/mi-var-display.exp: Set print symbol off.
3040
a9f116cb
GKB
30412014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
3042
3043 PR gdb/17035
3044 * gdb.base/commands.exp: Add tests to verify user-defined
3045 commands with empty bodies.
3046 * gdb.python/py-cmd.exp: Test that we don't show user-defined
3047 python commands in `show user command`.
3048 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
3049 scheme commands in `show user command`.
3050
c75bd3a2
JK
30512014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3052
3053 PR python/17355
3054 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
3055 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
3056 * gdb.python/py-framefilter-invalidarg.exp: New file.
3057 * gdb.python/py-framefilter-invalidarg.py: New file.
3058
faa42425
DE
30592014-09-06 Doug Evans <xdje42@gmail.com>
3060
3061 PR 15276
3062 * gdb.python/py-caller-is.c: New file.
3063 * gdb.python/py-caller-is.exp: New file.
3064
474ca4f6
SDJ
30652014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
3066
3067 PR gdb/17235
3068 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
3069 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
3070
eb0b0463
SDJ
30712014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
3072
3073 PR fortran/17237
3074 * gdb.fortran/print-formatted.exp: New file.
3075 * gdb.fortran/print-formatted.f90: Likewise.
3076
5f3b99cf
SS
30772014-09-03 Sasha Smundak <asmundak@google.com>
3078
3079 * gdb.python/py-frame.exp: Test Frame.read_register.
3080
7d793aa9
SDJ
30812014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
3082
3083 PR python/16699
3084 * gdb.python/py-completion.exp: New file.
3085 * gdb.python/py-completion.py: Likewise.
3086
fb0576e9
DE
30872014-08-28 Doug Evans <dje@google.com>
3088
3089 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
3090 eax,etc. are live with values set by gdb and thus the compiler can't
3091 use them.
3092 * gdb.arch/i386-pseudo.c (main): Ditto.
3093
ee92b0dd
DE
30942014-08-27 Doug Evans <dje@google.com>
3095
3096 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
3097
6649db35
DE
30982014-08-25 Doug Evans <dje@google.com>
3099
3100 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
3101 (main): Ditto.
3102
564b7600
DE
31032014-08-25 Doug Evans <dje@google.com>
3104
3105 * gdb.threads/thread-execl.exp: #include <stdio.h>.
3106
3881fb67
YQ
31072014-08-24 Yao Qi <yao@codesourcery.com>
3108
3109 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
3110 symbol off.
3111 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
3112
a05a36a5
DE
31132014-08-22 Doug Evans <dje@google.com>
3114
3115 PR 17276
3116 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
3117 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
3118 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
3119
7c343b48
YQ
31202014-08-22 Yao Qi <yao@codesourcery.com>
3121
3122 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
3123 * gdb.python/py-finish-breakpoint2.exp: Likewise.
3124 * gdb.python/python.exp: Likewise. Use .py file on the host
3125 instead of the build.
3126
22fd09ae
JK
31272014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3128
3129 * gdb.threads/gcore-stale-thread.c: New file.
3130 * gdb.threads/gcore-stale-thread.exp: New file.
3131
a8454a7c
PA
31322014-08-21 Pedro Alves <palves@redhat.com>
3133
3134 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
3135 * gdb.base/gcore-relro-pie.exp: Likewise.
3136 * gdb.base/gcore-relro.exp: Likewise.
3137 * gdb.base/gcore.exp: Likewise.
3138 * gdb.base/print-symbol-loading.exp: Likewise.
3139 * gdb.threads/gcore-thread.exp: Likewise.
3140 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
3141
2a31c623
PA
31422014-08-20 Pedro Alves <palves@redhat.com>
3143 Jan Kratochvil <jan.kratochvil@redhat.com>
3144
3145 * Makefile.in (EXTRA_RULES, CC): New variables, get from
3146 configure.
3147 (EXPECT): Handle READ1 being set.
3148 (all): Depend on EXTRA_RULES.
3149 (check-read1, expect-read1, read1.so, read1): New rules.
3150 * README (Testsuite Parameters): Document the READ1 make variable.
3151 (Race detection): New section.
3152 * configure: Regenerate.
3153 * configure.ac: If build==host==target, and running under a
3154 GNU/glibc system, add read1 to the extra Makefile rules.
3155 (EXTRA_RULES): AC_SUBST it.
3156 * lib/read1.c: New file.
3157
d36430db
JB
31582014-08-20 Joel Brobecker <brobecker@adacore.com>
3159
3160 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
3161 the handling of variables declared as a typedef to an array
3162 which a DW_AT_data_location attribute.
3163
9a0dc9e3
PA
31642014-08-19 Andrew Burgess <aburgess@broadcom.com>
3165 Pedro Alves <palves@redhat.com>
3166
3167 PR symtab/14604
3168 PR symtab/14605
3169 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
3170 gdb_test.
3171
0718a8da
PA
31722014-08-19 Pedro Alves <palves@redhat.com>
3173
3174 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
3175
13b448cd
YQ
31762014-08-19 Yao Qi <yao@codesourcery.com>
3177
3178 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
3179 right line.
3180
1cbf5077
DB
31812014-08-18 David Blaikie <dblaikie@gmail.com>
3182
3183 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
3184
bf0fae19
JB
31852014-08-18 Joel Brobecker <brobecker@adacore.com>
3186
3187 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
3188 attribute in array range.
3189
3c8c5dcc
JB
31902014-08-18 Joel Brobecker <brobecker@adacore.com>
3191
3192 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
3193
e66d4446
SC
31942014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3195
3196 PR c++/17132
3197 * gdb.cp/pr17132.cc: New file.
3198 * gdb.cp/pr17132.exp: New file.
3199
940df408
SC
32002014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3201
3202 * gdb.python/py-xmethods.py (A_getarrayind)
3203 (E_method_char_worker.__call__, E_method_int_worker.__call__):
3204 Use 'print' with function call syntax.
3205 (E_method_matcher.match): Fix tab vs space indentation mixup.
3206
ebcc6c3a
YQ
32072014-08-15 Yao Qi <yao@codesourcery.com>
3208
3209 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
3210 false.
3211
775e0f04
YQ
32122014-08-15 Yao Qi <yao@codesourcery.com>
3213
3214 * gdb.cp/casts.exp: Set print symbol off.
3215 * gdb.cp/class2.exp: Likewise.
3216 * gdb.cp/overload.exp: Likewise.
3217 * gdb.cp/templates.exp: Likewise.
3218
d769e349
DE
32192014-08-11 Doug Evans <dje@google.com>
3220
3221 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3222 (test_load_shlib): Update.
3223
20c6f1e1
YQ
32242014-08-09 Yao Qi <yao@codesourcery.com>
3225
3226 * gdb.base/display.exp: Invoke is_address_zero_readable.
3227 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
3228 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
3229 * gdb.base/hbreak-unmapped.exp: Return if
3230 is_address_zero_readable returns true.
3231 * gdb.base/signest.exp: Likewise.
3232 * gdb.base/signull.exp: Likewise.
3233 * gdb.base/sigbpt.exp: Likewise.
3234 * gdb.guile/scm-disasm.exp: Do the test if
3235 is_address_zero_readable returns false.
3236 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
3237 * gdb.python/py-arch.exp: Likewise.
3238 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
3239 * lib/gdb.exp (is_address_zero_readable): New proc.
3240
5792e8e3
YQ
32412014-08-09 Yao Qi <yao@codesourcery.com>
3242
3243 PR testsuite/13443
3244 * gdb.mi/mi-var-display.exp: Make test messages unique.
3245
3cecbbbe
TT
32462014-08-04 Tom Tromey <tromey@redhat.com>
3247
3248 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
3249 target 0".
3250
00b51ff5
TT
32512014-08-04 Tom Tromey <tromey@redhat.com>
3252
3253 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
3254 "target_resume".
3255
6908c509
JB
32562014-08-01 Joel Brobecker <brobecker@adacore.com>
3257
3258 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
3259 inner_vla_struct_object_size.
3260 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
3261 as xfail.
3262
cc6563d2
PA
32632014-07-30 Pedro Alves <palves@redhat.com>
3264
3265 * gdb.threads/signal-command-handle-nopass.exp (test): Add
3266 comment.
3267
7e09a223
YQ
32682014-07-29 Yao Qi <yao@codesourcery.com>
3269
3270 PR gdb/17206
3271 * gdb.base/until-nodebug.exp: New.
3272
7ebdbe92
DE
32732014-07-28 Doug Evans <xdje42@gmail.com>
3274
3275 PR guile/17203
3276 * gdb.guile/scm-parameter.exp: Add tests for trying to create
3277 previously existing parameter, and previously ambiguously spelled
3278 parameter.
3279
fdb1adc6
WN
32802014-07-28 Will Newton <will.newton@linaro.org>
3281
3282 * gdb.base/varargs.exp: Remove KFAILs for ARM.
3283
186fcde0
DE
32842014-07-26 Ludovic Courtès <ludo@gnu.org>
3285 Doug Evans <xdje42@gmail.com>
3286
3287 PR guile/17146
3288 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
3289
70509625
PA
32902014-07-25 Pedro Alves <palves@redhat.com>
3291
3292 * gdb.threads/signal-command-handle-nopass.c: New file.
3293 * gdb.threads/signal-command-handle-nopass.exp: New file.
3294 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
3295 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
3296 * gdb.threads/signal-delivered-right-thread.c: New file.
3297 * gdb.threads/signal-delivered-right-thread.exp: New file.
3298
c3f814a1
PA
32992014-07-25 Pedro Alves <palves@redhat.com>
3300
3301 * gdb.base/double-prompt-target-event-error.exp
3302 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
3303 match.
3304 (cancel_pagination_in_target_event): Rework double prompt
3305 detection.
3306 * gdb.base/paginate-after-ctrl-c-running.exp
3307 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
3308 <return>' match.
3309 * gdb.base/paginate-bg-execution.exp
3310 (test_bg_execution_pagination_return)
3311 (test_bg_execution_pagination_cancel): Remove '-notransfer
3312 <return>' matches.
3313 * gdb.base/paginate-execution-startup.exp
3314 (test_fg_execution_pagination_return)
3315 (test_fg_execution_pagination_cancel): Remove '-notransfer
3316 <return>' matches.
3317 * gdb.base/paginate-inferior-exit.exp
3318 (test_paginate_inferior_exited): Remove '-notransfer <return>'
3319 match.
3320 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
3321 * lib/gdb.exp (pagination_prompt): Run text through
3322 string_to_regexp.
3323 (gdb_test_multiple): Match $pagination_prompt instead of
3324 "<return>".
3325 (string_to_regexp): Move to lib/gdb-utils.exp.
3326
e214cf6c
JK
33272014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3328
3329 * gdb.arch/amd64-entry-value-paramref.S: New file.
3330 * gdb.arch/amd64-entry-value-paramref.cc: New file.
3331 * gdb.arch/amd64-entry-value-paramref.exp: New file.
3332 * gdb.arch/amd64-optimout-repeat.S: New file.
3333 * gdb.arch/amd64-optimout-repeat.c: New file.
3334 * gdb.arch/amd64-optimout-repeat.exp: New file.
3335
17d0c5c8
JK
33362014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3337
3338 PR gdb/17170
3339 * gdb.base/statistics.exp: New file.
3340
b8b8facf
DE
33412014-07-17 Doug Evans <dje@google.com>
3342
74b49205 3343 PR gdb/17170
b8b8facf
DE
3344 * gdb.base/maint.exp: Update testing of per-command stats.
3345
1b5d0ab3
PA
33462014-07-16 Pedro Alves <palves@redhat.com>
3347
3348 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
3349 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
3350 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
3351 (tfile_write_buf): New functions.
3352 (add_memory_block): Rewrite using the above.
3353 (adjust_function_address): New function.
3354 (FUNCTION_ADDRESS): New macro.
3355 (write_basic_trace_file): Remove short_x local, and use
3356 tfile_write_16. Change type of func_addr local to unsigned long
3357 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
3358 here. Cast argument of add_memory_block to char pointer.
3359 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
3360 (main): Remove parameters.
3361 * gdb.trace/tfile.exp: Remove nowarnings.
3362
4d974e88
SM
33632014-07-15 Simon Marchi <simon.marchi@ericsson.com>
3364
3365 * gdb.base/debug-expr.exp: Test string evaluation with
3366 "debug expression" on.
3367
41e99568
PA
33682014-07-15 Pedro Alves <palves@redhat.com>
3369
3370 * gdb.base/reread.exp: Use clean_restart.
3371
487d9753
PL
33722014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
3373
3374 * gdb.arch/avr-flash-qualifer.c: New.
3375 * gdb.arch/avr-flash-qualifer.exp: New.
3376
cc1c52ad
PA
33772014-07-14 Pedro Alves <palves@redhat.com>
3378
3379 * gdb.base/paginate-after-ctrl-c-running.c: New file.
3380 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
3381
1e973570
PA
33822014-07-14 Pedro Alves <palves@redhat.com>
3383
3384 * gdb.base/double-prompt-target-event-error.c: New file.
3385 * gdb.base/double-prompt-target-event-error.exp: New file.
3386
93d6eb10
PA
33872014-07-14 Pedro Alves <palves@redhat.com>
3388
3389 PR gdb/17072
3390 * gdb.base/paginate-inferior-exit.c: New file.
3391 * gdb.base/paginate-inferior-exit.exp: New file.
3392
0017922d
PA
33932014-07-14 Pedro Alves <palves@redhat.com>
3394
3395 PR gdb/17072
3396 * gdb.base/paginate-bg-execution.c: New file.
3397 * gdb.base/paginate-bg-execution.exp: New file.
3398
94696ad3
PA
33992014-07-14 Pedro Alves <palves@redhat.com>
3400
3401 PR gdb/17072
3402 * gdb.base/paginate-execution-startup.c: New file.
3403 * gdb.base/paginate-execution-startup.exp: New file.
3404 * lib/gdb.exp (pagination_prompt): New global.
3405 (default_gdb_spawn): New procedure, factored out from
3406 default_gdb_spawn.
3407 (default_gdb_start): Adjust to call default_gdb_spawn.
3408 (gdb_spawn): New procedure.
3409
bd293940
PA
34102014-07-14 Pedro Alves <palves@redhat.com>
3411
3412 * lib/gdb.exp (gdb_assert): New procedure.
3413 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
3414
c933f875
PA
34152014-07-14 Pedro Alves <palves@redhat.com>
3416
3417 * gdb.base/execution-termios.c: New file.
3418 * gdb.base/execution-termios.exp: New file.
3419
d98b7a16
TT
34202014-07-14 Tom Tromey <tromey@redhat.com>
3421
3422 * gdb.cp/vla-cxx.cc: New file.
3423 * gdb.cp/vla-cxx.exp: New file.
3424
548740d6
TT
34252014-07-14 Tom Tromey <tromey@redhat.com>
3426
3427 * gdb.reverse/rerun-prec.c: New file.
3428 * gdb.reverse/rerun-prec.exp: New file.
3429
a25eb028
MR
34302014-07-12 Maciej W. Rozycki <macro@mips.com>
3431 Maciej W. Rozycki <macro@codesourcery.com>
3432
3433 * lib/gdb-utils.exp: New file.
3434 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
3435 inline `gdb_init_command' processing.
3436 (gdb_start_cmd): Likewise.
3437 * lib/mi-support.exp (mi_run_cmd): Likewise.
3438 * README: Document `gdb_init_command' and `gdb_init_commands'.
3439
218c2655
JK
34402014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3441
3442 Fix false FAIL running under a very long directory name.
3443 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
3444 and "set print elements 10000". Twice.
3445
5401fde3
YQ
34462014-07-11 Yao Qi <yao@codesourcery.com>
3447
3448 * gdb.base/exprs.exp: "set print symbol off".
3449
e76126e8
PA
34502014-07-11 Pedro Alves <palves@redhat.com>
3451
3452 * gdb.threads/kill.c: New file.
3453 * gdb.threads/kill.exp: New file.
3454
2d6f0de6
YQ
34552014-07-10 Yao Qi <yao@codesourcery.com>
3456
3457 * gdb.trace/tfile.c (write_basic_trace_file)
3458 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
3459 address written to trace file.
3460
7180e04a
PA
34612014-07-09 Pedro Alves <palves@redhat.com>
3462
3463 * gdb.base/attach-wait-input.exp: New file.
3464 * gdb.base/attach-wait-input.c: New file.
3465
9a9a7608
AB
34662014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3467
3468 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
3469 setting up test structures.
3470 (main): Call new test function.
3471 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
3472 test function, continue into test function and walk test
3473 structures.
3474
161ac41e
YQ
34752014-07-02 Yao Qi <yao@codesourcery.com>
3476
3477 * gdb.trace/entry-values.c: Define labels 'foo_start' and
3478 'bar_start' at the beginning of functions 'foo' and 'bar'
3479 respectively.
3480 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
3481 instead of 'foo' and 'bar'.
3482
1f267ae3
MM
34832014-07-08 Markus Metzger <markus.t.metzger@intel.com>
3484
3485 * gdb.btrace/segv.exp: New.
3486 * gdb.btrace/segv.c: New.
3487
2b239efb
LM
34882014-07-02 Luis Machado <lgustavo@codesourcery.com>
3489
3490 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
3491 instruction.
3492
cf363f18
MW
34932014-06-30 Mark Wielaard <mjw@redhat.com>
3494
3495 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
3496 vulture, vilify, villar): New volatile array constants.
3497 (vindictive, vegetation): New const volatile array constants.
3498 * gdb.base/volatile.exp: Test volatile and const volatile array
3499 types.
3500
aebf9d24
AA
35012014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
3502
3503 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
3504 target lacks support for awatch, rwatch, or hbreak.
3505
b67a2c6f
YQ
35062014-06-27 Yao Qi <yao@codesourcery.com>
3507
3508 * gdb.multi/dummy-frame-restore.exp: New.
3509 * gdb.multi/dummy-frame-restore.c: New.
3510
aef92902
MM
35112014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3512
3513 * gdb.btrace/gcore.exp: New.
3514
8e9db26e
PA
35152014-06-23 Pedro Alves <palves@redhat.com>
3516
3517 * gdb.base/watchpoint-reuse-slot.c: New file.
3518 * gdb.base/watchpoint-reuse-slot.exp: New file.
3519
70afc5b7
SC
35202014-06-23 Siva Chandra Reddy <sivachandra@google.com>
3521
3522 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
3523 progspace's filename in 'info', 'enable' and 'disable' command
3524 tests.
3525
b972bd9c
JK
35262014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3527
3528 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
3529 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3530 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
3531
125f8a3d
GB
35322014-06-20 Gary Benson <gbenson@redhat.com>
3533
3534 * gdb.arch/i386-avx.exp: Fix include file location.
3535 * gdb.arch/i386-sse.exp: Likewise.
3536
3ed9baed
IB
35372014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
3538
3539 * gdb.dlang/expression.exp: New file.
3540
034f788c
PA
35412014-06-19 Pedro Alves <palves@redhat.com>
3542
3543 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
3544 out from ...
3545 (top level): ... here. Iterate running tests under different
3546 scheduler-locking settings.
3547
45371d0c
LM
35482014-06-18 Luis Machado <lgustavo@codesourcery.com>
3549
3550 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
3551 to DW_FORM_addr and use non-zero addresses.
3552
5d376983
SC
35532014-06-18 Siva Chandra Reddy <sivachandra@google.com>
3554
3555 PR gdb/17017
3556 * gdb.python/py-xmethods.cc: Add global function call counters and
3557 increment them in their respective functions. Remove "cout"
3558 statements.
3559 * gdb.python/py-xmethods.exp: Make tests check the global function
3560 call counters instead of depending on inferior IO.
3561
a1aa2221
LM
35622014-06-18 Don Breazeal <donb@codesourcery.com>
3563
3564 * gdb.base/foll-fork.exp (default_fork_parent_follow):
3565 Deleted procedure.
3566 (explicit_fork_parent_follow): Deleted procedure.
3567 (explicit_fork_child_follow): Deleted procedure.
3568 (test_follow_fork): New procedure.
3569 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 3570 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
3571 procedure calls.
3572
0fc05997
YQ
35732014-06-17 Yao Qi <yao@codesourcery.com>
3574
3575 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
3576 CP1252.
3577
70795c52
LM
35782014-06-17 Luis Machado <lgustavo@codesourcery.com>
3579
3580 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
3581 Initialize ptr and S explicitly.
3582 (skip_type_update_when_not_use_rtti_test): Likewise.
3583
6be47f0c
KS
35842014-06-16 Keith Seitz <keiths@redhat.com>
3585
3586 PR mi/15863
3587 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
3588 the inferior is started.
3589
d03de421
PA
35902014-06-16 Pedro Alves <palves@redhat.com>
3591
3592 * gdb.base/break-main-file-remove-fail.c: New file.
3593 * gdb.base/break-main-file-remove-fail.exp: New file.
3594 * gdb.base/break-unload-file.exp: Use build_executable instead of
3595 prepare_for_testing.
3596 (test_break): New parameter "initial_load". Handle it.
3597 (top level): Add initial_load cmdline/file axis.
3598
f9579b99
TT
35992014-06-12 Tom Tromey <tromey@redhat.com>
3600
3601 * gdb.base/completion.exp: Don't use directory name in test.
3602
3657956b
GB
36032014-06-09 Gary Benson <gbenson@redhat.com>
3604
3605 * gdb.base/sigall.c [Functions to send signals]: Reorder to
3606 separate the always-available ANSI-standard signals from the
3607 signals that require checking.
3608 (main): Likewise.
3609 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
3610 Likewise.
3611 (main): Likewise.
3612
4186eb54
KS
36132014-06-07 Keith Seitz <keiths@redhat.com>
3614
3615 Revert:
3616 PR c++/16253
3617 * gdb.cp/var-tag.cc: New file.
3618 * gdb.cp/var-tag.exp: New file.
3619 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3620 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3621 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3622 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3623
25326a28 36242014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
3625
3626 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
3627
829155c9
PA
36282014-06-06 Pedro Alves <palves@redhat.com>
3629
3630 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
3631 in target debug output instead of looking at RSP packets,
3632 disabling the test on any target that uses hardware stepping.
3633 Update comments.
3634
61c8d22e
PA
36352014-06-06 Pedro Alves <palves@redhat.com>
3636
3637 * gdb.base/break-unload-file.exp: Fix typo.
3638
d9a47287
YQ
36392014-06-06 Yao Qi <yao@codesourcery.com>
3640
3641 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
3642 from "jit_function" to "^jit_function".
3643
e5e01dbf
YQ
36442014-06-06 Yao Qi <yao@codesourcery.com>
3645
3646 * gdb.base/async.c (foo): Add one statement.
3647 * gdb.base/async.exp: Get the next instruction address and
3648 match the output of "nexti" by instruction address. Match
3649 the hex address in the output of "finish".
3650
73ba372c
GB
36512014-06-06 Gary Benson <gbenson@redhat.com>
3652
3653 * gdb.base/call-signals.c: Remove preprocessor conditionals
3654 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
3655 SIGSEGV and SIGTERM.
3656 * gdb.base/sigall.c: Likewise.
3657 * gdb.base/unwindonsignal.c: Likewise.
3658 * gdb.reverse/sigall-reverse.c: Likewise.
3659
831517df
YQ
36602014-06-06 Yao Qi <yao@codesourcery.com>
3661
3662 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
3663 readable, skip the test.
3664
b8b91e98
YQ
36652014-06-06 Yao Qi <yao@codesourcery.com>
3666
3667 * gdb.threads/staticthreads.c (thread_function): Move the line
3668 setting breakpoint on forward.
3669 * gdb.threads/staticthreads.exp: Update comments.
3670
fb934770
LC
36712014-06-05 Ludovic Courtès <ludo@gnu.org>
3672
3673 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
3674 "history-append! type error".
3675
6ef284bd
SM
36762014-06-05 Simon Marchi <simon.marchi@ericsson.com>
3677
3678 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
3679 erroneous dprintf expected input.
3680
a872e241
DE
36812014-06-04 Doug Evans <xdje42@gmail.com>
3682
3683 * gdb.guile/scm-generics.exp: Delete.
3684
16f691fb
DE
36852014-06-04 Doug Evans <xdje42@gmail.com>
3686
3687 * gdb.guile/scm-breakpoint.exp: Update.
3688 Add tests for breakpoint registration.
3689
012370f6
TT
36902014-06-04 Tom Tromey <tromey@redhat.com>
3691
3692 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
3693 VLA-in-union.
3694 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
3695 inner_vla_struct, vla_union types. Initialize objects of those
3696 types and compute their sizes.
3697
9f5a4cef
HZ
36982014-06-04 Nathan Sidwell <nathan@codesourcery.com>
3699 Hui Zhu <hui@codesourcery.com>
3700
3701 * gdb.base/fileio.exp: Add test for shell not available as well as
3702 available.
3703 * gdb.base/fileio.c (test_system): Check for shell twice.
3704
90a45c4d
YQ
37052014-06-04 Yao Qi <yao@codesourcery.com>
3706
3707 * gdb.base/auto-connect-native-target.exp: Remove redundant
3708 space from the regexp pattern.
3709
70017e41
YQ
37102014-06-04 Yao Qi <yao@codesourcery.com>
3711
3712 * gdb.base/default.exp: Replace "child" with "native" in
3713 regexp pattern.
3714
883964a7
SC
37152014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3716
3717 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
3718 * gdb.python/py-xmethods.exp: New tests to test xmethods.
3719 * gdb.python/py-xmethods.py: Python script supporting the
3720 new testcase and tests.
3721
ef370185
JB
37222014-06-03 Joel Brobecker <brobecker@adacore.com>
3723 Pedro Alves <palves@redhat.com>
3724
3725 PR breakpoints/17000
3726 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
3727 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
3728
1e2ccb61
BM
37292014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
3730
3731 * gdb.base/subst.exp: Add tests to verify partial path matching
3732 output.
3733
c6ec5ab2
PA
37342014-06-03 Pedro Alves <palves@redhat.com>
3735
3736 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
3737 target that doesn't use software single-stepping.
3738
835c559f
PA
37392014-06-03 Pedro Alves <palves@redhat.com>
3740
3741 PR breakpoints/17000
3742 * gdb.base/sss-bp-on-user-bp-2.c: New file.
3743 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
3744
06eb1586
DE
37452014-06-02 Doug Evans <xdje42@gmail.com>
3746
3747 * gdb.guile/scm-parameter.exp: New file.
3748
e698b8c4
DE
37492014-06-02 Doug Evans <xdje42@gmail.com>
3750
3751 * gdb.guile/scm-cmd.c: New file.
3752 * gdb.guile/scm-cmd.exp: New file.
3753
ded03782
DE
37542014-06-02 Doug Evans <xdje42@gmail.com>
3755
3756 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
3757 pretty-printer lookup.
3758 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
3759 (make-pp_s-printer): Call it.
3760 (make-pretty-printer-from-dict): New function.
3761 (lookup-pretty-printer-maker-from-dict): New function.
3762 (*pretty-printer*): Simplify.
3763 (make-objfile-pp_s-printer): New function.
3764 (install-objfile-pretty-printers!): New function.
3765 (make-progspace-pp_s-printer): New function.
3766 (install-progspace-pretty-printers!): New function.
3767 * gdb.guile/scm-progspace.c: New file.
3768 * gdb.guile/scm-progspace.exp: New file.
3769
41fac0cf
PA
37702014-06-02 Pedro Alves <palves@redhat.com>
3771
3772 * gdb.base/dprintf-bp-same-addr.c: New file.
3773 * gdb.base/dprintf-bp-same-addr.exp: New file.
3774
96ae5695
EBM
37752014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3776
3777 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
3778 * gdb.arch/powerpc-power.s: Likewise.
3779
da02b3a8
JB
37802014-06-02 Joel Brobecker <brobecker@adacore.com>
3781
3782 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
3783
c72b2e7b
YQ
37842014-06-01 Yao Qi <yao@codesourcery.com>
3785
3786 * gdb.base/watchpoint.exp (test_watch_location): Check null
3787 pointer can be dereferenced. If not, do the test, otherwise
3788 skip it.
3789
53e8a631
AB
37902014-05-30 Andrew Burgess <aburgess@broadcom.com>
3791
3792 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
3793 results.
3794 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
3795
938f0e2f
AB
37962014-05-30 Andrew Burgess <aburgess@broadcom.com>
3797
3798 * gdb.arch/amd64-invalid-stack-middle.S: New file.
3799 * gdb.arch/amd64-invalid-stack-middle.c: New file.
3800 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
3801 * gdb.arch/amd64-invalid-stack-top.c: New file.
3802 * gdb.arch/amd64-invalid-stack-top.exp: New file.
3803
9ba6657a
PA
38042014-05-30 Pedro Alves <palves@redhat.com>
3805
3806 PR breakpoints/17000
3807 * gdb.base/sss-bp-on-user-bp.c: New file.
3808 * gdb.base/sss-bp-on-user-bp.exp: New file.
3809
522c09bf
DB
38102014-05-30 David Blaikie <dblaikie@gmail.com>
3811
3812 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
3813 gnu_inline semantics via attribute.
3814 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
3815 source explicitly specifies the required semantics.
3816
bf4ef81e
MR
38172014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
3818
3819 * gdb.reverse/sigall-reverse.exp: Fix a typo.
3820
329ea579
PA
38212014-05-29 Pedro Alves <palves@redhat.com>
3822 Tom Tromey <tromey@redhat.com>
3823
3824 * gdb.base/async-shell.exp: Don't enable target-async.
3825 * gdb.base/async.exp
3826 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
3827 parameter. Adjust.
3828 (top level): Don't test with "target-async".
3829 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
3830 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
3831 * gdb.base/inferior-died.exp: Don't enable target-async.
3832 * gdb.base/interrupt-noterm.exp: Likewise.
3833 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
3834 * gdb.mi/mi-nonstop-exit.exp: Likewise.
3835 * gdb.mi/mi-nonstop.exp: Likewise.
3836 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
3837 * gdb.mi/mi-nsintrall.exp: Likewise.
3838 * gdb.mi/mi-nsmoribund.exp: Likewise.
3839 * gdb.mi/mi-nsthrexec.exp: Likewise.
3840 * gdb.mi/mi-watch-nonstop.exp: Likewise.
3841 * gdb.multi/watchpoint-multi.exp: Adjust comment.
3842 * gdb.python/py-evsignal.exp: Don't enable target-async.
3843 * gdb.python/py-evthreads.exp: Likewise.
3844 * gdb.python/py-prompt.exp: Likewise.
3845 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
3846 * gdb.server/solib-list.exp: Don't enable target-async.
3847 * gdb.threads/thread-specific-bp.exp: Likewise.
3848 * lib/mi-support.exp: Adjust to use mi-async.
3849
fd664c91
PA
38502014-05-29 Pedro Alves <palves@redhat.com>
3851
3852 PR gdb/13860
3853 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
3854 reason, even in sync mode.
3855
251bde03
PA
38562014-05-29 Pedro Alves <palves@redhat.com>
3857 Hui Zhu <hui@codesourcery.com>
3858
3859 PR PR15693
3860 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
3861 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
3862 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
3863 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
3864
7f3c0343
JB
38652014-05-28 Joel Brobecker <brobecker@adacore.com>
3866
3867 * config/monitor.exp (gdb_target_monitor): Replace use of
3868 "set remotebaud" by "set serial baud".
3869
b2715b27
AW
38702014-05-26 Andy Wingo <wingo@igalia.com>
3871
3872 * gdb.guile/scm-breakpoint.exp:
3873 * gdb.guile/scm-gsmob.exp: Update to use plain old object
3874 properties instead of gdb-object-properties.
3875
498a4489
YQ
38762014-05-26 Yao Qi <yao@codesourcery.com>
3877
3878 * gdb.server/no-thread-db.exp: Specify source file name
3879 explicitly when setting a breakpoint.
3880
589fdceb
MM
38812014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3882
3883 * gdb.btrace/vdso.c: New.
3884 * gdb.btrace/vdso.exp: New.
3885
e9089e05
MM
38862014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3887
3888 * gdb.base/gcore.exp (capture_command_output): Move ...
3889 * lib/gdb.exp (capture_command_output): ... here.
3890
67b5c0c1
MM
38912014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3892
3893 * gdb.btrace/data.exp: Test memory access during btrace replay.
3894
a2199296
SM
38952014-05-22 Simon Marchi <simon.marchi@ericsson.com>
3896
3897 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
3898
17b2616c
PA
38992014-05-21 Pedro Alves <palves@redhat.com>
3900
3901 PR gdb/13860
3902 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
3903 (top level): Test that output related to execution commands is
3904 sent to the console with CLI commands, but not with MI commands.
3905 Test that breakpoint events are always mirrored to the console.
3906 Also expect the new source line to be output after a "next" in
3907 async mode too. Make it a pass/fail test.
3908 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
3909 output.
3910 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
3911
5166082f
PA
39122014-05-21 Pedro Alves <palves@redhat.com>
3913
3914 * gdb.base/list.exp (build_pattern, test_list): New procedures.
3915 Use them to test variations of "list" after reaching a breakpoint.
3916 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
3917 Test "list" with listsize 10 after reaching a breakpoint.
3918 * gdb.python/python.exp (decode_line current location line
3919 number): Adjust expected line number.
3920
2f25d70f
SM
39212014-05-21 Simon Marchi <simon.marchi@ericsson.com>
3922
3923 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
3924 behavior for $args, pass it directly to "run".
3925
ff604a67
MR
39262014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3927
3928 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
3929 30000 to 65536.
3930
6a3cb8e8
PA
39312014-05-21 Pedro Alves <palves@redhat.com>
3932
3933 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
3934 auto-connect-native-target off".
3935 * gdb.base/auto-connect-native-target.c: New file.
3936 * gdb.base/auto-connect-native-target.exp: New file.
3937
4ebfc96e
PA
39382014-05-21 Pedro Alves <palves@redhat.com>
3939
3940 * gdb.base/default.exp: Test "target native" instead of "target
3941 child".
3942
36d46afb
MW
39432014-05-21 Mark Wielaard <mjw@redhat.com>
3944
3945 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3946
5876f503
JK
39472014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3948
3949 Fix TLS access for -static -pthread.
3950 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
3951 <HAVE_TLS> (thread_function, main): Initialize it.
3952 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
3953 Add clean_restart.
3954 <$have_tls != "">: Check TLSVAR.
3955
0256a6ac
PA
39562014-05-21 Pedro Alves <palves@redhat.com>
3957
3958 * gdb.base/dcache-line-read-error.c: New.
3959 * gdb.base/dcache-line-read-error.exp: New.
3960
936d2992
PA
39612014-05-20 Pedro Alves <palves@redhat.com>
3962
3963 * gdb.base/compare-sections.c: New file.
3964 * gdb.base/compare-sections.exp: New file.
3965
802e8e6d
PA
39662014-05-20 Pedro Alves <palves@redhat.com>
3967
3968 * gdb.base/break-idempotent.c: New file.
3969 * gdb.base/break-idempotent.exp: New file.
3970
e59fa00f
MM
39712014-05-20 Markus Metzger <markus.t.metzger@intel.com>
3972
3973 * gdb.btrace/nohist.exp: New.
3974
8b696e31
YQ
39752014-05-20 Yao Qi <yao@codesourcery.com>
3976
3977 * lib/gdb.exp (gdb_init): Set timeout if test file is under
3978 gdb.reverse directory and gdb_reverse_timeout exists in board
3979 setting.
3980 * README: Document gdb_reverse_timeout.
3981
73c9764f
YQ
39822014-05-20 Yao Qi <yao@codesourcery.com>
3983
3984 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
3985 'test_file_name'. Treat args as a string instead of a list.
3986 (gdb_init): Rename argument 'args' by 'test_file_name'.
3987
f1f4348a
JK
39882014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3989
3990 * gdb.arch/powerpc-power.exp: New file.
3991 * gdb.arch/powerpc-power.s: New file.
3992
0dbe70ce
DE
39932014-05-16 Doug Evans <dje@google.com>
3994
3995 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
3996 * gdb.base/completion.exp: Check that all expected files exist
3997 before doing file completion.
0dbe70ce 3998
8d551b02
DE
39992014-05-16 Doug Evans <dje@google.com>
4000
4001 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
4002 Update.
4003 (do_syscall_tests_without_xml): Update.
4004
73eb7709
PA
40052014-05-16 Pedro Alves <palves@redhat.com>
4006
4007 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
4008 instead of "unknown output after running".
4009
3fae92fc
YQ
40102014-05-16 Yao Qi <yao@codesourcery.com>
4011
4012 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
4013 file1.txt from host at the end.
4014 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4015
c2b2ccc5
DE
40162014-05-15 Doug Evans <dje@google.com>
4017
4018 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
4019 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
4020 loading file. Add test for TU lookup.
4021
8c217a4b
SM
40222014-05-15 Simon Marchi <simon.marchi@ericsson.com>
4023
4024 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
4025 calling "-exec-arguments" or "set args" before running the
4026 inferior.
4027
3deb39c6
SM
40282014-05-15 Simon Marchi <simon.marchi@ericsson.com>
4029
4030 * lib/mi-support.exp (mi_expect_stop): Expect message for
4031 inferiors that exit with non-zero exit code.
4032
71a79f8c
YQ
40332014-05-14 Yao Qi <yao@codesourcery.com>
4034
4035 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
4036 match absolute path on remote host.
4037 (test_file_list_exec_source_files): Remove "/" from the
4038 pattern.
4039
f23fcd46
YQ
40402014-05-14 Yao Qi <yao@codesourcery.com>
4041
4042 * boards/local-remote-host-notty.exp (${board}_file): New
4043 proc.
4044
9404b58f
KM
40452014-05-07 Kyle McMartin <kyle@redhat.com>
4046
4047 Pushed by Joel Brobecker <brobecker@adacore.com>.
4048 * gdb.arch/aarch64-atomic-inst.c: New file.
4049 * gdb.arch/aarch64-atomic-inst.exp: New file.
4050
5e45f04c
YQ
40512014-05-07 Yao Qi <yao@codesourcery.com>
4052
4053 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
4054 in current context" too.
4055
c888a17d
KS
40562014-05-05 Keith Seitz <keiths@redhat.com>
4057
4058 * gdb.linespec/ls-dollar.exp: Add test for linespec
4059 file:convenience_variable.
4060
290a839c
YQ
40612014-05-05 Yao Qi <yao@codesourcery.com>
4062
4063 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
4064 traceframes into tfile and ctf trace files. Read data from
4065 trace file and test collected data.
4066 (gdb_collect_locals_test): Likewise.
4067 (gdb_unavailable_registers_test): Likewise.
4068 (gdb_unavailable_floats): Likewise.
4069 (gdb_collect_globals_test): Likewise.
4070 (top-level): Append "ctf" to trace_file_targets if GDB
4071 supports.
4072
b5262cd0
YQ
40732014-05-05 Yao Qi <yao@codesourcery.com>
4074
4075 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
4076 code to ...
4077 (gdb_collect_args_test_1): ... it. New proc.
4078 (gdb_collect_locals_test): Move some code to ...
4079 (gdb_collect_locals_test_1): ... it. New proc.
4080 (gdb_unavailable_registers_test): Move some code to ...
4081 (gdb_unavailable_registers_test_1): ... it. New proc.
4082 (gdb_unavailable_floats): Move some code to ...
4083 (gdb_unavailable_floats_1): ... it. New proc.
4084
30a1e6cc
SDJ
40852014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4086
4087 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
4088 probes to test for bitness recognition.
4089 * gdb.arch/amd64-stap-optional-prefix.exp
4090 (test_probe_value_without_reg): New procedure.
4091 Add code to test for different kinds of bitness.
4092
f33da99a
SDJ
40932014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4094
4095 PR breakpoints/16889
4096 * gdb.arch/amd64-stap-optional-prefix.S: New file.
4097 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
4098
5b80f00d
PA
40992014-05-01 Pedro Alves <palves@redhat.com>
4100
4101 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
4102 gdb_file_cmd if no file is specified.
4103 * boards/native-extended-gdbserver.exp (gdb_load): Use the
4104 last_loaded_file to set the remote exec-file.
4105
f8c2a73c
PA
41062014-05-01 Pedro Alves <palves@redhat.com>
4107
4108 * boards/local-remote-host.exp: New file.
4109
be6e8ac7
PA
41102014-05-01 Pedro Alves <palves@redhat.com>
4111
4112 * boards/local-remote-host.exp: Rename to ...
4113 * boards/local-remote-host-notty.exp: ... this.
4114
cac0dc8f
JB
41152014-04-28 Joel Brobecker <brobecker@adacore.com>
4116
4117 * gdb.ada/dyn_arrayidx: New testcase.
4118
9730e6cc
YQ
41192014-04-26 Yao Qi <yao@codesourcery.com>
4120
4121 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
4122 and compute the length of function main. Save it in
4123 $main_length.
4124 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
4125 (top-level): Use gdb_compile to compile objects into
4126 executable and restart GDB. Remove invocation to
4127 prepare_for_testing.
4128
7ae1a6a6
PA
41292014-04-25 Simon Marchi <simon.marchi@ericsson.com>
4130 Pedro Alves <palves@redhat.com>
4131
4132 PR server/16255
4133 * gdb.multi/multi-attach.c: New file.
4134 * gdb.multi/multi-attach.exp: New file.
4135
4082afcc
PA
41362014-04-25 Pedro Alves <palves@redhat.com>
4137
4138 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
4139 user.
4140 (top level): Test that "set remote conditional-breakpoints-packet
4141 off" works as intended.
4142 * gdb.base/dprintf.exp: Test that "set remote
4143 breakpoint-commands-packet off" works as intended.
4144 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
4145 New function.
4146 (top level): Call it.
4147 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
4148 remote fast-tracepoints-packet off" works as intended.
4149 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
4150 * lib/gdb.exp (gdb_is_target_remote): ... here.
4151
2abc3f8d
DB
41522014-04-24 David Blaikie <dblaikie@gmail.com>
4153
4154 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
4155 ensure clang would not discard them.
4156 * gdb.base/gdbvars.c: Ditto.
4157 * gdb.base/memattr.c: Ditto.
4158 * gdb.base/whatis.c: Ditto.
4159 * gdb.python/py-prettyprint.c: Ditto.
4160 * gdb.trace/actions.c: Ditto.
4161 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
4162 ensure clang would not discard it.
4163
bfd39632
DB
41642014-04-24 David Blaikie <dblaikie@gmail.com>
4165
4166 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
4167 clang to emit the full definition of type required by the test
4168 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
4169
22842ff6
DB
41702014-04-24 David Blaikie <dblaikie@gmail.com>
4171
4172 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
4173 coax Clang into emitting the definition of the type.
4174 * gdb.cp/pr10728-x.h (y): Ditto.
4175 * gdb.cp/pr10728-y.cc (y): Ditto.
4176
c2e827ad
DB
41772014-04-24 David Blaikie <dblaikie@gmail.com>
4178
4179 * gdb.base/label.exp: XFAIL label related tests under Clang.
4180 * gdb.cp/cplabel.exp: Ditto.
4181 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
4182 under Clang those using labels.
4183
4c2d33e7
YQ
41842014-04-25 Yao Qi <yao@codesourcery.com>
4185
4186 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
4187 double_label.
4188 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
4189 partial_label and double_label.
4190
56083b99
DB
41912014-04-24 David Blaikie <dblaikie@gmail.com>
4192
4193 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
4194
25d4e99d
DB
41952014-04-24 David Blaikie <dblaikie@gmail.com>
4196
4197 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
4198 of the function to work across GCC and Clang.
4199 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
4200 pointer types (const void ** const V void **).
4201
01f9f808
MS
42022014-04-24 Michael Sturm <michael.sturm@mintel.com>
4203 Walfred Tedeschi <walfred.tedeschi@intel.com>
4204
4205 * Makefile.in (EXECUTABLES): Added i386-avx512.
4206 * gdb.arch/i386-avx512.c: New file.
4207 * gdb.arch/i386-avx512.exp: Likewise.
4208
4b48d439
KS
42092014-04-23 Keith Seitz <keiths@redhat.com>
4210
4211 * lib/mi-support.exp (mi_list_breakpoints): Delete.
4212 (mi_make_breakpoint_table): New procedure.
4213 (mi_create_breakpoint): Use mi_make_breakpoint
4214 and return the result.
4215 (mi_make_breakpoint): New procedure.
4216 (mi_build_kv_pairs): New procedure.
4217
4218 * gdb.mi/mi-break.exp: Remove unused globals,
4219 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
4220 All callers updated.
4221 * gdb.mi/mi-dprintf.exp: Use variable to track command
4222 number.
4223 Update all callers of mi_create_breakpoint and use
4224 mi_make_breakpoint_table.
4225 Remove any unused global variables.
4226 * gdb.mi/mi-nonstop.exp: Likewise.
4227 * gdb.mi/mi-nsintrall.exp: Likewise.
4228 * gdb.mi/mi-nsmoribund.exp: Likewise.
4229 * gdb.mi/mi-nsthrexec.exp: Likewise.
4230 * gdb.mi/mi-reverse.exp: Likewise.
4231 * gdb.mi/mi-simplerun.exp: Likewise.
4232 * gdb.mi/mi-stepn.exp: Likewise.
4233 * gdb.mi/mi-syn-frame.exp: Likewise.
4234 * gdb.mi/mi-until.exp: Likewise.
4235 * gdb.mi/mi-var-cp.exp: Likewise.
4236 * gdb.mi/mi-var-display.exp: Likewise.
4237 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
4238 * gdb.mi/mi2-var-child.exp: Likewise.
4239 * gdb.mi/mi-vla-c99.exp: Likewise.
4240 * lib/mi-support.exp: Likewise.
4241
4242 From Ian Lance Taylor <iant@cygnus.com>:
4243 * lib/gdb.exp (parse_args): New procedure.
4244
08351840
PA
42452014-04-23 Pedro Alves <palves@redhat.com>
4246
4247 * gdb.base/break-unload-file.c: New file.
4248 * gdb.base/break-unload-file.exp: New file.
4249 * gdb.base/sym-file-lib.c (baz): New function.
4250 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
4251 field.
4252 (load): Store the segment's mapped size.
4253 (unload): New function.
4254 (unload_shlib): New function.
4255 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
4256 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
4257 set a breakpoint at baz, and call it.
4258 * gdb.base/sym-file.exp: New tests for stale breakpoint
4259 instructions.
4260
076855f9
PA
42612014-04-23 Pedro Alves <palves@redhat.com>
4262
4263 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
4264 * gdb.base/hbreak-in-shr-unsupported.c: New file.
4265 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
4266 * gdb.base/hbreak-unmapped.c: New file.
4267 * gdb.base/hbreak-unmapped.exp: New file.
4268 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
4269 * lib/gdb.exp (gdb_is_target_remote): ... here.
4270
483805cf
PA
42712014-04-22 Pedro Alves <palves@redhat.com>
4272
4273 * gdb.base/consecutive-step-over.c: New file.
4274 * gdb.base/consecutive-step-over.exp: New file.
4275
06d97543
PA
42762014-04-22 Pedro Alves <palves@redhat.com>
4277
4278 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
4279 instead of send_gdb/gdb_expect.
4280
b4429ea2
YQ
42812014-04-22 Yao Qi <yao@codesourcery.com>
4282
4283 * lib/trace-support.exp (generate_tracefile): New procedure.
4284 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
4285 return 0.
4286 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
4287 if generate_tracefile returns 1.
4288
51d48146
PA
42892014-04-18 Tom Tromey <palves@redhat.com>
4290 Pedro alves <tromey@redhat.com>
4291
4292 PR backtrace/15558
4293 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
4294 with a backtrace limit.
4295 * gdb.python/py-frame-inline.exp: Test running to an inline
4296 function with a backtrace limit, and printing the newest frame.
4297 * gdb.python/py-frame-inline.c (main): Call f.
4298
bd1dce5f
MS
42992014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
4300
4301 * gdb.java/jnpe.exp: Drop srcdir from untested path.
4302
40d1a503
MS
43032014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
4304
4305 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
4306 Drop prefix from unsupported source file path.
4307
389b98f7
YQ
43082014-04-17 Yao Qi <yao@codesourcery.com>
4309
4310 * lib/gdb.exp (with_target_charset): New proc.
4311 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
4312 with_target_charset.
4313 (test_print_strings): Likewise.
4314 (test_repeat_bytes): Likewise.
4315 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
4316 for some tests.
4317
22869d73
KS
43182014-04-16 Keith Seitz <keiths@redhat.com>
4319
4320 PR gdb/15827
4321 * gdb.dwarf2/corrupt.c: New file.
4322 * gdb.dwarf2/corrupt.exp: New file.
4323
c4f87ca6
KS
43242014-04-16 Keith Seitz <keiths@redhat.com>
4325
4326 PR c++/16597
4327 * gdb.cp/namelessclass.cc: New file.
4328 * gdb.cp/namelessclass.exp: New file.
4329 * gdb.cp/namelessclass.S: New file.
4330
ab19de87
DE
43312014-04-16 Doug Evans <dje@google.com>
4332
4333 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
4334 Add comment.
4335 (gdbserver_default_get_comm_port): New function.
4336 (gdbserver_start): Check if board file provided
4337 "gdbserver,get_comm_port" and use it if so.
4338 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
4339 (gdb,socketport): Set to "stdio".
4340 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
4341 (stdio_gdbserver_template): Delete.
4342 (${board}_get_remote_address): Update.
4343 (${board}_build_remote_cmd): Delete.
4344 (${board}_get_comm_port): New function.
4345 (${board}_spawn): Update.
4346 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
4347 Delete.
4348 (${board}_get_remote_address): Update.
4349 (${board}_get_comm_port): New function.
4350
fc98a809
AB
43512014-04-16 Andrew Burgess <aburgess@broadcom.com>
4352
4353 * gdb.base/memattr.exp: Improve regexps to handle memory regions
4354 appearing in any order.
4355
87fd9e6e
DE
43562014-04-15 Doug Evans <dje@google.com>
4357
4358 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
4359 uninitialized value of "description".
4360
099fc3ea
KS
43612014-04-15 Keith Seitz <keiths@redhat.com>
4362
4363 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
4364 Remove unused globals.
4365 (test_running_the_program): Likewise.
4366 (test_controlled_execution): Likewise.
4367 (test_controlling_breakpoints): Likewise.
4368 (test_program_termination): Likewise.
4369
5da151d4
KS
43702014-04-15 Keith Seitz <keiths@redhat.com>
4371
4372 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
4373 unused globals.
4374 (test_rbreak_creation_and_listing): Likewise.
4375 (test_ignore_count): Likewise.
4376 (test_error): Likewise.
4377
35e5d2f0
PA
43782014-04-15 Pedro Alves <palves@redhat.com>
4379
4380 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
4381 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
4382 sym-file-loader.c.
4383 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4384 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4385 to sym-file-loader.c.
4386 (struct library): Forward declare.
4387 (load_shlib, lookup_function): Change prototypes.
4388 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4389 (translate_offset): Remove declarations.
4390 (get_text_addr): New declaration.
4391 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
4392 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
4393 sym-file-loader.h.
4394 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4395 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4396 here from sym-file-loader.h.
4397 (struct library): New structure.
4398 (load_shlib, lookup_function): Change prototypes and adjust to
4399 work with a struct library.
4400 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4401 (translate_offset): Make static.
4402 (get_text_addr): New function.
4403 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
4404
eb4c1710
PA
44052014-04-15 Pedro Alves <palves@redhat.com>
4406
4407 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
4408
2d1baf52
PA
44092014-04-15 Pedro Alves <palves@redhat.com>
4410
4411 * gdb.base/sym-file-loader.c: Include <limits.h>.
4412 (SELF_LINK): New define.
4413 (get_origin): New function.
4414 (load_shlib): Use it.
4415 * gdb.base/sym-file.exp: Don't early return if the target is
4416 remote. Use runto_main, and issue fail is that fails. Use
4417 gdb_load_shlibs.
4418 (shlib_name): Delete.
4419 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
4420
7dd6df01
PA
44212014-04-15 Pedro Alves <palves@redhat.com>
4422
4423 * gdb.base/sym-file.exp: Remove regex characters from test
4424 message. Don't refer to breakpoint numbers in test messages.
4425
b50c8614
KS
44262014-04-14 Keith Seitz <keiths@redhat.com>
4427
4428 PR c++/16253
4429 * gdb.cp/var-tag.cc: New file.
4430 * gdb.cp/var-tag.exp: New file.
4431 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4432 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4433 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4434 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4435
3d567982
TT
44362014-04-14 Tom Tromey <tromey@redhat.com>
4437
4438 * gdb.cp/classes.exp (test_enums): Handle underlying type.
4439 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
4440 type.
4441 * gdb.cp/enum-class.exp: New file.
4442 * gdb.cp/enum-class.cc: New file.
4443
0626fc76
TT
44442014-04-14 Tom Tromey <tromey@redhat.com>
4445
4446 * gdb.dwarf2/enum-type.exp: New file.
4447
dca325b3
SA
44482014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4449
4450 * gdb.mi/mi-vla-c99.exp: New file.
4451 * gdb.mi/vla.c: New file.
4452
5854b38a
SA
44532014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4454
4455 * gdb.base/vla-datatypes.c: New file.
4456 * gdb.base/vla-datatypes.exp: New file.
4457
463bb957
SA
44582014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4459
4460 * gdb.base/vla-ptr.c: New file.
4461 * gdb.base/vla-ptr.exp: New file.
4462
3dd170be
SA
44632014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4464
4465 * gdb.dwarf2/count.exp: New file.
4466
5ecaaa66
SA
44672014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4468
4469 * gdb.base/vla-sideeffect.c: New file.
4470 * gdb.base/vla-sideeffect.exp: New file.
4471
41f1ada5
DB
44722014-04-14 David Blaikie <dblaikie@gmail.com>
4473
4474 * gdb.mi/non-stop.c: Add return value for non-void function return
4475 statement.
4476 * gdb.threads/staticthreads.c: Ditto.
4477
0be03e84
DE
44782014-04-12 Siva Chandra Reddy <sivachandra@google.com>
4479 Doug Evans <xdje42@gmail.com>
4480
4481 * gdb.guile/scm-value.c: Improve test case.
4482 * gdb.guile/scm-value.exp: Add new test.
4483
f180a1fb
DB
44842014-04-11 David Blaikie <dblaikie@gmail.com>
4485
4486 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
4487 override Clang's default.
4488
6b662e19
JB
44892014-04-11 Joel Brobecker <brobecker@adacore.com>
4490
4491 Revert the following changes (regressions):
4492
4493 * gdb.base/vla-sideeffect.c: New file.
4494 * gdb.base/vla-sideeffect.exp: New file.
4495
4496 * gdb.dwarf2/count.exp: New file.
4497
4498 * gdb.base/vla-multi.c: New file.
4499 * gdb.base/vla-multi.exp: New file.
4500
4501 * gdb.base/vla-ptr.c: New file.
4502 * gdb.base/vla-ptr.exp: New file.
4503
4504 * gdb.base/vla-datatypes.c: New file.
4505 * gdb.base/vla-datatypes.exp: New file.
4506
4507 * gdb.mi/mi-vla-c99.exp: New file.
4508 * gdb.mi/vla.c: New file.
4509
245a5f0b
KS
45102014-04-11 Keith Seitz <keiths@redhat.com>
4511
4512 PR c++/16675
4513 * gdb.cp/cpsizeof.exp: New file.
4514 * gdb.cp/cpsizeof.cc: New file.
4515
58a84dcf
SA
45162014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4517
191a8a90
JB
4518 * gdb.mi/mi-vla-c99.exp: New file.
4519 * gdb.mi/vla.c: New file.
58a84dcf 4520
c8655f75
SA
45212014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4522
4523 * gdb.base/vla-datatypes.c: New file.
4524 * gdb.base/vla-datatypes.exp: New file.
4525
024e13b4
SA
45262014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4527
4528 * gdb.base/vla-ptr.c: New file.
4529 * gdb.base/vla-ptr.exp: New file.
4530
1a237e0e
SA
45312014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4532
4533 * gdb.base/vla-multi.c: New file.
4534 * gdb.base/vla-multi.exp: New file.
4535
504f3432
SA
45362014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4537
4538 * gdb.dwarf2/count.exp: New file.
4539
3bce8237
SA
45402014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4541
191a8a90
JB
4542 * gdb.base/vla-sideeffect.c: New file.
4543 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 4544
322f9c21
YQ
45452014-04-11 Yao Qi <yao@codesourcery.com>
4546
4547 * gdb.base/completion.exp: Check file exists before running tests
4548 on file completion.
4549
d708bcd1
PA
45502014-04-10 Pedro Alves <palves@redhat.com>
4551
4552 * gdb.base/cond-eval-mode.c: New file.
4553 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
4554 prepare_for_testing to build the new file. Check result of
4555 runto_main.
4556 (test_break, test_watch): New procedures.
4557 (top level): Use them.
4558
ae1d2761
PM
45592014-04-08 Pierre Muller <muller@sourceware.org>
4560
4561 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
4562 Ctrl-V use for mingw hosts.
4563
7af389b8
SC
45642014-04-07 Siva Chandra Reddy <sivachandra@google.com>
4565
4566 * gdb.python/py-value.c: Improve test case.
4567 * gdb.python/py-value.exp: Add new test.
4568
5e703181
DE
45692014-04-07 David Blaikie <dblaikie@gmail.com>
4570
4571 * lib/compiler.c: Identify the clang compiler.
4572 * lib/compiler.cc: Ditto.
4573
9810b410
YQ
45742014-04-03 Yao Qi <yao@codesourcery.com>
4575
4576 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
4577
98d1b8dc
AB
45782014-04-01 Anton Blanchard <anton@samba.org>
4579
4580 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
4581 messages unique.
4582
3114cea1
AB
45832014-04-01 Anton Blanchard <anton@samba.org>
4584
4585 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
4586 prepare_for_testing.
4587
62f7182c
AB
45882014-04-01 Anton Blanchard <anton@samba.org>
4589
4590 * gdb.arch/ppc64-atomic-inst.c: Remove.
4591 * gdb.arch/ppc64-atomic-inst.S: New file.
4592 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
4593
770e7fc7
DE
45942014-03-31 Doug Evans <dje@google.com>
4595
4596 * gdb.base/print-symbol-loading-lib.c: New file.
4597 * gdb.base/print-symbol-loading-main.c: New file.
4598 * gdb.base/print-symbol-loading.exp: New file.
4599
46e2bafa
YQ
46002014-03-31 Yao Qi <yao@codesourcery.com>
4601
4602 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
4603
8776cfe9
JB
46042014-03-28 Joel Brobecker <brobecker@adacore.com>
4605
4606 * gdb.ada/mi_dyn_arr: New testcase.
4607
5d1ef361
DE
46082014-03-27 Doug Evans <dje@google.com>
4609
4610 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
4611
b5bee914
YQ
46122014-03-27 Yao Qi <yao@codesourcery.com>
4613
4614 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
4615 if target is nios2-*-*.
4616
0d4d0e77
YQ
46172014-03-26 Yao Qi <yao@codesourcery.com>
4618
4619 * lib/gdb.exp (readline_is_used): New proc.
4620 * gdb.base/completion.exp: Move tests on command complete up.
4621 Skip the rest of tests if readline is not used.
4622 * gdb.ada/complete.exp: Skp the test if readline is not
4623 used.
4624 * gdb.base/filesym.exp: Likewise.
4625 * gdb.base/macscp.exp: Likewise.
4626 * gdb.base/readline-ask.exp: Likewise.
4627 * gdb.base/readline.exp: Likewise.
4628 * gdb.python/py-cmd.exp: Likewise.
4629 * gdb.trace/tfile.exp: Likewise.
4630
29361eee
YQ
46312014-03-26 Yao Qi <yao@codesourcery.com>
4632
4633 * gdb.base/macscp.exp: Fix code format issues.
4634
bc9a5525
UW
46352014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
4636
4637 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
4638 * gdb.asm/powerpc64le.inc: New file.
4639
d3839ede
PA
46402014-03-25 Pedro Alves <palves@redhat.com>
4641 Doug Evans <dje@google.com>
4642
4643 * gdb.base/source-execution.c: New file.
4644 * gdb.base/source-execution.exp: New file.
4645 * gdb.base/source-execution.gdb: New file.
4646
01672a57
DE
46472014-03-24 Doug Evans <dje@google.com>
4648
4649 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
4650 using fission.
4651
88bbeca9
HZ
46522014-03-24 Hui Zhu <hui@codesourcery.com>
4653 Pedro Alves <palves@redhat.com>
4654
4655 PR breakpoints/16101
4656 * gdb.base/dprintf.exp: Use unsupported rather than changing the
4657 test pass/fail messages. Detect missing support for dprintf when
4658 breakpoints are actually inserted.
4659 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
4660 breakpoints are actually inserted.
4661 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
4662 fails.
4663
d2348791
JK
46642014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4665
4666 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
4667
feef67ab
DE
46682014-03-22 Doug Evans <xdje42@gmail.com>
4669
4670 * gdb.python/python.exp (python not supported): Verify multi-line
4671 python command issues an error.
25d743f9 4672 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 4673 guile command issues an error.
feef67ab 4674
ecebef6a
MR
46752014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
4676
4677 * gdb.threads/thread-specific.exp: Handle the lack of usable
4678 $this_breakpoint and $this_thread.
4679
ccdd1909
HZ
46802014-03-21 Hui Zhu <hui@codesourcery.com>
4681
4682 * gdb.base/attach.exp (do_command_attach_tests): New.
4683
beb460e8
PA
46842014-03-20 Tom Tromey <tromey@redhat.com>
4685 Pedro Alves <palves@redhat.com>
4686
4687 PR cli/15718
4688 * gdb.base/condbreak-call-false.c: New file.
4689 * gdb.base/condbreak-call-false.exp: New file.
4690
40acf43a
PA
46912014-03-20 Pedro Alves <palves@redhat.com>
4692
4693 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
4694 Delete.
4695 (block_signals, unblock_signals): Delete.
4696 (child_function_2, main): Remove references to deleted variable
4697 and functions.
4698
9f5e1e02
PA
46992014-03-20 Pedro Alves <palves@redhat.com>
4700
4701 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
4702 Use pthread_kill to signal thread 2.
4703 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4704 Adjust to make the test send itself a signal rather than using the
4705 host's "kill" command.
4706
99619bea
PA
47072014-03-20 Pedro Alves <palves@redhat.com>
4708
4709 * gdb.threads/multiple-step-overs.c: New file.
4710 * gdb.threads/multiple-step-overs.exp: New file.
4711 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4712 Adjust expected infrun debug output.
4713
2adfaa28
PA
47142014-03-20 Pedro Alves <palves@redhat.com>
4715
4716 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
4717 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
4718
31e77af2
PA
47192014-03-20 Pedro Alves <palves@redhat.com>
4720
4721 PR breakpoints/7143
4722 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
4723 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
4724 of gdb_test_multiple.
4725 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
4726 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
4727
b9f437de
PA
47282014-03-20 Pedro Alves <palves@redhat.com>
4729
4730 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
4731 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
4732
05adc73e
PA
47332014-03-19 Pedro Alves <palves@redhat.com>
4734
4735 * gdb.base/async.exp: Remove early return.
4736
6048b950
PA
47372014-03-19 Pedro Alves <palves@redhat.com>
4738
4739 * gdb.base/async.exp (step& tests): Pass explicit test messages.
4740
8bcfb00a
PA
47412014-03-19 Pedro Alves <palves@redhat.com>
4742
4743 * gdb.base/async.exp (test_background): Expect \r\n after
4744 "completed." in the fail pattern.
4745
884e37dc
PA
47462014-03-19 Pedro Alves <palves@redhat.com>
4747
4748 * gdb.base/async.exp (test_background): New procedure.
4749 Use it for all background execution command tests.
4750
148e57e2
PA
47512014-03-19 Pedro Alves <palves@redhat.com>
4752
4753 * gdb.base/async.exp: Use prepare_for_testing.
4754
f48088c7
PA
47552014-03-19 Pedro Alves <palves@redhat.com>
4756
4757 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
4758 the same line.
4759
e2f6c966
PA
47602014-03-19 Pedro Alves <palves@redhat.com>
4761
4762 * gdb.base/async.c (main): Add "jump here" and "until here" line
4763 marker comments.
4764 * gdb.base/async.exp (jump_here): New global.
4765 (jump& test): Use it.
4766 (until_here): New global.
4767 (until& test): Use it.
4768
c30568d4
PA
47692014-03-19 Pedro Alves <palves@redhat.com>
4770
4771 * gdb.base/async.exp: Don't frob gdb_protocol.
4772
0172b6a7
DE
47732014-03-18 Doug Evans <xdje42@gmail.com>
4774
4775 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
4776 Fix spelling of exec-done-display.
4777
06c868a8
JK
47782014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4779
4780 PR gdb/15358
4781 * gdb.base/gdb-sigterm.c: New file.
4782 * gdb.base/gdb-sigterm.exp: New file.
4783
0c7e1a46
PA
47842014-03-18 Pedro Alves <palves@redhat.com>
4785
4786 PR gdb/13860
4787 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
4788 * lib/mi-support.exp (mi_expect_stop): Add special handling for
4789 solib-event.
4790
f7c77d93
JB
47912014-03-17 Joel Brobecker <brobecker@adacore.com>
4792
4793 * gdb.ada/pckd_arr_ren: New testcase.
4794
5a1e8c7a
DE
47952014-03-13 Doug Evans <xdje42@gmail.com>
4796
4797 PR guile/16612
4798 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
4799 collect after discarding symbols.
4800
350e1a76
DE
48012014-03-13 Ludovic Courtès <ludo@gnu.org>
4802 Doug Evans <xdje42@gmail.com>
4803
4804 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
4805 to history survives a gc.
4806
a69900ae
PA
48072014-03-13 Pedro Alves <palves@redhat.com>
4808
4809 * gdb.base/default.exp: Don't test "target procfs".
4810
5db9f0bd
PA
48112014-03-13 Pedro Alves <palves@redhat.com>
4812
4813 * gdb.base/default.exp: Update "target child" and "target procfs"
4814 tests to not expect "Unix".
4815
b3ccfe11
TT
48162014-03-12 Tom Tromey <tromey@redhat.com>
4817
4818 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
4819 New procs. Add target-async tests.
4820 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
4821 Add target-async tests.
4822
646f4417
AA
48232014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4824
4825 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
4826 'func_start' and 'func_end' for the beginning and end of the
4827 function code, respectively.
4828 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
4829 'func_end' instead of 'func' and 'main'.
4830
288c211f
AA
48312014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4832
4833 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
4834 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
4835 generate the debug info assembler source.
4836
e0c0f156
AA
48372014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4838
4839 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
4840 * gdb.dwarf2/arr-subrange.exp: Likewise.
4841 * gdb.dwarf2/dwz.exp: Likewise.
4842 * gdb.dwarf2/method-ptr.exp: Likewise.
4843 * gdb.dwarf2/missing-sig-type.exp: Likewise.
4844 * gdb.dwarf2/subrange.exp: Likewise.
4845 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
4846 * gdb.dwarf2/implptrpiece.exp: Likewise.
4847 * gdb.dwarf2/nostaticblock.exp: Likewise.
4848
0e5c4555
AA
48492014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4850
4851 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
4852 directory to absolute path name arguments.
4853
5ec18f2b
JG
48542014-03-10 Joel Brobecker <brobecker@adacore.com>
4855
4856 * gdb.ada/tagged_access: New testcase.
4857
847fc4f2
MM
48582014-03-07 Markus Metzger <markus.t.metzger@intel.com>
4859
4860 * gdb.btrace/data.exp: Update expected output.
4861
cc3da688
YQ
48622014-03-06 Yao Qi <yao@codesourcery.com>
4863
4864 * gdb.trace/pr16508.exp: New file.
4865
0f26cec1
PA
48662014-03-05 Pedro Alves <palves@redhat.com>
4867
4868 PR gdb/16575
4869 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
4870 procedure.
4871 (top level): Adjust to use it. Add tests that exercise breakpoint
4872 interaction with the code-cache.
4873
7a5a839f
LC
48742014-02-26 Ludovic Courtès <ludo@gnu.org>
4875
4876 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
4877 test for 'history-append!'.
4878
31aa7e4e
JB
48792014-02-26 Joel Brobecker <brobecker@adacore.com>
4880
4881 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
4882 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
4883 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
4884 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
4885 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
4886 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
4887
1b588015
JB
48882014-02-26 Joel Brobecker <brobecker@adacore.com>
4889
4890 * testsuite/gdb.python/py-pp-re-notag.c: New file.
4891 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
4892 * testsuite/gdb.python/py-pp-re-notag.p: New file.
4893
55426c9d
JB
48942014-02-26 Joel Brobecker <brobecker@adacore.com>
4895
4896 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
4897
dc53a7ad
JB
48982014-02-26 Joel Brobecker <brobecker@adacore.com>
4899
4900 * gdb.dwarf2/arr-stride.c: New file.
4901 * gdb.dwarf2/arr-stride.exp: New file.
4902
12ab52e9
PA
49032014-02-26 Pedro Alves <palves@redhat.com>
4904
4905 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
4906 that won't ever trigger. Make sure that GDB reports the correct
4907 breakpoint that caused the stop.
4908
849c862e
JK
49092014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4910
4911 PR gdb/16626
4912 * gdb.base/auto-load-script: New file.
4913 * gdb.base/auto-load.c: New file.
4914 * gdb.base/auto-load.exp: New file.
4915
71b7d793
JK
4916 PR gdb/16626
4917 * gdb.base/auto-load.exp: Fix out-of-srctree run.
4918
e2f0d509
JK
49192014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4920
4921 Fix dw2-icycle.exp -fsanitize=address GDB crash.
4922 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
4923
50cc37c8
DE
49242014-02-24 Doug Evans <dje@google.com>
4925
4926 * lib/gdb.exp (run_on_host): Log error output if program fails.
4927
ea4758f2
PA
49282014-02-21 Pedro Alves <palves@redhat.com>
4929
4930 * gdb.threads/step-after-sr-lock.c: Rename to ...
4931 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
4932 * gdb.threads/step-after-sr-lock.exp: Rename to ...
4933 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4934 ... this.
4935
d7b30f67
SDJ
49362014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
4937
4938 PR tdep/16397
4939 * gdb.arch/amd64-stap-special-operands.exp: New file.
4940 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
4941 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
4942 * gdb.arch/amd64-stap-triplet.S: Likewise.
4943 * gdb.arch/amd64-stap-triplet.c: Likewise.
4944
83deb43f
JB
49452014-02-20 Joel Brobecker <brobecker@adacore.com>
4946
4947 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
4948 in .section pseudo-op.
4949
adde2bff
DE
49502014-02-20 lin zuojian <manjian2006@gmail.com>
4951 Joel Brobecker <brobecker@adacore.com>
4952 Doug Evans <xdje42@gmail.com>
4953
4954 PR symtab/16581
4955 * gdb.dwarf2/dw2-icycle.S: New file.
4956 * gdb.dwarf2/dw2-icycle.c: New file.
4957 * gdb.dwarf2/dw2-icycle.exp: New file.
4958
f7bd0f78
SC
49592014-02-19 Siva Chandra Reddy <sivachandra@google.com>
4960
4961 * gdb.python/py-value-cc.cc: Improve test case to enable testing
4962 operations on gdb.Value objects.
4963 * gdb.python/py-value-cc.exp: Add new test to test operations on
4964 gdb.Value objects.
4965
c17ef0d5
DE
49662014-02-18 Doug Evans <dje@google.com>
4967
4968 * Makefile.in (TESTS): New variable.
4969 (expanded_tests, expanded_tests_or_none): New variables
4970 (check-single): Pass $(expanded_tests_or_none) to runtest.
4971 (check-parallel): Only run tests in $(TESTS) if non-empty.
4972 (check/no-matching-tests-found): New rule.
4973 * README: Document TESTS makefile variable.
4974
5dd3176f
DE
49752014-02-18 Doug Evans <dje@google.com>
4976
4977 * Makefile.in (check-parallel): rm -rf outputs temp.
4978
0b10be4f
JK
49792014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4980
4981 Fix "ERROR: no fileid for" in the testsuite.
4982 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
4983
85f224e7
DE
49842014-02-12 Doug Evans <dje@google.com>
4985
4986 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
4987 (MISCELLANEOUS): New variable.
4988 (clean): rm -rf $(MISCELLANEOUS).
4989 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
4990 dwp live in the same directory as symlinks, with each symlink pointed
4991 to a differently named file in a different directory.
4992
149b30ff
DE
49932014-02-11 Doug Evans <dje@google.com>
4994
4995 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
4996 of Tcl file commands.
4997
1dfdac32
MK
49982014-02-10 Mark Kettenis <kettenis@gnu.org>
4999
5000 * gdb.threads/step-after-sr-lock.exp: Avoid executing
5001 "kill -SIGUSR1 -1".
5002
aa4fb036
JB
50032014-02-10 Joel Brobecker <brobecker@adacore.com>
5004
5005 * gdb.ada/tick_length_array_enum_idx: New testcase.
5006
ed3ef339
DE
50072014-02-10 Doug Evans <xdje42@gmail.com>
5008
5009 * configure.ac (AC_OUTPUT): Add gdb.guile.
5010 * configure: Regenerate.
5011 * lib/gdb-guile.exp: New file.
5012 * lib/gdb.exp (get_target_charset): New function.
5013 * gdb.base/help.exp: Update expected output from "apropos apropos".
5014 * gdb.guile/Makefile.in: New file.
5015 * gdb.guile/guile.exp: New file.
5016 * gdb.guile/scm-arch.c: New file.
5017 * gdb.guile/scm-arch.exp: New file.
5018 * gdb.guile/scm-block.c: New file.
5019 * gdb.guile/scm-block.exp: New file.
5020 * gdb.guile/scm-breakpoint.c: New file.
5021 * gdb.guile/scm-breakpoint.exp: New file.
5022 * gdb.guile/scm-disasm.c: New file.
5023 * gdb.guile/scm-disasm.exp: New file.
5024 * gdb.guile/scm-equal.c: New file.
5025 * gdb.guile/scm-equal.exp: New file.
5026 * gdb.guile/scm-error.exp: New file.
5027 * gdb.guile/scm-error.scm: New file.
5028 * gdb.guile/scm-frame-args.c: New file.
5029 * gdb.guile/scm-frame-args.exp: New file.
5030 * gdb.guile/scm-frame-args.scm: New file.
5031 * gdb.guile/scm-frame-inline.c: New file.
5032 * gdb.guile/scm-frame-inline.exp: New file.
5033 * gdb.guile/scm-frame.c: New file.
5034 * gdb.guile/scm-frame.exp: New file.
5035 * gdb.guile/scm-generics.exp: New file.
5036 * gdb.guile/scm-gsmob.exp: New file.
5037 * gdb.guile/scm-iterator.c: New file.
5038 * gdb.guile/scm-iterator.exp: New file.
5039 * gdb.guile/scm-math.c: New file.
5040 * gdb.guile/scm-math.exp: New file.
5041 * gdb.guile/scm-objfile-script-gdb.in: New file.
5042 * gdb.guile/scm-objfile-script.c: New file.
5043 * gdb.guile/scm-objfile-script.exp: New file.
5044 * gdb.guile/scm-objfile.c: New file.
5045 * gdb.guile/scm-objfile.exp: New file.
5046 * gdb.guile/scm-ports.exp: New file.
5047 * gdb.guile/scm-pretty-print.c: New file.
5048 * gdb.guile/scm-pretty-print.exp: New file.
5049 * gdb.guile/scm-pretty-print.scm: New file.
5050 * gdb.guile/scm-section-script.c: New file.
5051 * gdb.guile/scm-section-script.exp: New file.
5052 * gdb.guile/scm-section-script.scm: New file.
5053 * gdb.guile/scm-symbol.c: New file.
5054 * gdb.guile/scm-symbol.exp: New file.
5055 * gdb.guile/scm-symtab-2.c: New file.
5056 * gdb.guile/scm-symtab.c: New file.
5057 * gdb.guile/scm-symtab.exp: New file.
5058 * gdb.guile/scm-type.c: New file.
5059 * gdb.guile/scm-type.exp: New file.
5060 * gdb.guile/scm-value-cc.cc: New file.
5061 * gdb.guile/scm-value-cc.exp: New file.
5062 * gdb.guile/scm-value.c: New file.
5063 * gdb.guile/scm-value.exp: New file.
5064 * gdb.guile/source2.scm: New file.
5065 * gdb.guile/types-module.cc: New file.
5066 * gdb.guile/types-module.exp: New file.
5067
7026a7c1
YQ
50682014-02-10 Yao Qi <yao@codesourcery.com>
5069
5070 PR testsuite/16543
5071 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
5072 * configure: Regenerated.
5073 * Makefile.in: New file.
5074
6c466447
AS
50752014-02-08 Andreas Schwab <schwab@linux-m68k.org>
5076
5077 * gdb.python/py-framefilter.exp: Fix typo.
5078
6e854735
YQ
50792014-02-08 Yao Qi <yao@codesourcery.com>
5080
5081 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
5082 that no =breakpoint-modified is emitted when breakpoints are
5083 modified through MI commands.
5084
d137e6dc
PA
50852014-02-07 Pedro Alves <pedro@codesourcery.com>
5086 Pedro Alves <palves@redhat.com>
5087
5088 * gdb.threads/step-after-sr-lock.c: New file.
5089 * gdb.threads/step-after-sr-lock.exp: New file.
5090
b5ee5a50
PA
50912014-02-07 Pedro Alves <palves@redhat.com>
5092
5093 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
5094
3c77faf3
JK
50952014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5096
5097 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
5098 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
5099
6dddc817
DE
51002014-02-06 Doug Evans <xdje42@gmail.com>
5101
5102 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
5103 output.
5104
5105 * gdb.gdb/python-interrupts.exp: New file.
5106
de7b2893
YQ
51072014-02-05 Yao Qi <yao@codesourcery.com>
5108
5109 * gdb.trace/report.exp (use_collected_data): Test the output
5110 of "info threads" and "info inferiors".
5111
66d032ac
YQ
51122014-02-05 Yao Qi <yao@codesourcery.com>
5113
5114 Revert this patch:
5115
5116 2013-05-24 Yao Qi <yao@codesourcery.com>
5117
5118 * gdb.trace/tfile.exp: Test inferior and thread.
5119
591a12a1
UW
51202014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5121
5122 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
5123 on a function.
5124 * gdb.base/step-bt.c: Call hello via function pointer to make
5125 sure its first instruction is executed on powerpc64le-linux.
5126
0ff3e01f
UW
51272014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5128
5129 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
5130
084ee545
UW
51312014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5132
5133 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
5134 of the test patterns for use on little-endian systems.
5135
6ed14ff3
UW
51362014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5137
5138 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
5139 (decimal_vector): Fix for little-endian.
5140
401e27fd
JM
51412014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
5142
5143 * gdb.arch/sparc-sysstep.exp: New file.
5144 * gdb.arch/sparc-sysstep.c: Likewise.
5145
5146 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
5147
8b924729
EBM
51482014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5149
5150 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
5151
fb151210
JB
51522014-01-23 Tom Tromey <tromey@redhat.com>
5153
5154 * gdb.ada/array_char_idx: New testcase.
5155
0740f8d8
TT
51562014-01-23 Tom Tromey <tromey@redhat.com>
5157
5158 PR python/16487:
5159 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
5160 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
5161 classes.
5162
21909fa1
TT
51632014-01-23 Tom Tromey <tromey@redhat.com>
5164
5165 PR python/16491:
5166 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
5167 string from an inferior frame.
5168 * gdb.python/py-framefilter-mi.exp: Update.
5169
87ce2a04
DE
51702014-01-22 Doug Evans <dje@google.com>
5171
5172 * gdb.server/server-mon.exp: Add tests for "set debug-format".
5173
237b092b
AA
51742014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5175
5176 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
5177
d674a709
AA
51782014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5179
5180 * gdb.trace/entry-values.exp: Remove excess space character from
5181 regex patterns. Handle s390 call instruction.
5182
20fa3390
AA
51832014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5184
5185 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
5186 define "*_start" label. Make "name" static.
5187 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
5188 ${name} by references to ${name}_start.
5189
78466714
AA
51902014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5191
5192 * gdb.base/info-macros.exp: Remove "debug" from the compile
5193 options.
5194
ec9f644a
IB
51952014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5196
5197 * gdb.dlang/demangle.exp: New file.
5198
94b1b47e
IB
51992014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5200
5201 * gdb.dlang/primitive-types.exp: New file.
5202
7f420862
IB
52032014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5204
5205 * configure.ac: Create gdb.dlang/Makefile.
5206 * configure: Regenerate.
5207 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
5208 * gdb.dlang/Makefile.in: New file.
5209 * lib/d-support.exp: New file.
5210 * lib/gdb.exp (skip_d_tests): New proc.
5211
52834460
MM
52122014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5213
5214 * gdb.btrace/delta.exp: Check reverse stepi.
5215 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
5216 * gdb.btrace/finish.exp: New.
5217 * gdb.btrace/next.exp: New.
5218 * gdb.btrace/nexti.exp: New.
5219 * gdb.btrace/record_goto.c: Add comments.
5220 * gdb.btrace/step.exp: New.
5221 * gdb.btrace/stepi.exp: New.
5222 * gdb.btrace/multi-thread-step.c: New.
5223 * gdb.btrace/multi-thread-step.exp: New.
5224 * gdb.btrace/rn-dl-bind.c: New.
5225 * gdb.btrace/rn-dl-bind.exp: New.
5226 * gdb.btrace/data.c: New.
5227 * gdb.btrace/data.exp: New.
5228 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
5229
6e07b1d2
MM
52302014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5231
5232 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
5233 * gdb.btrace/exception.exp: Update.
5234 * gdb.btrace/instruction_history.exp: Update.
5235 * gdb.btrace/record_goto.exp: Update.
5236 * gdb.btrace/tailcall.exp: Update.
5237 * gdb.btrace/unknown_functions.exp: Update.
5238 * gdb.btrace/delta.exp: New.
5239
0b722aec
MM
52402014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5241
5242 * gdb.btrace/record_goto.exp: Add backtrace test.
5243 * gdb.btrace/tailcall.exp: Add backtrace test.
5244
066ce621
MM
52452014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5246
5247 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
5248 * gdb.btrace/record_goto.c: New.
5249 * gdb.btrace/record_goto.exp: New.
5250 * gdb.btrace/x86-record_goto.S: New.
5251
0688d04e
MM
52522014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5253
5254 * gdb.btrace/function_call_history.exp: Update tests.
5255 * gdb.btrace/instruction_history.exp: Update tests.
5256
8710b709
MM
52572014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5258
5259 * gdb.btrace/function_call_history.exp: Fix expected field
5260 order for "record function-call-history".
5261 Add new tests for "record function-call-history /c".
5262 * gdb.btrace/exception.cc: New.
5263 * gdb.btrace/exception.exp: New.
5264 * gdb.btrace/tailcall.exp: New.
5265 * gdb.btrace/x86-tailcall.S: New.
5266 * gdb.btrace/x86-tailcall.c: New.
5267 * gdb.btrace/unknown_functions.c: New.
5268 * gdb.btrace/unknown_functions.exp: New.
5269 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
5270
5de9129b
MM
52712014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5272
5273 * gdb.btrace/instruction_history.exp: Update.
5274 * gdb.btrace/function_call_history.exp: Update.
5275
23a7fe75
MM
52762014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5277
5278 * gdb.btrace/function_call_history.exp: Fix expected function
5279 trace.
5280 * gdb.btrace/instruction_history.exp: Initialize traced.
5281 Remove traced_functions.
5282
724c7dd8
MM
52832014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5284
5285 * gdb.btrace/function_call_history.exp: Update
5286 * gdb.btrace/instruction_history.exp: Update.
5287
6d78d93b
MM
52882014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5289
5290 * gdb.btrace/enable.exp: Update expected text.
5291
93a360cc
OJ
52922014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
5293
5294 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
5295 bytes.
5296
3772b53f
MR
52972014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
5298
5299 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
5300
596662fa
OJ
53012014-01-15 Omair Javaid <omair.javaid@linaro.org>
5302
5303 * lib/gdb.exp (supports_process_record): Return true for
5304 arm*-linux*. (supports_reverse): Likewise.
5305
b5b08fb4
SC
53062014-01-13 Siva Chandra Reddy <sivachandra@google.com>
5307
5308 PR python/15464
5309 PR python/16113
5310 * gdb.python/py-type.c: Enhance test case.
5311 * gdb.python/py-value-cc.cc: Likewise
5312 * gdb.python/py-type.exp: Add new tests.
5313 * gdb.python/py-value-cc.exp: Likewise
5314
52d7fb13
AA
53152014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
5316 Pedro Alves <palves@redhat.com>
5317
5318 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
5319 Make "name" extern.
5320 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
5321 references to ${name}_start by references to ${name}.
5322
a2cd8cfe
JB
53232014-01-10 Joel Brobecker <brobecker@adacore.com>
5324
5325 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
5326
4e23fced
JB
53272014-01-10 Joel Brobecker <brobecker@adacore.com>
5328
5329 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
5330
c6a9e42c
PA
53312014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
5332 Pedro Alves <palves@redhat.com>
5333
5334 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 5335 mi_gdb_target_load.
c6a9e42c 5336
b7ea362b
PA
53372014-01-08 Pedro Alves <palves@redhat.com>
5338
5339 * gdb.threads/reconnect-signal.c: New file.
5340 * gdb.threads/reconnect-signal.exp: New file.
5341
5e3f4fab
EBM
53422014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5343
5344 * gdb.base/source-dir.exp: New file.
5345
79301218
JB
53462014-01-07 Joel Brobecker <brobecker@adacore.com>
5347
5348 * gdb.ada/mi_interface: New testcase.
5349
8e355c5d
JB
53502014-01-07 Joel Brobecker <brobecker@adacore.com>
5351
5352 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
5353 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
5354 gdb.ada/pp-rec-component/pck.ads: New files.
5355
c0d48811
JB
53562014-01-07 Joel Brobecker <brobecker@adacore.com>
5357
5358 * gdb.python/py-pp-integral.c: New file.
5359 * gdb.python/py-pp-integral.py: New file.
5360 * gdb.python/py-pp-integral.exp: New file.
5361
17b609c3 5362For older changes see ChangeLog-1993-2013.
c906108c 5363\f
8d8cb839
EZ
5364;; Local Variables:
5365;; mode: change-log
5366;; left-margin: 8
5367;; fill-column: 74
5368;; version-control: never
5369;; End:
902f2ccb 5370
32d0add0 5371 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
5372 Copying and distribution of this file, with or without modification,
5373 are permitted provided the copyright notice and this notice are preserved.