]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Read $GDBHISTSIZE instead of $HISTSIZE
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
b58c513b
PP
12015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2
3 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
4 with GDBHISTSIZE.
5 * gdb.base/readline.exp: Likewise.
6
92046791
YQ
72015-06-17 Yao Qi <yao.qi@linaro.org>
8
9 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
10 line.
11
2093d2d3
PP
122015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13
14 * gdb.base/gdbinit-history.exp: Add test case to check that
15 an unlimited history file does not get truncated on exit.
16
e6c693af
AA
172015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18
19 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
20 (VECTOR): New macro. Use it...
21 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
22 ...for these typedefs.
23 (int8, char1, int1, double1): New typedefs.
24 (struct just_int2, struct two_int2): New structures.
25 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
26 (add_structvecs, add_singlevecs): New functions.
27 (main): Call add_some_intvecs twice.
28 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
29 the compile and exit upon failure. Try compiling for the "native"
30 architecture. Test inferior function calls with vector arguments
31 and vector return value handling with "finish" and "return".
32
c74f7d1c
JT
332015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
34
35 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
36 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
37 PE file.
38 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
39
98aa42ee
AT
402015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
41
42 PR breakpoints/16465
43 * gdb.mi/mi-dprintf-pending.c: New file.
44 * gdb.mi/mi-dprintf-pending.exp: New test.
45 * gdb.mi/mi-dprintf-pendshr.c: New file.
46
7d73c23c
WT
472015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
48 Mircea Gherzan <mircea.gherzan@intel.com>
49
50 * gdb.arch/i386-mpx-map.c: New file.
51 * gdb.arch/i386-mpx-map.exp: New File.
52
532015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
54
55 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
56 * gdb.arch/i386-mpx.exp: Indentation fixed.
57
582015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
59
60 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
61 function and improved indentation.
62 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
63 gdb_test_multiple. Added additional tests to skip the test.
64
652015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
66
67 * gdb.arch/i386-avx512.c: Change path in include file.
68 * gdb.arch/i386-avx512.exp: Change include dir path
69 compilation flag.
70 * gdb.arch/i386-mpx.c: Change path in include file.
71 * gdb.arch/i386-mpx.exp: Change include dir path compilation
72 flag.
73
d5eba19a
JK
742015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
75
76 * gdb.compile/compile-print.exp (compile print *vararray@3)
77 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
78
7f361056
JK
792015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
80
81 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
82 (do not keep jit in memory): ... this.
83 (expect 5): Change it to ...
84 (expect no 5): ... this.
85
3b462ec2
SM
862015-06-02 Simon Marchi <simon.marchi@ericsson.com>
87
88 PR gdb/15564
89 * gdb.mi/mi-detach.exp: New file.
90
e0619de6
JK
912015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
92
93 PR symtab/18392
94 * gdb.arch/amd64-tailcall-self.S: New file.
95 * gdb.arch/amd64-tailcall-self.c: New file.
96 * gdb.arch/amd64-tailcall-self.exp: New file.
97
e970cb34
DB
982015-05-28 Don Breazeal <donb@codesourcery.com>
99
100 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
101 tests for remote targets by checking is_target_gdbserver.
102
b2e2f908
DE
1032015-05-27 Doug Evans <dje@google.com>
104
105 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
106 * gdb.dwarf2/opaque-type-lookup.c: New file.
107 * gdb.dwarf2/opaque-type-lookup.exp: New file.
108
82c7be31
DE
1092015-05-26 Doug Evans <dje@google.com>
110
111 * gdb.cp/iostream.cc: New file.
112 * gdb.cp/iostream.exp: New file.
113
b4f54984
DE
1142015-05-26 Doug Evans <dje@google.com>
115
116 * gdb.dwarf2/dw2-op-call.exp: Update.
117 * gdb.dwarf2/dw4-sig-types.exp: Update.
118 * gdb.dwarf2/implptr.exp: Update.
119 * gdb.mi/mi-cmd-param-changed.exp: Update.
120
4ea6efe9
DE
1212015-05-26 Doug Evans <dje@google.com>
122
123 * gdb.python/py-lazy-string.c: New file.
124 * gdb.python/py-lazy-string.exp: New file.
125 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
126 (main): Update. Add estring3.
127 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
128 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
129
f6bb7db3
YQ
1302015-05-26 Omair Javaid <omair.javaid@linaro.org>
131 Yao Qi <yao.qi@linaro.org>
132
133 * gdb.reverse/aarch64.c: New.
134 * gdb.reverse/aarch64.exp: New.
135
a81bfbd0
OJ
1362015-05-26 Omair Javaid <omair.javaid@linaro.org>
137
138 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
139 (supports_reverse): Likewise.
140
158bf1b4
PP
1412015-05-22 Patrick Palka <patrick@parcs.ath.cx>
142
143 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
144 Use with_test_prefix.
145
a0145030
AB
1462015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
147
148 * gdb.base/completion.exp: Add test for completion of layout
149 names.
150
ebe3b578
AB
1512015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
152
153 * lib/gdb.exp (skip_tui_tests): New proc.
154 * gdb.base/tui-layout.exp: Check skip_tui_tests.
155
84204ed7
PA
1562015-05-19 Pedro Alves <palves@redhat.com>
157
158 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
159 Save the whole env array instead of just HOME. Unset HISTSIZE in
160 the environment while testing. Restore whole environment
161 afterwards.
162
37442ce1
DE
1632015-05-16 Doug Evans <xdje42@gmail.com>
164
165 * gdb.guile/scm-ports.c: New file.
166 * gdb.guile/scm-ports.exp: Add memory port tests.
167
36de76f9
JK
1682015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
169
170 * gdb.compile/compile-print.c: New file.
171 * gdb.compile/compile-print.exp: New file.
172
3a9558c4
JK
1732015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
174
175 * gdb.compile/compile-ops.exp: Cast param to void.
176 * gdb.compile/compile.exp: Complete type for _gdb_expr.
177 (compile code struct_object.selffield = &struct_object): Add xfail.
178
aa715135
JG
1792015-05-15 Joel Brobecker <brobecker@adacore.com>
180
181 * gdb.ada/arr_enum_with_gap: New testcase.
182
931e5bc3
JG
1832015-05-15 Joel Brobecker <brobecker@adacore.com>
184
185 * gdb.ada/byte_packed_arr: New testcase.
186
9cd4d857
JB
1872015-05-15 Joel Brobecker <brobecker@adacore.com>
188
189 * gdb.ada/pckd_neg: New testcase.
190
ebfd00d2
PP
1912015-05-13 Patrick Palka <patrick@parcs.ath.cx>
192
193 PR gdb/17820
194 * gdb.base/gdbinit-history.exp: New test.
195 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
196 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
197
4c082a81
SC
1982015-05-09 Siva Chandra Reddy <sivachandra@google.com>
199
200 * gdb.python/py-xmethods.cc: Enhance test case.
201 * gdb.python/py-xmethods.exp: New tests.
202 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
203 function.
204 (B_indexoper): Likewise.
205 (global_dm_list) : Add new xmethod worker functions.
206
f7797074
SDJ
2072015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
208
209 * gdb.base/coredump-filter.exp: Correctly unset
210 "coredump_var_addr" array.
211
a4674e4e
PA
2122015-05-08 Pedro Alves <palves@redhat.com>
213
214 * gdb.server/non-existing-program.exp: Unset spawn_id.
215
df2eb078
SC
2162015-05-08 Siva Chandra Reddy <sivachandra@google.com>
217
218 PR python/18291
219 * gdb.python/py-xmethods.exp: Add tests.
220
422349a3
YQ
2212015-05-08 Yao Qi <yao.qi@linaro.org>
222
223 PR gdb/18208
224 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
225 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
226 function set_coredump_filter, and remove remote_exec call.
227 Remove argument ipid. Callers update.
228 (top level): Don't get inferior's PID.
229
63fc80ce
AA
2302015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
231
232 * gdb.base/watch_thread_num.exp: Skip test on targets without
233 access watchpoints.
234
80ad801e
PA
2352015-05-06 Pedro Alves <palves@redhat.com>
236
237 PR server/18081
238 * gdb.server/non-existing-program.exp: New file.
239
0fa7fe50
JB
2402015-05-05 Joel Brobecker <brobecker@adacore.com>
241
242 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
243
3ea89b92
PMR
2442015-05-05 Joel Brobecker <brobecker@adacore.com>
245
246 * gdb.ada/out_of_line_in_inlined: New testcase.
247
87b8eff0
JB
2482015-05-05 Joel Brobecker <brobecker@adacore.com>
249
250 * gdb.ada/var_rec_arr: New testcase.
251
5fccc635
YQ
2522015-04-30 Yao Qi <yao.qi@linaro.org>
253
254 * gdb.base/break-idempotent.exp: If
255 skip_hw_watchpoint_multi_tests returns true, skip the tests
256 on "rwatch" and "awatch".
257
42d38f42
YQ
2582015-04-30 Yao Qi <yao.qi@linaro.org>
259
260 * gdb.base/relativedebug.exp: Invoke gdb command
261 "info sharedlibrary", and if libc.so doesn't have debug info,
262 skip the test.
263
2ce1cdbf
DE
2642015-04-29 Doug Evans <dje@google.com>
265
266 * gdb.python/py-xmethods.exp: Add ptype tests.
267 * gdb.python/py-xmethods.py (E_method_char_worker): Add
268 get_result_type method.
269
f24a38c5
LM
2702015-04-29 Luis Machado <lgustavo@codesourcery.com>
271
272 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
273 the target does not support hardware watchpoints.
274
ecbf2b3c
LM
2752015-04-29 Luis Machado <lgustavo@codesourcery.com>
276
277 * gdb.base/break-always.exp: Abort testing if writing to memory
278 causes an error.
279
34f5f757
DE
2802015-04-28 Doug Evans <dje@google.com>
281
282 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
283 * gdb.python/py-pp-registration.exp: ... here. New file.
284 * gdb.python/py-pp-registration.c: New file.
285 * gdb.python/py-pp-registration.py: New file.
286
69b4374a
DE
2872015-04-28 Doug Evans <dje@google.com>
288
289 * gdb.python/py-bad-printers.c: New file.
290 * gdb.python/py-bad-printers.py: New file.
291 * gdb.python/py-bad-printers.exp: New file.
292
59fb7612
SS
2932015-04-28 Sasha Smundak <asmundak@google.com>
294
295 * gdb.python/py-type.exp: New test.
296
2631b16a
AW
2972015-04-28 Andy Wingo <wingo@igalia.com>
298
299 * gdb.python/py-parameter.exp:
300 * gdb.guile/scm-parameter.exp: Escape the path that we are
301 matching against, as it might contain characters that are special
302 to regular expressions.
303
460efde1
JB
3042015-04-27 Joel Brobecker <brobecker@adacore.com>
305
306 * gdb.ada/rec_comp: New testcase.
307
2d369d8e
SDJ
3082015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
309
310 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
311 before using it.
312
cf75d6c3
AB
3132015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
314
315 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
316 new tests for verilog output.
317
8dbe7ca5
YQ
3182015-04-24 Yao Qi <yao.qi@linaro.org>
319
320 * boards/remote-gdbserver-on-localhost.exp: New file.
321
4ef9fb2f
PA
3222015-04-23 Pedro Alves <palves@redhat.com>
323
324 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
325 $inferior_spawn_id instead of $inferior_spawn_id directly. On
326 "end of file", remove $inferior_spawn_id from the indirect list.
327
0a803169
PA
3282015-04-23 Pedro Alves <palves@redhat.com>
329
330 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
331
749ef8f8
PA
3322015-04-23 Pedro Alves <palves@redhat.com>
333
334 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
335 on $any_spawn_id instead of only on $gdb_spawn_id.
336
8aae4344
PM
3372015-04-21 Pierre Muller <muller@sourceware.org>
338
339 PR pascal/17815
340 * lib/pascal.exp (gpc_compile): Add new option "class".
341 (fpc_compile): Likewise.
342 * gdb.pascal/case-insensitive-symbols.pas: New file.
343 * gdb.pascal/case-insensitive-symbols.exp: New file.
344
1586c8fb
GB
3452015-04-20 Gary Benson <gbenson@redhat.com>
346
347 * gdb.base/attach.exp: Fix three extended remote failures.
348
1b6e6f5c
GB
3492015-04-17 Gary Benson <gbenson@redhat.com>
350
351 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
352 the main executable over the remote protocol.
353
e797481d
PA
3542015-04-16 Pedro Alves <palves@redhat.com>
355
356 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
357 a new gdbserver if gdbserver_reconnect_p is set.
358
1ca99c42
PA
3592015-04-16 Pedro Alves <palves@redhat.com>
360
361 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
362 is set, don't exit gdbserver.
363
af9fd6f8
AA
3642015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
365
366 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
367 appropriate .insn, such that an older assembler can be used.
368 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
369 the z/Architecture instruction set on 31-bit targets as well.
370
04ff1e61
AA
3712015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
372
373 * gdb.go/handcall.exp: Remove all logic related to the first
374 breakpoint and rely on go_runto_main instead.
375 * gdb.go/strings.exp: Likewise.
376 * gdb.go/unsafe.exp: Likewise.
377 * gdb.go/hello.exp: Likewise. Also rename the remaining
378 breakpoint marker to "breakpoint 1".
379 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
380 * gdb.go/strings.go: Likewise.
381 * gdb.go/unsafe.go: Likewise.
382 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
383 "set breakpoint 2 here" and rename the remaining breakpoint marker
384 to "breakpoint 1".
385
40d2f8d6
SM
3862015-04-15 Simon Marchi <simon.marchi@ericsson.com>
387
388 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
389 if itertools.imap is not present.
390 * gdb.python/py-objfile.exp: Add parentheses.
391 * gdb.python/py-type.exp: Same.
392 * gdb.python/py-unwind-maint.py: Same.
393
8cbc97c6
YQ
3942015-04-15 Yao Qi <yao.qi@linaro.org>
395
396 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
397 of ":$ptr_size" and set its form explicitly.
398
45fd756c
YQ
3992015-04-15 Pedro Alves <palves@redhat.com>
400 Yao Qi <yao.qi@linaro.org>
401
402 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
403 timeout by factor of 4.
404 (test_regular_watch): Likewise.
405 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
406 * gdb.reverse/sigall-reverse.exp: Likewise.
407 * gdb.reverse/until-precsave.exp: Likewise.
408 * lib/gdb.exp (with_timeout_factor): New proc.
409 (gdb_expect): Move some code to ...
410 (get_largest_timeout): ... here. New procedure.
411
9e811bc3
LM
4122015-04-14 Luis Machado <lgustavo@codesourcery.com>
413
414 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
415
0ff6fcb2
LM
4162015-04-13 Luis Machado <lgustavo@codesourcery.com>
417
418 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
419 to write to the .text section.
420
7578d5f7
LM
4212015-04-13 Luis Machado <lgustavo@codesourcery.com>
422
423 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
424 Handle the case of targets that do not provide PID information.
425
2efe15c4
YQ
4262015-04-13 Yao Qi <yao.qi@linaro.org>
427
428 * lib/gdbserver-support.exp (gdb_exit): Catch exception
429 and use expect instead of gdb_expect.
430
8cd8f2f8
SDJ
4312015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
432
433 * gdb.base/coredump-filter.exp: Rename variable "addr" to
434 "coredump_var_addr" to avoid naming conflict with other testcases.
435
9ee41772
PA
4362015-04-10 Pedro Alves <palves@redhat.com>
437
438 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
439 gdb_test_sequence and gdb_assert.
440
07473109
PA
4412015-04-10 Pedro Alves <palves@redhat.com>
442
443 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
444 test messages that don't include the breakpoint address.
445
de3db44c
YQ
4462015-04-10 Yao Qi <yao.qi@linaro.org>
447
448 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
449 false for some offset and width combinations which aren't
450 supported by linux kernel.
451
c79d856c
PA
4522015-04-10 Pedro Alves <palves@redhat.com>
453
454 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
455 procedure, factored out from ...
456 (top level): ... here. Add "set displaced-stepping" testing axis.
457 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
458 parameter "displaced". Use it.
459 (top level): Use foreach and add "set displaced-stepping" testing
460 axis.
461
ebc90b50
PA
4622015-04-10 Pedro Alves <palves@redhat.com>
463
464 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
465 Remove comment.
466 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
467 both the address of the instruction that triggers the watchpoint
468 and the address of the instruction immediately after, and use
469 those addresses for the test. Fix comment.
470
8f572e5c
PA
4712015-04-10 Pedro Alves <palves@redhat.com>
472
473 * gdb.base/sigstep.exp (breakpoint_to_handler)
474 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
475 Test "backtrace" in handler.
476 (breakpoint_over_handler): New parameter 'displaced'. Use it.
477 (top level): Add new "displaced" test axis to
478 breakpoint_to_handler, breakpoint_to_handler_entry and
479 breakpoint_over_handler.
480
8d707a12
PA
4812015-04-10 Pedro Alves <palves@redhat.com>
482
483 PR gdb/18216
484 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
485
ef713951
YQ
4862015-04-10 Yao Qi <yao.qi@linaro.org>
487
488 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
489 (test_add_rn_pc): New function.
490 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
491 (top level): Invoke test_add_rn_pc.
492
906d60cf
PA
4932015-04-10 Pedro Alves <palves@redhat.com>
494
495 PR gdb/13858
496 * gdb.base/step-over-no-symbols.exp: New file.
497
f2983cc3
AW
4982015-04-09 Andy Wingo <wingo@igalia.com>
499
500 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
501 after the Python tests.
502
6d62641c
SDJ
5032015-04-08 Keith Seitz <keiths@redhat.com>
504
505 PR python/16699
506 * gdb.python/py-completion.exp: New tests for completion.
507 * gdb.python/py-completion.py (CompleteLimit1): New class.
508 (CompleteLimit2): Likewise.
509 (CompleteLimit3): Likewise.
510 (CompleteLimit4): Likewise.
511 (CompleteLimit5): Likewise.
512 (CompleteLimit6): Likewise.
513 (CompleteLimit7): Likewise.
514
f3770638
PA
5152015-04-08 Pedro Alves <palves@redhat.com>
516
517 PR gdb/18214
518 PR gdb/18216
519 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
520 function.
521 (main): Install it as SIGUSR1 handler.
522 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
523 parameter. Always use "setup" as prefix. Toggle "set
524 displaced-stepping" off/on depending on global. Don't switch to
525 thread 1 here.
526 (top level): Add displaced stepping "off/on" test axis. Update
527 "setup" calls. Wrap each subtest with with_test_prefix. Test
528 continuing with a queued signal in each thread.
529
4496bed7
PA
5302015-04-08 Pedro Alves <palves@redhat.com>
531
532 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
533 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
534 gdb_breakpoint instead of gdb_test that doesn't expect anything.
535 Return early if running to main fails.
536 * gdb.trace/while-stepping.exp: Likewise.
537
b97fde92
PA
5382015-04-07 Pedro Alves <palves@redhat.com>
539
540 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
541 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
542 interact with inferior program.
543
f71c18e7
PA
5442015-04-07 Pedro Alves <palves@redhat.com>
545
546 * lib/gdb.exp (inferior_spawn_id): New global.
547 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
548 spawn id after processing the user code.
549 (default_gdb_start): Set inferior_spawn_id.
550 (send_inferior): New procedure.
551 * lib/gdbserver-support.exp (gdbserver_start): Set
552 inferior_spawn_id.
553 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
554
6423214f
PA
5552015-04-07 Pedro Alves <palves@redhat.com>
556
557 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
558 * lib/gdbserver-support.exp (gdbserver_start): Make
559 $server_spawn_id global.
560 (gdbserver_start): Don't wait for gdbserver's spawn id with
561 expect_background.
562 (close_gdbserver): New procedure.
563 (gdb_exit): Rename the default version and reimplement.
564
71c0ee8c
PA
5652015-04-07 Pedro Alves <palves@redhat.com>
566
567 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
568 append the substituted item, not the original item.
569
203bc29b
PA
5702015-04-07 Pedro Alves <palves@redhat.com>
571
572 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
573 gdb_expect.
574
508a3ddf
PA
5752015-04-07 Pedro Alves <palves@redhat.com>
576
577 * gdb.base/interrupt.exp: Don't handle the case of the inferior
578 output appearing once only.
579
9f6dbe2b
PA
5802015-04-07 Pedro Alves <palves@redhat.com>
581
582 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
583 that doesn't expect anything. Return early if running to main
584 fails.
585
337532fa
YQ
5862015-04-07 Yao Qi <yao.qi@linaro.org>
587
588 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
589 (child_function): Call alarm.
590 (main): Move call to alarm into the loop.
591 * gdb.threads/non-stop-fair-events.exp: Build program with
592 -DTIMEOUT=$timeout.
593
01b622d4
DE
5942015-04-06 Doug Evans <xdje42@gmail.com>
595
596 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
597 Fix dest parameter to board_info.
598 (fpc_compile): Ditto.
599 (gdb_compile_pascal): Rename dest arg to destfile.
600
961f4160
PMR
6012015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
602
603 * gdb.ada/funcall_ref.exp: New file.
604 * gdb.ada/funcall_ref/foo.adb: New file.
605
cafda597
YQ
6062015-04-02 Yao Qi <yao.qi@linaro.org>
607
608 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
609 is remote.
610
fed040c6
GB
6112015-04-02 Gary Benson <gbenson@redhat.com>
612
613 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
614
d11916aa
SS
6152015-04-01 Sasha Smundak <asmundak@google.com>
616
617 * gdb.python/py-unwind-maint.c: New file.
618 * gdb.python/py-unwind-maint.exp: New test.
619 * gdb.python/py-unwind-maint.py: New file.
620 * gdb.python/py-unwind.c: New file.
621 * gdb.python/py-unwind.exp: New test.
622 * gdb.python/py-unwind.py: New test.
623
a1471180
PA
6242015-04-01 Pedro Alves <palves@redhat.com>
625
626 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
627 to fail instead of non-existent $test.
628
0bbeccb1
PA
6292015-04-01 Pedro Alves <palves@redhat.com>
630
631 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
632 GDBFLAGS if not empty.
633
3c724c8c
PMR
6342015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
635
636 * gdb.ada/complete.exp: Remove "multi_line".
637 * gdb.ada/info_exc.exp: Remove "multi_line".
638 * gdb.ada/packed_tagged.exp: Remove "multi_line".
639 * gdb.ada/ptype_field.exp: Remove "multi_line".
640 * gdb.ada/sym_print_name.exp: Remove "multi_line".
641 * gdb.ada/tagged.exp: Remove "multi_line".
642 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
643 [multi_line ...]
644 * gdb.btrace/delta.exp: Likewise.
645 * gdb.btrace/exception.exp: Likewise.
646 * gdb.btrace/function_call_history.exp: Likewise.
647 * gdb.btrace/instruction_history.exp: Likewise.
648 * gdb.btrace/nohist.exp: Likewise.
649 * gdb.btrace/record_goto.exp: Likewise.
650 * gdb.btrace/segv.exp: Likewise.
651 * gdb.btrace/stepi.exp: Likewise.
652 * gdb.btrace/tailcall.exp: Likewise.
653 * gdb.btrace/unknown_functions.exp: Likewise.
654 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
655 * lib/gdb.exp: Add the "multi_line" helper.
656
4eec2deb
PA
6572015-04-01 Pedro Alves <palves@redhat.com>
658
659 * gdb.threads/tid-reuse.c: New file.
660 * gdb.threads/tid-reuse.exp: New file.
661
df8411da
SDJ
6622015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
663
664 PR corefiles/16092
665 * gdb.base/coredump-filter.c: New file.
666 * gdb.base/coredump-filter.exp: Likewise.
667
6ef37366
PM
6682015-03-27 Petr Machata <pmachata@redhat.com>
669
670 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
671 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
672 (Dwarf::assemble): Initialize them.
673 (Dwarf::lines): New function.
674
7ec911b0
JT
6752015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
676
677 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
678 SYMBOL_PREFIX for x86_64-*-cygwin.
679
ff908ebf
AW
6802015-03-26 Andy Wingo <wingo@igalia.com>
681
682 PR symtab/18148
683 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
684 const_value but not a location.
685 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
686 location defined in non-main CUs are visible.
687
6d5f0679
YQ
6882015-03-26 Yao Qi <yao.qi@linaro.org>
689
690 PR testsuite/18139
691 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
692 Add a line number entry for the same line.
693 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
694 Add a line number entry for the same line.
695
2898689b
YQ
6962015-03-26 Yao Qi <yao.qi@linaro.org>
697
698 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
699 .int 0.
700 (func): Likewise. Add .Lfunc_1 label.
701 Use .Lfunc_1 label.
702 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
703 .int 0.
704 (func): Likewise.
705 Use .Lfunc_1 label.
706
85180498
YQ
7072015-03-26 Yao Qi <yao.qi@linaro.org>
708
709 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
710 Call gdb_compile instead to compile each .s files without debug
711 information.
712
8aa08a8d
YQ
7132015-03-26 Yao Qi <yao.qi@linaro.org>
714
715 * gdb.base/savedregs.exp (process_saved_regs): Make
716 "Saved registers:" optional in the pattern.
717
66849923
MM
7182015-03-25 Markus Metzger <markus.t.metzger@intel.com>
719
720 * gdb.btrace/next.exp: Merged into step.exp.
721 * gdb.btrace/finish.exp: Merged into step.exp.
722 * gdb.btrace/nexti.exp: Merged into stepi.exp.
723 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
724 "record goto" and checking the exact replay position.
725 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
726 check for "Recording format" in "info record" output.
727 * gdb.btrace/record_goto.exp: Choose test file based on target.
728 * gdb.btrace/x86-record_goto.S: Renamed into ...
729 * gdb.btrace/x86_64-record_goto.S: ... this.
730 * gdb.btrace/i686-record_goto.S: New.
731 * gdb.btrace/x86-tailcall.S: Renamed into ...
732 * gdb.btrace/x86_64-tailcall.S: ... this.
733 * gdb.btrace/i686-tailcall.S: New.
734 * gdb.btrace/x86-tailcall.c: Renamed into ...
735 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
736 separate statements. Update test.
737 * gdb.btrace/delta.exp: Use record_goto.c as test file.
738 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
739 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
740 * gdb.btrace/tailcall.exp: Choose test file based on target.
741 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
742
11cc1b74
MM
7432015-03-25 Markus Metzger <markus.t.metzger@intel.com>
744
745 * gdb.btrace/exception.exp: Increase BTS buffer size.
746
a25d8bf9
PA
7472015-03-24 Pedro Alves <palves@redhat.com>
748
749 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
750
856e7dd6
PA
7512015-03-24 Pedro Alves <palves@redhat.com>
752
753 * gdb.threads/schedlock.exp (test_step): No longer expect that
754 "set scheduler-locking step" with "next" over a function call runs
755 threads unlocked.
756
ad235a41
AT
7572015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
758
759 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
760
15630549
AT
7612015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
762
763 PR breakpoints/16466
764 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
765 * gdb.mi/mi-pending.c (thread_func): New function.
766 (int main): Add threading support required.
767 * gdb.mi/mi-pending.exp: Add tests for this issue.
768 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
769 (pendfunc2): Remove stdio dependency.
770 * gdb.mi/mi-pendshr2.c: New file.
771
693dca06
KS
7722015-03-23 Keith Seitz <keiths@redhat.com>
773
774 * gdb.linespec/keywords.c: New file.
775 * gdb.linespec/keywords.exp: New file.
776
7e993ebf
KS
7772015-03-23 Keith Seitz <keiths@redhat.com>
778
779 PR gdb/18021
780 * gdb.dwarf2/staticvirtual.exp: New test.
781
bc23328c
JK
7822015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
783
784 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
785 * README: Remove HP-UX and gdb.hp.
786 (configuration):
787 * configure: Regenerate.
788 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
789 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
790 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
791 gdb.hp/gdb.defects/Makefile.
792 * gdb.hp/Makefile.in: File deleted.
793 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
794 * gdb.hp/gdb.aCC/optimize.c: File deleted.
795 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
796 * gdb.hp/gdb.aCC/run.c: File deleted.
797 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
798 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
799 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
800 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
801 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
802 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
803 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
804 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
805 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
806 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
807 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
808 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
809 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
810 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
811 * gdb.hp/gdb.base-hp/reg.s: File deleted.
812 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
813 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
814 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
815 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
816 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
817 * gdb.hp/gdb.compat/Makefile.in: File deleted.
818 * gdb.hp/gdb.compat/average.c: File deleted.
819 * gdb.hp/gdb.compat/sum.c: File deleted.
820 * gdb.hp/gdb.compat/xdb.c: File deleted.
821 * gdb.hp/gdb.compat/xdb0.c: File deleted.
822 * gdb.hp/gdb.compat/xdb0.h: File deleted.
823 * gdb.hp/gdb.compat/xdb1.c: File deleted.
824 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
825 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
826 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
827 * gdb.hp/gdb.defects/Makefile.in: File deleted.
828 * gdb.hp/gdb.defects/bs14602.c: File deleted.
829 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
830 * gdb.hp/gdb.defects/solib-d.c: File deleted.
831 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
832 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
833 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
834 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
835 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
836 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
837 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
838 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
839 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
840 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
841 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
842 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
843 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
844 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
845 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
846 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
847 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
848 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
849 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
850 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
851 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
852 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
853 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
854 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
855 * gdb.hp/tools/odump: File deleted.
856
8bf3b159
PA
8572015-03-19 Pedro Alves <palves@redhat.com>
858
859 * gdb.threads/continue-pending-status.exp (saw_thread_2)
860 (saw_thread_3): New globals.
861 (top level): Increment them when an event for the corresponding
862 thread is seen.
863 (no thread starvation): New test.
864
eb54c8bf
PA
8652015-03-19 Pedro Alves <palves@redhat.com>
866
867 * gdb.threads/continue-pending-status.c: New file.
868 * gdb.threads/continue-pending-status.exp: New file.
869
32d2e5d6
PA
8702015-03-18 Pedro Alves <palves@redhat.com>
871
872 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
873 Use gdb_is_target_remote instead of is_remote. Use
874 gdb_test_multiple instead of gdb_expect. Exit early if
875 gdb_test_multiple hits its internal matches. Tighten stepi tests
876 expected output. Fail on exit with any signal, instead of just
877 SIGILL.
878
f68f11b7
YQ
8792015-03-18 Yao Qi <yao.qi@linaro.org>
880
881 PR tdep/18107
882 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
883 variable.
884 * gdb.base/catch-syscall.exp: Don't skip it on
885 aarch64*-*-linux* target. Remove elements in all_syscalls.
886 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
887 target.
888 (setup_all_syscalls): New proc.
889
ca5fd19b
YQ
8902015-03-16 Yao Qi <yao.qi@linaro.org>
891
892 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
893 (top level): Skip tests if valid_addr_p returns false for
894 $cmd1 or $cmd2.
895
85642ba0
AW
8962015-03-11 Andy Wingo <wingo@igalia.com>
897
898 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
899
e03f9645
YQ
9002015-03-11 Yao Qi <yao.qi@linaro.org>
901
902 * gdb.base/catch-syscall.exp: Fix typo in comments.
903
5d0962b2
YQ
9042015-03-11 Yao Qi <yao.qi@linaro.org>
905
906 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
907
b2df3cef
PA
9082015-03-09 Pedro Alves <palves@redhat.com>
909
910 * dg-extract-results.py: Delete.
911
ef878e53
PA
9122015-03-09 Pedro Alves <palves@redhat.com>
913
914 Merge dg-extract-results.sh from GCC upstream (r218843).
915
916 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
917 * dg-extract-results.sh: Use --text with grep to avoid issues with
918 binary files. Fall back to cat -v, if that doesn't work.
919
9494d219
PA
9202015-03-05 Pedro Alves <palves@redhat.com>
921
922 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
923
a8d9763a
SM
9242015-03-04 Simon Marchi <simon.marchi@ericsson.com>
925
926 * lib/mi-support.exp (mi_expect_interrupt): Accept
927 alternative event for when in all-stop mode.
928
be9957b8
PA
9292015-03-04 Pedro Alves <palves@redhat.com>
930
931 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
932
d57be0f4 9332015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
934
935 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
936
c214c7cf
AA
9372015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
938
939 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
940 regexps for GDB's current line display, accept a hex address
941 preceding the line number.
942
6d74a497
AA
9432015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
944
945 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
946 the 'arch1' variable for "s390*-linux*" targets.
947
511aee7c
PA
9482015-03-04 Pedro Alves <palves@redhat.com>
949
950 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
951 (main): Pass missing retval argument to pthread_join call.
952
95e50b27
PA
9532015-03-02 Pedro Alves <palves@redhat.com>
954
955 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
956 (top level): Call do_test with non-stop as well.
957
28054d69
PA
9582015-03-02 Pedro Alves <palves@redhat.com>
959
960 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
961 -1.
962
4fa5d7b4
AA
9632015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
964
965 * gdb.arch/s390-vregs.exp: New test.
966 * gdb.arch/s390-vregs.S: New file.
967
97c18565
PA
9682015-02-27 Pedro Alves <palves@redhat.com>
969
970 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
971 call to catch_command_errors.
972 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
973 catch_command_errors.
974
a37bfa30
PA
9752015-02-27 Pedro Alves <palves@redhat.com>
976
977 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
978 "true" for boolean result.
979 * gdb.gdb/selftest.exp (test_with_self): Also accept full
980 prototype of main.
981
6f98576f
PA
9822015-02-27 Pedro Alves <palves@redhat.com>
983
984 * lib/unbuffer_output.c: New file.
985 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
986 (main): Call gdb_unbuffer_output.
987
eba5ab56
YQ
9882015-02-27 Yao Qi <yao.qi@linaro.org>
989
990 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
991 target.
992
0def5aaa
DE
9932015-02-26 Doug Evans <dje@google.com>
994
995 * gdb.cp/class2.cc (Dbase, D): New classes.
996 (main): New local delta.
997 * gdb.cp/class2.exp: Test printing delta.
998 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
999 (dynbar): New global.
1000 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
1001
081a1c2c
JK
10022015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1003
1004 * gdb.compile/compile-ifunc.c: New file.
1005 * gdb.compile/compile-ifunc.exp: New file.
1006
2f41223f
AT
10072015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
1008
1009 * gdb.base/structs.exp: Check for correct struct on finish.
1010
03eddd80
YQ
10112015-02-26 Yao Qi <yao.qi@linaro.org>
1012
1013 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
1014 is zero.
1015
80c57053
JK
10162015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1017
1018 * gdb.arch/cordic.ko.bz2: New file.
1019 * gdb.arch/cordic.ko.debug.bz2: New file.
1020 * gdb.arch/ppc64-symtab-cordic.exp: New file.
1021
21613c12
YQ
10222015-02-25 Yao Qi <yao.qi@linaro.org>
1023
1024 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
1025 aarch64*-*-* target.
1026
d8b901ed
PA
10272015-02-23 Pedro Alves <palves@redhat.com>
1028
1029 * lib/gdb.exp (delete_breakpoints): Rewrite using
1030 gdb_test_multiple.
1031
e5b85ead
PA
10322015-02-23 Pedro Alves <palves@redhat.com>
1033
1034 * gdb.base/info-os.c: Include stdlib.h.
1035
85c3a371
DE
10362015-02-22 Doug Evans <xdje42@gmail.com>
1037
1038 PR symtab/17855
1039 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
1040 is read after symbols have been re-read.
1041 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
1042 * gdb.ada/exec_changed/second.adb (Second): Ditto.
1043
96553a0c
DE
10442015-02-21 Doug Evans <dje@google.com>
1045
1046 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
1047
97a0c697
JK
10482015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1049
1050 PR corefiles/17808
1051 * gdb.arch/i386-biarch-core.core.bz2: New file.
1052 * gdb.arch/i386-biarch-core.exp: New file.
1053
a47cd6e9
PA
10542015-02-21 Pedro Alves <palves@redhat.com>
1055
1056 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
1057 runto_main fails.
1058
c5facdc4
PA
10592015-02-20 Pedro Alves <palves@redhat.com>
1060
1061 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
1062 info probes.
1063
2db9a427
PA
10642015-02-20 Pedro Alves <palves@redhat.com>
1065
1066 * gdb.threads/multi-create-ns-info-thr.exp: New file.
1067
60fb7e9e
PA
10682015-02-20 Pedro Alves <palves@redhat.com>
1069
1070 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
1071 clean_restart before gdb_target_supports_trace.
1072
5c5019c2
PA
10732015-02-20 Pedro Alves <palves@redhat.com>
1074
1075 PR threads/18006
1076 * gdb.threads/clone-thread_db.c: New file.
1077 * gdb.threads/clone-thread_db.exp: New file.
1078
c9587f88
AT
10792015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
1080
1081 PR breakpoints/16812
1082 * gdb.base/catch-gdb-caused-signals.c: New file.
1083 * gdb.base/catch-gdb-caused-signals.exp: New file.
1084
f6a88844
JM
10852015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
1086
1087 * configure: Regenerated.
1088 * configure.ac: Use GDB_AC_TRANSFORM.
1089 * aclocal.m4: sinclude ../transform.m4.
1090
497c491b
JM
10912015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1092
1093 * lib/dtrace.exp: New file.
1094 * gdb.base/dtrace-probe.exp: Likewise.
1095 * gdb.base/dtrace-probe.d: Likewise.
1096 * gdb.base/dtrace-probe.c: Likewise.
1097 * lib/pdtrace.in: Likewise.
1098 * configure.ac: Output variables with the transformed names of
1099 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
1100 * configure: Regenerated.
1101
03e98035
JM
11022015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1103
1104 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
1105 expected message when trying to access $_probe_* convenience
1106 variables while not on a probe.
1107
63cc30e9
JK
11082015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1109
1110 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
1111
0703599a
PA
11122015-02-11 Pedro Alves <pedro@codesourcery.com>
1113
1114 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
1115 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
1116
7e60a48e
DE
11172015-02-10 Doug Evans <xdje42@gmail.com>
1118
1119 * lib/gdb.exp (gdb_load): Always return a result.
1120
01b088bc
PA
11212015-02-10 Pedro Alves <palves@redhat.com>
1122
1123 * gdb.threads/signal-sigtrap.c: New file.
1124 * gdb.threads/signal-sigtrap.exp: New file.
1125
b05ec7a5
AT
11262015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
1127
1128 * gdb.trace/no-attach-trace.c: New file.
1129 * gdb.trace/no-attach-trace.exp: New file.
1130
a2c2acaf
MW
11312015-02-09 Mark Wielaard <mjw@redhat.com>
1132
1133 * gdb.dwarf2/atomic.c: New file.
1134 * gdb.dwarf2/atomic-type.exp: Likewise.
1135
31fd9caa
MM
11362015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1137
1138 * gdb.btrace/buffer-size.exp: Update "info record" output.
1139 * gdb.btrace/delta.exp: Update "info record" output.
1140 * gdb.btrace/enable.exp: Update "info record" output.
1141 * gdb.btrace/finish.exp: Update "info record" output.
1142 * gdb.btrace/instruction_history.exp: Update "info record" output.
1143 * gdb.btrace/next.exp: Update "info record" output.
1144 * gdb.btrace/nexti.exp: Update "info record" output.
1145 * gdb.btrace/step.exp: Update "info record" output.
1146 * gdb.btrace/stepi.exp: Update "info record" output.
1147 * gdb.btrace/nohist.exp: Update "info record" output.
1148
d33501a5
MM
11492015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1150
1151 * gdb.btrace/buffer-size: New.
1152
f4abbc16
MM
11532015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1154
1155 * gdb.btrace/delta.exp: Update "info record" output.
1156 * gdb.btrace/enable.exp: Update "info record" output.
1157 * gdb.btrace/finish.exp: Update "info record" output.
1158 * gdb.btrace/instruction_history.exp: Update "info record" output.
1159 * gdb.btrace/next.exp: Update "info record" output.
1160 * gdb.btrace/nexti.exp: Update "info record" output.
1161 * gdb.btrace/step.exp: Update "info record" output.
1162 * gdb.btrace/stepi.exp: Update "info record" output.
1163 * gdb.btrace/nohist.exp: Update "info record" output.
1164
b9d61307
SM
11652015-02-06 Simon Marchi <simon.marchi@ericsson.com>
1166
1167 PR gdb/15678
1168 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
1169
e584fdbc
PA
11702015-02-06 Pedro Alves <palves@redhat.com>
1171
1172 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
1173 macro.
1174 (seconds_left, again): New globals.
1175 (main): Wait seconds_left in a 1-second sleep loop instead of
1176 sleeping 180 seconds. If 'again' is set, reset the seconds
1177 counter.
1178 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
1179 'again' in the inferior before detaching. Print the seconds left.
1180 (options): New global.
1181 (top level): Build program with -DTIMEOUT=$timeout.
1182
77f41761
PA
11832015-02-06 Pedro Alves <palves@redhat.com>
1184
1185 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
1186 determine how many seconds to pass to 'alarm'.
1187 * gdb.base/gdb-sigterm.exp (top level): Build program with
1188 -DTIMEOUT=$timeout.
1189 (do_test): Return success/failure indication. Add more verbose
1190 logging. Don't fail if 200 single steps are seen. Instead, fail
1191 when the test times out.
1192 (passes): New global.
1193 (top level): Break the testing loop if testing fails on any
1194 iteration. Use gdb_assert.
1195
b9394193
DB
11962015-02-04 Don Breazeal <donb@codesourcery.com>
1197
1198 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
1199 and initialize them.
1200 (ipc_cleanup): New function.
1201 (main): Don't declare shmid, semid, and msqid. Add a call to
1202 atexit so that we call ipc_cleanup on exit.
1203
42d9e528
PA
12042015-02-04 Pedro Alves <palves@redhat.com>
1205
1206 * boards/native-extended-gdbserver.exp: Remove any target variant
1207 specifications from the board name before clearing the isremote
1208 flag from board_info.
1209
ae6ae975
DE
12102015-01-31 Doug Evans <xdje42@gmail.com>
1211
1212 * gdb.base/maint.exp <maint print type argc>: Update expected output.
1213
cfb069a8
GB
12142015-01-31 Gary Benson <gbenson@redhat.com>
1215
1216 * gdb.base/completion.exp: Disable completion limiting for
1217 existing tests. Add new tests to check completion limiting.
1218 * gdb.linespec/ls-errs.exp: Disable completion limiting.
1219
5dd31d79
DE
12202015-01-31 Doug Evans <xdje42@gmail.com>
1221
1222 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
1223
9f050062
DE
12242015-01-31 Doug Evans <xdje42@gmail.com>
1225
1226 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
1227 entries. Duplicate file section script entries.
1228 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
1229 inlined entries. Add test for safe-path rejection.
1230 * gdb.python/py-section-script.c: Add duplicate inlined section script
1231 entries. Duplicate file section script entries.
1232 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
1233 inlined entries. Add test for safe-path rejection.
1234
df25ebbd
JB
12352015-01-29 Joel Brobecker <brobecker@adacore.com>
1236
1237 * gdb.ada/disc_arr_bound: New testcase.
1238
4a0ca9ec
JB
12392015-01-29 Joel Brobecker <brobecker@adacore.com>
1240
1241 * gdb.ada/mi_var_array: New testcase.
1242
3a8b707a
DE
12432015-01-27 Doug Evans <dje@google.com>
1244
1245 * gdb.python/py-objfile.exp: Add tests for objfile.username.
1246 Add test for objfile.filename, objfile.username after objfile
1247 has been unloaded.
1248
f8313f6e
JB
12492015-01-26 Joel Brobecker <brobecker@adacore.com>
1250
1251 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
1252 the second test to print the name attribute of value
1253 returned by the call to gdb.lookup_type, and adjust
1254 the expected output accordingly.
1255
37bc665e
MW
12562015-01-25 Mark Wielaard <mjw@redhat.com>
1257
1258 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
1259 * gdb.base/disp-step-fork.c: Include unistd.h.
1260 * gdb.base/siginfo-obj.c: Include stdio.h.
1261 * gdb.base/siginfo-thread.c: Likewise.
1262 * gdb.mi/non-stop.c: Include unistd.h.
1263 * gdb.mi/nsthrexec.c: Include stdio.h.
1264 * gdb.mi/pthreads.c: Include unistd.h.
1265 * gdb.modula2/unbounded1.c (main): Declare returns int.
1266 * gdb.reverse/consecutive-reverse.c: Likewise.
1267 * gdb.threads/create-fail.c: Include unistd.h.
1268 * gdb.threads/killed.c: Likewise.
1269 * gdb.threads/linux-dp.c: Likewise.
1270 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
1271 * gdb.threads/non-ldr-exc-2.c: Likewise.
1272 * gdb.threads/non-ldr-exc-3.c: Likewise.
1273 * gdb.threads/non-ldr-exc-4.c: Likewise.
1274 * gdb.threads/pthreads.c: Include unistd.h.
1275 (main): Declare returns int.
1276 * gdb.threads/tls-main.c (foo): New declaration.
1277 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
1278
f7e5394d
SM
12792015-01-23 Simon Marchi <simon.marchi@ericsson.com>
1280
1281 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
1282 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
1283
743649fd
MW
12842015-01-15 Mark Wielaard <mjw@redhat.com>
1285
1286 * gdb.base/noreturn-return.c: New file.
1287 * gdb.base/noreturn-return.exp: New file.
1288 * gdb.base/noreturn-finish.c: New file.
1289 * gdb.base/noreturn-finish.exp: New file.
1290
198297aa
PA
12912015-01-23 Pedro Alves <palves@redhat.com>
1292
1293 * gdb.threads/continue-pending-after-query.c: New file.
1294 * gdb.threads/continue-pending-after-query.exp: New file.
1295
717cf30c
AG
12962015-01-22 Anders Granlund <anders.granlund@ericsson.com>
1297 Simon Marchi <simon.marchi@ericsson.com>
1298
1299 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
1300 * gdb.base/valgrind-db-attach.exp: Same.
1301 * gdb.base/valgrind-infcall.exp: Same.
1302 * lib/mi-support.exp (default_mi_gdb_start): Same.
1303 * lib/prompt.exp (default_prompt_gdb_start): Same.
1304 * lib/gdb.exp (default_gdb_spawn): Same.
1305 (gdb_interact): New.
1306
1307
4b62a76e
JK
13082015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1309
1310 * gdb.compile/compile.exp (pointer to jit function): New test.
1311
b4cdae6f
WW
13122015-01-17 Wei-cheng Wang <cole945@gmail.com>
1313
1314 * lib/gdb.exp (supports_process_record): Return true for
1315 powerpc*-*-linux*.
1316 (supports_reverse): Likewise.
1317
d221e7ef
DB
13182015-01-15 Don Breazeal <donb@codesourcery.com>
1319
1320 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
1321 instead of checking whether the target board is remote and
1322 use spawn_wait_for_attach instead of exec/sleep.
1323 * gdb.base/attach-twice.exp: Likewise.
1324
bafffb51
JB
13252015-01-15 Joel Brobecker <brobecker@adacore.com>
1326
1327 * gdb.ada/var_arr_attrs: New testcase.
1328
5589af0e
PA
13292015-01-14 Pedro Alves <palves@redhat.com>
1330 Joel Brobecker <brobecker@adacore.com>
1331
1332 PR gdb/17525
1333 * gdb.base/bp-cmds-execution-x-script.c: New file.
1334 * gdb.base/bp-cmds-execution-x-script.exp: New file.
1335 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
1336
6c400b59
PA
13372015-01-14 Pedro Alves <palves@redhat.com>
1338
1339 PR cli/17828
1340 * gdb.base/batch-preserve-term-settings.c: New file.
1341 * gdb.base/batch-preserve-term-settings.exp: New file.
1342
e02c96a7
DE
13432015-01-13 Doug Evans <dje@google.com>
1344
1345 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
1346 binary.
1347
576fd14c
JB
13482015-01-13 Joel Brobecker <brobecker@adacore.com>
1349
1350 * Makefile.in (clean mostlyclean): Do not delete *.py.
1351
04dccad0
JB
13522015-01-13 Joel Brobecker <brobecker@adacore.com>
1353
1354 * gdb.python/py-lookup-type.exp: New file.
1355
3d230f71
PA
13562015-01-12 Pedro Alves <palves@redhat.com>
1357
1358 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
1359 restore GDBFLAGS before returning.
1360
7e67715d
JK
13612015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1362
1363 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
1364 is_amd64_regs_target and is_x86_like_target.
1365
f2e0d4b4
DE
13662015-01-11 Doug Evans <xdje42@gmail.com>
1367
1368 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
1369 is given without an explicit form.
1370 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
1371 attributes.
1372 * gdb.dwarf/corrupt.exp: Ditto.
1373 * gdb.dwarf2/enum-type.exp: Ditto.
1374 * gdb.trace/entry-values.exp: Ditto.
1375 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
1376
439250fb
DE
13772015-01-11 Doug Evans <xdje42@gmail.com>
1378
1379 PR gdb/15830
1380 * gdb.base/maint.exp: Remove references to "maint demangle".
1381 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
1382 Add tests for explicitly specifying language to demangle.
1383 * gdb.dlang/demangle.exp: Ditto.
1384
ede9f622
PA
13852015-01-09 Pedro Alves <palves@redhat.com>
1386
1387 * gdb.threads/non-stop-fair-events.c: New file.
1388 * gdb.threads/non-stop-fair-events.exp: New file.
1389
a7b796db
PA
13902015-01-09 Pedro Alves <palves@redhat.com>
1391
1392 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
1393 the global scope. Set a breakpoint after all threads are started
1394 rather than stepping over two source lines. Expect the prompt.
1395 * gdb.base/watch_thread_num.c (threads_started_barrier): New
1396 global.
1397 (NUM): Now 15.
1398 (main): Use threads_started_barrier to wait for all threads to
1399 start. Main thread no longer calls thread_function. Exit after
1400 180 seconds.
1401 (loop): New function.
1402 (thread_function): Wait on threads_started_barrier barrier. Call
1403 'loop' at each iteration.
1404 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
1405 threads have started, instead of hardcoding number of "next"
1406 steps. Use an access watchpoint instead of a write watchpoint.
1407
9665ffdd
PA
14082015-01-09 Pedro Alves <palves@redhat.com>
1409
1410 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
1411 (thread_func): Wait on barrier.
1412 (main): Wait for all threads to start before stopping GDB.
1413 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
1414 global.
1415 (thread1_func, thread2_func): Wait on barrier.
1416 (main): Wait for all threads to start before stopping GDB.
1417 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
1418 New global.
1419 (thread1_func, thread2_func): Wait on barrier.
1420 (main): Wait for all threads to start before stopping GDB.
1421
c945a99f
PA
14222015-01-09 Pedro Alves <palves@redhat.com>
1423
1424 * gdb.threads/attach-many-short-lived-threads.c: New file.
1425 * gdb.threads/attach-many-short-lived-threads.exp: New file.
1426
c1a747c1
PA
14272014-01-09 Pedro Alves <palves@redhat.com>
1428
1429 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
1430 instead of to thread 2.
1431 * gdb.threads/signal-command-multiple-signals-pending.c (main):
1432 Add barrier around each pthread_create call instead of around all
1433 calls.
1434 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
1435 Set a break on thread_function and have the child threads hit it
1436 one at at a time.
1437
60b3033e
PA
14382015-01-09 Pedro Alves <palves@redhat.com>
1439
1440 * lib/gdb.exp (can_spawn_for_attach): New procedure.
1441 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
1442 false.
1443 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
1444 checking whether the target board is remote.
1445 * gdb.multi/multi-attach.exp: Likewise.
1446 * gdb.python/py-sync-interp.exp: Likewise.
1447 * gdb.server/ext-attach.exp: Likewise.
1448 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
1449 tests that need to attach, instead of checking whether the target
1450 board is remote at the top of the file.
1451
acc018ac
YQ
14522015-01-08 Yao Qi <yao@codesourcery.com>
1453
1454 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
1455
50a18af8
JK
14562015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1457
1458 Fix testcase compilation.
1459 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
1460
8503d6e1
JB
14612015-01-06 Joel Brobecker <brobecker@adacore.com>
1462
1463 * gdb.python/py-type.exp: Add a couple test about empty
1464 array creation, and negative-length array creation.
1465
cc73dbcc
DE
14662015-01-02 Doug Evans <xdje42@gmail.com>
1467
1468 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
1469
0300bbc7
DE
14702015-01-02 Doug Evans <dje@google.com>
1471
1472 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
1473
9d85a0ec
YQ
14742014-12-29 Yao Qi <yao@codesourcery.com>
1475
1476 * gdb.trace/entry-values.exp: Update comments. Rename variable
1477 bar_call_foo to returned_from_foo.
1478
87186c6a
MMN
14792014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
1480
1481 PR gdb/17394
1482 * gdb.linespec/break-asm-file.c: New file.
1483 * gdb.linespec/break-asm-file.exp: New file.
1484 * gdb.linespec/break-asm-file0.s: New file.
1485 * gdb.linespec/break-asm-file1.s: New file.
1486
1bab7383
YQ
14872014-12-18 Nigel Stephens <nigel@mips.com>
1488 Maciej W. Rozycki <macro@codesourcery.com>
1489
1490 * gdb.base/float.exp: Handle the new output from "info float" on
1491 MIPS targets.
1492
1bc1068a
JK
14932014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1494
1495 Fix MinGW compilation.
1496 * gdb.compile/compile-ops.exp: Update untested message if
1497 !skip_compile_feature_tests.
1498 * gdb.compile/compile-setjmp.exp: Likewise.
1499 * gdb.compile/compile-tls.exp: Likewise.
1500 * gdb.compile/compile.exp: Likewise.
1501 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
1502 supported on this host".
1503
b6615d10
DE
15042014-12-16 Doug Evans <xdje42@gmail.com>
1505
1506 * boards/stabs.exp: New file.
1507
25dda427
AA
15082014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
1509
1510 * gdb.base/completion.exp: Adjust to format changes of "maint
1511 print user-registers".
1512
bf330350
CU
15132014-12-16 Catalin Udma <catalin.udma@freescale.com>
1514
1515 PR server/17457
1516 * gdb.arch/aarch64-fp.c: New file.
1517 * gdb.arch/aarch64-fp.exp: New file.
1518
395cf596
SDJ
15192014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
1520
1521 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
1522 r210637, r210913, r211666, r215400, r215817).
1523
1524 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
1525 * dg-extract-results.py: New file.
1526 * dg-extract-results.sh: Use it if the environment seems
1527 suitable.
1528
1529 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
1530
1531 * dg-extract-results.py (parse_run): Handle warnings that
1532 are printed before a test harness is run.
1533
1534 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
1535
1536 * dg-extract-results.py (Named): Remove __cmp__ method.
1537 (output_variation): Use a key to sort variation.harnesses.
1538
1539 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
1540
1541 * dg-extract-results.py: For Python 3, force sys.stdout to
1542 handle surrogate escape sequences.
1543 (safe_open): New function.
1544 (output_segment, main): Use it.
1545
1546 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
1547
1548 * dg-extract-results.py (Prog.result_re): Include options
1549 in test name.
1550
1551 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
1552
1553 * dg-extract-results.py (output_variation): Always sort if
1554 do_sum.
1555
e882ef3c
SM
15562014-12-15 Simon Marchi <simon.marchi@ericsson.com>
1557
1558 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
1559 as long as we get pagination notifications.
1560
4992aa20
JM
15612014-12-15 Jason Merrill <jason@redhat.com>
1562
1563 * Makefile.in (check-gdb.%): Restore.
1564 * README: Mention it.
1565
c1b5a1a6
JB
15662014-12-13 Joel Brobecker <brobecker@adacore.com>
1567
1568 * gdb.ada/str_uninit: New testcase.
1569
5537b577
JK
15702014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1571
1572 PR symtab/17642
1573 * gdb.base/vla-stub-define.c: New file.
1574 * gdb.base/vla-stub.c: New file.
1575 * gdb.base/vla-stub.exp: New file.
1576
bb2ec1b3
TT
15772014-12-12 Phil Muldoon <pmuldoon@redhat.com>
1578 Jan Kratochvil <jan.kratochvil@redhat.com>
1579 Tom Tromey <tromey@redhat.com>
1580
1581 * configure.ac: Add gdb.compile/.
1582 * configure: Regenerate.
1583 * gdb.compile/Makefile.in: New file.
1584 * gdb.compile/compile-ops.exp: New file.
1585 * gdb.compile/compile-ops.c: New file.
1586 * gdb.compile/compile-tls.c: New file.
1587 * gdb.compile/compile-tls.exp: New file.
1588 * gdb.compile/compile-constvar.S: New file.
1589 * gdb.compile/compile-constvar.c: New file.
1590 * gdb.compile/compile-mod.c: New file.
1591 * gdb.compile/compile-nodebug.c: New file.
1592 * gdb.compile/compile-setjmp-mod.c: New file.
1593 * gdb.compile/compile-setjmp.c: New file.
1594 * gdb.compile/compile-setjmp.exp: New file.
1595 * gdb.compile/compile-shlib.c: New file.
1596 * gdb.compile/compile.c: New file.
1597 * gdb.compile/compile.exp: New file.
1598 * lib/gdb.exp (skip_compile_feature_tests): New proc.
1599
4ff709eb
TT
16002014-12-12 Tom Tromey <tromey@redhat.com>
1601
1602 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
1603 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
1604
6dddd6a5
DE
16052014-12-12 Doug Evans <dje@google.com>
1606
1607 * lib/gdb-python.exp (get_python_valueof): New function.
1608 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
1609
71c24708
AA
16102014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1611
1612 * gdb.base/completion.exp: Add test for completion of "info
1613 registers ".
1614
3e29f34a
MR
16152014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
1616
1617 * gdb.base/func-ptrs.c: New file.
1618 * gdb.base/func-ptrs.exp: New file.
1619
fc126975
SM
16202014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1621
1622 PR breakpoints/17012
1623 * gdb.base/dprintf-detach.c: New file.
1624 * gdb.base/dprintf-detach.exp: New file.
1625
0a46d518
SM
16262014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1627
1628 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
1629 * lib/gdb.exp (target_is_gdbserver): New procedure.
1630
a0be3e44
DE
16312014-12-08 Doug Evans <dje@google.com>
1632
1633 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
1634
df1b803a
YQ
16352014-12-05 Yao Qi <yao@codesourcery.com>
1636
1637 * gdb.guile/scm-error.exp: Remove the third argument to
1638 gdb_remote_download.
1639 * gdb.guile/scm-frame-args.exp: Likewise.
1640 * gdb.guile/scm-section-script.exp: Likewise.
1641
ddb9f679
YQ
16422014-12-05 Yao Qi <yao@codesourcery.com>
1643
1644 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
1645
86e4ed39
DE
16462014-12-04 Doug Evans <dje@google.com>
1647
1648 * gdb.python/py-objfile.exp: Add tests for
1649 objfile.add_separate_debug_file.
1650
7c50a931
DE
16512014-12-04 Doug Evans <dje@google.com>
1652
1653 * lib/gdb.exp (get_build_id): New function.
1654 (build_id_debug_filename_get): Rewrite to use it.
1655 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
1656
621661e3
MR
16572014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
1658
1659 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
1660 `method(long)', not just 0x0.
1661 * gdb.cp/nsalias.exp: Align code labels to 4.
1662 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
1663 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
1664 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
1665 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
1666 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
1667 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
1668
29f0c3b7
DE
16692014-12-02 Doug Evans <dje@google.com>
1670
e1e061e7 1671 PR symtab/17602
29f0c3b7 1672 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 1673 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
1674 * gdb.cp/anon-ns.exp: Update.
1675
162078c8
NB
16762014-12-02 Nick Bull <nicholaspbull@gmail.com>
1677
1678 * gdb.python/py-events.py (inferior_call_handler): New.
1679 (register_changed_handler, memory_changed_handler): New.
1680 (test_events.invoke): Register new handlers.
1681 * gdb.python/py-events.exp: Add tests for inferior call,
1682 memory_changed and register_changed events.
1683
fdb09caf
AA
16842014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1685
1686 * gdb.base/execl-update-breakpoints.exp: Specify the link address
1687 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
1688 if the linker doesn't understand this.
1689
55cfb2c4
SM
16902014-12-01 Simon Marchi <simon.marchi@ericsson.com>
1691
1692 * gdb.python/python.exp: Change expected reply to help().
1693
9e8cd6df
YQ
16942014-12-01 Yao Qi <yao@codesourcery.com>
1695
1696 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
1697 AC_CONFIG_SUBDIRS(gdb.gdbtk).
1698 * configure: Re-generated.
1699
6c659fc2
SC
17002014-11-28 Siva Chandra Reddy <sivachandra@google.com>
1701
1702 * gdb.cp/chained-calls.cc: New file.
1703 * gdb.cp/chained-calls.exp: New file.
1704 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
1705
d7fc3181
SM
17062014-11-28 Simon Marchi <simon.marchi@ericsson.com>
1707
1708 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
1709 * gdb.dwarf2/symtab-producer.exp: Same.
1710 * gdb.gdb/python-interrupts.exp: Same.
1711 * gdb.gdb/python-selftest.exp: Same.
1712 * gdb.python/py-linetable.exp: Same.
1713 * gdb.python/py-type.exp: Same.
1714 * gdb.python/py-value-cc.exp: Same.
1715 * gdb.python/py-value.exp: Same.
1716
10e79639
YQ
17172014-11-28 Yao Qi <yao@codesourcery.com>
1718
1719 * gdb.base/break-probes.exp: Match library name prefixed with
1720 sysroot.
1721
f28a0564
SM
17222014-11-27 Simon Marchi <simon.marchi@ericsson.com>
1723
1724 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
1725 test expected output. Add parentheses for the call to print.
1726 Remove L suffix from integers.
1727
3fe1ce1d
DE
17282014-11-26 Doug Evans <dje@google.com>
1729
1730 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
1731
84429e27
YQ
17322014-11-22 Yao Qi <yao@codesourcery.com>
1733
1734 * gdb.trace/entry-values.c: Remove asms.
1735 (foo): Add foo_label.
1736 (bar): Add bar_label.
1737 * gdb.trace/entry-values.exp: Remove code computing foo's
1738 length and bar's length.
1739 (Dwarf::assemble): Invoke function_range for bar and use
1740 MACRO_AT_func for foo.
1741
26741859
YQ
17422014-11-22 Yao Qi <yao@codesourcery.com>
1743
1744 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
1745 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
1746 Use .Lgcc43_procstart instead of gcc43.
1747
45e44d27
JB
17482014-11-21 Joel Brobecker <brobecker@adacore.com>
1749
1750 * gdb.ada/n_arr_bound: New testcase.
1751
458c8db8
SDJ
17522014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1753
1754 PR breakpoints/10737
1755 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
1756 test_catch_syscall_multi_arch.
1757 (test_catch_syscall_multi_arch): New function.
1758
43f3e411
DE
17592014-11-20 Doug Evans <xdje42@gmail.com>
1760
1761 * gdb.base/maint.exp: Update expected output.
1762
0d7b2549
AA
17632014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1764
1765 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
1766 4-byte instruction on S390.
1767
8908fca5
JB
17682014-11-19 Joel Brobecker <brobecker@adacore.com>
1769
1770 * gdb.ada/arr_arr: New testcase.
1771
4a46959e
JB
17722014-11-19 Joel Brobecker <brobecker@adacore.com>
1773
1774 * gdb.ada/pkd_arr_elem: New Testcase.
1775
470e2f4e
LM
17762014-11-18 Luis Machado <lgustavo@codesourcery.com>
1777
1778 * gdb.reverse/break-precsave: Expect completion message for
1779 core file reads.
1780 * gdb.reverse/consecutive-precsave.exp: Likewise.
1781 * gdb.reverse/finish-precsave.exp: Likewise.
1782 * gdb.reverse/i386-precsave.exp: Likewise.
1783 * gdb.reverse/machinestate-precsave.exp: Likewise.
1784 * gdb.reverse/sigall-precsave.exp: Likewise.
1785 * gdb.reverse/solib-precsave.exp: Likewise.
1786 * gdb.reverse/step-precsave.exp: Likewise.
1787 * gdb.reverse/until-precsave.exp: Likewise.
1788 * gdb.reverse/watch-precsave.exp: Likewise.
1789
a267f3ad
AA
17902014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1791
1792 * gdb.base/bp-permanent.c: Include unistd.h.
1793 * gdb.python/py-framefilter-mi.c (main): Add return type.
1794 * gdb.python/py-framefilter.c (main): Likewise.
1795 * gdb.trace/actions-changed.c (main): Likewise.
1796
12084a9a
AA
17972014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1798
1799 * gdb.mi/until.c: Add eye-catchers.
1800 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
1801 line numbers.
1802
dc7e1a77
AA
18032014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1804
1805 * gdb.base/condbreak.exp: Drop references to removed non-prototype
1806 function header variants in break1.c.
1807 * gdb.base/ena-dis-br.exp: Likewise.
1808 * gdb.base/hbreak2.exp: Likewise.
1809 * gdb.reverse/until-precsave.exp: Drop references to removed
1810 non-prototype function header variants in ur1.c.
1811 * gdb.reverse/until-reverse.exp: Likewise.
1812
41c77605
PM
18132014-11-17 Petr Machata <pmachata@redhat.com>
1814
1815 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
1816 ${_cu_offset_size} bytes abbrev offset.
1817
34248c3a
DE
18182014-11-15 Doug Evans <xdje42@gmail.com>
1819
1820 PR symtab/17559
1821 * gdb.base/line-symtabs.exp: New file.
1822 * gdb.base/line-symtabs.c: New file.
1823 * gdb.base/line-symtabs.h: New file.
1824
646da059
YQ
18252014-11-14 Yao Qi <yao@codesourcery.com>
1826
1827 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
1828 (func): Add label func_label.
1829 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
1830 Replace low_pc and high_pc with MACRO_AT_range.
1831 Replace name, low_pc and high_pc with MACRO_AT_func.
1832
9301ebe6
YQ
18332014-11-14 Yao Qi <yao@codesourcery.com>
1834
1835 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
1836 Replace name, low_pc and high_pc with MACRO_AT_func.
1837
f166b542
YQ
18382014-11-14 Yao Qi <yao@codesourcery.com>
1839
1840 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
1841 produce debug information.
1842 * gdb.dwarf2/implptr-optimized-out.S: Removed.
1843
0f6e71e3
YQ
18442014-11-14 Yao Qi <yao@codesourcery.com>
1845
1846 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
1847 object and get function length.
1848 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
1849 with MACRO_AT_func.
1850 (top-level): Replace gdb_compile and clean_restart with
1851 prepare_for_testing.
1852 * gdb.dwarf2/main.c (main): Add label main_label.
1853
876c4df9
YQ
18542014-11-14 Yao Qi <yao@codesourcery.com>
1855
1856 * lib/dwarf.exp (function_range): New procedure.
1857 (Dwarf::_handle_macro_at_func): New procedure.
1858 (Dwarf::_handle_macro_at_range): New procedure.
1859 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
1860
02ad9cf1
YQ
18612014-11-14 Yao Qi <yao@codesourcery.com>
1862
1863 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
1864 (_handle_attribute): New procedure.
1865
a59add0c
AA
18662014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1867
1868 * gdb.ada/cond_lang/foo.c (callme): Add return type.
1869 * gdb.base/call-sc.c (zed): Likewise.
1870 * gdb.base/checkpoint.c (main): Likewise.
1871 * gdb.base/dump.c (main): Likewise.
1872 * gdb.base/gcore.c (main): Likewise.
1873 * gdb.base/huge.c (main): Likewise.
1874 * gdb.base/multi-forks.c (main): Likewise.
1875 * gdb.base/pr10179-a.c (main): Likewise.
1876 * gdb.base/savedregs.c (main): Likewise.
1877 * gdb.base/sigaltstack.c (main): Likewise.
1878 * gdb.base/siginfo.c (main): Likewise.
1879 * gdb.base/structs.c (zed): Likewise.
1880 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
1881 * gdb.mi/mi-syn-frame.c (main): Likewise.
1882 * gdb.mi/until.c (foo, main): Likewise.
1883 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
1884 * gdb.base/solib-weak.c (foo): Declare.
1885 * gdb.base/attach-twice.c: Include stdio.h.
1886 * gdb.base/weaklib1.c: Likewise.
1887 * gdb.base/weaklib2.c: Likewise.
1888 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
1889 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
1890 unistd.h.
1891 * gdb.base/attach-pie-misread.c: Include stdlib.h.
1892 * gdb.mi/mi-exit-code.c: Likewise.
1893 * gdb.base/break-interp-lib.c: Include string.h.
1894 * gdb.base/coremaker.c: Likewise.
1895 * gdb.base/testenv.c: Likewise.
1896 * gdb.python/py-finish-breakpoint.c: Likewise.
1897 * gdb.base/inferior-died.c: Include sys/wait.h.
1898 * gdb.base/fileio.c: Include time.h.
1899 * gdb.base/async-shell.c: Include unistd.h.
1900 * gdb.base/dprintf-non-stop.c: Likewise.
1901 * gdb.base/info-os.c: Likewise.
1902 * gdb.mi/mi-console.c: Likewise.
1903 * gdb.mi/watch-nonstop.c: Likewise.
1904 * gdb.python/py-events.c: Likewise.
1905 * gdb.base/async.c (baz): Move up before its invocation.
1906 * gdb.base/code_elim2.c (my_global_func): Likewise.
1907 * gdb.base/skip-solib-lib.c (multiply): Likewise.
1908 * gdb.base/advance.c (func2): Likewise.
1909
3b5d5997
AA
19102014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1911
1912 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
1913 variant.
1914 * gdb.base/annota3.c: Likewise.
1915 * gdb.base/async.c: Likewise.
1916 * gdb.base/average.c: Likewise.
1917 * gdb.base/call-ar-st.c: Likewise.
1918 * gdb.base/call-rt-st.c: Likewise.
1919 * gdb.base/call-sc.c: Likewise.
1920 * gdb.base/call-strs.c: Likewise.
1921 * gdb.base/ending-run.c: Likewise.
1922 * gdb.base/execd-prog.c: Likewise.
1923 * gdb.base/exprs.c: Likewise.
1924 * gdb.base/foll-exec.c: Likewise.
1925 * gdb.base/foll-fork.c: Likewise.
1926 * gdb.base/foll-vfork.c: Likewise.
1927 * gdb.base/funcargs.c: Likewise.
1928 * gdb.base/gcore.c: Likewise.
1929 * gdb.base/jump.c: Likewise.
1930 * gdb.base/langs0.c: Likewise.
1931 * gdb.base/langs1.c: Likewise.
1932 * gdb.base/langs2.c: Likewise.
1933 * gdb.base/mips_pro.c: Likewise.
1934 * gdb.base/nodebug.c: Likewise.
1935 * gdb.base/opaque0.c: Likewise.
1936 * gdb.base/opaque1.c: Likewise.
1937 * gdb.base/recurse.c: Likewise.
1938 * gdb.base/run.c: Likewise.
1939 * gdb.base/scope0.c: Likewise.
1940 * gdb.base/scope1.c: Likewise.
1941 * gdb.base/setshow.c: Likewise.
1942 * gdb.base/setvar.c: Likewise.
1943 * gdb.base/shmain.c: Likewise.
1944 * gdb.base/shr1.c: Likewise.
1945 * gdb.base/shr2.c: Likewise.
1946 * gdb.base/sigall.c: Likewise.
1947 * gdb.base/signals.c: Likewise.
1948 * gdb.base/so-indr-cl.c: Likewise.
1949 * gdb.base/solib2.c: Likewise.
1950 * gdb.base/structs.c: Likewise.
1951 * gdb.base/sum.c: Likewise.
1952 * gdb.base/vforked-prog.c: Likewise.
1953 * gdb.base/watchpoint.c: Likewise.
1954 * gdb.reverse/shr2.c: Likewise.
1955 * gdb.reverse/until-reverse.c: Likewise.
1956 * gdb.reverse/ur1.c: Likewise.
1957 * gdb.reverse/watch-reverse.c: Likewise.
1958
066a77c5
AA
19592014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1960
1961 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
1962 variant.
1963 * gdb.base/sepdebug.exp: Drop references to removed code.
1964
4f204ea5
AA
19652014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1966
1967 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
1968 variant. Preserve original line numbering.
1969 * gdb.base/list1.c: Likewise.
1970
3b377a3a
AA
19712014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1972
1973 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
1974 variant.
1975 * gdb.base/break1.c: Likewise.
1976 * gdb.base/break.exp: Drop references to removed code.
1977
e444df73
AA
19782014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1979
1980 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
1981 variant.
1982
8008f2a7
AA
19832014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1984
1985 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
1986
a5a06887
AA
19872014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1988
1989 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
1990 logic into perform_all_tests() and invoke it with and without
1991 function header prototypes.
1992 (do_function_calls): Remove conditional XFAIL for PR 5318.
1993 (rerun_and_prepare): Remove duplicate code.
1994 (perform_all_tests): New. Main logic moved here.
1995
44dba9b9
AA
19962014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1997
1998 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
1999 code guarded by #ifdef NO_PROTOTYPES.
2000 (t_double_many_args): Likewise.
2001 (DEF_FUNC_MANY_ARGS_1): Likewise.
2002 (DEF_FUNC_VALUES_1): Likewise.
2003 (t_structs_ldc): Renamed from t_structs_fc in conditional code
2004 guarded by #ifdef PROTOTYPES.
2005
d1fbcd56
AA
20062014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2007
2008 * gdb.mi/mi-console.c: Add eye-catcher.
2009 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
2010 instead of literal line number.
2011
b0e59b8f
AA
20122014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2013
2014 * gdb.base/shr2.c: Add eye-catcher.
2015 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
2016 line number.
2017
78f98cca
AA
20182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2019
2020 * gdb.base/jump.c: Add eye-catchers.
2021 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
2022 numbers.
2023
58fa2af0
AA
20242014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2025
2026 * gdb.base/execd-prog.c: Add eye-catchers.
2027 * gdb.base/foll-exec.c: Likewise.
2028 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
2029 line numbers.
2030
04e5059b
AA
20312014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2032
2033 * gdb.base/ending-run.c: Add eye-catchers.
2034 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
2035 literal line numbers.
2036
dbfdb174
AA
20372014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2038
2039 * gdb.base/call-rt-st.c: Add eye-catchers.
2040 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
2041 literal line numbers.
2042
888a2ade
AA
20432014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2044
2045 * gdb.base/call-ar-st.c: Add eye-catchers.
2046 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
2047 literal line numbers.
2048
6acc2dde
AA
20492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2050
2051 * gdb.base/average.c: Add eye-catchers.
2052 * gdb.base/sum.c: Likewise.
2053 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
2054 regexps dynamically.
2055
9ecfcd1d
AA
20562014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2057
2058 * gdb.base/solib1.c: Add eye-catchers.
2059 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
2060 literal line numbers.
2061
78708b7c
PA
20622014-11-12 Pedro Alves <palves@redhat.com>
2063
2064 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
2065 leader has exited.
2066
af48d08f
PA
20672014-11-12 Pedro Alves <palves@redhat.com>
2068
2069 * gdb.arch/i386-bp_permanent.c: New file.
2070 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
2071 (srcfile): Set to i386-bp_permanent.c.
2072 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
2073 that stepi does not execute the 'leave' instruction, instead of
2074 testing it does execute.
2075 * gdb.base/bp-permanent.c: New file.
2076 * gdb.base/bp-permanent.exp: New file.
2077
af3768e9
DE
20782014-11-10 Doug Evans <xdje42@gmail.com>
2079
2080 PR symtab/17564
2081 * gdb.base/symtab-search-order.exp: New file.
2082 * gdb.base/symtab-search-order.c: New file.
2083 * gdb.base/symtab-search-order-1.c: New file.
2084 * gdb.base/symtab-search-order-shlib-1.c: New file.
2085
9de00a4a
PA
20862014-11-07 Pedro Alves <palves@redhat.com>
2087
2088 PR gdb/17511
2089 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
2090 i?86-*-linux*.
2091
e0f52461
SC
20922014-11-03 Siva Chandra Reddy <sivachandra@google.com>
2093
2094 PR c++/17494
2095 * gdb.cp/pr17494.cc: New file.
2096 * gdb.cp/pr17494.exp: New file.
2097
6ce8c980
YQ
20982014-11-02 Yao Qi <yao@codesourcery.com>
2099
2100 * gdb.python/python.exp: Get working directory and match the
2101 output of "set extended-prompt \\w " with it.
2102
02be9a71
DE
21032014-10-30 Doug Evans <dje@google.com>
2104
2105 * gdb.python/py-objfile.exp: Add tests for setting random attributes
2106 in objfiles.
2107 * gdb.python/py-progspace.exp: Add tests for setting random attributes
2108 in progspaces.
2109
3bdff46b
LM
21102014-10-30 Janis Johnson <janisjo@codesourcery.com>
2111
2112 * gdb.base/fullpath-expand.exp: Skip for a remote host.
2113 * gdb.base/realname-expand.exp: Likewise.
2114 * gdb.linespec/macro-relative.exp: Likewise.
2115
ab917dfb
PA
21162014-10-29 Pedro Alves <palves@redhat.com>
2117
2118 PR gdb/17408
2119 * gdb.threads/schedlock.c (some_function): New function.
2120 (call_function): New global.
2121 (MAYBE_CALL_SOME_FUNCTION): New macro.
2122 (thread_function): Call it.
2123 * gdb.threads/schedlock.exp (get_args): Add description parameter,
2124 and use it instead of a global counter. Adjust all callers.
2125 (get_current_thread): Use "find current thread" for test message
2126 here rather than having all callers pass down the same string.
2127 (goto_loop): New procedure, factored out from ...
2128 (my_continue): ... this.
2129 (step_ten_loops): Change parameter from test message to command to
2130 use. Adjust.
2131 (list_count): Delete global.
2132 (check_result): New procedure, factored out from duplicate top
2133 level code.
2134 (continue tests): Wrap in with_test_prefix.
2135 (test_step): New procedure, factored out from duplicate top level
2136 code.
2137 (top level): Test "step" in combination with all scheduler-locking
2138 modes. Test "next" in combination with all scheduler-locking
2139 modes, and in combination with stepping over a function call or
2140 not.
2141 * gdb.threads/next-bp-other-thread.c: New file.
2142 * gdb.threads/next-bp-other-thread.exp: New file.
2143
d3d4baed
PA
21442014-10-29 Pedro Alves <palves@redhat.com>
2145
2146 PR python/17372
2147 * gdb.python/python.exp: Test a multi-line command that spawns
2148 interactive Python.
2149 * gdb.base/multi-line-starts-subshell.exp: New file.
2150
563e8d85
YQ
21512014-10-29 Yao Qi <yao@codesourcery.com>
2152
2153 * gdb.base/fileio.exp: Make directories on host.
2154
0ea4d52e
YQ
21552014-10-29 Yao Qi <yao@codesourcery.com>
2156
2157 * gdb.base/fileio.c (test_write): Close the file.
2158
7f5ef605
PA
21592014-10-28 Pedro Alves <palves@redhat.com>
2160
2161 PR gdb/12623
2162 * gdb.base/sigstep.c (no_handler): New global.
2163 (main): If 'no_handler is true, set the signal handlers to
2164 SIG_IGN.
2165 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
2166 with_sw_watch and no_handler parameters. Handle them.
2167 (top level) <stepping over handler when stopped at a breakpoint
2168 test>: Add a test axis for testing with a software watchpoint, and
2169 another for testing with the signal handler set to SIG_IGN.
2170 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
2171 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
2172
abbdbd03
PA
21732014-10-28 Pedro Alves <palves@redhat.com>
2174
2175 PR gdb/17511
2176 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
2177 * gdb.base/sigstep.exp (other_handler_location): New global.
2178 (advance): Support stepping into the signal handler, and running
2179 commands while in the handler.
2180 (in_handler_map): New global.
2181 (top level): In the advance test, add combinations for getting
2182 into the handler with stepping commands, and for running commands
2183 in the handler. Add comment descripting the advancei tests.
2184
1df4399f
PA
21852014-10-28 Pedro Alves <palves@redhat.com>
2186
2187 * gdb.base/sigstep.exp: Use build_executable instead of
2188 prepare_for_testing.
2189 (top level): Move code that starts GDB, runs to main and creates a
2190 display to ...
2191 (restart): ... this new procedure.
2192 (top level): Move backtrace from signal handler test to ...
2193 (validate_backtrace): ... this new procedure.
2194 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
2195 with_test_prefix. Always restart GDB.
2196 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
2197 with_test_prefix. Always restart GDB. No need to delete
2198 breakpoints after the test.
2199 (test_skip_handler): Remove prefix parameter.
2200 (skip_over_handler, breakpoint_to_handler)
2201 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
2202 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
2203 restart GDB. No need to delete breakpoints after the test.
2204 (top level): Use foreach to call the test procedures with
2205 different commands.
2206
a5b6e449
PA
22072014-10-28 Pedro Alves <palves@redhat.com>
2208
2209 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
2210 instead of GNATS numbers.
2211 * gdb.base/sigbpt.exp: Likewise.
2212 * gdb.base/siginfo.exp: Likewise.
2213 * gdb.base/sigstep.exp: Likewise.
2214
e5f8a7cc
PA
22152014-10-27 Pedro Alves <palves@redhat.com>
2216
2217 * gdb.base/sigstep.c (dummy): New global.
2218 (main): Issue a couple writes to the new global.
2219 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
2220 procedures.
2221 (skip_over_handler): Use test_skip_handler.
2222 (top level): Call skip_over_handler for stepi and nexti too.
2223 (breakpoint_over_handler): Use test_skip_handler.
2224 (top level): Call breakpoint_over_handler for stepi and nexti too.
2225
763905a3
YQ
22262014-10-27 Yao Qi <yao@codesourcery.com>
2227
2228 * gdb.trace/tfile.c (adjust_function_address)
2229 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
2230 function descriptor.
2231
6f259a23
DB
22322014-10-24 Don Breazeal <donb@codesourcery.com>
2233
2234 * gdb.base/foll-fork.exp (test_follow_fork,
2235 catch_fork_child_follow): Check for updated fork messages emitted
2236 from infrun.c.
2237 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
2238 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
2239 vfork_and_exec_child_follow_through_step): Check for updated vfork
2240 messages emitted from infrun.c.
2241
09dd9a69
PA
22422014-10-24 Pedro Alves <palves@redhat.com>
2243
2244 * gdb.base/corefile.exp: Remove references to ultrix.
2245 * gdb.base/interrupt.exp: Likewise.
2246 * gdb.base/whatis.exp: Likewise.
2247 * gdb.gdb/selftest.exp: Likewise.
2248 * gdb.threads/manythreads.exp: Likewise.
2249 * gdb.threads/print-threads.exp: Likewise.
2250 * gdb.threads/pthreads.exp:: Likewise.
2251 * gdb.threads/schedlock.exp: Likewise.
2252
3433cfa5
SC
22532014-10-24 Siva Chandra Reddy <sivachandra@google.com>
2254
2255 * gdb.cp/non-trivial-retval.cc: Add a test case.
2256 * gdb.cp/non-trivial-retval.exp: Add a test.
2257
092f880b
YQ
22582014-10-20 Yao Qi <yao@codesourcery.com>
2259
2260 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
2261 * gdb.python/py-objfile-script-gdb.py: New file.
2262 * gdb.python/py-objfile-script.exp: Update reference to
2263 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
2264 of remote_download. Remove the dest file.
2265
acbdb7f3
YQ
22662014-10-20 Yao Qi <yao@codesourcery.com>
2267
2268 * gdb.base/checkpoint.exp: Don't remove file copied on host.
2269 * gdb.base/step-line.exp: Likewise.
2270 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2271 * gdb.dwarf2/dw2-basic.exp: Likewise.
2272 * gdb.dwarf2/dw2-compressed.exp: Likewise.
2273 * gdb.dwarf2/dw2-filename.exp: Likewise.
2274 * gdb.dwarf2/dw2-intercu.exp: Likewise.
2275 * gdb.dwarf2/dw2-intermix.exp: Likewise.
2276 * gdb.dwarf2/dw2-producer.exp: Likewise.
2277 * gdb.dwarf2/mac-fileno.exp: Likewise.
2278 * gdb.python/py-frame-args.exp: Likewise.
2279 * gdb.python/py-framefilter.exp: Likewise.
2280 * gdb.python/py-mi.exp: Likewise.
2281 * gdb.python/py-objfile-script.exp: Likewise
2282 * gdb.python/py-pp-integral.exp: Likewise.
2283 * gdb.python/py-pp-re-notag.exp: Likewise.
2284 * gdb.python/py-prettyprint.exp: Likewise.
2285 * gdb.python/py-section-script.exp: Likewise.
2286 * gdb.python/py-typeprint.exp: Likewise.
2287 * gdb.python/py-xmethods.exp: Likewise.
2288 * gdb.stabs/weird.exp: Likewise.
2289 * gdb.xml/tdesc-regs.exp: Likewise.
2290
bd286a29
KCY
22912014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
2292
2293 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
2294 (out_cu): Use addr_len for the size of addresses.
2295 (out_line): Likewise. Size DW_LNE_set_address instruction
2296 according to addr_len.
2297 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
2298 (FUNC): Add START_INSNS to definition.
2299
673dc4a0
YQ
23002014-10-18 Yao Qi <yao@codesourcery.com>
2301
2302 * gdb.base/argv0-symlink.exp: Check argv[0] value if
2303 gdb_has_argv0 return true.
2304 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
2305 check [target_info exists noargs], check [gdb_has_argv0]
2306 instead.
2307 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2308 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
2309 procedures.
2310
4ffbba72
DE
23112014-10-17 Doug Evans <dje@google.com>
2312
2313 * gdb.python/py-events.exp: Update expected output for clear_objfiles
2314 event.
2315 * gdb.python/py-events.py: Add clear_objfiles event.
2316
d096d8c1
DE
23172014-10-17 Doug Evans <dje@google.com>
2318
2319 * gdb.python/py-objfile.exp: Test progspace attribute.
2320
a80db015
LM
23212014-10-17 Luis Machado <lgustavo@codesourcery.com>
2322
2323 * gdb.guile/scm-breakpoint.exp: Do not assume any
2324 directory separators when matching source file paths.
2325 * gdb.python/py-breakpoint.exp: Likewise.
2326 * gdb.reverse/break-precsave.exp: Likewise.
2327 * gdb.reverse/break-reverse.exp: Likewise.
2328 * gdb.reverse/consecutive-precsave.exp: Likewise.
2329 * gdb.reverse/finish-precsave.exp: Likewise.
2330 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
2331 * gdb.reverse/finish-reverse.exp: Likewise.
2332 * gdb.reverse/i386-precsave.exp: Likewise.
2333 * gdb.reverse/i387-env-reverse.exp: Likewise.
2334 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2335 * gdb.reverse/machinestate-precsave.exp: Likewise.
2336 * gdb.reverse/machinestate.exp: Likewise.
2337 * gdb.reverse/sigall-precsave.exp: Likewise.
2338 * gdb.reverse/solib-precsave.exp: Likewise.
2339 * gdb.reverse/step-precsave.exp: Likewise.
2340 * gdb.reverse/until-precsave.exp: Likewise.
2341 * gdb.reverse/watch-precsave.exp: Likewise.
2342 * gdb.reverse/watch-reverse.exp: Likewise.
2343
b22089ab
YQ
23442014-10-17 Yao Qi <yao@codesourcery.com>
2345
2346 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
2347 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
2348
6c4486e6
PA
23492014-10-17 Pedro Alves <palves@redhat.com>
2350
2351 PR gdb/17471
2352 * gdb.base/bg-execution-repeat.c: New file.
2353 * gdb.base/bg-execution-repeat.exp: New file.
2354
0ff33695
PA
23552014-10-17 Pedro Alves <palves@redhat.com>
2356
2357 PR gdb/17300
2358 * gdb.base/continue-all-already-running.c: New file.
2359 * gdb.base/continue-all-already-running.exp: New file.
2360
6fdebc3d
PA
23612014-10-17 Pedro Alves <palves@redhat.com>
2362
2363 PR gdb/17472
2364 * gdb.base/annota-input-while-running.c: New file.
2365 * gdb.base/annota-input-while-running.exp: New file.
2366
32a8097b
PA
23672014-10-17 Pedro Alves <palves@redhat.com>
2368
2369 * gdb.base/callfuncs.exp: emove references to osf.
2370 * gdb.base/sigall.exp: Likewise.
2371 * gdb.gdb/selftest.exp: Likewise.
2372 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
2373 * gdb.mi/non-stop.c: Likewise.
2374 * gdb.mi/pthreads.c: Likewise.
2375 * gdb.reverse/sigall-precsave.exp: Likewise.
2376 * gdb.reverse/sigall-reverse.exp: Likewise.
2377 * gdb.threads/pthreads.c: Likewise.
2378 * gdb.threads/pthreads.exp: Likewise.
2379
7a3517ff
YQ
23802014-10-17 Yao Qi <yao@codesourcery.com>
2381
2382 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
2383 check 'target_info exists noargs'.
2384 (test_command_prompt_position): Likewise.
2385 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
2386 Remove "set args".
2387 (progvar_simple_while_test): Likewise.
2388 (progvar_complex_if_while_test): Likewise.
2389 (if_while_breakpoint_command_test): Likewise.
2390 (infrun_breakpoint_command_test): Likewise.
2391 (breakpoint_command_test): Likewise.
2392 (watchpoint_command_test): Likewise.
2393 (bp_deleted_in_command_test): Likewise.
2394 (temporary_breakpoint_commands): Likewise.
2395
bb99c472
YQ
23962014-10-16 Yao Qi <yao@codesourcery.com>
2397
2398 * gdb.base/remotetimeout.exp: Remove noargs checking.
2399
7c16b83e
PA
24002014-10-15 Pedro Alves <palves@redhat.com>
2401
2402 PR breakpoints/9649
2403 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
2404 * gdb.base/breakpoint-in-ro-region.exp
2405 (probe_target_hardware_step): New procedure.
2406 (top level): Probe hardware stepping and hardware breakpoint
2407 support. Test stepping through a read-only region, with both
2408 "breakpoint auto-hw" on and off and both "always-inserted" on and
2409 off.
2410
35a49624
IB
24112014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
2412
2413 * gdb.dlang/demangle.exp: Update for demangling changes.
2414
2d1c107c
SC
24152014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2416
2417 * gdb.cp/non-trivial-retval.cc: Add new test cases.
2418 * gdb.cp/non-trivial-retval.exp: Add new tests.
2419
778811d5
SC
24202014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2421
2422 PR c++/13403
2423 PR c++/15154
2424 * gdb.cp/non-trivial-retval.cc: New file.
2425 * gdb.cp/non-trivial-retval.exp: New file.
2426
10c5f0a8
YQ
24272014-10-15 Yao Qi <yao@codesourcery.com>
2428
2429 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
2430 remote host.
2431
65d7b369
YQ
24322014-10-15 Yao Qi <yao@codesourcery.com>
2433
2434 * gdb.python/py-symbol.exp: Match file base name if host is
2435 remote, otherwise match file name with dir name.
2436 * gdb.python/py-symtab.exp: Likewise.
2437 * gdb.python/python.exp: Likewise.
2438
46dc1394
YQ
24392014-10-15 Yao Qi <yao@codesourcery.com>
2440
2441 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
2442 pattern.
2443 * gdb.python/py-symtab.exp: Likewise.
2444 * gdb.python/python.exp: Remove trailing ".*". Fix typo
2445 locationn.
2446
c40cc657
JB
24472014-10-14 Joel Brobecker <brobecker@adacore.com>
2448
2449 * gdb.ada/addr_arith: New testcase.
2450
2abf49e1
MR
24512014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
2452
2453 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
2454 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
2455 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
2456 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
2457
f7088df3
SDJ
24582014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
2459
2460 * gdb.arch/stap-eval-lang-ada.S: Likewise.
2461 * gdb.arch/stap-eval-lang-ada.c: Likewise.
2462 * gdb.arch/stap-eval-lang-ada.exp: New file.
2463
4dc06805
YQ
24642014-10-14 Yao Qi <yao@codesourcery.com>
2465
2466 * gdb.mi/mi-var-child.c (nothing1): New function.
2467 (nothing2): New function.
2468 (do_children_tests): Set function pointers by nothing1 and
2469 nothing2.
2470 * gdb.mi/mi-var-child.exp: Step over new added statements.
2471 Update test to match the new output.
2472 * gdb.mi/var-cmd.c (nothing1): New function.
2473 (nothing2): New function.
2474 (do_children_tests): Set function pointers by nothing1 and
2475 nothing2.
2476 * gdb.mi/mi-var-display.exp: Update test to match output.
2477 Step to the line specified by $line_dct_nothing.
2478 Increase the number of lines to step.
2479
46a93de2
YQ
24802014-10-14 Yao Qi <yao@codesourcery.com>
2481
2482 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
2483 tests.
2484 * gdb.mi/mi2-var-child.exp: Likewise.
2485
14ea52ee
DE
24862014-10-13 Doug Evans <dje@google.com>
2487
2488 * gdb.python/py-objfile.exp: Change name of file name test.
2489
e5c6e92b
DE
24902014-10-13 Doug Evans <dje@google.com>
2491
2492 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
2493 from the start of the CU.
2494
c780cc2f
JK
24952014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2496 Yao Qi <yao@codesourcery.com>
2497
2498 Fix "save breakpoints" for "catch" command.
2499 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
2500 Remove -nonewline. Match also the added "main" line.
2501
99894e11
JK
25022014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2503
2504 Fix "save breakpoints" for "disable $bpnum" command.
2505 * gdb.base/save-bp.c (main): Add label.
2506 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
2507
6e1ac5a3
JK
25082014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2509
2510 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
2511
754dd2b0
YQ
25122014-10-11 Yao Qi <yao@codesourcery.com>
2513
2514 * gdb.server/server-kill.exp: Execute command
2515 "set remote trace-status-packet on" before "tstatus".
2516
f90183d7
YQ
25172014-10-11 Yao Qi <yao@codesourcery.com>
2518
2519 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
2520 (main): Call getppid.
2521 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
2522 and continue to it. Read variable "server_pid".
2523
bf40a607
YQ
25242014-10-11 Yao Qi <yao@codesourcery.com>
2525
2526 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
2527
052ca370
YQ
25282014-10-11 Yao Qi <yao@codesourcery.com>
2529
2530 * gdb.threads/thread-find.exp: Don't execute command
2531 "info threads".
2532 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
2533 * gdb.threads/linux-dp.exp: Don't check the condition
2534 $threads_created equals to zero.
2535
3831839c
PA
25362014-10-10 Pedro Alves <palves@redhat.com>
2537
2538 * gdb.base/bigcore.exp: Remove references to IRIX.
2539 * gdb.base/funcargs.exp: Likewise.
2540 * gdb.base/interrupt.exp: Likewise.
2541 * gdb.base/mips_pro.exp: Likewise.
2542 * gdb.base/nodebug.exp: Likewise.
2543 * gdb.base/setvar.exp: Likewise.
2544 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
2545
8b9a549d
PA
25462014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2547 Pedro Alves <palves@redhat.com>
2548
2549 PR symtab/14466
2550 * gdb.base/vdso-warning.c: New file.
2551 * gdb.base/vdso-warning.exp: New file.
2552
d48ba5e8
DE
25532014-10-02 Doug Evans <dje@google.com>
2554
2555 * gdb.base/structs.c (main): Don't run forever.
2556
2278c276
PA
25572014-10-02 Pedro Alves <palves@redhat.com>
2558
2559 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
2560 (top level) <stop threads 1, stop threads 2>: Use it.
2561
b57bacec
PA
25622014-10-02 Pedro Alves <palves@redhat.com>
2563
2564 * gdb.threads/break-while-running.exp (test): Add new
2565 'update_thread_list' argument. Skip "info threads" if false.
2566 (top level): Add new 'update_thread_list' axis.
2567
13fd3ff3
PA
25682014-10-02 Pedro Alves <palves@redhat.com>
2569
2570 PR breakpoints/17431
2571 * gdb.base/execl-update-breakpoints.c: New file.
2572 * gdb.base/execl-update-breakpoints.exp: New file.
2573
0fec99e8
PA
25742014-10-01 Pedro Alves <palves@redhat.com>
2575
2576 * gdb.base/breakpoint-in-ro-region.c: New file.
2577 * gdb.base/breakpoint-in-ro-region.exp: New file.
2578
2ddf4301
SM
25792014-10-01 Simon Marchi <simon.marchi@ericsson.com>
2580
2581 * gdb.mi/mi-exit-code.exp: New file.
2582 * gdb.mi/mi-exit-code.c: New file.
2583
6a5f3f43
YQ
25842014-09-30 Yao Qi <yao@codesourcery.com>
2585
2586 * lib/prelink-support.exp (build_executable_own_libs): Error if
2587 the target isn't native.
2588
345bcc73
YQ
25892014-09-30 Yao Qi <yao@codesourcery.com>
2590
2591 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
2592 false.
2593
a25a5a45
PA
25942014-09-22 Pedro Alves <palves@redhat.com>
2595
2596 * gdb.threads/break-while-running.exp: New file.
2597 * gdb.threads/break-while-running.c: New file.
2598
00ba3162
YQ
25992014-09-19 Yao Qi <yao@codesourcery.com>
2600
2601 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
2602 Invoke test. Restart GDB with --readnow and invoke test again.
2603
c3b7b696
YQ
26042014-09-19 Yao Qi <yao@codesourcery.com>
2605
2606 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
2607 proc set_breakpoint_on_gcd_function. Invoke
2608 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
2609 invoke set_breakpoint_on_gcd_function again.
2610
2b4fd423
DE
26112014-09-18 Doug Evans <dje@google.com>
2612
2613 * gdb.dwarf2/symtab-producer.exp: New file.
2614
a5947601
SDJ
26152014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2616
2617 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
2618 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
2619 * gdb.base/global-var-nested-by-dso.c: Likewise.
2620 * gdb.base/global-var-nested-by-dso.exp: Likewise.
2621
91c19059
SDJ
26222014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2623 Pedro Alves <palves@redhat.com>
2624
2625 * gdb.base/watch-bitfields.exp: Pass string other than test file
2626 name to prepare_for_testing.
2627 (watch): New procedure.
2628 (expect_watchpoint): Use with_test_prefix.
2629 (top level): Factor out tests to ...
2630 (test_watch_location, test_regular_watch): ... these new
2631 procedures, and use with_test_prefix and gdb_continue_to_end.
2632
bb9d5f81
PP
26332014-09-16 Patrick Palka <patrick@parcs.ath.cx>
2634
2635 PR breakpoints/12526
2636 * gdb.base/watch-bitfields.exp: New file.
2637 * gdb.base/watch-bitfields.c: New file.
2638
635856f5
PA
26392014-09-16 Pedro Alves <palves@redhat.com>
2640
2641 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
2642 software and hardware addresses, not software address against
2643 itself.
2644
7280ceea
PA
26452014-09-16 Pedro Alves <palves@redhat.com>
2646
2647 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
2648 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
2649
428b16bd
PA
26502014-09-16 Pedro Alves <palves@redhat.com>
2651
2652 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
2653 files.
2654 * gdb.base/a2-run.exp: Remove all code guarded by istarget
2655 "*-*-vxworks*" throughout.
2656 * gdb.base/break.exp: Likewise.
2657 * gdb.base/default.exp: Likewise.
2658 * gdb.base/scope.exp: Likewise.
2659 * gdb.base/sepdebug.exp: Likewise.
2660 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
2661 throughout.
2662 * gdb.base/run.c: Likewise.
2663 * gdb.base/sepdebug.c: Likewise.
2664 * gdb.hp/gdb.aCC/run.c: Likewise.
2665 * gdb.reverse/until-reverse.c: Likewise.
2666 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
2667
666d413c
YQ
26682014-09-16 Yao Qi <yao@codesourcery.com>
2669
2670 * boards/local-remote-host-native.exp: New file.
2671
57cbd724
DE
26722014-09-14 Doug Evans <xdje42@gmail.com>
2673
2674 * gdb.threads/queue-signal.c (thread_count): New variable.
2675 (thread_count_mutex, thread_count_condvar): New variables.
2676 (incr_thread_count, wait_all_threads_running): New functions.
2677 (main): Wait for all threads to be in their thread functions.
2678
81219e53
DE
26792014-09-13 Doug Evans <xdje42@gmail.com>
2680
2681 * gdb.threads/queue-signal.c: New file.
2682 * gdb.threads/queue-signal.exp: New file.
2683
3714cea7
DE
26842014-09-13 Doug Evans <xdje42@gmail.com>
2685
2686 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
2687 be consistent with what default_gdb_init uses.
2688 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
2689 the plain text of the prompt. Add some logging printfs.
2690 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
2691
fa43b1d7
PA
26922014-09-12 Pedro Alves <palves@redhat.com>
2693
2694 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
2695 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
2696 * gdb.arch/i386-size-overlap.exp: Likewise.
2697 * gdb.arch/i386-size.exp: Likewise.
2698 * gdb.arch/i386-unwind.exp: Likewise.
2699 * gdb.base/a2-run.exp: Likewise.
2700 * gdb.base/break.exp: Likewise.
2701 * gdb.base/charset.exp: Likewise.
2702 * gdb.base/chng-syms.exp: Likewise.
2703 * gdb.base/commands.exp: Likewise.
2704 * gdb.base/dbx.exp: Likewise.
2705 * gdb.base/find.exp: Likewise.
2706 * gdb.base/funcargs.exp: Likewise.
2707 * gdb.base/jit-simple.exp: Likewise.
2708 * gdb.base/reread.exp: Likewise.
2709 * gdb.base/sepdebug.exp: Likewise.
2710 * gdb.base/step-bt.exp: Likewise.
2711 * gdb.cp/mb-inline.exp: Likewise.
2712 * gdb.cp/mb-templates.exp: Likewise.
2713 * gdb.objc/basicclass.exp: Likewise.
2714 * gdb.threads/killed.exp: Likewise.
2715
9d9bf2df
EBM
27162014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2717
2718 PR tdep/17379
2719 * gdb.arch/powerpc-stackless.S: New file.
2720 * gdb.arch/powerpc-stackless.exp: New file.
2721
1cf2f1b0
JK
27222014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2723
2724 * gdb.base/attach.c: Include unistd.h.
2725 (main): Call alarm. Add label postloop.
2726 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
2727 gdb_breakpoint, gdb_continue_to_breakpoint.
2728 (test_command_line_attach_run): Kill ${testpid} in one exit path.
2729
98880d46
PA
27302014-09-11 Pedro Alves <palves@redhat.com>
2731
2732 PR gdb/17347
2733 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
2734 * gdb.base/attach.exp (test_command_line_attach_run): New
2735 procedure.
2736 (top level): Call it.
2737
4c92ff2c
PA
27382014-09-11 Pedro Alves <palves@redhat.com>
2739
2740 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
2741 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
2742 (do_command_attach_tests): Use spawn_wait_for_attach.
2743 * gdb.base/solib-overlap.exp: Likewise.
2744 * gdb.multi/multi-attach.exp: Likewise.
2745 * gdb.python/py-prompt.exp: Likewise.
2746 * gdb.python/py-sync-interp.exp: Likewise.
2747 * gdb.server/ext-attach.exp: Likewise.
2748
3adc1a7d
GKB
27492014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
2750
2751 * gdb.fortran/array-element.exp: Remove unexpected "continue"
2752 command in testcase. Simplify testcase.
2753
96334934
JB
27542014-09-10 Joel Brobecker <brobecker@adacore.com>
2755
2756 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
2757
eb479039
JB
27582014-09-10 Joel Brobecker <brobecker@adacore.com>
2759
2760 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
2761
deede10c
JB
27622014-09-10 Joel Brobecker <brobecker@adacore.com>
2763
2764 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
2765
7828a5f5
JB
27662014-09-10 Joel Brobecker <brobecker@adacore.com>
2767
2768 * gdb.dwarf2/dynarr-ptr.c: New file.
2769 * gdb.dwarf2/dynarr-ptr.exp: New file.
2770
33aeebcf
MR
27712014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2772
2773 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
2774 of 30 rather than hardcoding 120 for a slow test case. Take the
2775 `gdb,timeout' target setting into account for this calculation.
2776 Don't extend the timeout for the test cases that don't need it.
2777
7b415901
MR
27782014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2779
2780 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
2781 a factor of 2 for a slow test case. Take the `gdb,timeout'
2782 target setting into account for this calculation.
2783 * gdb.reverse/until-precsave.exp: Increase the timeout by
2784 a factor of 15 and 3 respectively rather than adding 120
2785 for a pair of slow test cases. Take the `gdb,timeout'
2786 target setting into account for this calculation.
2787
4a40f85a
MR
27882014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2789
2790 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
2791 timeout, don't pass one down to gdb_expect.
2792 (gdb_expect): Rework timeout selection.
2793
09635af7
MR
27942014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2795
2796 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
2797 exception on timeout.
2798 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
2799 (gdbserver_start_extended): Catch any `gdbserver_start' error
2800 exceptions.
2801 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
2802 * lib/mi-support.exp (mi_gdb_target_load): Catch any
2803 `gdbserver_gdb_load' error exceptions.
2804
2bdd10b7
MR
28052014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2806
2807 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
2808 120 on waiting for the TCP socket to open.
2809
316935f0
DE
28102014-09-09 Doug Evans <xdje42@gmail.com>
2811
2812 * gdb.base/default.exp (show_conv_list): Add _caller_is,
2813 _caller_matches, _any_caller_is, _any_caller_matches.
2814
83740597
DE
28152014-09-09 Doug Evans <xdje42@gmail.com>
2816
2817 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
2818
4c122fc3
YQ
28192014-09-09 Yao Qi <yao@codesourcery.com>
2820
2821 * gdb.mi/mi-var-display.exp: Set print symbol off.
2822
a9f116cb
GKB
28232014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
2824
2825 PR gdb/17035
2826 * gdb.base/commands.exp: Add tests to verify user-defined
2827 commands with empty bodies.
2828 * gdb.python/py-cmd.exp: Test that we don't show user-defined
2829 python commands in `show user command`.
2830 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
2831 scheme commands in `show user command`.
2832
c75bd3a2
JK
28332014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2834
2835 PR python/17355
2836 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
2837 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
2838 * gdb.python/py-framefilter-invalidarg.exp: New file.
2839 * gdb.python/py-framefilter-invalidarg.py: New file.
2840
faa42425
DE
28412014-09-06 Doug Evans <xdje42@gmail.com>
2842
2843 PR 15276
2844 * gdb.python/py-caller-is.c: New file.
2845 * gdb.python/py-caller-is.exp: New file.
2846
474ca4f6
SDJ
28472014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
2848
2849 PR gdb/17235
2850 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
2851 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
2852
eb0b0463
SDJ
28532014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
2854
2855 PR fortran/17237
2856 * gdb.fortran/print-formatted.exp: New file.
2857 * gdb.fortran/print-formatted.f90: Likewise.
2858
5f3b99cf
SS
28592014-09-03 Sasha Smundak <asmundak@google.com>
2860
2861 * gdb.python/py-frame.exp: Test Frame.read_register.
2862
7d793aa9
SDJ
28632014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
2864
2865 PR python/16699
2866 * gdb.python/py-completion.exp: New file.
2867 * gdb.python/py-completion.py: Likewise.
2868
fb0576e9
DE
28692014-08-28 Doug Evans <dje@google.com>
2870
2871 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
2872 eax,etc. are live with values set by gdb and thus the compiler can't
2873 use them.
2874 * gdb.arch/i386-pseudo.c (main): Ditto.
2875
ee92b0dd
DE
28762014-08-27 Doug Evans <dje@google.com>
2877
2878 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
2879
6649db35
DE
28802014-08-25 Doug Evans <dje@google.com>
2881
2882 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
2883 (main): Ditto.
2884
564b7600
DE
28852014-08-25 Doug Evans <dje@google.com>
2886
2887 * gdb.threads/thread-execl.exp: #include <stdio.h>.
2888
3881fb67
YQ
28892014-08-24 Yao Qi <yao@codesourcery.com>
2890
2891 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
2892 symbol off.
2893 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
2894
a05a36a5
DE
28952014-08-22 Doug Evans <dje@google.com>
2896
2897 PR 17276
2898 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
2899 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
2900 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
2901
7c343b48
YQ
29022014-08-22 Yao Qi <yao@codesourcery.com>
2903
2904 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
2905 * gdb.python/py-finish-breakpoint2.exp: Likewise.
2906 * gdb.python/python.exp: Likewise. Use .py file on the host
2907 instead of the build.
2908
22fd09ae
JK
29092014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2910
2911 * gdb.threads/gcore-stale-thread.c: New file.
2912 * gdb.threads/gcore-stale-thread.exp: New file.
2913
a8454a7c
PA
29142014-08-21 Pedro Alves <palves@redhat.com>
2915
2916 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
2917 * gdb.base/gcore-relro-pie.exp: Likewise.
2918 * gdb.base/gcore-relro.exp: Likewise.
2919 * gdb.base/gcore.exp: Likewise.
2920 * gdb.base/print-symbol-loading.exp: Likewise.
2921 * gdb.threads/gcore-thread.exp: Likewise.
2922 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
2923
2a31c623
PA
29242014-08-20 Pedro Alves <palves@redhat.com>
2925 Jan Kratochvil <jan.kratochvil@redhat.com>
2926
2927 * Makefile.in (EXTRA_RULES, CC): New variables, get from
2928 configure.
2929 (EXPECT): Handle READ1 being set.
2930 (all): Depend on EXTRA_RULES.
2931 (check-read1, expect-read1, read1.so, read1): New rules.
2932 * README (Testsuite Parameters): Document the READ1 make variable.
2933 (Race detection): New section.
2934 * configure: Regenerate.
2935 * configure.ac: If build==host==target, and running under a
2936 GNU/glibc system, add read1 to the extra Makefile rules.
2937 (EXTRA_RULES): AC_SUBST it.
2938 * lib/read1.c: New file.
2939
d36430db
JB
29402014-08-20 Joel Brobecker <brobecker@adacore.com>
2941
2942 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
2943 the handling of variables declared as a typedef to an array
2944 which a DW_AT_data_location attribute.
2945
9a0dc9e3
PA
29462014-08-19 Andrew Burgess <aburgess@broadcom.com>
2947 Pedro Alves <palves@redhat.com>
2948
2949 PR symtab/14604
2950 PR symtab/14605
2951 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
2952 gdb_test.
2953
0718a8da
PA
29542014-08-19 Pedro Alves <palves@redhat.com>
2955
2956 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
2957
13b448cd
YQ
29582014-08-19 Yao Qi <yao@codesourcery.com>
2959
2960 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
2961 right line.
2962
1cbf5077
DB
29632014-08-18 David Blaikie <dblaikie@gmail.com>
2964
2965 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
2966
bf0fae19
JB
29672014-08-18 Joel Brobecker <brobecker@adacore.com>
2968
2969 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
2970 attribute in array range.
2971
3c8c5dcc
JB
29722014-08-18 Joel Brobecker <brobecker@adacore.com>
2973
2974 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
2975
e66d4446
SC
29762014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2977
2978 PR c++/17132
2979 * gdb.cp/pr17132.cc: New file.
2980 * gdb.cp/pr17132.exp: New file.
2981
940df408
SC
29822014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2983
2984 * gdb.python/py-xmethods.py (A_getarrayind)
2985 (E_method_char_worker.__call__, E_method_int_worker.__call__):
2986 Use 'print' with function call syntax.
2987 (E_method_matcher.match): Fix tab vs space indentation mixup.
2988
ebcc6c3a
YQ
29892014-08-15 Yao Qi <yao@codesourcery.com>
2990
2991 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
2992 false.
2993
775e0f04
YQ
29942014-08-15 Yao Qi <yao@codesourcery.com>
2995
2996 * gdb.cp/casts.exp: Set print symbol off.
2997 * gdb.cp/class2.exp: Likewise.
2998 * gdb.cp/overload.exp: Likewise.
2999 * gdb.cp/templates.exp: Likewise.
3000
d769e349
DE
30012014-08-11 Doug Evans <dje@google.com>
3002
3003 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3004 (test_load_shlib): Update.
3005
20c6f1e1
YQ
30062014-08-09 Yao Qi <yao@codesourcery.com>
3007
3008 * gdb.base/display.exp: Invoke is_address_zero_readable.
3009 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
3010 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
3011 * gdb.base/hbreak-unmapped.exp: Return if
3012 is_address_zero_readable returns true.
3013 * gdb.base/signest.exp: Likewise.
3014 * gdb.base/signull.exp: Likewise.
3015 * gdb.base/sigbpt.exp: Likewise.
3016 * gdb.guile/scm-disasm.exp: Do the test if
3017 is_address_zero_readable returns false.
3018 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
3019 * gdb.python/py-arch.exp: Likewise.
3020 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
3021 * lib/gdb.exp (is_address_zero_readable): New proc.
3022
5792e8e3
YQ
30232014-08-09 Yao Qi <yao@codesourcery.com>
3024
3025 PR testsuite/13443
3026 * gdb.mi/mi-var-display.exp: Make test messages unique.
3027
3cecbbbe
TT
30282014-08-04 Tom Tromey <tromey@redhat.com>
3029
3030 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
3031 target 0".
3032
00b51ff5
TT
30332014-08-04 Tom Tromey <tromey@redhat.com>
3034
3035 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
3036 "target_resume".
3037
6908c509
JB
30382014-08-01 Joel Brobecker <brobecker@adacore.com>
3039
3040 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
3041 inner_vla_struct_object_size.
3042 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
3043 as xfail.
3044
cc6563d2
PA
30452014-07-30 Pedro Alves <palves@redhat.com>
3046
3047 * gdb.threads/signal-command-handle-nopass.exp (test): Add
3048 comment.
3049
7e09a223
YQ
30502014-07-29 Yao Qi <yao@codesourcery.com>
3051
3052 PR gdb/17206
3053 * gdb.base/until-nodebug.exp: New.
3054
7ebdbe92
DE
30552014-07-28 Doug Evans <xdje42@gmail.com>
3056
3057 PR guile/17203
3058 * gdb.guile/scm-parameter.exp: Add tests for trying to create
3059 previously existing parameter, and previously ambiguously spelled
3060 parameter.
3061
fdb1adc6
WN
30622014-07-28 Will Newton <will.newton@linaro.org>
3063
3064 * gdb.base/varargs.exp: Remove KFAILs for ARM.
3065
186fcde0
DE
30662014-07-26 Ludovic Courtès <ludo@gnu.org>
3067 Doug Evans <xdje42@gmail.com>
3068
3069 PR guile/17146
3070 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
3071
70509625
PA
30722014-07-25 Pedro Alves <palves@redhat.com>
3073
3074 * gdb.threads/signal-command-handle-nopass.c: New file.
3075 * gdb.threads/signal-command-handle-nopass.exp: New file.
3076 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
3077 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
3078 * gdb.threads/signal-delivered-right-thread.c: New file.
3079 * gdb.threads/signal-delivered-right-thread.exp: New file.
3080
c3f814a1
PA
30812014-07-25 Pedro Alves <palves@redhat.com>
3082
3083 * gdb.base/double-prompt-target-event-error.exp
3084 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
3085 match.
3086 (cancel_pagination_in_target_event): Rework double prompt
3087 detection.
3088 * gdb.base/paginate-after-ctrl-c-running.exp
3089 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
3090 <return>' match.
3091 * gdb.base/paginate-bg-execution.exp
3092 (test_bg_execution_pagination_return)
3093 (test_bg_execution_pagination_cancel): Remove '-notransfer
3094 <return>' matches.
3095 * gdb.base/paginate-execution-startup.exp
3096 (test_fg_execution_pagination_return)
3097 (test_fg_execution_pagination_cancel): Remove '-notransfer
3098 <return>' matches.
3099 * gdb.base/paginate-inferior-exit.exp
3100 (test_paginate_inferior_exited): Remove '-notransfer <return>'
3101 match.
3102 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
3103 * lib/gdb.exp (pagination_prompt): Run text through
3104 string_to_regexp.
3105 (gdb_test_multiple): Match $pagination_prompt instead of
3106 "<return>".
3107 (string_to_regexp): Move to lib/gdb-utils.exp.
3108
e214cf6c
JK
31092014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3110
3111 * gdb.arch/amd64-entry-value-paramref.S: New file.
3112 * gdb.arch/amd64-entry-value-paramref.cc: New file.
3113 * gdb.arch/amd64-entry-value-paramref.exp: New file.
3114 * gdb.arch/amd64-optimout-repeat.S: New file.
3115 * gdb.arch/amd64-optimout-repeat.c: New file.
3116 * gdb.arch/amd64-optimout-repeat.exp: New file.
3117
17d0c5c8
JK
31182014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3119
3120 PR gdb/17170
3121 * gdb.base/statistics.exp: New file.
3122
b8b8facf
DE
31232014-07-17 Doug Evans <dje@google.com>
3124
74b49205 3125 PR gdb/17170
b8b8facf
DE
3126 * gdb.base/maint.exp: Update testing of per-command stats.
3127
1b5d0ab3
PA
31282014-07-16 Pedro Alves <palves@redhat.com>
3129
3130 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
3131 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
3132 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
3133 (tfile_write_buf): New functions.
3134 (add_memory_block): Rewrite using the above.
3135 (adjust_function_address): New function.
3136 (FUNCTION_ADDRESS): New macro.
3137 (write_basic_trace_file): Remove short_x local, and use
3138 tfile_write_16. Change type of func_addr local to unsigned long
3139 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
3140 here. Cast argument of add_memory_block to char pointer.
3141 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
3142 (main): Remove parameters.
3143 * gdb.trace/tfile.exp: Remove nowarnings.
3144
4d974e88
SM
31452014-07-15 Simon Marchi <simon.marchi@ericsson.com>
3146
3147 * gdb.base/debug-expr.exp: Test string evaluation with
3148 "debug expression" on.
3149
41e99568
PA
31502014-07-15 Pedro Alves <palves@redhat.com>
3151
3152 * gdb.base/reread.exp: Use clean_restart.
3153
487d9753
PL
31542014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
3155
3156 * gdb.arch/avr-flash-qualifer.c: New.
3157 * gdb.arch/avr-flash-qualifer.exp: New.
3158
cc1c52ad
PA
31592014-07-14 Pedro Alves <palves@redhat.com>
3160
3161 * gdb.base/paginate-after-ctrl-c-running.c: New file.
3162 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
3163
1e973570
PA
31642014-07-14 Pedro Alves <palves@redhat.com>
3165
3166 * gdb.base/double-prompt-target-event-error.c: New file.
3167 * gdb.base/double-prompt-target-event-error.exp: New file.
3168
93d6eb10
PA
31692014-07-14 Pedro Alves <palves@redhat.com>
3170
3171 PR gdb/17072
3172 * gdb.base/paginate-inferior-exit.c: New file.
3173 * gdb.base/paginate-inferior-exit.exp: New file.
3174
0017922d
PA
31752014-07-14 Pedro Alves <palves@redhat.com>
3176
3177 PR gdb/17072
3178 * gdb.base/paginate-bg-execution.c: New file.
3179 * gdb.base/paginate-bg-execution.exp: New file.
3180
94696ad3
PA
31812014-07-14 Pedro Alves <palves@redhat.com>
3182
3183 PR gdb/17072
3184 * gdb.base/paginate-execution-startup.c: New file.
3185 * gdb.base/paginate-execution-startup.exp: New file.
3186 * lib/gdb.exp (pagination_prompt): New global.
3187 (default_gdb_spawn): New procedure, factored out from
3188 default_gdb_spawn.
3189 (default_gdb_start): Adjust to call default_gdb_spawn.
3190 (gdb_spawn): New procedure.
3191
bd293940
PA
31922014-07-14 Pedro Alves <palves@redhat.com>
3193
3194 * lib/gdb.exp (gdb_assert): New procedure.
3195 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
3196
c933f875
PA
31972014-07-14 Pedro Alves <palves@redhat.com>
3198
3199 * gdb.base/execution-termios.c: New file.
3200 * gdb.base/execution-termios.exp: New file.
3201
d98b7a16
TT
32022014-07-14 Tom Tromey <tromey@redhat.com>
3203
3204 * gdb.cp/vla-cxx.cc: New file.
3205 * gdb.cp/vla-cxx.exp: New file.
3206
548740d6
TT
32072014-07-14 Tom Tromey <tromey@redhat.com>
3208
3209 * gdb.reverse/rerun-prec.c: New file.
3210 * gdb.reverse/rerun-prec.exp: New file.
3211
a25eb028
MR
32122014-07-12 Maciej W. Rozycki <macro@mips.com>
3213 Maciej W. Rozycki <macro@codesourcery.com>
3214
3215 * lib/gdb-utils.exp: New file.
3216 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
3217 inline `gdb_init_command' processing.
3218 (gdb_start_cmd): Likewise.
3219 * lib/mi-support.exp (mi_run_cmd): Likewise.
3220 * README: Document `gdb_init_command' and `gdb_init_commands'.
3221
218c2655
JK
32222014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3223
3224 Fix false FAIL running under a very long directory name.
3225 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
3226 and "set print elements 10000". Twice.
3227
5401fde3
YQ
32282014-07-11 Yao Qi <yao@codesourcery.com>
3229
3230 * gdb.base/exprs.exp: "set print symbol off".
3231
e76126e8
PA
32322014-07-11 Pedro Alves <palves@redhat.com>
3233
3234 * gdb.threads/kill.c: New file.
3235 * gdb.threads/kill.exp: New file.
3236
2d6f0de6
YQ
32372014-07-10 Yao Qi <yao@codesourcery.com>
3238
3239 * gdb.trace/tfile.c (write_basic_trace_file)
3240 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
3241 address written to trace file.
3242
7180e04a
PA
32432014-07-09 Pedro Alves <palves@redhat.com>
3244
3245 * gdb.base/attach-wait-input.exp: New file.
3246 * gdb.base/attach-wait-input.c: New file.
3247
9a9a7608
AB
32482014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3249
3250 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
3251 setting up test structures.
3252 (main): Call new test function.
3253 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
3254 test function, continue into test function and walk test
3255 structures.
3256
161ac41e
YQ
32572014-07-02 Yao Qi <yao@codesourcery.com>
3258
3259 * gdb.trace/entry-values.c: Define labels 'foo_start' and
3260 'bar_start' at the beginning of functions 'foo' and 'bar'
3261 respectively.
3262 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
3263 instead of 'foo' and 'bar'.
3264
1f267ae3
MM
32652014-07-08 Markus Metzger <markus.t.metzger@intel.com>
3266
3267 * gdb.btrace/segv.exp: New.
3268 * gdb.btrace/segv.c: New.
3269
2b239efb
LM
32702014-07-02 Luis Machado <lgustavo@codesourcery.com>
3271
3272 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
3273 instruction.
3274
cf363f18
MW
32752014-06-30 Mark Wielaard <mjw@redhat.com>
3276
3277 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
3278 vulture, vilify, villar): New volatile array constants.
3279 (vindictive, vegetation): New const volatile array constants.
3280 * gdb.base/volatile.exp: Test volatile and const volatile array
3281 types.
3282
aebf9d24
AA
32832014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
3284
3285 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
3286 target lacks support for awatch, rwatch, or hbreak.
3287
b67a2c6f
YQ
32882014-06-27 Yao Qi <yao@codesourcery.com>
3289
3290 * gdb.multi/dummy-frame-restore.exp: New.
3291 * gdb.multi/dummy-frame-restore.c: New.
3292
aef92902
MM
32932014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3294
3295 * gdb.btrace/gcore.exp: New.
3296
8e9db26e
PA
32972014-06-23 Pedro Alves <palves@redhat.com>
3298
3299 * gdb.base/watchpoint-reuse-slot.c: New file.
3300 * gdb.base/watchpoint-reuse-slot.exp: New file.
3301
70afc5b7
SC
33022014-06-23 Siva Chandra Reddy <sivachandra@google.com>
3303
3304 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
3305 progspace's filename in 'info', 'enable' and 'disable' command
3306 tests.
3307
b972bd9c
JK
33082014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3309
3310 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
3311 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3312 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
3313
125f8a3d
GB
33142014-06-20 Gary Benson <gbenson@redhat.com>
3315
3316 * gdb.arch/i386-avx.exp: Fix include file location.
3317 * gdb.arch/i386-sse.exp: Likewise.
3318
3ed9baed
IB
33192014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
3320
3321 * gdb.dlang/expression.exp: New file.
3322
034f788c
PA
33232014-06-19 Pedro Alves <palves@redhat.com>
3324
3325 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
3326 out from ...
3327 (top level): ... here. Iterate running tests under different
3328 scheduler-locking settings.
3329
45371d0c
LM
33302014-06-18 Luis Machado <lgustavo@codesourcery.com>
3331
3332 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
3333 to DW_FORM_addr and use non-zero addresses.
3334
5d376983
SC
33352014-06-18 Siva Chandra Reddy <sivachandra@google.com>
3336
3337 PR gdb/17017
3338 * gdb.python/py-xmethods.cc: Add global function call counters and
3339 increment them in their respective functions. Remove "cout"
3340 statements.
3341 * gdb.python/py-xmethods.exp: Make tests check the global function
3342 call counters instead of depending on inferior IO.
3343
a1aa2221
LM
33442014-06-18 Don Breazeal <donb@codesourcery.com>
3345
3346 * gdb.base/foll-fork.exp (default_fork_parent_follow):
3347 Deleted procedure.
3348 (explicit_fork_parent_follow): Deleted procedure.
3349 (explicit_fork_child_follow): Deleted procedure.
3350 (test_follow_fork): New procedure.
3351 (do_fork_tests): Replace calls to deleted procedures with
3352 calls to test_follow_fork and reset GDB for subsequent
3353 procedure calls.
3354
0fc05997
YQ
33552014-06-17 Yao Qi <yao@codesourcery.com>
3356
3357 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
3358 CP1252.
3359
70795c52
LM
33602014-06-17 Luis Machado <lgustavo@codesourcery.com>
3361
3362 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
3363 Initialize ptr and S explicitly.
3364 (skip_type_update_when_not_use_rtti_test): Likewise.
3365
6be47f0c
KS
33662014-06-16 Keith Seitz <keiths@redhat.com>
3367
3368 PR mi/15863
3369 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
3370 the inferior is started.
3371
d03de421
PA
33722014-06-16 Pedro Alves <palves@redhat.com>
3373
3374 * gdb.base/break-main-file-remove-fail.c: New file.
3375 * gdb.base/break-main-file-remove-fail.exp: New file.
3376 * gdb.base/break-unload-file.exp: Use build_executable instead of
3377 prepare_for_testing.
3378 (test_break): New parameter "initial_load". Handle it.
3379 (top level): Add initial_load cmdline/file axis.
3380
f9579b99
TT
33812014-06-12 Tom Tromey <tromey@redhat.com>
3382
3383 * gdb.base/completion.exp: Don't use directory name in test.
3384
3657956b
GB
33852014-06-09 Gary Benson <gbenson@redhat.com>
3386
3387 * gdb.base/sigall.c [Functions to send signals]: Reorder to
3388 separate the always-available ANSI-standard signals from the
3389 signals that require checking.
3390 (main): Likewise.
3391 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
3392 Likewise.
3393 (main): Likewise.
3394
4186eb54
KS
33952014-06-07 Keith Seitz <keiths@redhat.com>
3396
3397 Revert:
3398 PR c++/16253
3399 * gdb.cp/var-tag.cc: New file.
3400 * gdb.cp/var-tag.exp: New file.
3401 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3402 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3403 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3404 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3405
25326a28 34062014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
3407
3408 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
3409
829155c9
PA
34102014-06-06 Pedro Alves <palves@redhat.com>
3411
3412 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
3413 in target debug output instead of looking at RSP packets,
3414 disabling the test on any target that uses hardware stepping.
3415 Update comments.
3416
61c8d22e
PA
34172014-06-06 Pedro Alves <palves@redhat.com>
3418
3419 * gdb.base/break-unload-file.exp: Fix typo.
3420
d9a47287
YQ
34212014-06-06 Yao Qi <yao@codesourcery.com>
3422
3423 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
3424 from "jit_function" to "^jit_function".
3425
e5e01dbf
YQ
34262014-06-06 Yao Qi <yao@codesourcery.com>
3427
3428 * gdb.base/async.c (foo): Add one statement.
3429 * gdb.base/async.exp: Get the next instruction address and
3430 match the output of "nexti" by instruction address. Match
3431 the hex address in the output of "finish".
3432
73ba372c
GB
34332014-06-06 Gary Benson <gbenson@redhat.com>
3434
3435 * gdb.base/call-signals.c: Remove preprocessor conditionals
3436 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
3437 SIGSEGV and SIGTERM.
3438 * gdb.base/sigall.c: Likewise.
3439 * gdb.base/unwindonsignal.c: Likewise.
3440 * gdb.reverse/sigall-reverse.c: Likewise.
3441
831517df
YQ
34422014-06-06 Yao Qi <yao@codesourcery.com>
3443
3444 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
3445 readable, skip the test.
3446
b8b91e98
YQ
34472014-06-06 Yao Qi <yao@codesourcery.com>
3448
3449 * gdb.threads/staticthreads.c (thread_function): Move the line
3450 setting breakpoint on forward.
3451 * gdb.threads/staticthreads.exp: Update comments.
3452
fb934770
LC
34532014-06-05 Ludovic Courtès <ludo@gnu.org>
3454
3455 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
3456 "history-append! type error".
3457
6ef284bd
SM
34582014-06-05 Simon Marchi <simon.marchi@ericsson.com>
3459
3460 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
3461 erroneous dprintf expected input.
3462
a872e241
DE
34632014-06-04 Doug Evans <xdje42@gmail.com>
3464
3465 * gdb.guile/scm-generics.exp: Delete.
3466
16f691fb
DE
34672014-06-04 Doug Evans <xdje42@gmail.com>
3468
3469 * gdb.guile/scm-breakpoint.exp: Update.
3470 Add tests for breakpoint registration.
3471
012370f6
TT
34722014-06-04 Tom Tromey <tromey@redhat.com>
3473
3474 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
3475 VLA-in-union.
3476 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
3477 inner_vla_struct, vla_union types. Initialize objects of those
3478 types and compute their sizes.
3479
9f5a4cef
HZ
34802014-06-04 Nathan Sidwell <nathan@codesourcery.com>
3481 Hui Zhu <hui@codesourcery.com>
3482
3483 * gdb.base/fileio.exp: Add test for shell not available as well as
3484 available.
3485 * gdb.base/fileio.c (test_system): Check for shell twice.
3486
90a45c4d
YQ
34872014-06-04 Yao Qi <yao@codesourcery.com>
3488
3489 * gdb.base/auto-connect-native-target.exp: Remove redundant
3490 space from the regexp pattern.
3491
70017e41
YQ
34922014-06-04 Yao Qi <yao@codesourcery.com>
3493
3494 * gdb.base/default.exp: Replace "child" with "native" in
3495 regexp pattern.
3496
883964a7
SC
34972014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3498
3499 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
3500 * gdb.python/py-xmethods.exp: New tests to test xmethods.
3501 * gdb.python/py-xmethods.py: Python script supporting the
3502 new testcase and tests.
3503
ef370185
JB
35042014-06-03 Joel Brobecker <brobecker@adacore.com>
3505 Pedro Alves <palves@redhat.com>
3506
3507 PR breakpoints/17000
3508 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
3509 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
3510
1e2ccb61
BM
35112014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
3512
3513 * gdb.base/subst.exp: Add tests to verify partial path matching
3514 output.
3515
c6ec5ab2
PA
35162014-06-03 Pedro Alves <palves@redhat.com>
3517
3518 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
3519 target that doesn't use software single-stepping.
3520
835c559f
PA
35212014-06-03 Pedro Alves <palves@redhat.com>
3522
3523 PR breakpoints/17000
3524 * gdb.base/sss-bp-on-user-bp-2.c: New file.
3525 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
3526
06eb1586
DE
35272014-06-02 Doug Evans <xdje42@gmail.com>
3528
3529 * gdb.guile/scm-parameter.exp: New file.
3530
e698b8c4
DE
35312014-06-02 Doug Evans <xdje42@gmail.com>
3532
3533 * gdb.guile/scm-cmd.c: New file.
3534 * gdb.guile/scm-cmd.exp: New file.
3535
ded03782
DE
35362014-06-02 Doug Evans <xdje42@gmail.com>
3537
3538 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
3539 pretty-printer lookup.
3540 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
3541 (make-pp_s-printer): Call it.
3542 (make-pretty-printer-from-dict): New function.
3543 (lookup-pretty-printer-maker-from-dict): New function.
3544 (*pretty-printer*): Simplify.
3545 (make-objfile-pp_s-printer): New function.
3546 (install-objfile-pretty-printers!): New function.
3547 (make-progspace-pp_s-printer): New function.
3548 (install-progspace-pretty-printers!): New function.
3549 * gdb.guile/scm-progspace.c: New file.
3550 * gdb.guile/scm-progspace.exp: New file.
3551
41fac0cf
PA
35522014-06-02 Pedro Alves <palves@redhat.com>
3553
3554 * gdb.base/dprintf-bp-same-addr.c: New file.
3555 * gdb.base/dprintf-bp-same-addr.exp: New file.
3556
96ae5695
EBM
35572014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3558
3559 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
3560 * gdb.arch/powerpc-power.s: Likewise.
3561
da02b3a8
JB
35622014-06-02 Joel Brobecker <brobecker@adacore.com>
3563
3564 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
3565
c72b2e7b
YQ
35662014-06-01 Yao Qi <yao@codesourcery.com>
3567
3568 * gdb.base/watchpoint.exp (test_watch_location): Check null
3569 pointer can be dereferenced. If not, do the test, otherwise
3570 skip it.
3571
53e8a631
AB
35722014-05-30 Andrew Burgess <aburgess@broadcom.com>
3573
3574 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
3575 results.
3576 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
3577
938f0e2f
AB
35782014-05-30 Andrew Burgess <aburgess@broadcom.com>
3579
3580 * gdb.arch/amd64-invalid-stack-middle.S: New file.
3581 * gdb.arch/amd64-invalid-stack-middle.c: New file.
3582 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
3583 * gdb.arch/amd64-invalid-stack-top.c: New file.
3584 * gdb.arch/amd64-invalid-stack-top.exp: New file.
3585
9ba6657a
PA
35862014-05-30 Pedro Alves <palves@redhat.com>
3587
3588 PR breakpoints/17000
3589 * gdb.base/sss-bp-on-user-bp.c: New file.
3590 * gdb.base/sss-bp-on-user-bp.exp: New file.
3591
522c09bf
DB
35922014-05-30 David Blaikie <dblaikie@gmail.com>
3593
3594 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
3595 gnu_inline semantics via attribute.
3596 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
3597 source explicitly specifies the required semantics.
3598
bf4ef81e
MR
35992014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
3600
3601 * gdb.reverse/sigall-reverse.exp: Fix a typo.
3602
329ea579
PA
36032014-05-29 Pedro Alves <palves@redhat.com>
3604 Tom Tromey <tromey@redhat.com>
3605
3606 * gdb.base/async-shell.exp: Don't enable target-async.
3607 * gdb.base/async.exp
3608 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
3609 parameter. Adjust.
3610 (top level): Don't test with "target-async".
3611 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
3612 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
3613 * gdb.base/inferior-died.exp: Don't enable target-async.
3614 * gdb.base/interrupt-noterm.exp: Likewise.
3615 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
3616 * gdb.mi/mi-nonstop-exit.exp: Likewise.
3617 * gdb.mi/mi-nonstop.exp: Likewise.
3618 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
3619 * gdb.mi/mi-nsintrall.exp: Likewise.
3620 * gdb.mi/mi-nsmoribund.exp: Likewise.
3621 * gdb.mi/mi-nsthrexec.exp: Likewise.
3622 * gdb.mi/mi-watch-nonstop.exp: Likewise.
3623 * gdb.multi/watchpoint-multi.exp: Adjust comment.
3624 * gdb.python/py-evsignal.exp: Don't enable target-async.
3625 * gdb.python/py-evthreads.exp: Likewise.
3626 * gdb.python/py-prompt.exp: Likewise.
3627 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
3628 * gdb.server/solib-list.exp: Don't enable target-async.
3629 * gdb.threads/thread-specific-bp.exp: Likewise.
3630 * lib/mi-support.exp: Adjust to use mi-async.
3631
fd664c91
PA
36322014-05-29 Pedro Alves <palves@redhat.com>
3633
3634 PR gdb/13860
3635 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
3636 reason, even in sync mode.
3637
251bde03
PA
36382014-05-29 Pedro Alves <palves@redhat.com>
3639 Hui Zhu <hui@codesourcery.com>
3640
3641 PR PR15693
3642 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
3643 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
3644 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
3645 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
3646
7f3c0343
JB
36472014-05-28 Joel Brobecker <brobecker@adacore.com>
3648
3649 * config/monitor.exp (gdb_target_monitor): Replace use of
3650 "set remotebaud" by "set serial baud".
3651
b2715b27
AW
36522014-05-26 Andy Wingo <wingo@igalia.com>
3653
3654 * gdb.guile/scm-breakpoint.exp:
3655 * gdb.guile/scm-gsmob.exp: Update to use plain old object
3656 properties instead of gdb-object-properties.
3657
498a4489
YQ
36582014-05-26 Yao Qi <yao@codesourcery.com>
3659
3660 * gdb.server/no-thread-db.exp: Specify source file name
3661 explicitly when setting a breakpoint.
3662
589fdceb
MM
36632014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3664
3665 * gdb.btrace/vdso.c: New.
3666 * gdb.btrace/vdso.exp: New.
3667
e9089e05
MM
36682014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3669
3670 * gdb.base/gcore.exp (capture_command_output): Move ...
3671 * lib/gdb.exp (capture_command_output): ... here.
3672
67b5c0c1
MM
36732014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3674
3675 * gdb.btrace/data.exp: Test memory access during btrace replay.
3676
a2199296
SM
36772014-05-22 Simon Marchi <simon.marchi@ericsson.com>
3678
3679 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
3680
17b2616c
PA
36812014-05-21 Pedro Alves <palves@redhat.com>
3682
3683 PR gdb/13860
3684 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
3685 (top level): Test that output related to execution commands is
3686 sent to the console with CLI commands, but not with MI commands.
3687 Test that breakpoint events are always mirrored to the console.
3688 Also expect the new source line to be output after a "next" in
3689 async mode too. Make it a pass/fail test.
3690 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
3691 output.
3692 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
3693
5166082f
PA
36942014-05-21 Pedro Alves <palves@redhat.com>
3695
3696 * gdb.base/list.exp (build_pattern, test_list): New procedures.
3697 Use them to test variations of "list" after reaching a breakpoint.
3698 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
3699 Test "list" with listsize 10 after reaching a breakpoint.
3700 * gdb.python/python.exp (decode_line current location line
3701 number): Adjust expected line number.
3702
2f25d70f
SM
37032014-05-21 Simon Marchi <simon.marchi@ericsson.com>
3704
3705 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
3706 behavior for $args, pass it directly to "run".
3707
ff604a67
MR
37082014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3709
3710 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
3711 30000 to 65536.
3712
6a3cb8e8
PA
37132014-05-21 Pedro Alves <palves@redhat.com>
3714
3715 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
3716 auto-connect-native-target off".
3717 * gdb.base/auto-connect-native-target.c: New file.
3718 * gdb.base/auto-connect-native-target.exp: New file.
3719
4ebfc96e
PA
37202014-05-21 Pedro Alves <palves@redhat.com>
3721
3722 * gdb.base/default.exp: Test "target native" instead of "target
3723 child".
3724
36d46afb
MW
37252014-05-21 Mark Wielaard <mjw@redhat.com>
3726
3727 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3728
5876f503
JK
37292014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3730
3731 Fix TLS access for -static -pthread.
3732 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
3733 <HAVE_TLS> (thread_function, main): Initialize it.
3734 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
3735 Add clean_restart.
3736 <$have_tls != "">: Check TLSVAR.
3737
0256a6ac
PA
37382014-05-21 Pedro Alves <palves@redhat.com>
3739
3740 * gdb.base/dcache-line-read-error.c: New.
3741 * gdb.base/dcache-line-read-error.exp: New.
3742
936d2992
PA
37432014-05-20 Pedro Alves <palves@redhat.com>
3744
3745 * gdb.base/compare-sections.c: New file.
3746 * gdb.base/compare-sections.exp: New file.
3747
802e8e6d
PA
37482014-05-20 Pedro Alves <palves@redhat.com>
3749
3750 * gdb.base/break-idempotent.c: New file.
3751 * gdb.base/break-idempotent.exp: New file.
3752
e59fa00f
MM
37532014-05-20 Markus Metzger <markus.t.metzger@intel.com>
3754
3755 * gdb.btrace/nohist.exp: New.
3756
8b696e31
YQ
37572014-05-20 Yao Qi <yao@codesourcery.com>
3758
3759 * lib/gdb.exp (gdb_init): Set timeout if test file is under
3760 gdb.reverse directory and gdb_reverse_timeout exists in board
3761 setting.
3762 * README: Document gdb_reverse_timeout.
3763
73c9764f
YQ
37642014-05-20 Yao Qi <yao@codesourcery.com>
3765
3766 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
3767 'test_file_name'. Treat args as a string instead of a list.
3768 (gdb_init): Rename argument 'args' by 'test_file_name'.
3769
f1f4348a
JK
37702014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3771
3772 * gdb.arch/powerpc-power.exp: New file.
3773 * gdb.arch/powerpc-power.s: New file.
3774
0dbe70ce
DE
37752014-05-16 Doug Evans <dje@google.com>
3776
3777 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
3778 * gdb.base/completion.exp: Check that all expected files exist
3779 before doing file completion.
0dbe70ce 3780
8d551b02
DE
37812014-05-16 Doug Evans <dje@google.com>
3782
3783 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
3784 Update.
3785 (do_syscall_tests_without_xml): Update.
3786
73eb7709
PA
37872014-05-16 Pedro Alves <palves@redhat.com>
3788
3789 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
3790 instead of "unknown output after running".
3791
3fae92fc
YQ
37922014-05-16 Yao Qi <yao@codesourcery.com>
3793
3794 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
3795 file1.txt from host at the end.
3796 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3797
c2b2ccc5
DE
37982014-05-15 Doug Evans <dje@google.com>
3799
3800 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
3801 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
3802 loading file. Add test for TU lookup.
3803
8c217a4b
SM
38042014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3805
3806 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
3807 calling "-exec-arguments" or "set args" before running the
3808 inferior.
3809
3deb39c6
SM
38102014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3811
3812 * lib/mi-support.exp (mi_expect_stop): Expect message for
3813 inferiors that exit with non-zero exit code.
3814
71a79f8c
YQ
38152014-05-14 Yao Qi <yao@codesourcery.com>
3816
3817 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
3818 match absolute path on remote host.
3819 (test_file_list_exec_source_files): Remove "/" from the
3820 pattern.
3821
f23fcd46
YQ
38222014-05-14 Yao Qi <yao@codesourcery.com>
3823
3824 * boards/local-remote-host-notty.exp (${board}_file): New
3825 proc.
3826
9404b58f
KM
38272014-05-07 Kyle McMartin <kyle@redhat.com>
3828
3829 Pushed by Joel Brobecker <brobecker@adacore.com>.
3830 * gdb.arch/aarch64-atomic-inst.c: New file.
3831 * gdb.arch/aarch64-atomic-inst.exp: New file.
3832
5e45f04c
YQ
38332014-05-07 Yao Qi <yao@codesourcery.com>
3834
3835 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
3836 in current context" too.
3837
c888a17d
KS
38382014-05-05 Keith Seitz <keiths@redhat.com>
3839
3840 * gdb.linespec/ls-dollar.exp: Add test for linespec
3841 file:convenience_variable.
3842
290a839c
YQ
38432014-05-05 Yao Qi <yao@codesourcery.com>
3844
3845 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
3846 traceframes into tfile and ctf trace files. Read data from
3847 trace file and test collected data.
3848 (gdb_collect_locals_test): Likewise.
3849 (gdb_unavailable_registers_test): Likewise.
3850 (gdb_unavailable_floats): Likewise.
3851 (gdb_collect_globals_test): Likewise.
3852 (top-level): Append "ctf" to trace_file_targets if GDB
3853 supports.
3854
b5262cd0
YQ
38552014-05-05 Yao Qi <yao@codesourcery.com>
3856
3857 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
3858 code to ...
3859 (gdb_collect_args_test_1): ... it. New proc.
3860 (gdb_collect_locals_test): Move some code to ...
3861 (gdb_collect_locals_test_1): ... it. New proc.
3862 (gdb_unavailable_registers_test): Move some code to ...
3863 (gdb_unavailable_registers_test_1): ... it. New proc.
3864 (gdb_unavailable_floats): Move some code to ...
3865 (gdb_unavailable_floats_1): ... it. New proc.
3866
30a1e6cc
SDJ
38672014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3868
3869 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
3870 probes to test for bitness recognition.
3871 * gdb.arch/amd64-stap-optional-prefix.exp
3872 (test_probe_value_without_reg): New procedure.
3873 Add code to test for different kinds of bitness.
3874
f33da99a
SDJ
38752014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3876
3877 PR breakpoints/16889
3878 * gdb.arch/amd64-stap-optional-prefix.S: New file.
3879 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3880
5b80f00d
PA
38812014-05-01 Pedro Alves <palves@redhat.com>
3882
3883 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
3884 gdb_file_cmd if no file is specified.
3885 * boards/native-extended-gdbserver.exp (gdb_load): Use the
3886 last_loaded_file to set the remote exec-file.
3887
f8c2a73c
PA
38882014-05-01 Pedro Alves <palves@redhat.com>
3889
3890 * boards/local-remote-host.exp: New file.
3891
be6e8ac7
PA
38922014-05-01 Pedro Alves <palves@redhat.com>
3893
3894 * boards/local-remote-host.exp: Rename to ...
3895 * boards/local-remote-host-notty.exp: ... this.
3896
cac0dc8f
JB
38972014-04-28 Joel Brobecker <brobecker@adacore.com>
3898
3899 * gdb.ada/dyn_arrayidx: New testcase.
3900
9730e6cc
YQ
39012014-04-26 Yao Qi <yao@codesourcery.com>
3902
3903 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
3904 and compute the length of function main. Save it in
3905 $main_length.
3906 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
3907 (top-level): Use gdb_compile to compile objects into
3908 executable and restart GDB. Remove invocation to
3909 prepare_for_testing.
3910
7ae1a6a6
PA
39112014-04-25 Simon Marchi <simon.marchi@ericsson.com>
3912 Pedro Alves <palves@redhat.com>
3913
3914 PR server/16255
3915 * gdb.multi/multi-attach.c: New file.
3916 * gdb.multi/multi-attach.exp: New file.
3917
4082afcc
PA
39182014-04-25 Pedro Alves <palves@redhat.com>
3919
3920 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
3921 user.
3922 (top level): Test that "set remote conditional-breakpoints-packet
3923 off" works as intended.
3924 * gdb.base/dprintf.exp: Test that "set remote
3925 breakpoint-commands-packet off" works as intended.
3926 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
3927 New function.
3928 (top level): Call it.
3929 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
3930 remote fast-tracepoints-packet off" works as intended.
3931 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
3932 * lib/gdb.exp (gdb_is_target_remote): ... here.
3933
2abc3f8d
DB
39342014-04-24 David Blaikie <dblaikie@gmail.com>
3935
3936 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
3937 ensure clang would not discard them.
3938 * gdb.base/gdbvars.c: Ditto.
3939 * gdb.base/memattr.c: Ditto.
3940 * gdb.base/whatis.c: Ditto.
3941 * gdb.python/py-prettyprint.c: Ditto.
3942 * gdb.trace/actions.c: Ditto.
3943 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
3944 ensure clang would not discard it.
3945
bfd39632
DB
39462014-04-24 David Blaikie <dblaikie@gmail.com>
3947
3948 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
3949 clang to emit the full definition of type required by the test
3950 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
3951
22842ff6
DB
39522014-04-24 David Blaikie <dblaikie@gmail.com>
3953
3954 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
3955 coax Clang into emitting the definition of the type.
3956 * gdb.cp/pr10728-x.h (y): Ditto.
3957 * gdb.cp/pr10728-y.cc (y): Ditto.
3958
c2e827ad
DB
39592014-04-24 David Blaikie <dblaikie@gmail.com>
3960
3961 * gdb.base/label.exp: XFAIL label related tests under Clang.
3962 * gdb.cp/cplabel.exp: Ditto.
3963 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
3964 under Clang those using labels.
3965
4c2d33e7
YQ
39662014-04-25 Yao Qi <yao@codesourcery.com>
3967
3968 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
3969 double_label.
3970 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
3971 partial_label and double_label.
3972
56083b99
DB
39732014-04-24 David Blaikie <dblaikie@gmail.com>
3974
3975 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
3976
25d4e99d
DB
39772014-04-24 David Blaikie <dblaikie@gmail.com>
3978
3979 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
3980 of the function to work across GCC and Clang.
3981 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
3982 pointer types (const void ** const V void **).
3983
01f9f808
MS
39842014-04-24 Michael Sturm <michael.sturm@mintel.com>
3985 Walfred Tedeschi <walfred.tedeschi@intel.com>
3986
3987 * Makefile.in (EXECUTABLES): Added i386-avx512.
3988 * gdb.arch/i386-avx512.c: New file.
3989 * gdb.arch/i386-avx512.exp: Likewise.
3990
4b48d439
KS
39912014-04-23 Keith Seitz <keiths@redhat.com>
3992
3993 * lib/mi-support.exp (mi_list_breakpoints): Delete.
3994 (mi_make_breakpoint_table): New procedure.
3995 (mi_create_breakpoint): Use mi_make_breakpoint
3996 and return the result.
3997 (mi_make_breakpoint): New procedure.
3998 (mi_build_kv_pairs): New procedure.
3999
4000 * gdb.mi/mi-break.exp: Remove unused globals,
4001 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
4002 All callers updated.
4003 * gdb.mi/mi-dprintf.exp: Use variable to track command
4004 number.
4005 Update all callers of mi_create_breakpoint and use
4006 mi_make_breakpoint_table.
4007 Remove any unused global variables.
4008 * gdb.mi/mi-nonstop.exp: Likewise.
4009 * gdb.mi/mi-nsintrall.exp: Likewise.
4010 * gdb.mi/mi-nsmoribund.exp: Likewise.
4011 * gdb.mi/mi-nsthrexec.exp: Likewise.
4012 * gdb.mi/mi-reverse.exp: Likewise.
4013 * gdb.mi/mi-simplerun.exp: Likewise.
4014 * gdb.mi/mi-stepn.exp: Likewise.
4015 * gdb.mi/mi-syn-frame.exp: Likewise.
4016 * gdb.mi/mi-until.exp: Likewise.
4017 * gdb.mi/mi-var-cp.exp: Likewise.
4018 * gdb.mi/mi-var-display.exp: Likewise.
4019 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
4020 * gdb.mi/mi2-var-child.exp: Likewise.
4021 * gdb.mi/mi-vla-c99.exp: Likewise.
4022 * lib/mi-support.exp: Likewise.
4023
4024 From Ian Lance Taylor <iant@cygnus.com>:
4025 * lib/gdb.exp (parse_args): New procedure.
4026
08351840
PA
40272014-04-23 Pedro Alves <palves@redhat.com>
4028
4029 * gdb.base/break-unload-file.c: New file.
4030 * gdb.base/break-unload-file.exp: New file.
4031 * gdb.base/sym-file-lib.c (baz): New function.
4032 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
4033 field.
4034 (load): Store the segment's mapped size.
4035 (unload): New function.
4036 (unload_shlib): New function.
4037 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
4038 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
4039 set a breakpoint at baz, and call it.
4040 * gdb.base/sym-file.exp: New tests for stale breakpoint
4041 instructions.
4042
076855f9
PA
40432014-04-23 Pedro Alves <palves@redhat.com>
4044
4045 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
4046 * gdb.base/hbreak-in-shr-unsupported.c: New file.
4047 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
4048 * gdb.base/hbreak-unmapped.c: New file.
4049 * gdb.base/hbreak-unmapped.exp: New file.
4050 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
4051 * lib/gdb.exp (gdb_is_target_remote): ... here.
4052
483805cf
PA
40532014-04-22 Pedro Alves <palves@redhat.com>
4054
4055 * gdb.base/consecutive-step-over.c: New file.
4056 * gdb.base/consecutive-step-over.exp: New file.
4057
06d97543
PA
40582014-04-22 Pedro Alves <palves@redhat.com>
4059
4060 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
4061 instead of send_gdb/gdb_expect.
4062
b4429ea2
YQ
40632014-04-22 Yao Qi <yao@codesourcery.com>
4064
4065 * lib/trace-support.exp (generate_tracefile): New procedure.
4066 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
4067 return 0.
4068 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
4069 if generate_tracefile returns 1.
4070
51d48146
PA
40712014-04-18 Tom Tromey <palves@redhat.com>
4072 Pedro alves <tromey@redhat.com>
4073
4074 PR backtrace/15558
4075 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
4076 with a backtrace limit.
4077 * gdb.python/py-frame-inline.exp: Test running to an inline
4078 function with a backtrace limit, and printing the newest frame.
4079 * gdb.python/py-frame-inline.c (main): Call f.
4080
bd1dce5f
MS
40812014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
4082
4083 * gdb.java/jnpe.exp: Drop srcdir from untested path.
4084
40d1a503
MS
40852014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
4086
4087 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
4088 Drop prefix from unsupported source file path.
4089
389b98f7
YQ
40902014-04-17 Yao Qi <yao@codesourcery.com>
4091
4092 * lib/gdb.exp (with_target_charset): New proc.
4093 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
4094 with_target_charset.
4095 (test_print_strings): Likewise.
4096 (test_repeat_bytes): Likewise.
4097 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
4098 for some tests.
4099
22869d73
KS
41002014-04-16 Keith Seitz <keiths@redhat.com>
4101
4102 PR gdb/15827
4103 * gdb.dwarf2/corrupt.c: New file.
4104 * gdb.dwarf2/corrupt.exp: New file.
4105
c4f87ca6
KS
41062014-04-16 Keith Seitz <keiths@redhat.com>
4107
4108 PR c++/16597
4109 * gdb.cp/namelessclass.cc: New file.
4110 * gdb.cp/namelessclass.exp: New file.
4111 * gdb.cp/namelessclass.S: New file.
4112
ab19de87
DE
41132014-04-16 Doug Evans <dje@google.com>
4114
4115 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
4116 Add comment.
4117 (gdbserver_default_get_comm_port): New function.
4118 (gdbserver_start): Check if board file provided
4119 "gdbserver,get_comm_port" and use it if so.
4120 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
4121 (gdb,socketport): Set to "stdio".
4122 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
4123 (stdio_gdbserver_template): Delete.
4124 (${board}_get_remote_address): Update.
4125 (${board}_build_remote_cmd): Delete.
4126 (${board}_get_comm_port): New function.
4127 (${board}_spawn): Update.
4128 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
4129 Delete.
4130 (${board}_get_remote_address): Update.
4131 (${board}_get_comm_port): New function.
4132
fc98a809
AB
41332014-04-16 Andrew Burgess <aburgess@broadcom.com>
4134
4135 * gdb.base/memattr.exp: Improve regexps to handle memory regions
4136 appearing in any order.
4137
87fd9e6e
DE
41382014-04-15 Doug Evans <dje@google.com>
4139
4140 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
4141 uninitialized value of "description".
4142
099fc3ea
KS
41432014-04-15 Keith Seitz <keiths@redhat.com>
4144
4145 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
4146 Remove unused globals.
4147 (test_running_the_program): Likewise.
4148 (test_controlled_execution): Likewise.
4149 (test_controlling_breakpoints): Likewise.
4150 (test_program_termination): Likewise.
4151
5da151d4
KS
41522014-04-15 Keith Seitz <keiths@redhat.com>
4153
4154 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
4155 unused globals.
4156 (test_rbreak_creation_and_listing): Likewise.
4157 (test_ignore_count): Likewise.
4158 (test_error): Likewise.
4159
35e5d2f0
PA
41602014-04-15 Pedro Alves <palves@redhat.com>
4161
4162 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
4163 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
4164 sym-file-loader.c.
4165 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4166 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4167 to sym-file-loader.c.
4168 (struct library): Forward declare.
4169 (load_shlib, lookup_function): Change prototypes.
4170 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4171 (translate_offset): Remove declarations.
4172 (get_text_addr): New declaration.
4173 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
4174 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
4175 sym-file-loader.h.
4176 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4177 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4178 here from sym-file-loader.h.
4179 (struct library): New structure.
4180 (load_shlib, lookup_function): Change prototypes and adjust to
4181 work with a struct library.
4182 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4183 (translate_offset): Make static.
4184 (get_text_addr): New function.
4185 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
4186
eb4c1710
PA
41872014-04-15 Pedro Alves <palves@redhat.com>
4188
4189 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
4190
2d1baf52
PA
41912014-04-15 Pedro Alves <palves@redhat.com>
4192
4193 * gdb.base/sym-file-loader.c: Include <limits.h>.
4194 (SELF_LINK): New define.
4195 (get_origin): New function.
4196 (load_shlib): Use it.
4197 * gdb.base/sym-file.exp: Don't early return if the target is
4198 remote. Use runto_main, and issue fail is that fails. Use
4199 gdb_load_shlibs.
4200 (shlib_name): Delete.
4201 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
4202
7dd6df01
PA
42032014-04-15 Pedro Alves <palves@redhat.com>
4204
4205 * gdb.base/sym-file.exp: Remove regex characters from test
4206 message. Don't refer to breakpoint numbers in test messages.
4207
b50c8614
KS
42082014-04-14 Keith Seitz <keiths@redhat.com>
4209
4210 PR c++/16253
4211 * gdb.cp/var-tag.cc: New file.
4212 * gdb.cp/var-tag.exp: New file.
4213 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4214 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4215 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4216 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4217
3d567982
TT
42182014-04-14 Tom Tromey <tromey@redhat.com>
4219
4220 * gdb.cp/classes.exp (test_enums): Handle underlying type.
4221 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
4222 type.
4223 * gdb.cp/enum-class.exp: New file.
4224 * gdb.cp/enum-class.cc: New file.
4225
0626fc76
TT
42262014-04-14 Tom Tromey <tromey@redhat.com>
4227
4228 * gdb.dwarf2/enum-type.exp: New file.
4229
dca325b3
SA
42302014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4231
4232 * gdb.mi/mi-vla-c99.exp: New file.
4233 * gdb.mi/vla.c: New file.
4234
5854b38a
SA
42352014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4236
4237 * gdb.base/vla-datatypes.c: New file.
4238 * gdb.base/vla-datatypes.exp: New file.
4239
463bb957
SA
42402014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4241
4242 * gdb.base/vla-ptr.c: New file.
4243 * gdb.base/vla-ptr.exp: New file.
4244
3dd170be
SA
42452014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4246
4247 * gdb.dwarf2/count.exp: New file.
4248
5ecaaa66
SA
42492014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4250
4251 * gdb.base/vla-sideeffect.c: New file.
4252 * gdb.base/vla-sideeffect.exp: New file.
4253
41f1ada5
DB
42542014-04-14 David Blaikie <dblaikie@gmail.com>
4255
4256 * gdb.mi/non-stop.c: Add return value for non-void function return
4257 statement.
4258 * gdb.threads/staticthreads.c: Ditto.
4259
0be03e84
DE
42602014-04-12 Siva Chandra Reddy <sivachandra@google.com>
4261 Doug Evans <xdje42@gmail.com>
4262
4263 * gdb.guile/scm-value.c: Improve test case.
4264 * gdb.guile/scm-value.exp: Add new test.
4265
f180a1fb
DB
42662014-04-11 David Blaikie <dblaikie@gmail.com>
4267
4268 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
4269 override Clang's default.
4270
6b662e19
JB
42712014-04-11 Joel Brobecker <brobecker@adacore.com>
4272
4273 Revert the following changes (regressions):
4274
4275 * gdb.base/vla-sideeffect.c: New file.
4276 * gdb.base/vla-sideeffect.exp: New file.
4277
4278 * gdb.dwarf2/count.exp: New file.
4279
4280 * gdb.base/vla-multi.c: New file.
4281 * gdb.base/vla-multi.exp: New file.
4282
4283 * gdb.base/vla-ptr.c: New file.
4284 * gdb.base/vla-ptr.exp: New file.
4285
4286 * gdb.base/vla-datatypes.c: New file.
4287 * gdb.base/vla-datatypes.exp: New file.
4288
4289 * gdb.mi/mi-vla-c99.exp: New file.
4290 * gdb.mi/vla.c: New file.
4291
245a5f0b
KS
42922014-04-11 Keith Seitz <keiths@redhat.com>
4293
4294 PR c++/16675
4295 * gdb.cp/cpsizeof.exp: New file.
4296 * gdb.cp/cpsizeof.cc: New file.
4297
58a84dcf
SA
42982014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4299
191a8a90
JB
4300 * gdb.mi/mi-vla-c99.exp: New file.
4301 * gdb.mi/vla.c: New file.
58a84dcf 4302
c8655f75
SA
43032014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4304
4305 * gdb.base/vla-datatypes.c: New file.
4306 * gdb.base/vla-datatypes.exp: New file.
4307
024e13b4
SA
43082014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4309
4310 * gdb.base/vla-ptr.c: New file.
4311 * gdb.base/vla-ptr.exp: New file.
4312
1a237e0e
SA
43132014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4314
4315 * gdb.base/vla-multi.c: New file.
4316 * gdb.base/vla-multi.exp: New file.
4317
504f3432
SA
43182014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4319
4320 * gdb.dwarf2/count.exp: New file.
4321
3bce8237
SA
43222014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4323
191a8a90
JB
4324 * gdb.base/vla-sideeffect.c: New file.
4325 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 4326
322f9c21
YQ
43272014-04-11 Yao Qi <yao@codesourcery.com>
4328
4329 * gdb.base/completion.exp: Check file exists before running tests
4330 on file completion.
4331
d708bcd1
PA
43322014-04-10 Pedro Alves <palves@redhat.com>
4333
4334 * gdb.base/cond-eval-mode.c: New file.
4335 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
4336 prepare_for_testing to build the new file. Check result of
4337 runto_main.
4338 (test_break, test_watch): New procedures.
4339 (top level): Use them.
4340
ae1d2761
PM
43412014-04-08 Pierre Muller <muller@sourceware.org>
4342
4343 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
4344 Ctrl-V use for mingw hosts.
4345
7af389b8
SC
43462014-04-07 Siva Chandra Reddy <sivachandra@google.com>
4347
4348 * gdb.python/py-value.c: Improve test case.
4349 * gdb.python/py-value.exp: Add new test.
4350
5e703181
DE
43512014-04-07 David Blaikie <dblaikie@gmail.com>
4352
4353 * lib/compiler.c: Identify the clang compiler.
4354 * lib/compiler.cc: Ditto.
4355
9810b410
YQ
43562014-04-03 Yao Qi <yao@codesourcery.com>
4357
4358 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
4359
98d1b8dc
AB
43602014-04-01 Anton Blanchard <anton@samba.org>
4361
4362 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
4363 messages unique.
4364
3114cea1
AB
43652014-04-01 Anton Blanchard <anton@samba.org>
4366
4367 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
4368 prepare_for_testing.
4369
62f7182c
AB
43702014-04-01 Anton Blanchard <anton@samba.org>
4371
4372 * gdb.arch/ppc64-atomic-inst.c: Remove.
4373 * gdb.arch/ppc64-atomic-inst.S: New file.
4374 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
4375
770e7fc7
DE
43762014-03-31 Doug Evans <dje@google.com>
4377
4378 * gdb.base/print-symbol-loading-lib.c: New file.
4379 * gdb.base/print-symbol-loading-main.c: New file.
4380 * gdb.base/print-symbol-loading.exp: New file.
4381
46e2bafa
YQ
43822014-03-31 Yao Qi <yao@codesourcery.com>
4383
4384 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
4385
8776cfe9
JB
43862014-03-28 Joel Brobecker <brobecker@adacore.com>
4387
4388 * gdb.ada/mi_dyn_arr: New testcase.
4389
5d1ef361
DE
43902014-03-27 Doug Evans <dje@google.com>
4391
4392 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
4393
b5bee914
YQ
43942014-03-27 Yao Qi <yao@codesourcery.com>
4395
4396 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
4397 if target is nios2-*-*.
4398
0d4d0e77
YQ
43992014-03-26 Yao Qi <yao@codesourcery.com>
4400
4401 * lib/gdb.exp (readline_is_used): New proc.
4402 * gdb.base/completion.exp: Move tests on command complete up.
4403 Skip the rest of tests if readline is not used.
4404 * gdb.ada/complete.exp: Skp the test if readline is not
4405 used.
4406 * gdb.base/filesym.exp: Likewise.
4407 * gdb.base/macscp.exp: Likewise.
4408 * gdb.base/readline-ask.exp: Likewise.
4409 * gdb.base/readline.exp: Likewise.
4410 * gdb.python/py-cmd.exp: Likewise.
4411 * gdb.trace/tfile.exp: Likewise.
4412
29361eee
YQ
44132014-03-26 Yao Qi <yao@codesourcery.com>
4414
4415 * gdb.base/macscp.exp: Fix code format issues.
4416
bc9a5525
UW
44172014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
4418
4419 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
4420 * gdb.asm/powerpc64le.inc: New file.
4421
d3839ede
PA
44222014-03-25 Pedro Alves <palves@redhat.com>
4423 Doug Evans <dje@google.com>
4424
4425 * gdb.base/source-execution.c: New file.
4426 * gdb.base/source-execution.exp: New file.
4427 * gdb.base/source-execution.gdb: New file.
4428
01672a57
DE
44292014-03-24 Doug Evans <dje@google.com>
4430
4431 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
4432 using fission.
4433
88bbeca9
HZ
44342014-03-24 Hui Zhu <hui@codesourcery.com>
4435 Pedro Alves <palves@redhat.com>
4436
4437 PR breakpoints/16101
4438 * gdb.base/dprintf.exp: Use unsupported rather than changing the
4439 test pass/fail messages. Detect missing support for dprintf when
4440 breakpoints are actually inserted.
4441 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
4442 breakpoints are actually inserted.
4443 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
4444 fails.
4445
d2348791
JK
44462014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4447
4448 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
4449
feef67ab
DE
44502014-03-22 Doug Evans <xdje42@gmail.com>
4451
4452 * gdb.python/python.exp (python not supported): Verify multi-line
4453 python command issues an error.
25d743f9 4454 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 4455 guile command issues an error.
feef67ab 4456
ecebef6a
MR
44572014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
4458
4459 * gdb.threads/thread-specific.exp: Handle the lack of usable
4460 $this_breakpoint and $this_thread.
4461
ccdd1909
HZ
44622014-03-21 Hui Zhu <hui@codesourcery.com>
4463
4464 * gdb.base/attach.exp (do_command_attach_tests): New.
4465
beb460e8
PA
44662014-03-20 Tom Tromey <tromey@redhat.com>
4467 Pedro Alves <palves@redhat.com>
4468
4469 PR cli/15718
4470 * gdb.base/condbreak-call-false.c: New file.
4471 * gdb.base/condbreak-call-false.exp: New file.
4472
40acf43a
PA
44732014-03-20 Pedro Alves <palves@redhat.com>
4474
4475 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
4476 Delete.
4477 (block_signals, unblock_signals): Delete.
4478 (child_function_2, main): Remove references to deleted variable
4479 and functions.
4480
9f5e1e02
PA
44812014-03-20 Pedro Alves <palves@redhat.com>
4482
4483 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
4484 Use pthread_kill to signal thread 2.
4485 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4486 Adjust to make the test send itself a signal rather than using the
4487 host's "kill" command.
4488
99619bea
PA
44892014-03-20 Pedro Alves <palves@redhat.com>
4490
4491 * gdb.threads/multiple-step-overs.c: New file.
4492 * gdb.threads/multiple-step-overs.exp: New file.
4493 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4494 Adjust expected infrun debug output.
4495
2adfaa28
PA
44962014-03-20 Pedro Alves <palves@redhat.com>
4497
4498 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
4499 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
4500
31e77af2
PA
45012014-03-20 Pedro Alves <palves@redhat.com>
4502
4503 PR breakpoints/7143
4504 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
4505 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
4506 of gdb_test_multiple.
4507 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
4508 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
4509
b9f437de
PA
45102014-03-20 Pedro Alves <palves@redhat.com>
4511
4512 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
4513 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
4514
05adc73e
PA
45152014-03-19 Pedro Alves <palves@redhat.com>
4516
4517 * gdb.base/async.exp: Remove early return.
4518
6048b950
PA
45192014-03-19 Pedro Alves <palves@redhat.com>
4520
4521 * gdb.base/async.exp (step& tests): Pass explicit test messages.
4522
8bcfb00a
PA
45232014-03-19 Pedro Alves <palves@redhat.com>
4524
4525 * gdb.base/async.exp (test_background): Expect \r\n after
4526 "completed." in the fail pattern.
4527
884e37dc
PA
45282014-03-19 Pedro Alves <palves@redhat.com>
4529
4530 * gdb.base/async.exp (test_background): New procedure.
4531 Use it for all background execution command tests.
4532
148e57e2
PA
45332014-03-19 Pedro Alves <palves@redhat.com>
4534
4535 * gdb.base/async.exp: Use prepare_for_testing.
4536
f48088c7
PA
45372014-03-19 Pedro Alves <palves@redhat.com>
4538
4539 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
4540 the same line.
4541
e2f6c966
PA
45422014-03-19 Pedro Alves <palves@redhat.com>
4543
4544 * gdb.base/async.c (main): Add "jump here" and "until here" line
4545 marker comments.
4546 * gdb.base/async.exp (jump_here): New global.
4547 (jump& test): Use it.
4548 (until_here): New global.
4549 (until& test): Use it.
4550
c30568d4
PA
45512014-03-19 Pedro Alves <palves@redhat.com>
4552
4553 * gdb.base/async.exp: Don't frob gdb_protocol.
4554
0172b6a7
DE
45552014-03-18 Doug Evans <xdje42@gmail.com>
4556
4557 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
4558 Fix spelling of exec-done-display.
4559
06c868a8
JK
45602014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4561
4562 PR gdb/15358
4563 * gdb.base/gdb-sigterm.c: New file.
4564 * gdb.base/gdb-sigterm.exp: New file.
4565
0c7e1a46
PA
45662014-03-18 Pedro Alves <palves@redhat.com>
4567
4568 PR gdb/13860
4569 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
4570 * lib/mi-support.exp (mi_expect_stop): Add special handling for
4571 solib-event.
4572
f7c77d93
JB
45732014-03-17 Joel Brobecker <brobecker@adacore.com>
4574
4575 * gdb.ada/pckd_arr_ren: New testcase.
4576
5a1e8c7a
DE
45772014-03-13 Doug Evans <xdje42@gmail.com>
4578
4579 PR guile/16612
4580 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
4581 collect after discarding symbols.
4582
350e1a76
DE
45832014-03-13 Ludovic Courtès <ludo@gnu.org>
4584 Doug Evans <xdje42@gmail.com>
4585
4586 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
4587 to history survives a gc.
4588
a69900ae
PA
45892014-03-13 Pedro Alves <palves@redhat.com>
4590
4591 * gdb.base/default.exp: Don't test "target procfs".
4592
5db9f0bd
PA
45932014-03-13 Pedro Alves <palves@redhat.com>
4594
4595 * gdb.base/default.exp: Update "target child" and "target procfs"
4596 tests to not expect "Unix".
4597
b3ccfe11
TT
45982014-03-12 Tom Tromey <tromey@redhat.com>
4599
4600 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
4601 New procs. Add target-async tests.
4602 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
4603 Add target-async tests.
4604
646f4417
AA
46052014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4606
4607 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
4608 'func_start' and 'func_end' for the beginning and end of the
4609 function code, respectively.
4610 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
4611 'func_end' instead of 'func' and 'main'.
4612
288c211f
AA
46132014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4614
4615 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
4616 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
4617 generate the debug info assembler source.
4618
e0c0f156
AA
46192014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4620
4621 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
4622 * gdb.dwarf2/arr-subrange.exp: Likewise.
4623 * gdb.dwarf2/dwz.exp: Likewise.
4624 * gdb.dwarf2/method-ptr.exp: Likewise.
4625 * gdb.dwarf2/missing-sig-type.exp: Likewise.
4626 * gdb.dwarf2/subrange.exp: Likewise.
4627 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
4628 * gdb.dwarf2/implptrpiece.exp: Likewise.
4629 * gdb.dwarf2/nostaticblock.exp: Likewise.
4630
0e5c4555
AA
46312014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4632
4633 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
4634 directory to absolute path name arguments.
4635
5ec18f2b
JG
46362014-03-10 Joel Brobecker <brobecker@adacore.com>
4637
4638 * gdb.ada/tagged_access: New testcase.
4639
847fc4f2
MM
46402014-03-07 Markus Metzger <markus.t.metzger@intel.com>
4641
4642 * gdb.btrace/data.exp: Update expected output.
4643
cc3da688
YQ
46442014-03-06 Yao Qi <yao@codesourcery.com>
4645
4646 * gdb.trace/pr16508.exp: New file.
4647
0f26cec1
PA
46482014-03-05 Pedro Alves <palves@redhat.com>
4649
4650 PR gdb/16575
4651 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
4652 procedure.
4653 (top level): Adjust to use it. Add tests that exercise breakpoint
4654 interaction with the code-cache.
4655
7a5a839f
LC
46562014-02-26 Ludovic Courtès <ludo@gnu.org>
4657
4658 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
4659 test for 'history-append!'.
4660
31aa7e4e
JB
46612014-02-26 Joel Brobecker <brobecker@adacore.com>
4662
4663 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
4664 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
4665 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
4666 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
4667 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
4668 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
4669
1b588015
JB
46702014-02-26 Joel Brobecker <brobecker@adacore.com>
4671
4672 * testsuite/gdb.python/py-pp-re-notag.c: New file.
4673 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
4674 * testsuite/gdb.python/py-pp-re-notag.p: New file.
4675
55426c9d
JB
46762014-02-26 Joel Brobecker <brobecker@adacore.com>
4677
4678 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
4679
dc53a7ad
JB
46802014-02-26 Joel Brobecker <brobecker@adacore.com>
4681
4682 * gdb.dwarf2/arr-stride.c: New file.
4683 * gdb.dwarf2/arr-stride.exp: New file.
4684
12ab52e9
PA
46852014-02-26 Pedro Alves <palves@redhat.com>
4686
4687 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
4688 that won't ever trigger. Make sure that GDB reports the correct
4689 breakpoint that caused the stop.
4690
849c862e
JK
46912014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4692
4693 PR gdb/16626
4694 * gdb.base/auto-load-script: New file.
4695 * gdb.base/auto-load.c: New file.
4696 * gdb.base/auto-load.exp: New file.
4697
71b7d793
JK
4698 PR gdb/16626
4699 * gdb.base/auto-load.exp: Fix out-of-srctree run.
4700
e2f0d509
JK
47012014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4702
4703 Fix dw2-icycle.exp -fsanitize=address GDB crash.
4704 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
4705
50cc37c8
DE
47062014-02-24 Doug Evans <dje@google.com>
4707
4708 * lib/gdb.exp (run_on_host): Log error output if program fails.
4709
ea4758f2
PA
47102014-02-21 Pedro Alves <palves@redhat.com>
4711
4712 * gdb.threads/step-after-sr-lock.c: Rename to ...
4713 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
4714 * gdb.threads/step-after-sr-lock.exp: Rename to ...
4715 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4716 ... this.
4717
d7b30f67
SDJ
47182014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
4719
4720 PR tdep/16397
4721 * gdb.arch/amd64-stap-special-operands.exp: New file.
4722 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
4723 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
4724 * gdb.arch/amd64-stap-triplet.S: Likewise.
4725 * gdb.arch/amd64-stap-triplet.c: Likewise.
4726
83deb43f
JB
47272014-02-20 Joel Brobecker <brobecker@adacore.com>
4728
4729 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
4730 in .section pseudo-op.
4731
adde2bff
DE
47322014-02-20 lin zuojian <manjian2006@gmail.com>
4733 Joel Brobecker <brobecker@adacore.com>
4734 Doug Evans <xdje42@gmail.com>
4735
4736 PR symtab/16581
4737 * gdb.dwarf2/dw2-icycle.S: New file.
4738 * gdb.dwarf2/dw2-icycle.c: New file.
4739 * gdb.dwarf2/dw2-icycle.exp: New file.
4740
f7bd0f78
SC
47412014-02-19 Siva Chandra Reddy <sivachandra@google.com>
4742
4743 * gdb.python/py-value-cc.cc: Improve test case to enable testing
4744 operations on gdb.Value objects.
4745 * gdb.python/py-value-cc.exp: Add new test to test operations on
4746 gdb.Value objects.
4747
c17ef0d5
DE
47482014-02-18 Doug Evans <dje@google.com>
4749
4750 * Makefile.in (TESTS): New variable.
4751 (expanded_tests, expanded_tests_or_none): New variables
4752 (check-single): Pass $(expanded_tests_or_none) to runtest.
4753 (check-parallel): Only run tests in $(TESTS) if non-empty.
4754 (check/no-matching-tests-found): New rule.
4755 * README: Document TESTS makefile variable.
4756
5dd3176f
DE
47572014-02-18 Doug Evans <dje@google.com>
4758
4759 * Makefile.in (check-parallel): rm -rf outputs temp.
4760
0b10be4f
JK
47612014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4762
4763 Fix "ERROR: no fileid for" in the testsuite.
4764 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
4765
85f224e7
DE
47662014-02-12 Doug Evans <dje@google.com>
4767
4768 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
4769 (MISCELLANEOUS): New variable.
4770 (clean): rm -rf $(MISCELLANEOUS).
4771 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
4772 dwp live in the same directory as symlinks, with each symlink pointed
4773 to a differently named file in a different directory.
4774
149b30ff
DE
47752014-02-11 Doug Evans <dje@google.com>
4776
4777 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
4778 of Tcl file commands.
4779
1dfdac32
MK
47802014-02-10 Mark Kettenis <kettenis@gnu.org>
4781
4782 * gdb.threads/step-after-sr-lock.exp: Avoid executing
4783 "kill -SIGUSR1 -1".
4784
aa4fb036
JB
47852014-02-10 Joel Brobecker <brobecker@adacore.com>
4786
4787 * gdb.ada/tick_length_array_enum_idx: New testcase.
4788
ed3ef339
DE
47892014-02-10 Doug Evans <xdje42@gmail.com>
4790
4791 * configure.ac (AC_OUTPUT): Add gdb.guile.
4792 * configure: Regenerate.
4793 * lib/gdb-guile.exp: New file.
4794 * lib/gdb.exp (get_target_charset): New function.
4795 * gdb.base/help.exp: Update expected output from "apropos apropos".
4796 * gdb.guile/Makefile.in: New file.
4797 * gdb.guile/guile.exp: New file.
4798 * gdb.guile/scm-arch.c: New file.
4799 * gdb.guile/scm-arch.exp: New file.
4800 * gdb.guile/scm-block.c: New file.
4801 * gdb.guile/scm-block.exp: New file.
4802 * gdb.guile/scm-breakpoint.c: New file.
4803 * gdb.guile/scm-breakpoint.exp: New file.
4804 * gdb.guile/scm-disasm.c: New file.
4805 * gdb.guile/scm-disasm.exp: New file.
4806 * gdb.guile/scm-equal.c: New file.
4807 * gdb.guile/scm-equal.exp: New file.
4808 * gdb.guile/scm-error.exp: New file.
4809 * gdb.guile/scm-error.scm: New file.
4810 * gdb.guile/scm-frame-args.c: New file.
4811 * gdb.guile/scm-frame-args.exp: New file.
4812 * gdb.guile/scm-frame-args.scm: New file.
4813 * gdb.guile/scm-frame-inline.c: New file.
4814 * gdb.guile/scm-frame-inline.exp: New file.
4815 * gdb.guile/scm-frame.c: New file.
4816 * gdb.guile/scm-frame.exp: New file.
4817 * gdb.guile/scm-generics.exp: New file.
4818 * gdb.guile/scm-gsmob.exp: New file.
4819 * gdb.guile/scm-iterator.c: New file.
4820 * gdb.guile/scm-iterator.exp: New file.
4821 * gdb.guile/scm-math.c: New file.
4822 * gdb.guile/scm-math.exp: New file.
4823 * gdb.guile/scm-objfile-script-gdb.in: New file.
4824 * gdb.guile/scm-objfile-script.c: New file.
4825 * gdb.guile/scm-objfile-script.exp: New file.
4826 * gdb.guile/scm-objfile.c: New file.
4827 * gdb.guile/scm-objfile.exp: New file.
4828 * gdb.guile/scm-ports.exp: New file.
4829 * gdb.guile/scm-pretty-print.c: New file.
4830 * gdb.guile/scm-pretty-print.exp: New file.
4831 * gdb.guile/scm-pretty-print.scm: New file.
4832 * gdb.guile/scm-section-script.c: New file.
4833 * gdb.guile/scm-section-script.exp: New file.
4834 * gdb.guile/scm-section-script.scm: New file.
4835 * gdb.guile/scm-symbol.c: New file.
4836 * gdb.guile/scm-symbol.exp: New file.
4837 * gdb.guile/scm-symtab-2.c: New file.
4838 * gdb.guile/scm-symtab.c: New file.
4839 * gdb.guile/scm-symtab.exp: New file.
4840 * gdb.guile/scm-type.c: New file.
4841 * gdb.guile/scm-type.exp: New file.
4842 * gdb.guile/scm-value-cc.cc: New file.
4843 * gdb.guile/scm-value-cc.exp: New file.
4844 * gdb.guile/scm-value.c: New file.
4845 * gdb.guile/scm-value.exp: New file.
4846 * gdb.guile/source2.scm: New file.
4847 * gdb.guile/types-module.cc: New file.
4848 * gdb.guile/types-module.exp: New file.
4849
7026a7c1
YQ
48502014-02-10 Yao Qi <yao@codesourcery.com>
4851
4852 PR testsuite/16543
4853 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
4854 * configure: Regenerated.
4855 * Makefile.in: New file.
4856
6c466447
AS
48572014-02-08 Andreas Schwab <schwab@linux-m68k.org>
4858
4859 * gdb.python/py-framefilter.exp: Fix typo.
4860
6e854735
YQ
48612014-02-08 Yao Qi <yao@codesourcery.com>
4862
4863 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
4864 that no =breakpoint-modified is emitted when breakpoints are
4865 modified through MI commands.
4866
d137e6dc
PA
48672014-02-07 Pedro Alves <pedro@codesourcery.com>
4868 Pedro Alves <palves@redhat.com>
4869
4870 * gdb.threads/step-after-sr-lock.c: New file.
4871 * gdb.threads/step-after-sr-lock.exp: New file.
4872
b5ee5a50
PA
48732014-02-07 Pedro Alves <palves@redhat.com>
4874
4875 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
4876
3c77faf3
JK
48772014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4878
4879 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
4880 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
4881
6dddc817
DE
48822014-02-06 Doug Evans <xdje42@gmail.com>
4883
4884 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
4885 output.
4886
4887 * gdb.gdb/python-interrupts.exp: New file.
4888
de7b2893
YQ
48892014-02-05 Yao Qi <yao@codesourcery.com>
4890
4891 * gdb.trace/report.exp (use_collected_data): Test the output
4892 of "info threads" and "info inferiors".
4893
66d032ac
YQ
48942014-02-05 Yao Qi <yao@codesourcery.com>
4895
4896 Revert this patch:
4897
4898 2013-05-24 Yao Qi <yao@codesourcery.com>
4899
4900 * gdb.trace/tfile.exp: Test inferior and thread.
4901
591a12a1
UW
49022014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4903
4904 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
4905 on a function.
4906 * gdb.base/step-bt.c: Call hello via function pointer to make
4907 sure its first instruction is executed on powerpc64le-linux.
4908
0ff3e01f
UW
49092014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4910
4911 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
4912
084ee545
UW
49132014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4914
4915 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
4916 of the test patterns for use on little-endian systems.
4917
6ed14ff3
UW
49182014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4919
4920 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
4921 (decimal_vector): Fix for little-endian.
4922
401e27fd
JM
49232014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4924
4925 * gdb.arch/sparc-sysstep.exp: New file.
4926 * gdb.arch/sparc-sysstep.c: Likewise.
4927
4928 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
4929
8b924729
EBM
49302014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4931
4932 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
4933
fb151210
JB
49342014-01-23 Tom Tromey <tromey@redhat.com>
4935
4936 * gdb.ada/array_char_idx: New testcase.
4937
0740f8d8
TT
49382014-01-23 Tom Tromey <tromey@redhat.com>
4939
4940 PR python/16487:
4941 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
4942 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
4943 classes.
4944
21909fa1
TT
49452014-01-23 Tom Tromey <tromey@redhat.com>
4946
4947 PR python/16491:
4948 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
4949 string from an inferior frame.
4950 * gdb.python/py-framefilter-mi.exp: Update.
4951
87ce2a04
DE
49522014-01-22 Doug Evans <dje@google.com>
4953
4954 * gdb.server/server-mon.exp: Add tests for "set debug-format".
4955
237b092b
AA
49562014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4957
4958 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
4959
d674a709
AA
49602014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4961
4962 * gdb.trace/entry-values.exp: Remove excess space character from
4963 regex patterns. Handle s390 call instruction.
4964
20fa3390
AA
49652014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4966
4967 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
4968 define "*_start" label. Make "name" static.
4969 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
4970 ${name} by references to ${name}_start.
4971
78466714
AA
49722014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4973
4974 * gdb.base/info-macros.exp: Remove "debug" from the compile
4975 options.
4976
ec9f644a
IB
49772014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4978
4979 * gdb.dlang/demangle.exp: New file.
4980
94b1b47e
IB
49812014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4982
4983 * gdb.dlang/primitive-types.exp: New file.
4984
7f420862
IB
49852014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4986
4987 * configure.ac: Create gdb.dlang/Makefile.
4988 * configure: Regenerate.
4989 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
4990 * gdb.dlang/Makefile.in: New file.
4991 * lib/d-support.exp: New file.
4992 * lib/gdb.exp (skip_d_tests): New proc.
4993
52834460
MM
49942014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4995
4996 * gdb.btrace/delta.exp: Check reverse stepi.
4997 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
4998 * gdb.btrace/finish.exp: New.
4999 * gdb.btrace/next.exp: New.
5000 * gdb.btrace/nexti.exp: New.
5001 * gdb.btrace/record_goto.c: Add comments.
5002 * gdb.btrace/step.exp: New.
5003 * gdb.btrace/stepi.exp: New.
5004 * gdb.btrace/multi-thread-step.c: New.
5005 * gdb.btrace/multi-thread-step.exp: New.
5006 * gdb.btrace/rn-dl-bind.c: New.
5007 * gdb.btrace/rn-dl-bind.exp: New.
5008 * gdb.btrace/data.c: New.
5009 * gdb.btrace/data.exp: New.
5010 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
5011
6e07b1d2
MM
50122014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5013
5014 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
5015 * gdb.btrace/exception.exp: Update.
5016 * gdb.btrace/instruction_history.exp: Update.
5017 * gdb.btrace/record_goto.exp: Update.
5018 * gdb.btrace/tailcall.exp: Update.
5019 * gdb.btrace/unknown_functions.exp: Update.
5020 * gdb.btrace/delta.exp: New.
5021
0b722aec
MM
50222014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5023
5024 * gdb.btrace/record_goto.exp: Add backtrace test.
5025 * gdb.btrace/tailcall.exp: Add backtrace test.
5026
066ce621
MM
50272014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5028
5029 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
5030 * gdb.btrace/record_goto.c: New.
5031 * gdb.btrace/record_goto.exp: New.
5032 * gdb.btrace/x86-record_goto.S: New.
5033
0688d04e
MM
50342014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5035
5036 * gdb.btrace/function_call_history.exp: Update tests.
5037 * gdb.btrace/instruction_history.exp: Update tests.
5038
8710b709
MM
50392014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5040
5041 * gdb.btrace/function_call_history.exp: Fix expected field
5042 order for "record function-call-history".
5043 Add new tests for "record function-call-history /c".
5044 * gdb.btrace/exception.cc: New.
5045 * gdb.btrace/exception.exp: New.
5046 * gdb.btrace/tailcall.exp: New.
5047 * gdb.btrace/x86-tailcall.S: New.
5048 * gdb.btrace/x86-tailcall.c: New.
5049 * gdb.btrace/unknown_functions.c: New.
5050 * gdb.btrace/unknown_functions.exp: New.
5051 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
5052
5de9129b
MM
50532014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5054
5055 * gdb.btrace/instruction_history.exp: Update.
5056 * gdb.btrace/function_call_history.exp: Update.
5057
23a7fe75
MM
50582014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5059
5060 * gdb.btrace/function_call_history.exp: Fix expected function
5061 trace.
5062 * gdb.btrace/instruction_history.exp: Initialize traced.
5063 Remove traced_functions.
5064
724c7dd8
MM
50652014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5066
5067 * gdb.btrace/function_call_history.exp: Update
5068 * gdb.btrace/instruction_history.exp: Update.
5069
6d78d93b
MM
50702014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5071
5072 * gdb.btrace/enable.exp: Update expected text.
5073
93a360cc
OJ
50742014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
5075
5076 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
5077 bytes.
5078
3772b53f
MR
50792014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
5080
5081 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
5082
596662fa
OJ
50832014-01-15 Omair Javaid <omair.javaid@linaro.org>
5084
5085 * lib/gdb.exp (supports_process_record): Return true for
5086 arm*-linux*. (supports_reverse): Likewise.
5087
b5b08fb4
SC
50882014-01-13 Siva Chandra Reddy <sivachandra@google.com>
5089
5090 PR python/15464
5091 PR python/16113
5092 * gdb.python/py-type.c: Enhance test case.
5093 * gdb.python/py-value-cc.cc: Likewise
5094 * gdb.python/py-type.exp: Add new tests.
5095 * gdb.python/py-value-cc.exp: Likewise
5096
52d7fb13
AA
50972014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
5098 Pedro Alves <palves@redhat.com>
5099
5100 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
5101 Make "name" extern.
5102 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
5103 references to ${name}_start by references to ${name}.
5104
a2cd8cfe
JB
51052014-01-10 Joel Brobecker <brobecker@adacore.com>
5106
5107 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
5108
4e23fced
JB
51092014-01-10 Joel Brobecker <brobecker@adacore.com>
5110
5111 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
5112
c6a9e42c
PA
51132014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
5114 Pedro Alves <palves@redhat.com>
5115
5116 * gdb.mi/mi-info-os.exp: Connect to the target with
5117 mi_gdb_target_load.
5118
b7ea362b
PA
51192014-01-08 Pedro Alves <palves@redhat.com>
5120
5121 * gdb.threads/reconnect-signal.c: New file.
5122 * gdb.threads/reconnect-signal.exp: New file.
5123
5e3f4fab
EBM
51242014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5125
5126 * gdb.base/source-dir.exp: New file.
5127
79301218
JB
51282014-01-07 Joel Brobecker <brobecker@adacore.com>
5129
5130 * gdb.ada/mi_interface: New testcase.
5131
8e355c5d
JB
51322014-01-07 Joel Brobecker <brobecker@adacore.com>
5133
5134 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
5135 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
5136 gdb.ada/pp-rec-component/pck.ads: New files.
5137
c0d48811
JB
51382014-01-07 Joel Brobecker <brobecker@adacore.com>
5139
5140 * gdb.python/py-pp-integral.c: New file.
5141 * gdb.python/py-pp-integral.py: New file.
5142 * gdb.python/py-pp-integral.exp: New file.
5143
17b609c3 5144For older changes see ChangeLog-1993-2013.
c906108c 5145\f
8d8cb839
EZ
5146;; Local Variables:
5147;; mode: change-log
5148;; left-margin: 8
5149;; fill-column: 74
5150;; version-control: never
5151;; End:
902f2ccb 5152
32d0add0 5153 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
5154 Copying and distribution of this file, with or without modification,
5155 are permitted provided the copyright notice and this notice are preserved.