]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
gdb: sim: handle target sysroot prefix
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
5cd867b4
YQ
12015-06-24 Yao Qi <yao.qi@linaro.org>
2
3 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
4 linux targets.
5
4d7be007
YQ
62015-06-24 Yao Qi <yao.qi@linaro.org>
7
8 * lib/gdb.exp (supports_get_siginfo_type): New proc.
9 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
10 * gdb.base/siginfo-thread.exp: Likewise.
11
07fcd301
YQ
122015-06-22 Yao Qi <yao.qi@linaro.org>
13
14 * boards/remote-gdbserver-on-localhost.exp: Add comments.
15
52042a00
YQ
162015-06-22 Yao Qi <yao.qi@linaro.org>
17
18 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
19 aarch64*-*-*.
20 (skip_hw_watchpoint_tests): Likewise.
21
74bd41ce
PP
222015-06-18 Patrick Palka <patrick@parcs.ath.cx>
23
24 * gdb.base/gdbinit-history.exp: Test the interaction between
25 setting GDBHISTSIZE and setting the history size via .gdbinit.
26
bc460514
PP
272015-06-17 Patrick Palka <patrick@parcs.ath.cx>
28
29 PR gdb/16999
30 * gdb.base/gdbhistsize-history.exp: New test.
31
b58c513b
PP
322015-06-17 Patrick Palka <patrick@parcs.ath.cx>
33
34 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
35 with GDBHISTSIZE.
36 * gdb.base/readline.exp: Likewise.
37
92046791
YQ
382015-06-17 Yao Qi <yao.qi@linaro.org>
39
40 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
41 line.
42
2093d2d3
PP
432015-06-17 Patrick Palka <patrick@parcs.ath.cx>
44
45 * gdb.base/gdbinit-history.exp: Add test case to check that
46 an unlimited history file does not get truncated on exit.
47
e6c693af
AA
482015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
49
50 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
51 (VECTOR): New macro. Use it...
52 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
53 ...for these typedefs.
54 (int8, char1, int1, double1): New typedefs.
55 (struct just_int2, struct two_int2): New structures.
56 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
57 (add_structvecs, add_singlevecs): New functions.
58 (main): Call add_some_intvecs twice.
59 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
60 the compile and exit upon failure. Try compiling for the "native"
61 architecture. Test inferior function calls with vector arguments
62 and vector return value handling with "finish" and "return".
63
c74f7d1c
JT
642015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
65
66 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
67 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
68 PE file.
69 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
70
98aa42ee
AT
712015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
72
73 PR breakpoints/16465
74 * gdb.mi/mi-dprintf-pending.c: New file.
75 * gdb.mi/mi-dprintf-pending.exp: New test.
76 * gdb.mi/mi-dprintf-pendshr.c: New file.
77
7d73c23c
WT
782015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
79 Mircea Gherzan <mircea.gherzan@intel.com>
80
81 * gdb.arch/i386-mpx-map.c: New file.
82 * gdb.arch/i386-mpx-map.exp: New File.
83
842015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
85
86 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
87 * gdb.arch/i386-mpx.exp: Indentation fixed.
88
892015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
90
91 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
92 function and improved indentation.
93 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
94 gdb_test_multiple. Added additional tests to skip the test.
95
962015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
97
98 * gdb.arch/i386-avx512.c: Change path in include file.
99 * gdb.arch/i386-avx512.exp: Change include dir path
100 compilation flag.
101 * gdb.arch/i386-mpx.c: Change path in include file.
102 * gdb.arch/i386-mpx.exp: Change include dir path compilation
103 flag.
104
d5eba19a
JK
1052015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
106
107 * gdb.compile/compile-print.exp (compile print *vararray@3)
108 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
109
7f361056
JK
1102015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
111
112 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
113 (do not keep jit in memory): ... this.
114 (expect 5): Change it to ...
115 (expect no 5): ... this.
116
3b462ec2
SM
1172015-06-02 Simon Marchi <simon.marchi@ericsson.com>
118
119 PR gdb/15564
120 * gdb.mi/mi-detach.exp: New file.
121
e0619de6
JK
1222015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
123
124 PR symtab/18392
125 * gdb.arch/amd64-tailcall-self.S: New file.
126 * gdb.arch/amd64-tailcall-self.c: New file.
127 * gdb.arch/amd64-tailcall-self.exp: New file.
128
e970cb34
DB
1292015-05-28 Don Breazeal <donb@codesourcery.com>
130
131 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
132 tests for remote targets by checking is_target_gdbserver.
133
b2e2f908
DE
1342015-05-27 Doug Evans <dje@google.com>
135
136 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
137 * gdb.dwarf2/opaque-type-lookup.c: New file.
138 * gdb.dwarf2/opaque-type-lookup.exp: New file.
139
82c7be31
DE
1402015-05-26 Doug Evans <dje@google.com>
141
142 * gdb.cp/iostream.cc: New file.
143 * gdb.cp/iostream.exp: New file.
144
b4f54984
DE
1452015-05-26 Doug Evans <dje@google.com>
146
147 * gdb.dwarf2/dw2-op-call.exp: Update.
148 * gdb.dwarf2/dw4-sig-types.exp: Update.
149 * gdb.dwarf2/implptr.exp: Update.
150 * gdb.mi/mi-cmd-param-changed.exp: Update.
151
4ea6efe9
DE
1522015-05-26 Doug Evans <dje@google.com>
153
154 * gdb.python/py-lazy-string.c: New file.
155 * gdb.python/py-lazy-string.exp: New file.
156 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
157 (main): Update. Add estring3.
158 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
159 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
160
f6bb7db3
YQ
1612015-05-26 Omair Javaid <omair.javaid@linaro.org>
162 Yao Qi <yao.qi@linaro.org>
163
164 * gdb.reverse/aarch64.c: New.
165 * gdb.reverse/aarch64.exp: New.
166
a81bfbd0
OJ
1672015-05-26 Omair Javaid <omair.javaid@linaro.org>
168
169 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
170 (supports_reverse): Likewise.
171
158bf1b4
PP
1722015-05-22 Patrick Palka <patrick@parcs.ath.cx>
173
174 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
175 Use with_test_prefix.
176
a0145030
AB
1772015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
178
179 * gdb.base/completion.exp: Add test for completion of layout
180 names.
181
ebe3b578
AB
1822015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
183
184 * lib/gdb.exp (skip_tui_tests): New proc.
185 * gdb.base/tui-layout.exp: Check skip_tui_tests.
186
84204ed7
PA
1872015-05-19 Pedro Alves <palves@redhat.com>
188
189 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
190 Save the whole env array instead of just HOME. Unset HISTSIZE in
191 the environment while testing. Restore whole environment
192 afterwards.
193
37442ce1
DE
1942015-05-16 Doug Evans <xdje42@gmail.com>
195
196 * gdb.guile/scm-ports.c: New file.
197 * gdb.guile/scm-ports.exp: Add memory port tests.
198
36de76f9
JK
1992015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
200
201 * gdb.compile/compile-print.c: New file.
202 * gdb.compile/compile-print.exp: New file.
203
3a9558c4
JK
2042015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
205
206 * gdb.compile/compile-ops.exp: Cast param to void.
207 * gdb.compile/compile.exp: Complete type for _gdb_expr.
208 (compile code struct_object.selffield = &struct_object): Add xfail.
209
aa715135
JG
2102015-05-15 Joel Brobecker <brobecker@adacore.com>
211
212 * gdb.ada/arr_enum_with_gap: New testcase.
213
931e5bc3
JG
2142015-05-15 Joel Brobecker <brobecker@adacore.com>
215
216 * gdb.ada/byte_packed_arr: New testcase.
217
9cd4d857
JB
2182015-05-15 Joel Brobecker <brobecker@adacore.com>
219
220 * gdb.ada/pckd_neg: New testcase.
221
ebfd00d2
PP
2222015-05-13 Patrick Palka <patrick@parcs.ath.cx>
223
224 PR gdb/17820
225 * gdb.base/gdbinit-history.exp: New test.
226 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
227 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
228
4c082a81
SC
2292015-05-09 Siva Chandra Reddy <sivachandra@google.com>
230
231 * gdb.python/py-xmethods.cc: Enhance test case.
232 * gdb.python/py-xmethods.exp: New tests.
233 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
234 function.
235 (B_indexoper): Likewise.
236 (global_dm_list) : Add new xmethod worker functions.
237
f7797074
SDJ
2382015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
239
240 * gdb.base/coredump-filter.exp: Correctly unset
241 "coredump_var_addr" array.
242
a4674e4e
PA
2432015-05-08 Pedro Alves <palves@redhat.com>
244
245 * gdb.server/non-existing-program.exp: Unset spawn_id.
246
df2eb078
SC
2472015-05-08 Siva Chandra Reddy <sivachandra@google.com>
248
249 PR python/18291
250 * gdb.python/py-xmethods.exp: Add tests.
251
422349a3
YQ
2522015-05-08 Yao Qi <yao.qi@linaro.org>
253
254 PR gdb/18208
255 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
256 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
257 function set_coredump_filter, and remove remote_exec call.
258 Remove argument ipid. Callers update.
259 (top level): Don't get inferior's PID.
260
63fc80ce
AA
2612015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
262
263 * gdb.base/watch_thread_num.exp: Skip test on targets without
264 access watchpoints.
265
80ad801e
PA
2662015-05-06 Pedro Alves <palves@redhat.com>
267
268 PR server/18081
269 * gdb.server/non-existing-program.exp: New file.
270
0fa7fe50
JB
2712015-05-05 Joel Brobecker <brobecker@adacore.com>
272
273 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
274
3ea89b92
PMR
2752015-05-05 Joel Brobecker <brobecker@adacore.com>
276
277 * gdb.ada/out_of_line_in_inlined: New testcase.
278
87b8eff0
JB
2792015-05-05 Joel Brobecker <brobecker@adacore.com>
280
281 * gdb.ada/var_rec_arr: New testcase.
282
5fccc635
YQ
2832015-04-30 Yao Qi <yao.qi@linaro.org>
284
285 * gdb.base/break-idempotent.exp: If
286 skip_hw_watchpoint_multi_tests returns true, skip the tests
287 on "rwatch" and "awatch".
288
42d38f42
YQ
2892015-04-30 Yao Qi <yao.qi@linaro.org>
290
291 * gdb.base/relativedebug.exp: Invoke gdb command
292 "info sharedlibrary", and if libc.so doesn't have debug info,
293 skip the test.
294
2ce1cdbf
DE
2952015-04-29 Doug Evans <dje@google.com>
296
297 * gdb.python/py-xmethods.exp: Add ptype tests.
298 * gdb.python/py-xmethods.py (E_method_char_worker): Add
299 get_result_type method.
300
f24a38c5
LM
3012015-04-29 Luis Machado <lgustavo@codesourcery.com>
302
303 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
304 the target does not support hardware watchpoints.
305
ecbf2b3c
LM
3062015-04-29 Luis Machado <lgustavo@codesourcery.com>
307
308 * gdb.base/break-always.exp: Abort testing if writing to memory
309 causes an error.
310
34f5f757
DE
3112015-04-28 Doug Evans <dje@google.com>
312
313 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
314 * gdb.python/py-pp-registration.exp: ... here. New file.
315 * gdb.python/py-pp-registration.c: New file.
316 * gdb.python/py-pp-registration.py: New file.
317
69b4374a
DE
3182015-04-28 Doug Evans <dje@google.com>
319
320 * gdb.python/py-bad-printers.c: New file.
321 * gdb.python/py-bad-printers.py: New file.
322 * gdb.python/py-bad-printers.exp: New file.
323
59fb7612
SS
3242015-04-28 Sasha Smundak <asmundak@google.com>
325
326 * gdb.python/py-type.exp: New test.
327
2631b16a
AW
3282015-04-28 Andy Wingo <wingo@igalia.com>
329
330 * gdb.python/py-parameter.exp:
331 * gdb.guile/scm-parameter.exp: Escape the path that we are
332 matching against, as it might contain characters that are special
333 to regular expressions.
334
460efde1
JB
3352015-04-27 Joel Brobecker <brobecker@adacore.com>
336
337 * gdb.ada/rec_comp: New testcase.
338
2d369d8e
SDJ
3392015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
340
341 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
342 before using it.
343
cf75d6c3
AB
3442015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
345
346 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
347 new tests for verilog output.
348
8dbe7ca5
YQ
3492015-04-24 Yao Qi <yao.qi@linaro.org>
350
351 * boards/remote-gdbserver-on-localhost.exp: New file.
352
4ef9fb2f
PA
3532015-04-23 Pedro Alves <palves@redhat.com>
354
355 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
356 $inferior_spawn_id instead of $inferior_spawn_id directly. On
357 "end of file", remove $inferior_spawn_id from the indirect list.
358
0a803169
PA
3592015-04-23 Pedro Alves <palves@redhat.com>
360
361 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
362
749ef8f8
PA
3632015-04-23 Pedro Alves <palves@redhat.com>
364
365 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
366 on $any_spawn_id instead of only on $gdb_spawn_id.
367
8aae4344
PM
3682015-04-21 Pierre Muller <muller@sourceware.org>
369
370 PR pascal/17815
371 * lib/pascal.exp (gpc_compile): Add new option "class".
372 (fpc_compile): Likewise.
373 * gdb.pascal/case-insensitive-symbols.pas: New file.
374 * gdb.pascal/case-insensitive-symbols.exp: New file.
375
1586c8fb
GB
3762015-04-20 Gary Benson <gbenson@redhat.com>
377
378 * gdb.base/attach.exp: Fix three extended remote failures.
379
1b6e6f5c
GB
3802015-04-17 Gary Benson <gbenson@redhat.com>
381
382 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
383 the main executable over the remote protocol.
384
e797481d
PA
3852015-04-16 Pedro Alves <palves@redhat.com>
386
387 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
388 a new gdbserver if gdbserver_reconnect_p is set.
389
1ca99c42
PA
3902015-04-16 Pedro Alves <palves@redhat.com>
391
392 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
393 is set, don't exit gdbserver.
394
af9fd6f8
AA
3952015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
396
397 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
398 appropriate .insn, such that an older assembler can be used.
399 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
400 the z/Architecture instruction set on 31-bit targets as well.
401
04ff1e61
AA
4022015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
403
404 * gdb.go/handcall.exp: Remove all logic related to the first
405 breakpoint and rely on go_runto_main instead.
406 * gdb.go/strings.exp: Likewise.
407 * gdb.go/unsafe.exp: Likewise.
408 * gdb.go/hello.exp: Likewise. Also rename the remaining
409 breakpoint marker to "breakpoint 1".
410 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
411 * gdb.go/strings.go: Likewise.
412 * gdb.go/unsafe.go: Likewise.
413 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
414 "set breakpoint 2 here" and rename the remaining breakpoint marker
415 to "breakpoint 1".
416
40d2f8d6
SM
4172015-04-15 Simon Marchi <simon.marchi@ericsson.com>
418
419 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
420 if itertools.imap is not present.
421 * gdb.python/py-objfile.exp: Add parentheses.
422 * gdb.python/py-type.exp: Same.
423 * gdb.python/py-unwind-maint.py: Same.
424
8cbc97c6
YQ
4252015-04-15 Yao Qi <yao.qi@linaro.org>
426
427 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
428 of ":$ptr_size" and set its form explicitly.
429
45fd756c
YQ
4302015-04-15 Pedro Alves <palves@redhat.com>
431 Yao Qi <yao.qi@linaro.org>
432
433 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
434 timeout by factor of 4.
435 (test_regular_watch): Likewise.
436 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
437 * gdb.reverse/sigall-reverse.exp: Likewise.
438 * gdb.reverse/until-precsave.exp: Likewise.
439 * lib/gdb.exp (with_timeout_factor): New proc.
440 (gdb_expect): Move some code to ...
441 (get_largest_timeout): ... here. New procedure.
442
9e811bc3
LM
4432015-04-14 Luis Machado <lgustavo@codesourcery.com>
444
445 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
446
0ff6fcb2
LM
4472015-04-13 Luis Machado <lgustavo@codesourcery.com>
448
449 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
450 to write to the .text section.
451
7578d5f7
LM
4522015-04-13 Luis Machado <lgustavo@codesourcery.com>
453
454 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
455 Handle the case of targets that do not provide PID information.
456
2efe15c4
YQ
4572015-04-13 Yao Qi <yao.qi@linaro.org>
458
459 * lib/gdbserver-support.exp (gdb_exit): Catch exception
460 and use expect instead of gdb_expect.
461
8cd8f2f8
SDJ
4622015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
463
464 * gdb.base/coredump-filter.exp: Rename variable "addr" to
465 "coredump_var_addr" to avoid naming conflict with other testcases.
466
9ee41772
PA
4672015-04-10 Pedro Alves <palves@redhat.com>
468
469 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
470 gdb_test_sequence and gdb_assert.
471
07473109
PA
4722015-04-10 Pedro Alves <palves@redhat.com>
473
474 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
475 test messages that don't include the breakpoint address.
476
de3db44c
YQ
4772015-04-10 Yao Qi <yao.qi@linaro.org>
478
479 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
480 false for some offset and width combinations which aren't
481 supported by linux kernel.
482
c79d856c
PA
4832015-04-10 Pedro Alves <palves@redhat.com>
484
485 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
486 procedure, factored out from ...
487 (top level): ... here. Add "set displaced-stepping" testing axis.
488 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
489 parameter "displaced". Use it.
490 (top level): Use foreach and add "set displaced-stepping" testing
491 axis.
492
ebc90b50
PA
4932015-04-10 Pedro Alves <palves@redhat.com>
494
495 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
496 Remove comment.
497 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
498 both the address of the instruction that triggers the watchpoint
499 and the address of the instruction immediately after, and use
500 those addresses for the test. Fix comment.
501
8f572e5c
PA
5022015-04-10 Pedro Alves <palves@redhat.com>
503
504 * gdb.base/sigstep.exp (breakpoint_to_handler)
505 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
506 Test "backtrace" in handler.
507 (breakpoint_over_handler): New parameter 'displaced'. Use it.
508 (top level): Add new "displaced" test axis to
509 breakpoint_to_handler, breakpoint_to_handler_entry and
510 breakpoint_over_handler.
511
8d707a12
PA
5122015-04-10 Pedro Alves <palves@redhat.com>
513
514 PR gdb/18216
515 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
516
ef713951
YQ
5172015-04-10 Yao Qi <yao.qi@linaro.org>
518
519 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
520 (test_add_rn_pc): New function.
521 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
522 (top level): Invoke test_add_rn_pc.
523
906d60cf
PA
5242015-04-10 Pedro Alves <palves@redhat.com>
525
526 PR gdb/13858
527 * gdb.base/step-over-no-symbols.exp: New file.
528
f2983cc3
AW
5292015-04-09 Andy Wingo <wingo@igalia.com>
530
531 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
532 after the Python tests.
533
6d62641c
SDJ
5342015-04-08 Keith Seitz <keiths@redhat.com>
535
536 PR python/16699
537 * gdb.python/py-completion.exp: New tests for completion.
538 * gdb.python/py-completion.py (CompleteLimit1): New class.
539 (CompleteLimit2): Likewise.
540 (CompleteLimit3): Likewise.
541 (CompleteLimit4): Likewise.
542 (CompleteLimit5): Likewise.
543 (CompleteLimit6): Likewise.
544 (CompleteLimit7): Likewise.
545
f3770638
PA
5462015-04-08 Pedro Alves <palves@redhat.com>
547
548 PR gdb/18214
549 PR gdb/18216
550 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
551 function.
552 (main): Install it as SIGUSR1 handler.
553 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
554 parameter. Always use "setup" as prefix. Toggle "set
555 displaced-stepping" off/on depending on global. Don't switch to
556 thread 1 here.
557 (top level): Add displaced stepping "off/on" test axis. Update
558 "setup" calls. Wrap each subtest with with_test_prefix. Test
559 continuing with a queued signal in each thread.
560
4496bed7
PA
5612015-04-08 Pedro Alves <palves@redhat.com>
562
563 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
564 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
565 gdb_breakpoint instead of gdb_test that doesn't expect anything.
566 Return early if running to main fails.
567 * gdb.trace/while-stepping.exp: Likewise.
568
b97fde92
PA
5692015-04-07 Pedro Alves <palves@redhat.com>
570
571 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
572 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
573 interact with inferior program.
574
f71c18e7
PA
5752015-04-07 Pedro Alves <palves@redhat.com>
576
577 * lib/gdb.exp (inferior_spawn_id): New global.
578 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
579 spawn id after processing the user code.
580 (default_gdb_start): Set inferior_spawn_id.
581 (send_inferior): New procedure.
582 * lib/gdbserver-support.exp (gdbserver_start): Set
583 inferior_spawn_id.
584 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
585
6423214f
PA
5862015-04-07 Pedro Alves <palves@redhat.com>
587
588 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
589 * lib/gdbserver-support.exp (gdbserver_start): Make
590 $server_spawn_id global.
591 (gdbserver_start): Don't wait for gdbserver's spawn id with
592 expect_background.
593 (close_gdbserver): New procedure.
594 (gdb_exit): Rename the default version and reimplement.
595
71c0ee8c
PA
5962015-04-07 Pedro Alves <palves@redhat.com>
597
598 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
599 append the substituted item, not the original item.
600
203bc29b
PA
6012015-04-07 Pedro Alves <palves@redhat.com>
602
603 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
604 gdb_expect.
605
508a3ddf
PA
6062015-04-07 Pedro Alves <palves@redhat.com>
607
608 * gdb.base/interrupt.exp: Don't handle the case of the inferior
609 output appearing once only.
610
9f6dbe2b
PA
6112015-04-07 Pedro Alves <palves@redhat.com>
612
613 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
614 that doesn't expect anything. Return early if running to main
615 fails.
616
337532fa
YQ
6172015-04-07 Yao Qi <yao.qi@linaro.org>
618
619 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
620 (child_function): Call alarm.
621 (main): Move call to alarm into the loop.
622 * gdb.threads/non-stop-fair-events.exp: Build program with
623 -DTIMEOUT=$timeout.
624
01b622d4
DE
6252015-04-06 Doug Evans <xdje42@gmail.com>
626
627 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
628 Fix dest parameter to board_info.
629 (fpc_compile): Ditto.
630 (gdb_compile_pascal): Rename dest arg to destfile.
631
961f4160
PMR
6322015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
633
634 * gdb.ada/funcall_ref.exp: New file.
635 * gdb.ada/funcall_ref/foo.adb: New file.
636
cafda597
YQ
6372015-04-02 Yao Qi <yao.qi@linaro.org>
638
639 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
640 is remote.
641
fed040c6
GB
6422015-04-02 Gary Benson <gbenson@redhat.com>
643
644 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
645
d11916aa
SS
6462015-04-01 Sasha Smundak <asmundak@google.com>
647
648 * gdb.python/py-unwind-maint.c: New file.
649 * gdb.python/py-unwind-maint.exp: New test.
650 * gdb.python/py-unwind-maint.py: New file.
651 * gdb.python/py-unwind.c: New file.
652 * gdb.python/py-unwind.exp: New test.
653 * gdb.python/py-unwind.py: New test.
654
a1471180
PA
6552015-04-01 Pedro Alves <palves@redhat.com>
656
657 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
658 to fail instead of non-existent $test.
659
0bbeccb1
PA
6602015-04-01 Pedro Alves <palves@redhat.com>
661
662 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
663 GDBFLAGS if not empty.
664
3c724c8c
PMR
6652015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
666
667 * gdb.ada/complete.exp: Remove "multi_line".
668 * gdb.ada/info_exc.exp: Remove "multi_line".
669 * gdb.ada/packed_tagged.exp: Remove "multi_line".
670 * gdb.ada/ptype_field.exp: Remove "multi_line".
671 * gdb.ada/sym_print_name.exp: Remove "multi_line".
672 * gdb.ada/tagged.exp: Remove "multi_line".
673 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
674 [multi_line ...]
675 * gdb.btrace/delta.exp: Likewise.
676 * gdb.btrace/exception.exp: Likewise.
677 * gdb.btrace/function_call_history.exp: Likewise.
678 * gdb.btrace/instruction_history.exp: Likewise.
679 * gdb.btrace/nohist.exp: Likewise.
680 * gdb.btrace/record_goto.exp: Likewise.
681 * gdb.btrace/segv.exp: Likewise.
682 * gdb.btrace/stepi.exp: Likewise.
683 * gdb.btrace/tailcall.exp: Likewise.
684 * gdb.btrace/unknown_functions.exp: Likewise.
685 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
686 * lib/gdb.exp: Add the "multi_line" helper.
687
4eec2deb
PA
6882015-04-01 Pedro Alves <palves@redhat.com>
689
690 * gdb.threads/tid-reuse.c: New file.
691 * gdb.threads/tid-reuse.exp: New file.
692
df8411da
SDJ
6932015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
694
695 PR corefiles/16092
696 * gdb.base/coredump-filter.c: New file.
697 * gdb.base/coredump-filter.exp: Likewise.
698
6ef37366
PM
6992015-03-27 Petr Machata <pmachata@redhat.com>
700
701 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
702 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
703 (Dwarf::assemble): Initialize them.
704 (Dwarf::lines): New function.
705
7ec911b0
JT
7062015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
707
708 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
709 SYMBOL_PREFIX for x86_64-*-cygwin.
710
ff908ebf
AW
7112015-03-26 Andy Wingo <wingo@igalia.com>
712
713 PR symtab/18148
714 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
715 const_value but not a location.
716 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
717 location defined in non-main CUs are visible.
718
6d5f0679
YQ
7192015-03-26 Yao Qi <yao.qi@linaro.org>
720
721 PR testsuite/18139
722 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
723 Add a line number entry for the same line.
724 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
725 Add a line number entry for the same line.
726
2898689b
YQ
7272015-03-26 Yao Qi <yao.qi@linaro.org>
728
729 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
730 .int 0.
731 (func): Likewise. Add .Lfunc_1 label.
732 Use .Lfunc_1 label.
733 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
734 .int 0.
735 (func): Likewise.
736 Use .Lfunc_1 label.
737
85180498
YQ
7382015-03-26 Yao Qi <yao.qi@linaro.org>
739
740 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
741 Call gdb_compile instead to compile each .s files without debug
742 information.
743
8aa08a8d
YQ
7442015-03-26 Yao Qi <yao.qi@linaro.org>
745
746 * gdb.base/savedregs.exp (process_saved_regs): Make
747 "Saved registers:" optional in the pattern.
748
66849923
MM
7492015-03-25 Markus Metzger <markus.t.metzger@intel.com>
750
751 * gdb.btrace/next.exp: Merged into step.exp.
752 * gdb.btrace/finish.exp: Merged into step.exp.
753 * gdb.btrace/nexti.exp: Merged into stepi.exp.
754 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
755 "record goto" and checking the exact replay position.
756 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
757 check for "Recording format" in "info record" output.
758 * gdb.btrace/record_goto.exp: Choose test file based on target.
759 * gdb.btrace/x86-record_goto.S: Renamed into ...
760 * gdb.btrace/x86_64-record_goto.S: ... this.
761 * gdb.btrace/i686-record_goto.S: New.
762 * gdb.btrace/x86-tailcall.S: Renamed into ...
763 * gdb.btrace/x86_64-tailcall.S: ... this.
764 * gdb.btrace/i686-tailcall.S: New.
765 * gdb.btrace/x86-tailcall.c: Renamed into ...
766 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
767 separate statements. Update test.
768 * gdb.btrace/delta.exp: Use record_goto.c as test file.
769 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
770 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
771 * gdb.btrace/tailcall.exp: Choose test file based on target.
772 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
773
11cc1b74
MM
7742015-03-25 Markus Metzger <markus.t.metzger@intel.com>
775
776 * gdb.btrace/exception.exp: Increase BTS buffer size.
777
a25d8bf9
PA
7782015-03-24 Pedro Alves <palves@redhat.com>
779
780 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
781
856e7dd6
PA
7822015-03-24 Pedro Alves <palves@redhat.com>
783
784 * gdb.threads/schedlock.exp (test_step): No longer expect that
785 "set scheduler-locking step" with "next" over a function call runs
786 threads unlocked.
787
ad235a41
AT
7882015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
789
790 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
791
15630549
AT
7922015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
793
794 PR breakpoints/16466
795 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
796 * gdb.mi/mi-pending.c (thread_func): New function.
797 (int main): Add threading support required.
798 * gdb.mi/mi-pending.exp: Add tests for this issue.
799 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
800 (pendfunc2): Remove stdio dependency.
801 * gdb.mi/mi-pendshr2.c: New file.
802
693dca06
KS
8032015-03-23 Keith Seitz <keiths@redhat.com>
804
805 * gdb.linespec/keywords.c: New file.
806 * gdb.linespec/keywords.exp: New file.
807
7e993ebf
KS
8082015-03-23 Keith Seitz <keiths@redhat.com>
809
810 PR gdb/18021
811 * gdb.dwarf2/staticvirtual.exp: New test.
812
bc23328c
JK
8132015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
814
815 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
816 * README: Remove HP-UX and gdb.hp.
817 (configuration):
818 * configure: Regenerate.
819 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
820 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
821 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
822 gdb.hp/gdb.defects/Makefile.
823 * gdb.hp/Makefile.in: File deleted.
824 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
825 * gdb.hp/gdb.aCC/optimize.c: File deleted.
826 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
827 * gdb.hp/gdb.aCC/run.c: File deleted.
828 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
829 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
830 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
831 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
832 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
833 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
834 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
835 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
836 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
837 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
838 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
839 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
840 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
841 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
842 * gdb.hp/gdb.base-hp/reg.s: File deleted.
843 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
844 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
845 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
846 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
847 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
848 * gdb.hp/gdb.compat/Makefile.in: File deleted.
849 * gdb.hp/gdb.compat/average.c: File deleted.
850 * gdb.hp/gdb.compat/sum.c: File deleted.
851 * gdb.hp/gdb.compat/xdb.c: File deleted.
852 * gdb.hp/gdb.compat/xdb0.c: File deleted.
853 * gdb.hp/gdb.compat/xdb0.h: File deleted.
854 * gdb.hp/gdb.compat/xdb1.c: File deleted.
855 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
856 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
857 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
858 * gdb.hp/gdb.defects/Makefile.in: File deleted.
859 * gdb.hp/gdb.defects/bs14602.c: File deleted.
860 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
861 * gdb.hp/gdb.defects/solib-d.c: File deleted.
862 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
863 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
864 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
865 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
866 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
867 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
868 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
869 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
870 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
871 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
872 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
873 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
874 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
875 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
876 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
877 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
878 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
879 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
880 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
881 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
882 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
883 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
884 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
885 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
886 * gdb.hp/tools/odump: File deleted.
887
8bf3b159
PA
8882015-03-19 Pedro Alves <palves@redhat.com>
889
890 * gdb.threads/continue-pending-status.exp (saw_thread_2)
891 (saw_thread_3): New globals.
892 (top level): Increment them when an event for the corresponding
893 thread is seen.
894 (no thread starvation): New test.
895
eb54c8bf
PA
8962015-03-19 Pedro Alves <palves@redhat.com>
897
898 * gdb.threads/continue-pending-status.c: New file.
899 * gdb.threads/continue-pending-status.exp: New file.
900
32d2e5d6
PA
9012015-03-18 Pedro Alves <palves@redhat.com>
902
903 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
904 Use gdb_is_target_remote instead of is_remote. Use
905 gdb_test_multiple instead of gdb_expect. Exit early if
906 gdb_test_multiple hits its internal matches. Tighten stepi tests
907 expected output. Fail on exit with any signal, instead of just
908 SIGILL.
909
f68f11b7
YQ
9102015-03-18 Yao Qi <yao.qi@linaro.org>
911
912 PR tdep/18107
913 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
914 variable.
915 * gdb.base/catch-syscall.exp: Don't skip it on
916 aarch64*-*-linux* target. Remove elements in all_syscalls.
917 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
918 target.
919 (setup_all_syscalls): New proc.
920
ca5fd19b
YQ
9212015-03-16 Yao Qi <yao.qi@linaro.org>
922
923 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
924 (top level): Skip tests if valid_addr_p returns false for
925 $cmd1 or $cmd2.
926
85642ba0
AW
9272015-03-11 Andy Wingo <wingo@igalia.com>
928
929 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
930
e03f9645
YQ
9312015-03-11 Yao Qi <yao.qi@linaro.org>
932
933 * gdb.base/catch-syscall.exp: Fix typo in comments.
934
5d0962b2
YQ
9352015-03-11 Yao Qi <yao.qi@linaro.org>
936
937 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
938
b2df3cef
PA
9392015-03-09 Pedro Alves <palves@redhat.com>
940
941 * dg-extract-results.py: Delete.
942
ef878e53
PA
9432015-03-09 Pedro Alves <palves@redhat.com>
944
945 Merge dg-extract-results.sh from GCC upstream (r218843).
946
947 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
948 * dg-extract-results.sh: Use --text with grep to avoid issues with
949 binary files. Fall back to cat -v, if that doesn't work.
950
9494d219
PA
9512015-03-05 Pedro Alves <palves@redhat.com>
952
953 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
954
a8d9763a
SM
9552015-03-04 Simon Marchi <simon.marchi@ericsson.com>
956
957 * lib/mi-support.exp (mi_expect_interrupt): Accept
958 alternative event for when in all-stop mode.
959
be9957b8
PA
9602015-03-04 Pedro Alves <palves@redhat.com>
961
962 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
963
d57be0f4 9642015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
965
966 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
967
c214c7cf
AA
9682015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
969
970 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
971 regexps for GDB's current line display, accept a hex address
972 preceding the line number.
973
6d74a497
AA
9742015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
975
976 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
977 the 'arch1' variable for "s390*-linux*" targets.
978
511aee7c
PA
9792015-03-04 Pedro Alves <palves@redhat.com>
980
981 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
982 (main): Pass missing retval argument to pthread_join call.
983
95e50b27
PA
9842015-03-02 Pedro Alves <palves@redhat.com>
985
986 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
987 (top level): Call do_test with non-stop as well.
988
28054d69
PA
9892015-03-02 Pedro Alves <palves@redhat.com>
990
991 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
992 -1.
993
4fa5d7b4
AA
9942015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
995
996 * gdb.arch/s390-vregs.exp: New test.
997 * gdb.arch/s390-vregs.S: New file.
998
97c18565
PA
9992015-02-27 Pedro Alves <palves@redhat.com>
1000
1001 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
1002 call to catch_command_errors.
1003 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
1004 catch_command_errors.
1005
a37bfa30
PA
10062015-02-27 Pedro Alves <palves@redhat.com>
1007
1008 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
1009 "true" for boolean result.
1010 * gdb.gdb/selftest.exp (test_with_self): Also accept full
1011 prototype of main.
1012
6f98576f
PA
10132015-02-27 Pedro Alves <palves@redhat.com>
1014
1015 * lib/unbuffer_output.c: New file.
1016 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
1017 (main): Call gdb_unbuffer_output.
1018
eba5ab56
YQ
10192015-02-27 Yao Qi <yao.qi@linaro.org>
1020
1021 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
1022 target.
1023
0def5aaa
DE
10242015-02-26 Doug Evans <dje@google.com>
1025
1026 * gdb.cp/class2.cc (Dbase, D): New classes.
1027 (main): New local delta.
1028 * gdb.cp/class2.exp: Test printing delta.
1029 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
1030 (dynbar): New global.
1031 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
1032
081a1c2c
JK
10332015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1034
1035 * gdb.compile/compile-ifunc.c: New file.
1036 * gdb.compile/compile-ifunc.exp: New file.
1037
2f41223f
AT
10382015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
1039
1040 * gdb.base/structs.exp: Check for correct struct on finish.
1041
03eddd80
YQ
10422015-02-26 Yao Qi <yao.qi@linaro.org>
1043
1044 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
1045 is zero.
1046
80c57053
JK
10472015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1048
1049 * gdb.arch/cordic.ko.bz2: New file.
1050 * gdb.arch/cordic.ko.debug.bz2: New file.
1051 * gdb.arch/ppc64-symtab-cordic.exp: New file.
1052
21613c12
YQ
10532015-02-25 Yao Qi <yao.qi@linaro.org>
1054
1055 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
1056 aarch64*-*-* target.
1057
d8b901ed
PA
10582015-02-23 Pedro Alves <palves@redhat.com>
1059
1060 * lib/gdb.exp (delete_breakpoints): Rewrite using
1061 gdb_test_multiple.
1062
e5b85ead
PA
10632015-02-23 Pedro Alves <palves@redhat.com>
1064
1065 * gdb.base/info-os.c: Include stdlib.h.
1066
85c3a371
DE
10672015-02-22 Doug Evans <xdje42@gmail.com>
1068
1069 PR symtab/17855
1070 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
1071 is read after symbols have been re-read.
1072 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
1073 * gdb.ada/exec_changed/second.adb (Second): Ditto.
1074
96553a0c
DE
10752015-02-21 Doug Evans <dje@google.com>
1076
1077 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
1078
97a0c697
JK
10792015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1080
1081 PR corefiles/17808
1082 * gdb.arch/i386-biarch-core.core.bz2: New file.
1083 * gdb.arch/i386-biarch-core.exp: New file.
1084
a47cd6e9
PA
10852015-02-21 Pedro Alves <palves@redhat.com>
1086
1087 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
1088 runto_main fails.
1089
c5facdc4
PA
10902015-02-20 Pedro Alves <palves@redhat.com>
1091
1092 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
1093 info probes.
1094
2db9a427
PA
10952015-02-20 Pedro Alves <palves@redhat.com>
1096
1097 * gdb.threads/multi-create-ns-info-thr.exp: New file.
1098
60fb7e9e
PA
10992015-02-20 Pedro Alves <palves@redhat.com>
1100
1101 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
1102 clean_restart before gdb_target_supports_trace.
1103
5c5019c2
PA
11042015-02-20 Pedro Alves <palves@redhat.com>
1105
1106 PR threads/18006
1107 * gdb.threads/clone-thread_db.c: New file.
1108 * gdb.threads/clone-thread_db.exp: New file.
1109
c9587f88
AT
11102015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
1111
1112 PR breakpoints/16812
1113 * gdb.base/catch-gdb-caused-signals.c: New file.
1114 * gdb.base/catch-gdb-caused-signals.exp: New file.
1115
f6a88844
JM
11162015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
1117
1118 * configure: Regenerated.
1119 * configure.ac: Use GDB_AC_TRANSFORM.
1120 * aclocal.m4: sinclude ../transform.m4.
1121
497c491b
JM
11222015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1123
1124 * lib/dtrace.exp: New file.
1125 * gdb.base/dtrace-probe.exp: Likewise.
1126 * gdb.base/dtrace-probe.d: Likewise.
1127 * gdb.base/dtrace-probe.c: Likewise.
1128 * lib/pdtrace.in: Likewise.
1129 * configure.ac: Output variables with the transformed names of
1130 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
1131 * configure: Regenerated.
1132
03e98035
JM
11332015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1134
1135 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
1136 expected message when trying to access $_probe_* convenience
1137 variables while not on a probe.
1138
63cc30e9
JK
11392015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1140
1141 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
1142
0703599a
PA
11432015-02-11 Pedro Alves <pedro@codesourcery.com>
1144
1145 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
1146 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
1147
7e60a48e
DE
11482015-02-10 Doug Evans <xdje42@gmail.com>
1149
1150 * lib/gdb.exp (gdb_load): Always return a result.
1151
01b088bc
PA
11522015-02-10 Pedro Alves <palves@redhat.com>
1153
1154 * gdb.threads/signal-sigtrap.c: New file.
1155 * gdb.threads/signal-sigtrap.exp: New file.
1156
b05ec7a5
AT
11572015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
1158
1159 * gdb.trace/no-attach-trace.c: New file.
1160 * gdb.trace/no-attach-trace.exp: New file.
1161
a2c2acaf
MW
11622015-02-09 Mark Wielaard <mjw@redhat.com>
1163
1164 * gdb.dwarf2/atomic.c: New file.
1165 * gdb.dwarf2/atomic-type.exp: Likewise.
1166
31fd9caa
MM
11672015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1168
1169 * gdb.btrace/buffer-size.exp: Update "info record" output.
1170 * gdb.btrace/delta.exp: Update "info record" output.
1171 * gdb.btrace/enable.exp: Update "info record" output.
1172 * gdb.btrace/finish.exp: Update "info record" output.
1173 * gdb.btrace/instruction_history.exp: Update "info record" output.
1174 * gdb.btrace/next.exp: Update "info record" output.
1175 * gdb.btrace/nexti.exp: Update "info record" output.
1176 * gdb.btrace/step.exp: Update "info record" output.
1177 * gdb.btrace/stepi.exp: Update "info record" output.
1178 * gdb.btrace/nohist.exp: Update "info record" output.
1179
d33501a5
MM
11802015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1181
1182 * gdb.btrace/buffer-size: New.
1183
f4abbc16
MM
11842015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1185
1186 * gdb.btrace/delta.exp: Update "info record" output.
1187 * gdb.btrace/enable.exp: Update "info record" output.
1188 * gdb.btrace/finish.exp: Update "info record" output.
1189 * gdb.btrace/instruction_history.exp: Update "info record" output.
1190 * gdb.btrace/next.exp: Update "info record" output.
1191 * gdb.btrace/nexti.exp: Update "info record" output.
1192 * gdb.btrace/step.exp: Update "info record" output.
1193 * gdb.btrace/stepi.exp: Update "info record" output.
1194 * gdb.btrace/nohist.exp: Update "info record" output.
1195
b9d61307
SM
11962015-02-06 Simon Marchi <simon.marchi@ericsson.com>
1197
1198 PR gdb/15678
1199 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
1200
e584fdbc
PA
12012015-02-06 Pedro Alves <palves@redhat.com>
1202
1203 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
1204 macro.
1205 (seconds_left, again): New globals.
1206 (main): Wait seconds_left in a 1-second sleep loop instead of
1207 sleeping 180 seconds. If 'again' is set, reset the seconds
1208 counter.
1209 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
1210 'again' in the inferior before detaching. Print the seconds left.
1211 (options): New global.
1212 (top level): Build program with -DTIMEOUT=$timeout.
1213
77f41761
PA
12142015-02-06 Pedro Alves <palves@redhat.com>
1215
1216 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
1217 determine how many seconds to pass to 'alarm'.
1218 * gdb.base/gdb-sigterm.exp (top level): Build program with
1219 -DTIMEOUT=$timeout.
1220 (do_test): Return success/failure indication. Add more verbose
1221 logging. Don't fail if 200 single steps are seen. Instead, fail
1222 when the test times out.
1223 (passes): New global.
1224 (top level): Break the testing loop if testing fails on any
1225 iteration. Use gdb_assert.
1226
b9394193
DB
12272015-02-04 Don Breazeal <donb@codesourcery.com>
1228
1229 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
1230 and initialize them.
1231 (ipc_cleanup): New function.
1232 (main): Don't declare shmid, semid, and msqid. Add a call to
1233 atexit so that we call ipc_cleanup on exit.
1234
42d9e528
PA
12352015-02-04 Pedro Alves <palves@redhat.com>
1236
1237 * boards/native-extended-gdbserver.exp: Remove any target variant
1238 specifications from the board name before clearing the isremote
1239 flag from board_info.
1240
ae6ae975
DE
12412015-01-31 Doug Evans <xdje42@gmail.com>
1242
1243 * gdb.base/maint.exp <maint print type argc>: Update expected output.
1244
cfb069a8
GB
12452015-01-31 Gary Benson <gbenson@redhat.com>
1246
1247 * gdb.base/completion.exp: Disable completion limiting for
1248 existing tests. Add new tests to check completion limiting.
1249 * gdb.linespec/ls-errs.exp: Disable completion limiting.
1250
5dd31d79
DE
12512015-01-31 Doug Evans <xdje42@gmail.com>
1252
1253 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
1254
9f050062
DE
12552015-01-31 Doug Evans <xdje42@gmail.com>
1256
1257 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
1258 entries. Duplicate file section script entries.
1259 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
1260 inlined entries. Add test for safe-path rejection.
1261 * gdb.python/py-section-script.c: Add duplicate inlined section script
1262 entries. Duplicate file section script entries.
1263 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
1264 inlined entries. Add test for safe-path rejection.
1265
df25ebbd
JB
12662015-01-29 Joel Brobecker <brobecker@adacore.com>
1267
1268 * gdb.ada/disc_arr_bound: New testcase.
1269
4a0ca9ec
JB
12702015-01-29 Joel Brobecker <brobecker@adacore.com>
1271
1272 * gdb.ada/mi_var_array: New testcase.
1273
3a8b707a
DE
12742015-01-27 Doug Evans <dje@google.com>
1275
1276 * gdb.python/py-objfile.exp: Add tests for objfile.username.
1277 Add test for objfile.filename, objfile.username after objfile
1278 has been unloaded.
1279
f8313f6e
JB
12802015-01-26 Joel Brobecker <brobecker@adacore.com>
1281
1282 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
1283 the second test to print the name attribute of value
1284 returned by the call to gdb.lookup_type, and adjust
1285 the expected output accordingly.
1286
37bc665e
MW
12872015-01-25 Mark Wielaard <mjw@redhat.com>
1288
1289 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
1290 * gdb.base/disp-step-fork.c: Include unistd.h.
1291 * gdb.base/siginfo-obj.c: Include stdio.h.
1292 * gdb.base/siginfo-thread.c: Likewise.
1293 * gdb.mi/non-stop.c: Include unistd.h.
1294 * gdb.mi/nsthrexec.c: Include stdio.h.
1295 * gdb.mi/pthreads.c: Include unistd.h.
1296 * gdb.modula2/unbounded1.c (main): Declare returns int.
1297 * gdb.reverse/consecutive-reverse.c: Likewise.
1298 * gdb.threads/create-fail.c: Include unistd.h.
1299 * gdb.threads/killed.c: Likewise.
1300 * gdb.threads/linux-dp.c: Likewise.
1301 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
1302 * gdb.threads/non-ldr-exc-2.c: Likewise.
1303 * gdb.threads/non-ldr-exc-3.c: Likewise.
1304 * gdb.threads/non-ldr-exc-4.c: Likewise.
1305 * gdb.threads/pthreads.c: Include unistd.h.
1306 (main): Declare returns int.
1307 * gdb.threads/tls-main.c (foo): New declaration.
1308 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
1309
f7e5394d
SM
13102015-01-23 Simon Marchi <simon.marchi@ericsson.com>
1311
1312 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
1313 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
1314
743649fd
MW
13152015-01-15 Mark Wielaard <mjw@redhat.com>
1316
1317 * gdb.base/noreturn-return.c: New file.
1318 * gdb.base/noreturn-return.exp: New file.
1319 * gdb.base/noreturn-finish.c: New file.
1320 * gdb.base/noreturn-finish.exp: New file.
1321
198297aa
PA
13222015-01-23 Pedro Alves <palves@redhat.com>
1323
1324 * gdb.threads/continue-pending-after-query.c: New file.
1325 * gdb.threads/continue-pending-after-query.exp: New file.
1326
717cf30c
AG
13272015-01-22 Anders Granlund <anders.granlund@ericsson.com>
1328 Simon Marchi <simon.marchi@ericsson.com>
1329
1330 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
1331 * gdb.base/valgrind-db-attach.exp: Same.
1332 * gdb.base/valgrind-infcall.exp: Same.
1333 * lib/mi-support.exp (default_mi_gdb_start): Same.
1334 * lib/prompt.exp (default_prompt_gdb_start): Same.
1335 * lib/gdb.exp (default_gdb_spawn): Same.
1336 (gdb_interact): New.
1337
1338
4b62a76e
JK
13392015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1340
1341 * gdb.compile/compile.exp (pointer to jit function): New test.
1342
b4cdae6f
WW
13432015-01-17 Wei-cheng Wang <cole945@gmail.com>
1344
1345 * lib/gdb.exp (supports_process_record): Return true for
1346 powerpc*-*-linux*.
1347 (supports_reverse): Likewise.
1348
d221e7ef
DB
13492015-01-15 Don Breazeal <donb@codesourcery.com>
1350
1351 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
1352 instead of checking whether the target board is remote and
1353 use spawn_wait_for_attach instead of exec/sleep.
1354 * gdb.base/attach-twice.exp: Likewise.
1355
bafffb51
JB
13562015-01-15 Joel Brobecker <brobecker@adacore.com>
1357
1358 * gdb.ada/var_arr_attrs: New testcase.
1359
5589af0e
PA
13602015-01-14 Pedro Alves <palves@redhat.com>
1361 Joel Brobecker <brobecker@adacore.com>
1362
1363 PR gdb/17525
1364 * gdb.base/bp-cmds-execution-x-script.c: New file.
1365 * gdb.base/bp-cmds-execution-x-script.exp: New file.
1366 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
1367
6c400b59
PA
13682015-01-14 Pedro Alves <palves@redhat.com>
1369
1370 PR cli/17828
1371 * gdb.base/batch-preserve-term-settings.c: New file.
1372 * gdb.base/batch-preserve-term-settings.exp: New file.
1373
e02c96a7
DE
13742015-01-13 Doug Evans <dje@google.com>
1375
1376 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
1377 binary.
1378
576fd14c
JB
13792015-01-13 Joel Brobecker <brobecker@adacore.com>
1380
1381 * Makefile.in (clean mostlyclean): Do not delete *.py.
1382
04dccad0
JB
13832015-01-13 Joel Brobecker <brobecker@adacore.com>
1384
1385 * gdb.python/py-lookup-type.exp: New file.
1386
3d230f71
PA
13872015-01-12 Pedro Alves <palves@redhat.com>
1388
1389 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
1390 restore GDBFLAGS before returning.
1391
7e67715d
JK
13922015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1393
1394 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
1395 is_amd64_regs_target and is_x86_like_target.
1396
f2e0d4b4
DE
13972015-01-11 Doug Evans <xdje42@gmail.com>
1398
1399 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
1400 is given without an explicit form.
1401 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
1402 attributes.
1403 * gdb.dwarf/corrupt.exp: Ditto.
1404 * gdb.dwarf2/enum-type.exp: Ditto.
1405 * gdb.trace/entry-values.exp: Ditto.
1406 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
1407
439250fb
DE
14082015-01-11 Doug Evans <xdje42@gmail.com>
1409
1410 PR gdb/15830
1411 * gdb.base/maint.exp: Remove references to "maint demangle".
1412 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
1413 Add tests for explicitly specifying language to demangle.
1414 * gdb.dlang/demangle.exp: Ditto.
1415
ede9f622
PA
14162015-01-09 Pedro Alves <palves@redhat.com>
1417
1418 * gdb.threads/non-stop-fair-events.c: New file.
1419 * gdb.threads/non-stop-fair-events.exp: New file.
1420
a7b796db
PA
14212015-01-09 Pedro Alves <palves@redhat.com>
1422
1423 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
1424 the global scope. Set a breakpoint after all threads are started
1425 rather than stepping over two source lines. Expect the prompt.
1426 * gdb.base/watch_thread_num.c (threads_started_barrier): New
1427 global.
1428 (NUM): Now 15.
1429 (main): Use threads_started_barrier to wait for all threads to
1430 start. Main thread no longer calls thread_function. Exit after
1431 180 seconds.
1432 (loop): New function.
1433 (thread_function): Wait on threads_started_barrier barrier. Call
1434 'loop' at each iteration.
1435 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
1436 threads have started, instead of hardcoding number of "next"
1437 steps. Use an access watchpoint instead of a write watchpoint.
1438
9665ffdd
PA
14392015-01-09 Pedro Alves <palves@redhat.com>
1440
1441 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
1442 (thread_func): Wait on barrier.
1443 (main): Wait for all threads to start before stopping GDB.
1444 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
1445 global.
1446 (thread1_func, thread2_func): Wait on barrier.
1447 (main): Wait for all threads to start before stopping GDB.
1448 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
1449 New global.
1450 (thread1_func, thread2_func): Wait on barrier.
1451 (main): Wait for all threads to start before stopping GDB.
1452
c945a99f
PA
14532015-01-09 Pedro Alves <palves@redhat.com>
1454
1455 * gdb.threads/attach-many-short-lived-threads.c: New file.
1456 * gdb.threads/attach-many-short-lived-threads.exp: New file.
1457
c1a747c1
PA
14582014-01-09 Pedro Alves <palves@redhat.com>
1459
1460 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
1461 instead of to thread 2.
1462 * gdb.threads/signal-command-multiple-signals-pending.c (main):
1463 Add barrier around each pthread_create call instead of around all
1464 calls.
1465 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
1466 Set a break on thread_function and have the child threads hit it
1467 one at at a time.
1468
60b3033e
PA
14692015-01-09 Pedro Alves <palves@redhat.com>
1470
1471 * lib/gdb.exp (can_spawn_for_attach): New procedure.
1472 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
1473 false.
1474 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
1475 checking whether the target board is remote.
1476 * gdb.multi/multi-attach.exp: Likewise.
1477 * gdb.python/py-sync-interp.exp: Likewise.
1478 * gdb.server/ext-attach.exp: Likewise.
1479 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
1480 tests that need to attach, instead of checking whether the target
1481 board is remote at the top of the file.
1482
acc018ac
YQ
14832015-01-08 Yao Qi <yao@codesourcery.com>
1484
1485 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
1486
50a18af8
JK
14872015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1488
1489 Fix testcase compilation.
1490 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
1491
8503d6e1
JB
14922015-01-06 Joel Brobecker <brobecker@adacore.com>
1493
1494 * gdb.python/py-type.exp: Add a couple test about empty
1495 array creation, and negative-length array creation.
1496
cc73dbcc
DE
14972015-01-02 Doug Evans <xdje42@gmail.com>
1498
1499 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
1500
0300bbc7
DE
15012015-01-02 Doug Evans <dje@google.com>
1502
1503 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
1504
9d85a0ec
YQ
15052014-12-29 Yao Qi <yao@codesourcery.com>
1506
1507 * gdb.trace/entry-values.exp: Update comments. Rename variable
1508 bar_call_foo to returned_from_foo.
1509
87186c6a
MMN
15102014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
1511
1512 PR gdb/17394
1513 * gdb.linespec/break-asm-file.c: New file.
1514 * gdb.linespec/break-asm-file.exp: New file.
1515 * gdb.linespec/break-asm-file0.s: New file.
1516 * gdb.linespec/break-asm-file1.s: New file.
1517
1bab7383
YQ
15182014-12-18 Nigel Stephens <nigel@mips.com>
1519 Maciej W. Rozycki <macro@codesourcery.com>
1520
1521 * gdb.base/float.exp: Handle the new output from "info float" on
1522 MIPS targets.
1523
1bc1068a
JK
15242014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1525
1526 Fix MinGW compilation.
1527 * gdb.compile/compile-ops.exp: Update untested message if
1528 !skip_compile_feature_tests.
1529 * gdb.compile/compile-setjmp.exp: Likewise.
1530 * gdb.compile/compile-tls.exp: Likewise.
1531 * gdb.compile/compile.exp: Likewise.
1532 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
1533 supported on this host".
1534
b6615d10
DE
15352014-12-16 Doug Evans <xdje42@gmail.com>
1536
1537 * boards/stabs.exp: New file.
1538
25dda427
AA
15392014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
1540
1541 * gdb.base/completion.exp: Adjust to format changes of "maint
1542 print user-registers".
1543
bf330350
CU
15442014-12-16 Catalin Udma <catalin.udma@freescale.com>
1545
1546 PR server/17457
1547 * gdb.arch/aarch64-fp.c: New file.
1548 * gdb.arch/aarch64-fp.exp: New file.
1549
395cf596
SDJ
15502014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
1551
1552 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
1553 r210637, r210913, r211666, r215400, r215817).
1554
1555 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
1556 * dg-extract-results.py: New file.
1557 * dg-extract-results.sh: Use it if the environment seems
1558 suitable.
1559
1560 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
1561
1562 * dg-extract-results.py (parse_run): Handle warnings that
1563 are printed before a test harness is run.
1564
1565 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
1566
1567 * dg-extract-results.py (Named): Remove __cmp__ method.
1568 (output_variation): Use a key to sort variation.harnesses.
1569
1570 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
1571
1572 * dg-extract-results.py: For Python 3, force sys.stdout to
1573 handle surrogate escape sequences.
1574 (safe_open): New function.
1575 (output_segment, main): Use it.
1576
1577 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
1578
1579 * dg-extract-results.py (Prog.result_re): Include options
1580 in test name.
1581
1582 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
1583
1584 * dg-extract-results.py (output_variation): Always sort if
1585 do_sum.
1586
e882ef3c
SM
15872014-12-15 Simon Marchi <simon.marchi@ericsson.com>
1588
1589 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
1590 as long as we get pagination notifications.
1591
4992aa20
JM
15922014-12-15 Jason Merrill <jason@redhat.com>
1593
1594 * Makefile.in (check-gdb.%): Restore.
1595 * README: Mention it.
1596
c1b5a1a6
JB
15972014-12-13 Joel Brobecker <brobecker@adacore.com>
1598
1599 * gdb.ada/str_uninit: New testcase.
1600
5537b577
JK
16012014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1602
1603 PR symtab/17642
1604 * gdb.base/vla-stub-define.c: New file.
1605 * gdb.base/vla-stub.c: New file.
1606 * gdb.base/vla-stub.exp: New file.
1607
bb2ec1b3
TT
16082014-12-12 Phil Muldoon <pmuldoon@redhat.com>
1609 Jan Kratochvil <jan.kratochvil@redhat.com>
1610 Tom Tromey <tromey@redhat.com>
1611
1612 * configure.ac: Add gdb.compile/.
1613 * configure: Regenerate.
1614 * gdb.compile/Makefile.in: New file.
1615 * gdb.compile/compile-ops.exp: New file.
1616 * gdb.compile/compile-ops.c: New file.
1617 * gdb.compile/compile-tls.c: New file.
1618 * gdb.compile/compile-tls.exp: New file.
1619 * gdb.compile/compile-constvar.S: New file.
1620 * gdb.compile/compile-constvar.c: New file.
1621 * gdb.compile/compile-mod.c: New file.
1622 * gdb.compile/compile-nodebug.c: New file.
1623 * gdb.compile/compile-setjmp-mod.c: New file.
1624 * gdb.compile/compile-setjmp.c: New file.
1625 * gdb.compile/compile-setjmp.exp: New file.
1626 * gdb.compile/compile-shlib.c: New file.
1627 * gdb.compile/compile.c: New file.
1628 * gdb.compile/compile.exp: New file.
1629 * lib/gdb.exp (skip_compile_feature_tests): New proc.
1630
4ff709eb
TT
16312014-12-12 Tom Tromey <tromey@redhat.com>
1632
1633 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
1634 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
1635
6dddd6a5
DE
16362014-12-12 Doug Evans <dje@google.com>
1637
1638 * lib/gdb-python.exp (get_python_valueof): New function.
1639 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
1640
71c24708
AA
16412014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1642
1643 * gdb.base/completion.exp: Add test for completion of "info
1644 registers ".
1645
3e29f34a
MR
16462014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
1647
1648 * gdb.base/func-ptrs.c: New file.
1649 * gdb.base/func-ptrs.exp: New file.
1650
fc126975
SM
16512014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1652
1653 PR breakpoints/17012
1654 * gdb.base/dprintf-detach.c: New file.
1655 * gdb.base/dprintf-detach.exp: New file.
1656
0a46d518
SM
16572014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1658
1659 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
1660 * lib/gdb.exp (target_is_gdbserver): New procedure.
1661
a0be3e44
DE
16622014-12-08 Doug Evans <dje@google.com>
1663
1664 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
1665
df1b803a
YQ
16662014-12-05 Yao Qi <yao@codesourcery.com>
1667
1668 * gdb.guile/scm-error.exp: Remove the third argument to
1669 gdb_remote_download.
1670 * gdb.guile/scm-frame-args.exp: Likewise.
1671 * gdb.guile/scm-section-script.exp: Likewise.
1672
ddb9f679
YQ
16732014-12-05 Yao Qi <yao@codesourcery.com>
1674
1675 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
1676
86e4ed39
DE
16772014-12-04 Doug Evans <dje@google.com>
1678
1679 * gdb.python/py-objfile.exp: Add tests for
1680 objfile.add_separate_debug_file.
1681
7c50a931
DE
16822014-12-04 Doug Evans <dje@google.com>
1683
1684 * lib/gdb.exp (get_build_id): New function.
1685 (build_id_debug_filename_get): Rewrite to use it.
1686 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
1687
621661e3
MR
16882014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
1689
1690 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
1691 `method(long)', not just 0x0.
1692 * gdb.cp/nsalias.exp: Align code labels to 4.
1693 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
1694 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
1695 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
1696 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
1697 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
1698 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
1699
29f0c3b7
DE
17002014-12-02 Doug Evans <dje@google.com>
1701
e1e061e7 1702 PR symtab/17602
29f0c3b7 1703 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 1704 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
1705 * gdb.cp/anon-ns.exp: Update.
1706
162078c8
NB
17072014-12-02 Nick Bull <nicholaspbull@gmail.com>
1708
1709 * gdb.python/py-events.py (inferior_call_handler): New.
1710 (register_changed_handler, memory_changed_handler): New.
1711 (test_events.invoke): Register new handlers.
1712 * gdb.python/py-events.exp: Add tests for inferior call,
1713 memory_changed and register_changed events.
1714
fdb09caf
AA
17152014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1716
1717 * gdb.base/execl-update-breakpoints.exp: Specify the link address
1718 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
1719 if the linker doesn't understand this.
1720
55cfb2c4
SM
17212014-12-01 Simon Marchi <simon.marchi@ericsson.com>
1722
1723 * gdb.python/python.exp: Change expected reply to help().
1724
9e8cd6df
YQ
17252014-12-01 Yao Qi <yao@codesourcery.com>
1726
1727 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
1728 AC_CONFIG_SUBDIRS(gdb.gdbtk).
1729 * configure: Re-generated.
1730
6c659fc2
SC
17312014-11-28 Siva Chandra Reddy <sivachandra@google.com>
1732
1733 * gdb.cp/chained-calls.cc: New file.
1734 * gdb.cp/chained-calls.exp: New file.
1735 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
1736
d7fc3181
SM
17372014-11-28 Simon Marchi <simon.marchi@ericsson.com>
1738
1739 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
1740 * gdb.dwarf2/symtab-producer.exp: Same.
1741 * gdb.gdb/python-interrupts.exp: Same.
1742 * gdb.gdb/python-selftest.exp: Same.
1743 * gdb.python/py-linetable.exp: Same.
1744 * gdb.python/py-type.exp: Same.
1745 * gdb.python/py-value-cc.exp: Same.
1746 * gdb.python/py-value.exp: Same.
1747
10e79639
YQ
17482014-11-28 Yao Qi <yao@codesourcery.com>
1749
1750 * gdb.base/break-probes.exp: Match library name prefixed with
1751 sysroot.
1752
f28a0564
SM
17532014-11-27 Simon Marchi <simon.marchi@ericsson.com>
1754
1755 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
1756 test expected output. Add parentheses for the call to print.
1757 Remove L suffix from integers.
1758
3fe1ce1d
DE
17592014-11-26 Doug Evans <dje@google.com>
1760
1761 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
1762
84429e27
YQ
17632014-11-22 Yao Qi <yao@codesourcery.com>
1764
1765 * gdb.trace/entry-values.c: Remove asms.
1766 (foo): Add foo_label.
1767 (bar): Add bar_label.
1768 * gdb.trace/entry-values.exp: Remove code computing foo's
1769 length and bar's length.
1770 (Dwarf::assemble): Invoke function_range for bar and use
1771 MACRO_AT_func for foo.
1772
26741859
YQ
17732014-11-22 Yao Qi <yao@codesourcery.com>
1774
1775 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
1776 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
1777 Use .Lgcc43_procstart instead of gcc43.
1778
45e44d27
JB
17792014-11-21 Joel Brobecker <brobecker@adacore.com>
1780
1781 * gdb.ada/n_arr_bound: New testcase.
1782
458c8db8
SDJ
17832014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1784
1785 PR breakpoints/10737
1786 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
1787 test_catch_syscall_multi_arch.
1788 (test_catch_syscall_multi_arch): New function.
1789
43f3e411
DE
17902014-11-20 Doug Evans <xdje42@gmail.com>
1791
1792 * gdb.base/maint.exp: Update expected output.
1793
0d7b2549
AA
17942014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1795
1796 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
1797 4-byte instruction on S390.
1798
8908fca5
JB
17992014-11-19 Joel Brobecker <brobecker@adacore.com>
1800
1801 * gdb.ada/arr_arr: New testcase.
1802
4a46959e
JB
18032014-11-19 Joel Brobecker <brobecker@adacore.com>
1804
1805 * gdb.ada/pkd_arr_elem: New Testcase.
1806
470e2f4e
LM
18072014-11-18 Luis Machado <lgustavo@codesourcery.com>
1808
1809 * gdb.reverse/break-precsave: Expect completion message for
1810 core file reads.
1811 * gdb.reverse/consecutive-precsave.exp: Likewise.
1812 * gdb.reverse/finish-precsave.exp: Likewise.
1813 * gdb.reverse/i386-precsave.exp: Likewise.
1814 * gdb.reverse/machinestate-precsave.exp: Likewise.
1815 * gdb.reverse/sigall-precsave.exp: Likewise.
1816 * gdb.reverse/solib-precsave.exp: Likewise.
1817 * gdb.reverse/step-precsave.exp: Likewise.
1818 * gdb.reverse/until-precsave.exp: Likewise.
1819 * gdb.reverse/watch-precsave.exp: Likewise.
1820
a267f3ad
AA
18212014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1822
1823 * gdb.base/bp-permanent.c: Include unistd.h.
1824 * gdb.python/py-framefilter-mi.c (main): Add return type.
1825 * gdb.python/py-framefilter.c (main): Likewise.
1826 * gdb.trace/actions-changed.c (main): Likewise.
1827
12084a9a
AA
18282014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1829
1830 * gdb.mi/until.c: Add eye-catchers.
1831 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
1832 line numbers.
1833
dc7e1a77
AA
18342014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1835
1836 * gdb.base/condbreak.exp: Drop references to removed non-prototype
1837 function header variants in break1.c.
1838 * gdb.base/ena-dis-br.exp: Likewise.
1839 * gdb.base/hbreak2.exp: Likewise.
1840 * gdb.reverse/until-precsave.exp: Drop references to removed
1841 non-prototype function header variants in ur1.c.
1842 * gdb.reverse/until-reverse.exp: Likewise.
1843
41c77605
PM
18442014-11-17 Petr Machata <pmachata@redhat.com>
1845
1846 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
1847 ${_cu_offset_size} bytes abbrev offset.
1848
34248c3a
DE
18492014-11-15 Doug Evans <xdje42@gmail.com>
1850
1851 PR symtab/17559
1852 * gdb.base/line-symtabs.exp: New file.
1853 * gdb.base/line-symtabs.c: New file.
1854 * gdb.base/line-symtabs.h: New file.
1855
646da059
YQ
18562014-11-14 Yao Qi <yao@codesourcery.com>
1857
1858 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
1859 (func): Add label func_label.
1860 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
1861 Replace low_pc and high_pc with MACRO_AT_range.
1862 Replace name, low_pc and high_pc with MACRO_AT_func.
1863
9301ebe6
YQ
18642014-11-14 Yao Qi <yao@codesourcery.com>
1865
1866 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
1867 Replace name, low_pc and high_pc with MACRO_AT_func.
1868
f166b542
YQ
18692014-11-14 Yao Qi <yao@codesourcery.com>
1870
1871 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
1872 produce debug information.
1873 * gdb.dwarf2/implptr-optimized-out.S: Removed.
1874
0f6e71e3
YQ
18752014-11-14 Yao Qi <yao@codesourcery.com>
1876
1877 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
1878 object and get function length.
1879 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
1880 with MACRO_AT_func.
1881 (top-level): Replace gdb_compile and clean_restart with
1882 prepare_for_testing.
1883 * gdb.dwarf2/main.c (main): Add label main_label.
1884
876c4df9
YQ
18852014-11-14 Yao Qi <yao@codesourcery.com>
1886
1887 * lib/dwarf.exp (function_range): New procedure.
1888 (Dwarf::_handle_macro_at_func): New procedure.
1889 (Dwarf::_handle_macro_at_range): New procedure.
1890 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
1891
02ad9cf1
YQ
18922014-11-14 Yao Qi <yao@codesourcery.com>
1893
1894 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
1895 (_handle_attribute): New procedure.
1896
a59add0c
AA
18972014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1898
1899 * gdb.ada/cond_lang/foo.c (callme): Add return type.
1900 * gdb.base/call-sc.c (zed): Likewise.
1901 * gdb.base/checkpoint.c (main): Likewise.
1902 * gdb.base/dump.c (main): Likewise.
1903 * gdb.base/gcore.c (main): Likewise.
1904 * gdb.base/huge.c (main): Likewise.
1905 * gdb.base/multi-forks.c (main): Likewise.
1906 * gdb.base/pr10179-a.c (main): Likewise.
1907 * gdb.base/savedregs.c (main): Likewise.
1908 * gdb.base/sigaltstack.c (main): Likewise.
1909 * gdb.base/siginfo.c (main): Likewise.
1910 * gdb.base/structs.c (zed): Likewise.
1911 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
1912 * gdb.mi/mi-syn-frame.c (main): Likewise.
1913 * gdb.mi/until.c (foo, main): Likewise.
1914 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
1915 * gdb.base/solib-weak.c (foo): Declare.
1916 * gdb.base/attach-twice.c: Include stdio.h.
1917 * gdb.base/weaklib1.c: Likewise.
1918 * gdb.base/weaklib2.c: Likewise.
1919 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
1920 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
1921 unistd.h.
1922 * gdb.base/attach-pie-misread.c: Include stdlib.h.
1923 * gdb.mi/mi-exit-code.c: Likewise.
1924 * gdb.base/break-interp-lib.c: Include string.h.
1925 * gdb.base/coremaker.c: Likewise.
1926 * gdb.base/testenv.c: Likewise.
1927 * gdb.python/py-finish-breakpoint.c: Likewise.
1928 * gdb.base/inferior-died.c: Include sys/wait.h.
1929 * gdb.base/fileio.c: Include time.h.
1930 * gdb.base/async-shell.c: Include unistd.h.
1931 * gdb.base/dprintf-non-stop.c: Likewise.
1932 * gdb.base/info-os.c: Likewise.
1933 * gdb.mi/mi-console.c: Likewise.
1934 * gdb.mi/watch-nonstop.c: Likewise.
1935 * gdb.python/py-events.c: Likewise.
1936 * gdb.base/async.c (baz): Move up before its invocation.
1937 * gdb.base/code_elim2.c (my_global_func): Likewise.
1938 * gdb.base/skip-solib-lib.c (multiply): Likewise.
1939 * gdb.base/advance.c (func2): Likewise.
1940
3b5d5997
AA
19412014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1942
1943 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
1944 variant.
1945 * gdb.base/annota3.c: Likewise.
1946 * gdb.base/async.c: Likewise.
1947 * gdb.base/average.c: Likewise.
1948 * gdb.base/call-ar-st.c: Likewise.
1949 * gdb.base/call-rt-st.c: Likewise.
1950 * gdb.base/call-sc.c: Likewise.
1951 * gdb.base/call-strs.c: Likewise.
1952 * gdb.base/ending-run.c: Likewise.
1953 * gdb.base/execd-prog.c: Likewise.
1954 * gdb.base/exprs.c: Likewise.
1955 * gdb.base/foll-exec.c: Likewise.
1956 * gdb.base/foll-fork.c: Likewise.
1957 * gdb.base/foll-vfork.c: Likewise.
1958 * gdb.base/funcargs.c: Likewise.
1959 * gdb.base/gcore.c: Likewise.
1960 * gdb.base/jump.c: Likewise.
1961 * gdb.base/langs0.c: Likewise.
1962 * gdb.base/langs1.c: Likewise.
1963 * gdb.base/langs2.c: Likewise.
1964 * gdb.base/mips_pro.c: Likewise.
1965 * gdb.base/nodebug.c: Likewise.
1966 * gdb.base/opaque0.c: Likewise.
1967 * gdb.base/opaque1.c: Likewise.
1968 * gdb.base/recurse.c: Likewise.
1969 * gdb.base/run.c: Likewise.
1970 * gdb.base/scope0.c: Likewise.
1971 * gdb.base/scope1.c: Likewise.
1972 * gdb.base/setshow.c: Likewise.
1973 * gdb.base/setvar.c: Likewise.
1974 * gdb.base/shmain.c: Likewise.
1975 * gdb.base/shr1.c: Likewise.
1976 * gdb.base/shr2.c: Likewise.
1977 * gdb.base/sigall.c: Likewise.
1978 * gdb.base/signals.c: Likewise.
1979 * gdb.base/so-indr-cl.c: Likewise.
1980 * gdb.base/solib2.c: Likewise.
1981 * gdb.base/structs.c: Likewise.
1982 * gdb.base/sum.c: Likewise.
1983 * gdb.base/vforked-prog.c: Likewise.
1984 * gdb.base/watchpoint.c: Likewise.
1985 * gdb.reverse/shr2.c: Likewise.
1986 * gdb.reverse/until-reverse.c: Likewise.
1987 * gdb.reverse/ur1.c: Likewise.
1988 * gdb.reverse/watch-reverse.c: Likewise.
1989
066a77c5
AA
19902014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1991
1992 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
1993 variant.
1994 * gdb.base/sepdebug.exp: Drop references to removed code.
1995
4f204ea5
AA
19962014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1997
1998 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
1999 variant. Preserve original line numbering.
2000 * gdb.base/list1.c: Likewise.
2001
3b377a3a
AA
20022014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2003
2004 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
2005 variant.
2006 * gdb.base/break1.c: Likewise.
2007 * gdb.base/break.exp: Drop references to removed code.
2008
e444df73
AA
20092014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2010
2011 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
2012 variant.
2013
8008f2a7
AA
20142014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2015
2016 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
2017
a5a06887
AA
20182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2019
2020 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
2021 logic into perform_all_tests() and invoke it with and without
2022 function header prototypes.
2023 (do_function_calls): Remove conditional XFAIL for PR 5318.
2024 (rerun_and_prepare): Remove duplicate code.
2025 (perform_all_tests): New. Main logic moved here.
2026
44dba9b9
AA
20272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2028
2029 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
2030 code guarded by #ifdef NO_PROTOTYPES.
2031 (t_double_many_args): Likewise.
2032 (DEF_FUNC_MANY_ARGS_1): Likewise.
2033 (DEF_FUNC_VALUES_1): Likewise.
2034 (t_structs_ldc): Renamed from t_structs_fc in conditional code
2035 guarded by #ifdef PROTOTYPES.
2036
d1fbcd56
AA
20372014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2038
2039 * gdb.mi/mi-console.c: Add eye-catcher.
2040 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
2041 instead of literal line number.
2042
b0e59b8f
AA
20432014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2044
2045 * gdb.base/shr2.c: Add eye-catcher.
2046 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
2047 line number.
2048
78f98cca
AA
20492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2050
2051 * gdb.base/jump.c: Add eye-catchers.
2052 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
2053 numbers.
2054
58fa2af0
AA
20552014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2056
2057 * gdb.base/execd-prog.c: Add eye-catchers.
2058 * gdb.base/foll-exec.c: Likewise.
2059 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
2060 line numbers.
2061
04e5059b
AA
20622014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2063
2064 * gdb.base/ending-run.c: Add eye-catchers.
2065 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
2066 literal line numbers.
2067
dbfdb174
AA
20682014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2069
2070 * gdb.base/call-rt-st.c: Add eye-catchers.
2071 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
2072 literal line numbers.
2073
888a2ade
AA
20742014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2075
2076 * gdb.base/call-ar-st.c: Add eye-catchers.
2077 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
2078 literal line numbers.
2079
6acc2dde
AA
20802014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2081
2082 * gdb.base/average.c: Add eye-catchers.
2083 * gdb.base/sum.c: Likewise.
2084 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
2085 regexps dynamically.
2086
9ecfcd1d
AA
20872014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2088
2089 * gdb.base/solib1.c: Add eye-catchers.
2090 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
2091 literal line numbers.
2092
78708b7c
PA
20932014-11-12 Pedro Alves <palves@redhat.com>
2094
2095 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
2096 leader has exited.
2097
af48d08f
PA
20982014-11-12 Pedro Alves <palves@redhat.com>
2099
2100 * gdb.arch/i386-bp_permanent.c: New file.
2101 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
2102 (srcfile): Set to i386-bp_permanent.c.
2103 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
2104 that stepi does not execute the 'leave' instruction, instead of
2105 testing it does execute.
2106 * gdb.base/bp-permanent.c: New file.
2107 * gdb.base/bp-permanent.exp: New file.
2108
af3768e9
DE
21092014-11-10 Doug Evans <xdje42@gmail.com>
2110
2111 PR symtab/17564
2112 * gdb.base/symtab-search-order.exp: New file.
2113 * gdb.base/symtab-search-order.c: New file.
2114 * gdb.base/symtab-search-order-1.c: New file.
2115 * gdb.base/symtab-search-order-shlib-1.c: New file.
2116
9de00a4a
PA
21172014-11-07 Pedro Alves <palves@redhat.com>
2118
2119 PR gdb/17511
2120 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
2121 i?86-*-linux*.
2122
e0f52461
SC
21232014-11-03 Siva Chandra Reddy <sivachandra@google.com>
2124
2125 PR c++/17494
2126 * gdb.cp/pr17494.cc: New file.
2127 * gdb.cp/pr17494.exp: New file.
2128
6ce8c980
YQ
21292014-11-02 Yao Qi <yao@codesourcery.com>
2130
2131 * gdb.python/python.exp: Get working directory and match the
2132 output of "set extended-prompt \\w " with it.
2133
02be9a71
DE
21342014-10-30 Doug Evans <dje@google.com>
2135
2136 * gdb.python/py-objfile.exp: Add tests for setting random attributes
2137 in objfiles.
2138 * gdb.python/py-progspace.exp: Add tests for setting random attributes
2139 in progspaces.
2140
3bdff46b
LM
21412014-10-30 Janis Johnson <janisjo@codesourcery.com>
2142
2143 * gdb.base/fullpath-expand.exp: Skip for a remote host.
2144 * gdb.base/realname-expand.exp: Likewise.
2145 * gdb.linespec/macro-relative.exp: Likewise.
2146
ab917dfb
PA
21472014-10-29 Pedro Alves <palves@redhat.com>
2148
2149 PR gdb/17408
2150 * gdb.threads/schedlock.c (some_function): New function.
2151 (call_function): New global.
2152 (MAYBE_CALL_SOME_FUNCTION): New macro.
2153 (thread_function): Call it.
2154 * gdb.threads/schedlock.exp (get_args): Add description parameter,
2155 and use it instead of a global counter. Adjust all callers.
2156 (get_current_thread): Use "find current thread" for test message
2157 here rather than having all callers pass down the same string.
2158 (goto_loop): New procedure, factored out from ...
2159 (my_continue): ... this.
2160 (step_ten_loops): Change parameter from test message to command to
2161 use. Adjust.
2162 (list_count): Delete global.
2163 (check_result): New procedure, factored out from duplicate top
2164 level code.
2165 (continue tests): Wrap in with_test_prefix.
2166 (test_step): New procedure, factored out from duplicate top level
2167 code.
2168 (top level): Test "step" in combination with all scheduler-locking
2169 modes. Test "next" in combination with all scheduler-locking
2170 modes, and in combination with stepping over a function call or
2171 not.
2172 * gdb.threads/next-bp-other-thread.c: New file.
2173 * gdb.threads/next-bp-other-thread.exp: New file.
2174
d3d4baed
PA
21752014-10-29 Pedro Alves <palves@redhat.com>
2176
2177 PR python/17372
2178 * gdb.python/python.exp: Test a multi-line command that spawns
2179 interactive Python.
2180 * gdb.base/multi-line-starts-subshell.exp: New file.
2181
563e8d85
YQ
21822014-10-29 Yao Qi <yao@codesourcery.com>
2183
2184 * gdb.base/fileio.exp: Make directories on host.
2185
0ea4d52e
YQ
21862014-10-29 Yao Qi <yao@codesourcery.com>
2187
2188 * gdb.base/fileio.c (test_write): Close the file.
2189
7f5ef605
PA
21902014-10-28 Pedro Alves <palves@redhat.com>
2191
2192 PR gdb/12623
2193 * gdb.base/sigstep.c (no_handler): New global.
2194 (main): If 'no_handler is true, set the signal handlers to
2195 SIG_IGN.
2196 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
2197 with_sw_watch and no_handler parameters. Handle them.
2198 (top level) <stepping over handler when stopped at a breakpoint
2199 test>: Add a test axis for testing with a software watchpoint, and
2200 another for testing with the signal handler set to SIG_IGN.
2201 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
2202 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
2203
abbdbd03
PA
22042014-10-28 Pedro Alves <palves@redhat.com>
2205
2206 PR gdb/17511
2207 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
2208 * gdb.base/sigstep.exp (other_handler_location): New global.
2209 (advance): Support stepping into the signal handler, and running
2210 commands while in the handler.
2211 (in_handler_map): New global.
2212 (top level): In the advance test, add combinations for getting
2213 into the handler with stepping commands, and for running commands
2214 in the handler. Add comment descripting the advancei tests.
2215
1df4399f
PA
22162014-10-28 Pedro Alves <palves@redhat.com>
2217
2218 * gdb.base/sigstep.exp: Use build_executable instead of
2219 prepare_for_testing.
2220 (top level): Move code that starts GDB, runs to main and creates a
2221 display to ...
2222 (restart): ... this new procedure.
2223 (top level): Move backtrace from signal handler test to ...
2224 (validate_backtrace): ... this new procedure.
2225 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
2226 with_test_prefix. Always restart GDB.
2227 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
2228 with_test_prefix. Always restart GDB. No need to delete
2229 breakpoints after the test.
2230 (test_skip_handler): Remove prefix parameter.
2231 (skip_over_handler, breakpoint_to_handler)
2232 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
2233 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
2234 restart GDB. No need to delete breakpoints after the test.
2235 (top level): Use foreach to call the test procedures with
2236 different commands.
2237
a5b6e449
PA
22382014-10-28 Pedro Alves <palves@redhat.com>
2239
2240 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
2241 instead of GNATS numbers.
2242 * gdb.base/sigbpt.exp: Likewise.
2243 * gdb.base/siginfo.exp: Likewise.
2244 * gdb.base/sigstep.exp: Likewise.
2245
e5f8a7cc
PA
22462014-10-27 Pedro Alves <palves@redhat.com>
2247
2248 * gdb.base/sigstep.c (dummy): New global.
2249 (main): Issue a couple writes to the new global.
2250 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
2251 procedures.
2252 (skip_over_handler): Use test_skip_handler.
2253 (top level): Call skip_over_handler for stepi and nexti too.
2254 (breakpoint_over_handler): Use test_skip_handler.
2255 (top level): Call breakpoint_over_handler for stepi and nexti too.
2256
763905a3
YQ
22572014-10-27 Yao Qi <yao@codesourcery.com>
2258
2259 * gdb.trace/tfile.c (adjust_function_address)
2260 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
2261 function descriptor.
2262
6f259a23
DB
22632014-10-24 Don Breazeal <donb@codesourcery.com>
2264
2265 * gdb.base/foll-fork.exp (test_follow_fork,
2266 catch_fork_child_follow): Check for updated fork messages emitted
2267 from infrun.c.
2268 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
2269 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
2270 vfork_and_exec_child_follow_through_step): Check for updated vfork
2271 messages emitted from infrun.c.
2272
09dd9a69
PA
22732014-10-24 Pedro Alves <palves@redhat.com>
2274
2275 * gdb.base/corefile.exp: Remove references to ultrix.
2276 * gdb.base/interrupt.exp: Likewise.
2277 * gdb.base/whatis.exp: Likewise.
2278 * gdb.gdb/selftest.exp: Likewise.
2279 * gdb.threads/manythreads.exp: Likewise.
2280 * gdb.threads/print-threads.exp: Likewise.
2281 * gdb.threads/pthreads.exp:: Likewise.
2282 * gdb.threads/schedlock.exp: Likewise.
2283
3433cfa5
SC
22842014-10-24 Siva Chandra Reddy <sivachandra@google.com>
2285
2286 * gdb.cp/non-trivial-retval.cc: Add a test case.
2287 * gdb.cp/non-trivial-retval.exp: Add a test.
2288
092f880b
YQ
22892014-10-20 Yao Qi <yao@codesourcery.com>
2290
2291 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
2292 * gdb.python/py-objfile-script-gdb.py: New file.
2293 * gdb.python/py-objfile-script.exp: Update reference to
2294 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
2295 of remote_download. Remove the dest file.
2296
acbdb7f3
YQ
22972014-10-20 Yao Qi <yao@codesourcery.com>
2298
2299 * gdb.base/checkpoint.exp: Don't remove file copied on host.
2300 * gdb.base/step-line.exp: Likewise.
2301 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2302 * gdb.dwarf2/dw2-basic.exp: Likewise.
2303 * gdb.dwarf2/dw2-compressed.exp: Likewise.
2304 * gdb.dwarf2/dw2-filename.exp: Likewise.
2305 * gdb.dwarf2/dw2-intercu.exp: Likewise.
2306 * gdb.dwarf2/dw2-intermix.exp: Likewise.
2307 * gdb.dwarf2/dw2-producer.exp: Likewise.
2308 * gdb.dwarf2/mac-fileno.exp: Likewise.
2309 * gdb.python/py-frame-args.exp: Likewise.
2310 * gdb.python/py-framefilter.exp: Likewise.
2311 * gdb.python/py-mi.exp: Likewise.
2312 * gdb.python/py-objfile-script.exp: Likewise
2313 * gdb.python/py-pp-integral.exp: Likewise.
2314 * gdb.python/py-pp-re-notag.exp: Likewise.
2315 * gdb.python/py-prettyprint.exp: Likewise.
2316 * gdb.python/py-section-script.exp: Likewise.
2317 * gdb.python/py-typeprint.exp: Likewise.
2318 * gdb.python/py-xmethods.exp: Likewise.
2319 * gdb.stabs/weird.exp: Likewise.
2320 * gdb.xml/tdesc-regs.exp: Likewise.
2321
bd286a29
KCY
23222014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
2323
2324 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
2325 (out_cu): Use addr_len for the size of addresses.
2326 (out_line): Likewise. Size DW_LNE_set_address instruction
2327 according to addr_len.
2328 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
2329 (FUNC): Add START_INSNS to definition.
2330
673dc4a0
YQ
23312014-10-18 Yao Qi <yao@codesourcery.com>
2332
2333 * gdb.base/argv0-symlink.exp: Check argv[0] value if
2334 gdb_has_argv0 return true.
2335 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
2336 check [target_info exists noargs], check [gdb_has_argv0]
2337 instead.
2338 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2339 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
2340 procedures.
2341
4ffbba72
DE
23422014-10-17 Doug Evans <dje@google.com>
2343
2344 * gdb.python/py-events.exp: Update expected output for clear_objfiles
2345 event.
2346 * gdb.python/py-events.py: Add clear_objfiles event.
2347
d096d8c1
DE
23482014-10-17 Doug Evans <dje@google.com>
2349
2350 * gdb.python/py-objfile.exp: Test progspace attribute.
2351
a80db015
LM
23522014-10-17 Luis Machado <lgustavo@codesourcery.com>
2353
2354 * gdb.guile/scm-breakpoint.exp: Do not assume any
2355 directory separators when matching source file paths.
2356 * gdb.python/py-breakpoint.exp: Likewise.
2357 * gdb.reverse/break-precsave.exp: Likewise.
2358 * gdb.reverse/break-reverse.exp: Likewise.
2359 * gdb.reverse/consecutive-precsave.exp: Likewise.
2360 * gdb.reverse/finish-precsave.exp: Likewise.
2361 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
2362 * gdb.reverse/finish-reverse.exp: Likewise.
2363 * gdb.reverse/i386-precsave.exp: Likewise.
2364 * gdb.reverse/i387-env-reverse.exp: Likewise.
2365 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2366 * gdb.reverse/machinestate-precsave.exp: Likewise.
2367 * gdb.reverse/machinestate.exp: Likewise.
2368 * gdb.reverse/sigall-precsave.exp: Likewise.
2369 * gdb.reverse/solib-precsave.exp: Likewise.
2370 * gdb.reverse/step-precsave.exp: Likewise.
2371 * gdb.reverse/until-precsave.exp: Likewise.
2372 * gdb.reverse/watch-precsave.exp: Likewise.
2373 * gdb.reverse/watch-reverse.exp: Likewise.
2374
b22089ab
YQ
23752014-10-17 Yao Qi <yao@codesourcery.com>
2376
2377 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
2378 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
2379
6c4486e6
PA
23802014-10-17 Pedro Alves <palves@redhat.com>
2381
2382 PR gdb/17471
2383 * gdb.base/bg-execution-repeat.c: New file.
2384 * gdb.base/bg-execution-repeat.exp: New file.
2385
0ff33695
PA
23862014-10-17 Pedro Alves <palves@redhat.com>
2387
2388 PR gdb/17300
2389 * gdb.base/continue-all-already-running.c: New file.
2390 * gdb.base/continue-all-already-running.exp: New file.
2391
6fdebc3d
PA
23922014-10-17 Pedro Alves <palves@redhat.com>
2393
2394 PR gdb/17472
2395 * gdb.base/annota-input-while-running.c: New file.
2396 * gdb.base/annota-input-while-running.exp: New file.
2397
32a8097b
PA
23982014-10-17 Pedro Alves <palves@redhat.com>
2399
2400 * gdb.base/callfuncs.exp: emove references to osf.
2401 * gdb.base/sigall.exp: Likewise.
2402 * gdb.gdb/selftest.exp: Likewise.
2403 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
2404 * gdb.mi/non-stop.c: Likewise.
2405 * gdb.mi/pthreads.c: Likewise.
2406 * gdb.reverse/sigall-precsave.exp: Likewise.
2407 * gdb.reverse/sigall-reverse.exp: Likewise.
2408 * gdb.threads/pthreads.c: Likewise.
2409 * gdb.threads/pthreads.exp: Likewise.
2410
7a3517ff
YQ
24112014-10-17 Yao Qi <yao@codesourcery.com>
2412
2413 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
2414 check 'target_info exists noargs'.
2415 (test_command_prompt_position): Likewise.
2416 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
2417 Remove "set args".
2418 (progvar_simple_while_test): Likewise.
2419 (progvar_complex_if_while_test): Likewise.
2420 (if_while_breakpoint_command_test): Likewise.
2421 (infrun_breakpoint_command_test): Likewise.
2422 (breakpoint_command_test): Likewise.
2423 (watchpoint_command_test): Likewise.
2424 (bp_deleted_in_command_test): Likewise.
2425 (temporary_breakpoint_commands): Likewise.
2426
bb99c472
YQ
24272014-10-16 Yao Qi <yao@codesourcery.com>
2428
2429 * gdb.base/remotetimeout.exp: Remove noargs checking.
2430
7c16b83e
PA
24312014-10-15 Pedro Alves <palves@redhat.com>
2432
2433 PR breakpoints/9649
2434 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
2435 * gdb.base/breakpoint-in-ro-region.exp
2436 (probe_target_hardware_step): New procedure.
2437 (top level): Probe hardware stepping and hardware breakpoint
2438 support. Test stepping through a read-only region, with both
2439 "breakpoint auto-hw" on and off and both "always-inserted" on and
2440 off.
2441
35a49624
IB
24422014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
2443
2444 * gdb.dlang/demangle.exp: Update for demangling changes.
2445
2d1c107c
SC
24462014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2447
2448 * gdb.cp/non-trivial-retval.cc: Add new test cases.
2449 * gdb.cp/non-trivial-retval.exp: Add new tests.
2450
778811d5
SC
24512014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2452
2453 PR c++/13403
2454 PR c++/15154
2455 * gdb.cp/non-trivial-retval.cc: New file.
2456 * gdb.cp/non-trivial-retval.exp: New file.
2457
10c5f0a8
YQ
24582014-10-15 Yao Qi <yao@codesourcery.com>
2459
2460 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
2461 remote host.
2462
65d7b369
YQ
24632014-10-15 Yao Qi <yao@codesourcery.com>
2464
2465 * gdb.python/py-symbol.exp: Match file base name if host is
2466 remote, otherwise match file name with dir name.
2467 * gdb.python/py-symtab.exp: Likewise.
2468 * gdb.python/python.exp: Likewise.
2469
46dc1394
YQ
24702014-10-15 Yao Qi <yao@codesourcery.com>
2471
2472 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
2473 pattern.
2474 * gdb.python/py-symtab.exp: Likewise.
2475 * gdb.python/python.exp: Remove trailing ".*". Fix typo
2476 locationn.
2477
c40cc657
JB
24782014-10-14 Joel Brobecker <brobecker@adacore.com>
2479
2480 * gdb.ada/addr_arith: New testcase.
2481
2abf49e1
MR
24822014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
2483
2484 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
2485 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
2486 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
2487 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
2488
f7088df3
SDJ
24892014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
2490
2491 * gdb.arch/stap-eval-lang-ada.S: Likewise.
2492 * gdb.arch/stap-eval-lang-ada.c: Likewise.
2493 * gdb.arch/stap-eval-lang-ada.exp: New file.
2494
4dc06805
YQ
24952014-10-14 Yao Qi <yao@codesourcery.com>
2496
2497 * gdb.mi/mi-var-child.c (nothing1): New function.
2498 (nothing2): New function.
2499 (do_children_tests): Set function pointers by nothing1 and
2500 nothing2.
2501 * gdb.mi/mi-var-child.exp: Step over new added statements.
2502 Update test to match the new output.
2503 * gdb.mi/var-cmd.c (nothing1): New function.
2504 (nothing2): New function.
2505 (do_children_tests): Set function pointers by nothing1 and
2506 nothing2.
2507 * gdb.mi/mi-var-display.exp: Update test to match output.
2508 Step to the line specified by $line_dct_nothing.
2509 Increase the number of lines to step.
2510
46a93de2
YQ
25112014-10-14 Yao Qi <yao@codesourcery.com>
2512
2513 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
2514 tests.
2515 * gdb.mi/mi2-var-child.exp: Likewise.
2516
14ea52ee
DE
25172014-10-13 Doug Evans <dje@google.com>
2518
2519 * gdb.python/py-objfile.exp: Change name of file name test.
2520
e5c6e92b
DE
25212014-10-13 Doug Evans <dje@google.com>
2522
2523 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
2524 from the start of the CU.
2525
c780cc2f
JK
25262014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2527 Yao Qi <yao@codesourcery.com>
2528
2529 Fix "save breakpoints" for "catch" command.
2530 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
2531 Remove -nonewline. Match also the added "main" line.
2532
99894e11
JK
25332014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2534
2535 Fix "save breakpoints" for "disable $bpnum" command.
2536 * gdb.base/save-bp.c (main): Add label.
2537 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
2538
6e1ac5a3
JK
25392014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2540
2541 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
2542
754dd2b0
YQ
25432014-10-11 Yao Qi <yao@codesourcery.com>
2544
2545 * gdb.server/server-kill.exp: Execute command
2546 "set remote trace-status-packet on" before "tstatus".
2547
f90183d7
YQ
25482014-10-11 Yao Qi <yao@codesourcery.com>
2549
2550 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
2551 (main): Call getppid.
2552 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
2553 and continue to it. Read variable "server_pid".
2554
bf40a607
YQ
25552014-10-11 Yao Qi <yao@codesourcery.com>
2556
2557 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
2558
052ca370
YQ
25592014-10-11 Yao Qi <yao@codesourcery.com>
2560
2561 * gdb.threads/thread-find.exp: Don't execute command
2562 "info threads".
2563 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
2564 * gdb.threads/linux-dp.exp: Don't check the condition
2565 $threads_created equals to zero.
2566
3831839c
PA
25672014-10-10 Pedro Alves <palves@redhat.com>
2568
2569 * gdb.base/bigcore.exp: Remove references to IRIX.
2570 * gdb.base/funcargs.exp: Likewise.
2571 * gdb.base/interrupt.exp: Likewise.
2572 * gdb.base/mips_pro.exp: Likewise.
2573 * gdb.base/nodebug.exp: Likewise.
2574 * gdb.base/setvar.exp: Likewise.
2575 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
2576
8b9a549d
PA
25772014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2578 Pedro Alves <palves@redhat.com>
2579
2580 PR symtab/14466
2581 * gdb.base/vdso-warning.c: New file.
2582 * gdb.base/vdso-warning.exp: New file.
2583
d48ba5e8
DE
25842014-10-02 Doug Evans <dje@google.com>
2585
2586 * gdb.base/structs.c (main): Don't run forever.
2587
2278c276
PA
25882014-10-02 Pedro Alves <palves@redhat.com>
2589
2590 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
2591 (top level) <stop threads 1, stop threads 2>: Use it.
2592
b57bacec
PA
25932014-10-02 Pedro Alves <palves@redhat.com>
2594
2595 * gdb.threads/break-while-running.exp (test): Add new
2596 'update_thread_list' argument. Skip "info threads" if false.
2597 (top level): Add new 'update_thread_list' axis.
2598
13fd3ff3
PA
25992014-10-02 Pedro Alves <palves@redhat.com>
2600
2601 PR breakpoints/17431
2602 * gdb.base/execl-update-breakpoints.c: New file.
2603 * gdb.base/execl-update-breakpoints.exp: New file.
2604
0fec99e8
PA
26052014-10-01 Pedro Alves <palves@redhat.com>
2606
2607 * gdb.base/breakpoint-in-ro-region.c: New file.
2608 * gdb.base/breakpoint-in-ro-region.exp: New file.
2609
2ddf4301
SM
26102014-10-01 Simon Marchi <simon.marchi@ericsson.com>
2611
2612 * gdb.mi/mi-exit-code.exp: New file.
2613 * gdb.mi/mi-exit-code.c: New file.
2614
6a5f3f43
YQ
26152014-09-30 Yao Qi <yao@codesourcery.com>
2616
2617 * lib/prelink-support.exp (build_executable_own_libs): Error if
2618 the target isn't native.
2619
345bcc73
YQ
26202014-09-30 Yao Qi <yao@codesourcery.com>
2621
2622 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
2623 false.
2624
a25a5a45
PA
26252014-09-22 Pedro Alves <palves@redhat.com>
2626
2627 * gdb.threads/break-while-running.exp: New file.
2628 * gdb.threads/break-while-running.c: New file.
2629
00ba3162
YQ
26302014-09-19 Yao Qi <yao@codesourcery.com>
2631
2632 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
2633 Invoke test. Restart GDB with --readnow and invoke test again.
2634
c3b7b696
YQ
26352014-09-19 Yao Qi <yao@codesourcery.com>
2636
2637 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
2638 proc set_breakpoint_on_gcd_function. Invoke
2639 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
2640 invoke set_breakpoint_on_gcd_function again.
2641
2b4fd423
DE
26422014-09-18 Doug Evans <dje@google.com>
2643
2644 * gdb.dwarf2/symtab-producer.exp: New file.
2645
a5947601
SDJ
26462014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2647
2648 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
2649 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
2650 * gdb.base/global-var-nested-by-dso.c: Likewise.
2651 * gdb.base/global-var-nested-by-dso.exp: Likewise.
2652
91c19059
SDJ
26532014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2654 Pedro Alves <palves@redhat.com>
2655
2656 * gdb.base/watch-bitfields.exp: Pass string other than test file
2657 name to prepare_for_testing.
2658 (watch): New procedure.
2659 (expect_watchpoint): Use with_test_prefix.
2660 (top level): Factor out tests to ...
2661 (test_watch_location, test_regular_watch): ... these new
2662 procedures, and use with_test_prefix and gdb_continue_to_end.
2663
bb9d5f81
PP
26642014-09-16 Patrick Palka <patrick@parcs.ath.cx>
2665
2666 PR breakpoints/12526
2667 * gdb.base/watch-bitfields.exp: New file.
2668 * gdb.base/watch-bitfields.c: New file.
2669
635856f5
PA
26702014-09-16 Pedro Alves <palves@redhat.com>
2671
2672 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
2673 software and hardware addresses, not software address against
2674 itself.
2675
7280ceea
PA
26762014-09-16 Pedro Alves <palves@redhat.com>
2677
2678 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
2679 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
2680
428b16bd
PA
26812014-09-16 Pedro Alves <palves@redhat.com>
2682
2683 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
2684 files.
2685 * gdb.base/a2-run.exp: Remove all code guarded by istarget
2686 "*-*-vxworks*" throughout.
2687 * gdb.base/break.exp: Likewise.
2688 * gdb.base/default.exp: Likewise.
2689 * gdb.base/scope.exp: Likewise.
2690 * gdb.base/sepdebug.exp: Likewise.
2691 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
2692 throughout.
2693 * gdb.base/run.c: Likewise.
2694 * gdb.base/sepdebug.c: Likewise.
2695 * gdb.hp/gdb.aCC/run.c: Likewise.
2696 * gdb.reverse/until-reverse.c: Likewise.
2697 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
2698
666d413c
YQ
26992014-09-16 Yao Qi <yao@codesourcery.com>
2700
2701 * boards/local-remote-host-native.exp: New file.
2702
57cbd724
DE
27032014-09-14 Doug Evans <xdje42@gmail.com>
2704
2705 * gdb.threads/queue-signal.c (thread_count): New variable.
2706 (thread_count_mutex, thread_count_condvar): New variables.
2707 (incr_thread_count, wait_all_threads_running): New functions.
2708 (main): Wait for all threads to be in their thread functions.
2709
81219e53
DE
27102014-09-13 Doug Evans <xdje42@gmail.com>
2711
2712 * gdb.threads/queue-signal.c: New file.
2713 * gdb.threads/queue-signal.exp: New file.
2714
3714cea7
DE
27152014-09-13 Doug Evans <xdje42@gmail.com>
2716
2717 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
2718 be consistent with what default_gdb_init uses.
2719 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
2720 the plain text of the prompt. Add some logging printfs.
2721 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
2722
fa43b1d7
PA
27232014-09-12 Pedro Alves <palves@redhat.com>
2724
2725 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
2726 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
2727 * gdb.arch/i386-size-overlap.exp: Likewise.
2728 * gdb.arch/i386-size.exp: Likewise.
2729 * gdb.arch/i386-unwind.exp: Likewise.
2730 * gdb.base/a2-run.exp: Likewise.
2731 * gdb.base/break.exp: Likewise.
2732 * gdb.base/charset.exp: Likewise.
2733 * gdb.base/chng-syms.exp: Likewise.
2734 * gdb.base/commands.exp: Likewise.
2735 * gdb.base/dbx.exp: Likewise.
2736 * gdb.base/find.exp: Likewise.
2737 * gdb.base/funcargs.exp: Likewise.
2738 * gdb.base/jit-simple.exp: Likewise.
2739 * gdb.base/reread.exp: Likewise.
2740 * gdb.base/sepdebug.exp: Likewise.
2741 * gdb.base/step-bt.exp: Likewise.
2742 * gdb.cp/mb-inline.exp: Likewise.
2743 * gdb.cp/mb-templates.exp: Likewise.
2744 * gdb.objc/basicclass.exp: Likewise.
2745 * gdb.threads/killed.exp: Likewise.
2746
9d9bf2df
EBM
27472014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2748
2749 PR tdep/17379
2750 * gdb.arch/powerpc-stackless.S: New file.
2751 * gdb.arch/powerpc-stackless.exp: New file.
2752
1cf2f1b0
JK
27532014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2754
2755 * gdb.base/attach.c: Include unistd.h.
2756 (main): Call alarm. Add label postloop.
2757 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
2758 gdb_breakpoint, gdb_continue_to_breakpoint.
2759 (test_command_line_attach_run): Kill ${testpid} in one exit path.
2760
98880d46
PA
27612014-09-11 Pedro Alves <palves@redhat.com>
2762
2763 PR gdb/17347
2764 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
2765 * gdb.base/attach.exp (test_command_line_attach_run): New
2766 procedure.
2767 (top level): Call it.
2768
4c92ff2c
PA
27692014-09-11 Pedro Alves <palves@redhat.com>
2770
2771 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
2772 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
2773 (do_command_attach_tests): Use spawn_wait_for_attach.
2774 * gdb.base/solib-overlap.exp: Likewise.
2775 * gdb.multi/multi-attach.exp: Likewise.
2776 * gdb.python/py-prompt.exp: Likewise.
2777 * gdb.python/py-sync-interp.exp: Likewise.
2778 * gdb.server/ext-attach.exp: Likewise.
2779
3adc1a7d
GKB
27802014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
2781
2782 * gdb.fortran/array-element.exp: Remove unexpected "continue"
2783 command in testcase. Simplify testcase.
2784
96334934
JB
27852014-09-10 Joel Brobecker <brobecker@adacore.com>
2786
2787 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
2788
eb479039
JB
27892014-09-10 Joel Brobecker <brobecker@adacore.com>
2790
2791 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
2792
deede10c
JB
27932014-09-10 Joel Brobecker <brobecker@adacore.com>
2794
2795 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
2796
7828a5f5
JB
27972014-09-10 Joel Brobecker <brobecker@adacore.com>
2798
2799 * gdb.dwarf2/dynarr-ptr.c: New file.
2800 * gdb.dwarf2/dynarr-ptr.exp: New file.
2801
33aeebcf
MR
28022014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2803
2804 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
2805 of 30 rather than hardcoding 120 for a slow test case. Take the
2806 `gdb,timeout' target setting into account for this calculation.
2807 Don't extend the timeout for the test cases that don't need it.
2808
7b415901
MR
28092014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2810
2811 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
2812 a factor of 2 for a slow test case. Take the `gdb,timeout'
2813 target setting into account for this calculation.
2814 * gdb.reverse/until-precsave.exp: Increase the timeout by
2815 a factor of 15 and 3 respectively rather than adding 120
2816 for a pair of slow test cases. Take the `gdb,timeout'
2817 target setting into account for this calculation.
2818
4a40f85a
MR
28192014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2820
2821 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
2822 timeout, don't pass one down to gdb_expect.
2823 (gdb_expect): Rework timeout selection.
2824
09635af7
MR
28252014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2826
2827 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
2828 exception on timeout.
2829 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
2830 (gdbserver_start_extended): Catch any `gdbserver_start' error
2831 exceptions.
2832 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
2833 * lib/mi-support.exp (mi_gdb_target_load): Catch any
2834 `gdbserver_gdb_load' error exceptions.
2835
2bdd10b7
MR
28362014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2837
2838 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
2839 120 on waiting for the TCP socket to open.
2840
316935f0
DE
28412014-09-09 Doug Evans <xdje42@gmail.com>
2842
2843 * gdb.base/default.exp (show_conv_list): Add _caller_is,
2844 _caller_matches, _any_caller_is, _any_caller_matches.
2845
83740597
DE
28462014-09-09 Doug Evans <xdje42@gmail.com>
2847
2848 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
2849
4c122fc3
YQ
28502014-09-09 Yao Qi <yao@codesourcery.com>
2851
2852 * gdb.mi/mi-var-display.exp: Set print symbol off.
2853
a9f116cb
GKB
28542014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
2855
2856 PR gdb/17035
2857 * gdb.base/commands.exp: Add tests to verify user-defined
2858 commands with empty bodies.
2859 * gdb.python/py-cmd.exp: Test that we don't show user-defined
2860 python commands in `show user command`.
2861 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
2862 scheme commands in `show user command`.
2863
c75bd3a2
JK
28642014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2865
2866 PR python/17355
2867 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
2868 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
2869 * gdb.python/py-framefilter-invalidarg.exp: New file.
2870 * gdb.python/py-framefilter-invalidarg.py: New file.
2871
faa42425
DE
28722014-09-06 Doug Evans <xdje42@gmail.com>
2873
2874 PR 15276
2875 * gdb.python/py-caller-is.c: New file.
2876 * gdb.python/py-caller-is.exp: New file.
2877
474ca4f6
SDJ
28782014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
2879
2880 PR gdb/17235
2881 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
2882 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
2883
eb0b0463
SDJ
28842014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
2885
2886 PR fortran/17237
2887 * gdb.fortran/print-formatted.exp: New file.
2888 * gdb.fortran/print-formatted.f90: Likewise.
2889
5f3b99cf
SS
28902014-09-03 Sasha Smundak <asmundak@google.com>
2891
2892 * gdb.python/py-frame.exp: Test Frame.read_register.
2893
7d793aa9
SDJ
28942014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
2895
2896 PR python/16699
2897 * gdb.python/py-completion.exp: New file.
2898 * gdb.python/py-completion.py: Likewise.
2899
fb0576e9
DE
29002014-08-28 Doug Evans <dje@google.com>
2901
2902 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
2903 eax,etc. are live with values set by gdb and thus the compiler can't
2904 use them.
2905 * gdb.arch/i386-pseudo.c (main): Ditto.
2906
ee92b0dd
DE
29072014-08-27 Doug Evans <dje@google.com>
2908
2909 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
2910
6649db35
DE
29112014-08-25 Doug Evans <dje@google.com>
2912
2913 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
2914 (main): Ditto.
2915
564b7600
DE
29162014-08-25 Doug Evans <dje@google.com>
2917
2918 * gdb.threads/thread-execl.exp: #include <stdio.h>.
2919
3881fb67
YQ
29202014-08-24 Yao Qi <yao@codesourcery.com>
2921
2922 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
2923 symbol off.
2924 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
2925
a05a36a5
DE
29262014-08-22 Doug Evans <dje@google.com>
2927
2928 PR 17276
2929 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
2930 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
2931 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
2932
7c343b48
YQ
29332014-08-22 Yao Qi <yao@codesourcery.com>
2934
2935 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
2936 * gdb.python/py-finish-breakpoint2.exp: Likewise.
2937 * gdb.python/python.exp: Likewise. Use .py file on the host
2938 instead of the build.
2939
22fd09ae
JK
29402014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2941
2942 * gdb.threads/gcore-stale-thread.c: New file.
2943 * gdb.threads/gcore-stale-thread.exp: New file.
2944
a8454a7c
PA
29452014-08-21 Pedro Alves <palves@redhat.com>
2946
2947 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
2948 * gdb.base/gcore-relro-pie.exp: Likewise.
2949 * gdb.base/gcore-relro.exp: Likewise.
2950 * gdb.base/gcore.exp: Likewise.
2951 * gdb.base/print-symbol-loading.exp: Likewise.
2952 * gdb.threads/gcore-thread.exp: Likewise.
2953 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
2954
2a31c623
PA
29552014-08-20 Pedro Alves <palves@redhat.com>
2956 Jan Kratochvil <jan.kratochvil@redhat.com>
2957
2958 * Makefile.in (EXTRA_RULES, CC): New variables, get from
2959 configure.
2960 (EXPECT): Handle READ1 being set.
2961 (all): Depend on EXTRA_RULES.
2962 (check-read1, expect-read1, read1.so, read1): New rules.
2963 * README (Testsuite Parameters): Document the READ1 make variable.
2964 (Race detection): New section.
2965 * configure: Regenerate.
2966 * configure.ac: If build==host==target, and running under a
2967 GNU/glibc system, add read1 to the extra Makefile rules.
2968 (EXTRA_RULES): AC_SUBST it.
2969 * lib/read1.c: New file.
2970
d36430db
JB
29712014-08-20 Joel Brobecker <brobecker@adacore.com>
2972
2973 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
2974 the handling of variables declared as a typedef to an array
2975 which a DW_AT_data_location attribute.
2976
9a0dc9e3
PA
29772014-08-19 Andrew Burgess <aburgess@broadcom.com>
2978 Pedro Alves <palves@redhat.com>
2979
2980 PR symtab/14604
2981 PR symtab/14605
2982 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
2983 gdb_test.
2984
0718a8da
PA
29852014-08-19 Pedro Alves <palves@redhat.com>
2986
2987 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
2988
13b448cd
YQ
29892014-08-19 Yao Qi <yao@codesourcery.com>
2990
2991 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
2992 right line.
2993
1cbf5077
DB
29942014-08-18 David Blaikie <dblaikie@gmail.com>
2995
2996 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
2997
bf0fae19
JB
29982014-08-18 Joel Brobecker <brobecker@adacore.com>
2999
3000 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
3001 attribute in array range.
3002
3c8c5dcc
JB
30032014-08-18 Joel Brobecker <brobecker@adacore.com>
3004
3005 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
3006
e66d4446
SC
30072014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3008
3009 PR c++/17132
3010 * gdb.cp/pr17132.cc: New file.
3011 * gdb.cp/pr17132.exp: New file.
3012
940df408
SC
30132014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3014
3015 * gdb.python/py-xmethods.py (A_getarrayind)
3016 (E_method_char_worker.__call__, E_method_int_worker.__call__):
3017 Use 'print' with function call syntax.
3018 (E_method_matcher.match): Fix tab vs space indentation mixup.
3019
ebcc6c3a
YQ
30202014-08-15 Yao Qi <yao@codesourcery.com>
3021
3022 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
3023 false.
3024
775e0f04
YQ
30252014-08-15 Yao Qi <yao@codesourcery.com>
3026
3027 * gdb.cp/casts.exp: Set print symbol off.
3028 * gdb.cp/class2.exp: Likewise.
3029 * gdb.cp/overload.exp: Likewise.
3030 * gdb.cp/templates.exp: Likewise.
3031
d769e349
DE
30322014-08-11 Doug Evans <dje@google.com>
3033
3034 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3035 (test_load_shlib): Update.
3036
20c6f1e1
YQ
30372014-08-09 Yao Qi <yao@codesourcery.com>
3038
3039 * gdb.base/display.exp: Invoke is_address_zero_readable.
3040 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
3041 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
3042 * gdb.base/hbreak-unmapped.exp: Return if
3043 is_address_zero_readable returns true.
3044 * gdb.base/signest.exp: Likewise.
3045 * gdb.base/signull.exp: Likewise.
3046 * gdb.base/sigbpt.exp: Likewise.
3047 * gdb.guile/scm-disasm.exp: Do the test if
3048 is_address_zero_readable returns false.
3049 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
3050 * gdb.python/py-arch.exp: Likewise.
3051 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
3052 * lib/gdb.exp (is_address_zero_readable): New proc.
3053
5792e8e3
YQ
30542014-08-09 Yao Qi <yao@codesourcery.com>
3055
3056 PR testsuite/13443
3057 * gdb.mi/mi-var-display.exp: Make test messages unique.
3058
3cecbbbe
TT
30592014-08-04 Tom Tromey <tromey@redhat.com>
3060
3061 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
3062 target 0".
3063
00b51ff5
TT
30642014-08-04 Tom Tromey <tromey@redhat.com>
3065
3066 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
3067 "target_resume".
3068
6908c509
JB
30692014-08-01 Joel Brobecker <brobecker@adacore.com>
3070
3071 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
3072 inner_vla_struct_object_size.
3073 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
3074 as xfail.
3075
cc6563d2
PA
30762014-07-30 Pedro Alves <palves@redhat.com>
3077
3078 * gdb.threads/signal-command-handle-nopass.exp (test): Add
3079 comment.
3080
7e09a223
YQ
30812014-07-29 Yao Qi <yao@codesourcery.com>
3082
3083 PR gdb/17206
3084 * gdb.base/until-nodebug.exp: New.
3085
7ebdbe92
DE
30862014-07-28 Doug Evans <xdje42@gmail.com>
3087
3088 PR guile/17203
3089 * gdb.guile/scm-parameter.exp: Add tests for trying to create
3090 previously existing parameter, and previously ambiguously spelled
3091 parameter.
3092
fdb1adc6
WN
30932014-07-28 Will Newton <will.newton@linaro.org>
3094
3095 * gdb.base/varargs.exp: Remove KFAILs for ARM.
3096
186fcde0
DE
30972014-07-26 Ludovic Courtès <ludo@gnu.org>
3098 Doug Evans <xdje42@gmail.com>
3099
3100 PR guile/17146
3101 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
3102
70509625
PA
31032014-07-25 Pedro Alves <palves@redhat.com>
3104
3105 * gdb.threads/signal-command-handle-nopass.c: New file.
3106 * gdb.threads/signal-command-handle-nopass.exp: New file.
3107 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
3108 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
3109 * gdb.threads/signal-delivered-right-thread.c: New file.
3110 * gdb.threads/signal-delivered-right-thread.exp: New file.
3111
c3f814a1
PA
31122014-07-25 Pedro Alves <palves@redhat.com>
3113
3114 * gdb.base/double-prompt-target-event-error.exp
3115 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
3116 match.
3117 (cancel_pagination_in_target_event): Rework double prompt
3118 detection.
3119 * gdb.base/paginate-after-ctrl-c-running.exp
3120 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
3121 <return>' match.
3122 * gdb.base/paginate-bg-execution.exp
3123 (test_bg_execution_pagination_return)
3124 (test_bg_execution_pagination_cancel): Remove '-notransfer
3125 <return>' matches.
3126 * gdb.base/paginate-execution-startup.exp
3127 (test_fg_execution_pagination_return)
3128 (test_fg_execution_pagination_cancel): Remove '-notransfer
3129 <return>' matches.
3130 * gdb.base/paginate-inferior-exit.exp
3131 (test_paginate_inferior_exited): Remove '-notransfer <return>'
3132 match.
3133 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
3134 * lib/gdb.exp (pagination_prompt): Run text through
3135 string_to_regexp.
3136 (gdb_test_multiple): Match $pagination_prompt instead of
3137 "<return>".
3138 (string_to_regexp): Move to lib/gdb-utils.exp.
3139
e214cf6c
JK
31402014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3141
3142 * gdb.arch/amd64-entry-value-paramref.S: New file.
3143 * gdb.arch/amd64-entry-value-paramref.cc: New file.
3144 * gdb.arch/amd64-entry-value-paramref.exp: New file.
3145 * gdb.arch/amd64-optimout-repeat.S: New file.
3146 * gdb.arch/amd64-optimout-repeat.c: New file.
3147 * gdb.arch/amd64-optimout-repeat.exp: New file.
3148
17d0c5c8
JK
31492014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3150
3151 PR gdb/17170
3152 * gdb.base/statistics.exp: New file.
3153
b8b8facf
DE
31542014-07-17 Doug Evans <dje@google.com>
3155
74b49205 3156 PR gdb/17170
b8b8facf
DE
3157 * gdb.base/maint.exp: Update testing of per-command stats.
3158
1b5d0ab3
PA
31592014-07-16 Pedro Alves <palves@redhat.com>
3160
3161 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
3162 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
3163 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
3164 (tfile_write_buf): New functions.
3165 (add_memory_block): Rewrite using the above.
3166 (adjust_function_address): New function.
3167 (FUNCTION_ADDRESS): New macro.
3168 (write_basic_trace_file): Remove short_x local, and use
3169 tfile_write_16. Change type of func_addr local to unsigned long
3170 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
3171 here. Cast argument of add_memory_block to char pointer.
3172 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
3173 (main): Remove parameters.
3174 * gdb.trace/tfile.exp: Remove nowarnings.
3175
4d974e88
SM
31762014-07-15 Simon Marchi <simon.marchi@ericsson.com>
3177
3178 * gdb.base/debug-expr.exp: Test string evaluation with
3179 "debug expression" on.
3180
41e99568
PA
31812014-07-15 Pedro Alves <palves@redhat.com>
3182
3183 * gdb.base/reread.exp: Use clean_restart.
3184
487d9753
PL
31852014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
3186
3187 * gdb.arch/avr-flash-qualifer.c: New.
3188 * gdb.arch/avr-flash-qualifer.exp: New.
3189
cc1c52ad
PA
31902014-07-14 Pedro Alves <palves@redhat.com>
3191
3192 * gdb.base/paginate-after-ctrl-c-running.c: New file.
3193 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
3194
1e973570
PA
31952014-07-14 Pedro Alves <palves@redhat.com>
3196
3197 * gdb.base/double-prompt-target-event-error.c: New file.
3198 * gdb.base/double-prompt-target-event-error.exp: New file.
3199
93d6eb10
PA
32002014-07-14 Pedro Alves <palves@redhat.com>
3201
3202 PR gdb/17072
3203 * gdb.base/paginate-inferior-exit.c: New file.
3204 * gdb.base/paginate-inferior-exit.exp: New file.
3205
0017922d
PA
32062014-07-14 Pedro Alves <palves@redhat.com>
3207
3208 PR gdb/17072
3209 * gdb.base/paginate-bg-execution.c: New file.
3210 * gdb.base/paginate-bg-execution.exp: New file.
3211
94696ad3
PA
32122014-07-14 Pedro Alves <palves@redhat.com>
3213
3214 PR gdb/17072
3215 * gdb.base/paginate-execution-startup.c: New file.
3216 * gdb.base/paginate-execution-startup.exp: New file.
3217 * lib/gdb.exp (pagination_prompt): New global.
3218 (default_gdb_spawn): New procedure, factored out from
3219 default_gdb_spawn.
3220 (default_gdb_start): Adjust to call default_gdb_spawn.
3221 (gdb_spawn): New procedure.
3222
bd293940
PA
32232014-07-14 Pedro Alves <palves@redhat.com>
3224
3225 * lib/gdb.exp (gdb_assert): New procedure.
3226 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
3227
c933f875
PA
32282014-07-14 Pedro Alves <palves@redhat.com>
3229
3230 * gdb.base/execution-termios.c: New file.
3231 * gdb.base/execution-termios.exp: New file.
3232
d98b7a16
TT
32332014-07-14 Tom Tromey <tromey@redhat.com>
3234
3235 * gdb.cp/vla-cxx.cc: New file.
3236 * gdb.cp/vla-cxx.exp: New file.
3237
548740d6
TT
32382014-07-14 Tom Tromey <tromey@redhat.com>
3239
3240 * gdb.reverse/rerun-prec.c: New file.
3241 * gdb.reverse/rerun-prec.exp: New file.
3242
a25eb028
MR
32432014-07-12 Maciej W. Rozycki <macro@mips.com>
3244 Maciej W. Rozycki <macro@codesourcery.com>
3245
3246 * lib/gdb-utils.exp: New file.
3247 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
3248 inline `gdb_init_command' processing.
3249 (gdb_start_cmd): Likewise.
3250 * lib/mi-support.exp (mi_run_cmd): Likewise.
3251 * README: Document `gdb_init_command' and `gdb_init_commands'.
3252
218c2655
JK
32532014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3254
3255 Fix false FAIL running under a very long directory name.
3256 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
3257 and "set print elements 10000". Twice.
3258
5401fde3
YQ
32592014-07-11 Yao Qi <yao@codesourcery.com>
3260
3261 * gdb.base/exprs.exp: "set print symbol off".
3262
e76126e8
PA
32632014-07-11 Pedro Alves <palves@redhat.com>
3264
3265 * gdb.threads/kill.c: New file.
3266 * gdb.threads/kill.exp: New file.
3267
2d6f0de6
YQ
32682014-07-10 Yao Qi <yao@codesourcery.com>
3269
3270 * gdb.trace/tfile.c (write_basic_trace_file)
3271 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
3272 address written to trace file.
3273
7180e04a
PA
32742014-07-09 Pedro Alves <palves@redhat.com>
3275
3276 * gdb.base/attach-wait-input.exp: New file.
3277 * gdb.base/attach-wait-input.c: New file.
3278
9a9a7608
AB
32792014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3280
3281 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
3282 setting up test structures.
3283 (main): Call new test function.
3284 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
3285 test function, continue into test function and walk test
3286 structures.
3287
161ac41e
YQ
32882014-07-02 Yao Qi <yao@codesourcery.com>
3289
3290 * gdb.trace/entry-values.c: Define labels 'foo_start' and
3291 'bar_start' at the beginning of functions 'foo' and 'bar'
3292 respectively.
3293 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
3294 instead of 'foo' and 'bar'.
3295
1f267ae3
MM
32962014-07-08 Markus Metzger <markus.t.metzger@intel.com>
3297
3298 * gdb.btrace/segv.exp: New.
3299 * gdb.btrace/segv.c: New.
3300
2b239efb
LM
33012014-07-02 Luis Machado <lgustavo@codesourcery.com>
3302
3303 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
3304 instruction.
3305
cf363f18
MW
33062014-06-30 Mark Wielaard <mjw@redhat.com>
3307
3308 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
3309 vulture, vilify, villar): New volatile array constants.
3310 (vindictive, vegetation): New const volatile array constants.
3311 * gdb.base/volatile.exp: Test volatile and const volatile array
3312 types.
3313
aebf9d24
AA
33142014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
3315
3316 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
3317 target lacks support for awatch, rwatch, or hbreak.
3318
b67a2c6f
YQ
33192014-06-27 Yao Qi <yao@codesourcery.com>
3320
3321 * gdb.multi/dummy-frame-restore.exp: New.
3322 * gdb.multi/dummy-frame-restore.c: New.
3323
aef92902
MM
33242014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3325
3326 * gdb.btrace/gcore.exp: New.
3327
8e9db26e
PA
33282014-06-23 Pedro Alves <palves@redhat.com>
3329
3330 * gdb.base/watchpoint-reuse-slot.c: New file.
3331 * gdb.base/watchpoint-reuse-slot.exp: New file.
3332
70afc5b7
SC
33332014-06-23 Siva Chandra Reddy <sivachandra@google.com>
3334
3335 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
3336 progspace's filename in 'info', 'enable' and 'disable' command
3337 tests.
3338
b972bd9c
JK
33392014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3340
3341 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
3342 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3343 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
3344
125f8a3d
GB
33452014-06-20 Gary Benson <gbenson@redhat.com>
3346
3347 * gdb.arch/i386-avx.exp: Fix include file location.
3348 * gdb.arch/i386-sse.exp: Likewise.
3349
3ed9baed
IB
33502014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
3351
3352 * gdb.dlang/expression.exp: New file.
3353
034f788c
PA
33542014-06-19 Pedro Alves <palves@redhat.com>
3355
3356 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
3357 out from ...
3358 (top level): ... here. Iterate running tests under different
3359 scheduler-locking settings.
3360
45371d0c
LM
33612014-06-18 Luis Machado <lgustavo@codesourcery.com>
3362
3363 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
3364 to DW_FORM_addr and use non-zero addresses.
3365
5d376983
SC
33662014-06-18 Siva Chandra Reddy <sivachandra@google.com>
3367
3368 PR gdb/17017
3369 * gdb.python/py-xmethods.cc: Add global function call counters and
3370 increment them in their respective functions. Remove "cout"
3371 statements.
3372 * gdb.python/py-xmethods.exp: Make tests check the global function
3373 call counters instead of depending on inferior IO.
3374
a1aa2221
LM
33752014-06-18 Don Breazeal <donb@codesourcery.com>
3376
3377 * gdb.base/foll-fork.exp (default_fork_parent_follow):
3378 Deleted procedure.
3379 (explicit_fork_parent_follow): Deleted procedure.
3380 (explicit_fork_child_follow): Deleted procedure.
3381 (test_follow_fork): New procedure.
3382 (do_fork_tests): Replace calls to deleted procedures with
3383 calls to test_follow_fork and reset GDB for subsequent
3384 procedure calls.
3385
0fc05997
YQ
33862014-06-17 Yao Qi <yao@codesourcery.com>
3387
3388 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
3389 CP1252.
3390
70795c52
LM
33912014-06-17 Luis Machado <lgustavo@codesourcery.com>
3392
3393 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
3394 Initialize ptr and S explicitly.
3395 (skip_type_update_when_not_use_rtti_test): Likewise.
3396
6be47f0c
KS
33972014-06-16 Keith Seitz <keiths@redhat.com>
3398
3399 PR mi/15863
3400 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
3401 the inferior is started.
3402
d03de421
PA
34032014-06-16 Pedro Alves <palves@redhat.com>
3404
3405 * gdb.base/break-main-file-remove-fail.c: New file.
3406 * gdb.base/break-main-file-remove-fail.exp: New file.
3407 * gdb.base/break-unload-file.exp: Use build_executable instead of
3408 prepare_for_testing.
3409 (test_break): New parameter "initial_load". Handle it.
3410 (top level): Add initial_load cmdline/file axis.
3411
f9579b99
TT
34122014-06-12 Tom Tromey <tromey@redhat.com>
3413
3414 * gdb.base/completion.exp: Don't use directory name in test.
3415
3657956b
GB
34162014-06-09 Gary Benson <gbenson@redhat.com>
3417
3418 * gdb.base/sigall.c [Functions to send signals]: Reorder to
3419 separate the always-available ANSI-standard signals from the
3420 signals that require checking.
3421 (main): Likewise.
3422 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
3423 Likewise.
3424 (main): Likewise.
3425
4186eb54
KS
34262014-06-07 Keith Seitz <keiths@redhat.com>
3427
3428 Revert:
3429 PR c++/16253
3430 * gdb.cp/var-tag.cc: New file.
3431 * gdb.cp/var-tag.exp: New file.
3432 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3433 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3434 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3435 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3436
25326a28 34372014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
3438
3439 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
3440
829155c9
PA
34412014-06-06 Pedro Alves <palves@redhat.com>
3442
3443 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
3444 in target debug output instead of looking at RSP packets,
3445 disabling the test on any target that uses hardware stepping.
3446 Update comments.
3447
61c8d22e
PA
34482014-06-06 Pedro Alves <palves@redhat.com>
3449
3450 * gdb.base/break-unload-file.exp: Fix typo.
3451
d9a47287
YQ
34522014-06-06 Yao Qi <yao@codesourcery.com>
3453
3454 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
3455 from "jit_function" to "^jit_function".
3456
e5e01dbf
YQ
34572014-06-06 Yao Qi <yao@codesourcery.com>
3458
3459 * gdb.base/async.c (foo): Add one statement.
3460 * gdb.base/async.exp: Get the next instruction address and
3461 match the output of "nexti" by instruction address. Match
3462 the hex address in the output of "finish".
3463
73ba372c
GB
34642014-06-06 Gary Benson <gbenson@redhat.com>
3465
3466 * gdb.base/call-signals.c: Remove preprocessor conditionals
3467 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
3468 SIGSEGV and SIGTERM.
3469 * gdb.base/sigall.c: Likewise.
3470 * gdb.base/unwindonsignal.c: Likewise.
3471 * gdb.reverse/sigall-reverse.c: Likewise.
3472
831517df
YQ
34732014-06-06 Yao Qi <yao@codesourcery.com>
3474
3475 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
3476 readable, skip the test.
3477
b8b91e98
YQ
34782014-06-06 Yao Qi <yao@codesourcery.com>
3479
3480 * gdb.threads/staticthreads.c (thread_function): Move the line
3481 setting breakpoint on forward.
3482 * gdb.threads/staticthreads.exp: Update comments.
3483
fb934770
LC
34842014-06-05 Ludovic Courtès <ludo@gnu.org>
3485
3486 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
3487 "history-append! type error".
3488
6ef284bd
SM
34892014-06-05 Simon Marchi <simon.marchi@ericsson.com>
3490
3491 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
3492 erroneous dprintf expected input.
3493
a872e241
DE
34942014-06-04 Doug Evans <xdje42@gmail.com>
3495
3496 * gdb.guile/scm-generics.exp: Delete.
3497
16f691fb
DE
34982014-06-04 Doug Evans <xdje42@gmail.com>
3499
3500 * gdb.guile/scm-breakpoint.exp: Update.
3501 Add tests for breakpoint registration.
3502
012370f6
TT
35032014-06-04 Tom Tromey <tromey@redhat.com>
3504
3505 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
3506 VLA-in-union.
3507 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
3508 inner_vla_struct, vla_union types. Initialize objects of those
3509 types and compute their sizes.
3510
9f5a4cef
HZ
35112014-06-04 Nathan Sidwell <nathan@codesourcery.com>
3512 Hui Zhu <hui@codesourcery.com>
3513
3514 * gdb.base/fileio.exp: Add test for shell not available as well as
3515 available.
3516 * gdb.base/fileio.c (test_system): Check for shell twice.
3517
90a45c4d
YQ
35182014-06-04 Yao Qi <yao@codesourcery.com>
3519
3520 * gdb.base/auto-connect-native-target.exp: Remove redundant
3521 space from the regexp pattern.
3522
70017e41
YQ
35232014-06-04 Yao Qi <yao@codesourcery.com>
3524
3525 * gdb.base/default.exp: Replace "child" with "native" in
3526 regexp pattern.
3527
883964a7
SC
35282014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3529
3530 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
3531 * gdb.python/py-xmethods.exp: New tests to test xmethods.
3532 * gdb.python/py-xmethods.py: Python script supporting the
3533 new testcase and tests.
3534
ef370185
JB
35352014-06-03 Joel Brobecker <brobecker@adacore.com>
3536 Pedro Alves <palves@redhat.com>
3537
3538 PR breakpoints/17000
3539 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
3540 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
3541
1e2ccb61
BM
35422014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
3543
3544 * gdb.base/subst.exp: Add tests to verify partial path matching
3545 output.
3546
c6ec5ab2
PA
35472014-06-03 Pedro Alves <palves@redhat.com>
3548
3549 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
3550 target that doesn't use software single-stepping.
3551
835c559f
PA
35522014-06-03 Pedro Alves <palves@redhat.com>
3553
3554 PR breakpoints/17000
3555 * gdb.base/sss-bp-on-user-bp-2.c: New file.
3556 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
3557
06eb1586
DE
35582014-06-02 Doug Evans <xdje42@gmail.com>
3559
3560 * gdb.guile/scm-parameter.exp: New file.
3561
e698b8c4
DE
35622014-06-02 Doug Evans <xdje42@gmail.com>
3563
3564 * gdb.guile/scm-cmd.c: New file.
3565 * gdb.guile/scm-cmd.exp: New file.
3566
ded03782
DE
35672014-06-02 Doug Evans <xdje42@gmail.com>
3568
3569 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
3570 pretty-printer lookup.
3571 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
3572 (make-pp_s-printer): Call it.
3573 (make-pretty-printer-from-dict): New function.
3574 (lookup-pretty-printer-maker-from-dict): New function.
3575 (*pretty-printer*): Simplify.
3576 (make-objfile-pp_s-printer): New function.
3577 (install-objfile-pretty-printers!): New function.
3578 (make-progspace-pp_s-printer): New function.
3579 (install-progspace-pretty-printers!): New function.
3580 * gdb.guile/scm-progspace.c: New file.
3581 * gdb.guile/scm-progspace.exp: New file.
3582
41fac0cf
PA
35832014-06-02 Pedro Alves <palves@redhat.com>
3584
3585 * gdb.base/dprintf-bp-same-addr.c: New file.
3586 * gdb.base/dprintf-bp-same-addr.exp: New file.
3587
96ae5695
EBM
35882014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3589
3590 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
3591 * gdb.arch/powerpc-power.s: Likewise.
3592
da02b3a8
JB
35932014-06-02 Joel Brobecker <brobecker@adacore.com>
3594
3595 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
3596
c72b2e7b
YQ
35972014-06-01 Yao Qi <yao@codesourcery.com>
3598
3599 * gdb.base/watchpoint.exp (test_watch_location): Check null
3600 pointer can be dereferenced. If not, do the test, otherwise
3601 skip it.
3602
53e8a631
AB
36032014-05-30 Andrew Burgess <aburgess@broadcom.com>
3604
3605 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
3606 results.
3607 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
3608
938f0e2f
AB
36092014-05-30 Andrew Burgess <aburgess@broadcom.com>
3610
3611 * gdb.arch/amd64-invalid-stack-middle.S: New file.
3612 * gdb.arch/amd64-invalid-stack-middle.c: New file.
3613 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
3614 * gdb.arch/amd64-invalid-stack-top.c: New file.
3615 * gdb.arch/amd64-invalid-stack-top.exp: New file.
3616
9ba6657a
PA
36172014-05-30 Pedro Alves <palves@redhat.com>
3618
3619 PR breakpoints/17000
3620 * gdb.base/sss-bp-on-user-bp.c: New file.
3621 * gdb.base/sss-bp-on-user-bp.exp: New file.
3622
522c09bf
DB
36232014-05-30 David Blaikie <dblaikie@gmail.com>
3624
3625 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
3626 gnu_inline semantics via attribute.
3627 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
3628 source explicitly specifies the required semantics.
3629
bf4ef81e
MR
36302014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
3631
3632 * gdb.reverse/sigall-reverse.exp: Fix a typo.
3633
329ea579
PA
36342014-05-29 Pedro Alves <palves@redhat.com>
3635 Tom Tromey <tromey@redhat.com>
3636
3637 * gdb.base/async-shell.exp: Don't enable target-async.
3638 * gdb.base/async.exp
3639 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
3640 parameter. Adjust.
3641 (top level): Don't test with "target-async".
3642 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
3643 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
3644 * gdb.base/inferior-died.exp: Don't enable target-async.
3645 * gdb.base/interrupt-noterm.exp: Likewise.
3646 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
3647 * gdb.mi/mi-nonstop-exit.exp: Likewise.
3648 * gdb.mi/mi-nonstop.exp: Likewise.
3649 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
3650 * gdb.mi/mi-nsintrall.exp: Likewise.
3651 * gdb.mi/mi-nsmoribund.exp: Likewise.
3652 * gdb.mi/mi-nsthrexec.exp: Likewise.
3653 * gdb.mi/mi-watch-nonstop.exp: Likewise.
3654 * gdb.multi/watchpoint-multi.exp: Adjust comment.
3655 * gdb.python/py-evsignal.exp: Don't enable target-async.
3656 * gdb.python/py-evthreads.exp: Likewise.
3657 * gdb.python/py-prompt.exp: Likewise.
3658 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
3659 * gdb.server/solib-list.exp: Don't enable target-async.
3660 * gdb.threads/thread-specific-bp.exp: Likewise.
3661 * lib/mi-support.exp: Adjust to use mi-async.
3662
fd664c91
PA
36632014-05-29 Pedro Alves <palves@redhat.com>
3664
3665 PR gdb/13860
3666 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
3667 reason, even in sync mode.
3668
251bde03
PA
36692014-05-29 Pedro Alves <palves@redhat.com>
3670 Hui Zhu <hui@codesourcery.com>
3671
3672 PR PR15693
3673 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
3674 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
3675 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
3676 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
3677
7f3c0343
JB
36782014-05-28 Joel Brobecker <brobecker@adacore.com>
3679
3680 * config/monitor.exp (gdb_target_monitor): Replace use of
3681 "set remotebaud" by "set serial baud".
3682
b2715b27
AW
36832014-05-26 Andy Wingo <wingo@igalia.com>
3684
3685 * gdb.guile/scm-breakpoint.exp:
3686 * gdb.guile/scm-gsmob.exp: Update to use plain old object
3687 properties instead of gdb-object-properties.
3688
498a4489
YQ
36892014-05-26 Yao Qi <yao@codesourcery.com>
3690
3691 * gdb.server/no-thread-db.exp: Specify source file name
3692 explicitly when setting a breakpoint.
3693
589fdceb
MM
36942014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3695
3696 * gdb.btrace/vdso.c: New.
3697 * gdb.btrace/vdso.exp: New.
3698
e9089e05
MM
36992014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3700
3701 * gdb.base/gcore.exp (capture_command_output): Move ...
3702 * lib/gdb.exp (capture_command_output): ... here.
3703
67b5c0c1
MM
37042014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3705
3706 * gdb.btrace/data.exp: Test memory access during btrace replay.
3707
a2199296
SM
37082014-05-22 Simon Marchi <simon.marchi@ericsson.com>
3709
3710 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
3711
17b2616c
PA
37122014-05-21 Pedro Alves <palves@redhat.com>
3713
3714 PR gdb/13860
3715 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
3716 (top level): Test that output related to execution commands is
3717 sent to the console with CLI commands, but not with MI commands.
3718 Test that breakpoint events are always mirrored to the console.
3719 Also expect the new source line to be output after a "next" in
3720 async mode too. Make it a pass/fail test.
3721 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
3722 output.
3723 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
3724
5166082f
PA
37252014-05-21 Pedro Alves <palves@redhat.com>
3726
3727 * gdb.base/list.exp (build_pattern, test_list): New procedures.
3728 Use them to test variations of "list" after reaching a breakpoint.
3729 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
3730 Test "list" with listsize 10 after reaching a breakpoint.
3731 * gdb.python/python.exp (decode_line current location line
3732 number): Adjust expected line number.
3733
2f25d70f
SM
37342014-05-21 Simon Marchi <simon.marchi@ericsson.com>
3735
3736 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
3737 behavior for $args, pass it directly to "run".
3738
ff604a67
MR
37392014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3740
3741 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
3742 30000 to 65536.
3743
6a3cb8e8
PA
37442014-05-21 Pedro Alves <palves@redhat.com>
3745
3746 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
3747 auto-connect-native-target off".
3748 * gdb.base/auto-connect-native-target.c: New file.
3749 * gdb.base/auto-connect-native-target.exp: New file.
3750
4ebfc96e
PA
37512014-05-21 Pedro Alves <palves@redhat.com>
3752
3753 * gdb.base/default.exp: Test "target native" instead of "target
3754 child".
3755
36d46afb
MW
37562014-05-21 Mark Wielaard <mjw@redhat.com>
3757
3758 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3759
5876f503
JK
37602014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3761
3762 Fix TLS access for -static -pthread.
3763 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
3764 <HAVE_TLS> (thread_function, main): Initialize it.
3765 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
3766 Add clean_restart.
3767 <$have_tls != "">: Check TLSVAR.
3768
0256a6ac
PA
37692014-05-21 Pedro Alves <palves@redhat.com>
3770
3771 * gdb.base/dcache-line-read-error.c: New.
3772 * gdb.base/dcache-line-read-error.exp: New.
3773
936d2992
PA
37742014-05-20 Pedro Alves <palves@redhat.com>
3775
3776 * gdb.base/compare-sections.c: New file.
3777 * gdb.base/compare-sections.exp: New file.
3778
802e8e6d
PA
37792014-05-20 Pedro Alves <palves@redhat.com>
3780
3781 * gdb.base/break-idempotent.c: New file.
3782 * gdb.base/break-idempotent.exp: New file.
3783
e59fa00f
MM
37842014-05-20 Markus Metzger <markus.t.metzger@intel.com>
3785
3786 * gdb.btrace/nohist.exp: New.
3787
8b696e31
YQ
37882014-05-20 Yao Qi <yao@codesourcery.com>
3789
3790 * lib/gdb.exp (gdb_init): Set timeout if test file is under
3791 gdb.reverse directory and gdb_reverse_timeout exists in board
3792 setting.
3793 * README: Document gdb_reverse_timeout.
3794
73c9764f
YQ
37952014-05-20 Yao Qi <yao@codesourcery.com>
3796
3797 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
3798 'test_file_name'. Treat args as a string instead of a list.
3799 (gdb_init): Rename argument 'args' by 'test_file_name'.
3800
f1f4348a
JK
38012014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3802
3803 * gdb.arch/powerpc-power.exp: New file.
3804 * gdb.arch/powerpc-power.s: New file.
3805
0dbe70ce
DE
38062014-05-16 Doug Evans <dje@google.com>
3807
3808 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
3809 * gdb.base/completion.exp: Check that all expected files exist
3810 before doing file completion.
0dbe70ce 3811
8d551b02
DE
38122014-05-16 Doug Evans <dje@google.com>
3813
3814 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
3815 Update.
3816 (do_syscall_tests_without_xml): Update.
3817
73eb7709
PA
38182014-05-16 Pedro Alves <palves@redhat.com>
3819
3820 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
3821 instead of "unknown output after running".
3822
3fae92fc
YQ
38232014-05-16 Yao Qi <yao@codesourcery.com>
3824
3825 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
3826 file1.txt from host at the end.
3827 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3828
c2b2ccc5
DE
38292014-05-15 Doug Evans <dje@google.com>
3830
3831 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
3832 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
3833 loading file. Add test for TU lookup.
3834
8c217a4b
SM
38352014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3836
3837 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
3838 calling "-exec-arguments" or "set args" before running the
3839 inferior.
3840
3deb39c6
SM
38412014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3842
3843 * lib/mi-support.exp (mi_expect_stop): Expect message for
3844 inferiors that exit with non-zero exit code.
3845
71a79f8c
YQ
38462014-05-14 Yao Qi <yao@codesourcery.com>
3847
3848 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
3849 match absolute path on remote host.
3850 (test_file_list_exec_source_files): Remove "/" from the
3851 pattern.
3852
f23fcd46
YQ
38532014-05-14 Yao Qi <yao@codesourcery.com>
3854
3855 * boards/local-remote-host-notty.exp (${board}_file): New
3856 proc.
3857
9404b58f
KM
38582014-05-07 Kyle McMartin <kyle@redhat.com>
3859
3860 Pushed by Joel Brobecker <brobecker@adacore.com>.
3861 * gdb.arch/aarch64-atomic-inst.c: New file.
3862 * gdb.arch/aarch64-atomic-inst.exp: New file.
3863
5e45f04c
YQ
38642014-05-07 Yao Qi <yao@codesourcery.com>
3865
3866 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
3867 in current context" too.
3868
c888a17d
KS
38692014-05-05 Keith Seitz <keiths@redhat.com>
3870
3871 * gdb.linespec/ls-dollar.exp: Add test for linespec
3872 file:convenience_variable.
3873
290a839c
YQ
38742014-05-05 Yao Qi <yao@codesourcery.com>
3875
3876 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
3877 traceframes into tfile and ctf trace files. Read data from
3878 trace file and test collected data.
3879 (gdb_collect_locals_test): Likewise.
3880 (gdb_unavailable_registers_test): Likewise.
3881 (gdb_unavailable_floats): Likewise.
3882 (gdb_collect_globals_test): Likewise.
3883 (top-level): Append "ctf" to trace_file_targets if GDB
3884 supports.
3885
b5262cd0
YQ
38862014-05-05 Yao Qi <yao@codesourcery.com>
3887
3888 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
3889 code to ...
3890 (gdb_collect_args_test_1): ... it. New proc.
3891 (gdb_collect_locals_test): Move some code to ...
3892 (gdb_collect_locals_test_1): ... it. New proc.
3893 (gdb_unavailable_registers_test): Move some code to ...
3894 (gdb_unavailable_registers_test_1): ... it. New proc.
3895 (gdb_unavailable_floats): Move some code to ...
3896 (gdb_unavailable_floats_1): ... it. New proc.
3897
30a1e6cc
SDJ
38982014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3899
3900 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
3901 probes to test for bitness recognition.
3902 * gdb.arch/amd64-stap-optional-prefix.exp
3903 (test_probe_value_without_reg): New procedure.
3904 Add code to test for different kinds of bitness.
3905
f33da99a
SDJ
39062014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3907
3908 PR breakpoints/16889
3909 * gdb.arch/amd64-stap-optional-prefix.S: New file.
3910 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3911
5b80f00d
PA
39122014-05-01 Pedro Alves <palves@redhat.com>
3913
3914 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
3915 gdb_file_cmd if no file is specified.
3916 * boards/native-extended-gdbserver.exp (gdb_load): Use the
3917 last_loaded_file to set the remote exec-file.
3918
f8c2a73c
PA
39192014-05-01 Pedro Alves <palves@redhat.com>
3920
3921 * boards/local-remote-host.exp: New file.
3922
be6e8ac7
PA
39232014-05-01 Pedro Alves <palves@redhat.com>
3924
3925 * boards/local-remote-host.exp: Rename to ...
3926 * boards/local-remote-host-notty.exp: ... this.
3927
cac0dc8f
JB
39282014-04-28 Joel Brobecker <brobecker@adacore.com>
3929
3930 * gdb.ada/dyn_arrayidx: New testcase.
3931
9730e6cc
YQ
39322014-04-26 Yao Qi <yao@codesourcery.com>
3933
3934 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
3935 and compute the length of function main. Save it in
3936 $main_length.
3937 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
3938 (top-level): Use gdb_compile to compile objects into
3939 executable and restart GDB. Remove invocation to
3940 prepare_for_testing.
3941
7ae1a6a6
PA
39422014-04-25 Simon Marchi <simon.marchi@ericsson.com>
3943 Pedro Alves <palves@redhat.com>
3944
3945 PR server/16255
3946 * gdb.multi/multi-attach.c: New file.
3947 * gdb.multi/multi-attach.exp: New file.
3948
4082afcc
PA
39492014-04-25 Pedro Alves <palves@redhat.com>
3950
3951 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
3952 user.
3953 (top level): Test that "set remote conditional-breakpoints-packet
3954 off" works as intended.
3955 * gdb.base/dprintf.exp: Test that "set remote
3956 breakpoint-commands-packet off" works as intended.
3957 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
3958 New function.
3959 (top level): Call it.
3960 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
3961 remote fast-tracepoints-packet off" works as intended.
3962 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
3963 * lib/gdb.exp (gdb_is_target_remote): ... here.
3964
2abc3f8d
DB
39652014-04-24 David Blaikie <dblaikie@gmail.com>
3966
3967 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
3968 ensure clang would not discard them.
3969 * gdb.base/gdbvars.c: Ditto.
3970 * gdb.base/memattr.c: Ditto.
3971 * gdb.base/whatis.c: Ditto.
3972 * gdb.python/py-prettyprint.c: Ditto.
3973 * gdb.trace/actions.c: Ditto.
3974 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
3975 ensure clang would not discard it.
3976
bfd39632
DB
39772014-04-24 David Blaikie <dblaikie@gmail.com>
3978
3979 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
3980 clang to emit the full definition of type required by the test
3981 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
3982
22842ff6
DB
39832014-04-24 David Blaikie <dblaikie@gmail.com>
3984
3985 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
3986 coax Clang into emitting the definition of the type.
3987 * gdb.cp/pr10728-x.h (y): Ditto.
3988 * gdb.cp/pr10728-y.cc (y): Ditto.
3989
c2e827ad
DB
39902014-04-24 David Blaikie <dblaikie@gmail.com>
3991
3992 * gdb.base/label.exp: XFAIL label related tests under Clang.
3993 * gdb.cp/cplabel.exp: Ditto.
3994 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
3995 under Clang those using labels.
3996
4c2d33e7
YQ
39972014-04-25 Yao Qi <yao@codesourcery.com>
3998
3999 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
4000 double_label.
4001 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
4002 partial_label and double_label.
4003
56083b99
DB
40042014-04-24 David Blaikie <dblaikie@gmail.com>
4005
4006 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
4007
25d4e99d
DB
40082014-04-24 David Blaikie <dblaikie@gmail.com>
4009
4010 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
4011 of the function to work across GCC and Clang.
4012 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
4013 pointer types (const void ** const V void **).
4014
01f9f808
MS
40152014-04-24 Michael Sturm <michael.sturm@mintel.com>
4016 Walfred Tedeschi <walfred.tedeschi@intel.com>
4017
4018 * Makefile.in (EXECUTABLES): Added i386-avx512.
4019 * gdb.arch/i386-avx512.c: New file.
4020 * gdb.arch/i386-avx512.exp: Likewise.
4021
4b48d439
KS
40222014-04-23 Keith Seitz <keiths@redhat.com>
4023
4024 * lib/mi-support.exp (mi_list_breakpoints): Delete.
4025 (mi_make_breakpoint_table): New procedure.
4026 (mi_create_breakpoint): Use mi_make_breakpoint
4027 and return the result.
4028 (mi_make_breakpoint): New procedure.
4029 (mi_build_kv_pairs): New procedure.
4030
4031 * gdb.mi/mi-break.exp: Remove unused globals,
4032 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
4033 All callers updated.
4034 * gdb.mi/mi-dprintf.exp: Use variable to track command
4035 number.
4036 Update all callers of mi_create_breakpoint and use
4037 mi_make_breakpoint_table.
4038 Remove any unused global variables.
4039 * gdb.mi/mi-nonstop.exp: Likewise.
4040 * gdb.mi/mi-nsintrall.exp: Likewise.
4041 * gdb.mi/mi-nsmoribund.exp: Likewise.
4042 * gdb.mi/mi-nsthrexec.exp: Likewise.
4043 * gdb.mi/mi-reverse.exp: Likewise.
4044 * gdb.mi/mi-simplerun.exp: Likewise.
4045 * gdb.mi/mi-stepn.exp: Likewise.
4046 * gdb.mi/mi-syn-frame.exp: Likewise.
4047 * gdb.mi/mi-until.exp: Likewise.
4048 * gdb.mi/mi-var-cp.exp: Likewise.
4049 * gdb.mi/mi-var-display.exp: Likewise.
4050 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
4051 * gdb.mi/mi2-var-child.exp: Likewise.
4052 * gdb.mi/mi-vla-c99.exp: Likewise.
4053 * lib/mi-support.exp: Likewise.
4054
4055 From Ian Lance Taylor <iant@cygnus.com>:
4056 * lib/gdb.exp (parse_args): New procedure.
4057
08351840
PA
40582014-04-23 Pedro Alves <palves@redhat.com>
4059
4060 * gdb.base/break-unload-file.c: New file.
4061 * gdb.base/break-unload-file.exp: New file.
4062 * gdb.base/sym-file-lib.c (baz): New function.
4063 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
4064 field.
4065 (load): Store the segment's mapped size.
4066 (unload): New function.
4067 (unload_shlib): New function.
4068 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
4069 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
4070 set a breakpoint at baz, and call it.
4071 * gdb.base/sym-file.exp: New tests for stale breakpoint
4072 instructions.
4073
076855f9
PA
40742014-04-23 Pedro Alves <palves@redhat.com>
4075
4076 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
4077 * gdb.base/hbreak-in-shr-unsupported.c: New file.
4078 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
4079 * gdb.base/hbreak-unmapped.c: New file.
4080 * gdb.base/hbreak-unmapped.exp: New file.
4081 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
4082 * lib/gdb.exp (gdb_is_target_remote): ... here.
4083
483805cf
PA
40842014-04-22 Pedro Alves <palves@redhat.com>
4085
4086 * gdb.base/consecutive-step-over.c: New file.
4087 * gdb.base/consecutive-step-over.exp: New file.
4088
06d97543
PA
40892014-04-22 Pedro Alves <palves@redhat.com>
4090
4091 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
4092 instead of send_gdb/gdb_expect.
4093
b4429ea2
YQ
40942014-04-22 Yao Qi <yao@codesourcery.com>
4095
4096 * lib/trace-support.exp (generate_tracefile): New procedure.
4097 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
4098 return 0.
4099 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
4100 if generate_tracefile returns 1.
4101
51d48146
PA
41022014-04-18 Tom Tromey <palves@redhat.com>
4103 Pedro alves <tromey@redhat.com>
4104
4105 PR backtrace/15558
4106 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
4107 with a backtrace limit.
4108 * gdb.python/py-frame-inline.exp: Test running to an inline
4109 function with a backtrace limit, and printing the newest frame.
4110 * gdb.python/py-frame-inline.c (main): Call f.
4111
bd1dce5f
MS
41122014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
4113
4114 * gdb.java/jnpe.exp: Drop srcdir from untested path.
4115
40d1a503
MS
41162014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
4117
4118 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
4119 Drop prefix from unsupported source file path.
4120
389b98f7
YQ
41212014-04-17 Yao Qi <yao@codesourcery.com>
4122
4123 * lib/gdb.exp (with_target_charset): New proc.
4124 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
4125 with_target_charset.
4126 (test_print_strings): Likewise.
4127 (test_repeat_bytes): Likewise.
4128 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
4129 for some tests.
4130
22869d73
KS
41312014-04-16 Keith Seitz <keiths@redhat.com>
4132
4133 PR gdb/15827
4134 * gdb.dwarf2/corrupt.c: New file.
4135 * gdb.dwarf2/corrupt.exp: New file.
4136
c4f87ca6
KS
41372014-04-16 Keith Seitz <keiths@redhat.com>
4138
4139 PR c++/16597
4140 * gdb.cp/namelessclass.cc: New file.
4141 * gdb.cp/namelessclass.exp: New file.
4142 * gdb.cp/namelessclass.S: New file.
4143
ab19de87
DE
41442014-04-16 Doug Evans <dje@google.com>
4145
4146 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
4147 Add comment.
4148 (gdbserver_default_get_comm_port): New function.
4149 (gdbserver_start): Check if board file provided
4150 "gdbserver,get_comm_port" and use it if so.
4151 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
4152 (gdb,socketport): Set to "stdio".
4153 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
4154 (stdio_gdbserver_template): Delete.
4155 (${board}_get_remote_address): Update.
4156 (${board}_build_remote_cmd): Delete.
4157 (${board}_get_comm_port): New function.
4158 (${board}_spawn): Update.
4159 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
4160 Delete.
4161 (${board}_get_remote_address): Update.
4162 (${board}_get_comm_port): New function.
4163
fc98a809
AB
41642014-04-16 Andrew Burgess <aburgess@broadcom.com>
4165
4166 * gdb.base/memattr.exp: Improve regexps to handle memory regions
4167 appearing in any order.
4168
87fd9e6e
DE
41692014-04-15 Doug Evans <dje@google.com>
4170
4171 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
4172 uninitialized value of "description".
4173
099fc3ea
KS
41742014-04-15 Keith Seitz <keiths@redhat.com>
4175
4176 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
4177 Remove unused globals.
4178 (test_running_the_program): Likewise.
4179 (test_controlled_execution): Likewise.
4180 (test_controlling_breakpoints): Likewise.
4181 (test_program_termination): Likewise.
4182
5da151d4
KS
41832014-04-15 Keith Seitz <keiths@redhat.com>
4184
4185 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
4186 unused globals.
4187 (test_rbreak_creation_and_listing): Likewise.
4188 (test_ignore_count): Likewise.
4189 (test_error): Likewise.
4190
35e5d2f0
PA
41912014-04-15 Pedro Alves <palves@redhat.com>
4192
4193 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
4194 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
4195 sym-file-loader.c.
4196 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4197 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4198 to sym-file-loader.c.
4199 (struct library): Forward declare.
4200 (load_shlib, lookup_function): Change prototypes.
4201 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4202 (translate_offset): Remove declarations.
4203 (get_text_addr): New declaration.
4204 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
4205 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
4206 sym-file-loader.h.
4207 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4208 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4209 here from sym-file-loader.h.
4210 (struct library): New structure.
4211 (load_shlib, lookup_function): Change prototypes and adjust to
4212 work with a struct library.
4213 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4214 (translate_offset): Make static.
4215 (get_text_addr): New function.
4216 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
4217
eb4c1710
PA
42182014-04-15 Pedro Alves <palves@redhat.com>
4219
4220 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
4221
2d1baf52
PA
42222014-04-15 Pedro Alves <palves@redhat.com>
4223
4224 * gdb.base/sym-file-loader.c: Include <limits.h>.
4225 (SELF_LINK): New define.
4226 (get_origin): New function.
4227 (load_shlib): Use it.
4228 * gdb.base/sym-file.exp: Don't early return if the target is
4229 remote. Use runto_main, and issue fail is that fails. Use
4230 gdb_load_shlibs.
4231 (shlib_name): Delete.
4232 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
4233
7dd6df01
PA
42342014-04-15 Pedro Alves <palves@redhat.com>
4235
4236 * gdb.base/sym-file.exp: Remove regex characters from test
4237 message. Don't refer to breakpoint numbers in test messages.
4238
b50c8614
KS
42392014-04-14 Keith Seitz <keiths@redhat.com>
4240
4241 PR c++/16253
4242 * gdb.cp/var-tag.cc: New file.
4243 * gdb.cp/var-tag.exp: New file.
4244 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4245 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4246 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4247 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4248
3d567982
TT
42492014-04-14 Tom Tromey <tromey@redhat.com>
4250
4251 * gdb.cp/classes.exp (test_enums): Handle underlying type.
4252 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
4253 type.
4254 * gdb.cp/enum-class.exp: New file.
4255 * gdb.cp/enum-class.cc: New file.
4256
0626fc76
TT
42572014-04-14 Tom Tromey <tromey@redhat.com>
4258
4259 * gdb.dwarf2/enum-type.exp: New file.
4260
dca325b3
SA
42612014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4262
4263 * gdb.mi/mi-vla-c99.exp: New file.
4264 * gdb.mi/vla.c: New file.
4265
5854b38a
SA
42662014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4267
4268 * gdb.base/vla-datatypes.c: New file.
4269 * gdb.base/vla-datatypes.exp: New file.
4270
463bb957
SA
42712014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4272
4273 * gdb.base/vla-ptr.c: New file.
4274 * gdb.base/vla-ptr.exp: New file.
4275
3dd170be
SA
42762014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4277
4278 * gdb.dwarf2/count.exp: New file.
4279
5ecaaa66
SA
42802014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4281
4282 * gdb.base/vla-sideeffect.c: New file.
4283 * gdb.base/vla-sideeffect.exp: New file.
4284
41f1ada5
DB
42852014-04-14 David Blaikie <dblaikie@gmail.com>
4286
4287 * gdb.mi/non-stop.c: Add return value for non-void function return
4288 statement.
4289 * gdb.threads/staticthreads.c: Ditto.
4290
0be03e84
DE
42912014-04-12 Siva Chandra Reddy <sivachandra@google.com>
4292 Doug Evans <xdje42@gmail.com>
4293
4294 * gdb.guile/scm-value.c: Improve test case.
4295 * gdb.guile/scm-value.exp: Add new test.
4296
f180a1fb
DB
42972014-04-11 David Blaikie <dblaikie@gmail.com>
4298
4299 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
4300 override Clang's default.
4301
6b662e19
JB
43022014-04-11 Joel Brobecker <brobecker@adacore.com>
4303
4304 Revert the following changes (regressions):
4305
4306 * gdb.base/vla-sideeffect.c: New file.
4307 * gdb.base/vla-sideeffect.exp: New file.
4308
4309 * gdb.dwarf2/count.exp: New file.
4310
4311 * gdb.base/vla-multi.c: New file.
4312 * gdb.base/vla-multi.exp: New file.
4313
4314 * gdb.base/vla-ptr.c: New file.
4315 * gdb.base/vla-ptr.exp: New file.
4316
4317 * gdb.base/vla-datatypes.c: New file.
4318 * gdb.base/vla-datatypes.exp: New file.
4319
4320 * gdb.mi/mi-vla-c99.exp: New file.
4321 * gdb.mi/vla.c: New file.
4322
245a5f0b
KS
43232014-04-11 Keith Seitz <keiths@redhat.com>
4324
4325 PR c++/16675
4326 * gdb.cp/cpsizeof.exp: New file.
4327 * gdb.cp/cpsizeof.cc: New file.
4328
58a84dcf
SA
43292014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4330
191a8a90
JB
4331 * gdb.mi/mi-vla-c99.exp: New file.
4332 * gdb.mi/vla.c: New file.
58a84dcf 4333
c8655f75
SA
43342014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4335
4336 * gdb.base/vla-datatypes.c: New file.
4337 * gdb.base/vla-datatypes.exp: New file.
4338
024e13b4
SA
43392014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4340
4341 * gdb.base/vla-ptr.c: New file.
4342 * gdb.base/vla-ptr.exp: New file.
4343
1a237e0e
SA
43442014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4345
4346 * gdb.base/vla-multi.c: New file.
4347 * gdb.base/vla-multi.exp: New file.
4348
504f3432
SA
43492014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4350
4351 * gdb.dwarf2/count.exp: New file.
4352
3bce8237
SA
43532014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4354
191a8a90
JB
4355 * gdb.base/vla-sideeffect.c: New file.
4356 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 4357
322f9c21
YQ
43582014-04-11 Yao Qi <yao@codesourcery.com>
4359
4360 * gdb.base/completion.exp: Check file exists before running tests
4361 on file completion.
4362
d708bcd1
PA
43632014-04-10 Pedro Alves <palves@redhat.com>
4364
4365 * gdb.base/cond-eval-mode.c: New file.
4366 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
4367 prepare_for_testing to build the new file. Check result of
4368 runto_main.
4369 (test_break, test_watch): New procedures.
4370 (top level): Use them.
4371
ae1d2761
PM
43722014-04-08 Pierre Muller <muller@sourceware.org>
4373
4374 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
4375 Ctrl-V use for mingw hosts.
4376
7af389b8
SC
43772014-04-07 Siva Chandra Reddy <sivachandra@google.com>
4378
4379 * gdb.python/py-value.c: Improve test case.
4380 * gdb.python/py-value.exp: Add new test.
4381
5e703181
DE
43822014-04-07 David Blaikie <dblaikie@gmail.com>
4383
4384 * lib/compiler.c: Identify the clang compiler.
4385 * lib/compiler.cc: Ditto.
4386
9810b410
YQ
43872014-04-03 Yao Qi <yao@codesourcery.com>
4388
4389 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
4390
98d1b8dc
AB
43912014-04-01 Anton Blanchard <anton@samba.org>
4392
4393 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
4394 messages unique.
4395
3114cea1
AB
43962014-04-01 Anton Blanchard <anton@samba.org>
4397
4398 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
4399 prepare_for_testing.
4400
62f7182c
AB
44012014-04-01 Anton Blanchard <anton@samba.org>
4402
4403 * gdb.arch/ppc64-atomic-inst.c: Remove.
4404 * gdb.arch/ppc64-atomic-inst.S: New file.
4405 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
4406
770e7fc7
DE
44072014-03-31 Doug Evans <dje@google.com>
4408
4409 * gdb.base/print-symbol-loading-lib.c: New file.
4410 * gdb.base/print-symbol-loading-main.c: New file.
4411 * gdb.base/print-symbol-loading.exp: New file.
4412
46e2bafa
YQ
44132014-03-31 Yao Qi <yao@codesourcery.com>
4414
4415 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
4416
8776cfe9
JB
44172014-03-28 Joel Brobecker <brobecker@adacore.com>
4418
4419 * gdb.ada/mi_dyn_arr: New testcase.
4420
5d1ef361
DE
44212014-03-27 Doug Evans <dje@google.com>
4422
4423 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
4424
b5bee914
YQ
44252014-03-27 Yao Qi <yao@codesourcery.com>
4426
4427 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
4428 if target is nios2-*-*.
4429
0d4d0e77
YQ
44302014-03-26 Yao Qi <yao@codesourcery.com>
4431
4432 * lib/gdb.exp (readline_is_used): New proc.
4433 * gdb.base/completion.exp: Move tests on command complete up.
4434 Skip the rest of tests if readline is not used.
4435 * gdb.ada/complete.exp: Skp the test if readline is not
4436 used.
4437 * gdb.base/filesym.exp: Likewise.
4438 * gdb.base/macscp.exp: Likewise.
4439 * gdb.base/readline-ask.exp: Likewise.
4440 * gdb.base/readline.exp: Likewise.
4441 * gdb.python/py-cmd.exp: Likewise.
4442 * gdb.trace/tfile.exp: Likewise.
4443
29361eee
YQ
44442014-03-26 Yao Qi <yao@codesourcery.com>
4445
4446 * gdb.base/macscp.exp: Fix code format issues.
4447
bc9a5525
UW
44482014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
4449
4450 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
4451 * gdb.asm/powerpc64le.inc: New file.
4452
d3839ede
PA
44532014-03-25 Pedro Alves <palves@redhat.com>
4454 Doug Evans <dje@google.com>
4455
4456 * gdb.base/source-execution.c: New file.
4457 * gdb.base/source-execution.exp: New file.
4458 * gdb.base/source-execution.gdb: New file.
4459
01672a57
DE
44602014-03-24 Doug Evans <dje@google.com>
4461
4462 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
4463 using fission.
4464
88bbeca9
HZ
44652014-03-24 Hui Zhu <hui@codesourcery.com>
4466 Pedro Alves <palves@redhat.com>
4467
4468 PR breakpoints/16101
4469 * gdb.base/dprintf.exp: Use unsupported rather than changing the
4470 test pass/fail messages. Detect missing support for dprintf when
4471 breakpoints are actually inserted.
4472 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
4473 breakpoints are actually inserted.
4474 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
4475 fails.
4476
d2348791
JK
44772014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4478
4479 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
4480
feef67ab
DE
44812014-03-22 Doug Evans <xdje42@gmail.com>
4482
4483 * gdb.python/python.exp (python not supported): Verify multi-line
4484 python command issues an error.
25d743f9 4485 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 4486 guile command issues an error.
feef67ab 4487
ecebef6a
MR
44882014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
4489
4490 * gdb.threads/thread-specific.exp: Handle the lack of usable
4491 $this_breakpoint and $this_thread.
4492
ccdd1909
HZ
44932014-03-21 Hui Zhu <hui@codesourcery.com>
4494
4495 * gdb.base/attach.exp (do_command_attach_tests): New.
4496
beb460e8
PA
44972014-03-20 Tom Tromey <tromey@redhat.com>
4498 Pedro Alves <palves@redhat.com>
4499
4500 PR cli/15718
4501 * gdb.base/condbreak-call-false.c: New file.
4502 * gdb.base/condbreak-call-false.exp: New file.
4503
40acf43a
PA
45042014-03-20 Pedro Alves <palves@redhat.com>
4505
4506 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
4507 Delete.
4508 (block_signals, unblock_signals): Delete.
4509 (child_function_2, main): Remove references to deleted variable
4510 and functions.
4511
9f5e1e02
PA
45122014-03-20 Pedro Alves <palves@redhat.com>
4513
4514 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
4515 Use pthread_kill to signal thread 2.
4516 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4517 Adjust to make the test send itself a signal rather than using the
4518 host's "kill" command.
4519
99619bea
PA
45202014-03-20 Pedro Alves <palves@redhat.com>
4521
4522 * gdb.threads/multiple-step-overs.c: New file.
4523 * gdb.threads/multiple-step-overs.exp: New file.
4524 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4525 Adjust expected infrun debug output.
4526
2adfaa28
PA
45272014-03-20 Pedro Alves <palves@redhat.com>
4528
4529 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
4530 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
4531
31e77af2
PA
45322014-03-20 Pedro Alves <palves@redhat.com>
4533
4534 PR breakpoints/7143
4535 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
4536 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
4537 of gdb_test_multiple.
4538 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
4539 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
4540
b9f437de
PA
45412014-03-20 Pedro Alves <palves@redhat.com>
4542
4543 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
4544 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
4545
05adc73e
PA
45462014-03-19 Pedro Alves <palves@redhat.com>
4547
4548 * gdb.base/async.exp: Remove early return.
4549
6048b950
PA
45502014-03-19 Pedro Alves <palves@redhat.com>
4551
4552 * gdb.base/async.exp (step& tests): Pass explicit test messages.
4553
8bcfb00a
PA
45542014-03-19 Pedro Alves <palves@redhat.com>
4555
4556 * gdb.base/async.exp (test_background): Expect \r\n after
4557 "completed." in the fail pattern.
4558
884e37dc
PA
45592014-03-19 Pedro Alves <palves@redhat.com>
4560
4561 * gdb.base/async.exp (test_background): New procedure.
4562 Use it for all background execution command tests.
4563
148e57e2
PA
45642014-03-19 Pedro Alves <palves@redhat.com>
4565
4566 * gdb.base/async.exp: Use prepare_for_testing.
4567
f48088c7
PA
45682014-03-19 Pedro Alves <palves@redhat.com>
4569
4570 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
4571 the same line.
4572
e2f6c966
PA
45732014-03-19 Pedro Alves <palves@redhat.com>
4574
4575 * gdb.base/async.c (main): Add "jump here" and "until here" line
4576 marker comments.
4577 * gdb.base/async.exp (jump_here): New global.
4578 (jump& test): Use it.
4579 (until_here): New global.
4580 (until& test): Use it.
4581
c30568d4
PA
45822014-03-19 Pedro Alves <palves@redhat.com>
4583
4584 * gdb.base/async.exp: Don't frob gdb_protocol.
4585
0172b6a7
DE
45862014-03-18 Doug Evans <xdje42@gmail.com>
4587
4588 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
4589 Fix spelling of exec-done-display.
4590
06c868a8
JK
45912014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4592
4593 PR gdb/15358
4594 * gdb.base/gdb-sigterm.c: New file.
4595 * gdb.base/gdb-sigterm.exp: New file.
4596
0c7e1a46
PA
45972014-03-18 Pedro Alves <palves@redhat.com>
4598
4599 PR gdb/13860
4600 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
4601 * lib/mi-support.exp (mi_expect_stop): Add special handling for
4602 solib-event.
4603
f7c77d93
JB
46042014-03-17 Joel Brobecker <brobecker@adacore.com>
4605
4606 * gdb.ada/pckd_arr_ren: New testcase.
4607
5a1e8c7a
DE
46082014-03-13 Doug Evans <xdje42@gmail.com>
4609
4610 PR guile/16612
4611 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
4612 collect after discarding symbols.
4613
350e1a76
DE
46142014-03-13 Ludovic Courtès <ludo@gnu.org>
4615 Doug Evans <xdje42@gmail.com>
4616
4617 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
4618 to history survives a gc.
4619
a69900ae
PA
46202014-03-13 Pedro Alves <palves@redhat.com>
4621
4622 * gdb.base/default.exp: Don't test "target procfs".
4623
5db9f0bd
PA
46242014-03-13 Pedro Alves <palves@redhat.com>
4625
4626 * gdb.base/default.exp: Update "target child" and "target procfs"
4627 tests to not expect "Unix".
4628
b3ccfe11
TT
46292014-03-12 Tom Tromey <tromey@redhat.com>
4630
4631 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
4632 New procs. Add target-async tests.
4633 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
4634 Add target-async tests.
4635
646f4417
AA
46362014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4637
4638 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
4639 'func_start' and 'func_end' for the beginning and end of the
4640 function code, respectively.
4641 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
4642 'func_end' instead of 'func' and 'main'.
4643
288c211f
AA
46442014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4645
4646 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
4647 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
4648 generate the debug info assembler source.
4649
e0c0f156
AA
46502014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4651
4652 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
4653 * gdb.dwarf2/arr-subrange.exp: Likewise.
4654 * gdb.dwarf2/dwz.exp: Likewise.
4655 * gdb.dwarf2/method-ptr.exp: Likewise.
4656 * gdb.dwarf2/missing-sig-type.exp: Likewise.
4657 * gdb.dwarf2/subrange.exp: Likewise.
4658 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
4659 * gdb.dwarf2/implptrpiece.exp: Likewise.
4660 * gdb.dwarf2/nostaticblock.exp: Likewise.
4661
0e5c4555
AA
46622014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4663
4664 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
4665 directory to absolute path name arguments.
4666
5ec18f2b
JG
46672014-03-10 Joel Brobecker <brobecker@adacore.com>
4668
4669 * gdb.ada/tagged_access: New testcase.
4670
847fc4f2
MM
46712014-03-07 Markus Metzger <markus.t.metzger@intel.com>
4672
4673 * gdb.btrace/data.exp: Update expected output.
4674
cc3da688
YQ
46752014-03-06 Yao Qi <yao@codesourcery.com>
4676
4677 * gdb.trace/pr16508.exp: New file.
4678
0f26cec1
PA
46792014-03-05 Pedro Alves <palves@redhat.com>
4680
4681 PR gdb/16575
4682 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
4683 procedure.
4684 (top level): Adjust to use it. Add tests that exercise breakpoint
4685 interaction with the code-cache.
4686
7a5a839f
LC
46872014-02-26 Ludovic Courtès <ludo@gnu.org>
4688
4689 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
4690 test for 'history-append!'.
4691
31aa7e4e
JB
46922014-02-26 Joel Brobecker <brobecker@adacore.com>
4693
4694 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
4695 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
4696 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
4697 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
4698 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
4699 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
4700
1b588015
JB
47012014-02-26 Joel Brobecker <brobecker@adacore.com>
4702
4703 * testsuite/gdb.python/py-pp-re-notag.c: New file.
4704 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
4705 * testsuite/gdb.python/py-pp-re-notag.p: New file.
4706
55426c9d
JB
47072014-02-26 Joel Brobecker <brobecker@adacore.com>
4708
4709 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
4710
dc53a7ad
JB
47112014-02-26 Joel Brobecker <brobecker@adacore.com>
4712
4713 * gdb.dwarf2/arr-stride.c: New file.
4714 * gdb.dwarf2/arr-stride.exp: New file.
4715
12ab52e9
PA
47162014-02-26 Pedro Alves <palves@redhat.com>
4717
4718 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
4719 that won't ever trigger. Make sure that GDB reports the correct
4720 breakpoint that caused the stop.
4721
849c862e
JK
47222014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4723
4724 PR gdb/16626
4725 * gdb.base/auto-load-script: New file.
4726 * gdb.base/auto-load.c: New file.
4727 * gdb.base/auto-load.exp: New file.
4728
71b7d793
JK
4729 PR gdb/16626
4730 * gdb.base/auto-load.exp: Fix out-of-srctree run.
4731
e2f0d509
JK
47322014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4733
4734 Fix dw2-icycle.exp -fsanitize=address GDB crash.
4735 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
4736
50cc37c8
DE
47372014-02-24 Doug Evans <dje@google.com>
4738
4739 * lib/gdb.exp (run_on_host): Log error output if program fails.
4740
ea4758f2
PA
47412014-02-21 Pedro Alves <palves@redhat.com>
4742
4743 * gdb.threads/step-after-sr-lock.c: Rename to ...
4744 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
4745 * gdb.threads/step-after-sr-lock.exp: Rename to ...
4746 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4747 ... this.
4748
d7b30f67
SDJ
47492014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
4750
4751 PR tdep/16397
4752 * gdb.arch/amd64-stap-special-operands.exp: New file.
4753 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
4754 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
4755 * gdb.arch/amd64-stap-triplet.S: Likewise.
4756 * gdb.arch/amd64-stap-triplet.c: Likewise.
4757
83deb43f
JB
47582014-02-20 Joel Brobecker <brobecker@adacore.com>
4759
4760 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
4761 in .section pseudo-op.
4762
adde2bff
DE
47632014-02-20 lin zuojian <manjian2006@gmail.com>
4764 Joel Brobecker <brobecker@adacore.com>
4765 Doug Evans <xdje42@gmail.com>
4766
4767 PR symtab/16581
4768 * gdb.dwarf2/dw2-icycle.S: New file.
4769 * gdb.dwarf2/dw2-icycle.c: New file.
4770 * gdb.dwarf2/dw2-icycle.exp: New file.
4771
f7bd0f78
SC
47722014-02-19 Siva Chandra Reddy <sivachandra@google.com>
4773
4774 * gdb.python/py-value-cc.cc: Improve test case to enable testing
4775 operations on gdb.Value objects.
4776 * gdb.python/py-value-cc.exp: Add new test to test operations on
4777 gdb.Value objects.
4778
c17ef0d5
DE
47792014-02-18 Doug Evans <dje@google.com>
4780
4781 * Makefile.in (TESTS): New variable.
4782 (expanded_tests, expanded_tests_or_none): New variables
4783 (check-single): Pass $(expanded_tests_or_none) to runtest.
4784 (check-parallel): Only run tests in $(TESTS) if non-empty.
4785 (check/no-matching-tests-found): New rule.
4786 * README: Document TESTS makefile variable.
4787
5dd3176f
DE
47882014-02-18 Doug Evans <dje@google.com>
4789
4790 * Makefile.in (check-parallel): rm -rf outputs temp.
4791
0b10be4f
JK
47922014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4793
4794 Fix "ERROR: no fileid for" in the testsuite.
4795 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
4796
85f224e7
DE
47972014-02-12 Doug Evans <dje@google.com>
4798
4799 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
4800 (MISCELLANEOUS): New variable.
4801 (clean): rm -rf $(MISCELLANEOUS).
4802 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
4803 dwp live in the same directory as symlinks, with each symlink pointed
4804 to a differently named file in a different directory.
4805
149b30ff
DE
48062014-02-11 Doug Evans <dje@google.com>
4807
4808 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
4809 of Tcl file commands.
4810
1dfdac32
MK
48112014-02-10 Mark Kettenis <kettenis@gnu.org>
4812
4813 * gdb.threads/step-after-sr-lock.exp: Avoid executing
4814 "kill -SIGUSR1 -1".
4815
aa4fb036
JB
48162014-02-10 Joel Brobecker <brobecker@adacore.com>
4817
4818 * gdb.ada/tick_length_array_enum_idx: New testcase.
4819
ed3ef339
DE
48202014-02-10 Doug Evans <xdje42@gmail.com>
4821
4822 * configure.ac (AC_OUTPUT): Add gdb.guile.
4823 * configure: Regenerate.
4824 * lib/gdb-guile.exp: New file.
4825 * lib/gdb.exp (get_target_charset): New function.
4826 * gdb.base/help.exp: Update expected output from "apropos apropos".
4827 * gdb.guile/Makefile.in: New file.
4828 * gdb.guile/guile.exp: New file.
4829 * gdb.guile/scm-arch.c: New file.
4830 * gdb.guile/scm-arch.exp: New file.
4831 * gdb.guile/scm-block.c: New file.
4832 * gdb.guile/scm-block.exp: New file.
4833 * gdb.guile/scm-breakpoint.c: New file.
4834 * gdb.guile/scm-breakpoint.exp: New file.
4835 * gdb.guile/scm-disasm.c: New file.
4836 * gdb.guile/scm-disasm.exp: New file.
4837 * gdb.guile/scm-equal.c: New file.
4838 * gdb.guile/scm-equal.exp: New file.
4839 * gdb.guile/scm-error.exp: New file.
4840 * gdb.guile/scm-error.scm: New file.
4841 * gdb.guile/scm-frame-args.c: New file.
4842 * gdb.guile/scm-frame-args.exp: New file.
4843 * gdb.guile/scm-frame-args.scm: New file.
4844 * gdb.guile/scm-frame-inline.c: New file.
4845 * gdb.guile/scm-frame-inline.exp: New file.
4846 * gdb.guile/scm-frame.c: New file.
4847 * gdb.guile/scm-frame.exp: New file.
4848 * gdb.guile/scm-generics.exp: New file.
4849 * gdb.guile/scm-gsmob.exp: New file.
4850 * gdb.guile/scm-iterator.c: New file.
4851 * gdb.guile/scm-iterator.exp: New file.
4852 * gdb.guile/scm-math.c: New file.
4853 * gdb.guile/scm-math.exp: New file.
4854 * gdb.guile/scm-objfile-script-gdb.in: New file.
4855 * gdb.guile/scm-objfile-script.c: New file.
4856 * gdb.guile/scm-objfile-script.exp: New file.
4857 * gdb.guile/scm-objfile.c: New file.
4858 * gdb.guile/scm-objfile.exp: New file.
4859 * gdb.guile/scm-ports.exp: New file.
4860 * gdb.guile/scm-pretty-print.c: New file.
4861 * gdb.guile/scm-pretty-print.exp: New file.
4862 * gdb.guile/scm-pretty-print.scm: New file.
4863 * gdb.guile/scm-section-script.c: New file.
4864 * gdb.guile/scm-section-script.exp: New file.
4865 * gdb.guile/scm-section-script.scm: New file.
4866 * gdb.guile/scm-symbol.c: New file.
4867 * gdb.guile/scm-symbol.exp: New file.
4868 * gdb.guile/scm-symtab-2.c: New file.
4869 * gdb.guile/scm-symtab.c: New file.
4870 * gdb.guile/scm-symtab.exp: New file.
4871 * gdb.guile/scm-type.c: New file.
4872 * gdb.guile/scm-type.exp: New file.
4873 * gdb.guile/scm-value-cc.cc: New file.
4874 * gdb.guile/scm-value-cc.exp: New file.
4875 * gdb.guile/scm-value.c: New file.
4876 * gdb.guile/scm-value.exp: New file.
4877 * gdb.guile/source2.scm: New file.
4878 * gdb.guile/types-module.cc: New file.
4879 * gdb.guile/types-module.exp: New file.
4880
7026a7c1
YQ
48812014-02-10 Yao Qi <yao@codesourcery.com>
4882
4883 PR testsuite/16543
4884 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
4885 * configure: Regenerated.
4886 * Makefile.in: New file.
4887
6c466447
AS
48882014-02-08 Andreas Schwab <schwab@linux-m68k.org>
4889
4890 * gdb.python/py-framefilter.exp: Fix typo.
4891
6e854735
YQ
48922014-02-08 Yao Qi <yao@codesourcery.com>
4893
4894 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
4895 that no =breakpoint-modified is emitted when breakpoints are
4896 modified through MI commands.
4897
d137e6dc
PA
48982014-02-07 Pedro Alves <pedro@codesourcery.com>
4899 Pedro Alves <palves@redhat.com>
4900
4901 * gdb.threads/step-after-sr-lock.c: New file.
4902 * gdb.threads/step-after-sr-lock.exp: New file.
4903
b5ee5a50
PA
49042014-02-07 Pedro Alves <palves@redhat.com>
4905
4906 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
4907
3c77faf3
JK
49082014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4909
4910 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
4911 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
4912
6dddc817
DE
49132014-02-06 Doug Evans <xdje42@gmail.com>
4914
4915 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
4916 output.
4917
4918 * gdb.gdb/python-interrupts.exp: New file.
4919
de7b2893
YQ
49202014-02-05 Yao Qi <yao@codesourcery.com>
4921
4922 * gdb.trace/report.exp (use_collected_data): Test the output
4923 of "info threads" and "info inferiors".
4924
66d032ac
YQ
49252014-02-05 Yao Qi <yao@codesourcery.com>
4926
4927 Revert this patch:
4928
4929 2013-05-24 Yao Qi <yao@codesourcery.com>
4930
4931 * gdb.trace/tfile.exp: Test inferior and thread.
4932
591a12a1
UW
49332014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4934
4935 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
4936 on a function.
4937 * gdb.base/step-bt.c: Call hello via function pointer to make
4938 sure its first instruction is executed on powerpc64le-linux.
4939
0ff3e01f
UW
49402014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4941
4942 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
4943
084ee545
UW
49442014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4945
4946 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
4947 of the test patterns for use on little-endian systems.
4948
6ed14ff3
UW
49492014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4950
4951 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
4952 (decimal_vector): Fix for little-endian.
4953
401e27fd
JM
49542014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4955
4956 * gdb.arch/sparc-sysstep.exp: New file.
4957 * gdb.arch/sparc-sysstep.c: Likewise.
4958
4959 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
4960
8b924729
EBM
49612014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4962
4963 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
4964
fb151210
JB
49652014-01-23 Tom Tromey <tromey@redhat.com>
4966
4967 * gdb.ada/array_char_idx: New testcase.
4968
0740f8d8
TT
49692014-01-23 Tom Tromey <tromey@redhat.com>
4970
4971 PR python/16487:
4972 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
4973 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
4974 classes.
4975
21909fa1
TT
49762014-01-23 Tom Tromey <tromey@redhat.com>
4977
4978 PR python/16491:
4979 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
4980 string from an inferior frame.
4981 * gdb.python/py-framefilter-mi.exp: Update.
4982
87ce2a04
DE
49832014-01-22 Doug Evans <dje@google.com>
4984
4985 * gdb.server/server-mon.exp: Add tests for "set debug-format".
4986
237b092b
AA
49872014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4988
4989 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
4990
d674a709
AA
49912014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4992
4993 * gdb.trace/entry-values.exp: Remove excess space character from
4994 regex patterns. Handle s390 call instruction.
4995
20fa3390
AA
49962014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4997
4998 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
4999 define "*_start" label. Make "name" static.
5000 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
5001 ${name} by references to ${name}_start.
5002
78466714
AA
50032014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5004
5005 * gdb.base/info-macros.exp: Remove "debug" from the compile
5006 options.
5007
ec9f644a
IB
50082014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5009
5010 * gdb.dlang/demangle.exp: New file.
5011
94b1b47e
IB
50122014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5013
5014 * gdb.dlang/primitive-types.exp: New file.
5015
7f420862
IB
50162014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5017
5018 * configure.ac: Create gdb.dlang/Makefile.
5019 * configure: Regenerate.
5020 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
5021 * gdb.dlang/Makefile.in: New file.
5022 * lib/d-support.exp: New file.
5023 * lib/gdb.exp (skip_d_tests): New proc.
5024
52834460
MM
50252014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5026
5027 * gdb.btrace/delta.exp: Check reverse stepi.
5028 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
5029 * gdb.btrace/finish.exp: New.
5030 * gdb.btrace/next.exp: New.
5031 * gdb.btrace/nexti.exp: New.
5032 * gdb.btrace/record_goto.c: Add comments.
5033 * gdb.btrace/step.exp: New.
5034 * gdb.btrace/stepi.exp: New.
5035 * gdb.btrace/multi-thread-step.c: New.
5036 * gdb.btrace/multi-thread-step.exp: New.
5037 * gdb.btrace/rn-dl-bind.c: New.
5038 * gdb.btrace/rn-dl-bind.exp: New.
5039 * gdb.btrace/data.c: New.
5040 * gdb.btrace/data.exp: New.
5041 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
5042
6e07b1d2
MM
50432014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5044
5045 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
5046 * gdb.btrace/exception.exp: Update.
5047 * gdb.btrace/instruction_history.exp: Update.
5048 * gdb.btrace/record_goto.exp: Update.
5049 * gdb.btrace/tailcall.exp: Update.
5050 * gdb.btrace/unknown_functions.exp: Update.
5051 * gdb.btrace/delta.exp: New.
5052
0b722aec
MM
50532014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5054
5055 * gdb.btrace/record_goto.exp: Add backtrace test.
5056 * gdb.btrace/tailcall.exp: Add backtrace test.
5057
066ce621
MM
50582014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5059
5060 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
5061 * gdb.btrace/record_goto.c: New.
5062 * gdb.btrace/record_goto.exp: New.
5063 * gdb.btrace/x86-record_goto.S: New.
5064
0688d04e
MM
50652014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5066
5067 * gdb.btrace/function_call_history.exp: Update tests.
5068 * gdb.btrace/instruction_history.exp: Update tests.
5069
8710b709
MM
50702014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5071
5072 * gdb.btrace/function_call_history.exp: Fix expected field
5073 order for "record function-call-history".
5074 Add new tests for "record function-call-history /c".
5075 * gdb.btrace/exception.cc: New.
5076 * gdb.btrace/exception.exp: New.
5077 * gdb.btrace/tailcall.exp: New.
5078 * gdb.btrace/x86-tailcall.S: New.
5079 * gdb.btrace/x86-tailcall.c: New.
5080 * gdb.btrace/unknown_functions.c: New.
5081 * gdb.btrace/unknown_functions.exp: New.
5082 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
5083
5de9129b
MM
50842014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5085
5086 * gdb.btrace/instruction_history.exp: Update.
5087 * gdb.btrace/function_call_history.exp: Update.
5088
23a7fe75
MM
50892014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5090
5091 * gdb.btrace/function_call_history.exp: Fix expected function
5092 trace.
5093 * gdb.btrace/instruction_history.exp: Initialize traced.
5094 Remove traced_functions.
5095
724c7dd8
MM
50962014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5097
5098 * gdb.btrace/function_call_history.exp: Update
5099 * gdb.btrace/instruction_history.exp: Update.
5100
6d78d93b
MM
51012014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5102
5103 * gdb.btrace/enable.exp: Update expected text.
5104
93a360cc
OJ
51052014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
5106
5107 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
5108 bytes.
5109
3772b53f
MR
51102014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
5111
5112 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
5113
596662fa
OJ
51142014-01-15 Omair Javaid <omair.javaid@linaro.org>
5115
5116 * lib/gdb.exp (supports_process_record): Return true for
5117 arm*-linux*. (supports_reverse): Likewise.
5118
b5b08fb4
SC
51192014-01-13 Siva Chandra Reddy <sivachandra@google.com>
5120
5121 PR python/15464
5122 PR python/16113
5123 * gdb.python/py-type.c: Enhance test case.
5124 * gdb.python/py-value-cc.cc: Likewise
5125 * gdb.python/py-type.exp: Add new tests.
5126 * gdb.python/py-value-cc.exp: Likewise
5127
52d7fb13
AA
51282014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
5129 Pedro Alves <palves@redhat.com>
5130
5131 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
5132 Make "name" extern.
5133 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
5134 references to ${name}_start by references to ${name}.
5135
a2cd8cfe
JB
51362014-01-10 Joel Brobecker <brobecker@adacore.com>
5137
5138 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
5139
4e23fced
JB
51402014-01-10 Joel Brobecker <brobecker@adacore.com>
5141
5142 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
5143
c6a9e42c
PA
51442014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
5145 Pedro Alves <palves@redhat.com>
5146
5147 * gdb.mi/mi-info-os.exp: Connect to the target with
5148 mi_gdb_target_load.
5149
b7ea362b
PA
51502014-01-08 Pedro Alves <palves@redhat.com>
5151
5152 * gdb.threads/reconnect-signal.c: New file.
5153 * gdb.threads/reconnect-signal.exp: New file.
5154
5e3f4fab
EBM
51552014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5156
5157 * gdb.base/source-dir.exp: New file.
5158
79301218
JB
51592014-01-07 Joel Brobecker <brobecker@adacore.com>
5160
5161 * gdb.ada/mi_interface: New testcase.
5162
8e355c5d
JB
51632014-01-07 Joel Brobecker <brobecker@adacore.com>
5164
5165 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
5166 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
5167 gdb.ada/pp-rec-component/pck.ads: New files.
5168
c0d48811
JB
51692014-01-07 Joel Brobecker <brobecker@adacore.com>
5170
5171 * gdb.python/py-pp-integral.c: New file.
5172 * gdb.python/py-pp-integral.py: New file.
5173 * gdb.python/py-pp-integral.exp: New file.
5174
17b609c3 5175For older changes see ChangeLog-1993-2013.
c906108c 5176\f
8d8cb839
EZ
5177;; Local Variables:
5178;; mode: change-log
5179;; left-margin: 8
5180;; fill-column: 74
5181;; version-control: never
5182;; End:
902f2ccb 5183
32d0add0 5184 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
5185 Copying and distribution of this file, with or without modification,
5186 are permitted provided the copyright notice and this notice are preserved.