]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
gdb.python/py-events.exp and normal_stop observers ordering
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
5068630a
PA
12015-07-24 Pedro Alves <palves@redhat.com>
2
3 * gdb.python/py-events.exp: Accept output between the stop event
4 and the prompt.
5 * gdb.python/py-evsignal.exp: Likewise.
6 * gdb.python/py-evthreads.exp: Likewise.
7
77598427
PA
82015-07-24 Pedro Alves <palves@redhat.com>
9
10 PR gdb/18717
11 * gdb.threads/non-ldr-exit.c: New file.
12 * gdb.threads/non-ldr-exit.exp: New file.
13
11e6c98f
YQ
142015-07-24 Yao Qi <yao.qi@linaro.org>
15
16 * gdb.server/ext-wrapper.exp: Test --wrapper option when
17 restarting process.
18
51aee833
YQ
192015-07-24 Yao Qi <yao.qi@linaro.org>
20
21 * gdb.server/ext-restart.exp: New file.
22
8cfe207c
YQ
232015-07-24 Yao Qi <yao.qi@linaro.org>
24
25 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
26 argument options.
27 * gdb.server/ext-wrapper.exp: New file.
28
cc12ce38
DE
292015-07-23 Doug Evans <dje@google.com>
30
31 * gdb.dwarf2/dw2-dummy-cu.S: New file.
32 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
33
d0d84780
PMR
342015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
35
36 * gdb.ada/var_arr_typedef.exp: New testcase.
37 * gdb.ada/var_arr_typedef/pack.adb: New file.
38 * gdb.ada/var_arr_typedef/pack.ads: New file.
39 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
40
8b558f79
JB
412015-07-20 Joel Brobecker <brobecker@adacore.com>
42
43 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
44
775a3298
JK
452015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
46
47 * gdb.arch/i386-biarch-core.exp: Replace istarget
48 by "complete set gnutarget". Remove expectation for the "core-file"
49 command.
50
db1ff28b
JK
512015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
52
53 Revert the previous commit:
54 Tests for validate symbol file using build-id.
55
0a94970d
JK
562015-07-15 Aleksandar Ristovski <aristovski@qnx.com
57
58 Tests for validate symbol file using build-id.
59 * gdb.base/solib-mismatch-lib.c: New file.
60 * gdb.base/solib-mismatch-libmod.c: New file.
61 * gdb.base/solib-mismatch.c: New file.
62 * gdb.base/solib-mismatch.exp: New file.
63
03346981
SL
642015-07-15 Sandra Loosemore <sandra@codesourcery.com>
65
66 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
67 nios2-*-linux*.
68 * gdb.base/sigbpt.exp (stepi_out): Likewise.
69 * gdb.base/siginfo.exp: Likewise.
70 * gdb.base/sigstep.exp (advance, advancei): Likewise.
71
42422cc7
PL
722015-07-15 Pierre Langlois <pierre.langlois@arm.com>
73
74 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
75 Move it to ...
76 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
77 ... here.
78 * gdb.trace/range-stepping.exp: Check that the target supports
79 range stepping.
80
cfa68bae
JK
812015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
82
83 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
84
8ffdba26
PA
852015-07-14 Pedro Alves <palves@redhat.com>
86
87 * gdb.base/killed-outside.exp: New file.
88 * gdb.base/killed-outside.c: New file.
89
218a5a11
JK
902015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
91
92 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
93 (n at main): New.
94 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
95
e03ed3c6
AA
962015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
97
98 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
99 infcall tests instead of setting up for KFAIL.
100
485668e5
MM
1012015-07-10 Markus Metzger <markus.t.metzger@intel.com>
102
103 * gdb.btrace/record_goto-step.exp: New.
104
08464196
JK
1052015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
106
107 PR compile/18484
108 * gdb.compile/compile.c (struct struct_type): Add volatile to
109 selffield's type.
110 * gdb.compile/compile.exp
111 (compile code struct_object.selffield = &struct_object): Skip further
112 struct_object tests if this one xfails.
113
bcf5c1d9
RC
1142015-07-08 Robert O'Callahan <robert@ocallahan.org>
115
116 PR exp/18617
117 * gdb.trace/ax.exp: Add test.
118
4931af25
YQ
1192015-07-07 Yao Qi <yao.qi@linaro.org>
120
121 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
122 instead of istarget "aarch64*-*-*".
123 * gdb.arch/aarch64-fp.exp: Likewise.
124 * gdb.base/float.exp: Likewise.
125 * gdb.reverse/aarch64.exp: Likewise.
126 * lib/gdb.exp (is_aarch64_target): New proc.
127
9fcf688e
YQ
1282015-07-07 Yao Qi <yao.qi@linaro.org>
129
130 * lib/gdb.exp (is_aarch32_target): New proc.
131 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
132 instead of "istarget "arm*-*-*"".
133 * gdb.arch/arm-disp-step.exp: Likewise.
134 * gdb.arch/thumb-bx-pc.exp: Likewise.
135 * gdb.arch/thumb-prologue.exp: Likewise.
136 * gdb.arch/thumb-singlestep.exp: Likewise.
137 * gdb.base/disp-step-syscall.exp: Likewise.
138 * gdb.base/float.exp: Likewise.
139
fbd8d50d
YQ
1402015-07-07 Yao Qi <yao.qi@linaro.org>
141
142 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
143 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
144
71be1fdc
YQ
1452015-07-07 Yao Qi <yao.qi@linaro.org>
146
147 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
148 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
149 if it exists.
150 * gdb.multi/multi-arch.exp: Likewise.
151
3e221d36
SM
1522015-07-07 Simon Marchi <simon.marchi@ericsson.com>
153
154 * gdb.python/py-lazy-string.exp: Add missing parentheses to
155 print.
156
d441430b
YQ
1572015-07-07 Yao Qi <yao.qi@linaro.org>
158
159 * gdb.arch/thumb-singlestep.exp: Do one more single step.
160
06f810bd
MG
1612015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
162
163 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
164 '[' and ']' characters.
165
5e61e7c0
IB
1662015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
167
168 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
169
28bf096c
PA
1702015-06-29 Pedro Alves <palves@redhat.com>
171
172 PR threads/18127
173 * gdb.threads/hand-call-new-thread.c: New file.
174 * gdb.threads/hand-call-new-thread.c: New file.
175
ee93cd5e
KS
1762015-06-26 Keith Seitz <keiths@redhat.com>
177 Doug Evans <dje@google.com>
178
179 PR 16253
180 * gdb.cp/var-tag-2.cc: New file.
181 * gdb.cp/var-tag-3.cc: New file.
182 * gdb.cp/var-tag-4.cc: New file.
183 * gdb.cp/var-tag.cc: New file.
184 * gdb.cp/var-tag.exp: New file.
185
fc637f04
PP
1862015-06-26 Patrick Palka <patrick@parcs.ath.cx>
187
188 * gdb.base/history-duplicates.exp: New test.
189
2e52ae68
PP
1902015-06-26 Patrick Palka <patrick@parcs.ath.cx>
191
192 * gdb.base/completion.exp: Test the completion of the "focus"
193 command.
194
6e22494e
JK
1952015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
196
197 * gdb.arch/amd64-prologue-skip.S: New file.
198 * gdb.arch/amd64-prologue-skip.exp: New file.
199
bf7b9cd9
SM
2002015-06-25 Simon Marchi <simon.marchi@ericsson.com>
201
202 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
203 is_address_zero_readable check.
204
201e8dfd
PB
2052015-06-24 Peter Bergner <bergner@vnet.ibm.com>
206
207 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
208 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
209
5cd867b4
YQ
2102015-06-24 Yao Qi <yao.qi@linaro.org>
211
212 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
213 linux targets.
214
4d7be007
YQ
2152015-06-24 Yao Qi <yao.qi@linaro.org>
216
217 * lib/gdb.exp (supports_get_siginfo_type): New proc.
218 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
219 * gdb.base/siginfo-thread.exp: Likewise.
220
07fcd301
YQ
2212015-06-22 Yao Qi <yao.qi@linaro.org>
222
223 * boards/remote-gdbserver-on-localhost.exp: Add comments.
224
52042a00
YQ
2252015-06-22 Yao Qi <yao.qi@linaro.org>
226
227 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
228 aarch64*-*-*.
229 (skip_hw_watchpoint_tests): Likewise.
230
74bd41ce
PP
2312015-06-18 Patrick Palka <patrick@parcs.ath.cx>
232
233 * gdb.base/gdbinit-history.exp: Test the interaction between
234 setting GDBHISTSIZE and setting the history size via .gdbinit.
235
bc460514
PP
2362015-06-17 Patrick Palka <patrick@parcs.ath.cx>
237
238 PR gdb/16999
239 * gdb.base/gdbhistsize-history.exp: New test.
240
b58c513b
PP
2412015-06-17 Patrick Palka <patrick@parcs.ath.cx>
242
243 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
244 with GDBHISTSIZE.
245 * gdb.base/readline.exp: Likewise.
246
92046791
YQ
2472015-06-17 Yao Qi <yao.qi@linaro.org>
248
249 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
250 line.
251
2093d2d3
PP
2522015-06-17 Patrick Palka <patrick@parcs.ath.cx>
253
254 * gdb.base/gdbinit-history.exp: Add test case to check that
255 an unlimited history file does not get truncated on exit.
256
e6c693af
AA
2572015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
258
259 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
260 (VECTOR): New macro. Use it...
261 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
262 ...for these typedefs.
263 (int8, char1, int1, double1): New typedefs.
264 (struct just_int2, struct two_int2): New structures.
265 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
266 (add_structvecs, add_singlevecs): New functions.
267 (main): Call add_some_intvecs twice.
268 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
269 the compile and exit upon failure. Try compiling for the "native"
270 architecture. Test inferior function calls with vector arguments
271 and vector return value handling with "finish" and "return".
272
c74f7d1c
JT
2732015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
274
275 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
276 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
277 PE file.
278 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
279
98aa42ee
AT
2802015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
281
282 PR breakpoints/16465
283 * gdb.mi/mi-dprintf-pending.c: New file.
284 * gdb.mi/mi-dprintf-pending.exp: New test.
285 * gdb.mi/mi-dprintf-pendshr.c: New file.
286
7d73c23c 2872015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 288 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
289
290 * gdb.arch/i386-mpx-map.c: New file.
291 * gdb.arch/i386-mpx-map.exp: New File.
292
2932015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
294
295 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
296 * gdb.arch/i386-mpx.exp: Indentation fixed.
297
2982015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
299
300 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
301 function and improved indentation.
302 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
303 gdb_test_multiple. Added additional tests to skip the test.
304
3052015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
306
307 * gdb.arch/i386-avx512.c: Change path in include file.
308 * gdb.arch/i386-avx512.exp: Change include dir path
309 compilation flag.
310 * gdb.arch/i386-mpx.c: Change path in include file.
311 * gdb.arch/i386-mpx.exp: Change include dir path compilation
312 flag.
313
d5eba19a
JK
3142015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
315
316 * gdb.compile/compile-print.exp (compile print *vararray@3)
317 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
318
7f361056
JK
3192015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
320
321 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
322 (do not keep jit in memory): ... this.
323 (expect 5): Change it to ...
324 (expect no 5): ... this.
325
3b462ec2
SM
3262015-06-02 Simon Marchi <simon.marchi@ericsson.com>
327
328 PR gdb/15564
329 * gdb.mi/mi-detach.exp: New file.
330
e0619de6
JK
3312015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
332
333 PR symtab/18392
334 * gdb.arch/amd64-tailcall-self.S: New file.
335 * gdb.arch/amd64-tailcall-self.c: New file.
336 * gdb.arch/amd64-tailcall-self.exp: New file.
337
e970cb34
DB
3382015-05-28 Don Breazeal <donb@codesourcery.com>
339
340 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
341 tests for remote targets by checking is_target_gdbserver.
342
b2e2f908
DE
3432015-05-27 Doug Evans <dje@google.com>
344
345 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
346 * gdb.dwarf2/opaque-type-lookup.c: New file.
347 * gdb.dwarf2/opaque-type-lookup.exp: New file.
348
82c7be31
DE
3492015-05-26 Doug Evans <dje@google.com>
350
351 * gdb.cp/iostream.cc: New file.
352 * gdb.cp/iostream.exp: New file.
353
b4f54984
DE
3542015-05-26 Doug Evans <dje@google.com>
355
356 * gdb.dwarf2/dw2-op-call.exp: Update.
357 * gdb.dwarf2/dw4-sig-types.exp: Update.
358 * gdb.dwarf2/implptr.exp: Update.
359 * gdb.mi/mi-cmd-param-changed.exp: Update.
360
4ea6efe9
DE
3612015-05-26 Doug Evans <dje@google.com>
362
363 * gdb.python/py-lazy-string.c: New file.
364 * gdb.python/py-lazy-string.exp: New file.
365 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
366 (main): Update. Add estring3.
367 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
368 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
369
f6bb7db3
YQ
3702015-05-26 Omair Javaid <omair.javaid@linaro.org>
371 Yao Qi <yao.qi@linaro.org>
372
373 * gdb.reverse/aarch64.c: New.
374 * gdb.reverse/aarch64.exp: New.
375
a81bfbd0
OJ
3762015-05-26 Omair Javaid <omair.javaid@linaro.org>
377
378 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
379 (supports_reverse): Likewise.
380
158bf1b4
PP
3812015-05-22 Patrick Palka <patrick@parcs.ath.cx>
382
383 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
384 Use with_test_prefix.
385
a0145030
AB
3862015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
387
388 * gdb.base/completion.exp: Add test for completion of layout
389 names.
390
ebe3b578
AB
3912015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
392
393 * lib/gdb.exp (skip_tui_tests): New proc.
394 * gdb.base/tui-layout.exp: Check skip_tui_tests.
395
84204ed7
PA
3962015-05-19 Pedro Alves <palves@redhat.com>
397
398 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
399 Save the whole env array instead of just HOME. Unset HISTSIZE in
400 the environment while testing. Restore whole environment
401 afterwards.
402
37442ce1
DE
4032015-05-16 Doug Evans <xdje42@gmail.com>
404
405 * gdb.guile/scm-ports.c: New file.
406 * gdb.guile/scm-ports.exp: Add memory port tests.
407
36de76f9
JK
4082015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
409
410 * gdb.compile/compile-print.c: New file.
411 * gdb.compile/compile-print.exp: New file.
412
3a9558c4
JK
4132015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
414
415 * gdb.compile/compile-ops.exp: Cast param to void.
416 * gdb.compile/compile.exp: Complete type for _gdb_expr.
417 (compile code struct_object.selffield = &struct_object): Add xfail.
418
aa715135
JG
4192015-05-15 Joel Brobecker <brobecker@adacore.com>
420
421 * gdb.ada/arr_enum_with_gap: New testcase.
422
931e5bc3
JG
4232015-05-15 Joel Brobecker <brobecker@adacore.com>
424
425 * gdb.ada/byte_packed_arr: New testcase.
426
9cd4d857
JB
4272015-05-15 Joel Brobecker <brobecker@adacore.com>
428
429 * gdb.ada/pckd_neg: New testcase.
430
ebfd00d2
PP
4312015-05-13 Patrick Palka <patrick@parcs.ath.cx>
432
433 PR gdb/17820
434 * gdb.base/gdbinit-history.exp: New test.
435 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
436 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
437
4c082a81
SC
4382015-05-09 Siva Chandra Reddy <sivachandra@google.com>
439
440 * gdb.python/py-xmethods.cc: Enhance test case.
441 * gdb.python/py-xmethods.exp: New tests.
442 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
443 function.
444 (B_indexoper): Likewise.
445 (global_dm_list) : Add new xmethod worker functions.
446
f7797074
SDJ
4472015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
448
449 * gdb.base/coredump-filter.exp: Correctly unset
450 "coredump_var_addr" array.
451
a4674e4e
PA
4522015-05-08 Pedro Alves <palves@redhat.com>
453
454 * gdb.server/non-existing-program.exp: Unset spawn_id.
455
df2eb078
SC
4562015-05-08 Siva Chandra Reddy <sivachandra@google.com>
457
458 PR python/18291
459 * gdb.python/py-xmethods.exp: Add tests.
460
422349a3
YQ
4612015-05-08 Yao Qi <yao.qi@linaro.org>
462
463 PR gdb/18208
464 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
465 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
466 function set_coredump_filter, and remove remote_exec call.
467 Remove argument ipid. Callers update.
468 (top level): Don't get inferior's PID.
469
63fc80ce
AA
4702015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
471
472 * gdb.base/watch_thread_num.exp: Skip test on targets without
473 access watchpoints.
474
80ad801e
PA
4752015-05-06 Pedro Alves <palves@redhat.com>
476
477 PR server/18081
478 * gdb.server/non-existing-program.exp: New file.
479
0fa7fe50
JB
4802015-05-05 Joel Brobecker <brobecker@adacore.com>
481
482 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
483
3ea89b92
PMR
4842015-05-05 Joel Brobecker <brobecker@adacore.com>
485
486 * gdb.ada/out_of_line_in_inlined: New testcase.
487
87b8eff0
JB
4882015-05-05 Joel Brobecker <brobecker@adacore.com>
489
490 * gdb.ada/var_rec_arr: New testcase.
491
5fccc635
YQ
4922015-04-30 Yao Qi <yao.qi@linaro.org>
493
494 * gdb.base/break-idempotent.exp: If
495 skip_hw_watchpoint_multi_tests returns true, skip the tests
496 on "rwatch" and "awatch".
497
42d38f42
YQ
4982015-04-30 Yao Qi <yao.qi@linaro.org>
499
500 * gdb.base/relativedebug.exp: Invoke gdb command
501 "info sharedlibrary", and if libc.so doesn't have debug info,
502 skip the test.
503
2ce1cdbf
DE
5042015-04-29 Doug Evans <dje@google.com>
505
506 * gdb.python/py-xmethods.exp: Add ptype tests.
507 * gdb.python/py-xmethods.py (E_method_char_worker): Add
508 get_result_type method.
509
f24a38c5
LM
5102015-04-29 Luis Machado <lgustavo@codesourcery.com>
511
512 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
513 the target does not support hardware watchpoints.
514
ecbf2b3c
LM
5152015-04-29 Luis Machado <lgustavo@codesourcery.com>
516
517 * gdb.base/break-always.exp: Abort testing if writing to memory
518 causes an error.
519
34f5f757
DE
5202015-04-28 Doug Evans <dje@google.com>
521
522 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
523 * gdb.python/py-pp-registration.exp: ... here. New file.
524 * gdb.python/py-pp-registration.c: New file.
525 * gdb.python/py-pp-registration.py: New file.
526
69b4374a
DE
5272015-04-28 Doug Evans <dje@google.com>
528
529 * gdb.python/py-bad-printers.c: New file.
530 * gdb.python/py-bad-printers.py: New file.
531 * gdb.python/py-bad-printers.exp: New file.
532
59fb7612
SS
5332015-04-28 Sasha Smundak <asmundak@google.com>
534
535 * gdb.python/py-type.exp: New test.
536
2631b16a
AW
5372015-04-28 Andy Wingo <wingo@igalia.com>
538
539 * gdb.python/py-parameter.exp:
540 * gdb.guile/scm-parameter.exp: Escape the path that we are
541 matching against, as it might contain characters that are special
542 to regular expressions.
543
460efde1
JB
5442015-04-27 Joel Brobecker <brobecker@adacore.com>
545
546 * gdb.ada/rec_comp: New testcase.
547
2d369d8e
SDJ
5482015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
549
550 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
551 before using it.
552
cf75d6c3
AB
5532015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
554
555 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
556 new tests for verilog output.
557
8dbe7ca5
YQ
5582015-04-24 Yao Qi <yao.qi@linaro.org>
559
560 * boards/remote-gdbserver-on-localhost.exp: New file.
561
4ef9fb2f
PA
5622015-04-23 Pedro Alves <palves@redhat.com>
563
564 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
565 $inferior_spawn_id instead of $inferior_spawn_id directly. On
566 "end of file", remove $inferior_spawn_id from the indirect list.
567
0a803169
PA
5682015-04-23 Pedro Alves <palves@redhat.com>
569
570 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
571
749ef8f8
PA
5722015-04-23 Pedro Alves <palves@redhat.com>
573
574 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
575 on $any_spawn_id instead of only on $gdb_spawn_id.
576
8aae4344
PM
5772015-04-21 Pierre Muller <muller@sourceware.org>
578
579 PR pascal/17815
580 * lib/pascal.exp (gpc_compile): Add new option "class".
581 (fpc_compile): Likewise.
582 * gdb.pascal/case-insensitive-symbols.pas: New file.
583 * gdb.pascal/case-insensitive-symbols.exp: New file.
584
1586c8fb
GB
5852015-04-20 Gary Benson <gbenson@redhat.com>
586
587 * gdb.base/attach.exp: Fix three extended remote failures.
588
1b6e6f5c
GB
5892015-04-17 Gary Benson <gbenson@redhat.com>
590
591 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
592 the main executable over the remote protocol.
593
e797481d
PA
5942015-04-16 Pedro Alves <palves@redhat.com>
595
596 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
597 a new gdbserver if gdbserver_reconnect_p is set.
598
1ca99c42
PA
5992015-04-16 Pedro Alves <palves@redhat.com>
600
601 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
602 is set, don't exit gdbserver.
603
af9fd6f8
AA
6042015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
605
606 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
607 appropriate .insn, such that an older assembler can be used.
608 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
609 the z/Architecture instruction set on 31-bit targets as well.
610
04ff1e61
AA
6112015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
612
613 * gdb.go/handcall.exp: Remove all logic related to the first
614 breakpoint and rely on go_runto_main instead.
615 * gdb.go/strings.exp: Likewise.
616 * gdb.go/unsafe.exp: Likewise.
617 * gdb.go/hello.exp: Likewise. Also rename the remaining
618 breakpoint marker to "breakpoint 1".
619 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
620 * gdb.go/strings.go: Likewise.
621 * gdb.go/unsafe.go: Likewise.
622 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
623 "set breakpoint 2 here" and rename the remaining breakpoint marker
624 to "breakpoint 1".
625
40d2f8d6
SM
6262015-04-15 Simon Marchi <simon.marchi@ericsson.com>
627
628 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
629 if itertools.imap is not present.
630 * gdb.python/py-objfile.exp: Add parentheses.
631 * gdb.python/py-type.exp: Same.
632 * gdb.python/py-unwind-maint.py: Same.
633
8cbc97c6
YQ
6342015-04-15 Yao Qi <yao.qi@linaro.org>
635
636 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
637 of ":$ptr_size" and set its form explicitly.
638
45fd756c
YQ
6392015-04-15 Pedro Alves <palves@redhat.com>
640 Yao Qi <yao.qi@linaro.org>
641
642 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
643 timeout by factor of 4.
644 (test_regular_watch): Likewise.
645 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
646 * gdb.reverse/sigall-reverse.exp: Likewise.
647 * gdb.reverse/until-precsave.exp: Likewise.
648 * lib/gdb.exp (with_timeout_factor): New proc.
649 (gdb_expect): Move some code to ...
650 (get_largest_timeout): ... here. New procedure.
651
9e811bc3
LM
6522015-04-14 Luis Machado <lgustavo@codesourcery.com>
653
654 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
655
0ff6fcb2
LM
6562015-04-13 Luis Machado <lgustavo@codesourcery.com>
657
658 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
659 to write to the .text section.
660
7578d5f7
LM
6612015-04-13 Luis Machado <lgustavo@codesourcery.com>
662
663 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
664 Handle the case of targets that do not provide PID information.
665
2efe15c4
YQ
6662015-04-13 Yao Qi <yao.qi@linaro.org>
667
668 * lib/gdbserver-support.exp (gdb_exit): Catch exception
669 and use expect instead of gdb_expect.
670
8cd8f2f8
SDJ
6712015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
672
673 * gdb.base/coredump-filter.exp: Rename variable "addr" to
674 "coredump_var_addr" to avoid naming conflict with other testcases.
675
9ee41772
PA
6762015-04-10 Pedro Alves <palves@redhat.com>
677
678 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
679 gdb_test_sequence and gdb_assert.
680
07473109
PA
6812015-04-10 Pedro Alves <palves@redhat.com>
682
683 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
684 test messages that don't include the breakpoint address.
685
de3db44c
YQ
6862015-04-10 Yao Qi <yao.qi@linaro.org>
687
688 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
689 false for some offset and width combinations which aren't
690 supported by linux kernel.
691
c79d856c
PA
6922015-04-10 Pedro Alves <palves@redhat.com>
693
694 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
695 procedure, factored out from ...
696 (top level): ... here. Add "set displaced-stepping" testing axis.
697 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
698 parameter "displaced". Use it.
699 (top level): Use foreach and add "set displaced-stepping" testing
700 axis.
701
ebc90b50
PA
7022015-04-10 Pedro Alves <palves@redhat.com>
703
704 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
705 Remove comment.
706 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
707 both the address of the instruction that triggers the watchpoint
708 and the address of the instruction immediately after, and use
709 those addresses for the test. Fix comment.
710
8f572e5c
PA
7112015-04-10 Pedro Alves <palves@redhat.com>
712
713 * gdb.base/sigstep.exp (breakpoint_to_handler)
714 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
715 Test "backtrace" in handler.
716 (breakpoint_over_handler): New parameter 'displaced'. Use it.
717 (top level): Add new "displaced" test axis to
718 breakpoint_to_handler, breakpoint_to_handler_entry and
719 breakpoint_over_handler.
720
8d707a12
PA
7212015-04-10 Pedro Alves <palves@redhat.com>
722
723 PR gdb/18216
724 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
725
ef713951
YQ
7262015-04-10 Yao Qi <yao.qi@linaro.org>
727
728 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
729 (test_add_rn_pc): New function.
730 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
731 (top level): Invoke test_add_rn_pc.
732
906d60cf
PA
7332015-04-10 Pedro Alves <palves@redhat.com>
734
735 PR gdb/13858
736 * gdb.base/step-over-no-symbols.exp: New file.
737
f2983cc3
AW
7382015-04-09 Andy Wingo <wingo@igalia.com>
739
740 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
741 after the Python tests.
742
6d62641c
SDJ
7432015-04-08 Keith Seitz <keiths@redhat.com>
744
745 PR python/16699
746 * gdb.python/py-completion.exp: New tests for completion.
747 * gdb.python/py-completion.py (CompleteLimit1): New class.
748 (CompleteLimit2): Likewise.
749 (CompleteLimit3): Likewise.
750 (CompleteLimit4): Likewise.
751 (CompleteLimit5): Likewise.
752 (CompleteLimit6): Likewise.
753 (CompleteLimit7): Likewise.
754
f3770638
PA
7552015-04-08 Pedro Alves <palves@redhat.com>
756
757 PR gdb/18214
758 PR gdb/18216
759 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
760 function.
761 (main): Install it as SIGUSR1 handler.
762 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
763 parameter. Always use "setup" as prefix. Toggle "set
764 displaced-stepping" off/on depending on global. Don't switch to
765 thread 1 here.
766 (top level): Add displaced stepping "off/on" test axis. Update
767 "setup" calls. Wrap each subtest with with_test_prefix. Test
768 continuing with a queued signal in each thread.
769
4496bed7
PA
7702015-04-08 Pedro Alves <palves@redhat.com>
771
772 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
773 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
774 gdb_breakpoint instead of gdb_test that doesn't expect anything.
775 Return early if running to main fails.
776 * gdb.trace/while-stepping.exp: Likewise.
777
b97fde92
PA
7782015-04-07 Pedro Alves <palves@redhat.com>
779
780 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
781 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
782 interact with inferior program.
783
f71c18e7
PA
7842015-04-07 Pedro Alves <palves@redhat.com>
785
786 * lib/gdb.exp (inferior_spawn_id): New global.
787 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
788 spawn id after processing the user code.
789 (default_gdb_start): Set inferior_spawn_id.
790 (send_inferior): New procedure.
791 * lib/gdbserver-support.exp (gdbserver_start): Set
792 inferior_spawn_id.
793 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
794
6423214f
PA
7952015-04-07 Pedro Alves <palves@redhat.com>
796
797 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
798 * lib/gdbserver-support.exp (gdbserver_start): Make
799 $server_spawn_id global.
800 (gdbserver_start): Don't wait for gdbserver's spawn id with
801 expect_background.
802 (close_gdbserver): New procedure.
803 (gdb_exit): Rename the default version and reimplement.
804
71c0ee8c
PA
8052015-04-07 Pedro Alves <palves@redhat.com>
806
72f4393d 807 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
808 append the substituted item, not the original item.
809
203bc29b
PA
8102015-04-07 Pedro Alves <palves@redhat.com>
811
812 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
813 gdb_expect.
814
508a3ddf
PA
8152015-04-07 Pedro Alves <palves@redhat.com>
816
817 * gdb.base/interrupt.exp: Don't handle the case of the inferior
818 output appearing once only.
819
9f6dbe2b
PA
8202015-04-07 Pedro Alves <palves@redhat.com>
821
822 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
823 that doesn't expect anything. Return early if running to main
824 fails.
825
337532fa
YQ
8262015-04-07 Yao Qi <yao.qi@linaro.org>
827
828 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
829 (child_function): Call alarm.
830 (main): Move call to alarm into the loop.
831 * gdb.threads/non-stop-fair-events.exp: Build program with
832 -DTIMEOUT=$timeout.
833
01b622d4
DE
8342015-04-06 Doug Evans <xdje42@gmail.com>
835
836 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
837 Fix dest parameter to board_info.
838 (fpc_compile): Ditto.
839 (gdb_compile_pascal): Rename dest arg to destfile.
840
961f4160
PMR
8412015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
842
843 * gdb.ada/funcall_ref.exp: New file.
844 * gdb.ada/funcall_ref/foo.adb: New file.
845
cafda597
YQ
8462015-04-02 Yao Qi <yao.qi@linaro.org>
847
848 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
849 is remote.
850
fed040c6
GB
8512015-04-02 Gary Benson <gbenson@redhat.com>
852
853 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
854
d11916aa
SS
8552015-04-01 Sasha Smundak <asmundak@google.com>
856
857 * gdb.python/py-unwind-maint.c: New file.
858 * gdb.python/py-unwind-maint.exp: New test.
859 * gdb.python/py-unwind-maint.py: New file.
860 * gdb.python/py-unwind.c: New file.
861 * gdb.python/py-unwind.exp: New test.
862 * gdb.python/py-unwind.py: New test.
863
a1471180
PA
8642015-04-01 Pedro Alves <palves@redhat.com>
865
866 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
867 to fail instead of non-existent $test.
868
0bbeccb1
PA
8692015-04-01 Pedro Alves <palves@redhat.com>
870
871 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
872 GDBFLAGS if not empty.
873
3c724c8c
PMR
8742015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
875
876 * gdb.ada/complete.exp: Remove "multi_line".
877 * gdb.ada/info_exc.exp: Remove "multi_line".
878 * gdb.ada/packed_tagged.exp: Remove "multi_line".
879 * gdb.ada/ptype_field.exp: Remove "multi_line".
880 * gdb.ada/sym_print_name.exp: Remove "multi_line".
881 * gdb.ada/tagged.exp: Remove "multi_line".
882 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
883 [multi_line ...]
884 * gdb.btrace/delta.exp: Likewise.
885 * gdb.btrace/exception.exp: Likewise.
886 * gdb.btrace/function_call_history.exp: Likewise.
887 * gdb.btrace/instruction_history.exp: Likewise.
888 * gdb.btrace/nohist.exp: Likewise.
889 * gdb.btrace/record_goto.exp: Likewise.
890 * gdb.btrace/segv.exp: Likewise.
891 * gdb.btrace/stepi.exp: Likewise.
892 * gdb.btrace/tailcall.exp: Likewise.
893 * gdb.btrace/unknown_functions.exp: Likewise.
894 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
895 * lib/gdb.exp: Add the "multi_line" helper.
896
4eec2deb
PA
8972015-04-01 Pedro Alves <palves@redhat.com>
898
899 * gdb.threads/tid-reuse.c: New file.
900 * gdb.threads/tid-reuse.exp: New file.
901
df8411da
SDJ
9022015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
903
904 PR corefiles/16092
905 * gdb.base/coredump-filter.c: New file.
906 * gdb.base/coredump-filter.exp: Likewise.
907
6ef37366
PM
9082015-03-27 Petr Machata <pmachata@redhat.com>
909
910 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
911 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
912 (Dwarf::assemble): Initialize them.
913 (Dwarf::lines): New function.
914
7ec911b0
JT
9152015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
916
917 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
918 SYMBOL_PREFIX for x86_64-*-cygwin.
919
ff908ebf
AW
9202015-03-26 Andy Wingo <wingo@igalia.com>
921
922 PR symtab/18148
923 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
924 const_value but not a location.
925 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
926 location defined in non-main CUs are visible.
927
6d5f0679
YQ
9282015-03-26 Yao Qi <yao.qi@linaro.org>
929
930 PR testsuite/18139
931 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
932 Add a line number entry for the same line.
933 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
934 Add a line number entry for the same line.
935
2898689b
YQ
9362015-03-26 Yao Qi <yao.qi@linaro.org>
937
938 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
939 .int 0.
940 (func): Likewise. Add .Lfunc_1 label.
941 Use .Lfunc_1 label.
942 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
943 .int 0.
944 (func): Likewise.
945 Use .Lfunc_1 label.
946
85180498
YQ
9472015-03-26 Yao Qi <yao.qi@linaro.org>
948
949 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
950 Call gdb_compile instead to compile each .s files without debug
951 information.
952
8aa08a8d
YQ
9532015-03-26 Yao Qi <yao.qi@linaro.org>
954
955 * gdb.base/savedregs.exp (process_saved_regs): Make
956 "Saved registers:" optional in the pattern.
957
66849923
MM
9582015-03-25 Markus Metzger <markus.t.metzger@intel.com>
959
960 * gdb.btrace/next.exp: Merged into step.exp.
961 * gdb.btrace/finish.exp: Merged into step.exp.
962 * gdb.btrace/nexti.exp: Merged into stepi.exp.
963 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
964 "record goto" and checking the exact replay position.
965 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
966 check for "Recording format" in "info record" output.
967 * gdb.btrace/record_goto.exp: Choose test file based on target.
968 * gdb.btrace/x86-record_goto.S: Renamed into ...
969 * gdb.btrace/x86_64-record_goto.S: ... this.
970 * gdb.btrace/i686-record_goto.S: New.
971 * gdb.btrace/x86-tailcall.S: Renamed into ...
972 * gdb.btrace/x86_64-tailcall.S: ... this.
973 * gdb.btrace/i686-tailcall.S: New.
974 * gdb.btrace/x86-tailcall.c: Renamed into ...
975 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
976 separate statements. Update test.
977 * gdb.btrace/delta.exp: Use record_goto.c as test file.
978 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
979 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
980 * gdb.btrace/tailcall.exp: Choose test file based on target.
981 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
982
11cc1b74
MM
9832015-03-25 Markus Metzger <markus.t.metzger@intel.com>
984
985 * gdb.btrace/exception.exp: Increase BTS buffer size.
986
a25d8bf9
PA
9872015-03-24 Pedro Alves <palves@redhat.com>
988
989 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
990
856e7dd6
PA
9912015-03-24 Pedro Alves <palves@redhat.com>
992
993 * gdb.threads/schedlock.exp (test_step): No longer expect that
994 "set scheduler-locking step" with "next" over a function call runs
995 threads unlocked.
996
ad235a41
AT
9972015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
998
999 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
1000
15630549
AT
10012015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1002
1003 PR breakpoints/16466
1004 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
1005 * gdb.mi/mi-pending.c (thread_func): New function.
1006 (int main): Add threading support required.
1007 * gdb.mi/mi-pending.exp: Add tests for this issue.
1008 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
1009 (pendfunc2): Remove stdio dependency.
1010 * gdb.mi/mi-pendshr2.c: New file.
1011
693dca06
KS
10122015-03-23 Keith Seitz <keiths@redhat.com>
1013
1014 * gdb.linespec/keywords.c: New file.
1015 * gdb.linespec/keywords.exp: New file.
1016
7e993ebf
KS
10172015-03-23 Keith Seitz <keiths@redhat.com>
1018
1019 PR gdb/18021
1020 * gdb.dwarf2/staticvirtual.exp: New test.
1021
bc23328c
JK
10222015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1023
1024 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
1025 * README: Remove HP-UX and gdb.hp.
1026 (configuration):
1027 * configure: Regenerate.
1028 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
1029 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
1030 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
1031 gdb.hp/gdb.defects/Makefile.
1032 * gdb.hp/Makefile.in: File deleted.
1033 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
1034 * gdb.hp/gdb.aCC/optimize.c: File deleted.
1035 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
1036 * gdb.hp/gdb.aCC/run.c: File deleted.
1037 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
1038 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
1039 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
1040 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
1041 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
1042 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
1043 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
1044 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
1045 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
1046 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
1047 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
1048 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
1049 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
1050 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
1051 * gdb.hp/gdb.base-hp/reg.s: File deleted.
1052 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
1053 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
1054 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
1055 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
1056 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
1057 * gdb.hp/gdb.compat/Makefile.in: File deleted.
1058 * gdb.hp/gdb.compat/average.c: File deleted.
1059 * gdb.hp/gdb.compat/sum.c: File deleted.
1060 * gdb.hp/gdb.compat/xdb.c: File deleted.
1061 * gdb.hp/gdb.compat/xdb0.c: File deleted.
1062 * gdb.hp/gdb.compat/xdb0.h: File deleted.
1063 * gdb.hp/gdb.compat/xdb1.c: File deleted.
1064 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
1065 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
1066 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
1067 * gdb.hp/gdb.defects/Makefile.in: File deleted.
1068 * gdb.hp/gdb.defects/bs14602.c: File deleted.
1069 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
1070 * gdb.hp/gdb.defects/solib-d.c: File deleted.
1071 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
1072 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
1073 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
1074 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
1075 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
1076 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
1077 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
1078 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
1079 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
1080 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
1081 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
1082 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
1083 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
1084 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
1085 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
1086 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
1087 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
1088 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
1089 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
1090 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
1091 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
1092 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
1093 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
1094 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
1095 * gdb.hp/tools/odump: File deleted.
1096
8bf3b159
PA
10972015-03-19 Pedro Alves <palves@redhat.com>
1098
1099 * gdb.threads/continue-pending-status.exp (saw_thread_2)
1100 (saw_thread_3): New globals.
1101 (top level): Increment them when an event for the corresponding
1102 thread is seen.
1103 (no thread starvation): New test.
1104
eb54c8bf
PA
11052015-03-19 Pedro Alves <palves@redhat.com>
1106
1107 * gdb.threads/continue-pending-status.c: New file.
1108 * gdb.threads/continue-pending-status.exp: New file.
1109
32d2e5d6
PA
11102015-03-18 Pedro Alves <palves@redhat.com>
1111
1112 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1113 Use gdb_is_target_remote instead of is_remote. Use
1114 gdb_test_multiple instead of gdb_expect. Exit early if
1115 gdb_test_multiple hits its internal matches. Tighten stepi tests
1116 expected output. Fail on exit with any signal, instead of just
1117 SIGILL.
1118
f68f11b7
YQ
11192015-03-18 Yao Qi <yao.qi@linaro.org>
1120
1121 PR tdep/18107
1122 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
1123 variable.
1124 * gdb.base/catch-syscall.exp: Don't skip it on
1125 aarch64*-*-linux* target. Remove elements in all_syscalls.
1126 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
1127 target.
1128 (setup_all_syscalls): New proc.
1129
ca5fd19b
YQ
11302015-03-16 Yao Qi <yao.qi@linaro.org>
1131
1132 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
1133 (top level): Skip tests if valid_addr_p returns false for
1134 $cmd1 or $cmd2.
1135
85642ba0
AW
11362015-03-11 Andy Wingo <wingo@igalia.com>
1137
1138 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
1139
e03f9645
YQ
11402015-03-11 Yao Qi <yao.qi@linaro.org>
1141
1142 * gdb.base/catch-syscall.exp: Fix typo in comments.
1143
5d0962b2
YQ
11442015-03-11 Yao Qi <yao.qi@linaro.org>
1145
1146 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
1147
b2df3cef
PA
11482015-03-09 Pedro Alves <palves@redhat.com>
1149
1150 * dg-extract-results.py: Delete.
1151
ef878e53
PA
11522015-03-09 Pedro Alves <palves@redhat.com>
1153
1154 Merge dg-extract-results.sh from GCC upstream (r218843).
1155
1156 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
1157 * dg-extract-results.sh: Use --text with grep to avoid issues with
1158 binary files. Fall back to cat -v, if that doesn't work.
1159
9494d219
PA
11602015-03-05 Pedro Alves <palves@redhat.com>
1161
1162 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
1163
a8d9763a
SM
11642015-03-04 Simon Marchi <simon.marchi@ericsson.com>
1165
1166 * lib/mi-support.exp (mi_expect_interrupt): Accept
1167 alternative event for when in all-stop mode.
1168
be9957b8
PA
11692015-03-04 Pedro Alves <palves@redhat.com>
1170
1171 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
1172
d57be0f4 11732015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
1174
1175 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
1176
c214c7cf
AA
11772015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
1178
1179 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
1180 regexps for GDB's current line display, accept a hex address
1181 preceding the line number.
1182
6d74a497
AA
11832015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
1184
1185 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
1186 the 'arch1' variable for "s390*-linux*" targets.
1187
511aee7c
PA
11882015-03-04 Pedro Alves <palves@redhat.com>
1189
1190 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
1191 (main): Pass missing retval argument to pthread_join call.
1192
95e50b27
PA
11932015-03-02 Pedro Alves <palves@redhat.com>
1194
1195 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
1196 (top level): Call do_test with non-stop as well.
1197
28054d69
PA
11982015-03-02 Pedro Alves <palves@redhat.com>
1199
1200 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
1201 -1.
1202
4fa5d7b4
AA
12032015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1204
1205 * gdb.arch/s390-vregs.exp: New test.
1206 * gdb.arch/s390-vregs.S: New file.
1207
97c18565
PA
12082015-02-27 Pedro Alves <palves@redhat.com>
1209
1210 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
1211 call to catch_command_errors.
1212 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
1213 catch_command_errors.
1214
a37bfa30
PA
12152015-02-27 Pedro Alves <palves@redhat.com>
1216
1217 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
1218 "true" for boolean result.
1219 * gdb.gdb/selftest.exp (test_with_self): Also accept full
1220 prototype of main.
1221
6f98576f
PA
12222015-02-27 Pedro Alves <palves@redhat.com>
1223
1224 * lib/unbuffer_output.c: New file.
1225 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
1226 (main): Call gdb_unbuffer_output.
1227
eba5ab56
YQ
12282015-02-27 Yao Qi <yao.qi@linaro.org>
1229
1230 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
1231 target.
1232
0def5aaa
DE
12332015-02-26 Doug Evans <dje@google.com>
1234
1235 * gdb.cp/class2.cc (Dbase, D): New classes.
1236 (main): New local delta.
1237 * gdb.cp/class2.exp: Test printing delta.
1238 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
1239 (dynbar): New global.
1240 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
1241
081a1c2c
JK
12422015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1243
1244 * gdb.compile/compile-ifunc.c: New file.
1245 * gdb.compile/compile-ifunc.exp: New file.
1246
2f41223f
AT
12472015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
1248
1249 * gdb.base/structs.exp: Check for correct struct on finish.
1250
03eddd80
YQ
12512015-02-26 Yao Qi <yao.qi@linaro.org>
1252
1253 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
1254 is zero.
1255
80c57053
JK
12562015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1257
1258 * gdb.arch/cordic.ko.bz2: New file.
1259 * gdb.arch/cordic.ko.debug.bz2: New file.
1260 * gdb.arch/ppc64-symtab-cordic.exp: New file.
1261
21613c12
YQ
12622015-02-25 Yao Qi <yao.qi@linaro.org>
1263
1264 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
1265 aarch64*-*-* target.
1266
d8b901ed
PA
12672015-02-23 Pedro Alves <palves@redhat.com>
1268
1269 * lib/gdb.exp (delete_breakpoints): Rewrite using
1270 gdb_test_multiple.
1271
e5b85ead
PA
12722015-02-23 Pedro Alves <palves@redhat.com>
1273
1274 * gdb.base/info-os.c: Include stdlib.h.
1275
85c3a371
DE
12762015-02-22 Doug Evans <xdje42@gmail.com>
1277
1278 PR symtab/17855
1279 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
1280 is read after symbols have been re-read.
1281 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
1282 * gdb.ada/exec_changed/second.adb (Second): Ditto.
1283
96553a0c
DE
12842015-02-21 Doug Evans <dje@google.com>
1285
1286 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
1287
97a0c697
JK
12882015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1289
1290 PR corefiles/17808
1291 * gdb.arch/i386-biarch-core.core.bz2: New file.
1292 * gdb.arch/i386-biarch-core.exp: New file.
1293
a47cd6e9
PA
12942015-02-21 Pedro Alves <palves@redhat.com>
1295
1296 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
1297 runto_main fails.
1298
c5facdc4
PA
12992015-02-20 Pedro Alves <palves@redhat.com>
1300
1301 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
1302 info probes.
1303
2db9a427
PA
13042015-02-20 Pedro Alves <palves@redhat.com>
1305
1306 * gdb.threads/multi-create-ns-info-thr.exp: New file.
1307
60fb7e9e
PA
13082015-02-20 Pedro Alves <palves@redhat.com>
1309
1310 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
1311 clean_restart before gdb_target_supports_trace.
1312
5c5019c2
PA
13132015-02-20 Pedro Alves <palves@redhat.com>
1314
1315 PR threads/18006
1316 * gdb.threads/clone-thread_db.c: New file.
1317 * gdb.threads/clone-thread_db.exp: New file.
1318
c9587f88
AT
13192015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
1320
1321 PR breakpoints/16812
1322 * gdb.base/catch-gdb-caused-signals.c: New file.
1323 * gdb.base/catch-gdb-caused-signals.exp: New file.
1324
f6a88844
JM
13252015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
1326
1327 * configure: Regenerated.
1328 * configure.ac: Use GDB_AC_TRANSFORM.
1329 * aclocal.m4: sinclude ../transform.m4.
1330
497c491b
JM
13312015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1332
1333 * lib/dtrace.exp: New file.
1334 * gdb.base/dtrace-probe.exp: Likewise.
1335 * gdb.base/dtrace-probe.d: Likewise.
1336 * gdb.base/dtrace-probe.c: Likewise.
1337 * lib/pdtrace.in: Likewise.
1338 * configure.ac: Output variables with the transformed names of
1339 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
1340 * configure: Regenerated.
1341
03e98035
JM
13422015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1343
1344 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
1345 expected message when trying to access $_probe_* convenience
1346 variables while not on a probe.
1347
63cc30e9
JK
13482015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1349
1350 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
1351
0703599a
PA
13522015-02-11 Pedro Alves <pedro@codesourcery.com>
1353
1354 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
1355 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
1356
7e60a48e
DE
13572015-02-10 Doug Evans <xdje42@gmail.com>
1358
1359 * lib/gdb.exp (gdb_load): Always return a result.
1360
01b088bc
PA
13612015-02-10 Pedro Alves <palves@redhat.com>
1362
1363 * gdb.threads/signal-sigtrap.c: New file.
1364 * gdb.threads/signal-sigtrap.exp: New file.
1365
b05ec7a5
AT
13662015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
1367
1368 * gdb.trace/no-attach-trace.c: New file.
1369 * gdb.trace/no-attach-trace.exp: New file.
1370
a2c2acaf
MW
13712015-02-09 Mark Wielaard <mjw@redhat.com>
1372
1373 * gdb.dwarf2/atomic.c: New file.
1374 * gdb.dwarf2/atomic-type.exp: Likewise.
1375
31fd9caa
MM
13762015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1377
1378 * gdb.btrace/buffer-size.exp: Update "info record" output.
1379 * gdb.btrace/delta.exp: Update "info record" output.
1380 * gdb.btrace/enable.exp: Update "info record" output.
1381 * gdb.btrace/finish.exp: Update "info record" output.
1382 * gdb.btrace/instruction_history.exp: Update "info record" output.
1383 * gdb.btrace/next.exp: Update "info record" output.
1384 * gdb.btrace/nexti.exp: Update "info record" output.
1385 * gdb.btrace/step.exp: Update "info record" output.
1386 * gdb.btrace/stepi.exp: Update "info record" output.
1387 * gdb.btrace/nohist.exp: Update "info record" output.
1388
d33501a5
MM
13892015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1390
1391 * gdb.btrace/buffer-size: New.
1392
f4abbc16
MM
13932015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1394
1395 * gdb.btrace/delta.exp: Update "info record" output.
1396 * gdb.btrace/enable.exp: Update "info record" output.
1397 * gdb.btrace/finish.exp: Update "info record" output.
1398 * gdb.btrace/instruction_history.exp: Update "info record" output.
1399 * gdb.btrace/next.exp: Update "info record" output.
1400 * gdb.btrace/nexti.exp: Update "info record" output.
1401 * gdb.btrace/step.exp: Update "info record" output.
1402 * gdb.btrace/stepi.exp: Update "info record" output.
1403 * gdb.btrace/nohist.exp: Update "info record" output.
1404
b9d61307
SM
14052015-02-06 Simon Marchi <simon.marchi@ericsson.com>
1406
1407 PR gdb/15678
1408 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
1409
e584fdbc
PA
14102015-02-06 Pedro Alves <palves@redhat.com>
1411
1412 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
1413 macro.
1414 (seconds_left, again): New globals.
1415 (main): Wait seconds_left in a 1-second sleep loop instead of
1416 sleeping 180 seconds. If 'again' is set, reset the seconds
1417 counter.
1418 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
1419 'again' in the inferior before detaching. Print the seconds left.
1420 (options): New global.
1421 (top level): Build program with -DTIMEOUT=$timeout.
1422
77f41761
PA
14232015-02-06 Pedro Alves <palves@redhat.com>
1424
1425 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
1426 determine how many seconds to pass to 'alarm'.
1427 * gdb.base/gdb-sigterm.exp (top level): Build program with
1428 -DTIMEOUT=$timeout.
1429 (do_test): Return success/failure indication. Add more verbose
1430 logging. Don't fail if 200 single steps are seen. Instead, fail
1431 when the test times out.
1432 (passes): New global.
1433 (top level): Break the testing loop if testing fails on any
1434 iteration. Use gdb_assert.
1435
b9394193
DB
14362015-02-04 Don Breazeal <donb@codesourcery.com>
1437
1438 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
1439 and initialize them.
1440 (ipc_cleanup): New function.
1441 (main): Don't declare shmid, semid, and msqid. Add a call to
1442 atexit so that we call ipc_cleanup on exit.
1443
42d9e528
PA
14442015-02-04 Pedro Alves <palves@redhat.com>
1445
1446 * boards/native-extended-gdbserver.exp: Remove any target variant
1447 specifications from the board name before clearing the isremote
1448 flag from board_info.
1449
ae6ae975
DE
14502015-01-31 Doug Evans <xdje42@gmail.com>
1451
1452 * gdb.base/maint.exp <maint print type argc>: Update expected output.
1453
cfb069a8
GB
14542015-01-31 Gary Benson <gbenson@redhat.com>
1455
1456 * gdb.base/completion.exp: Disable completion limiting for
1457 existing tests. Add new tests to check completion limiting.
1458 * gdb.linespec/ls-errs.exp: Disable completion limiting.
1459
5dd31d79
DE
14602015-01-31 Doug Evans <xdje42@gmail.com>
1461
1462 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
1463
9f050062
DE
14642015-01-31 Doug Evans <xdje42@gmail.com>
1465
1466 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
1467 entries. Duplicate file section script entries.
1468 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
1469 inlined entries. Add test for safe-path rejection.
1470 * gdb.python/py-section-script.c: Add duplicate inlined section script
1471 entries. Duplicate file section script entries.
1472 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
1473 inlined entries. Add test for safe-path rejection.
1474
df25ebbd
JB
14752015-01-29 Joel Brobecker <brobecker@adacore.com>
1476
1477 * gdb.ada/disc_arr_bound: New testcase.
1478
4a0ca9ec
JB
14792015-01-29 Joel Brobecker <brobecker@adacore.com>
1480
1481 * gdb.ada/mi_var_array: New testcase.
1482
3a8b707a
DE
14832015-01-27 Doug Evans <dje@google.com>
1484
1485 * gdb.python/py-objfile.exp: Add tests for objfile.username.
1486 Add test for objfile.filename, objfile.username after objfile
1487 has been unloaded.
1488
f8313f6e
JB
14892015-01-26 Joel Brobecker <brobecker@adacore.com>
1490
1491 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
1492 the second test to print the name attribute of value
1493 returned by the call to gdb.lookup_type, and adjust
1494 the expected output accordingly.
1495
37bc665e
MW
14962015-01-25 Mark Wielaard <mjw@redhat.com>
1497
1498 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
1499 * gdb.base/disp-step-fork.c: Include unistd.h.
1500 * gdb.base/siginfo-obj.c: Include stdio.h.
1501 * gdb.base/siginfo-thread.c: Likewise.
1502 * gdb.mi/non-stop.c: Include unistd.h.
1503 * gdb.mi/nsthrexec.c: Include stdio.h.
1504 * gdb.mi/pthreads.c: Include unistd.h.
1505 * gdb.modula2/unbounded1.c (main): Declare returns int.
1506 * gdb.reverse/consecutive-reverse.c: Likewise.
1507 * gdb.threads/create-fail.c: Include unistd.h.
1508 * gdb.threads/killed.c: Likewise.
1509 * gdb.threads/linux-dp.c: Likewise.
1510 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
1511 * gdb.threads/non-ldr-exc-2.c: Likewise.
1512 * gdb.threads/non-ldr-exc-3.c: Likewise.
1513 * gdb.threads/non-ldr-exc-4.c: Likewise.
1514 * gdb.threads/pthreads.c: Include unistd.h.
1515 (main): Declare returns int.
1516 * gdb.threads/tls-main.c (foo): New declaration.
1517 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
1518
f7e5394d
SM
15192015-01-23 Simon Marchi <simon.marchi@ericsson.com>
1520
1521 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
1522 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
1523
743649fd
MW
15242015-01-15 Mark Wielaard <mjw@redhat.com>
1525
1526 * gdb.base/noreturn-return.c: New file.
1527 * gdb.base/noreturn-return.exp: New file.
1528 * gdb.base/noreturn-finish.c: New file.
1529 * gdb.base/noreturn-finish.exp: New file.
1530
198297aa
PA
15312015-01-23 Pedro Alves <palves@redhat.com>
1532
1533 * gdb.threads/continue-pending-after-query.c: New file.
1534 * gdb.threads/continue-pending-after-query.exp: New file.
1535
717cf30c
AG
15362015-01-22 Anders Granlund <anders.granlund@ericsson.com>
1537 Simon Marchi <simon.marchi@ericsson.com>
1538
1539 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
1540 * gdb.base/valgrind-db-attach.exp: Same.
1541 * gdb.base/valgrind-infcall.exp: Same.
1542 * lib/mi-support.exp (default_mi_gdb_start): Same.
1543 * lib/prompt.exp (default_prompt_gdb_start): Same.
1544 * lib/gdb.exp (default_gdb_spawn): Same.
1545 (gdb_interact): New.
1546
1547
4b62a76e
JK
15482015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1549
1550 * gdb.compile/compile.exp (pointer to jit function): New test.
1551
b4cdae6f
WW
15522015-01-17 Wei-cheng Wang <cole945@gmail.com>
1553
1554 * lib/gdb.exp (supports_process_record): Return true for
1555 powerpc*-*-linux*.
1556 (supports_reverse): Likewise.
1557
d221e7ef
DB
15582015-01-15 Don Breazeal <donb@codesourcery.com>
1559
1560 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
1561 instead of checking whether the target board is remote and
1562 use spawn_wait_for_attach instead of exec/sleep.
1563 * gdb.base/attach-twice.exp: Likewise.
1564
bafffb51
JB
15652015-01-15 Joel Brobecker <brobecker@adacore.com>
1566
1567 * gdb.ada/var_arr_attrs: New testcase.
1568
5589af0e
PA
15692015-01-14 Pedro Alves <palves@redhat.com>
1570 Joel Brobecker <brobecker@adacore.com>
1571
1572 PR gdb/17525
1573 * gdb.base/bp-cmds-execution-x-script.c: New file.
1574 * gdb.base/bp-cmds-execution-x-script.exp: New file.
1575 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
1576
6c400b59
PA
15772015-01-14 Pedro Alves <palves@redhat.com>
1578
1579 PR cli/17828
1580 * gdb.base/batch-preserve-term-settings.c: New file.
1581 * gdb.base/batch-preserve-term-settings.exp: New file.
1582
e02c96a7
DE
15832015-01-13 Doug Evans <dje@google.com>
1584
1585 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
1586 binary.
1587
576fd14c
JB
15882015-01-13 Joel Brobecker <brobecker@adacore.com>
1589
1590 * Makefile.in (clean mostlyclean): Do not delete *.py.
1591
04dccad0
JB
15922015-01-13 Joel Brobecker <brobecker@adacore.com>
1593
1594 * gdb.python/py-lookup-type.exp: New file.
1595
3d230f71
PA
15962015-01-12 Pedro Alves <palves@redhat.com>
1597
1598 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
1599 restore GDBFLAGS before returning.
1600
7e67715d
JK
16012015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1602
1603 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
1604 is_amd64_regs_target and is_x86_like_target.
1605
f2e0d4b4
DE
16062015-01-11 Doug Evans <xdje42@gmail.com>
1607
1608 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
1609 is given without an explicit form.
1610 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
1611 attributes.
1612 * gdb.dwarf/corrupt.exp: Ditto.
1613 * gdb.dwarf2/enum-type.exp: Ditto.
1614 * gdb.trace/entry-values.exp: Ditto.
1615 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
1616
439250fb
DE
16172015-01-11 Doug Evans <xdje42@gmail.com>
1618
1619 PR gdb/15830
1620 * gdb.base/maint.exp: Remove references to "maint demangle".
1621 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
1622 Add tests for explicitly specifying language to demangle.
1623 * gdb.dlang/demangle.exp: Ditto.
1624
ede9f622
PA
16252015-01-09 Pedro Alves <palves@redhat.com>
1626
1627 * gdb.threads/non-stop-fair-events.c: New file.
1628 * gdb.threads/non-stop-fair-events.exp: New file.
1629
a7b796db
PA
16302015-01-09 Pedro Alves <palves@redhat.com>
1631
1632 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
1633 the global scope. Set a breakpoint after all threads are started
1634 rather than stepping over two source lines. Expect the prompt.
1635 * gdb.base/watch_thread_num.c (threads_started_barrier): New
1636 global.
1637 (NUM): Now 15.
1638 (main): Use threads_started_barrier to wait for all threads to
1639 start. Main thread no longer calls thread_function. Exit after
1640 180 seconds.
1641 (loop): New function.
1642 (thread_function): Wait on threads_started_barrier barrier. Call
1643 'loop' at each iteration.
1644 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
1645 threads have started, instead of hardcoding number of "next"
1646 steps. Use an access watchpoint instead of a write watchpoint.
1647
9665ffdd
PA
16482015-01-09 Pedro Alves <palves@redhat.com>
1649
1650 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
1651 (thread_func): Wait on barrier.
1652 (main): Wait for all threads to start before stopping GDB.
1653 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
1654 global.
1655 (thread1_func, thread2_func): Wait on barrier.
1656 (main): Wait for all threads to start before stopping GDB.
1657 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
1658 New global.
1659 (thread1_func, thread2_func): Wait on barrier.
1660 (main): Wait for all threads to start before stopping GDB.
1661
c945a99f
PA
16622015-01-09 Pedro Alves <palves@redhat.com>
1663
1664 * gdb.threads/attach-many-short-lived-threads.c: New file.
1665 * gdb.threads/attach-many-short-lived-threads.exp: New file.
1666
c1a747c1
PA
16672014-01-09 Pedro Alves <palves@redhat.com>
1668
1669 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
1670 instead of to thread 2.
1671 * gdb.threads/signal-command-multiple-signals-pending.c (main):
1672 Add barrier around each pthread_create call instead of around all
1673 calls.
1674 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
1675 Set a break on thread_function and have the child threads hit it
1676 one at at a time.
1677
60b3033e
PA
16782015-01-09 Pedro Alves <palves@redhat.com>
1679
1680 * lib/gdb.exp (can_spawn_for_attach): New procedure.
1681 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
1682 false.
1683 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
1684 checking whether the target board is remote.
1685 * gdb.multi/multi-attach.exp: Likewise.
1686 * gdb.python/py-sync-interp.exp: Likewise.
1687 * gdb.server/ext-attach.exp: Likewise.
1688 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
1689 tests that need to attach, instead of checking whether the target
1690 board is remote at the top of the file.
1691
acc018ac
YQ
16922015-01-08 Yao Qi <yao@codesourcery.com>
1693
1694 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
1695
50a18af8
JK
16962015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1697
1698 Fix testcase compilation.
1699 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
1700
8503d6e1
JB
17012015-01-06 Joel Brobecker <brobecker@adacore.com>
1702
1703 * gdb.python/py-type.exp: Add a couple test about empty
1704 array creation, and negative-length array creation.
1705
cc73dbcc
DE
17062015-01-02 Doug Evans <xdje42@gmail.com>
1707
1708 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
1709
0300bbc7
DE
17102015-01-02 Doug Evans <dje@google.com>
1711
1712 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
1713
9d85a0ec
YQ
17142014-12-29 Yao Qi <yao@codesourcery.com>
1715
1716 * gdb.trace/entry-values.exp: Update comments. Rename variable
1717 bar_call_foo to returned_from_foo.
1718
87186c6a
MMN
17192014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
1720
1721 PR gdb/17394
1722 * gdb.linespec/break-asm-file.c: New file.
1723 * gdb.linespec/break-asm-file.exp: New file.
1724 * gdb.linespec/break-asm-file0.s: New file.
1725 * gdb.linespec/break-asm-file1.s: New file.
1726
1bab7383
YQ
17272014-12-18 Nigel Stephens <nigel@mips.com>
1728 Maciej W. Rozycki <macro@codesourcery.com>
1729
1730 * gdb.base/float.exp: Handle the new output from "info float" on
1731 MIPS targets.
1732
1bc1068a
JK
17332014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1734
1735 Fix MinGW compilation.
1736 * gdb.compile/compile-ops.exp: Update untested message if
1737 !skip_compile_feature_tests.
1738 * gdb.compile/compile-setjmp.exp: Likewise.
1739 * gdb.compile/compile-tls.exp: Likewise.
1740 * gdb.compile/compile.exp: Likewise.
1741 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
1742 supported on this host".
1743
b6615d10
DE
17442014-12-16 Doug Evans <xdje42@gmail.com>
1745
1746 * boards/stabs.exp: New file.
1747
25dda427
AA
17482014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
1749
1750 * gdb.base/completion.exp: Adjust to format changes of "maint
1751 print user-registers".
1752
bf330350
CU
17532014-12-16 Catalin Udma <catalin.udma@freescale.com>
1754
1755 PR server/17457
1756 * gdb.arch/aarch64-fp.c: New file.
1757 * gdb.arch/aarch64-fp.exp: New file.
1758
395cf596
SDJ
17592014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
1760
1761 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
1762 r210637, r210913, r211666, r215400, r215817).
1763
1764 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
1765 * dg-extract-results.py: New file.
1766 * dg-extract-results.sh: Use it if the environment seems
1767 suitable.
1768
1769 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
1770
1771 * dg-extract-results.py (parse_run): Handle warnings that
1772 are printed before a test harness is run.
1773
1774 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
1775
1776 * dg-extract-results.py (Named): Remove __cmp__ method.
1777 (output_variation): Use a key to sort variation.harnesses.
1778
1779 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
1780
1781 * dg-extract-results.py: For Python 3, force sys.stdout to
1782 handle surrogate escape sequences.
1783 (safe_open): New function.
1784 (output_segment, main): Use it.
1785
1786 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
1787
1788 * dg-extract-results.py (Prog.result_re): Include options
1789 in test name.
1790
1791 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
1792
1793 * dg-extract-results.py (output_variation): Always sort if
1794 do_sum.
1795
e882ef3c
SM
17962014-12-15 Simon Marchi <simon.marchi@ericsson.com>
1797
1798 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
1799 as long as we get pagination notifications.
1800
4992aa20
JM
18012014-12-15 Jason Merrill <jason@redhat.com>
1802
1803 * Makefile.in (check-gdb.%): Restore.
1804 * README: Mention it.
1805
c1b5a1a6
JB
18062014-12-13 Joel Brobecker <brobecker@adacore.com>
1807
1808 * gdb.ada/str_uninit: New testcase.
1809
5537b577
JK
18102014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1811
1812 PR symtab/17642
1813 * gdb.base/vla-stub-define.c: New file.
1814 * gdb.base/vla-stub.c: New file.
1815 * gdb.base/vla-stub.exp: New file.
1816
bb2ec1b3
TT
18172014-12-12 Phil Muldoon <pmuldoon@redhat.com>
1818 Jan Kratochvil <jan.kratochvil@redhat.com>
1819 Tom Tromey <tromey@redhat.com>
1820
1821 * configure.ac: Add gdb.compile/.
1822 * configure: Regenerate.
1823 * gdb.compile/Makefile.in: New file.
1824 * gdb.compile/compile-ops.exp: New file.
1825 * gdb.compile/compile-ops.c: New file.
1826 * gdb.compile/compile-tls.c: New file.
1827 * gdb.compile/compile-tls.exp: New file.
1828 * gdb.compile/compile-constvar.S: New file.
1829 * gdb.compile/compile-constvar.c: New file.
1830 * gdb.compile/compile-mod.c: New file.
1831 * gdb.compile/compile-nodebug.c: New file.
1832 * gdb.compile/compile-setjmp-mod.c: New file.
1833 * gdb.compile/compile-setjmp.c: New file.
1834 * gdb.compile/compile-setjmp.exp: New file.
1835 * gdb.compile/compile-shlib.c: New file.
1836 * gdb.compile/compile.c: New file.
1837 * gdb.compile/compile.exp: New file.
1838 * lib/gdb.exp (skip_compile_feature_tests): New proc.
1839
4ff709eb
TT
18402014-12-12 Tom Tromey <tromey@redhat.com>
1841
1842 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
1843 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
1844
6dddd6a5
DE
18452014-12-12 Doug Evans <dje@google.com>
1846
1847 * lib/gdb-python.exp (get_python_valueof): New function.
1848 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
1849
71c24708
AA
18502014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1851
1852 * gdb.base/completion.exp: Add test for completion of "info
1853 registers ".
1854
3e29f34a
MR
18552014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
1856
1857 * gdb.base/func-ptrs.c: New file.
1858 * gdb.base/func-ptrs.exp: New file.
1859
fc126975
SM
18602014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1861
1862 PR breakpoints/17012
1863 * gdb.base/dprintf-detach.c: New file.
1864 * gdb.base/dprintf-detach.exp: New file.
1865
0a46d518
SM
18662014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1867
1868 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
1869 * lib/gdb.exp (target_is_gdbserver): New procedure.
1870
a0be3e44
DE
18712014-12-08 Doug Evans <dje@google.com>
1872
1873 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
1874
df1b803a
YQ
18752014-12-05 Yao Qi <yao@codesourcery.com>
1876
1877 * gdb.guile/scm-error.exp: Remove the third argument to
1878 gdb_remote_download.
1879 * gdb.guile/scm-frame-args.exp: Likewise.
1880 * gdb.guile/scm-section-script.exp: Likewise.
1881
ddb9f679
YQ
18822014-12-05 Yao Qi <yao@codesourcery.com>
1883
1884 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
1885
86e4ed39
DE
18862014-12-04 Doug Evans <dje@google.com>
1887
1888 * gdb.python/py-objfile.exp: Add tests for
1889 objfile.add_separate_debug_file.
1890
7c50a931
DE
18912014-12-04 Doug Evans <dje@google.com>
1892
1893 * lib/gdb.exp (get_build_id): New function.
1894 (build_id_debug_filename_get): Rewrite to use it.
1895 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
1896
621661e3
MR
18972014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
1898
1899 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
1900 `method(long)', not just 0x0.
1901 * gdb.cp/nsalias.exp: Align code labels to 4.
1902 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
1903 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
1904 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
1905 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
1906 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
1907 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
1908
29f0c3b7
DE
19092014-12-02 Doug Evans <dje@google.com>
1910
e1e061e7 1911 PR symtab/17602
29f0c3b7 1912 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 1913 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
1914 * gdb.cp/anon-ns.exp: Update.
1915
162078c8
NB
19162014-12-02 Nick Bull <nicholaspbull@gmail.com>
1917
1918 * gdb.python/py-events.py (inferior_call_handler): New.
1919 (register_changed_handler, memory_changed_handler): New.
1920 (test_events.invoke): Register new handlers.
1921 * gdb.python/py-events.exp: Add tests for inferior call,
1922 memory_changed and register_changed events.
1923
fdb09caf
AA
19242014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1925
1926 * gdb.base/execl-update-breakpoints.exp: Specify the link address
1927 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
1928 if the linker doesn't understand this.
1929
55cfb2c4
SM
19302014-12-01 Simon Marchi <simon.marchi@ericsson.com>
1931
1932 * gdb.python/python.exp: Change expected reply to help().
1933
9e8cd6df
YQ
19342014-12-01 Yao Qi <yao@codesourcery.com>
1935
1936 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
1937 AC_CONFIG_SUBDIRS(gdb.gdbtk).
1938 * configure: Re-generated.
1939
6c659fc2
SC
19402014-11-28 Siva Chandra Reddy <sivachandra@google.com>
1941
1942 * gdb.cp/chained-calls.cc: New file.
1943 * gdb.cp/chained-calls.exp: New file.
1944 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
1945
d7fc3181
SM
19462014-11-28 Simon Marchi <simon.marchi@ericsson.com>
1947
1948 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
1949 * gdb.dwarf2/symtab-producer.exp: Same.
1950 * gdb.gdb/python-interrupts.exp: Same.
1951 * gdb.gdb/python-selftest.exp: Same.
1952 * gdb.python/py-linetable.exp: Same.
1953 * gdb.python/py-type.exp: Same.
1954 * gdb.python/py-value-cc.exp: Same.
1955 * gdb.python/py-value.exp: Same.
1956
10e79639
YQ
19572014-11-28 Yao Qi <yao@codesourcery.com>
1958
1959 * gdb.base/break-probes.exp: Match library name prefixed with
1960 sysroot.
1961
f28a0564
SM
19622014-11-27 Simon Marchi <simon.marchi@ericsson.com>
1963
1964 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
1965 test expected output. Add parentheses for the call to print.
1966 Remove L suffix from integers.
1967
3fe1ce1d
DE
19682014-11-26 Doug Evans <dje@google.com>
1969
1970 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
1971
84429e27
YQ
19722014-11-22 Yao Qi <yao@codesourcery.com>
1973
1974 * gdb.trace/entry-values.c: Remove asms.
1975 (foo): Add foo_label.
1976 (bar): Add bar_label.
1977 * gdb.trace/entry-values.exp: Remove code computing foo's
1978 length and bar's length.
1979 (Dwarf::assemble): Invoke function_range for bar and use
1980 MACRO_AT_func for foo.
1981
26741859
YQ
19822014-11-22 Yao Qi <yao@codesourcery.com>
1983
1984 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
1985 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
1986 Use .Lgcc43_procstart instead of gcc43.
1987
45e44d27
JB
19882014-11-21 Joel Brobecker <brobecker@adacore.com>
1989
1990 * gdb.ada/n_arr_bound: New testcase.
1991
458c8db8
SDJ
19922014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1993
1994 PR breakpoints/10737
1995 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
1996 test_catch_syscall_multi_arch.
1997 (test_catch_syscall_multi_arch): New function.
1998
43f3e411
DE
19992014-11-20 Doug Evans <xdje42@gmail.com>
2000
2001 * gdb.base/maint.exp: Update expected output.
2002
0d7b2549
AA
20032014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
2004
2005 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
2006 4-byte instruction on S390.
2007
8908fca5
JB
20082014-11-19 Joel Brobecker <brobecker@adacore.com>
2009
2010 * gdb.ada/arr_arr: New testcase.
2011
4a46959e
JB
20122014-11-19 Joel Brobecker <brobecker@adacore.com>
2013
2014 * gdb.ada/pkd_arr_elem: New Testcase.
2015
470e2f4e
LM
20162014-11-18 Luis Machado <lgustavo@codesourcery.com>
2017
2018 * gdb.reverse/break-precsave: Expect completion message for
2019 core file reads.
2020 * gdb.reverse/consecutive-precsave.exp: Likewise.
2021 * gdb.reverse/finish-precsave.exp: Likewise.
2022 * gdb.reverse/i386-precsave.exp: Likewise.
2023 * gdb.reverse/machinestate-precsave.exp: Likewise.
2024 * gdb.reverse/sigall-precsave.exp: Likewise.
2025 * gdb.reverse/solib-precsave.exp: Likewise.
2026 * gdb.reverse/step-precsave.exp: Likewise.
2027 * gdb.reverse/until-precsave.exp: Likewise.
2028 * gdb.reverse/watch-precsave.exp: Likewise.
2029
a267f3ad
AA
20302014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2031
2032 * gdb.base/bp-permanent.c: Include unistd.h.
2033 * gdb.python/py-framefilter-mi.c (main): Add return type.
2034 * gdb.python/py-framefilter.c (main): Likewise.
2035 * gdb.trace/actions-changed.c (main): Likewise.
2036
12084a9a
AA
20372014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2038
2039 * gdb.mi/until.c: Add eye-catchers.
2040 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
2041 line numbers.
2042
dc7e1a77
AA
20432014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2044
2045 * gdb.base/condbreak.exp: Drop references to removed non-prototype
2046 function header variants in break1.c.
2047 * gdb.base/ena-dis-br.exp: Likewise.
2048 * gdb.base/hbreak2.exp: Likewise.
2049 * gdb.reverse/until-precsave.exp: Drop references to removed
2050 non-prototype function header variants in ur1.c.
2051 * gdb.reverse/until-reverse.exp: Likewise.
2052
41c77605
PM
20532014-11-17 Petr Machata <pmachata@redhat.com>
2054
2055 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
2056 ${_cu_offset_size} bytes abbrev offset.
2057
34248c3a
DE
20582014-11-15 Doug Evans <xdje42@gmail.com>
2059
2060 PR symtab/17559
2061 * gdb.base/line-symtabs.exp: New file.
2062 * gdb.base/line-symtabs.c: New file.
2063 * gdb.base/line-symtabs.h: New file.
2064
646da059
YQ
20652014-11-14 Yao Qi <yao@codesourcery.com>
2066
2067 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
2068 (func): Add label func_label.
2069 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
2070 Replace low_pc and high_pc with MACRO_AT_range.
2071 Replace name, low_pc and high_pc with MACRO_AT_func.
2072
9301ebe6
YQ
20732014-11-14 Yao Qi <yao@codesourcery.com>
2074
2075 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
2076 Replace name, low_pc and high_pc with MACRO_AT_func.
2077
f166b542
YQ
20782014-11-14 Yao Qi <yao@codesourcery.com>
2079
2080 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
2081 produce debug information.
2082 * gdb.dwarf2/implptr-optimized-out.S: Removed.
2083
0f6e71e3
YQ
20842014-11-14 Yao Qi <yao@codesourcery.com>
2085
2086 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
2087 object and get function length.
2088 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
2089 with MACRO_AT_func.
2090 (top-level): Replace gdb_compile and clean_restart with
2091 prepare_for_testing.
2092 * gdb.dwarf2/main.c (main): Add label main_label.
2093
876c4df9
YQ
20942014-11-14 Yao Qi <yao@codesourcery.com>
2095
2096 * lib/dwarf.exp (function_range): New procedure.
2097 (Dwarf::_handle_macro_at_func): New procedure.
2098 (Dwarf::_handle_macro_at_range): New procedure.
2099 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
2100
02ad9cf1
YQ
21012014-11-14 Yao Qi <yao@codesourcery.com>
2102
2103 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
2104 (_handle_attribute): New procedure.
2105
a59add0c
AA
21062014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2107
2108 * gdb.ada/cond_lang/foo.c (callme): Add return type.
2109 * gdb.base/call-sc.c (zed): Likewise.
2110 * gdb.base/checkpoint.c (main): Likewise.
2111 * gdb.base/dump.c (main): Likewise.
2112 * gdb.base/gcore.c (main): Likewise.
2113 * gdb.base/huge.c (main): Likewise.
2114 * gdb.base/multi-forks.c (main): Likewise.
2115 * gdb.base/pr10179-a.c (main): Likewise.
2116 * gdb.base/savedregs.c (main): Likewise.
2117 * gdb.base/sigaltstack.c (main): Likewise.
2118 * gdb.base/siginfo.c (main): Likewise.
2119 * gdb.base/structs.c (zed): Likewise.
2120 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
2121 * gdb.mi/mi-syn-frame.c (main): Likewise.
2122 * gdb.mi/until.c (foo, main): Likewise.
2123 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
2124 * gdb.base/solib-weak.c (foo): Declare.
2125 * gdb.base/attach-twice.c: Include stdio.h.
2126 * gdb.base/weaklib1.c: Likewise.
2127 * gdb.base/weaklib2.c: Likewise.
2128 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
2129 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
2130 unistd.h.
2131 * gdb.base/attach-pie-misread.c: Include stdlib.h.
2132 * gdb.mi/mi-exit-code.c: Likewise.
2133 * gdb.base/break-interp-lib.c: Include string.h.
2134 * gdb.base/coremaker.c: Likewise.
2135 * gdb.base/testenv.c: Likewise.
2136 * gdb.python/py-finish-breakpoint.c: Likewise.
2137 * gdb.base/inferior-died.c: Include sys/wait.h.
2138 * gdb.base/fileio.c: Include time.h.
2139 * gdb.base/async-shell.c: Include unistd.h.
2140 * gdb.base/dprintf-non-stop.c: Likewise.
2141 * gdb.base/info-os.c: Likewise.
2142 * gdb.mi/mi-console.c: Likewise.
2143 * gdb.mi/watch-nonstop.c: Likewise.
2144 * gdb.python/py-events.c: Likewise.
2145 * gdb.base/async.c (baz): Move up before its invocation.
2146 * gdb.base/code_elim2.c (my_global_func): Likewise.
2147 * gdb.base/skip-solib-lib.c (multiply): Likewise.
2148 * gdb.base/advance.c (func2): Likewise.
2149
3b5d5997
AA
21502014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2151
2152 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
2153 variant.
2154 * gdb.base/annota3.c: Likewise.
2155 * gdb.base/async.c: Likewise.
2156 * gdb.base/average.c: Likewise.
2157 * gdb.base/call-ar-st.c: Likewise.
2158 * gdb.base/call-rt-st.c: Likewise.
2159 * gdb.base/call-sc.c: Likewise.
2160 * gdb.base/call-strs.c: Likewise.
2161 * gdb.base/ending-run.c: Likewise.
2162 * gdb.base/execd-prog.c: Likewise.
2163 * gdb.base/exprs.c: Likewise.
2164 * gdb.base/foll-exec.c: Likewise.
2165 * gdb.base/foll-fork.c: Likewise.
2166 * gdb.base/foll-vfork.c: Likewise.
2167 * gdb.base/funcargs.c: Likewise.
2168 * gdb.base/gcore.c: Likewise.
2169 * gdb.base/jump.c: Likewise.
2170 * gdb.base/langs0.c: Likewise.
2171 * gdb.base/langs1.c: Likewise.
2172 * gdb.base/langs2.c: Likewise.
2173 * gdb.base/mips_pro.c: Likewise.
2174 * gdb.base/nodebug.c: Likewise.
2175 * gdb.base/opaque0.c: Likewise.
2176 * gdb.base/opaque1.c: Likewise.
2177 * gdb.base/recurse.c: Likewise.
2178 * gdb.base/run.c: Likewise.
2179 * gdb.base/scope0.c: Likewise.
2180 * gdb.base/scope1.c: Likewise.
2181 * gdb.base/setshow.c: Likewise.
2182 * gdb.base/setvar.c: Likewise.
2183 * gdb.base/shmain.c: Likewise.
2184 * gdb.base/shr1.c: Likewise.
2185 * gdb.base/shr2.c: Likewise.
2186 * gdb.base/sigall.c: Likewise.
2187 * gdb.base/signals.c: Likewise.
2188 * gdb.base/so-indr-cl.c: Likewise.
2189 * gdb.base/solib2.c: Likewise.
2190 * gdb.base/structs.c: Likewise.
2191 * gdb.base/sum.c: Likewise.
2192 * gdb.base/vforked-prog.c: Likewise.
2193 * gdb.base/watchpoint.c: Likewise.
2194 * gdb.reverse/shr2.c: Likewise.
2195 * gdb.reverse/until-reverse.c: Likewise.
2196 * gdb.reverse/ur1.c: Likewise.
2197 * gdb.reverse/watch-reverse.c: Likewise.
2198
066a77c5
AA
21992014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2200
2201 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
2202 variant.
2203 * gdb.base/sepdebug.exp: Drop references to removed code.
2204
4f204ea5
AA
22052014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2206
2207 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
2208 variant. Preserve original line numbering.
2209 * gdb.base/list1.c: Likewise.
2210
3b377a3a
AA
22112014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2212
2213 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
2214 variant.
2215 * gdb.base/break1.c: Likewise.
2216 * gdb.base/break.exp: Drop references to removed code.
2217
e444df73
AA
22182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2219
2220 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
2221 variant.
2222
8008f2a7
AA
22232014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2224
2225 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
2226
a5a06887
AA
22272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2228
2229 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
2230 logic into perform_all_tests() and invoke it with and without
2231 function header prototypes.
2232 (do_function_calls): Remove conditional XFAIL for PR 5318.
2233 (rerun_and_prepare): Remove duplicate code.
2234 (perform_all_tests): New. Main logic moved here.
2235
44dba9b9
AA
22362014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2237
2238 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
2239 code guarded by #ifdef NO_PROTOTYPES.
2240 (t_double_many_args): Likewise.
2241 (DEF_FUNC_MANY_ARGS_1): Likewise.
2242 (DEF_FUNC_VALUES_1): Likewise.
2243 (t_structs_ldc): Renamed from t_structs_fc in conditional code
2244 guarded by #ifdef PROTOTYPES.
2245
d1fbcd56
AA
22462014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2247
2248 * gdb.mi/mi-console.c: Add eye-catcher.
2249 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
2250 instead of literal line number.
2251
b0e59b8f
AA
22522014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2253
2254 * gdb.base/shr2.c: Add eye-catcher.
2255 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
2256 line number.
2257
78f98cca
AA
22582014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2259
2260 * gdb.base/jump.c: Add eye-catchers.
2261 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
2262 numbers.
2263
58fa2af0
AA
22642014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2265
2266 * gdb.base/execd-prog.c: Add eye-catchers.
2267 * gdb.base/foll-exec.c: Likewise.
2268 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
2269 line numbers.
2270
04e5059b
AA
22712014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2272
2273 * gdb.base/ending-run.c: Add eye-catchers.
2274 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
2275 literal line numbers.
2276
dbfdb174
AA
22772014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2278
2279 * gdb.base/call-rt-st.c: Add eye-catchers.
2280 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
2281 literal line numbers.
2282
888a2ade
AA
22832014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2284
2285 * gdb.base/call-ar-st.c: Add eye-catchers.
2286 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
2287 literal line numbers.
2288
6acc2dde
AA
22892014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2290
2291 * gdb.base/average.c: Add eye-catchers.
2292 * gdb.base/sum.c: Likewise.
2293 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
2294 regexps dynamically.
2295
9ecfcd1d
AA
22962014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2297
2298 * gdb.base/solib1.c: Add eye-catchers.
2299 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
2300 literal line numbers.
2301
78708b7c
PA
23022014-11-12 Pedro Alves <palves@redhat.com>
2303
2304 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
2305 leader has exited.
2306
af48d08f
PA
23072014-11-12 Pedro Alves <palves@redhat.com>
2308
2309 * gdb.arch/i386-bp_permanent.c: New file.
2310 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
2311 (srcfile): Set to i386-bp_permanent.c.
2312 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
2313 that stepi does not execute the 'leave' instruction, instead of
2314 testing it does execute.
2315 * gdb.base/bp-permanent.c: New file.
2316 * gdb.base/bp-permanent.exp: New file.
2317
af3768e9
DE
23182014-11-10 Doug Evans <xdje42@gmail.com>
2319
2320 PR symtab/17564
2321 * gdb.base/symtab-search-order.exp: New file.
2322 * gdb.base/symtab-search-order.c: New file.
2323 * gdb.base/symtab-search-order-1.c: New file.
2324 * gdb.base/symtab-search-order-shlib-1.c: New file.
2325
9de00a4a
PA
23262014-11-07 Pedro Alves <palves@redhat.com>
2327
2328 PR gdb/17511
2329 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
2330 i?86-*-linux*.
2331
e0f52461
SC
23322014-11-03 Siva Chandra Reddy <sivachandra@google.com>
2333
2334 PR c++/17494
2335 * gdb.cp/pr17494.cc: New file.
2336 * gdb.cp/pr17494.exp: New file.
2337
6ce8c980
YQ
23382014-11-02 Yao Qi <yao@codesourcery.com>
2339
2340 * gdb.python/python.exp: Get working directory and match the
2341 output of "set extended-prompt \\w " with it.
2342
02be9a71
DE
23432014-10-30 Doug Evans <dje@google.com>
2344
2345 * gdb.python/py-objfile.exp: Add tests for setting random attributes
2346 in objfiles.
2347 * gdb.python/py-progspace.exp: Add tests for setting random attributes
2348 in progspaces.
2349
3bdff46b
LM
23502014-10-30 Janis Johnson <janisjo@codesourcery.com>
2351
2352 * gdb.base/fullpath-expand.exp: Skip for a remote host.
2353 * gdb.base/realname-expand.exp: Likewise.
2354 * gdb.linespec/macro-relative.exp: Likewise.
2355
ab917dfb
PA
23562014-10-29 Pedro Alves <palves@redhat.com>
2357
2358 PR gdb/17408
2359 * gdb.threads/schedlock.c (some_function): New function.
2360 (call_function): New global.
2361 (MAYBE_CALL_SOME_FUNCTION): New macro.
2362 (thread_function): Call it.
2363 * gdb.threads/schedlock.exp (get_args): Add description parameter,
2364 and use it instead of a global counter. Adjust all callers.
2365 (get_current_thread): Use "find current thread" for test message
2366 here rather than having all callers pass down the same string.
2367 (goto_loop): New procedure, factored out from ...
2368 (my_continue): ... this.
2369 (step_ten_loops): Change parameter from test message to command to
2370 use. Adjust.
2371 (list_count): Delete global.
2372 (check_result): New procedure, factored out from duplicate top
2373 level code.
2374 (continue tests): Wrap in with_test_prefix.
2375 (test_step): New procedure, factored out from duplicate top level
2376 code.
2377 (top level): Test "step" in combination with all scheduler-locking
2378 modes. Test "next" in combination with all scheduler-locking
2379 modes, and in combination with stepping over a function call or
2380 not.
2381 * gdb.threads/next-bp-other-thread.c: New file.
2382 * gdb.threads/next-bp-other-thread.exp: New file.
2383
d3d4baed
PA
23842014-10-29 Pedro Alves <palves@redhat.com>
2385
2386 PR python/17372
2387 * gdb.python/python.exp: Test a multi-line command that spawns
2388 interactive Python.
2389 * gdb.base/multi-line-starts-subshell.exp: New file.
2390
563e8d85
YQ
23912014-10-29 Yao Qi <yao@codesourcery.com>
2392
2393 * gdb.base/fileio.exp: Make directories on host.
2394
0ea4d52e
YQ
23952014-10-29 Yao Qi <yao@codesourcery.com>
2396
2397 * gdb.base/fileio.c (test_write): Close the file.
2398
7f5ef605
PA
23992014-10-28 Pedro Alves <palves@redhat.com>
2400
2401 PR gdb/12623
2402 * gdb.base/sigstep.c (no_handler): New global.
2403 (main): If 'no_handler is true, set the signal handlers to
2404 SIG_IGN.
2405 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
2406 with_sw_watch and no_handler parameters. Handle them.
2407 (top level) <stepping over handler when stopped at a breakpoint
2408 test>: Add a test axis for testing with a software watchpoint, and
2409 another for testing with the signal handler set to SIG_IGN.
2410 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
2411 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
2412
abbdbd03
PA
24132014-10-28 Pedro Alves <palves@redhat.com>
2414
2415 PR gdb/17511
2416 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
2417 * gdb.base/sigstep.exp (other_handler_location): New global.
2418 (advance): Support stepping into the signal handler, and running
2419 commands while in the handler.
2420 (in_handler_map): New global.
2421 (top level): In the advance test, add combinations for getting
2422 into the handler with stepping commands, and for running commands
2423 in the handler. Add comment descripting the advancei tests.
2424
1df4399f
PA
24252014-10-28 Pedro Alves <palves@redhat.com>
2426
2427 * gdb.base/sigstep.exp: Use build_executable instead of
2428 prepare_for_testing.
2429 (top level): Move code that starts GDB, runs to main and creates a
2430 display to ...
2431 (restart): ... this new procedure.
2432 (top level): Move backtrace from signal handler test to ...
2433 (validate_backtrace): ... this new procedure.
2434 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
2435 with_test_prefix. Always restart GDB.
2436 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
2437 with_test_prefix. Always restart GDB. No need to delete
2438 breakpoints after the test.
2439 (test_skip_handler): Remove prefix parameter.
2440 (skip_over_handler, breakpoint_to_handler)
2441 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
2442 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
2443 restart GDB. No need to delete breakpoints after the test.
2444 (top level): Use foreach to call the test procedures with
2445 different commands.
2446
a5b6e449
PA
24472014-10-28 Pedro Alves <palves@redhat.com>
2448
2449 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
2450 instead of GNATS numbers.
2451 * gdb.base/sigbpt.exp: Likewise.
2452 * gdb.base/siginfo.exp: Likewise.
2453 * gdb.base/sigstep.exp: Likewise.
2454
e5f8a7cc
PA
24552014-10-27 Pedro Alves <palves@redhat.com>
2456
2457 * gdb.base/sigstep.c (dummy): New global.
2458 (main): Issue a couple writes to the new global.
2459 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
2460 procedures.
2461 (skip_over_handler): Use test_skip_handler.
2462 (top level): Call skip_over_handler for stepi and nexti too.
2463 (breakpoint_over_handler): Use test_skip_handler.
2464 (top level): Call breakpoint_over_handler for stepi and nexti too.
2465
763905a3
YQ
24662014-10-27 Yao Qi <yao@codesourcery.com>
2467
2468 * gdb.trace/tfile.c (adjust_function_address)
2469 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
2470 function descriptor.
2471
6f259a23
DB
24722014-10-24 Don Breazeal <donb@codesourcery.com>
2473
2474 * gdb.base/foll-fork.exp (test_follow_fork,
2475 catch_fork_child_follow): Check for updated fork messages emitted
2476 from infrun.c.
2477 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
2478 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
2479 vfork_and_exec_child_follow_through_step): Check for updated vfork
2480 messages emitted from infrun.c.
2481
09dd9a69
PA
24822014-10-24 Pedro Alves <palves@redhat.com>
2483
2484 * gdb.base/corefile.exp: Remove references to ultrix.
2485 * gdb.base/interrupt.exp: Likewise.
2486 * gdb.base/whatis.exp: Likewise.
2487 * gdb.gdb/selftest.exp: Likewise.
2488 * gdb.threads/manythreads.exp: Likewise.
2489 * gdb.threads/print-threads.exp: Likewise.
2490 * gdb.threads/pthreads.exp:: Likewise.
2491 * gdb.threads/schedlock.exp: Likewise.
2492
3433cfa5
SC
24932014-10-24 Siva Chandra Reddy <sivachandra@google.com>
2494
2495 * gdb.cp/non-trivial-retval.cc: Add a test case.
2496 * gdb.cp/non-trivial-retval.exp: Add a test.
2497
092f880b
YQ
24982014-10-20 Yao Qi <yao@codesourcery.com>
2499
2500 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
2501 * gdb.python/py-objfile-script-gdb.py: New file.
2502 * gdb.python/py-objfile-script.exp: Update reference to
2503 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
2504 of remote_download. Remove the dest file.
2505
acbdb7f3
YQ
25062014-10-20 Yao Qi <yao@codesourcery.com>
2507
2508 * gdb.base/checkpoint.exp: Don't remove file copied on host.
2509 * gdb.base/step-line.exp: Likewise.
2510 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2511 * gdb.dwarf2/dw2-basic.exp: Likewise.
2512 * gdb.dwarf2/dw2-compressed.exp: Likewise.
2513 * gdb.dwarf2/dw2-filename.exp: Likewise.
2514 * gdb.dwarf2/dw2-intercu.exp: Likewise.
2515 * gdb.dwarf2/dw2-intermix.exp: Likewise.
2516 * gdb.dwarf2/dw2-producer.exp: Likewise.
2517 * gdb.dwarf2/mac-fileno.exp: Likewise.
2518 * gdb.python/py-frame-args.exp: Likewise.
2519 * gdb.python/py-framefilter.exp: Likewise.
2520 * gdb.python/py-mi.exp: Likewise.
2521 * gdb.python/py-objfile-script.exp: Likewise
2522 * gdb.python/py-pp-integral.exp: Likewise.
2523 * gdb.python/py-pp-re-notag.exp: Likewise.
2524 * gdb.python/py-prettyprint.exp: Likewise.
2525 * gdb.python/py-section-script.exp: Likewise.
2526 * gdb.python/py-typeprint.exp: Likewise.
2527 * gdb.python/py-xmethods.exp: Likewise.
2528 * gdb.stabs/weird.exp: Likewise.
2529 * gdb.xml/tdesc-regs.exp: Likewise.
2530
bd286a29
KCY
25312014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
2532
2533 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
2534 (out_cu): Use addr_len for the size of addresses.
2535 (out_line): Likewise. Size DW_LNE_set_address instruction
2536 according to addr_len.
2537 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
2538 (FUNC): Add START_INSNS to definition.
2539
673dc4a0
YQ
25402014-10-18 Yao Qi <yao@codesourcery.com>
2541
2542 * gdb.base/argv0-symlink.exp: Check argv[0] value if
2543 gdb_has_argv0 return true.
2544 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
2545 check [target_info exists noargs], check [gdb_has_argv0]
2546 instead.
2547 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2548 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
2549 procedures.
2550
4ffbba72
DE
25512014-10-17 Doug Evans <dje@google.com>
2552
2553 * gdb.python/py-events.exp: Update expected output for clear_objfiles
2554 event.
2555 * gdb.python/py-events.py: Add clear_objfiles event.
2556
d096d8c1
DE
25572014-10-17 Doug Evans <dje@google.com>
2558
2559 * gdb.python/py-objfile.exp: Test progspace attribute.
2560
a80db015
LM
25612014-10-17 Luis Machado <lgustavo@codesourcery.com>
2562
2563 * gdb.guile/scm-breakpoint.exp: Do not assume any
2564 directory separators when matching source file paths.
2565 * gdb.python/py-breakpoint.exp: Likewise.
2566 * gdb.reverse/break-precsave.exp: Likewise.
2567 * gdb.reverse/break-reverse.exp: Likewise.
2568 * gdb.reverse/consecutive-precsave.exp: Likewise.
2569 * gdb.reverse/finish-precsave.exp: Likewise.
2570 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
2571 * gdb.reverse/finish-reverse.exp: Likewise.
2572 * gdb.reverse/i386-precsave.exp: Likewise.
2573 * gdb.reverse/i387-env-reverse.exp: Likewise.
2574 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2575 * gdb.reverse/machinestate-precsave.exp: Likewise.
2576 * gdb.reverse/machinestate.exp: Likewise.
2577 * gdb.reverse/sigall-precsave.exp: Likewise.
2578 * gdb.reverse/solib-precsave.exp: Likewise.
2579 * gdb.reverse/step-precsave.exp: Likewise.
2580 * gdb.reverse/until-precsave.exp: Likewise.
2581 * gdb.reverse/watch-precsave.exp: Likewise.
2582 * gdb.reverse/watch-reverse.exp: Likewise.
2583
b22089ab
YQ
25842014-10-17 Yao Qi <yao@codesourcery.com>
2585
2586 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
2587 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
2588
6c4486e6
PA
25892014-10-17 Pedro Alves <palves@redhat.com>
2590
2591 PR gdb/17471
2592 * gdb.base/bg-execution-repeat.c: New file.
2593 * gdb.base/bg-execution-repeat.exp: New file.
2594
0ff33695
PA
25952014-10-17 Pedro Alves <palves@redhat.com>
2596
2597 PR gdb/17300
2598 * gdb.base/continue-all-already-running.c: New file.
2599 * gdb.base/continue-all-already-running.exp: New file.
2600
6fdebc3d
PA
26012014-10-17 Pedro Alves <palves@redhat.com>
2602
2603 PR gdb/17472
2604 * gdb.base/annota-input-while-running.c: New file.
2605 * gdb.base/annota-input-while-running.exp: New file.
2606
32a8097b
PA
26072014-10-17 Pedro Alves <palves@redhat.com>
2608
2609 * gdb.base/callfuncs.exp: emove references to osf.
2610 * gdb.base/sigall.exp: Likewise.
2611 * gdb.gdb/selftest.exp: Likewise.
2612 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
2613 * gdb.mi/non-stop.c: Likewise.
2614 * gdb.mi/pthreads.c: Likewise.
2615 * gdb.reverse/sigall-precsave.exp: Likewise.
2616 * gdb.reverse/sigall-reverse.exp: Likewise.
2617 * gdb.threads/pthreads.c: Likewise.
2618 * gdb.threads/pthreads.exp: Likewise.
2619
7a3517ff
YQ
26202014-10-17 Yao Qi <yao@codesourcery.com>
2621
2622 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
2623 check 'target_info exists noargs'.
2624 (test_command_prompt_position): Likewise.
2625 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
2626 Remove "set args".
2627 (progvar_simple_while_test): Likewise.
2628 (progvar_complex_if_while_test): Likewise.
2629 (if_while_breakpoint_command_test): Likewise.
2630 (infrun_breakpoint_command_test): Likewise.
2631 (breakpoint_command_test): Likewise.
2632 (watchpoint_command_test): Likewise.
2633 (bp_deleted_in_command_test): Likewise.
2634 (temporary_breakpoint_commands): Likewise.
2635
bb99c472
YQ
26362014-10-16 Yao Qi <yao@codesourcery.com>
2637
2638 * gdb.base/remotetimeout.exp: Remove noargs checking.
2639
7c16b83e
PA
26402014-10-15 Pedro Alves <palves@redhat.com>
2641
2642 PR breakpoints/9649
2643 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
2644 * gdb.base/breakpoint-in-ro-region.exp
2645 (probe_target_hardware_step): New procedure.
2646 (top level): Probe hardware stepping and hardware breakpoint
2647 support. Test stepping through a read-only region, with both
2648 "breakpoint auto-hw" on and off and both "always-inserted" on and
2649 off.
2650
35a49624
IB
26512014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
2652
2653 * gdb.dlang/demangle.exp: Update for demangling changes.
2654
2d1c107c
SC
26552014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2656
2657 * gdb.cp/non-trivial-retval.cc: Add new test cases.
2658 * gdb.cp/non-trivial-retval.exp: Add new tests.
2659
778811d5
SC
26602014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2661
2662 PR c++/13403
2663 PR c++/15154
2664 * gdb.cp/non-trivial-retval.cc: New file.
2665 * gdb.cp/non-trivial-retval.exp: New file.
2666
10c5f0a8
YQ
26672014-10-15 Yao Qi <yao@codesourcery.com>
2668
2669 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
2670 remote host.
2671
65d7b369
YQ
26722014-10-15 Yao Qi <yao@codesourcery.com>
2673
2674 * gdb.python/py-symbol.exp: Match file base name if host is
2675 remote, otherwise match file name with dir name.
2676 * gdb.python/py-symtab.exp: Likewise.
2677 * gdb.python/python.exp: Likewise.
2678
46dc1394
YQ
26792014-10-15 Yao Qi <yao@codesourcery.com>
2680
2681 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
2682 pattern.
2683 * gdb.python/py-symtab.exp: Likewise.
2684 * gdb.python/python.exp: Remove trailing ".*". Fix typo
2685 locationn.
2686
c40cc657
JB
26872014-10-14 Joel Brobecker <brobecker@adacore.com>
2688
2689 * gdb.ada/addr_arith: New testcase.
2690
2abf49e1
MR
26912014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
2692
2693 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
2694 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
2695 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
2696 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
2697
f7088df3
SDJ
26982014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
2699
2700 * gdb.arch/stap-eval-lang-ada.S: Likewise.
2701 * gdb.arch/stap-eval-lang-ada.c: Likewise.
2702 * gdb.arch/stap-eval-lang-ada.exp: New file.
2703
4dc06805
YQ
27042014-10-14 Yao Qi <yao@codesourcery.com>
2705
2706 * gdb.mi/mi-var-child.c (nothing1): New function.
2707 (nothing2): New function.
2708 (do_children_tests): Set function pointers by nothing1 and
2709 nothing2.
2710 * gdb.mi/mi-var-child.exp: Step over new added statements.
2711 Update test to match the new output.
2712 * gdb.mi/var-cmd.c (nothing1): New function.
2713 (nothing2): New function.
2714 (do_children_tests): Set function pointers by nothing1 and
2715 nothing2.
2716 * gdb.mi/mi-var-display.exp: Update test to match output.
2717 Step to the line specified by $line_dct_nothing.
2718 Increase the number of lines to step.
2719
46a93de2
YQ
27202014-10-14 Yao Qi <yao@codesourcery.com>
2721
2722 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
2723 tests.
2724 * gdb.mi/mi2-var-child.exp: Likewise.
2725
14ea52ee
DE
27262014-10-13 Doug Evans <dje@google.com>
2727
2728 * gdb.python/py-objfile.exp: Change name of file name test.
2729
e5c6e92b
DE
27302014-10-13 Doug Evans <dje@google.com>
2731
2732 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
2733 from the start of the CU.
2734
c780cc2f
JK
27352014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2736 Yao Qi <yao@codesourcery.com>
2737
2738 Fix "save breakpoints" for "catch" command.
2739 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
2740 Remove -nonewline. Match also the added "main" line.
2741
99894e11
JK
27422014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2743
2744 Fix "save breakpoints" for "disable $bpnum" command.
2745 * gdb.base/save-bp.c (main): Add label.
2746 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
2747
6e1ac5a3
JK
27482014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2749
2750 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
2751
754dd2b0
YQ
27522014-10-11 Yao Qi <yao@codesourcery.com>
2753
2754 * gdb.server/server-kill.exp: Execute command
2755 "set remote trace-status-packet on" before "tstatus".
2756
f90183d7
YQ
27572014-10-11 Yao Qi <yao@codesourcery.com>
2758
2759 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
2760 (main): Call getppid.
2761 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
2762 and continue to it. Read variable "server_pid".
2763
bf40a607
YQ
27642014-10-11 Yao Qi <yao@codesourcery.com>
2765
2766 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
2767
052ca370
YQ
27682014-10-11 Yao Qi <yao@codesourcery.com>
2769
2770 * gdb.threads/thread-find.exp: Don't execute command
2771 "info threads".
2772 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
2773 * gdb.threads/linux-dp.exp: Don't check the condition
2774 $threads_created equals to zero.
2775
3831839c
PA
27762014-10-10 Pedro Alves <palves@redhat.com>
2777
2778 * gdb.base/bigcore.exp: Remove references to IRIX.
2779 * gdb.base/funcargs.exp: Likewise.
2780 * gdb.base/interrupt.exp: Likewise.
2781 * gdb.base/mips_pro.exp: Likewise.
2782 * gdb.base/nodebug.exp: Likewise.
2783 * gdb.base/setvar.exp: Likewise.
2784 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
2785
8b9a549d
PA
27862014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2787 Pedro Alves <palves@redhat.com>
2788
2789 PR symtab/14466
2790 * gdb.base/vdso-warning.c: New file.
2791 * gdb.base/vdso-warning.exp: New file.
2792
d48ba5e8
DE
27932014-10-02 Doug Evans <dje@google.com>
2794
2795 * gdb.base/structs.c (main): Don't run forever.
2796
2278c276
PA
27972014-10-02 Pedro Alves <palves@redhat.com>
2798
2799 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
2800 (top level) <stop threads 1, stop threads 2>: Use it.
2801
b57bacec
PA
28022014-10-02 Pedro Alves <palves@redhat.com>
2803
2804 * gdb.threads/break-while-running.exp (test): Add new
2805 'update_thread_list' argument. Skip "info threads" if false.
2806 (top level): Add new 'update_thread_list' axis.
2807
13fd3ff3
PA
28082014-10-02 Pedro Alves <palves@redhat.com>
2809
2810 PR breakpoints/17431
2811 * gdb.base/execl-update-breakpoints.c: New file.
2812 * gdb.base/execl-update-breakpoints.exp: New file.
2813
0fec99e8
PA
28142014-10-01 Pedro Alves <palves@redhat.com>
2815
2816 * gdb.base/breakpoint-in-ro-region.c: New file.
2817 * gdb.base/breakpoint-in-ro-region.exp: New file.
2818
2ddf4301
SM
28192014-10-01 Simon Marchi <simon.marchi@ericsson.com>
2820
2821 * gdb.mi/mi-exit-code.exp: New file.
2822 * gdb.mi/mi-exit-code.c: New file.
2823
6a5f3f43
YQ
28242014-09-30 Yao Qi <yao@codesourcery.com>
2825
2826 * lib/prelink-support.exp (build_executable_own_libs): Error if
2827 the target isn't native.
2828
345bcc73
YQ
28292014-09-30 Yao Qi <yao@codesourcery.com>
2830
2831 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
2832 false.
2833
a25a5a45
PA
28342014-09-22 Pedro Alves <palves@redhat.com>
2835
2836 * gdb.threads/break-while-running.exp: New file.
2837 * gdb.threads/break-while-running.c: New file.
2838
00ba3162
YQ
28392014-09-19 Yao Qi <yao@codesourcery.com>
2840
2841 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
2842 Invoke test. Restart GDB with --readnow and invoke test again.
2843
c3b7b696
YQ
28442014-09-19 Yao Qi <yao@codesourcery.com>
2845
2846 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
2847 proc set_breakpoint_on_gcd_function. Invoke
2848 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
2849 invoke set_breakpoint_on_gcd_function again.
2850
2b4fd423
DE
28512014-09-18 Doug Evans <dje@google.com>
2852
2853 * gdb.dwarf2/symtab-producer.exp: New file.
2854
a5947601
SDJ
28552014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2856
2857 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
2858 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
2859 * gdb.base/global-var-nested-by-dso.c: Likewise.
2860 * gdb.base/global-var-nested-by-dso.exp: Likewise.
2861
91c19059
SDJ
28622014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2863 Pedro Alves <palves@redhat.com>
2864
2865 * gdb.base/watch-bitfields.exp: Pass string other than test file
2866 name to prepare_for_testing.
2867 (watch): New procedure.
2868 (expect_watchpoint): Use with_test_prefix.
2869 (top level): Factor out tests to ...
2870 (test_watch_location, test_regular_watch): ... these new
2871 procedures, and use with_test_prefix and gdb_continue_to_end.
2872
bb9d5f81
PP
28732014-09-16 Patrick Palka <patrick@parcs.ath.cx>
2874
2875 PR breakpoints/12526
2876 * gdb.base/watch-bitfields.exp: New file.
2877 * gdb.base/watch-bitfields.c: New file.
2878
635856f5
PA
28792014-09-16 Pedro Alves <palves@redhat.com>
2880
2881 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
2882 software and hardware addresses, not software address against
2883 itself.
2884
7280ceea
PA
28852014-09-16 Pedro Alves <palves@redhat.com>
2886
2887 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
2888 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
2889
428b16bd
PA
28902014-09-16 Pedro Alves <palves@redhat.com>
2891
2892 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
2893 files.
2894 * gdb.base/a2-run.exp: Remove all code guarded by istarget
2895 "*-*-vxworks*" throughout.
2896 * gdb.base/break.exp: Likewise.
2897 * gdb.base/default.exp: Likewise.
2898 * gdb.base/scope.exp: Likewise.
2899 * gdb.base/sepdebug.exp: Likewise.
2900 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
2901 throughout.
2902 * gdb.base/run.c: Likewise.
2903 * gdb.base/sepdebug.c: Likewise.
2904 * gdb.hp/gdb.aCC/run.c: Likewise.
2905 * gdb.reverse/until-reverse.c: Likewise.
2906 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
2907
666d413c
YQ
29082014-09-16 Yao Qi <yao@codesourcery.com>
2909
2910 * boards/local-remote-host-native.exp: New file.
2911
57cbd724
DE
29122014-09-14 Doug Evans <xdje42@gmail.com>
2913
2914 * gdb.threads/queue-signal.c (thread_count): New variable.
2915 (thread_count_mutex, thread_count_condvar): New variables.
2916 (incr_thread_count, wait_all_threads_running): New functions.
2917 (main): Wait for all threads to be in their thread functions.
2918
81219e53
DE
29192014-09-13 Doug Evans <xdje42@gmail.com>
2920
2921 * gdb.threads/queue-signal.c: New file.
2922 * gdb.threads/queue-signal.exp: New file.
2923
3714cea7
DE
29242014-09-13 Doug Evans <xdje42@gmail.com>
2925
2926 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
2927 be consistent with what default_gdb_init uses.
2928 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
2929 the plain text of the prompt. Add some logging printfs.
2930 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
2931
fa43b1d7
PA
29322014-09-12 Pedro Alves <palves@redhat.com>
2933
2934 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
2935 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
2936 * gdb.arch/i386-size-overlap.exp: Likewise.
2937 * gdb.arch/i386-size.exp: Likewise.
2938 * gdb.arch/i386-unwind.exp: Likewise.
2939 * gdb.base/a2-run.exp: Likewise.
2940 * gdb.base/break.exp: Likewise.
2941 * gdb.base/charset.exp: Likewise.
2942 * gdb.base/chng-syms.exp: Likewise.
2943 * gdb.base/commands.exp: Likewise.
2944 * gdb.base/dbx.exp: Likewise.
2945 * gdb.base/find.exp: Likewise.
2946 * gdb.base/funcargs.exp: Likewise.
2947 * gdb.base/jit-simple.exp: Likewise.
2948 * gdb.base/reread.exp: Likewise.
2949 * gdb.base/sepdebug.exp: Likewise.
2950 * gdb.base/step-bt.exp: Likewise.
2951 * gdb.cp/mb-inline.exp: Likewise.
2952 * gdb.cp/mb-templates.exp: Likewise.
2953 * gdb.objc/basicclass.exp: Likewise.
2954 * gdb.threads/killed.exp: Likewise.
2955
9d9bf2df
EBM
29562014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2957
2958 PR tdep/17379
2959 * gdb.arch/powerpc-stackless.S: New file.
2960 * gdb.arch/powerpc-stackless.exp: New file.
2961
1cf2f1b0
JK
29622014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2963
2964 * gdb.base/attach.c: Include unistd.h.
2965 (main): Call alarm. Add label postloop.
2966 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
2967 gdb_breakpoint, gdb_continue_to_breakpoint.
2968 (test_command_line_attach_run): Kill ${testpid} in one exit path.
2969
98880d46
PA
29702014-09-11 Pedro Alves <palves@redhat.com>
2971
2972 PR gdb/17347
2973 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
2974 * gdb.base/attach.exp (test_command_line_attach_run): New
2975 procedure.
2976 (top level): Call it.
2977
4c92ff2c
PA
29782014-09-11 Pedro Alves <palves@redhat.com>
2979
2980 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
2981 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
2982 (do_command_attach_tests): Use spawn_wait_for_attach.
2983 * gdb.base/solib-overlap.exp: Likewise.
2984 * gdb.multi/multi-attach.exp: Likewise.
2985 * gdb.python/py-prompt.exp: Likewise.
2986 * gdb.python/py-sync-interp.exp: Likewise.
2987 * gdb.server/ext-attach.exp: Likewise.
2988
3adc1a7d
GKB
29892014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
2990
2991 * gdb.fortran/array-element.exp: Remove unexpected "continue"
2992 command in testcase. Simplify testcase.
2993
96334934
JB
29942014-09-10 Joel Brobecker <brobecker@adacore.com>
2995
2996 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
2997
eb479039
JB
29982014-09-10 Joel Brobecker <brobecker@adacore.com>
2999
3000 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
3001
deede10c
JB
30022014-09-10 Joel Brobecker <brobecker@adacore.com>
3003
3004 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
3005
7828a5f5
JB
30062014-09-10 Joel Brobecker <brobecker@adacore.com>
3007
3008 * gdb.dwarf2/dynarr-ptr.c: New file.
3009 * gdb.dwarf2/dynarr-ptr.exp: New file.
3010
33aeebcf
MR
30112014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3012
3013 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
3014 of 30 rather than hardcoding 120 for a slow test case. Take the
3015 `gdb,timeout' target setting into account for this calculation.
3016 Don't extend the timeout for the test cases that don't need it.
3017
7b415901
MR
30182014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3019
3020 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
3021 a factor of 2 for a slow test case. Take the `gdb,timeout'
3022 target setting into account for this calculation.
3023 * gdb.reverse/until-precsave.exp: Increase the timeout by
3024 a factor of 15 and 3 respectively rather than adding 120
3025 for a pair of slow test cases. Take the `gdb,timeout'
3026 target setting into account for this calculation.
3027
4a40f85a
MR
30282014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3029
3030 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
3031 timeout, don't pass one down to gdb_expect.
3032 (gdb_expect): Rework timeout selection.
3033
09635af7
MR
30342014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3035
3036 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
3037 exception on timeout.
3038 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
3039 (gdbserver_start_extended): Catch any `gdbserver_start' error
3040 exceptions.
3041 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
3042 * lib/mi-support.exp (mi_gdb_target_load): Catch any
3043 `gdbserver_gdb_load' error exceptions.
3044
2bdd10b7
MR
30452014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3046
3047 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
3048 120 on waiting for the TCP socket to open.
3049
316935f0
DE
30502014-09-09 Doug Evans <xdje42@gmail.com>
3051
3052 * gdb.base/default.exp (show_conv_list): Add _caller_is,
3053 _caller_matches, _any_caller_is, _any_caller_matches.
3054
83740597
DE
30552014-09-09 Doug Evans <xdje42@gmail.com>
3056
3057 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
3058
4c122fc3
YQ
30592014-09-09 Yao Qi <yao@codesourcery.com>
3060
3061 * gdb.mi/mi-var-display.exp: Set print symbol off.
3062
a9f116cb
GKB
30632014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
3064
3065 PR gdb/17035
3066 * gdb.base/commands.exp: Add tests to verify user-defined
3067 commands with empty bodies.
3068 * gdb.python/py-cmd.exp: Test that we don't show user-defined
3069 python commands in `show user command`.
3070 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
3071 scheme commands in `show user command`.
3072
c75bd3a2
JK
30732014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3074
3075 PR python/17355
3076 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
3077 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
3078 * gdb.python/py-framefilter-invalidarg.exp: New file.
3079 * gdb.python/py-framefilter-invalidarg.py: New file.
3080
faa42425
DE
30812014-09-06 Doug Evans <xdje42@gmail.com>
3082
3083 PR 15276
3084 * gdb.python/py-caller-is.c: New file.
3085 * gdb.python/py-caller-is.exp: New file.
3086
474ca4f6
SDJ
30872014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
3088
3089 PR gdb/17235
3090 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
3091 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
3092
eb0b0463
SDJ
30932014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
3094
3095 PR fortran/17237
3096 * gdb.fortran/print-formatted.exp: New file.
3097 * gdb.fortran/print-formatted.f90: Likewise.
3098
5f3b99cf
SS
30992014-09-03 Sasha Smundak <asmundak@google.com>
3100
3101 * gdb.python/py-frame.exp: Test Frame.read_register.
3102
7d793aa9
SDJ
31032014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
3104
3105 PR python/16699
3106 * gdb.python/py-completion.exp: New file.
3107 * gdb.python/py-completion.py: Likewise.
3108
fb0576e9
DE
31092014-08-28 Doug Evans <dje@google.com>
3110
3111 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
3112 eax,etc. are live with values set by gdb and thus the compiler can't
3113 use them.
3114 * gdb.arch/i386-pseudo.c (main): Ditto.
3115
ee92b0dd
DE
31162014-08-27 Doug Evans <dje@google.com>
3117
3118 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
3119
6649db35
DE
31202014-08-25 Doug Evans <dje@google.com>
3121
3122 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
3123 (main): Ditto.
3124
564b7600
DE
31252014-08-25 Doug Evans <dje@google.com>
3126
3127 * gdb.threads/thread-execl.exp: #include <stdio.h>.
3128
3881fb67
YQ
31292014-08-24 Yao Qi <yao@codesourcery.com>
3130
3131 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
3132 symbol off.
3133 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
3134
a05a36a5
DE
31352014-08-22 Doug Evans <dje@google.com>
3136
3137 PR 17276
3138 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
3139 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
3140 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
3141
7c343b48
YQ
31422014-08-22 Yao Qi <yao@codesourcery.com>
3143
3144 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
3145 * gdb.python/py-finish-breakpoint2.exp: Likewise.
3146 * gdb.python/python.exp: Likewise. Use .py file on the host
3147 instead of the build.
3148
22fd09ae
JK
31492014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3150
3151 * gdb.threads/gcore-stale-thread.c: New file.
3152 * gdb.threads/gcore-stale-thread.exp: New file.
3153
a8454a7c
PA
31542014-08-21 Pedro Alves <palves@redhat.com>
3155
3156 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
3157 * gdb.base/gcore-relro-pie.exp: Likewise.
3158 * gdb.base/gcore-relro.exp: Likewise.
3159 * gdb.base/gcore.exp: Likewise.
3160 * gdb.base/print-symbol-loading.exp: Likewise.
3161 * gdb.threads/gcore-thread.exp: Likewise.
3162 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
3163
2a31c623
PA
31642014-08-20 Pedro Alves <palves@redhat.com>
3165 Jan Kratochvil <jan.kratochvil@redhat.com>
3166
3167 * Makefile.in (EXTRA_RULES, CC): New variables, get from
3168 configure.
3169 (EXPECT): Handle READ1 being set.
3170 (all): Depend on EXTRA_RULES.
3171 (check-read1, expect-read1, read1.so, read1): New rules.
3172 * README (Testsuite Parameters): Document the READ1 make variable.
3173 (Race detection): New section.
3174 * configure: Regenerate.
3175 * configure.ac: If build==host==target, and running under a
3176 GNU/glibc system, add read1 to the extra Makefile rules.
3177 (EXTRA_RULES): AC_SUBST it.
3178 * lib/read1.c: New file.
3179
d36430db
JB
31802014-08-20 Joel Brobecker <brobecker@adacore.com>
3181
3182 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
3183 the handling of variables declared as a typedef to an array
3184 which a DW_AT_data_location attribute.
3185
9a0dc9e3
PA
31862014-08-19 Andrew Burgess <aburgess@broadcom.com>
3187 Pedro Alves <palves@redhat.com>
3188
3189 PR symtab/14604
3190 PR symtab/14605
3191 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
3192 gdb_test.
3193
0718a8da
PA
31942014-08-19 Pedro Alves <palves@redhat.com>
3195
3196 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
3197
13b448cd
YQ
31982014-08-19 Yao Qi <yao@codesourcery.com>
3199
3200 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
3201 right line.
3202
1cbf5077
DB
32032014-08-18 David Blaikie <dblaikie@gmail.com>
3204
3205 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
3206
bf0fae19
JB
32072014-08-18 Joel Brobecker <brobecker@adacore.com>
3208
3209 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
3210 attribute in array range.
3211
3c8c5dcc
JB
32122014-08-18 Joel Brobecker <brobecker@adacore.com>
3213
3214 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
3215
e66d4446
SC
32162014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3217
3218 PR c++/17132
3219 * gdb.cp/pr17132.cc: New file.
3220 * gdb.cp/pr17132.exp: New file.
3221
940df408
SC
32222014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3223
3224 * gdb.python/py-xmethods.py (A_getarrayind)
3225 (E_method_char_worker.__call__, E_method_int_worker.__call__):
3226 Use 'print' with function call syntax.
3227 (E_method_matcher.match): Fix tab vs space indentation mixup.
3228
ebcc6c3a
YQ
32292014-08-15 Yao Qi <yao@codesourcery.com>
3230
3231 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
3232 false.
3233
775e0f04
YQ
32342014-08-15 Yao Qi <yao@codesourcery.com>
3235
3236 * gdb.cp/casts.exp: Set print symbol off.
3237 * gdb.cp/class2.exp: Likewise.
3238 * gdb.cp/overload.exp: Likewise.
3239 * gdb.cp/templates.exp: Likewise.
3240
d769e349
DE
32412014-08-11 Doug Evans <dje@google.com>
3242
3243 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3244 (test_load_shlib): Update.
3245
20c6f1e1
YQ
32462014-08-09 Yao Qi <yao@codesourcery.com>
3247
3248 * gdb.base/display.exp: Invoke is_address_zero_readable.
3249 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
3250 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
3251 * gdb.base/hbreak-unmapped.exp: Return if
3252 is_address_zero_readable returns true.
3253 * gdb.base/signest.exp: Likewise.
3254 * gdb.base/signull.exp: Likewise.
3255 * gdb.base/sigbpt.exp: Likewise.
3256 * gdb.guile/scm-disasm.exp: Do the test if
3257 is_address_zero_readable returns false.
3258 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
3259 * gdb.python/py-arch.exp: Likewise.
3260 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
3261 * lib/gdb.exp (is_address_zero_readable): New proc.
3262
5792e8e3
YQ
32632014-08-09 Yao Qi <yao@codesourcery.com>
3264
3265 PR testsuite/13443
3266 * gdb.mi/mi-var-display.exp: Make test messages unique.
3267
3cecbbbe
TT
32682014-08-04 Tom Tromey <tromey@redhat.com>
3269
3270 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
3271 target 0".
3272
00b51ff5
TT
32732014-08-04 Tom Tromey <tromey@redhat.com>
3274
3275 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
3276 "target_resume".
3277
6908c509
JB
32782014-08-01 Joel Brobecker <brobecker@adacore.com>
3279
3280 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
3281 inner_vla_struct_object_size.
3282 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
3283 as xfail.
3284
cc6563d2
PA
32852014-07-30 Pedro Alves <palves@redhat.com>
3286
3287 * gdb.threads/signal-command-handle-nopass.exp (test): Add
3288 comment.
3289
7e09a223
YQ
32902014-07-29 Yao Qi <yao@codesourcery.com>
3291
3292 PR gdb/17206
3293 * gdb.base/until-nodebug.exp: New.
3294
7ebdbe92
DE
32952014-07-28 Doug Evans <xdje42@gmail.com>
3296
3297 PR guile/17203
3298 * gdb.guile/scm-parameter.exp: Add tests for trying to create
3299 previously existing parameter, and previously ambiguously spelled
3300 parameter.
3301
fdb1adc6
WN
33022014-07-28 Will Newton <will.newton@linaro.org>
3303
3304 * gdb.base/varargs.exp: Remove KFAILs for ARM.
3305
186fcde0
DE
33062014-07-26 Ludovic Courtès <ludo@gnu.org>
3307 Doug Evans <xdje42@gmail.com>
3308
3309 PR guile/17146
3310 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
3311
70509625
PA
33122014-07-25 Pedro Alves <palves@redhat.com>
3313
3314 * gdb.threads/signal-command-handle-nopass.c: New file.
3315 * gdb.threads/signal-command-handle-nopass.exp: New file.
3316 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
3317 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
3318 * gdb.threads/signal-delivered-right-thread.c: New file.
3319 * gdb.threads/signal-delivered-right-thread.exp: New file.
3320
c3f814a1
PA
33212014-07-25 Pedro Alves <palves@redhat.com>
3322
3323 * gdb.base/double-prompt-target-event-error.exp
3324 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
3325 match.
3326 (cancel_pagination_in_target_event): Rework double prompt
3327 detection.
3328 * gdb.base/paginate-after-ctrl-c-running.exp
3329 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
3330 <return>' match.
3331 * gdb.base/paginate-bg-execution.exp
3332 (test_bg_execution_pagination_return)
3333 (test_bg_execution_pagination_cancel): Remove '-notransfer
3334 <return>' matches.
3335 * gdb.base/paginate-execution-startup.exp
3336 (test_fg_execution_pagination_return)
3337 (test_fg_execution_pagination_cancel): Remove '-notransfer
3338 <return>' matches.
3339 * gdb.base/paginate-inferior-exit.exp
3340 (test_paginate_inferior_exited): Remove '-notransfer <return>'
3341 match.
3342 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
3343 * lib/gdb.exp (pagination_prompt): Run text through
3344 string_to_regexp.
3345 (gdb_test_multiple): Match $pagination_prompt instead of
3346 "<return>".
3347 (string_to_regexp): Move to lib/gdb-utils.exp.
3348
e214cf6c
JK
33492014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3350
3351 * gdb.arch/amd64-entry-value-paramref.S: New file.
3352 * gdb.arch/amd64-entry-value-paramref.cc: New file.
3353 * gdb.arch/amd64-entry-value-paramref.exp: New file.
3354 * gdb.arch/amd64-optimout-repeat.S: New file.
3355 * gdb.arch/amd64-optimout-repeat.c: New file.
3356 * gdb.arch/amd64-optimout-repeat.exp: New file.
3357
17d0c5c8
JK
33582014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3359
3360 PR gdb/17170
3361 * gdb.base/statistics.exp: New file.
3362
b8b8facf
DE
33632014-07-17 Doug Evans <dje@google.com>
3364
74b49205 3365 PR gdb/17170
b8b8facf
DE
3366 * gdb.base/maint.exp: Update testing of per-command stats.
3367
1b5d0ab3
PA
33682014-07-16 Pedro Alves <palves@redhat.com>
3369
3370 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
3371 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
3372 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
3373 (tfile_write_buf): New functions.
3374 (add_memory_block): Rewrite using the above.
3375 (adjust_function_address): New function.
3376 (FUNCTION_ADDRESS): New macro.
3377 (write_basic_trace_file): Remove short_x local, and use
3378 tfile_write_16. Change type of func_addr local to unsigned long
3379 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
3380 here. Cast argument of add_memory_block to char pointer.
3381 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
3382 (main): Remove parameters.
3383 * gdb.trace/tfile.exp: Remove nowarnings.
3384
4d974e88
SM
33852014-07-15 Simon Marchi <simon.marchi@ericsson.com>
3386
3387 * gdb.base/debug-expr.exp: Test string evaluation with
3388 "debug expression" on.
3389
41e99568
PA
33902014-07-15 Pedro Alves <palves@redhat.com>
3391
3392 * gdb.base/reread.exp: Use clean_restart.
3393
487d9753
PL
33942014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
3395
3396 * gdb.arch/avr-flash-qualifer.c: New.
3397 * gdb.arch/avr-flash-qualifer.exp: New.
3398
cc1c52ad
PA
33992014-07-14 Pedro Alves <palves@redhat.com>
3400
3401 * gdb.base/paginate-after-ctrl-c-running.c: New file.
3402 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
3403
1e973570
PA
34042014-07-14 Pedro Alves <palves@redhat.com>
3405
3406 * gdb.base/double-prompt-target-event-error.c: New file.
3407 * gdb.base/double-prompt-target-event-error.exp: New file.
3408
93d6eb10
PA
34092014-07-14 Pedro Alves <palves@redhat.com>
3410
3411 PR gdb/17072
3412 * gdb.base/paginate-inferior-exit.c: New file.
3413 * gdb.base/paginate-inferior-exit.exp: New file.
3414
0017922d
PA
34152014-07-14 Pedro Alves <palves@redhat.com>
3416
3417 PR gdb/17072
3418 * gdb.base/paginate-bg-execution.c: New file.
3419 * gdb.base/paginate-bg-execution.exp: New file.
3420
94696ad3
PA
34212014-07-14 Pedro Alves <palves@redhat.com>
3422
3423 PR gdb/17072
3424 * gdb.base/paginate-execution-startup.c: New file.
3425 * gdb.base/paginate-execution-startup.exp: New file.
3426 * lib/gdb.exp (pagination_prompt): New global.
3427 (default_gdb_spawn): New procedure, factored out from
3428 default_gdb_spawn.
3429 (default_gdb_start): Adjust to call default_gdb_spawn.
3430 (gdb_spawn): New procedure.
3431
bd293940
PA
34322014-07-14 Pedro Alves <palves@redhat.com>
3433
3434 * lib/gdb.exp (gdb_assert): New procedure.
3435 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
3436
c933f875
PA
34372014-07-14 Pedro Alves <palves@redhat.com>
3438
3439 * gdb.base/execution-termios.c: New file.
3440 * gdb.base/execution-termios.exp: New file.
3441
d98b7a16
TT
34422014-07-14 Tom Tromey <tromey@redhat.com>
3443
3444 * gdb.cp/vla-cxx.cc: New file.
3445 * gdb.cp/vla-cxx.exp: New file.
3446
548740d6
TT
34472014-07-14 Tom Tromey <tromey@redhat.com>
3448
3449 * gdb.reverse/rerun-prec.c: New file.
3450 * gdb.reverse/rerun-prec.exp: New file.
3451
a25eb028
MR
34522014-07-12 Maciej W. Rozycki <macro@mips.com>
3453 Maciej W. Rozycki <macro@codesourcery.com>
3454
3455 * lib/gdb-utils.exp: New file.
3456 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
3457 inline `gdb_init_command' processing.
3458 (gdb_start_cmd): Likewise.
3459 * lib/mi-support.exp (mi_run_cmd): Likewise.
3460 * README: Document `gdb_init_command' and `gdb_init_commands'.
3461
218c2655
JK
34622014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3463
3464 Fix false FAIL running under a very long directory name.
3465 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
3466 and "set print elements 10000". Twice.
3467
5401fde3
YQ
34682014-07-11 Yao Qi <yao@codesourcery.com>
3469
3470 * gdb.base/exprs.exp: "set print symbol off".
3471
e76126e8
PA
34722014-07-11 Pedro Alves <palves@redhat.com>
3473
3474 * gdb.threads/kill.c: New file.
3475 * gdb.threads/kill.exp: New file.
3476
2d6f0de6
YQ
34772014-07-10 Yao Qi <yao@codesourcery.com>
3478
3479 * gdb.trace/tfile.c (write_basic_trace_file)
3480 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
3481 address written to trace file.
3482
7180e04a
PA
34832014-07-09 Pedro Alves <palves@redhat.com>
3484
3485 * gdb.base/attach-wait-input.exp: New file.
3486 * gdb.base/attach-wait-input.c: New file.
3487
9a9a7608
AB
34882014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3489
3490 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
3491 setting up test structures.
3492 (main): Call new test function.
3493 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
3494 test function, continue into test function and walk test
3495 structures.
3496
161ac41e
YQ
34972014-07-02 Yao Qi <yao@codesourcery.com>
3498
3499 * gdb.trace/entry-values.c: Define labels 'foo_start' and
3500 'bar_start' at the beginning of functions 'foo' and 'bar'
3501 respectively.
3502 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
3503 instead of 'foo' and 'bar'.
3504
1f267ae3
MM
35052014-07-08 Markus Metzger <markus.t.metzger@intel.com>
3506
3507 * gdb.btrace/segv.exp: New.
3508 * gdb.btrace/segv.c: New.
3509
2b239efb
LM
35102014-07-02 Luis Machado <lgustavo@codesourcery.com>
3511
3512 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
3513 instruction.
3514
cf363f18
MW
35152014-06-30 Mark Wielaard <mjw@redhat.com>
3516
3517 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
3518 vulture, vilify, villar): New volatile array constants.
3519 (vindictive, vegetation): New const volatile array constants.
3520 * gdb.base/volatile.exp: Test volatile and const volatile array
3521 types.
3522
aebf9d24
AA
35232014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
3524
3525 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
3526 target lacks support for awatch, rwatch, or hbreak.
3527
b67a2c6f
YQ
35282014-06-27 Yao Qi <yao@codesourcery.com>
3529
3530 * gdb.multi/dummy-frame-restore.exp: New.
3531 * gdb.multi/dummy-frame-restore.c: New.
3532
aef92902
MM
35332014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3534
3535 * gdb.btrace/gcore.exp: New.
3536
8e9db26e
PA
35372014-06-23 Pedro Alves <palves@redhat.com>
3538
3539 * gdb.base/watchpoint-reuse-slot.c: New file.
3540 * gdb.base/watchpoint-reuse-slot.exp: New file.
3541
70afc5b7
SC
35422014-06-23 Siva Chandra Reddy <sivachandra@google.com>
3543
3544 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
3545 progspace's filename in 'info', 'enable' and 'disable' command
3546 tests.
3547
b972bd9c
JK
35482014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3549
3550 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
3551 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3552 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
3553
125f8a3d
GB
35542014-06-20 Gary Benson <gbenson@redhat.com>
3555
3556 * gdb.arch/i386-avx.exp: Fix include file location.
3557 * gdb.arch/i386-sse.exp: Likewise.
3558
3ed9baed
IB
35592014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
3560
3561 * gdb.dlang/expression.exp: New file.
3562
034f788c
PA
35632014-06-19 Pedro Alves <palves@redhat.com>
3564
3565 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
3566 out from ...
3567 (top level): ... here. Iterate running tests under different
3568 scheduler-locking settings.
3569
45371d0c
LM
35702014-06-18 Luis Machado <lgustavo@codesourcery.com>
3571
3572 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
3573 to DW_FORM_addr and use non-zero addresses.
3574
5d376983
SC
35752014-06-18 Siva Chandra Reddy <sivachandra@google.com>
3576
3577 PR gdb/17017
3578 * gdb.python/py-xmethods.cc: Add global function call counters and
3579 increment them in their respective functions. Remove "cout"
3580 statements.
3581 * gdb.python/py-xmethods.exp: Make tests check the global function
3582 call counters instead of depending on inferior IO.
3583
a1aa2221
LM
35842014-06-18 Don Breazeal <donb@codesourcery.com>
3585
3586 * gdb.base/foll-fork.exp (default_fork_parent_follow):
3587 Deleted procedure.
3588 (explicit_fork_parent_follow): Deleted procedure.
3589 (explicit_fork_child_follow): Deleted procedure.
3590 (test_follow_fork): New procedure.
3591 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 3592 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
3593 procedure calls.
3594
0fc05997
YQ
35952014-06-17 Yao Qi <yao@codesourcery.com>
3596
3597 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
3598 CP1252.
3599
70795c52
LM
36002014-06-17 Luis Machado <lgustavo@codesourcery.com>
3601
3602 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
3603 Initialize ptr and S explicitly.
3604 (skip_type_update_when_not_use_rtti_test): Likewise.
3605
6be47f0c
KS
36062014-06-16 Keith Seitz <keiths@redhat.com>
3607
3608 PR mi/15863
3609 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
3610 the inferior is started.
3611
d03de421
PA
36122014-06-16 Pedro Alves <palves@redhat.com>
3613
3614 * gdb.base/break-main-file-remove-fail.c: New file.
3615 * gdb.base/break-main-file-remove-fail.exp: New file.
3616 * gdb.base/break-unload-file.exp: Use build_executable instead of
3617 prepare_for_testing.
3618 (test_break): New parameter "initial_load". Handle it.
3619 (top level): Add initial_load cmdline/file axis.
3620
f9579b99
TT
36212014-06-12 Tom Tromey <tromey@redhat.com>
3622
3623 * gdb.base/completion.exp: Don't use directory name in test.
3624
3657956b
GB
36252014-06-09 Gary Benson <gbenson@redhat.com>
3626
3627 * gdb.base/sigall.c [Functions to send signals]: Reorder to
3628 separate the always-available ANSI-standard signals from the
3629 signals that require checking.
3630 (main): Likewise.
3631 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
3632 Likewise.
3633 (main): Likewise.
3634
4186eb54
KS
36352014-06-07 Keith Seitz <keiths@redhat.com>
3636
3637 Revert:
3638 PR c++/16253
3639 * gdb.cp/var-tag.cc: New file.
3640 * gdb.cp/var-tag.exp: New file.
3641 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3642 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3643 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3644 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3645
25326a28 36462014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
3647
3648 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
3649
829155c9
PA
36502014-06-06 Pedro Alves <palves@redhat.com>
3651
3652 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
3653 in target debug output instead of looking at RSP packets,
3654 disabling the test on any target that uses hardware stepping.
3655 Update comments.
3656
61c8d22e
PA
36572014-06-06 Pedro Alves <palves@redhat.com>
3658
3659 * gdb.base/break-unload-file.exp: Fix typo.
3660
d9a47287
YQ
36612014-06-06 Yao Qi <yao@codesourcery.com>
3662
3663 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
3664 from "jit_function" to "^jit_function".
3665
e5e01dbf
YQ
36662014-06-06 Yao Qi <yao@codesourcery.com>
3667
3668 * gdb.base/async.c (foo): Add one statement.
3669 * gdb.base/async.exp: Get the next instruction address and
3670 match the output of "nexti" by instruction address. Match
3671 the hex address in the output of "finish".
3672
73ba372c
GB
36732014-06-06 Gary Benson <gbenson@redhat.com>
3674
3675 * gdb.base/call-signals.c: Remove preprocessor conditionals
3676 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
3677 SIGSEGV and SIGTERM.
3678 * gdb.base/sigall.c: Likewise.
3679 * gdb.base/unwindonsignal.c: Likewise.
3680 * gdb.reverse/sigall-reverse.c: Likewise.
3681
831517df
YQ
36822014-06-06 Yao Qi <yao@codesourcery.com>
3683
3684 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
3685 readable, skip the test.
3686
b8b91e98
YQ
36872014-06-06 Yao Qi <yao@codesourcery.com>
3688
3689 * gdb.threads/staticthreads.c (thread_function): Move the line
3690 setting breakpoint on forward.
3691 * gdb.threads/staticthreads.exp: Update comments.
3692
fb934770
LC
36932014-06-05 Ludovic Courtès <ludo@gnu.org>
3694
3695 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
3696 "history-append! type error".
3697
6ef284bd
SM
36982014-06-05 Simon Marchi <simon.marchi@ericsson.com>
3699
3700 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
3701 erroneous dprintf expected input.
3702
a872e241
DE
37032014-06-04 Doug Evans <xdje42@gmail.com>
3704
3705 * gdb.guile/scm-generics.exp: Delete.
3706
16f691fb
DE
37072014-06-04 Doug Evans <xdje42@gmail.com>
3708
3709 * gdb.guile/scm-breakpoint.exp: Update.
3710 Add tests for breakpoint registration.
3711
012370f6
TT
37122014-06-04 Tom Tromey <tromey@redhat.com>
3713
3714 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
3715 VLA-in-union.
3716 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
3717 inner_vla_struct, vla_union types. Initialize objects of those
3718 types and compute their sizes.
3719
9f5a4cef
HZ
37202014-06-04 Nathan Sidwell <nathan@codesourcery.com>
3721 Hui Zhu <hui@codesourcery.com>
3722
3723 * gdb.base/fileio.exp: Add test for shell not available as well as
3724 available.
3725 * gdb.base/fileio.c (test_system): Check for shell twice.
3726
90a45c4d
YQ
37272014-06-04 Yao Qi <yao@codesourcery.com>
3728
3729 * gdb.base/auto-connect-native-target.exp: Remove redundant
3730 space from the regexp pattern.
3731
70017e41
YQ
37322014-06-04 Yao Qi <yao@codesourcery.com>
3733
3734 * gdb.base/default.exp: Replace "child" with "native" in
3735 regexp pattern.
3736
883964a7
SC
37372014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3738
3739 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
3740 * gdb.python/py-xmethods.exp: New tests to test xmethods.
3741 * gdb.python/py-xmethods.py: Python script supporting the
3742 new testcase and tests.
3743
ef370185
JB
37442014-06-03 Joel Brobecker <brobecker@adacore.com>
3745 Pedro Alves <palves@redhat.com>
3746
3747 PR breakpoints/17000
3748 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
3749 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
3750
1e2ccb61
BM
37512014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
3752
3753 * gdb.base/subst.exp: Add tests to verify partial path matching
3754 output.
3755
c6ec5ab2
PA
37562014-06-03 Pedro Alves <palves@redhat.com>
3757
3758 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
3759 target that doesn't use software single-stepping.
3760
835c559f
PA
37612014-06-03 Pedro Alves <palves@redhat.com>
3762
3763 PR breakpoints/17000
3764 * gdb.base/sss-bp-on-user-bp-2.c: New file.
3765 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
3766
06eb1586
DE
37672014-06-02 Doug Evans <xdje42@gmail.com>
3768
3769 * gdb.guile/scm-parameter.exp: New file.
3770
e698b8c4
DE
37712014-06-02 Doug Evans <xdje42@gmail.com>
3772
3773 * gdb.guile/scm-cmd.c: New file.
3774 * gdb.guile/scm-cmd.exp: New file.
3775
ded03782
DE
37762014-06-02 Doug Evans <xdje42@gmail.com>
3777
3778 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
3779 pretty-printer lookup.
3780 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
3781 (make-pp_s-printer): Call it.
3782 (make-pretty-printer-from-dict): New function.
3783 (lookup-pretty-printer-maker-from-dict): New function.
3784 (*pretty-printer*): Simplify.
3785 (make-objfile-pp_s-printer): New function.
3786 (install-objfile-pretty-printers!): New function.
3787 (make-progspace-pp_s-printer): New function.
3788 (install-progspace-pretty-printers!): New function.
3789 * gdb.guile/scm-progspace.c: New file.
3790 * gdb.guile/scm-progspace.exp: New file.
3791
41fac0cf
PA
37922014-06-02 Pedro Alves <palves@redhat.com>
3793
3794 * gdb.base/dprintf-bp-same-addr.c: New file.
3795 * gdb.base/dprintf-bp-same-addr.exp: New file.
3796
96ae5695
EBM
37972014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3798
3799 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
3800 * gdb.arch/powerpc-power.s: Likewise.
3801
da02b3a8
JB
38022014-06-02 Joel Brobecker <brobecker@adacore.com>
3803
3804 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
3805
c72b2e7b
YQ
38062014-06-01 Yao Qi <yao@codesourcery.com>
3807
3808 * gdb.base/watchpoint.exp (test_watch_location): Check null
3809 pointer can be dereferenced. If not, do the test, otherwise
3810 skip it.
3811
53e8a631
AB
38122014-05-30 Andrew Burgess <aburgess@broadcom.com>
3813
3814 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
3815 results.
3816 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
3817
938f0e2f
AB
38182014-05-30 Andrew Burgess <aburgess@broadcom.com>
3819
3820 * gdb.arch/amd64-invalid-stack-middle.S: New file.
3821 * gdb.arch/amd64-invalid-stack-middle.c: New file.
3822 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
3823 * gdb.arch/amd64-invalid-stack-top.c: New file.
3824 * gdb.arch/amd64-invalid-stack-top.exp: New file.
3825
9ba6657a
PA
38262014-05-30 Pedro Alves <palves@redhat.com>
3827
3828 PR breakpoints/17000
3829 * gdb.base/sss-bp-on-user-bp.c: New file.
3830 * gdb.base/sss-bp-on-user-bp.exp: New file.
3831
522c09bf
DB
38322014-05-30 David Blaikie <dblaikie@gmail.com>
3833
3834 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
3835 gnu_inline semantics via attribute.
3836 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
3837 source explicitly specifies the required semantics.
3838
bf4ef81e
MR
38392014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
3840
3841 * gdb.reverse/sigall-reverse.exp: Fix a typo.
3842
329ea579
PA
38432014-05-29 Pedro Alves <palves@redhat.com>
3844 Tom Tromey <tromey@redhat.com>
3845
3846 * gdb.base/async-shell.exp: Don't enable target-async.
3847 * gdb.base/async.exp
3848 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
3849 parameter. Adjust.
3850 (top level): Don't test with "target-async".
3851 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
3852 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
3853 * gdb.base/inferior-died.exp: Don't enable target-async.
3854 * gdb.base/interrupt-noterm.exp: Likewise.
3855 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
3856 * gdb.mi/mi-nonstop-exit.exp: Likewise.
3857 * gdb.mi/mi-nonstop.exp: Likewise.
3858 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
3859 * gdb.mi/mi-nsintrall.exp: Likewise.
3860 * gdb.mi/mi-nsmoribund.exp: Likewise.
3861 * gdb.mi/mi-nsthrexec.exp: Likewise.
3862 * gdb.mi/mi-watch-nonstop.exp: Likewise.
3863 * gdb.multi/watchpoint-multi.exp: Adjust comment.
3864 * gdb.python/py-evsignal.exp: Don't enable target-async.
3865 * gdb.python/py-evthreads.exp: Likewise.
3866 * gdb.python/py-prompt.exp: Likewise.
3867 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
3868 * gdb.server/solib-list.exp: Don't enable target-async.
3869 * gdb.threads/thread-specific-bp.exp: Likewise.
3870 * lib/mi-support.exp: Adjust to use mi-async.
3871
fd664c91
PA
38722014-05-29 Pedro Alves <palves@redhat.com>
3873
3874 PR gdb/13860
3875 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
3876 reason, even in sync mode.
3877
251bde03
PA
38782014-05-29 Pedro Alves <palves@redhat.com>
3879 Hui Zhu <hui@codesourcery.com>
3880
3881 PR PR15693
3882 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
3883 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
3884 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
3885 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
3886
7f3c0343
JB
38872014-05-28 Joel Brobecker <brobecker@adacore.com>
3888
3889 * config/monitor.exp (gdb_target_monitor): Replace use of
3890 "set remotebaud" by "set serial baud".
3891
b2715b27
AW
38922014-05-26 Andy Wingo <wingo@igalia.com>
3893
3894 * gdb.guile/scm-breakpoint.exp:
3895 * gdb.guile/scm-gsmob.exp: Update to use plain old object
3896 properties instead of gdb-object-properties.
3897
498a4489
YQ
38982014-05-26 Yao Qi <yao@codesourcery.com>
3899
3900 * gdb.server/no-thread-db.exp: Specify source file name
3901 explicitly when setting a breakpoint.
3902
589fdceb
MM
39032014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3904
3905 * gdb.btrace/vdso.c: New.
3906 * gdb.btrace/vdso.exp: New.
3907
e9089e05
MM
39082014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3909
3910 * gdb.base/gcore.exp (capture_command_output): Move ...
3911 * lib/gdb.exp (capture_command_output): ... here.
3912
67b5c0c1
MM
39132014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3914
3915 * gdb.btrace/data.exp: Test memory access during btrace replay.
3916
a2199296
SM
39172014-05-22 Simon Marchi <simon.marchi@ericsson.com>
3918
3919 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
3920
17b2616c
PA
39212014-05-21 Pedro Alves <palves@redhat.com>
3922
3923 PR gdb/13860
3924 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
3925 (top level): Test that output related to execution commands is
3926 sent to the console with CLI commands, but not with MI commands.
3927 Test that breakpoint events are always mirrored to the console.
3928 Also expect the new source line to be output after a "next" in
3929 async mode too. Make it a pass/fail test.
3930 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
3931 output.
3932 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
3933
5166082f
PA
39342014-05-21 Pedro Alves <palves@redhat.com>
3935
3936 * gdb.base/list.exp (build_pattern, test_list): New procedures.
3937 Use them to test variations of "list" after reaching a breakpoint.
3938 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
3939 Test "list" with listsize 10 after reaching a breakpoint.
3940 * gdb.python/python.exp (decode_line current location line
3941 number): Adjust expected line number.
3942
2f25d70f
SM
39432014-05-21 Simon Marchi <simon.marchi@ericsson.com>
3944
3945 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
3946 behavior for $args, pass it directly to "run".
3947
ff604a67
MR
39482014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3949
3950 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
3951 30000 to 65536.
3952
6a3cb8e8
PA
39532014-05-21 Pedro Alves <palves@redhat.com>
3954
3955 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
3956 auto-connect-native-target off".
3957 * gdb.base/auto-connect-native-target.c: New file.
3958 * gdb.base/auto-connect-native-target.exp: New file.
3959
4ebfc96e
PA
39602014-05-21 Pedro Alves <palves@redhat.com>
3961
3962 * gdb.base/default.exp: Test "target native" instead of "target
3963 child".
3964
36d46afb
MW
39652014-05-21 Mark Wielaard <mjw@redhat.com>
3966
3967 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3968
5876f503
JK
39692014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3970
3971 Fix TLS access for -static -pthread.
3972 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
3973 <HAVE_TLS> (thread_function, main): Initialize it.
3974 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
3975 Add clean_restart.
3976 <$have_tls != "">: Check TLSVAR.
3977
0256a6ac
PA
39782014-05-21 Pedro Alves <palves@redhat.com>
3979
3980 * gdb.base/dcache-line-read-error.c: New.
3981 * gdb.base/dcache-line-read-error.exp: New.
3982
936d2992
PA
39832014-05-20 Pedro Alves <palves@redhat.com>
3984
3985 * gdb.base/compare-sections.c: New file.
3986 * gdb.base/compare-sections.exp: New file.
3987
802e8e6d
PA
39882014-05-20 Pedro Alves <palves@redhat.com>
3989
3990 * gdb.base/break-idempotent.c: New file.
3991 * gdb.base/break-idempotent.exp: New file.
3992
e59fa00f
MM
39932014-05-20 Markus Metzger <markus.t.metzger@intel.com>
3994
3995 * gdb.btrace/nohist.exp: New.
3996
8b696e31
YQ
39972014-05-20 Yao Qi <yao@codesourcery.com>
3998
3999 * lib/gdb.exp (gdb_init): Set timeout if test file is under
4000 gdb.reverse directory and gdb_reverse_timeout exists in board
4001 setting.
4002 * README: Document gdb_reverse_timeout.
4003
73c9764f
YQ
40042014-05-20 Yao Qi <yao@codesourcery.com>
4005
4006 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
4007 'test_file_name'. Treat args as a string instead of a list.
4008 (gdb_init): Rename argument 'args' by 'test_file_name'.
4009
f1f4348a
JK
40102014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4011
4012 * gdb.arch/powerpc-power.exp: New file.
4013 * gdb.arch/powerpc-power.s: New file.
4014
0dbe70ce
DE
40152014-05-16 Doug Evans <dje@google.com>
4016
4017 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
4018 * gdb.base/completion.exp: Check that all expected files exist
4019 before doing file completion.
0dbe70ce 4020
8d551b02
DE
40212014-05-16 Doug Evans <dje@google.com>
4022
4023 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
4024 Update.
4025 (do_syscall_tests_without_xml): Update.
4026
73eb7709
PA
40272014-05-16 Pedro Alves <palves@redhat.com>
4028
4029 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
4030 instead of "unknown output after running".
4031
3fae92fc
YQ
40322014-05-16 Yao Qi <yao@codesourcery.com>
4033
4034 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
4035 file1.txt from host at the end.
4036 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4037
c2b2ccc5
DE
40382014-05-15 Doug Evans <dje@google.com>
4039
4040 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
4041 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
4042 loading file. Add test for TU lookup.
4043
8c217a4b
SM
40442014-05-15 Simon Marchi <simon.marchi@ericsson.com>
4045
4046 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
4047 calling "-exec-arguments" or "set args" before running the
4048 inferior.
4049
3deb39c6
SM
40502014-05-15 Simon Marchi <simon.marchi@ericsson.com>
4051
4052 * lib/mi-support.exp (mi_expect_stop): Expect message for
4053 inferiors that exit with non-zero exit code.
4054
71a79f8c
YQ
40552014-05-14 Yao Qi <yao@codesourcery.com>
4056
4057 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
4058 match absolute path on remote host.
4059 (test_file_list_exec_source_files): Remove "/" from the
4060 pattern.
4061
f23fcd46
YQ
40622014-05-14 Yao Qi <yao@codesourcery.com>
4063
4064 * boards/local-remote-host-notty.exp (${board}_file): New
4065 proc.
4066
9404b58f
KM
40672014-05-07 Kyle McMartin <kyle@redhat.com>
4068
4069 Pushed by Joel Brobecker <brobecker@adacore.com>.
4070 * gdb.arch/aarch64-atomic-inst.c: New file.
4071 * gdb.arch/aarch64-atomic-inst.exp: New file.
4072
5e45f04c
YQ
40732014-05-07 Yao Qi <yao@codesourcery.com>
4074
4075 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
4076 in current context" too.
4077
c888a17d
KS
40782014-05-05 Keith Seitz <keiths@redhat.com>
4079
4080 * gdb.linespec/ls-dollar.exp: Add test for linespec
4081 file:convenience_variable.
4082
290a839c
YQ
40832014-05-05 Yao Qi <yao@codesourcery.com>
4084
4085 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
4086 traceframes into tfile and ctf trace files. Read data from
4087 trace file and test collected data.
4088 (gdb_collect_locals_test): Likewise.
4089 (gdb_unavailable_registers_test): Likewise.
4090 (gdb_unavailable_floats): Likewise.
4091 (gdb_collect_globals_test): Likewise.
4092 (top-level): Append "ctf" to trace_file_targets if GDB
4093 supports.
4094
b5262cd0
YQ
40952014-05-05 Yao Qi <yao@codesourcery.com>
4096
4097 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
4098 code to ...
4099 (gdb_collect_args_test_1): ... it. New proc.
4100 (gdb_collect_locals_test): Move some code to ...
4101 (gdb_collect_locals_test_1): ... it. New proc.
4102 (gdb_unavailable_registers_test): Move some code to ...
4103 (gdb_unavailable_registers_test_1): ... it. New proc.
4104 (gdb_unavailable_floats): Move some code to ...
4105 (gdb_unavailable_floats_1): ... it. New proc.
4106
30a1e6cc
SDJ
41072014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4108
4109 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
4110 probes to test for bitness recognition.
4111 * gdb.arch/amd64-stap-optional-prefix.exp
4112 (test_probe_value_without_reg): New procedure.
4113 Add code to test for different kinds of bitness.
4114
f33da99a
SDJ
41152014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4116
4117 PR breakpoints/16889
4118 * gdb.arch/amd64-stap-optional-prefix.S: New file.
4119 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
4120
5b80f00d
PA
41212014-05-01 Pedro Alves <palves@redhat.com>
4122
4123 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
4124 gdb_file_cmd if no file is specified.
4125 * boards/native-extended-gdbserver.exp (gdb_load): Use the
4126 last_loaded_file to set the remote exec-file.
4127
f8c2a73c
PA
41282014-05-01 Pedro Alves <palves@redhat.com>
4129
4130 * boards/local-remote-host.exp: New file.
4131
be6e8ac7
PA
41322014-05-01 Pedro Alves <palves@redhat.com>
4133
4134 * boards/local-remote-host.exp: Rename to ...
4135 * boards/local-remote-host-notty.exp: ... this.
4136
cac0dc8f
JB
41372014-04-28 Joel Brobecker <brobecker@adacore.com>
4138
4139 * gdb.ada/dyn_arrayidx: New testcase.
4140
9730e6cc
YQ
41412014-04-26 Yao Qi <yao@codesourcery.com>
4142
4143 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
4144 and compute the length of function main. Save it in
4145 $main_length.
4146 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
4147 (top-level): Use gdb_compile to compile objects into
4148 executable and restart GDB. Remove invocation to
4149 prepare_for_testing.
4150
7ae1a6a6
PA
41512014-04-25 Simon Marchi <simon.marchi@ericsson.com>
4152 Pedro Alves <palves@redhat.com>
4153
4154 PR server/16255
4155 * gdb.multi/multi-attach.c: New file.
4156 * gdb.multi/multi-attach.exp: New file.
4157
4082afcc
PA
41582014-04-25 Pedro Alves <palves@redhat.com>
4159
4160 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
4161 user.
4162 (top level): Test that "set remote conditional-breakpoints-packet
4163 off" works as intended.
4164 * gdb.base/dprintf.exp: Test that "set remote
4165 breakpoint-commands-packet off" works as intended.
4166 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
4167 New function.
4168 (top level): Call it.
4169 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
4170 remote fast-tracepoints-packet off" works as intended.
4171 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
4172 * lib/gdb.exp (gdb_is_target_remote): ... here.
4173
2abc3f8d
DB
41742014-04-24 David Blaikie <dblaikie@gmail.com>
4175
4176 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
4177 ensure clang would not discard them.
4178 * gdb.base/gdbvars.c: Ditto.
4179 * gdb.base/memattr.c: Ditto.
4180 * gdb.base/whatis.c: Ditto.
4181 * gdb.python/py-prettyprint.c: Ditto.
4182 * gdb.trace/actions.c: Ditto.
4183 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
4184 ensure clang would not discard it.
4185
bfd39632
DB
41862014-04-24 David Blaikie <dblaikie@gmail.com>
4187
4188 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
4189 clang to emit the full definition of type required by the test
4190 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
4191
22842ff6
DB
41922014-04-24 David Blaikie <dblaikie@gmail.com>
4193
4194 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
4195 coax Clang into emitting the definition of the type.
4196 * gdb.cp/pr10728-x.h (y): Ditto.
4197 * gdb.cp/pr10728-y.cc (y): Ditto.
4198
c2e827ad
DB
41992014-04-24 David Blaikie <dblaikie@gmail.com>
4200
4201 * gdb.base/label.exp: XFAIL label related tests under Clang.
4202 * gdb.cp/cplabel.exp: Ditto.
4203 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
4204 under Clang those using labels.
4205
4c2d33e7
YQ
42062014-04-25 Yao Qi <yao@codesourcery.com>
4207
4208 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
4209 double_label.
4210 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
4211 partial_label and double_label.
4212
56083b99
DB
42132014-04-24 David Blaikie <dblaikie@gmail.com>
4214
4215 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
4216
25d4e99d
DB
42172014-04-24 David Blaikie <dblaikie@gmail.com>
4218
4219 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
4220 of the function to work across GCC and Clang.
4221 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
4222 pointer types (const void ** const V void **).
4223
01f9f808
MS
42242014-04-24 Michael Sturm <michael.sturm@mintel.com>
4225 Walfred Tedeschi <walfred.tedeschi@intel.com>
4226
4227 * Makefile.in (EXECUTABLES): Added i386-avx512.
4228 * gdb.arch/i386-avx512.c: New file.
4229 * gdb.arch/i386-avx512.exp: Likewise.
4230
4b48d439
KS
42312014-04-23 Keith Seitz <keiths@redhat.com>
4232
4233 * lib/mi-support.exp (mi_list_breakpoints): Delete.
4234 (mi_make_breakpoint_table): New procedure.
4235 (mi_create_breakpoint): Use mi_make_breakpoint
4236 and return the result.
4237 (mi_make_breakpoint): New procedure.
4238 (mi_build_kv_pairs): New procedure.
4239
4240 * gdb.mi/mi-break.exp: Remove unused globals,
4241 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
4242 All callers updated.
4243 * gdb.mi/mi-dprintf.exp: Use variable to track command
4244 number.
4245 Update all callers of mi_create_breakpoint and use
4246 mi_make_breakpoint_table.
4247 Remove any unused global variables.
4248 * gdb.mi/mi-nonstop.exp: Likewise.
4249 * gdb.mi/mi-nsintrall.exp: Likewise.
4250 * gdb.mi/mi-nsmoribund.exp: Likewise.
4251 * gdb.mi/mi-nsthrexec.exp: Likewise.
4252 * gdb.mi/mi-reverse.exp: Likewise.
4253 * gdb.mi/mi-simplerun.exp: Likewise.
4254 * gdb.mi/mi-stepn.exp: Likewise.
4255 * gdb.mi/mi-syn-frame.exp: Likewise.
4256 * gdb.mi/mi-until.exp: Likewise.
4257 * gdb.mi/mi-var-cp.exp: Likewise.
4258 * gdb.mi/mi-var-display.exp: Likewise.
4259 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
4260 * gdb.mi/mi2-var-child.exp: Likewise.
4261 * gdb.mi/mi-vla-c99.exp: Likewise.
4262 * lib/mi-support.exp: Likewise.
4263
4264 From Ian Lance Taylor <iant@cygnus.com>:
4265 * lib/gdb.exp (parse_args): New procedure.
4266
08351840
PA
42672014-04-23 Pedro Alves <palves@redhat.com>
4268
4269 * gdb.base/break-unload-file.c: New file.
4270 * gdb.base/break-unload-file.exp: New file.
4271 * gdb.base/sym-file-lib.c (baz): New function.
4272 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
4273 field.
4274 (load): Store the segment's mapped size.
4275 (unload): New function.
4276 (unload_shlib): New function.
4277 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
4278 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
4279 set a breakpoint at baz, and call it.
4280 * gdb.base/sym-file.exp: New tests for stale breakpoint
4281 instructions.
4282
076855f9
PA
42832014-04-23 Pedro Alves <palves@redhat.com>
4284
4285 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
4286 * gdb.base/hbreak-in-shr-unsupported.c: New file.
4287 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
4288 * gdb.base/hbreak-unmapped.c: New file.
4289 * gdb.base/hbreak-unmapped.exp: New file.
4290 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
4291 * lib/gdb.exp (gdb_is_target_remote): ... here.
4292
483805cf
PA
42932014-04-22 Pedro Alves <palves@redhat.com>
4294
4295 * gdb.base/consecutive-step-over.c: New file.
4296 * gdb.base/consecutive-step-over.exp: New file.
4297
06d97543
PA
42982014-04-22 Pedro Alves <palves@redhat.com>
4299
4300 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
4301 instead of send_gdb/gdb_expect.
4302
b4429ea2
YQ
43032014-04-22 Yao Qi <yao@codesourcery.com>
4304
4305 * lib/trace-support.exp (generate_tracefile): New procedure.
4306 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
4307 return 0.
4308 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
4309 if generate_tracefile returns 1.
4310
51d48146
PA
43112014-04-18 Tom Tromey <palves@redhat.com>
4312 Pedro alves <tromey@redhat.com>
4313
4314 PR backtrace/15558
4315 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
4316 with a backtrace limit.
4317 * gdb.python/py-frame-inline.exp: Test running to an inline
4318 function with a backtrace limit, and printing the newest frame.
4319 * gdb.python/py-frame-inline.c (main): Call f.
4320
bd1dce5f
MS
43212014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
4322
4323 * gdb.java/jnpe.exp: Drop srcdir from untested path.
4324
40d1a503
MS
43252014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
4326
4327 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
4328 Drop prefix from unsupported source file path.
4329
389b98f7
YQ
43302014-04-17 Yao Qi <yao@codesourcery.com>
4331
4332 * lib/gdb.exp (with_target_charset): New proc.
4333 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
4334 with_target_charset.
4335 (test_print_strings): Likewise.
4336 (test_repeat_bytes): Likewise.
4337 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
4338 for some tests.
4339
22869d73
KS
43402014-04-16 Keith Seitz <keiths@redhat.com>
4341
4342 PR gdb/15827
4343 * gdb.dwarf2/corrupt.c: New file.
4344 * gdb.dwarf2/corrupt.exp: New file.
4345
c4f87ca6
KS
43462014-04-16 Keith Seitz <keiths@redhat.com>
4347
4348 PR c++/16597
4349 * gdb.cp/namelessclass.cc: New file.
4350 * gdb.cp/namelessclass.exp: New file.
4351 * gdb.cp/namelessclass.S: New file.
4352
ab19de87
DE
43532014-04-16 Doug Evans <dje@google.com>
4354
4355 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
4356 Add comment.
4357 (gdbserver_default_get_comm_port): New function.
4358 (gdbserver_start): Check if board file provided
4359 "gdbserver,get_comm_port" and use it if so.
4360 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
4361 (gdb,socketport): Set to "stdio".
4362 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
4363 (stdio_gdbserver_template): Delete.
4364 (${board}_get_remote_address): Update.
4365 (${board}_build_remote_cmd): Delete.
4366 (${board}_get_comm_port): New function.
4367 (${board}_spawn): Update.
4368 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
4369 Delete.
4370 (${board}_get_remote_address): Update.
4371 (${board}_get_comm_port): New function.
4372
fc98a809
AB
43732014-04-16 Andrew Burgess <aburgess@broadcom.com>
4374
4375 * gdb.base/memattr.exp: Improve regexps to handle memory regions
4376 appearing in any order.
4377
87fd9e6e
DE
43782014-04-15 Doug Evans <dje@google.com>
4379
4380 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
4381 uninitialized value of "description".
4382
099fc3ea
KS
43832014-04-15 Keith Seitz <keiths@redhat.com>
4384
4385 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
4386 Remove unused globals.
4387 (test_running_the_program): Likewise.
4388 (test_controlled_execution): Likewise.
4389 (test_controlling_breakpoints): Likewise.
4390 (test_program_termination): Likewise.
4391
5da151d4
KS
43922014-04-15 Keith Seitz <keiths@redhat.com>
4393
4394 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
4395 unused globals.
4396 (test_rbreak_creation_and_listing): Likewise.
4397 (test_ignore_count): Likewise.
4398 (test_error): Likewise.
4399
35e5d2f0
PA
44002014-04-15 Pedro Alves <palves@redhat.com>
4401
4402 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
4403 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
4404 sym-file-loader.c.
4405 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4406 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4407 to sym-file-loader.c.
4408 (struct library): Forward declare.
4409 (load_shlib, lookup_function): Change prototypes.
4410 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4411 (translate_offset): Remove declarations.
4412 (get_text_addr): New declaration.
4413 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
4414 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
4415 sym-file-loader.h.
4416 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4417 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4418 here from sym-file-loader.h.
4419 (struct library): New structure.
4420 (load_shlib, lookup_function): Change prototypes and adjust to
4421 work with a struct library.
4422 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4423 (translate_offset): Make static.
4424 (get_text_addr): New function.
4425 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
4426
eb4c1710
PA
44272014-04-15 Pedro Alves <palves@redhat.com>
4428
4429 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
4430
2d1baf52
PA
44312014-04-15 Pedro Alves <palves@redhat.com>
4432
4433 * gdb.base/sym-file-loader.c: Include <limits.h>.
4434 (SELF_LINK): New define.
4435 (get_origin): New function.
4436 (load_shlib): Use it.
4437 * gdb.base/sym-file.exp: Don't early return if the target is
4438 remote. Use runto_main, and issue fail is that fails. Use
4439 gdb_load_shlibs.
4440 (shlib_name): Delete.
4441 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
4442
7dd6df01
PA
44432014-04-15 Pedro Alves <palves@redhat.com>
4444
4445 * gdb.base/sym-file.exp: Remove regex characters from test
4446 message. Don't refer to breakpoint numbers in test messages.
4447
b50c8614
KS
44482014-04-14 Keith Seitz <keiths@redhat.com>
4449
4450 PR c++/16253
4451 * gdb.cp/var-tag.cc: New file.
4452 * gdb.cp/var-tag.exp: New file.
4453 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4454 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4455 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4456 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4457
3d567982
TT
44582014-04-14 Tom Tromey <tromey@redhat.com>
4459
4460 * gdb.cp/classes.exp (test_enums): Handle underlying type.
4461 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
4462 type.
4463 * gdb.cp/enum-class.exp: New file.
4464 * gdb.cp/enum-class.cc: New file.
4465
0626fc76
TT
44662014-04-14 Tom Tromey <tromey@redhat.com>
4467
4468 * gdb.dwarf2/enum-type.exp: New file.
4469
dca325b3
SA
44702014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4471
4472 * gdb.mi/mi-vla-c99.exp: New file.
4473 * gdb.mi/vla.c: New file.
4474
5854b38a
SA
44752014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4476
4477 * gdb.base/vla-datatypes.c: New file.
4478 * gdb.base/vla-datatypes.exp: New file.
4479
463bb957
SA
44802014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4481
4482 * gdb.base/vla-ptr.c: New file.
4483 * gdb.base/vla-ptr.exp: New file.
4484
3dd170be
SA
44852014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4486
4487 * gdb.dwarf2/count.exp: New file.
4488
5ecaaa66
SA
44892014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4490
4491 * gdb.base/vla-sideeffect.c: New file.
4492 * gdb.base/vla-sideeffect.exp: New file.
4493
41f1ada5
DB
44942014-04-14 David Blaikie <dblaikie@gmail.com>
4495
4496 * gdb.mi/non-stop.c: Add return value for non-void function return
4497 statement.
4498 * gdb.threads/staticthreads.c: Ditto.
4499
0be03e84
DE
45002014-04-12 Siva Chandra Reddy <sivachandra@google.com>
4501 Doug Evans <xdje42@gmail.com>
4502
4503 * gdb.guile/scm-value.c: Improve test case.
4504 * gdb.guile/scm-value.exp: Add new test.
4505
f180a1fb
DB
45062014-04-11 David Blaikie <dblaikie@gmail.com>
4507
4508 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
4509 override Clang's default.
4510
6b662e19
JB
45112014-04-11 Joel Brobecker <brobecker@adacore.com>
4512
4513 Revert the following changes (regressions):
4514
4515 * gdb.base/vla-sideeffect.c: New file.
4516 * gdb.base/vla-sideeffect.exp: New file.
4517
4518 * gdb.dwarf2/count.exp: New file.
4519
4520 * gdb.base/vla-multi.c: New file.
4521 * gdb.base/vla-multi.exp: New file.
4522
4523 * gdb.base/vla-ptr.c: New file.
4524 * gdb.base/vla-ptr.exp: New file.
4525
4526 * gdb.base/vla-datatypes.c: New file.
4527 * gdb.base/vla-datatypes.exp: New file.
4528
4529 * gdb.mi/mi-vla-c99.exp: New file.
4530 * gdb.mi/vla.c: New file.
4531
245a5f0b
KS
45322014-04-11 Keith Seitz <keiths@redhat.com>
4533
4534 PR c++/16675
4535 * gdb.cp/cpsizeof.exp: New file.
4536 * gdb.cp/cpsizeof.cc: New file.
4537
58a84dcf
SA
45382014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4539
191a8a90
JB
4540 * gdb.mi/mi-vla-c99.exp: New file.
4541 * gdb.mi/vla.c: New file.
58a84dcf 4542
c8655f75
SA
45432014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4544
4545 * gdb.base/vla-datatypes.c: New file.
4546 * gdb.base/vla-datatypes.exp: New file.
4547
024e13b4
SA
45482014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4549
4550 * gdb.base/vla-ptr.c: New file.
4551 * gdb.base/vla-ptr.exp: New file.
4552
1a237e0e
SA
45532014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4554
4555 * gdb.base/vla-multi.c: New file.
4556 * gdb.base/vla-multi.exp: New file.
4557
504f3432
SA
45582014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4559
4560 * gdb.dwarf2/count.exp: New file.
4561
3bce8237
SA
45622014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4563
191a8a90
JB
4564 * gdb.base/vla-sideeffect.c: New file.
4565 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 4566
322f9c21
YQ
45672014-04-11 Yao Qi <yao@codesourcery.com>
4568
4569 * gdb.base/completion.exp: Check file exists before running tests
4570 on file completion.
4571
d708bcd1
PA
45722014-04-10 Pedro Alves <palves@redhat.com>
4573
4574 * gdb.base/cond-eval-mode.c: New file.
4575 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
4576 prepare_for_testing to build the new file. Check result of
4577 runto_main.
4578 (test_break, test_watch): New procedures.
4579 (top level): Use them.
4580
ae1d2761
PM
45812014-04-08 Pierre Muller <muller@sourceware.org>
4582
4583 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
4584 Ctrl-V use for mingw hosts.
4585
7af389b8
SC
45862014-04-07 Siva Chandra Reddy <sivachandra@google.com>
4587
4588 * gdb.python/py-value.c: Improve test case.
4589 * gdb.python/py-value.exp: Add new test.
4590
5e703181
DE
45912014-04-07 David Blaikie <dblaikie@gmail.com>
4592
4593 * lib/compiler.c: Identify the clang compiler.
4594 * lib/compiler.cc: Ditto.
4595
9810b410
YQ
45962014-04-03 Yao Qi <yao@codesourcery.com>
4597
4598 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
4599
98d1b8dc
AB
46002014-04-01 Anton Blanchard <anton@samba.org>
4601
4602 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
4603 messages unique.
4604
3114cea1
AB
46052014-04-01 Anton Blanchard <anton@samba.org>
4606
4607 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
4608 prepare_for_testing.
4609
62f7182c
AB
46102014-04-01 Anton Blanchard <anton@samba.org>
4611
4612 * gdb.arch/ppc64-atomic-inst.c: Remove.
4613 * gdb.arch/ppc64-atomic-inst.S: New file.
4614 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
4615
770e7fc7
DE
46162014-03-31 Doug Evans <dje@google.com>
4617
4618 * gdb.base/print-symbol-loading-lib.c: New file.
4619 * gdb.base/print-symbol-loading-main.c: New file.
4620 * gdb.base/print-symbol-loading.exp: New file.
4621
46e2bafa
YQ
46222014-03-31 Yao Qi <yao@codesourcery.com>
4623
4624 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
4625
8776cfe9
JB
46262014-03-28 Joel Brobecker <brobecker@adacore.com>
4627
4628 * gdb.ada/mi_dyn_arr: New testcase.
4629
5d1ef361
DE
46302014-03-27 Doug Evans <dje@google.com>
4631
4632 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
4633
b5bee914
YQ
46342014-03-27 Yao Qi <yao@codesourcery.com>
4635
4636 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
4637 if target is nios2-*-*.
4638
0d4d0e77
YQ
46392014-03-26 Yao Qi <yao@codesourcery.com>
4640
4641 * lib/gdb.exp (readline_is_used): New proc.
4642 * gdb.base/completion.exp: Move tests on command complete up.
4643 Skip the rest of tests if readline is not used.
4644 * gdb.ada/complete.exp: Skp the test if readline is not
4645 used.
4646 * gdb.base/filesym.exp: Likewise.
4647 * gdb.base/macscp.exp: Likewise.
4648 * gdb.base/readline-ask.exp: Likewise.
4649 * gdb.base/readline.exp: Likewise.
4650 * gdb.python/py-cmd.exp: Likewise.
4651 * gdb.trace/tfile.exp: Likewise.
4652
29361eee
YQ
46532014-03-26 Yao Qi <yao@codesourcery.com>
4654
4655 * gdb.base/macscp.exp: Fix code format issues.
4656
bc9a5525
UW
46572014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
4658
4659 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
4660 * gdb.asm/powerpc64le.inc: New file.
4661
d3839ede
PA
46622014-03-25 Pedro Alves <palves@redhat.com>
4663 Doug Evans <dje@google.com>
4664
4665 * gdb.base/source-execution.c: New file.
4666 * gdb.base/source-execution.exp: New file.
4667 * gdb.base/source-execution.gdb: New file.
4668
01672a57
DE
46692014-03-24 Doug Evans <dje@google.com>
4670
4671 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
4672 using fission.
4673
88bbeca9
HZ
46742014-03-24 Hui Zhu <hui@codesourcery.com>
4675 Pedro Alves <palves@redhat.com>
4676
4677 PR breakpoints/16101
4678 * gdb.base/dprintf.exp: Use unsupported rather than changing the
4679 test pass/fail messages. Detect missing support for dprintf when
4680 breakpoints are actually inserted.
4681 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
4682 breakpoints are actually inserted.
4683 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
4684 fails.
4685
d2348791
JK
46862014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4687
4688 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
4689
feef67ab
DE
46902014-03-22 Doug Evans <xdje42@gmail.com>
4691
4692 * gdb.python/python.exp (python not supported): Verify multi-line
4693 python command issues an error.
25d743f9 4694 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 4695 guile command issues an error.
feef67ab 4696
ecebef6a
MR
46972014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
4698
4699 * gdb.threads/thread-specific.exp: Handle the lack of usable
4700 $this_breakpoint and $this_thread.
4701
ccdd1909
HZ
47022014-03-21 Hui Zhu <hui@codesourcery.com>
4703
4704 * gdb.base/attach.exp (do_command_attach_tests): New.
4705
beb460e8
PA
47062014-03-20 Tom Tromey <tromey@redhat.com>
4707 Pedro Alves <palves@redhat.com>
4708
4709 PR cli/15718
4710 * gdb.base/condbreak-call-false.c: New file.
4711 * gdb.base/condbreak-call-false.exp: New file.
4712
40acf43a
PA
47132014-03-20 Pedro Alves <palves@redhat.com>
4714
4715 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
4716 Delete.
4717 (block_signals, unblock_signals): Delete.
4718 (child_function_2, main): Remove references to deleted variable
4719 and functions.
4720
9f5e1e02
PA
47212014-03-20 Pedro Alves <palves@redhat.com>
4722
4723 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
4724 Use pthread_kill to signal thread 2.
4725 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4726 Adjust to make the test send itself a signal rather than using the
4727 host's "kill" command.
4728
99619bea
PA
47292014-03-20 Pedro Alves <palves@redhat.com>
4730
4731 * gdb.threads/multiple-step-overs.c: New file.
4732 * gdb.threads/multiple-step-overs.exp: New file.
4733 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4734 Adjust expected infrun debug output.
4735
2adfaa28
PA
47362014-03-20 Pedro Alves <palves@redhat.com>
4737
4738 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
4739 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
4740
31e77af2
PA
47412014-03-20 Pedro Alves <palves@redhat.com>
4742
4743 PR breakpoints/7143
4744 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
4745 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
4746 of gdb_test_multiple.
4747 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
4748 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
4749
b9f437de
PA
47502014-03-20 Pedro Alves <palves@redhat.com>
4751
4752 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
4753 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
4754
05adc73e
PA
47552014-03-19 Pedro Alves <palves@redhat.com>
4756
4757 * gdb.base/async.exp: Remove early return.
4758
6048b950
PA
47592014-03-19 Pedro Alves <palves@redhat.com>
4760
4761 * gdb.base/async.exp (step& tests): Pass explicit test messages.
4762
8bcfb00a
PA
47632014-03-19 Pedro Alves <palves@redhat.com>
4764
4765 * gdb.base/async.exp (test_background): Expect \r\n after
4766 "completed." in the fail pattern.
4767
884e37dc
PA
47682014-03-19 Pedro Alves <palves@redhat.com>
4769
4770 * gdb.base/async.exp (test_background): New procedure.
4771 Use it for all background execution command tests.
4772
148e57e2
PA
47732014-03-19 Pedro Alves <palves@redhat.com>
4774
4775 * gdb.base/async.exp: Use prepare_for_testing.
4776
f48088c7
PA
47772014-03-19 Pedro Alves <palves@redhat.com>
4778
4779 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
4780 the same line.
4781
e2f6c966
PA
47822014-03-19 Pedro Alves <palves@redhat.com>
4783
4784 * gdb.base/async.c (main): Add "jump here" and "until here" line
4785 marker comments.
4786 * gdb.base/async.exp (jump_here): New global.
4787 (jump& test): Use it.
4788 (until_here): New global.
4789 (until& test): Use it.
4790
c30568d4
PA
47912014-03-19 Pedro Alves <palves@redhat.com>
4792
4793 * gdb.base/async.exp: Don't frob gdb_protocol.
4794
0172b6a7
DE
47952014-03-18 Doug Evans <xdje42@gmail.com>
4796
4797 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
4798 Fix spelling of exec-done-display.
4799
06c868a8
JK
48002014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4801
4802 PR gdb/15358
4803 * gdb.base/gdb-sigterm.c: New file.
4804 * gdb.base/gdb-sigterm.exp: New file.
4805
0c7e1a46
PA
48062014-03-18 Pedro Alves <palves@redhat.com>
4807
4808 PR gdb/13860
4809 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
4810 * lib/mi-support.exp (mi_expect_stop): Add special handling for
4811 solib-event.
4812
f7c77d93
JB
48132014-03-17 Joel Brobecker <brobecker@adacore.com>
4814
4815 * gdb.ada/pckd_arr_ren: New testcase.
4816
5a1e8c7a
DE
48172014-03-13 Doug Evans <xdje42@gmail.com>
4818
4819 PR guile/16612
4820 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
4821 collect after discarding symbols.
4822
350e1a76
DE
48232014-03-13 Ludovic Courtès <ludo@gnu.org>
4824 Doug Evans <xdje42@gmail.com>
4825
4826 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
4827 to history survives a gc.
4828
a69900ae
PA
48292014-03-13 Pedro Alves <palves@redhat.com>
4830
4831 * gdb.base/default.exp: Don't test "target procfs".
4832
5db9f0bd
PA
48332014-03-13 Pedro Alves <palves@redhat.com>
4834
4835 * gdb.base/default.exp: Update "target child" and "target procfs"
4836 tests to not expect "Unix".
4837
b3ccfe11
TT
48382014-03-12 Tom Tromey <tromey@redhat.com>
4839
4840 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
4841 New procs. Add target-async tests.
4842 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
4843 Add target-async tests.
4844
646f4417
AA
48452014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4846
4847 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
4848 'func_start' and 'func_end' for the beginning and end of the
4849 function code, respectively.
4850 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
4851 'func_end' instead of 'func' and 'main'.
4852
288c211f
AA
48532014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4854
4855 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
4856 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
4857 generate the debug info assembler source.
4858
e0c0f156
AA
48592014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4860
4861 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
4862 * gdb.dwarf2/arr-subrange.exp: Likewise.
4863 * gdb.dwarf2/dwz.exp: Likewise.
4864 * gdb.dwarf2/method-ptr.exp: Likewise.
4865 * gdb.dwarf2/missing-sig-type.exp: Likewise.
4866 * gdb.dwarf2/subrange.exp: Likewise.
4867 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
4868 * gdb.dwarf2/implptrpiece.exp: Likewise.
4869 * gdb.dwarf2/nostaticblock.exp: Likewise.
4870
0e5c4555
AA
48712014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4872
4873 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
4874 directory to absolute path name arguments.
4875
5ec18f2b
JG
48762014-03-10 Joel Brobecker <brobecker@adacore.com>
4877
4878 * gdb.ada/tagged_access: New testcase.
4879
847fc4f2
MM
48802014-03-07 Markus Metzger <markus.t.metzger@intel.com>
4881
4882 * gdb.btrace/data.exp: Update expected output.
4883
cc3da688
YQ
48842014-03-06 Yao Qi <yao@codesourcery.com>
4885
4886 * gdb.trace/pr16508.exp: New file.
4887
0f26cec1
PA
48882014-03-05 Pedro Alves <palves@redhat.com>
4889
4890 PR gdb/16575
4891 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
4892 procedure.
4893 (top level): Adjust to use it. Add tests that exercise breakpoint
4894 interaction with the code-cache.
4895
7a5a839f
LC
48962014-02-26 Ludovic Courtès <ludo@gnu.org>
4897
4898 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
4899 test for 'history-append!'.
4900
31aa7e4e
JB
49012014-02-26 Joel Brobecker <brobecker@adacore.com>
4902
4903 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
4904 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
4905 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
4906 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
4907 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
4908 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
4909
1b588015
JB
49102014-02-26 Joel Brobecker <brobecker@adacore.com>
4911
4912 * testsuite/gdb.python/py-pp-re-notag.c: New file.
4913 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
4914 * testsuite/gdb.python/py-pp-re-notag.p: New file.
4915
55426c9d
JB
49162014-02-26 Joel Brobecker <brobecker@adacore.com>
4917
4918 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
4919
dc53a7ad
JB
49202014-02-26 Joel Brobecker <brobecker@adacore.com>
4921
4922 * gdb.dwarf2/arr-stride.c: New file.
4923 * gdb.dwarf2/arr-stride.exp: New file.
4924
12ab52e9
PA
49252014-02-26 Pedro Alves <palves@redhat.com>
4926
4927 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
4928 that won't ever trigger. Make sure that GDB reports the correct
4929 breakpoint that caused the stop.
4930
849c862e
JK
49312014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4932
4933 PR gdb/16626
4934 * gdb.base/auto-load-script: New file.
4935 * gdb.base/auto-load.c: New file.
4936 * gdb.base/auto-load.exp: New file.
4937
71b7d793
JK
4938 PR gdb/16626
4939 * gdb.base/auto-load.exp: Fix out-of-srctree run.
4940
e2f0d509
JK
49412014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4942
4943 Fix dw2-icycle.exp -fsanitize=address GDB crash.
4944 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
4945
50cc37c8
DE
49462014-02-24 Doug Evans <dje@google.com>
4947
4948 * lib/gdb.exp (run_on_host): Log error output if program fails.
4949
ea4758f2
PA
49502014-02-21 Pedro Alves <palves@redhat.com>
4951
4952 * gdb.threads/step-after-sr-lock.c: Rename to ...
4953 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
4954 * gdb.threads/step-after-sr-lock.exp: Rename to ...
4955 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4956 ... this.
4957
d7b30f67
SDJ
49582014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
4959
4960 PR tdep/16397
4961 * gdb.arch/amd64-stap-special-operands.exp: New file.
4962 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
4963 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
4964 * gdb.arch/amd64-stap-triplet.S: Likewise.
4965 * gdb.arch/amd64-stap-triplet.c: Likewise.
4966
83deb43f
JB
49672014-02-20 Joel Brobecker <brobecker@adacore.com>
4968
4969 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
4970 in .section pseudo-op.
4971
adde2bff
DE
49722014-02-20 lin zuojian <manjian2006@gmail.com>
4973 Joel Brobecker <brobecker@adacore.com>
4974 Doug Evans <xdje42@gmail.com>
4975
4976 PR symtab/16581
4977 * gdb.dwarf2/dw2-icycle.S: New file.
4978 * gdb.dwarf2/dw2-icycle.c: New file.
4979 * gdb.dwarf2/dw2-icycle.exp: New file.
4980
f7bd0f78
SC
49812014-02-19 Siva Chandra Reddy <sivachandra@google.com>
4982
4983 * gdb.python/py-value-cc.cc: Improve test case to enable testing
4984 operations on gdb.Value objects.
4985 * gdb.python/py-value-cc.exp: Add new test to test operations on
4986 gdb.Value objects.
4987
c17ef0d5
DE
49882014-02-18 Doug Evans <dje@google.com>
4989
4990 * Makefile.in (TESTS): New variable.
4991 (expanded_tests, expanded_tests_or_none): New variables
4992 (check-single): Pass $(expanded_tests_or_none) to runtest.
4993 (check-parallel): Only run tests in $(TESTS) if non-empty.
4994 (check/no-matching-tests-found): New rule.
4995 * README: Document TESTS makefile variable.
4996
5dd3176f
DE
49972014-02-18 Doug Evans <dje@google.com>
4998
4999 * Makefile.in (check-parallel): rm -rf outputs temp.
5000
0b10be4f
JK
50012014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5002
5003 Fix "ERROR: no fileid for" in the testsuite.
5004 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
5005
85f224e7
DE
50062014-02-12 Doug Evans <dje@google.com>
5007
5008 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
5009 (MISCELLANEOUS): New variable.
5010 (clean): rm -rf $(MISCELLANEOUS).
5011 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
5012 dwp live in the same directory as symlinks, with each symlink pointed
5013 to a differently named file in a different directory.
5014
149b30ff
DE
50152014-02-11 Doug Evans <dje@google.com>
5016
5017 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
5018 of Tcl file commands.
5019
1dfdac32
MK
50202014-02-10 Mark Kettenis <kettenis@gnu.org>
5021
5022 * gdb.threads/step-after-sr-lock.exp: Avoid executing
5023 "kill -SIGUSR1 -1".
5024
aa4fb036
JB
50252014-02-10 Joel Brobecker <brobecker@adacore.com>
5026
5027 * gdb.ada/tick_length_array_enum_idx: New testcase.
5028
ed3ef339
DE
50292014-02-10 Doug Evans <xdje42@gmail.com>
5030
5031 * configure.ac (AC_OUTPUT): Add gdb.guile.
5032 * configure: Regenerate.
5033 * lib/gdb-guile.exp: New file.
5034 * lib/gdb.exp (get_target_charset): New function.
5035 * gdb.base/help.exp: Update expected output from "apropos apropos".
5036 * gdb.guile/Makefile.in: New file.
5037 * gdb.guile/guile.exp: New file.
5038 * gdb.guile/scm-arch.c: New file.
5039 * gdb.guile/scm-arch.exp: New file.
5040 * gdb.guile/scm-block.c: New file.
5041 * gdb.guile/scm-block.exp: New file.
5042 * gdb.guile/scm-breakpoint.c: New file.
5043 * gdb.guile/scm-breakpoint.exp: New file.
5044 * gdb.guile/scm-disasm.c: New file.
5045 * gdb.guile/scm-disasm.exp: New file.
5046 * gdb.guile/scm-equal.c: New file.
5047 * gdb.guile/scm-equal.exp: New file.
5048 * gdb.guile/scm-error.exp: New file.
5049 * gdb.guile/scm-error.scm: New file.
5050 * gdb.guile/scm-frame-args.c: New file.
5051 * gdb.guile/scm-frame-args.exp: New file.
5052 * gdb.guile/scm-frame-args.scm: New file.
5053 * gdb.guile/scm-frame-inline.c: New file.
5054 * gdb.guile/scm-frame-inline.exp: New file.
5055 * gdb.guile/scm-frame.c: New file.
5056 * gdb.guile/scm-frame.exp: New file.
5057 * gdb.guile/scm-generics.exp: New file.
5058 * gdb.guile/scm-gsmob.exp: New file.
5059 * gdb.guile/scm-iterator.c: New file.
5060 * gdb.guile/scm-iterator.exp: New file.
5061 * gdb.guile/scm-math.c: New file.
5062 * gdb.guile/scm-math.exp: New file.
5063 * gdb.guile/scm-objfile-script-gdb.in: New file.
5064 * gdb.guile/scm-objfile-script.c: New file.
5065 * gdb.guile/scm-objfile-script.exp: New file.
5066 * gdb.guile/scm-objfile.c: New file.
5067 * gdb.guile/scm-objfile.exp: New file.
5068 * gdb.guile/scm-ports.exp: New file.
5069 * gdb.guile/scm-pretty-print.c: New file.
5070 * gdb.guile/scm-pretty-print.exp: New file.
5071 * gdb.guile/scm-pretty-print.scm: New file.
5072 * gdb.guile/scm-section-script.c: New file.
5073 * gdb.guile/scm-section-script.exp: New file.
5074 * gdb.guile/scm-section-script.scm: New file.
5075 * gdb.guile/scm-symbol.c: New file.
5076 * gdb.guile/scm-symbol.exp: New file.
5077 * gdb.guile/scm-symtab-2.c: New file.
5078 * gdb.guile/scm-symtab.c: New file.
5079 * gdb.guile/scm-symtab.exp: New file.
5080 * gdb.guile/scm-type.c: New file.
5081 * gdb.guile/scm-type.exp: New file.
5082 * gdb.guile/scm-value-cc.cc: New file.
5083 * gdb.guile/scm-value-cc.exp: New file.
5084 * gdb.guile/scm-value.c: New file.
5085 * gdb.guile/scm-value.exp: New file.
5086 * gdb.guile/source2.scm: New file.
5087 * gdb.guile/types-module.cc: New file.
5088 * gdb.guile/types-module.exp: New file.
5089
7026a7c1
YQ
50902014-02-10 Yao Qi <yao@codesourcery.com>
5091
5092 PR testsuite/16543
5093 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
5094 * configure: Regenerated.
5095 * Makefile.in: New file.
5096
6c466447
AS
50972014-02-08 Andreas Schwab <schwab@linux-m68k.org>
5098
5099 * gdb.python/py-framefilter.exp: Fix typo.
5100
6e854735
YQ
51012014-02-08 Yao Qi <yao@codesourcery.com>
5102
5103 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
5104 that no =breakpoint-modified is emitted when breakpoints are
5105 modified through MI commands.
5106
d137e6dc
PA
51072014-02-07 Pedro Alves <pedro@codesourcery.com>
5108 Pedro Alves <palves@redhat.com>
5109
5110 * gdb.threads/step-after-sr-lock.c: New file.
5111 * gdb.threads/step-after-sr-lock.exp: New file.
5112
b5ee5a50
PA
51132014-02-07 Pedro Alves <palves@redhat.com>
5114
5115 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
5116
3c77faf3
JK
51172014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5118
5119 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
5120 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
5121
6dddc817
DE
51222014-02-06 Doug Evans <xdje42@gmail.com>
5123
5124 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
5125 output.
5126
5127 * gdb.gdb/python-interrupts.exp: New file.
5128
de7b2893
YQ
51292014-02-05 Yao Qi <yao@codesourcery.com>
5130
5131 * gdb.trace/report.exp (use_collected_data): Test the output
5132 of "info threads" and "info inferiors".
5133
66d032ac
YQ
51342014-02-05 Yao Qi <yao@codesourcery.com>
5135
5136 Revert this patch:
5137
5138 2013-05-24 Yao Qi <yao@codesourcery.com>
5139
5140 * gdb.trace/tfile.exp: Test inferior and thread.
5141
591a12a1
UW
51422014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5143
5144 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
5145 on a function.
5146 * gdb.base/step-bt.c: Call hello via function pointer to make
5147 sure its first instruction is executed on powerpc64le-linux.
5148
0ff3e01f
UW
51492014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5150
5151 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
5152
084ee545
UW
51532014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5154
5155 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
5156 of the test patterns for use on little-endian systems.
5157
6ed14ff3
UW
51582014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5159
5160 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
5161 (decimal_vector): Fix for little-endian.
5162
401e27fd
JM
51632014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
5164
5165 * gdb.arch/sparc-sysstep.exp: New file.
5166 * gdb.arch/sparc-sysstep.c: Likewise.
5167
5168 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
5169
8b924729
EBM
51702014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5171
5172 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
5173
fb151210
JB
51742014-01-23 Tom Tromey <tromey@redhat.com>
5175
5176 * gdb.ada/array_char_idx: New testcase.
5177
0740f8d8
TT
51782014-01-23 Tom Tromey <tromey@redhat.com>
5179
5180 PR python/16487:
5181 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
5182 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
5183 classes.
5184
21909fa1
TT
51852014-01-23 Tom Tromey <tromey@redhat.com>
5186
5187 PR python/16491:
5188 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
5189 string from an inferior frame.
5190 * gdb.python/py-framefilter-mi.exp: Update.
5191
87ce2a04
DE
51922014-01-22 Doug Evans <dje@google.com>
5193
5194 * gdb.server/server-mon.exp: Add tests for "set debug-format".
5195
237b092b
AA
51962014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5197
5198 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
5199
d674a709
AA
52002014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5201
5202 * gdb.trace/entry-values.exp: Remove excess space character from
5203 regex patterns. Handle s390 call instruction.
5204
20fa3390
AA
52052014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5206
5207 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
5208 define "*_start" label. Make "name" static.
5209 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
5210 ${name} by references to ${name}_start.
5211
78466714
AA
52122014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5213
5214 * gdb.base/info-macros.exp: Remove "debug" from the compile
5215 options.
5216
ec9f644a
IB
52172014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5218
5219 * gdb.dlang/demangle.exp: New file.
5220
94b1b47e
IB
52212014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5222
5223 * gdb.dlang/primitive-types.exp: New file.
5224
7f420862
IB
52252014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5226
5227 * configure.ac: Create gdb.dlang/Makefile.
5228 * configure: Regenerate.
5229 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
5230 * gdb.dlang/Makefile.in: New file.
5231 * lib/d-support.exp: New file.
5232 * lib/gdb.exp (skip_d_tests): New proc.
5233
52834460
MM
52342014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5235
5236 * gdb.btrace/delta.exp: Check reverse stepi.
5237 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
5238 * gdb.btrace/finish.exp: New.
5239 * gdb.btrace/next.exp: New.
5240 * gdb.btrace/nexti.exp: New.
5241 * gdb.btrace/record_goto.c: Add comments.
5242 * gdb.btrace/step.exp: New.
5243 * gdb.btrace/stepi.exp: New.
5244 * gdb.btrace/multi-thread-step.c: New.
5245 * gdb.btrace/multi-thread-step.exp: New.
5246 * gdb.btrace/rn-dl-bind.c: New.
5247 * gdb.btrace/rn-dl-bind.exp: New.
5248 * gdb.btrace/data.c: New.
5249 * gdb.btrace/data.exp: New.
5250 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
5251
6e07b1d2
MM
52522014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5253
5254 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
5255 * gdb.btrace/exception.exp: Update.
5256 * gdb.btrace/instruction_history.exp: Update.
5257 * gdb.btrace/record_goto.exp: Update.
5258 * gdb.btrace/tailcall.exp: Update.
5259 * gdb.btrace/unknown_functions.exp: Update.
5260 * gdb.btrace/delta.exp: New.
5261
0b722aec
MM
52622014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5263
5264 * gdb.btrace/record_goto.exp: Add backtrace test.
5265 * gdb.btrace/tailcall.exp: Add backtrace test.
5266
066ce621
MM
52672014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5268
5269 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
5270 * gdb.btrace/record_goto.c: New.
5271 * gdb.btrace/record_goto.exp: New.
5272 * gdb.btrace/x86-record_goto.S: New.
5273
0688d04e
MM
52742014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5275
5276 * gdb.btrace/function_call_history.exp: Update tests.
5277 * gdb.btrace/instruction_history.exp: Update tests.
5278
8710b709
MM
52792014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5280
5281 * gdb.btrace/function_call_history.exp: Fix expected field
5282 order for "record function-call-history".
5283 Add new tests for "record function-call-history /c".
5284 * gdb.btrace/exception.cc: New.
5285 * gdb.btrace/exception.exp: New.
5286 * gdb.btrace/tailcall.exp: New.
5287 * gdb.btrace/x86-tailcall.S: New.
5288 * gdb.btrace/x86-tailcall.c: New.
5289 * gdb.btrace/unknown_functions.c: New.
5290 * gdb.btrace/unknown_functions.exp: New.
5291 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
5292
5de9129b
MM
52932014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5294
5295 * gdb.btrace/instruction_history.exp: Update.
5296 * gdb.btrace/function_call_history.exp: Update.
5297
23a7fe75
MM
52982014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5299
5300 * gdb.btrace/function_call_history.exp: Fix expected function
5301 trace.
5302 * gdb.btrace/instruction_history.exp: Initialize traced.
5303 Remove traced_functions.
5304
724c7dd8
MM
53052014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5306
5307 * gdb.btrace/function_call_history.exp: Update
5308 * gdb.btrace/instruction_history.exp: Update.
5309
6d78d93b
MM
53102014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5311
5312 * gdb.btrace/enable.exp: Update expected text.
5313
93a360cc
OJ
53142014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
5315
5316 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
5317 bytes.
5318
3772b53f
MR
53192014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
5320
5321 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
5322
596662fa
OJ
53232014-01-15 Omair Javaid <omair.javaid@linaro.org>
5324
5325 * lib/gdb.exp (supports_process_record): Return true for
5326 arm*-linux*. (supports_reverse): Likewise.
5327
b5b08fb4
SC
53282014-01-13 Siva Chandra Reddy <sivachandra@google.com>
5329
5330 PR python/15464
5331 PR python/16113
5332 * gdb.python/py-type.c: Enhance test case.
5333 * gdb.python/py-value-cc.cc: Likewise
5334 * gdb.python/py-type.exp: Add new tests.
5335 * gdb.python/py-value-cc.exp: Likewise
5336
52d7fb13
AA
53372014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
5338 Pedro Alves <palves@redhat.com>
5339
5340 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
5341 Make "name" extern.
5342 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
5343 references to ${name}_start by references to ${name}.
5344
a2cd8cfe
JB
53452014-01-10 Joel Brobecker <brobecker@adacore.com>
5346
5347 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
5348
4e23fced
JB
53492014-01-10 Joel Brobecker <brobecker@adacore.com>
5350
5351 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
5352
c6a9e42c
PA
53532014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
5354 Pedro Alves <palves@redhat.com>
5355
5356 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 5357 mi_gdb_target_load.
c6a9e42c 5358
b7ea362b
PA
53592014-01-08 Pedro Alves <palves@redhat.com>
5360
5361 * gdb.threads/reconnect-signal.c: New file.
5362 * gdb.threads/reconnect-signal.exp: New file.
5363
5e3f4fab
EBM
53642014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5365
5366 * gdb.base/source-dir.exp: New file.
5367
79301218
JB
53682014-01-07 Joel Brobecker <brobecker@adacore.com>
5369
5370 * gdb.ada/mi_interface: New testcase.
5371
8e355c5d
JB
53722014-01-07 Joel Brobecker <brobecker@adacore.com>
5373
5374 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
5375 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
5376 gdb.ada/pp-rec-component/pck.ads: New files.
5377
c0d48811
JB
53782014-01-07 Joel Brobecker <brobecker@adacore.com>
5379
5380 * gdb.python/py-pp-integral.c: New file.
5381 * gdb.python/py-pp-integral.py: New file.
5382 * gdb.python/py-pp-integral.exp: New file.
5383
17b609c3 5384For older changes see ChangeLog-1993-2013.
c906108c 5385\f
8d8cb839
EZ
5386;; Local Variables:
5387;; mode: change-log
5388;; left-margin: 8
5389;; fill-column: 74
5390;; version-control: never
5391;; End:
902f2ccb 5392
32d0add0 5393 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
5394 Copying and distribution of this file, with or without modification,
5395 are permitted provided the copyright notice and this notice are preserved.