Add tab completion for TUI's "focus" command
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
2e52ae68
PP
12015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2
3 * gdb.base/completion.exp: Test the completion of the "focus"
4 command.
5
6e22494e
JK
62015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7
8 * gdb.arch/amd64-prologue-skip.S: New file.
9 * gdb.arch/amd64-prologue-skip.exp: New file.
10
bf7b9cd9
SM
112015-06-25 Simon Marchi <simon.marchi@ericsson.com>
12
13 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
14 is_address_zero_readable check.
15
201e8dfd
PB
162015-06-24 Peter Bergner <bergner@vnet.ibm.com>
17
18 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
19 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
20
5cd867b4
YQ
212015-06-24 Yao Qi <yao.qi@linaro.org>
22
23 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
24 linux targets.
25
4d7be007
YQ
262015-06-24 Yao Qi <yao.qi@linaro.org>
27
28 * lib/gdb.exp (supports_get_siginfo_type): New proc.
29 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
30 * gdb.base/siginfo-thread.exp: Likewise.
31
07fcd301
YQ
322015-06-22 Yao Qi <yao.qi@linaro.org>
33
34 * boards/remote-gdbserver-on-localhost.exp: Add comments.
35
52042a00
YQ
362015-06-22 Yao Qi <yao.qi@linaro.org>
37
38 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
39 aarch64*-*-*.
40 (skip_hw_watchpoint_tests): Likewise.
41
74bd41ce
PP
422015-06-18 Patrick Palka <patrick@parcs.ath.cx>
43
44 * gdb.base/gdbinit-history.exp: Test the interaction between
45 setting GDBHISTSIZE and setting the history size via .gdbinit.
46
bc460514
PP
472015-06-17 Patrick Palka <patrick@parcs.ath.cx>
48
49 PR gdb/16999
50 * gdb.base/gdbhistsize-history.exp: New test.
51
b58c513b
PP
522015-06-17 Patrick Palka <patrick@parcs.ath.cx>
53
54 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
55 with GDBHISTSIZE.
56 * gdb.base/readline.exp: Likewise.
57
92046791
YQ
582015-06-17 Yao Qi <yao.qi@linaro.org>
59
60 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
61 line.
62
2093d2d3
PP
632015-06-17 Patrick Palka <patrick@parcs.ath.cx>
64
65 * gdb.base/gdbinit-history.exp: Add test case to check that
66 an unlimited history file does not get truncated on exit.
67
e6c693af
AA
682015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
69
70 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
71 (VECTOR): New macro. Use it...
72 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
73 ...for these typedefs.
74 (int8, char1, int1, double1): New typedefs.
75 (struct just_int2, struct two_int2): New structures.
76 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
77 (add_structvecs, add_singlevecs): New functions.
78 (main): Call add_some_intvecs twice.
79 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
80 the compile and exit upon failure. Try compiling for the "native"
81 architecture. Test inferior function calls with vector arguments
82 and vector return value handling with "finish" and "return".
83
c74f7d1c
JT
842015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
85
86 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
87 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
88 PE file.
89 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
90
98aa42ee
AT
912015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
92
93 PR breakpoints/16465
94 * gdb.mi/mi-dprintf-pending.c: New file.
95 * gdb.mi/mi-dprintf-pending.exp: New test.
96 * gdb.mi/mi-dprintf-pendshr.c: New file.
97
7d73c23c
WT
982015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
99 Mircea Gherzan <mircea.gherzan@intel.com>
100
101 * gdb.arch/i386-mpx-map.c: New file.
102 * gdb.arch/i386-mpx-map.exp: New File.
103
1042015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
105
106 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
107 * gdb.arch/i386-mpx.exp: Indentation fixed.
108
1092015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
110
111 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
112 function and improved indentation.
113 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
114 gdb_test_multiple. Added additional tests to skip the test.
115
1162015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
117
118 * gdb.arch/i386-avx512.c: Change path in include file.
119 * gdb.arch/i386-avx512.exp: Change include dir path
120 compilation flag.
121 * gdb.arch/i386-mpx.c: Change path in include file.
122 * gdb.arch/i386-mpx.exp: Change include dir path compilation
123 flag.
124
d5eba19a
JK
1252015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
126
127 * gdb.compile/compile-print.exp (compile print *vararray@3)
128 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
129
7f361056
JK
1302015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
131
132 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
133 (do not keep jit in memory): ... this.
134 (expect 5): Change it to ...
135 (expect no 5): ... this.
136
3b462ec2
SM
1372015-06-02 Simon Marchi <simon.marchi@ericsson.com>
138
139 PR gdb/15564
140 * gdb.mi/mi-detach.exp: New file.
141
e0619de6
JK
1422015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
143
144 PR symtab/18392
145 * gdb.arch/amd64-tailcall-self.S: New file.
146 * gdb.arch/amd64-tailcall-self.c: New file.
147 * gdb.arch/amd64-tailcall-self.exp: New file.
148
e970cb34
DB
1492015-05-28 Don Breazeal <donb@codesourcery.com>
150
151 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
152 tests for remote targets by checking is_target_gdbserver.
153
b2e2f908
DE
1542015-05-27 Doug Evans <dje@google.com>
155
156 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
157 * gdb.dwarf2/opaque-type-lookup.c: New file.
158 * gdb.dwarf2/opaque-type-lookup.exp: New file.
159
82c7be31
DE
1602015-05-26 Doug Evans <dje@google.com>
161
162 * gdb.cp/iostream.cc: New file.
163 * gdb.cp/iostream.exp: New file.
164
b4f54984
DE
1652015-05-26 Doug Evans <dje@google.com>
166
167 * gdb.dwarf2/dw2-op-call.exp: Update.
168 * gdb.dwarf2/dw4-sig-types.exp: Update.
169 * gdb.dwarf2/implptr.exp: Update.
170 * gdb.mi/mi-cmd-param-changed.exp: Update.
171
4ea6efe9
DE
1722015-05-26 Doug Evans <dje@google.com>
173
174 * gdb.python/py-lazy-string.c: New file.
175 * gdb.python/py-lazy-string.exp: New file.
176 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
177 (main): Update. Add estring3.
178 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
179 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
180
f6bb7db3
YQ
1812015-05-26 Omair Javaid <omair.javaid@linaro.org>
182 Yao Qi <yao.qi@linaro.org>
183
184 * gdb.reverse/aarch64.c: New.
185 * gdb.reverse/aarch64.exp: New.
186
a81bfbd0
OJ
1872015-05-26 Omair Javaid <omair.javaid@linaro.org>
188
189 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
190 (supports_reverse): Likewise.
191
158bf1b4
PP
1922015-05-22 Patrick Palka <patrick@parcs.ath.cx>
193
194 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
195 Use with_test_prefix.
196
a0145030
AB
1972015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
198
199 * gdb.base/completion.exp: Add test for completion of layout
200 names.
201
ebe3b578
AB
2022015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
203
204 * lib/gdb.exp (skip_tui_tests): New proc.
205 * gdb.base/tui-layout.exp: Check skip_tui_tests.
206
84204ed7
PA
2072015-05-19 Pedro Alves <palves@redhat.com>
208
209 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
210 Save the whole env array instead of just HOME. Unset HISTSIZE in
211 the environment while testing. Restore whole environment
212 afterwards.
213
37442ce1
DE
2142015-05-16 Doug Evans <xdje42@gmail.com>
215
216 * gdb.guile/scm-ports.c: New file.
217 * gdb.guile/scm-ports.exp: Add memory port tests.
218
36de76f9
JK
2192015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
220
221 * gdb.compile/compile-print.c: New file.
222 * gdb.compile/compile-print.exp: New file.
223
3a9558c4
JK
2242015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
225
226 * gdb.compile/compile-ops.exp: Cast param to void.
227 * gdb.compile/compile.exp: Complete type for _gdb_expr.
228 (compile code struct_object.selffield = &struct_object): Add xfail.
229
aa715135
JG
2302015-05-15 Joel Brobecker <brobecker@adacore.com>
231
232 * gdb.ada/arr_enum_with_gap: New testcase.
233
931e5bc3
JG
2342015-05-15 Joel Brobecker <brobecker@adacore.com>
235
236 * gdb.ada/byte_packed_arr: New testcase.
237
9cd4d857
JB
2382015-05-15 Joel Brobecker <brobecker@adacore.com>
239
240 * gdb.ada/pckd_neg: New testcase.
241
ebfd00d2
PP
2422015-05-13 Patrick Palka <patrick@parcs.ath.cx>
243
244 PR gdb/17820
245 * gdb.base/gdbinit-history.exp: New test.
246 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
247 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
248
4c082a81
SC
2492015-05-09 Siva Chandra Reddy <sivachandra@google.com>
250
251 * gdb.python/py-xmethods.cc: Enhance test case.
252 * gdb.python/py-xmethods.exp: New tests.
253 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
254 function.
255 (B_indexoper): Likewise.
256 (global_dm_list) : Add new xmethod worker functions.
257
f7797074
SDJ
2582015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
259
260 * gdb.base/coredump-filter.exp: Correctly unset
261 "coredump_var_addr" array.
262
a4674e4e
PA
2632015-05-08 Pedro Alves <palves@redhat.com>
264
265 * gdb.server/non-existing-program.exp: Unset spawn_id.
266
df2eb078
SC
2672015-05-08 Siva Chandra Reddy <sivachandra@google.com>
268
269 PR python/18291
270 * gdb.python/py-xmethods.exp: Add tests.
271
422349a3
YQ
2722015-05-08 Yao Qi <yao.qi@linaro.org>
273
274 PR gdb/18208
275 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
276 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
277 function set_coredump_filter, and remove remote_exec call.
278 Remove argument ipid. Callers update.
279 (top level): Don't get inferior's PID.
280
63fc80ce
AA
2812015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
282
283 * gdb.base/watch_thread_num.exp: Skip test on targets without
284 access watchpoints.
285
80ad801e
PA
2862015-05-06 Pedro Alves <palves@redhat.com>
287
288 PR server/18081
289 * gdb.server/non-existing-program.exp: New file.
290
0fa7fe50
JB
2912015-05-05 Joel Brobecker <brobecker@adacore.com>
292
293 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
294
3ea89b92
PMR
2952015-05-05 Joel Brobecker <brobecker@adacore.com>
296
297 * gdb.ada/out_of_line_in_inlined: New testcase.
298
87b8eff0
JB
2992015-05-05 Joel Brobecker <brobecker@adacore.com>
300
301 * gdb.ada/var_rec_arr: New testcase.
302
5fccc635
YQ
3032015-04-30 Yao Qi <yao.qi@linaro.org>
304
305 * gdb.base/break-idempotent.exp: If
306 skip_hw_watchpoint_multi_tests returns true, skip the tests
307 on "rwatch" and "awatch".
308
42d38f42
YQ
3092015-04-30 Yao Qi <yao.qi@linaro.org>
310
311 * gdb.base/relativedebug.exp: Invoke gdb command
312 "info sharedlibrary", and if libc.so doesn't have debug info,
313 skip the test.
314
2ce1cdbf
DE
3152015-04-29 Doug Evans <dje@google.com>
316
317 * gdb.python/py-xmethods.exp: Add ptype tests.
318 * gdb.python/py-xmethods.py (E_method_char_worker): Add
319 get_result_type method.
320
f24a38c5
LM
3212015-04-29 Luis Machado <lgustavo@codesourcery.com>
322
323 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
324 the target does not support hardware watchpoints.
325
ecbf2b3c
LM
3262015-04-29 Luis Machado <lgustavo@codesourcery.com>
327
328 * gdb.base/break-always.exp: Abort testing if writing to memory
329 causes an error.
330
34f5f757
DE
3312015-04-28 Doug Evans <dje@google.com>
332
333 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
334 * gdb.python/py-pp-registration.exp: ... here. New file.
335 * gdb.python/py-pp-registration.c: New file.
336 * gdb.python/py-pp-registration.py: New file.
337
69b4374a
DE
3382015-04-28 Doug Evans <dje@google.com>
339
340 * gdb.python/py-bad-printers.c: New file.
341 * gdb.python/py-bad-printers.py: New file.
342 * gdb.python/py-bad-printers.exp: New file.
343
59fb7612
SS
3442015-04-28 Sasha Smundak <asmundak@google.com>
345
346 * gdb.python/py-type.exp: New test.
347
2631b16a
AW
3482015-04-28 Andy Wingo <wingo@igalia.com>
349
350 * gdb.python/py-parameter.exp:
351 * gdb.guile/scm-parameter.exp: Escape the path that we are
352 matching against, as it might contain characters that are special
353 to regular expressions.
354
460efde1
JB
3552015-04-27 Joel Brobecker <brobecker@adacore.com>
356
357 * gdb.ada/rec_comp: New testcase.
358
2d369d8e
SDJ
3592015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
360
361 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
362 before using it.
363
cf75d6c3
AB
3642015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
365
366 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
367 new tests for verilog output.
368
8dbe7ca5
YQ
3692015-04-24 Yao Qi <yao.qi@linaro.org>
370
371 * boards/remote-gdbserver-on-localhost.exp: New file.
372
4ef9fb2f
PA
3732015-04-23 Pedro Alves <palves@redhat.com>
374
375 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
376 $inferior_spawn_id instead of $inferior_spawn_id directly. On
377 "end of file", remove $inferior_spawn_id from the indirect list.
378
0a803169
PA
3792015-04-23 Pedro Alves <palves@redhat.com>
380
381 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
382
749ef8f8
PA
3832015-04-23 Pedro Alves <palves@redhat.com>
384
385 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
386 on $any_spawn_id instead of only on $gdb_spawn_id.
387
8aae4344
PM
3882015-04-21 Pierre Muller <muller@sourceware.org>
389
390 PR pascal/17815
391 * lib/pascal.exp (gpc_compile): Add new option "class".
392 (fpc_compile): Likewise.
393 * gdb.pascal/case-insensitive-symbols.pas: New file.
394 * gdb.pascal/case-insensitive-symbols.exp: New file.
395
1586c8fb
GB
3962015-04-20 Gary Benson <gbenson@redhat.com>
397
398 * gdb.base/attach.exp: Fix three extended remote failures.
399
1b6e6f5c
GB
4002015-04-17 Gary Benson <gbenson@redhat.com>
401
402 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
403 the main executable over the remote protocol.
404
e797481d
PA
4052015-04-16 Pedro Alves <palves@redhat.com>
406
407 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
408 a new gdbserver if gdbserver_reconnect_p is set.
409
1ca99c42
PA
4102015-04-16 Pedro Alves <palves@redhat.com>
411
412 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
413 is set, don't exit gdbserver.
414
af9fd6f8
AA
4152015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
416
417 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
418 appropriate .insn, such that an older assembler can be used.
419 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
420 the z/Architecture instruction set on 31-bit targets as well.
421
04ff1e61
AA
4222015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
423
424 * gdb.go/handcall.exp: Remove all logic related to the first
425 breakpoint and rely on go_runto_main instead.
426 * gdb.go/strings.exp: Likewise.
427 * gdb.go/unsafe.exp: Likewise.
428 * gdb.go/hello.exp: Likewise. Also rename the remaining
429 breakpoint marker to "breakpoint 1".
430 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
431 * gdb.go/strings.go: Likewise.
432 * gdb.go/unsafe.go: Likewise.
433 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
434 "set breakpoint 2 here" and rename the remaining breakpoint marker
435 to "breakpoint 1".
436
40d2f8d6
SM
4372015-04-15 Simon Marchi <simon.marchi@ericsson.com>
438
439 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
440 if itertools.imap is not present.
441 * gdb.python/py-objfile.exp: Add parentheses.
442 * gdb.python/py-type.exp: Same.
443 * gdb.python/py-unwind-maint.py: Same.
444
8cbc97c6
YQ
4452015-04-15 Yao Qi <yao.qi@linaro.org>
446
447 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
448 of ":$ptr_size" and set its form explicitly.
449
45fd756c
YQ
4502015-04-15 Pedro Alves <palves@redhat.com>
451 Yao Qi <yao.qi@linaro.org>
452
453 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
454 timeout by factor of 4.
455 (test_regular_watch): Likewise.
456 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
457 * gdb.reverse/sigall-reverse.exp: Likewise.
458 * gdb.reverse/until-precsave.exp: Likewise.
459 * lib/gdb.exp (with_timeout_factor): New proc.
460 (gdb_expect): Move some code to ...
461 (get_largest_timeout): ... here. New procedure.
462
9e811bc3
LM
4632015-04-14 Luis Machado <lgustavo@codesourcery.com>
464
465 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
466
0ff6fcb2
LM
4672015-04-13 Luis Machado <lgustavo@codesourcery.com>
468
469 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
470 to write to the .text section.
471
7578d5f7
LM
4722015-04-13 Luis Machado <lgustavo@codesourcery.com>
473
474 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
475 Handle the case of targets that do not provide PID information.
476
2efe15c4
YQ
4772015-04-13 Yao Qi <yao.qi@linaro.org>
478
479 * lib/gdbserver-support.exp (gdb_exit): Catch exception
480 and use expect instead of gdb_expect.
481
8cd8f2f8
SDJ
4822015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
483
484 * gdb.base/coredump-filter.exp: Rename variable "addr" to
485 "coredump_var_addr" to avoid naming conflict with other testcases.
486
9ee41772
PA
4872015-04-10 Pedro Alves <palves@redhat.com>
488
489 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
490 gdb_test_sequence and gdb_assert.
491
07473109
PA
4922015-04-10 Pedro Alves <palves@redhat.com>
493
494 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
495 test messages that don't include the breakpoint address.
496
de3db44c
YQ
4972015-04-10 Yao Qi <yao.qi@linaro.org>
498
499 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
500 false for some offset and width combinations which aren't
501 supported by linux kernel.
502
c79d856c
PA
5032015-04-10 Pedro Alves <palves@redhat.com>
504
505 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
506 procedure, factored out from ...
507 (top level): ... here. Add "set displaced-stepping" testing axis.
508 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
509 parameter "displaced". Use it.
510 (top level): Use foreach and add "set displaced-stepping" testing
511 axis.
512
ebc90b50
PA
5132015-04-10 Pedro Alves <palves@redhat.com>
514
515 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
516 Remove comment.
517 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
518 both the address of the instruction that triggers the watchpoint
519 and the address of the instruction immediately after, and use
520 those addresses for the test. Fix comment.
521
8f572e5c
PA
5222015-04-10 Pedro Alves <palves@redhat.com>
523
524 * gdb.base/sigstep.exp (breakpoint_to_handler)
525 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
526 Test "backtrace" in handler.
527 (breakpoint_over_handler): New parameter 'displaced'. Use it.
528 (top level): Add new "displaced" test axis to
529 breakpoint_to_handler, breakpoint_to_handler_entry and
530 breakpoint_over_handler.
531
8d707a12
PA
5322015-04-10 Pedro Alves <palves@redhat.com>
533
534 PR gdb/18216
535 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
536
ef713951
YQ
5372015-04-10 Yao Qi <yao.qi@linaro.org>
538
539 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
540 (test_add_rn_pc): New function.
541 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
542 (top level): Invoke test_add_rn_pc.
543
906d60cf
PA
5442015-04-10 Pedro Alves <palves@redhat.com>
545
546 PR gdb/13858
547 * gdb.base/step-over-no-symbols.exp: New file.
548
f2983cc3
AW
5492015-04-09 Andy Wingo <wingo@igalia.com>
550
551 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
552 after the Python tests.
553
6d62641c
SDJ
5542015-04-08 Keith Seitz <keiths@redhat.com>
555
556 PR python/16699
557 * gdb.python/py-completion.exp: New tests for completion.
558 * gdb.python/py-completion.py (CompleteLimit1): New class.
559 (CompleteLimit2): Likewise.
560 (CompleteLimit3): Likewise.
561 (CompleteLimit4): Likewise.
562 (CompleteLimit5): Likewise.
563 (CompleteLimit6): Likewise.
564 (CompleteLimit7): Likewise.
565
f3770638
PA
5662015-04-08 Pedro Alves <palves@redhat.com>
567
568 PR gdb/18214
569 PR gdb/18216
570 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
571 function.
572 (main): Install it as SIGUSR1 handler.
573 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
574 parameter. Always use "setup" as prefix. Toggle "set
575 displaced-stepping" off/on depending on global. Don't switch to
576 thread 1 here.
577 (top level): Add displaced stepping "off/on" test axis. Update
578 "setup" calls. Wrap each subtest with with_test_prefix. Test
579 continuing with a queued signal in each thread.
580
4496bed7
PA
5812015-04-08 Pedro Alves <palves@redhat.com>
582
583 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
584 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
585 gdb_breakpoint instead of gdb_test that doesn't expect anything.
586 Return early if running to main fails.
587 * gdb.trace/while-stepping.exp: Likewise.
588
b97fde92
PA
5892015-04-07 Pedro Alves <palves@redhat.com>
590
591 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
592 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
593 interact with inferior program.
594
f71c18e7
PA
5952015-04-07 Pedro Alves <palves@redhat.com>
596
597 * lib/gdb.exp (inferior_spawn_id): New global.
598 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
599 spawn id after processing the user code.
600 (default_gdb_start): Set inferior_spawn_id.
601 (send_inferior): New procedure.
602 * lib/gdbserver-support.exp (gdbserver_start): Set
603 inferior_spawn_id.
604 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
605
6423214f
PA
6062015-04-07 Pedro Alves <palves@redhat.com>
607
608 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
609 * lib/gdbserver-support.exp (gdbserver_start): Make
610 $server_spawn_id global.
611 (gdbserver_start): Don't wait for gdbserver's spawn id with
612 expect_background.
613 (close_gdbserver): New procedure.
614 (gdb_exit): Rename the default version and reimplement.
615
71c0ee8c
PA
6162015-04-07 Pedro Alves <palves@redhat.com>
617
618 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
619 append the substituted item, not the original item.
620
203bc29b
PA
6212015-04-07 Pedro Alves <palves@redhat.com>
622
623 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
624 gdb_expect.
625
508a3ddf
PA
6262015-04-07 Pedro Alves <palves@redhat.com>
627
628 * gdb.base/interrupt.exp: Don't handle the case of the inferior
629 output appearing once only.
630
9f6dbe2b
PA
6312015-04-07 Pedro Alves <palves@redhat.com>
632
633 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
634 that doesn't expect anything. Return early if running to main
635 fails.
636
337532fa
YQ
6372015-04-07 Yao Qi <yao.qi@linaro.org>
638
639 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
640 (child_function): Call alarm.
641 (main): Move call to alarm into the loop.
642 * gdb.threads/non-stop-fair-events.exp: Build program with
643 -DTIMEOUT=$timeout.
644
01b622d4
DE
6452015-04-06 Doug Evans <xdje42@gmail.com>
646
647 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
648 Fix dest parameter to board_info.
649 (fpc_compile): Ditto.
650 (gdb_compile_pascal): Rename dest arg to destfile.
651
961f4160
PMR
6522015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
653
654 * gdb.ada/funcall_ref.exp: New file.
655 * gdb.ada/funcall_ref/foo.adb: New file.
656
cafda597
YQ
6572015-04-02 Yao Qi <yao.qi@linaro.org>
658
659 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
660 is remote.
661
fed040c6
GB
6622015-04-02 Gary Benson <gbenson@redhat.com>
663
664 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
665
d11916aa
SS
6662015-04-01 Sasha Smundak <asmundak@google.com>
667
668 * gdb.python/py-unwind-maint.c: New file.
669 * gdb.python/py-unwind-maint.exp: New test.
670 * gdb.python/py-unwind-maint.py: New file.
671 * gdb.python/py-unwind.c: New file.
672 * gdb.python/py-unwind.exp: New test.
673 * gdb.python/py-unwind.py: New test.
674
a1471180
PA
6752015-04-01 Pedro Alves <palves@redhat.com>
676
677 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
678 to fail instead of non-existent $test.
679
0bbeccb1
PA
6802015-04-01 Pedro Alves <palves@redhat.com>
681
682 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
683 GDBFLAGS if not empty.
684
3c724c8c
PMR
6852015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
686
687 * gdb.ada/complete.exp: Remove "multi_line".
688 * gdb.ada/info_exc.exp: Remove "multi_line".
689 * gdb.ada/packed_tagged.exp: Remove "multi_line".
690 * gdb.ada/ptype_field.exp: Remove "multi_line".
691 * gdb.ada/sym_print_name.exp: Remove "multi_line".
692 * gdb.ada/tagged.exp: Remove "multi_line".
693 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
694 [multi_line ...]
695 * gdb.btrace/delta.exp: Likewise.
696 * gdb.btrace/exception.exp: Likewise.
697 * gdb.btrace/function_call_history.exp: Likewise.
698 * gdb.btrace/instruction_history.exp: Likewise.
699 * gdb.btrace/nohist.exp: Likewise.
700 * gdb.btrace/record_goto.exp: Likewise.
701 * gdb.btrace/segv.exp: Likewise.
702 * gdb.btrace/stepi.exp: Likewise.
703 * gdb.btrace/tailcall.exp: Likewise.
704 * gdb.btrace/unknown_functions.exp: Likewise.
705 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
706 * lib/gdb.exp: Add the "multi_line" helper.
707
4eec2deb
PA
7082015-04-01 Pedro Alves <palves@redhat.com>
709
710 * gdb.threads/tid-reuse.c: New file.
711 * gdb.threads/tid-reuse.exp: New file.
712
df8411da
SDJ
7132015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
714
715 PR corefiles/16092
716 * gdb.base/coredump-filter.c: New file.
717 * gdb.base/coredump-filter.exp: Likewise.
718
6ef37366
PM
7192015-03-27 Petr Machata <pmachata@redhat.com>
720
721 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
722 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
723 (Dwarf::assemble): Initialize them.
724 (Dwarf::lines): New function.
725
7ec911b0
JT
7262015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
727
728 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
729 SYMBOL_PREFIX for x86_64-*-cygwin.
730
ff908ebf
AW
7312015-03-26 Andy Wingo <wingo@igalia.com>
732
733 PR symtab/18148
734 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
735 const_value but not a location.
736 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
737 location defined in non-main CUs are visible.
738
6d5f0679
YQ
7392015-03-26 Yao Qi <yao.qi@linaro.org>
740
741 PR testsuite/18139
742 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
743 Add a line number entry for the same line.
744 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
745 Add a line number entry for the same line.
746
2898689b
YQ
7472015-03-26 Yao Qi <yao.qi@linaro.org>
748
749 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
750 .int 0.
751 (func): Likewise. Add .Lfunc_1 label.
752 Use .Lfunc_1 label.
753 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
754 .int 0.
755 (func): Likewise.
756 Use .Lfunc_1 label.
757
85180498
YQ
7582015-03-26 Yao Qi <yao.qi@linaro.org>
759
760 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
761 Call gdb_compile instead to compile each .s files without debug
762 information.
763
8aa08a8d
YQ
7642015-03-26 Yao Qi <yao.qi@linaro.org>
765
766 * gdb.base/savedregs.exp (process_saved_regs): Make
767 "Saved registers:" optional in the pattern.
768
66849923
MM
7692015-03-25 Markus Metzger <markus.t.metzger@intel.com>
770
771 * gdb.btrace/next.exp: Merged into step.exp.
772 * gdb.btrace/finish.exp: Merged into step.exp.
773 * gdb.btrace/nexti.exp: Merged into stepi.exp.
774 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
775 "record goto" and checking the exact replay position.
776 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
777 check for "Recording format" in "info record" output.
778 * gdb.btrace/record_goto.exp: Choose test file based on target.
779 * gdb.btrace/x86-record_goto.S: Renamed into ...
780 * gdb.btrace/x86_64-record_goto.S: ... this.
781 * gdb.btrace/i686-record_goto.S: New.
782 * gdb.btrace/x86-tailcall.S: Renamed into ...
783 * gdb.btrace/x86_64-tailcall.S: ... this.
784 * gdb.btrace/i686-tailcall.S: New.
785 * gdb.btrace/x86-tailcall.c: Renamed into ...
786 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
787 separate statements. Update test.
788 * gdb.btrace/delta.exp: Use record_goto.c as test file.
789 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
790 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
791 * gdb.btrace/tailcall.exp: Choose test file based on target.
792 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
793
11cc1b74
MM
7942015-03-25 Markus Metzger <markus.t.metzger@intel.com>
795
796 * gdb.btrace/exception.exp: Increase BTS buffer size.
797
a25d8bf9
PA
7982015-03-24 Pedro Alves <palves@redhat.com>
799
800 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
801
856e7dd6
PA
8022015-03-24 Pedro Alves <palves@redhat.com>
803
804 * gdb.threads/schedlock.exp (test_step): No longer expect that
805 "set scheduler-locking step" with "next" over a function call runs
806 threads unlocked.
807
ad235a41
AT
8082015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
809
810 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
811
15630549
AT
8122015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
813
814 PR breakpoints/16466
815 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
816 * gdb.mi/mi-pending.c (thread_func): New function.
817 (int main): Add threading support required.
818 * gdb.mi/mi-pending.exp: Add tests for this issue.
819 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
820 (pendfunc2): Remove stdio dependency.
821 * gdb.mi/mi-pendshr2.c: New file.
822
693dca06
KS
8232015-03-23 Keith Seitz <keiths@redhat.com>
824
825 * gdb.linespec/keywords.c: New file.
826 * gdb.linespec/keywords.exp: New file.
827
7e993ebf
KS
8282015-03-23 Keith Seitz <keiths@redhat.com>
829
830 PR gdb/18021
831 * gdb.dwarf2/staticvirtual.exp: New test.
832
bc23328c
JK
8332015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
834
835 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
836 * README: Remove HP-UX and gdb.hp.
837 (configuration):
838 * configure: Regenerate.
839 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
840 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
841 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
842 gdb.hp/gdb.defects/Makefile.
843 * gdb.hp/Makefile.in: File deleted.
844 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
845 * gdb.hp/gdb.aCC/optimize.c: File deleted.
846 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
847 * gdb.hp/gdb.aCC/run.c: File deleted.
848 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
849 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
850 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
851 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
852 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
853 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
854 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
855 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
856 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
857 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
858 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
859 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
860 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
861 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
862 * gdb.hp/gdb.base-hp/reg.s: File deleted.
863 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
864 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
865 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
866 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
867 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
868 * gdb.hp/gdb.compat/Makefile.in: File deleted.
869 * gdb.hp/gdb.compat/average.c: File deleted.
870 * gdb.hp/gdb.compat/sum.c: File deleted.
871 * gdb.hp/gdb.compat/xdb.c: File deleted.
872 * gdb.hp/gdb.compat/xdb0.c: File deleted.
873 * gdb.hp/gdb.compat/xdb0.h: File deleted.
874 * gdb.hp/gdb.compat/xdb1.c: File deleted.
875 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
876 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
877 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
878 * gdb.hp/gdb.defects/Makefile.in: File deleted.
879 * gdb.hp/gdb.defects/bs14602.c: File deleted.
880 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
881 * gdb.hp/gdb.defects/solib-d.c: File deleted.
882 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
883 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
884 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
885 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
886 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
887 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
888 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
889 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
890 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
891 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
892 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
893 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
894 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
895 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
896 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
897 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
898 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
899 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
900 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
901 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
902 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
903 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
904 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
905 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
906 * gdb.hp/tools/odump: File deleted.
907
8bf3b159
PA
9082015-03-19 Pedro Alves <palves@redhat.com>
909
910 * gdb.threads/continue-pending-status.exp (saw_thread_2)
911 (saw_thread_3): New globals.
912 (top level): Increment them when an event for the corresponding
913 thread is seen.
914 (no thread starvation): New test.
915
eb54c8bf
PA
9162015-03-19 Pedro Alves <palves@redhat.com>
917
918 * gdb.threads/continue-pending-status.c: New file.
919 * gdb.threads/continue-pending-status.exp: New file.
920
32d2e5d6
PA
9212015-03-18 Pedro Alves <palves@redhat.com>
922
923 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
924 Use gdb_is_target_remote instead of is_remote. Use
925 gdb_test_multiple instead of gdb_expect. Exit early if
926 gdb_test_multiple hits its internal matches. Tighten stepi tests
927 expected output. Fail on exit with any signal, instead of just
928 SIGILL.
929
f68f11b7
YQ
9302015-03-18 Yao Qi <yao.qi@linaro.org>
931
932 PR tdep/18107
933 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
934 variable.
935 * gdb.base/catch-syscall.exp: Don't skip it on
936 aarch64*-*-linux* target. Remove elements in all_syscalls.
937 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
938 target.
939 (setup_all_syscalls): New proc.
940
ca5fd19b
YQ
9412015-03-16 Yao Qi <yao.qi@linaro.org>
942
943 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
944 (top level): Skip tests if valid_addr_p returns false for
945 $cmd1 or $cmd2.
946
85642ba0
AW
9472015-03-11 Andy Wingo <wingo@igalia.com>
948
949 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
950
e03f9645
YQ
9512015-03-11 Yao Qi <yao.qi@linaro.org>
952
953 * gdb.base/catch-syscall.exp: Fix typo in comments.
954
5d0962b2
YQ
9552015-03-11 Yao Qi <yao.qi@linaro.org>
956
957 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
958
b2df3cef
PA
9592015-03-09 Pedro Alves <palves@redhat.com>
960
961 * dg-extract-results.py: Delete.
962
ef878e53
PA
9632015-03-09 Pedro Alves <palves@redhat.com>
964
965 Merge dg-extract-results.sh from GCC upstream (r218843).
966
967 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
968 * dg-extract-results.sh: Use --text with grep to avoid issues with
969 binary files. Fall back to cat -v, if that doesn't work.
970
9494d219
PA
9712015-03-05 Pedro Alves <palves@redhat.com>
972
973 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
974
a8d9763a
SM
9752015-03-04 Simon Marchi <simon.marchi@ericsson.com>
976
977 * lib/mi-support.exp (mi_expect_interrupt): Accept
978 alternative event for when in all-stop mode.
979
be9957b8
PA
9802015-03-04 Pedro Alves <palves@redhat.com>
981
982 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
983
d57be0f4 9842015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
985
986 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
987
c214c7cf
AA
9882015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
989
990 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
991 regexps for GDB's current line display, accept a hex address
992 preceding the line number.
993
6d74a497
AA
9942015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
995
996 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
997 the 'arch1' variable for "s390*-linux*" targets.
998
511aee7c
PA
9992015-03-04 Pedro Alves <palves@redhat.com>
1000
1001 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
1002 (main): Pass missing retval argument to pthread_join call.
1003
95e50b27
PA
10042015-03-02 Pedro Alves <palves@redhat.com>
1005
1006 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
1007 (top level): Call do_test with non-stop as well.
1008
28054d69
PA
10092015-03-02 Pedro Alves <palves@redhat.com>
1010
1011 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
1012 -1.
1013
4fa5d7b4
AA
10142015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1015
1016 * gdb.arch/s390-vregs.exp: New test.
1017 * gdb.arch/s390-vregs.S: New file.
1018
97c18565
PA
10192015-02-27 Pedro Alves <palves@redhat.com>
1020
1021 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
1022 call to catch_command_errors.
1023 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
1024 catch_command_errors.
1025
a37bfa30
PA
10262015-02-27 Pedro Alves <palves@redhat.com>
1027
1028 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
1029 "true" for boolean result.
1030 * gdb.gdb/selftest.exp (test_with_self): Also accept full
1031 prototype of main.
1032
6f98576f
PA
10332015-02-27 Pedro Alves <palves@redhat.com>
1034
1035 * lib/unbuffer_output.c: New file.
1036 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
1037 (main): Call gdb_unbuffer_output.
1038
eba5ab56
YQ
10392015-02-27 Yao Qi <yao.qi@linaro.org>
1040
1041 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
1042 target.
1043
0def5aaa
DE
10442015-02-26 Doug Evans <dje@google.com>
1045
1046 * gdb.cp/class2.cc (Dbase, D): New classes.
1047 (main): New local delta.
1048 * gdb.cp/class2.exp: Test printing delta.
1049 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
1050 (dynbar): New global.
1051 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
1052
081a1c2c
JK
10532015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1054
1055 * gdb.compile/compile-ifunc.c: New file.
1056 * gdb.compile/compile-ifunc.exp: New file.
1057
2f41223f
AT
10582015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
1059
1060 * gdb.base/structs.exp: Check for correct struct on finish.
1061
03eddd80
YQ
10622015-02-26 Yao Qi <yao.qi@linaro.org>
1063
1064 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
1065 is zero.
1066
80c57053
JK
10672015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1068
1069 * gdb.arch/cordic.ko.bz2: New file.
1070 * gdb.arch/cordic.ko.debug.bz2: New file.
1071 * gdb.arch/ppc64-symtab-cordic.exp: New file.
1072
21613c12
YQ
10732015-02-25 Yao Qi <yao.qi@linaro.org>
1074
1075 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
1076 aarch64*-*-* target.
1077
d8b901ed
PA
10782015-02-23 Pedro Alves <palves@redhat.com>
1079
1080 * lib/gdb.exp (delete_breakpoints): Rewrite using
1081 gdb_test_multiple.
1082
e5b85ead
PA
10832015-02-23 Pedro Alves <palves@redhat.com>
1084
1085 * gdb.base/info-os.c: Include stdlib.h.
1086
85c3a371
DE
10872015-02-22 Doug Evans <xdje42@gmail.com>
1088
1089 PR symtab/17855
1090 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
1091 is read after symbols have been re-read.
1092 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
1093 * gdb.ada/exec_changed/second.adb (Second): Ditto.
1094
96553a0c
DE
10952015-02-21 Doug Evans <dje@google.com>
1096
1097 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
1098
97a0c697
JK
10992015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1100
1101 PR corefiles/17808
1102 * gdb.arch/i386-biarch-core.core.bz2: New file.
1103 * gdb.arch/i386-biarch-core.exp: New file.
1104
a47cd6e9
PA
11052015-02-21 Pedro Alves <palves@redhat.com>
1106
1107 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
1108 runto_main fails.
1109
c5facdc4
PA
11102015-02-20 Pedro Alves <palves@redhat.com>
1111
1112 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
1113 info probes.
1114
2db9a427
PA
11152015-02-20 Pedro Alves <palves@redhat.com>
1116
1117 * gdb.threads/multi-create-ns-info-thr.exp: New file.
1118
60fb7e9e
PA
11192015-02-20 Pedro Alves <palves@redhat.com>
1120
1121 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
1122 clean_restart before gdb_target_supports_trace.
1123
5c5019c2
PA
11242015-02-20 Pedro Alves <palves@redhat.com>
1125
1126 PR threads/18006
1127 * gdb.threads/clone-thread_db.c: New file.
1128 * gdb.threads/clone-thread_db.exp: New file.
1129
c9587f88
AT
11302015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
1131
1132 PR breakpoints/16812
1133 * gdb.base/catch-gdb-caused-signals.c: New file.
1134 * gdb.base/catch-gdb-caused-signals.exp: New file.
1135
f6a88844
JM
11362015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
1137
1138 * configure: Regenerated.
1139 * configure.ac: Use GDB_AC_TRANSFORM.
1140 * aclocal.m4: sinclude ../transform.m4.
1141
497c491b
JM
11422015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1143
1144 * lib/dtrace.exp: New file.
1145 * gdb.base/dtrace-probe.exp: Likewise.
1146 * gdb.base/dtrace-probe.d: Likewise.
1147 * gdb.base/dtrace-probe.c: Likewise.
1148 * lib/pdtrace.in: Likewise.
1149 * configure.ac: Output variables with the transformed names of
1150 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
1151 * configure: Regenerated.
1152
03e98035
JM
11532015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1154
1155 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
1156 expected message when trying to access $_probe_* convenience
1157 variables while not on a probe.
1158
63cc30e9
JK
11592015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1160
1161 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
1162
0703599a
PA
11632015-02-11 Pedro Alves <pedro@codesourcery.com>
1164
1165 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
1166 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
1167
7e60a48e
DE
11682015-02-10 Doug Evans <xdje42@gmail.com>
1169
1170 * lib/gdb.exp (gdb_load): Always return a result.
1171
01b088bc
PA
11722015-02-10 Pedro Alves <palves@redhat.com>
1173
1174 * gdb.threads/signal-sigtrap.c: New file.
1175 * gdb.threads/signal-sigtrap.exp: New file.
1176
b05ec7a5
AT
11772015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
1178
1179 * gdb.trace/no-attach-trace.c: New file.
1180 * gdb.trace/no-attach-trace.exp: New file.
1181
a2c2acaf
MW
11822015-02-09 Mark Wielaard <mjw@redhat.com>
1183
1184 * gdb.dwarf2/atomic.c: New file.
1185 * gdb.dwarf2/atomic-type.exp: Likewise.
1186
31fd9caa
MM
11872015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1188
1189 * gdb.btrace/buffer-size.exp: Update "info record" output.
1190 * gdb.btrace/delta.exp: Update "info record" output.
1191 * gdb.btrace/enable.exp: Update "info record" output.
1192 * gdb.btrace/finish.exp: Update "info record" output.
1193 * gdb.btrace/instruction_history.exp: Update "info record" output.
1194 * gdb.btrace/next.exp: Update "info record" output.
1195 * gdb.btrace/nexti.exp: Update "info record" output.
1196 * gdb.btrace/step.exp: Update "info record" output.
1197 * gdb.btrace/stepi.exp: Update "info record" output.
1198 * gdb.btrace/nohist.exp: Update "info record" output.
1199
d33501a5
MM
12002015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1201
1202 * gdb.btrace/buffer-size: New.
1203
f4abbc16
MM
12042015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1205
1206 * gdb.btrace/delta.exp: Update "info record" output.
1207 * gdb.btrace/enable.exp: Update "info record" output.
1208 * gdb.btrace/finish.exp: Update "info record" output.
1209 * gdb.btrace/instruction_history.exp: Update "info record" output.
1210 * gdb.btrace/next.exp: Update "info record" output.
1211 * gdb.btrace/nexti.exp: Update "info record" output.
1212 * gdb.btrace/step.exp: Update "info record" output.
1213 * gdb.btrace/stepi.exp: Update "info record" output.
1214 * gdb.btrace/nohist.exp: Update "info record" output.
1215
b9d61307
SM
12162015-02-06 Simon Marchi <simon.marchi@ericsson.com>
1217
1218 PR gdb/15678
1219 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
1220
e584fdbc
PA
12212015-02-06 Pedro Alves <palves@redhat.com>
1222
1223 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
1224 macro.
1225 (seconds_left, again): New globals.
1226 (main): Wait seconds_left in a 1-second sleep loop instead of
1227 sleeping 180 seconds. If 'again' is set, reset the seconds
1228 counter.
1229 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
1230 'again' in the inferior before detaching. Print the seconds left.
1231 (options): New global.
1232 (top level): Build program with -DTIMEOUT=$timeout.
1233
77f41761
PA
12342015-02-06 Pedro Alves <palves@redhat.com>
1235
1236 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
1237 determine how many seconds to pass to 'alarm'.
1238 * gdb.base/gdb-sigterm.exp (top level): Build program with
1239 -DTIMEOUT=$timeout.
1240 (do_test): Return success/failure indication. Add more verbose
1241 logging. Don't fail if 200 single steps are seen. Instead, fail
1242 when the test times out.
1243 (passes): New global.
1244 (top level): Break the testing loop if testing fails on any
1245 iteration. Use gdb_assert.
1246
b9394193
DB
12472015-02-04 Don Breazeal <donb@codesourcery.com>
1248
1249 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
1250 and initialize them.
1251 (ipc_cleanup): New function.
1252 (main): Don't declare shmid, semid, and msqid. Add a call to
1253 atexit so that we call ipc_cleanup on exit.
1254
42d9e528
PA
12552015-02-04 Pedro Alves <palves@redhat.com>
1256
1257 * boards/native-extended-gdbserver.exp: Remove any target variant
1258 specifications from the board name before clearing the isremote
1259 flag from board_info.
1260
ae6ae975
DE
12612015-01-31 Doug Evans <xdje42@gmail.com>
1262
1263 * gdb.base/maint.exp <maint print type argc>: Update expected output.
1264
cfb069a8
GB
12652015-01-31 Gary Benson <gbenson@redhat.com>
1266
1267 * gdb.base/completion.exp: Disable completion limiting for
1268 existing tests. Add new tests to check completion limiting.
1269 * gdb.linespec/ls-errs.exp: Disable completion limiting.
1270
5dd31d79
DE
12712015-01-31 Doug Evans <xdje42@gmail.com>
1272
1273 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
1274
9f050062
DE
12752015-01-31 Doug Evans <xdje42@gmail.com>
1276
1277 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
1278 entries. Duplicate file section script entries.
1279 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
1280 inlined entries. Add test for safe-path rejection.
1281 * gdb.python/py-section-script.c: Add duplicate inlined section script
1282 entries. Duplicate file section script entries.
1283 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
1284 inlined entries. Add test for safe-path rejection.
1285
df25ebbd
JB
12862015-01-29 Joel Brobecker <brobecker@adacore.com>
1287
1288 * gdb.ada/disc_arr_bound: New testcase.
1289
4a0ca9ec
JB
12902015-01-29 Joel Brobecker <brobecker@adacore.com>
1291
1292 * gdb.ada/mi_var_array: New testcase.
1293
3a8b707a
DE
12942015-01-27 Doug Evans <dje@google.com>
1295
1296 * gdb.python/py-objfile.exp: Add tests for objfile.username.
1297 Add test for objfile.filename, objfile.username after objfile
1298 has been unloaded.
1299
f8313f6e
JB
13002015-01-26 Joel Brobecker <brobecker@adacore.com>
1301
1302 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
1303 the second test to print the name attribute of value
1304 returned by the call to gdb.lookup_type, and adjust
1305 the expected output accordingly.
1306
37bc665e
MW
13072015-01-25 Mark Wielaard <mjw@redhat.com>
1308
1309 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
1310 * gdb.base/disp-step-fork.c: Include unistd.h.
1311 * gdb.base/siginfo-obj.c: Include stdio.h.
1312 * gdb.base/siginfo-thread.c: Likewise.
1313 * gdb.mi/non-stop.c: Include unistd.h.
1314 * gdb.mi/nsthrexec.c: Include stdio.h.
1315 * gdb.mi/pthreads.c: Include unistd.h.
1316 * gdb.modula2/unbounded1.c (main): Declare returns int.
1317 * gdb.reverse/consecutive-reverse.c: Likewise.
1318 * gdb.threads/create-fail.c: Include unistd.h.
1319 * gdb.threads/killed.c: Likewise.
1320 * gdb.threads/linux-dp.c: Likewise.
1321 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
1322 * gdb.threads/non-ldr-exc-2.c: Likewise.
1323 * gdb.threads/non-ldr-exc-3.c: Likewise.
1324 * gdb.threads/non-ldr-exc-4.c: Likewise.
1325 * gdb.threads/pthreads.c: Include unistd.h.
1326 (main): Declare returns int.
1327 * gdb.threads/tls-main.c (foo): New declaration.
1328 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
1329
f7e5394d
SM
13302015-01-23 Simon Marchi <simon.marchi@ericsson.com>
1331
1332 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
1333 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
1334
743649fd
MW
13352015-01-15 Mark Wielaard <mjw@redhat.com>
1336
1337 * gdb.base/noreturn-return.c: New file.
1338 * gdb.base/noreturn-return.exp: New file.
1339 * gdb.base/noreturn-finish.c: New file.
1340 * gdb.base/noreturn-finish.exp: New file.
1341
198297aa
PA
13422015-01-23 Pedro Alves <palves@redhat.com>
1343
1344 * gdb.threads/continue-pending-after-query.c: New file.
1345 * gdb.threads/continue-pending-after-query.exp: New file.
1346
717cf30c
AG
13472015-01-22 Anders Granlund <anders.granlund@ericsson.com>
1348 Simon Marchi <simon.marchi@ericsson.com>
1349
1350 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
1351 * gdb.base/valgrind-db-attach.exp: Same.
1352 * gdb.base/valgrind-infcall.exp: Same.
1353 * lib/mi-support.exp (default_mi_gdb_start): Same.
1354 * lib/prompt.exp (default_prompt_gdb_start): Same.
1355 * lib/gdb.exp (default_gdb_spawn): Same.
1356 (gdb_interact): New.
1357
1358
4b62a76e
JK
13592015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1360
1361 * gdb.compile/compile.exp (pointer to jit function): New test.
1362
b4cdae6f
WW
13632015-01-17 Wei-cheng Wang <cole945@gmail.com>
1364
1365 * lib/gdb.exp (supports_process_record): Return true for
1366 powerpc*-*-linux*.
1367 (supports_reverse): Likewise.
1368
d221e7ef
DB
13692015-01-15 Don Breazeal <donb@codesourcery.com>
1370
1371 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
1372 instead of checking whether the target board is remote and
1373 use spawn_wait_for_attach instead of exec/sleep.
1374 * gdb.base/attach-twice.exp: Likewise.
1375
bafffb51
JB
13762015-01-15 Joel Brobecker <brobecker@adacore.com>
1377
1378 * gdb.ada/var_arr_attrs: New testcase.
1379
5589af0e
PA
13802015-01-14 Pedro Alves <palves@redhat.com>
1381 Joel Brobecker <brobecker@adacore.com>
1382
1383 PR gdb/17525
1384 * gdb.base/bp-cmds-execution-x-script.c: New file.
1385 * gdb.base/bp-cmds-execution-x-script.exp: New file.
1386 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
1387
6c400b59
PA
13882015-01-14 Pedro Alves <palves@redhat.com>
1389
1390 PR cli/17828
1391 * gdb.base/batch-preserve-term-settings.c: New file.
1392 * gdb.base/batch-preserve-term-settings.exp: New file.
1393
e02c96a7
DE
13942015-01-13 Doug Evans <dje@google.com>
1395
1396 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
1397 binary.
1398
576fd14c
JB
13992015-01-13 Joel Brobecker <brobecker@adacore.com>
1400
1401 * Makefile.in (clean mostlyclean): Do not delete *.py.
1402
04dccad0
JB
14032015-01-13 Joel Brobecker <brobecker@adacore.com>
1404
1405 * gdb.python/py-lookup-type.exp: New file.
1406
3d230f71
PA
14072015-01-12 Pedro Alves <palves@redhat.com>
1408
1409 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
1410 restore GDBFLAGS before returning.
1411
7e67715d
JK
14122015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1413
1414 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
1415 is_amd64_regs_target and is_x86_like_target.
1416
f2e0d4b4
DE
14172015-01-11 Doug Evans <xdje42@gmail.com>
1418
1419 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
1420 is given without an explicit form.
1421 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
1422 attributes.
1423 * gdb.dwarf/corrupt.exp: Ditto.
1424 * gdb.dwarf2/enum-type.exp: Ditto.
1425 * gdb.trace/entry-values.exp: Ditto.
1426 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
1427
439250fb
DE
14282015-01-11 Doug Evans <xdje42@gmail.com>
1429
1430 PR gdb/15830
1431 * gdb.base/maint.exp: Remove references to "maint demangle".
1432 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
1433 Add tests for explicitly specifying language to demangle.
1434 * gdb.dlang/demangle.exp: Ditto.
1435
ede9f622
PA
14362015-01-09 Pedro Alves <palves@redhat.com>
1437
1438 * gdb.threads/non-stop-fair-events.c: New file.
1439 * gdb.threads/non-stop-fair-events.exp: New file.
1440
a7b796db
PA
14412015-01-09 Pedro Alves <palves@redhat.com>
1442
1443 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
1444 the global scope. Set a breakpoint after all threads are started
1445 rather than stepping over two source lines. Expect the prompt.
1446 * gdb.base/watch_thread_num.c (threads_started_barrier): New
1447 global.
1448 (NUM): Now 15.
1449 (main): Use threads_started_barrier to wait for all threads to
1450 start. Main thread no longer calls thread_function. Exit after
1451 180 seconds.
1452 (loop): New function.
1453 (thread_function): Wait on threads_started_barrier barrier. Call
1454 'loop' at each iteration.
1455 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
1456 threads have started, instead of hardcoding number of "next"
1457 steps. Use an access watchpoint instead of a write watchpoint.
1458
9665ffdd
PA
14592015-01-09 Pedro Alves <palves@redhat.com>
1460
1461 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
1462 (thread_func): Wait on barrier.
1463 (main): Wait for all threads to start before stopping GDB.
1464 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
1465 global.
1466 (thread1_func, thread2_func): Wait on barrier.
1467 (main): Wait for all threads to start before stopping GDB.
1468 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
1469 New global.
1470 (thread1_func, thread2_func): Wait on barrier.
1471 (main): Wait for all threads to start before stopping GDB.
1472
c945a99f
PA
14732015-01-09 Pedro Alves <palves@redhat.com>
1474
1475 * gdb.threads/attach-many-short-lived-threads.c: New file.
1476 * gdb.threads/attach-many-short-lived-threads.exp: New file.
1477
c1a747c1
PA
14782014-01-09 Pedro Alves <palves@redhat.com>
1479
1480 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
1481 instead of to thread 2.
1482 * gdb.threads/signal-command-multiple-signals-pending.c (main):
1483 Add barrier around each pthread_create call instead of around all
1484 calls.
1485 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
1486 Set a break on thread_function and have the child threads hit it
1487 one at at a time.
1488
60b3033e
PA
14892015-01-09 Pedro Alves <palves@redhat.com>
1490
1491 * lib/gdb.exp (can_spawn_for_attach): New procedure.
1492 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
1493 false.
1494 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
1495 checking whether the target board is remote.
1496 * gdb.multi/multi-attach.exp: Likewise.
1497 * gdb.python/py-sync-interp.exp: Likewise.
1498 * gdb.server/ext-attach.exp: Likewise.
1499 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
1500 tests that need to attach, instead of checking whether the target
1501 board is remote at the top of the file.
1502
acc018ac
YQ
15032015-01-08 Yao Qi <yao@codesourcery.com>
1504
1505 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
1506
50a18af8
JK
15072015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1508
1509 Fix testcase compilation.
1510 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
1511
8503d6e1
JB
15122015-01-06 Joel Brobecker <brobecker@adacore.com>
1513
1514 * gdb.python/py-type.exp: Add a couple test about empty
1515 array creation, and negative-length array creation.
1516
cc73dbcc
DE
15172015-01-02 Doug Evans <xdje42@gmail.com>
1518
1519 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
1520
0300bbc7
DE
15212015-01-02 Doug Evans <dje@google.com>
1522
1523 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
1524
9d85a0ec
YQ
15252014-12-29 Yao Qi <yao@codesourcery.com>
1526
1527 * gdb.trace/entry-values.exp: Update comments. Rename variable
1528 bar_call_foo to returned_from_foo.
1529
87186c6a
MMN
15302014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
1531
1532 PR gdb/17394
1533 * gdb.linespec/break-asm-file.c: New file.
1534 * gdb.linespec/break-asm-file.exp: New file.
1535 * gdb.linespec/break-asm-file0.s: New file.
1536 * gdb.linespec/break-asm-file1.s: New file.
1537
1bab7383
YQ
15382014-12-18 Nigel Stephens <nigel@mips.com>
1539 Maciej W. Rozycki <macro@codesourcery.com>
1540
1541 * gdb.base/float.exp: Handle the new output from "info float" on
1542 MIPS targets.
1543
1bc1068a
JK
15442014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1545
1546 Fix MinGW compilation.
1547 * gdb.compile/compile-ops.exp: Update untested message if
1548 !skip_compile_feature_tests.
1549 * gdb.compile/compile-setjmp.exp: Likewise.
1550 * gdb.compile/compile-tls.exp: Likewise.
1551 * gdb.compile/compile.exp: Likewise.
1552 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
1553 supported on this host".
1554
b6615d10
DE
15552014-12-16 Doug Evans <xdje42@gmail.com>
1556
1557 * boards/stabs.exp: New file.
1558
25dda427
AA
15592014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
1560
1561 * gdb.base/completion.exp: Adjust to format changes of "maint
1562 print user-registers".
1563
bf330350
CU
15642014-12-16 Catalin Udma <catalin.udma@freescale.com>
1565
1566 PR server/17457
1567 * gdb.arch/aarch64-fp.c: New file.
1568 * gdb.arch/aarch64-fp.exp: New file.
1569
395cf596
SDJ
15702014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
1571
1572 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
1573 r210637, r210913, r211666, r215400, r215817).
1574
1575 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
1576 * dg-extract-results.py: New file.
1577 * dg-extract-results.sh: Use it if the environment seems
1578 suitable.
1579
1580 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
1581
1582 * dg-extract-results.py (parse_run): Handle warnings that
1583 are printed before a test harness is run.
1584
1585 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
1586
1587 * dg-extract-results.py (Named): Remove __cmp__ method.
1588 (output_variation): Use a key to sort variation.harnesses.
1589
1590 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
1591
1592 * dg-extract-results.py: For Python 3, force sys.stdout to
1593 handle surrogate escape sequences.
1594 (safe_open): New function.
1595 (output_segment, main): Use it.
1596
1597 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
1598
1599 * dg-extract-results.py (Prog.result_re): Include options
1600 in test name.
1601
1602 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
1603
1604 * dg-extract-results.py (output_variation): Always sort if
1605 do_sum.
1606
e882ef3c
SM
16072014-12-15 Simon Marchi <simon.marchi@ericsson.com>
1608
1609 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
1610 as long as we get pagination notifications.
1611
4992aa20
JM
16122014-12-15 Jason Merrill <jason@redhat.com>
1613
1614 * Makefile.in (check-gdb.%): Restore.
1615 * README: Mention it.
1616
c1b5a1a6
JB
16172014-12-13 Joel Brobecker <brobecker@adacore.com>
1618
1619 * gdb.ada/str_uninit: New testcase.
1620
5537b577
JK
16212014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1622
1623 PR symtab/17642
1624 * gdb.base/vla-stub-define.c: New file.
1625 * gdb.base/vla-stub.c: New file.
1626 * gdb.base/vla-stub.exp: New file.
1627
bb2ec1b3
TT
16282014-12-12 Phil Muldoon <pmuldoon@redhat.com>
1629 Jan Kratochvil <jan.kratochvil@redhat.com>
1630 Tom Tromey <tromey@redhat.com>
1631
1632 * configure.ac: Add gdb.compile/.
1633 * configure: Regenerate.
1634 * gdb.compile/Makefile.in: New file.
1635 * gdb.compile/compile-ops.exp: New file.
1636 * gdb.compile/compile-ops.c: New file.
1637 * gdb.compile/compile-tls.c: New file.
1638 * gdb.compile/compile-tls.exp: New file.
1639 * gdb.compile/compile-constvar.S: New file.
1640 * gdb.compile/compile-constvar.c: New file.
1641 * gdb.compile/compile-mod.c: New file.
1642 * gdb.compile/compile-nodebug.c: New file.
1643 * gdb.compile/compile-setjmp-mod.c: New file.
1644 * gdb.compile/compile-setjmp.c: New file.
1645 * gdb.compile/compile-setjmp.exp: New file.
1646 * gdb.compile/compile-shlib.c: New file.
1647 * gdb.compile/compile.c: New file.
1648 * gdb.compile/compile.exp: New file.
1649 * lib/gdb.exp (skip_compile_feature_tests): New proc.
1650
4ff709eb
TT
16512014-12-12 Tom Tromey <tromey@redhat.com>
1652
1653 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
1654 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
1655
6dddd6a5
DE
16562014-12-12 Doug Evans <dje@google.com>
1657
1658 * lib/gdb-python.exp (get_python_valueof): New function.
1659 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
1660
71c24708
AA
16612014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1662
1663 * gdb.base/completion.exp: Add test for completion of "info
1664 registers ".
1665
3e29f34a
MR
16662014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
1667
1668 * gdb.base/func-ptrs.c: New file.
1669 * gdb.base/func-ptrs.exp: New file.
1670
fc126975
SM
16712014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1672
1673 PR breakpoints/17012
1674 * gdb.base/dprintf-detach.c: New file.
1675 * gdb.base/dprintf-detach.exp: New file.
1676
0a46d518
SM
16772014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1678
1679 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
1680 * lib/gdb.exp (target_is_gdbserver): New procedure.
1681
a0be3e44
DE
16822014-12-08 Doug Evans <dje@google.com>
1683
1684 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
1685
df1b803a
YQ
16862014-12-05 Yao Qi <yao@codesourcery.com>
1687
1688 * gdb.guile/scm-error.exp: Remove the third argument to
1689 gdb_remote_download.
1690 * gdb.guile/scm-frame-args.exp: Likewise.
1691 * gdb.guile/scm-section-script.exp: Likewise.
1692
ddb9f679
YQ
16932014-12-05 Yao Qi <yao@codesourcery.com>
1694
1695 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
1696
86e4ed39
DE
16972014-12-04 Doug Evans <dje@google.com>
1698
1699 * gdb.python/py-objfile.exp: Add tests for
1700 objfile.add_separate_debug_file.
1701
7c50a931
DE
17022014-12-04 Doug Evans <dje@google.com>
1703
1704 * lib/gdb.exp (get_build_id): New function.
1705 (build_id_debug_filename_get): Rewrite to use it.
1706 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
1707
621661e3
MR
17082014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
1709
1710 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
1711 `method(long)', not just 0x0.
1712 * gdb.cp/nsalias.exp: Align code labels to 4.
1713 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
1714 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
1715 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
1716 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
1717 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
1718 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
1719
29f0c3b7
DE
17202014-12-02 Doug Evans <dje@google.com>
1721
e1e061e7 1722 PR symtab/17602
29f0c3b7 1723 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 1724 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
1725 * gdb.cp/anon-ns.exp: Update.
1726
162078c8
NB
17272014-12-02 Nick Bull <nicholaspbull@gmail.com>
1728
1729 * gdb.python/py-events.py (inferior_call_handler): New.
1730 (register_changed_handler, memory_changed_handler): New.
1731 (test_events.invoke): Register new handlers.
1732 * gdb.python/py-events.exp: Add tests for inferior call,
1733 memory_changed and register_changed events.
1734
fdb09caf
AA
17352014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1736
1737 * gdb.base/execl-update-breakpoints.exp: Specify the link address
1738 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
1739 if the linker doesn't understand this.
1740
55cfb2c4
SM
17412014-12-01 Simon Marchi <simon.marchi@ericsson.com>
1742
1743 * gdb.python/python.exp: Change expected reply to help().
1744
9e8cd6df
YQ
17452014-12-01 Yao Qi <yao@codesourcery.com>
1746
1747 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
1748 AC_CONFIG_SUBDIRS(gdb.gdbtk).
1749 * configure: Re-generated.
1750
6c659fc2
SC
17512014-11-28 Siva Chandra Reddy <sivachandra@google.com>
1752
1753 * gdb.cp/chained-calls.cc: New file.
1754 * gdb.cp/chained-calls.exp: New file.
1755 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
1756
d7fc3181
SM
17572014-11-28 Simon Marchi <simon.marchi@ericsson.com>
1758
1759 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
1760 * gdb.dwarf2/symtab-producer.exp: Same.
1761 * gdb.gdb/python-interrupts.exp: Same.
1762 * gdb.gdb/python-selftest.exp: Same.
1763 * gdb.python/py-linetable.exp: Same.
1764 * gdb.python/py-type.exp: Same.
1765 * gdb.python/py-value-cc.exp: Same.
1766 * gdb.python/py-value.exp: Same.
1767
10e79639
YQ
17682014-11-28 Yao Qi <yao@codesourcery.com>
1769
1770 * gdb.base/break-probes.exp: Match library name prefixed with
1771 sysroot.
1772
f28a0564
SM
17732014-11-27 Simon Marchi <simon.marchi@ericsson.com>
1774
1775 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
1776 test expected output. Add parentheses for the call to print.
1777 Remove L suffix from integers.
1778
3fe1ce1d
DE
17792014-11-26 Doug Evans <dje@google.com>
1780
1781 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
1782
84429e27
YQ
17832014-11-22 Yao Qi <yao@codesourcery.com>
1784
1785 * gdb.trace/entry-values.c: Remove asms.
1786 (foo): Add foo_label.
1787 (bar): Add bar_label.
1788 * gdb.trace/entry-values.exp: Remove code computing foo's
1789 length and bar's length.
1790 (Dwarf::assemble): Invoke function_range for bar and use
1791 MACRO_AT_func for foo.
1792
26741859
YQ
17932014-11-22 Yao Qi <yao@codesourcery.com>
1794
1795 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
1796 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
1797 Use .Lgcc43_procstart instead of gcc43.
1798
45e44d27
JB
17992014-11-21 Joel Brobecker <brobecker@adacore.com>
1800
1801 * gdb.ada/n_arr_bound: New testcase.
1802
458c8db8
SDJ
18032014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1804
1805 PR breakpoints/10737
1806 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
1807 test_catch_syscall_multi_arch.
1808 (test_catch_syscall_multi_arch): New function.
1809
43f3e411
DE
18102014-11-20 Doug Evans <xdje42@gmail.com>
1811
1812 * gdb.base/maint.exp: Update expected output.
1813
0d7b2549
AA
18142014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1815
1816 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
1817 4-byte instruction on S390.
1818
8908fca5
JB
18192014-11-19 Joel Brobecker <brobecker@adacore.com>
1820
1821 * gdb.ada/arr_arr: New testcase.
1822
4a46959e
JB
18232014-11-19 Joel Brobecker <brobecker@adacore.com>
1824
1825 * gdb.ada/pkd_arr_elem: New Testcase.
1826
470e2f4e
LM
18272014-11-18 Luis Machado <lgustavo@codesourcery.com>
1828
1829 * gdb.reverse/break-precsave: Expect completion message for
1830 core file reads.
1831 * gdb.reverse/consecutive-precsave.exp: Likewise.
1832 * gdb.reverse/finish-precsave.exp: Likewise.
1833 * gdb.reverse/i386-precsave.exp: Likewise.
1834 * gdb.reverse/machinestate-precsave.exp: Likewise.
1835 * gdb.reverse/sigall-precsave.exp: Likewise.
1836 * gdb.reverse/solib-precsave.exp: Likewise.
1837 * gdb.reverse/step-precsave.exp: Likewise.
1838 * gdb.reverse/until-precsave.exp: Likewise.
1839 * gdb.reverse/watch-precsave.exp: Likewise.
1840
a267f3ad
AA
18412014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1842
1843 * gdb.base/bp-permanent.c: Include unistd.h.
1844 * gdb.python/py-framefilter-mi.c (main): Add return type.
1845 * gdb.python/py-framefilter.c (main): Likewise.
1846 * gdb.trace/actions-changed.c (main): Likewise.
1847
12084a9a
AA
18482014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1849
1850 * gdb.mi/until.c: Add eye-catchers.
1851 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
1852 line numbers.
1853
dc7e1a77
AA
18542014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1855
1856 * gdb.base/condbreak.exp: Drop references to removed non-prototype
1857 function header variants in break1.c.
1858 * gdb.base/ena-dis-br.exp: Likewise.
1859 * gdb.base/hbreak2.exp: Likewise.
1860 * gdb.reverse/until-precsave.exp: Drop references to removed
1861 non-prototype function header variants in ur1.c.
1862 * gdb.reverse/until-reverse.exp: Likewise.
1863
41c77605
PM
18642014-11-17 Petr Machata <pmachata@redhat.com>
1865
1866 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
1867 ${_cu_offset_size} bytes abbrev offset.
1868
34248c3a
DE
18692014-11-15 Doug Evans <xdje42@gmail.com>
1870
1871 PR symtab/17559
1872 * gdb.base/line-symtabs.exp: New file.
1873 * gdb.base/line-symtabs.c: New file.
1874 * gdb.base/line-symtabs.h: New file.
1875
646da059
YQ
18762014-11-14 Yao Qi <yao@codesourcery.com>
1877
1878 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
1879 (func): Add label func_label.
1880 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
1881 Replace low_pc and high_pc with MACRO_AT_range.
1882 Replace name, low_pc and high_pc with MACRO_AT_func.
1883
9301ebe6
YQ
18842014-11-14 Yao Qi <yao@codesourcery.com>
1885
1886 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
1887 Replace name, low_pc and high_pc with MACRO_AT_func.
1888
f166b542
YQ
18892014-11-14 Yao Qi <yao@codesourcery.com>
1890
1891 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
1892 produce debug information.
1893 * gdb.dwarf2/implptr-optimized-out.S: Removed.
1894
0f6e71e3
YQ
18952014-11-14 Yao Qi <yao@codesourcery.com>
1896
1897 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
1898 object and get function length.
1899 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
1900 with MACRO_AT_func.
1901 (top-level): Replace gdb_compile and clean_restart with
1902 prepare_for_testing.
1903 * gdb.dwarf2/main.c (main): Add label main_label.
1904
876c4df9
YQ
19052014-11-14 Yao Qi <yao@codesourcery.com>
1906
1907 * lib/dwarf.exp (function_range): New procedure.
1908 (Dwarf::_handle_macro_at_func): New procedure.
1909 (Dwarf::_handle_macro_at_range): New procedure.
1910 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
1911
02ad9cf1
YQ
19122014-11-14 Yao Qi <yao@codesourcery.com>
1913
1914 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
1915 (_handle_attribute): New procedure.
1916
a59add0c
AA
19172014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1918
1919 * gdb.ada/cond_lang/foo.c (callme): Add return type.
1920 * gdb.base/call-sc.c (zed): Likewise.
1921 * gdb.base/checkpoint.c (main): Likewise.
1922 * gdb.base/dump.c (main): Likewise.
1923 * gdb.base/gcore.c (main): Likewise.
1924 * gdb.base/huge.c (main): Likewise.
1925 * gdb.base/multi-forks.c (main): Likewise.
1926 * gdb.base/pr10179-a.c (main): Likewise.
1927 * gdb.base/savedregs.c (main): Likewise.
1928 * gdb.base/sigaltstack.c (main): Likewise.
1929 * gdb.base/siginfo.c (main): Likewise.
1930 * gdb.base/structs.c (zed): Likewise.
1931 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
1932 * gdb.mi/mi-syn-frame.c (main): Likewise.
1933 * gdb.mi/until.c (foo, main): Likewise.
1934 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
1935 * gdb.base/solib-weak.c (foo): Declare.
1936 * gdb.base/attach-twice.c: Include stdio.h.
1937 * gdb.base/weaklib1.c: Likewise.
1938 * gdb.base/weaklib2.c: Likewise.
1939 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
1940 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
1941 unistd.h.
1942 * gdb.base/attach-pie-misread.c: Include stdlib.h.
1943 * gdb.mi/mi-exit-code.c: Likewise.
1944 * gdb.base/break-interp-lib.c: Include string.h.
1945 * gdb.base/coremaker.c: Likewise.
1946 * gdb.base/testenv.c: Likewise.
1947 * gdb.python/py-finish-breakpoint.c: Likewise.
1948 * gdb.base/inferior-died.c: Include sys/wait.h.
1949 * gdb.base/fileio.c: Include time.h.
1950 * gdb.base/async-shell.c: Include unistd.h.
1951 * gdb.base/dprintf-non-stop.c: Likewise.
1952 * gdb.base/info-os.c: Likewise.
1953 * gdb.mi/mi-console.c: Likewise.
1954 * gdb.mi/watch-nonstop.c: Likewise.
1955 * gdb.python/py-events.c: Likewise.
1956 * gdb.base/async.c (baz): Move up before its invocation.
1957 * gdb.base/code_elim2.c (my_global_func): Likewise.
1958 * gdb.base/skip-solib-lib.c (multiply): Likewise.
1959 * gdb.base/advance.c (func2): Likewise.
1960
3b5d5997
AA
19612014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1962
1963 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
1964 variant.
1965 * gdb.base/annota3.c: Likewise.
1966 * gdb.base/async.c: Likewise.
1967 * gdb.base/average.c: Likewise.
1968 * gdb.base/call-ar-st.c: Likewise.
1969 * gdb.base/call-rt-st.c: Likewise.
1970 * gdb.base/call-sc.c: Likewise.
1971 * gdb.base/call-strs.c: Likewise.
1972 * gdb.base/ending-run.c: Likewise.
1973 * gdb.base/execd-prog.c: Likewise.
1974 * gdb.base/exprs.c: Likewise.
1975 * gdb.base/foll-exec.c: Likewise.
1976 * gdb.base/foll-fork.c: Likewise.
1977 * gdb.base/foll-vfork.c: Likewise.
1978 * gdb.base/funcargs.c: Likewise.
1979 * gdb.base/gcore.c: Likewise.
1980 * gdb.base/jump.c: Likewise.
1981 * gdb.base/langs0.c: Likewise.
1982 * gdb.base/langs1.c: Likewise.
1983 * gdb.base/langs2.c: Likewise.
1984 * gdb.base/mips_pro.c: Likewise.
1985 * gdb.base/nodebug.c: Likewise.
1986 * gdb.base/opaque0.c: Likewise.
1987 * gdb.base/opaque1.c: Likewise.
1988 * gdb.base/recurse.c: Likewise.
1989 * gdb.base/run.c: Likewise.
1990 * gdb.base/scope0.c: Likewise.
1991 * gdb.base/scope1.c: Likewise.
1992 * gdb.base/setshow.c: Likewise.
1993 * gdb.base/setvar.c: Likewise.
1994 * gdb.base/shmain.c: Likewise.
1995 * gdb.base/shr1.c: Likewise.
1996 * gdb.base/shr2.c: Likewise.
1997 * gdb.base/sigall.c: Likewise.
1998 * gdb.base/signals.c: Likewise.
1999 * gdb.base/so-indr-cl.c: Likewise.
2000 * gdb.base/solib2.c: Likewise.
2001 * gdb.base/structs.c: Likewise.
2002 * gdb.base/sum.c: Likewise.
2003 * gdb.base/vforked-prog.c: Likewise.
2004 * gdb.base/watchpoint.c: Likewise.
2005 * gdb.reverse/shr2.c: Likewise.
2006 * gdb.reverse/until-reverse.c: Likewise.
2007 * gdb.reverse/ur1.c: Likewise.
2008 * gdb.reverse/watch-reverse.c: Likewise.
2009
066a77c5
AA
20102014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2011
2012 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
2013 variant.
2014 * gdb.base/sepdebug.exp: Drop references to removed code.
2015
4f204ea5
AA
20162014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2017
2018 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
2019 variant. Preserve original line numbering.
2020 * gdb.base/list1.c: Likewise.
2021
3b377a3a
AA
20222014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2023
2024 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
2025 variant.
2026 * gdb.base/break1.c: Likewise.
2027 * gdb.base/break.exp: Drop references to removed code.
2028
e444df73
AA
20292014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2030
2031 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
2032 variant.
2033
8008f2a7
AA
20342014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2035
2036 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
2037
a5a06887
AA
20382014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2039
2040 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
2041 logic into perform_all_tests() and invoke it with and without
2042 function header prototypes.
2043 (do_function_calls): Remove conditional XFAIL for PR 5318.
2044 (rerun_and_prepare): Remove duplicate code.
2045 (perform_all_tests): New. Main logic moved here.
2046
44dba9b9
AA
20472014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2048
2049 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
2050 code guarded by #ifdef NO_PROTOTYPES.
2051 (t_double_many_args): Likewise.
2052 (DEF_FUNC_MANY_ARGS_1): Likewise.
2053 (DEF_FUNC_VALUES_1): Likewise.
2054 (t_structs_ldc): Renamed from t_structs_fc in conditional code
2055 guarded by #ifdef PROTOTYPES.
2056
d1fbcd56
AA
20572014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2058
2059 * gdb.mi/mi-console.c: Add eye-catcher.
2060 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
2061 instead of literal line number.
2062
b0e59b8f
AA
20632014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2064
2065 * gdb.base/shr2.c: Add eye-catcher.
2066 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
2067 line number.
2068
78f98cca
AA
20692014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2070
2071 * gdb.base/jump.c: Add eye-catchers.
2072 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
2073 numbers.
2074
58fa2af0
AA
20752014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2076
2077 * gdb.base/execd-prog.c: Add eye-catchers.
2078 * gdb.base/foll-exec.c: Likewise.
2079 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
2080 line numbers.
2081
04e5059b
AA
20822014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2083
2084 * gdb.base/ending-run.c: Add eye-catchers.
2085 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
2086 literal line numbers.
2087
dbfdb174
AA
20882014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2089
2090 * gdb.base/call-rt-st.c: Add eye-catchers.
2091 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
2092 literal line numbers.
2093
888a2ade
AA
20942014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2095
2096 * gdb.base/call-ar-st.c: Add eye-catchers.
2097 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
2098 literal line numbers.
2099
6acc2dde
AA
21002014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2101
2102 * gdb.base/average.c: Add eye-catchers.
2103 * gdb.base/sum.c: Likewise.
2104 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
2105 regexps dynamically.
2106
9ecfcd1d
AA
21072014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2108
2109 * gdb.base/solib1.c: Add eye-catchers.
2110 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
2111 literal line numbers.
2112
78708b7c
PA
21132014-11-12 Pedro Alves <palves@redhat.com>
2114
2115 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
2116 leader has exited.
2117
af48d08f
PA
21182014-11-12 Pedro Alves <palves@redhat.com>
2119
2120 * gdb.arch/i386-bp_permanent.c: New file.
2121 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
2122 (srcfile): Set to i386-bp_permanent.c.
2123 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
2124 that stepi does not execute the 'leave' instruction, instead of
2125 testing it does execute.
2126 * gdb.base/bp-permanent.c: New file.
2127 * gdb.base/bp-permanent.exp: New file.
2128
af3768e9
DE
21292014-11-10 Doug Evans <xdje42@gmail.com>
2130
2131 PR symtab/17564
2132 * gdb.base/symtab-search-order.exp: New file.
2133 * gdb.base/symtab-search-order.c: New file.
2134 * gdb.base/symtab-search-order-1.c: New file.
2135 * gdb.base/symtab-search-order-shlib-1.c: New file.
2136
9de00a4a
PA
21372014-11-07 Pedro Alves <palves@redhat.com>
2138
2139 PR gdb/17511
2140 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
2141 i?86-*-linux*.
2142
e0f52461
SC
21432014-11-03 Siva Chandra Reddy <sivachandra@google.com>
2144
2145 PR c++/17494
2146 * gdb.cp/pr17494.cc: New file.
2147 * gdb.cp/pr17494.exp: New file.
2148
6ce8c980
YQ
21492014-11-02 Yao Qi <yao@codesourcery.com>
2150
2151 * gdb.python/python.exp: Get working directory and match the
2152 output of "set extended-prompt \\w " with it.
2153
02be9a71
DE
21542014-10-30 Doug Evans <dje@google.com>
2155
2156 * gdb.python/py-objfile.exp: Add tests for setting random attributes
2157 in objfiles.
2158 * gdb.python/py-progspace.exp: Add tests for setting random attributes
2159 in progspaces.
2160
3bdff46b
LM
21612014-10-30 Janis Johnson <janisjo@codesourcery.com>
2162
2163 * gdb.base/fullpath-expand.exp: Skip for a remote host.
2164 * gdb.base/realname-expand.exp: Likewise.
2165 * gdb.linespec/macro-relative.exp: Likewise.
2166
ab917dfb
PA
21672014-10-29 Pedro Alves <palves@redhat.com>
2168
2169 PR gdb/17408
2170 * gdb.threads/schedlock.c (some_function): New function.
2171 (call_function): New global.
2172 (MAYBE_CALL_SOME_FUNCTION): New macro.
2173 (thread_function): Call it.
2174 * gdb.threads/schedlock.exp (get_args): Add description parameter,
2175 and use it instead of a global counter. Adjust all callers.
2176 (get_current_thread): Use "find current thread" for test message
2177 here rather than having all callers pass down the same string.
2178 (goto_loop): New procedure, factored out from ...
2179 (my_continue): ... this.
2180 (step_ten_loops): Change parameter from test message to command to
2181 use. Adjust.
2182 (list_count): Delete global.
2183 (check_result): New procedure, factored out from duplicate top
2184 level code.
2185 (continue tests): Wrap in with_test_prefix.
2186 (test_step): New procedure, factored out from duplicate top level
2187 code.
2188 (top level): Test "step" in combination with all scheduler-locking
2189 modes. Test "next" in combination with all scheduler-locking
2190 modes, and in combination with stepping over a function call or
2191 not.
2192 * gdb.threads/next-bp-other-thread.c: New file.
2193 * gdb.threads/next-bp-other-thread.exp: New file.
2194
d3d4baed
PA
21952014-10-29 Pedro Alves <palves@redhat.com>
2196
2197 PR python/17372
2198 * gdb.python/python.exp: Test a multi-line command that spawns
2199 interactive Python.
2200 * gdb.base/multi-line-starts-subshell.exp: New file.
2201
563e8d85
YQ
22022014-10-29 Yao Qi <yao@codesourcery.com>
2203
2204 * gdb.base/fileio.exp: Make directories on host.
2205
0ea4d52e
YQ
22062014-10-29 Yao Qi <yao@codesourcery.com>
2207
2208 * gdb.base/fileio.c (test_write): Close the file.
2209
7f5ef605
PA
22102014-10-28 Pedro Alves <palves@redhat.com>
2211
2212 PR gdb/12623
2213 * gdb.base/sigstep.c (no_handler): New global.
2214 (main): If 'no_handler is true, set the signal handlers to
2215 SIG_IGN.
2216 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
2217 with_sw_watch and no_handler parameters. Handle them.
2218 (top level) <stepping over handler when stopped at a breakpoint
2219 test>: Add a test axis for testing with a software watchpoint, and
2220 another for testing with the signal handler set to SIG_IGN.
2221 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
2222 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
2223
abbdbd03
PA
22242014-10-28 Pedro Alves <palves@redhat.com>
2225
2226 PR gdb/17511
2227 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
2228 * gdb.base/sigstep.exp (other_handler_location): New global.
2229 (advance): Support stepping into the signal handler, and running
2230 commands while in the handler.
2231 (in_handler_map): New global.
2232 (top level): In the advance test, add combinations for getting
2233 into the handler with stepping commands, and for running commands
2234 in the handler. Add comment descripting the advancei tests.
2235
1df4399f
PA
22362014-10-28 Pedro Alves <palves@redhat.com>
2237
2238 * gdb.base/sigstep.exp: Use build_executable instead of
2239 prepare_for_testing.
2240 (top level): Move code that starts GDB, runs to main and creates a
2241 display to ...
2242 (restart): ... this new procedure.
2243 (top level): Move backtrace from signal handler test to ...
2244 (validate_backtrace): ... this new procedure.
2245 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
2246 with_test_prefix. Always restart GDB.
2247 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
2248 with_test_prefix. Always restart GDB. No need to delete
2249 breakpoints after the test.
2250 (test_skip_handler): Remove prefix parameter.
2251 (skip_over_handler, breakpoint_to_handler)
2252 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
2253 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
2254 restart GDB. No need to delete breakpoints after the test.
2255 (top level): Use foreach to call the test procedures with
2256 different commands.
2257
a5b6e449
PA
22582014-10-28 Pedro Alves <palves@redhat.com>
2259
2260 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
2261 instead of GNATS numbers.
2262 * gdb.base/sigbpt.exp: Likewise.
2263 * gdb.base/siginfo.exp: Likewise.
2264 * gdb.base/sigstep.exp: Likewise.
2265
e5f8a7cc
PA
22662014-10-27 Pedro Alves <palves@redhat.com>
2267
2268 * gdb.base/sigstep.c (dummy): New global.
2269 (main): Issue a couple writes to the new global.
2270 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
2271 procedures.
2272 (skip_over_handler): Use test_skip_handler.
2273 (top level): Call skip_over_handler for stepi and nexti too.
2274 (breakpoint_over_handler): Use test_skip_handler.
2275 (top level): Call breakpoint_over_handler for stepi and nexti too.
2276
763905a3
YQ
22772014-10-27 Yao Qi <yao@codesourcery.com>
2278
2279 * gdb.trace/tfile.c (adjust_function_address)
2280 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
2281 function descriptor.
2282
6f259a23
DB
22832014-10-24 Don Breazeal <donb@codesourcery.com>
2284
2285 * gdb.base/foll-fork.exp (test_follow_fork,
2286 catch_fork_child_follow): Check for updated fork messages emitted
2287 from infrun.c.
2288 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
2289 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
2290 vfork_and_exec_child_follow_through_step): Check for updated vfork
2291 messages emitted from infrun.c.
2292
09dd9a69
PA
22932014-10-24 Pedro Alves <palves@redhat.com>
2294
2295 * gdb.base/corefile.exp: Remove references to ultrix.
2296 * gdb.base/interrupt.exp: Likewise.
2297 * gdb.base/whatis.exp: Likewise.
2298 * gdb.gdb/selftest.exp: Likewise.
2299 * gdb.threads/manythreads.exp: Likewise.
2300 * gdb.threads/print-threads.exp: Likewise.
2301 * gdb.threads/pthreads.exp:: Likewise.
2302 * gdb.threads/schedlock.exp: Likewise.
2303
3433cfa5
SC
23042014-10-24 Siva Chandra Reddy <sivachandra@google.com>
2305
2306 * gdb.cp/non-trivial-retval.cc: Add a test case.
2307 * gdb.cp/non-trivial-retval.exp: Add a test.
2308
092f880b
YQ
23092014-10-20 Yao Qi <yao@codesourcery.com>
2310
2311 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
2312 * gdb.python/py-objfile-script-gdb.py: New file.
2313 * gdb.python/py-objfile-script.exp: Update reference to
2314 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
2315 of remote_download. Remove the dest file.
2316
acbdb7f3
YQ
23172014-10-20 Yao Qi <yao@codesourcery.com>
2318
2319 * gdb.base/checkpoint.exp: Don't remove file copied on host.
2320 * gdb.base/step-line.exp: Likewise.
2321 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2322 * gdb.dwarf2/dw2-basic.exp: Likewise.
2323 * gdb.dwarf2/dw2-compressed.exp: Likewise.
2324 * gdb.dwarf2/dw2-filename.exp: Likewise.
2325 * gdb.dwarf2/dw2-intercu.exp: Likewise.
2326 * gdb.dwarf2/dw2-intermix.exp: Likewise.
2327 * gdb.dwarf2/dw2-producer.exp: Likewise.
2328 * gdb.dwarf2/mac-fileno.exp: Likewise.
2329 * gdb.python/py-frame-args.exp: Likewise.
2330 * gdb.python/py-framefilter.exp: Likewise.
2331 * gdb.python/py-mi.exp: Likewise.
2332 * gdb.python/py-objfile-script.exp: Likewise
2333 * gdb.python/py-pp-integral.exp: Likewise.
2334 * gdb.python/py-pp-re-notag.exp: Likewise.
2335 * gdb.python/py-prettyprint.exp: Likewise.
2336 * gdb.python/py-section-script.exp: Likewise.
2337 * gdb.python/py-typeprint.exp: Likewise.
2338 * gdb.python/py-xmethods.exp: Likewise.
2339 * gdb.stabs/weird.exp: Likewise.
2340 * gdb.xml/tdesc-regs.exp: Likewise.
2341
bd286a29
KCY
23422014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
2343
2344 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
2345 (out_cu): Use addr_len for the size of addresses.
2346 (out_line): Likewise. Size DW_LNE_set_address instruction
2347 according to addr_len.
2348 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
2349 (FUNC): Add START_INSNS to definition.
2350
673dc4a0
YQ
23512014-10-18 Yao Qi <yao@codesourcery.com>
2352
2353 * gdb.base/argv0-symlink.exp: Check argv[0] value if
2354 gdb_has_argv0 return true.
2355 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
2356 check [target_info exists noargs], check [gdb_has_argv0]
2357 instead.
2358 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2359 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
2360 procedures.
2361
4ffbba72
DE
23622014-10-17 Doug Evans <dje@google.com>
2363
2364 * gdb.python/py-events.exp: Update expected output for clear_objfiles
2365 event.
2366 * gdb.python/py-events.py: Add clear_objfiles event.
2367
d096d8c1
DE
23682014-10-17 Doug Evans <dje@google.com>
2369
2370 * gdb.python/py-objfile.exp: Test progspace attribute.
2371
a80db015
LM
23722014-10-17 Luis Machado <lgustavo@codesourcery.com>
2373
2374 * gdb.guile/scm-breakpoint.exp: Do not assume any
2375 directory separators when matching source file paths.
2376 * gdb.python/py-breakpoint.exp: Likewise.
2377 * gdb.reverse/break-precsave.exp: Likewise.
2378 * gdb.reverse/break-reverse.exp: Likewise.
2379 * gdb.reverse/consecutive-precsave.exp: Likewise.
2380 * gdb.reverse/finish-precsave.exp: Likewise.
2381 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
2382 * gdb.reverse/finish-reverse.exp: Likewise.
2383 * gdb.reverse/i386-precsave.exp: Likewise.
2384 * gdb.reverse/i387-env-reverse.exp: Likewise.
2385 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2386 * gdb.reverse/machinestate-precsave.exp: Likewise.
2387 * gdb.reverse/machinestate.exp: Likewise.
2388 * gdb.reverse/sigall-precsave.exp: Likewise.
2389 * gdb.reverse/solib-precsave.exp: Likewise.
2390 * gdb.reverse/step-precsave.exp: Likewise.
2391 * gdb.reverse/until-precsave.exp: Likewise.
2392 * gdb.reverse/watch-precsave.exp: Likewise.
2393 * gdb.reverse/watch-reverse.exp: Likewise.
2394
b22089ab
YQ
23952014-10-17 Yao Qi <yao@codesourcery.com>
2396
2397 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
2398 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
2399
6c4486e6
PA
24002014-10-17 Pedro Alves <palves@redhat.com>
2401
2402 PR gdb/17471
2403 * gdb.base/bg-execution-repeat.c: New file.
2404 * gdb.base/bg-execution-repeat.exp: New file.
2405
0ff33695
PA
24062014-10-17 Pedro Alves <palves@redhat.com>
2407
2408 PR gdb/17300
2409 * gdb.base/continue-all-already-running.c: New file.
2410 * gdb.base/continue-all-already-running.exp: New file.
2411
6fdebc3d
PA
24122014-10-17 Pedro Alves <palves@redhat.com>
2413
2414 PR gdb/17472
2415 * gdb.base/annota-input-while-running.c: New file.
2416 * gdb.base/annota-input-while-running.exp: New file.
2417
32a8097b
PA
24182014-10-17 Pedro Alves <palves@redhat.com>
2419
2420 * gdb.base/callfuncs.exp: emove references to osf.
2421 * gdb.base/sigall.exp: Likewise.
2422 * gdb.gdb/selftest.exp: Likewise.
2423 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
2424 * gdb.mi/non-stop.c: Likewise.
2425 * gdb.mi/pthreads.c: Likewise.
2426 * gdb.reverse/sigall-precsave.exp: Likewise.
2427 * gdb.reverse/sigall-reverse.exp: Likewise.
2428 * gdb.threads/pthreads.c: Likewise.
2429 * gdb.threads/pthreads.exp: Likewise.
2430
7a3517ff
YQ
24312014-10-17 Yao Qi <yao@codesourcery.com>
2432
2433 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
2434 check 'target_info exists noargs'.
2435 (test_command_prompt_position): Likewise.
2436 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
2437 Remove "set args".
2438 (progvar_simple_while_test): Likewise.
2439 (progvar_complex_if_while_test): Likewise.
2440 (if_while_breakpoint_command_test): Likewise.
2441 (infrun_breakpoint_command_test): Likewise.
2442 (breakpoint_command_test): Likewise.
2443 (watchpoint_command_test): Likewise.
2444 (bp_deleted_in_command_test): Likewise.
2445 (temporary_breakpoint_commands): Likewise.
2446
bb99c472
YQ
24472014-10-16 Yao Qi <yao@codesourcery.com>
2448
2449 * gdb.base/remotetimeout.exp: Remove noargs checking.
2450
7c16b83e
PA
24512014-10-15 Pedro Alves <palves@redhat.com>
2452
2453 PR breakpoints/9649
2454 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
2455 * gdb.base/breakpoint-in-ro-region.exp
2456 (probe_target_hardware_step): New procedure.
2457 (top level): Probe hardware stepping and hardware breakpoint
2458 support. Test stepping through a read-only region, with both
2459 "breakpoint auto-hw" on and off and both "always-inserted" on and
2460 off.
2461
35a49624
IB
24622014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
2463
2464 * gdb.dlang/demangle.exp: Update for demangling changes.
2465
2d1c107c
SC
24662014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2467
2468 * gdb.cp/non-trivial-retval.cc: Add new test cases.
2469 * gdb.cp/non-trivial-retval.exp: Add new tests.
2470
778811d5
SC
24712014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2472
2473 PR c++/13403
2474 PR c++/15154
2475 * gdb.cp/non-trivial-retval.cc: New file.
2476 * gdb.cp/non-trivial-retval.exp: New file.
2477
10c5f0a8
YQ
24782014-10-15 Yao Qi <yao@codesourcery.com>
2479
2480 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
2481 remote host.
2482
65d7b369
YQ
24832014-10-15 Yao Qi <yao@codesourcery.com>
2484
2485 * gdb.python/py-symbol.exp: Match file base name if host is
2486 remote, otherwise match file name with dir name.
2487 * gdb.python/py-symtab.exp: Likewise.
2488 * gdb.python/python.exp: Likewise.
2489
46dc1394
YQ
24902014-10-15 Yao Qi <yao@codesourcery.com>
2491
2492 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
2493 pattern.
2494 * gdb.python/py-symtab.exp: Likewise.
2495 * gdb.python/python.exp: Remove trailing ".*". Fix typo
2496 locationn.
2497
c40cc657
JB
24982014-10-14 Joel Brobecker <brobecker@adacore.com>
2499
2500 * gdb.ada/addr_arith: New testcase.
2501
2abf49e1
MR
25022014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
2503
2504 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
2505 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
2506 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
2507 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
2508
f7088df3
SDJ
25092014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
2510
2511 * gdb.arch/stap-eval-lang-ada.S: Likewise.
2512 * gdb.arch/stap-eval-lang-ada.c: Likewise.
2513 * gdb.arch/stap-eval-lang-ada.exp: New file.
2514
4dc06805
YQ
25152014-10-14 Yao Qi <yao@codesourcery.com>
2516
2517 * gdb.mi/mi-var-child.c (nothing1): New function.
2518 (nothing2): New function.
2519 (do_children_tests): Set function pointers by nothing1 and
2520 nothing2.
2521 * gdb.mi/mi-var-child.exp: Step over new added statements.
2522 Update test to match the new output.
2523 * gdb.mi/var-cmd.c (nothing1): New function.
2524 (nothing2): New function.
2525 (do_children_tests): Set function pointers by nothing1 and
2526 nothing2.
2527 * gdb.mi/mi-var-display.exp: Update test to match output.
2528 Step to the line specified by $line_dct_nothing.
2529 Increase the number of lines to step.
2530
46a93de2
YQ
25312014-10-14 Yao Qi <yao@codesourcery.com>
2532
2533 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
2534 tests.
2535 * gdb.mi/mi2-var-child.exp: Likewise.
2536
14ea52ee
DE
25372014-10-13 Doug Evans <dje@google.com>
2538
2539 * gdb.python/py-objfile.exp: Change name of file name test.
2540
e5c6e92b
DE
25412014-10-13 Doug Evans <dje@google.com>
2542
2543 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
2544 from the start of the CU.
2545
c780cc2f
JK
25462014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2547 Yao Qi <yao@codesourcery.com>
2548
2549 Fix "save breakpoints" for "catch" command.
2550 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
2551 Remove -nonewline. Match also the added "main" line.
2552
99894e11
JK
25532014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2554
2555 Fix "save breakpoints" for "disable $bpnum" command.
2556 * gdb.base/save-bp.c (main): Add label.
2557 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
2558
6e1ac5a3
JK
25592014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2560
2561 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
2562
754dd2b0
YQ
25632014-10-11 Yao Qi <yao@codesourcery.com>
2564
2565 * gdb.server/server-kill.exp: Execute command
2566 "set remote trace-status-packet on" before "tstatus".
2567
f90183d7
YQ
25682014-10-11 Yao Qi <yao@codesourcery.com>
2569
2570 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
2571 (main): Call getppid.
2572 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
2573 and continue to it. Read variable "server_pid".
2574
bf40a607
YQ
25752014-10-11 Yao Qi <yao@codesourcery.com>
2576
2577 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
2578
052ca370
YQ
25792014-10-11 Yao Qi <yao@codesourcery.com>
2580
2581 * gdb.threads/thread-find.exp: Don't execute command
2582 "info threads".
2583 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
2584 * gdb.threads/linux-dp.exp: Don't check the condition
2585 $threads_created equals to zero.
2586
3831839c
PA
25872014-10-10 Pedro Alves <palves@redhat.com>
2588
2589 * gdb.base/bigcore.exp: Remove references to IRIX.
2590 * gdb.base/funcargs.exp: Likewise.
2591 * gdb.base/interrupt.exp: Likewise.
2592 * gdb.base/mips_pro.exp: Likewise.
2593 * gdb.base/nodebug.exp: Likewise.
2594 * gdb.base/setvar.exp: Likewise.
2595 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
2596
8b9a549d
PA
25972014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2598 Pedro Alves <palves@redhat.com>
2599
2600 PR symtab/14466
2601 * gdb.base/vdso-warning.c: New file.
2602 * gdb.base/vdso-warning.exp: New file.
2603
d48ba5e8
DE
26042014-10-02 Doug Evans <dje@google.com>
2605
2606 * gdb.base/structs.c (main): Don't run forever.
2607
2278c276
PA
26082014-10-02 Pedro Alves <palves@redhat.com>
2609
2610 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
2611 (top level) <stop threads 1, stop threads 2>: Use it.
2612
b57bacec
PA
26132014-10-02 Pedro Alves <palves@redhat.com>
2614
2615 * gdb.threads/break-while-running.exp (test): Add new
2616 'update_thread_list' argument. Skip "info threads" if false.
2617 (top level): Add new 'update_thread_list' axis.
2618
13fd3ff3
PA
26192014-10-02 Pedro Alves <palves@redhat.com>
2620
2621 PR breakpoints/17431
2622 * gdb.base/execl-update-breakpoints.c: New file.
2623 * gdb.base/execl-update-breakpoints.exp: New file.
2624
0fec99e8
PA
26252014-10-01 Pedro Alves <palves@redhat.com>
2626
2627 * gdb.base/breakpoint-in-ro-region.c: New file.
2628 * gdb.base/breakpoint-in-ro-region.exp: New file.
2629
2ddf4301
SM
26302014-10-01 Simon Marchi <simon.marchi@ericsson.com>
2631
2632 * gdb.mi/mi-exit-code.exp: New file.
2633 * gdb.mi/mi-exit-code.c: New file.
2634
6a5f3f43
YQ
26352014-09-30 Yao Qi <yao@codesourcery.com>
2636
2637 * lib/prelink-support.exp (build_executable_own_libs): Error if
2638 the target isn't native.
2639
345bcc73
YQ
26402014-09-30 Yao Qi <yao@codesourcery.com>
2641
2642 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
2643 false.
2644
a25a5a45
PA
26452014-09-22 Pedro Alves <palves@redhat.com>
2646
2647 * gdb.threads/break-while-running.exp: New file.
2648 * gdb.threads/break-while-running.c: New file.
2649
00ba3162
YQ
26502014-09-19 Yao Qi <yao@codesourcery.com>
2651
2652 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
2653 Invoke test. Restart GDB with --readnow and invoke test again.
2654
c3b7b696
YQ
26552014-09-19 Yao Qi <yao@codesourcery.com>
2656
2657 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
2658 proc set_breakpoint_on_gcd_function. Invoke
2659 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
2660 invoke set_breakpoint_on_gcd_function again.
2661
2b4fd423
DE
26622014-09-18 Doug Evans <dje@google.com>
2663
2664 * gdb.dwarf2/symtab-producer.exp: New file.
2665
a5947601
SDJ
26662014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2667
2668 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
2669 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
2670 * gdb.base/global-var-nested-by-dso.c: Likewise.
2671 * gdb.base/global-var-nested-by-dso.exp: Likewise.
2672
91c19059
SDJ
26732014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2674 Pedro Alves <palves@redhat.com>
2675
2676 * gdb.base/watch-bitfields.exp: Pass string other than test file
2677 name to prepare_for_testing.
2678 (watch): New procedure.
2679 (expect_watchpoint): Use with_test_prefix.
2680 (top level): Factor out tests to ...
2681 (test_watch_location, test_regular_watch): ... these new
2682 procedures, and use with_test_prefix and gdb_continue_to_end.
2683
bb9d5f81
PP
26842014-09-16 Patrick Palka <patrick@parcs.ath.cx>
2685
2686 PR breakpoints/12526
2687 * gdb.base/watch-bitfields.exp: New file.
2688 * gdb.base/watch-bitfields.c: New file.
2689
635856f5
PA
26902014-09-16 Pedro Alves <palves@redhat.com>
2691
2692 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
2693 software and hardware addresses, not software address against
2694 itself.
2695
7280ceea
PA
26962014-09-16 Pedro Alves <palves@redhat.com>
2697
2698 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
2699 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
2700
428b16bd
PA
27012014-09-16 Pedro Alves <palves@redhat.com>
2702
2703 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
2704 files.
2705 * gdb.base/a2-run.exp: Remove all code guarded by istarget
2706 "*-*-vxworks*" throughout.
2707 * gdb.base/break.exp: Likewise.
2708 * gdb.base/default.exp: Likewise.
2709 * gdb.base/scope.exp: Likewise.
2710 * gdb.base/sepdebug.exp: Likewise.
2711 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
2712 throughout.
2713 * gdb.base/run.c: Likewise.
2714 * gdb.base/sepdebug.c: Likewise.
2715 * gdb.hp/gdb.aCC/run.c: Likewise.
2716 * gdb.reverse/until-reverse.c: Likewise.
2717 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
2718
666d413c
YQ
27192014-09-16 Yao Qi <yao@codesourcery.com>
2720
2721 * boards/local-remote-host-native.exp: New file.
2722
57cbd724
DE
27232014-09-14 Doug Evans <xdje42@gmail.com>
2724
2725 * gdb.threads/queue-signal.c (thread_count): New variable.
2726 (thread_count_mutex, thread_count_condvar): New variables.
2727 (incr_thread_count, wait_all_threads_running): New functions.
2728 (main): Wait for all threads to be in their thread functions.
2729
81219e53
DE
27302014-09-13 Doug Evans <xdje42@gmail.com>
2731
2732 * gdb.threads/queue-signal.c: New file.
2733 * gdb.threads/queue-signal.exp: New file.
2734
3714cea7
DE
27352014-09-13 Doug Evans <xdje42@gmail.com>
2736
2737 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
2738 be consistent with what default_gdb_init uses.
2739 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
2740 the plain text of the prompt. Add some logging printfs.
2741 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
2742
fa43b1d7
PA
27432014-09-12 Pedro Alves <palves@redhat.com>
2744
2745 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
2746 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
2747 * gdb.arch/i386-size-overlap.exp: Likewise.
2748 * gdb.arch/i386-size.exp: Likewise.
2749 * gdb.arch/i386-unwind.exp: Likewise.
2750 * gdb.base/a2-run.exp: Likewise.
2751 * gdb.base/break.exp: Likewise.
2752 * gdb.base/charset.exp: Likewise.
2753 * gdb.base/chng-syms.exp: Likewise.
2754 * gdb.base/commands.exp: Likewise.
2755 * gdb.base/dbx.exp: Likewise.
2756 * gdb.base/find.exp: Likewise.
2757 * gdb.base/funcargs.exp: Likewise.
2758 * gdb.base/jit-simple.exp: Likewise.
2759 * gdb.base/reread.exp: Likewise.
2760 * gdb.base/sepdebug.exp: Likewise.
2761 * gdb.base/step-bt.exp: Likewise.
2762 * gdb.cp/mb-inline.exp: Likewise.
2763 * gdb.cp/mb-templates.exp: Likewise.
2764 * gdb.objc/basicclass.exp: Likewise.
2765 * gdb.threads/killed.exp: Likewise.
2766
9d9bf2df
EBM
27672014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2768
2769 PR tdep/17379
2770 * gdb.arch/powerpc-stackless.S: New file.
2771 * gdb.arch/powerpc-stackless.exp: New file.
2772
1cf2f1b0
JK
27732014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2774
2775 * gdb.base/attach.c: Include unistd.h.
2776 (main): Call alarm. Add label postloop.
2777 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
2778 gdb_breakpoint, gdb_continue_to_breakpoint.
2779 (test_command_line_attach_run): Kill ${testpid} in one exit path.
2780
98880d46
PA
27812014-09-11 Pedro Alves <palves@redhat.com>
2782
2783 PR gdb/17347
2784 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
2785 * gdb.base/attach.exp (test_command_line_attach_run): New
2786 procedure.
2787 (top level): Call it.
2788
4c92ff2c
PA
27892014-09-11 Pedro Alves <palves@redhat.com>
2790
2791 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
2792 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
2793 (do_command_attach_tests): Use spawn_wait_for_attach.
2794 * gdb.base/solib-overlap.exp: Likewise.
2795 * gdb.multi/multi-attach.exp: Likewise.
2796 * gdb.python/py-prompt.exp: Likewise.
2797 * gdb.python/py-sync-interp.exp: Likewise.
2798 * gdb.server/ext-attach.exp: Likewise.
2799
3adc1a7d
GKB
28002014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
2801
2802 * gdb.fortran/array-element.exp: Remove unexpected "continue"
2803 command in testcase. Simplify testcase.
2804
96334934
JB
28052014-09-10 Joel Brobecker <brobecker@adacore.com>
2806
2807 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
2808
eb479039
JB
28092014-09-10 Joel Brobecker <brobecker@adacore.com>
2810
2811 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
2812
deede10c
JB
28132014-09-10 Joel Brobecker <brobecker@adacore.com>
2814
2815 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
2816
7828a5f5
JB
28172014-09-10 Joel Brobecker <brobecker@adacore.com>
2818
2819 * gdb.dwarf2/dynarr-ptr.c: New file.
2820 * gdb.dwarf2/dynarr-ptr.exp: New file.
2821
33aeebcf
MR
28222014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2823
2824 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
2825 of 30 rather than hardcoding 120 for a slow test case. Take the
2826 `gdb,timeout' target setting into account for this calculation.
2827 Don't extend the timeout for the test cases that don't need it.
2828
7b415901
MR
28292014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2830
2831 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
2832 a factor of 2 for a slow test case. Take the `gdb,timeout'
2833 target setting into account for this calculation.
2834 * gdb.reverse/until-precsave.exp: Increase the timeout by
2835 a factor of 15 and 3 respectively rather than adding 120
2836 for a pair of slow test cases. Take the `gdb,timeout'
2837 target setting into account for this calculation.
2838
4a40f85a
MR
28392014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2840
2841 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
2842 timeout, don't pass one down to gdb_expect.
2843 (gdb_expect): Rework timeout selection.
2844
09635af7
MR
28452014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2846
2847 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
2848 exception on timeout.
2849 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
2850 (gdbserver_start_extended): Catch any `gdbserver_start' error
2851 exceptions.
2852 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
2853 * lib/mi-support.exp (mi_gdb_target_load): Catch any
2854 `gdbserver_gdb_load' error exceptions.
2855
2bdd10b7
MR
28562014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2857
2858 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
2859 120 on waiting for the TCP socket to open.
2860
316935f0
DE
28612014-09-09 Doug Evans <xdje42@gmail.com>
2862
2863 * gdb.base/default.exp (show_conv_list): Add _caller_is,
2864 _caller_matches, _any_caller_is, _any_caller_matches.
2865
83740597
DE
28662014-09-09 Doug Evans <xdje42@gmail.com>
2867
2868 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
2869
4c122fc3
YQ
28702014-09-09 Yao Qi <yao@codesourcery.com>
2871
2872 * gdb.mi/mi-var-display.exp: Set print symbol off.
2873
a9f116cb
GKB
28742014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
2875
2876 PR gdb/17035
2877 * gdb.base/commands.exp: Add tests to verify user-defined
2878 commands with empty bodies.
2879 * gdb.python/py-cmd.exp: Test that we don't show user-defined
2880 python commands in `show user command`.
2881 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
2882 scheme commands in `show user command`.
2883
c75bd3a2
JK
28842014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2885
2886 PR python/17355
2887 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
2888 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
2889 * gdb.python/py-framefilter-invalidarg.exp: New file.
2890 * gdb.python/py-framefilter-invalidarg.py: New file.
2891
faa42425
DE
28922014-09-06 Doug Evans <xdje42@gmail.com>
2893
2894 PR 15276
2895 * gdb.python/py-caller-is.c: New file.
2896 * gdb.python/py-caller-is.exp: New file.
2897
474ca4f6
SDJ
28982014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
2899
2900 PR gdb/17235
2901 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
2902 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
2903
eb0b0463
SDJ
29042014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
2905
2906 PR fortran/17237
2907 * gdb.fortran/print-formatted.exp: New file.
2908 * gdb.fortran/print-formatted.f90: Likewise.
2909
5f3b99cf
SS
29102014-09-03 Sasha Smundak <asmundak@google.com>
2911
2912 * gdb.python/py-frame.exp: Test Frame.read_register.
2913
7d793aa9
SDJ
29142014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
2915
2916 PR python/16699
2917 * gdb.python/py-completion.exp: New file.
2918 * gdb.python/py-completion.py: Likewise.
2919
fb0576e9
DE
29202014-08-28 Doug Evans <dje@google.com>
2921
2922 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
2923 eax,etc. are live with values set by gdb and thus the compiler can't
2924 use them.
2925 * gdb.arch/i386-pseudo.c (main): Ditto.
2926
ee92b0dd
DE
29272014-08-27 Doug Evans <dje@google.com>
2928
2929 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
2930
6649db35
DE
29312014-08-25 Doug Evans <dje@google.com>
2932
2933 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
2934 (main): Ditto.
2935
564b7600
DE
29362014-08-25 Doug Evans <dje@google.com>
2937
2938 * gdb.threads/thread-execl.exp: #include <stdio.h>.
2939
3881fb67
YQ
29402014-08-24 Yao Qi <yao@codesourcery.com>
2941
2942 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
2943 symbol off.
2944 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
2945
a05a36a5
DE
29462014-08-22 Doug Evans <dje@google.com>
2947
2948 PR 17276
2949 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
2950 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
2951 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
2952
7c343b48
YQ
29532014-08-22 Yao Qi <yao@codesourcery.com>
2954
2955 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
2956 * gdb.python/py-finish-breakpoint2.exp: Likewise.
2957 * gdb.python/python.exp: Likewise. Use .py file on the host
2958 instead of the build.
2959
22fd09ae
JK
29602014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2961
2962 * gdb.threads/gcore-stale-thread.c: New file.
2963 * gdb.threads/gcore-stale-thread.exp: New file.
2964
a8454a7c
PA
29652014-08-21 Pedro Alves <palves@redhat.com>
2966
2967 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
2968 * gdb.base/gcore-relro-pie.exp: Likewise.
2969 * gdb.base/gcore-relro.exp: Likewise.
2970 * gdb.base/gcore.exp: Likewise.
2971 * gdb.base/print-symbol-loading.exp: Likewise.
2972 * gdb.threads/gcore-thread.exp: Likewise.
2973 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
2974
2a31c623
PA
29752014-08-20 Pedro Alves <palves@redhat.com>
2976 Jan Kratochvil <jan.kratochvil@redhat.com>
2977
2978 * Makefile.in (EXTRA_RULES, CC): New variables, get from
2979 configure.
2980 (EXPECT): Handle READ1 being set.
2981 (all): Depend on EXTRA_RULES.
2982 (check-read1, expect-read1, read1.so, read1): New rules.
2983 * README (Testsuite Parameters): Document the READ1 make variable.
2984 (Race detection): New section.
2985 * configure: Regenerate.
2986 * configure.ac: If build==host==target, and running under a
2987 GNU/glibc system, add read1 to the extra Makefile rules.
2988 (EXTRA_RULES): AC_SUBST it.
2989 * lib/read1.c: New file.
2990
d36430db
JB
29912014-08-20 Joel Brobecker <brobecker@adacore.com>
2992
2993 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
2994 the handling of variables declared as a typedef to an array
2995 which a DW_AT_data_location attribute.
2996
9a0dc9e3
PA
29972014-08-19 Andrew Burgess <aburgess@broadcom.com>
2998 Pedro Alves <palves@redhat.com>
2999
3000 PR symtab/14604
3001 PR symtab/14605
3002 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
3003 gdb_test.
3004
0718a8da
PA
30052014-08-19 Pedro Alves <palves@redhat.com>
3006
3007 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
3008
13b448cd
YQ
30092014-08-19 Yao Qi <yao@codesourcery.com>
3010
3011 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
3012 right line.
3013
1cbf5077
DB
30142014-08-18 David Blaikie <dblaikie@gmail.com>
3015
3016 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
3017
bf0fae19
JB
30182014-08-18 Joel Brobecker <brobecker@adacore.com>
3019
3020 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
3021 attribute in array range.
3022
3c8c5dcc
JB
30232014-08-18 Joel Brobecker <brobecker@adacore.com>
3024
3025 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
3026
e66d4446
SC
30272014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3028
3029 PR c++/17132
3030 * gdb.cp/pr17132.cc: New file.
3031 * gdb.cp/pr17132.exp: New file.
3032
940df408
SC
30332014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3034
3035 * gdb.python/py-xmethods.py (A_getarrayind)
3036 (E_method_char_worker.__call__, E_method_int_worker.__call__):
3037 Use 'print' with function call syntax.
3038 (E_method_matcher.match): Fix tab vs space indentation mixup.
3039
ebcc6c3a
YQ
30402014-08-15 Yao Qi <yao@codesourcery.com>
3041
3042 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
3043 false.
3044
775e0f04
YQ
30452014-08-15 Yao Qi <yao@codesourcery.com>
3046
3047 * gdb.cp/casts.exp: Set print symbol off.
3048 * gdb.cp/class2.exp: Likewise.
3049 * gdb.cp/overload.exp: Likewise.
3050 * gdb.cp/templates.exp: Likewise.
3051
d769e349
DE
30522014-08-11 Doug Evans <dje@google.com>
3053
3054 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3055 (test_load_shlib): Update.
3056
20c6f1e1
YQ
30572014-08-09 Yao Qi <yao@codesourcery.com>
3058
3059 * gdb.base/display.exp: Invoke is_address_zero_readable.
3060 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
3061 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
3062 * gdb.base/hbreak-unmapped.exp: Return if
3063 is_address_zero_readable returns true.
3064 * gdb.base/signest.exp: Likewise.
3065 * gdb.base/signull.exp: Likewise.
3066 * gdb.base/sigbpt.exp: Likewise.
3067 * gdb.guile/scm-disasm.exp: Do the test if
3068 is_address_zero_readable returns false.
3069 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
3070 * gdb.python/py-arch.exp: Likewise.
3071 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
3072 * lib/gdb.exp (is_address_zero_readable): New proc.
3073
5792e8e3
YQ
30742014-08-09 Yao Qi <yao@codesourcery.com>
3075
3076 PR testsuite/13443
3077 * gdb.mi/mi-var-display.exp: Make test messages unique.
3078
3cecbbbe
TT
30792014-08-04 Tom Tromey <tromey@redhat.com>
3080
3081 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
3082 target 0".
3083
00b51ff5
TT
30842014-08-04 Tom Tromey <tromey@redhat.com>
3085
3086 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
3087 "target_resume".
3088
6908c509
JB
30892014-08-01 Joel Brobecker <brobecker@adacore.com>
3090
3091 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
3092 inner_vla_struct_object_size.
3093 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
3094 as xfail.
3095
cc6563d2
PA
30962014-07-30 Pedro Alves <palves@redhat.com>
3097
3098 * gdb.threads/signal-command-handle-nopass.exp (test): Add
3099 comment.
3100
7e09a223
YQ
31012014-07-29 Yao Qi <yao@codesourcery.com>
3102
3103 PR gdb/17206
3104 * gdb.base/until-nodebug.exp: New.
3105
7ebdbe92
DE
31062014-07-28 Doug Evans <xdje42@gmail.com>
3107
3108 PR guile/17203
3109 * gdb.guile/scm-parameter.exp: Add tests for trying to create
3110 previously existing parameter, and previously ambiguously spelled
3111 parameter.
3112
fdb1adc6
WN
31132014-07-28 Will Newton <will.newton@linaro.org>
3114
3115 * gdb.base/varargs.exp: Remove KFAILs for ARM.
3116
186fcde0
DE
31172014-07-26 Ludovic Courtès <ludo@gnu.org>
3118 Doug Evans <xdje42@gmail.com>
3119
3120 PR guile/17146
3121 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
3122
70509625
PA
31232014-07-25 Pedro Alves <palves@redhat.com>
3124
3125 * gdb.threads/signal-command-handle-nopass.c: New file.
3126 * gdb.threads/signal-command-handle-nopass.exp: New file.
3127 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
3128 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
3129 * gdb.threads/signal-delivered-right-thread.c: New file.
3130 * gdb.threads/signal-delivered-right-thread.exp: New file.
3131
c3f814a1
PA
31322014-07-25 Pedro Alves <palves@redhat.com>
3133
3134 * gdb.base/double-prompt-target-event-error.exp
3135 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
3136 match.
3137 (cancel_pagination_in_target_event): Rework double prompt
3138 detection.
3139 * gdb.base/paginate-after-ctrl-c-running.exp
3140 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
3141 <return>' match.
3142 * gdb.base/paginate-bg-execution.exp
3143 (test_bg_execution_pagination_return)
3144 (test_bg_execution_pagination_cancel): Remove '-notransfer
3145 <return>' matches.
3146 * gdb.base/paginate-execution-startup.exp
3147 (test_fg_execution_pagination_return)
3148 (test_fg_execution_pagination_cancel): Remove '-notransfer
3149 <return>' matches.
3150 * gdb.base/paginate-inferior-exit.exp
3151 (test_paginate_inferior_exited): Remove '-notransfer <return>'
3152 match.
3153 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
3154 * lib/gdb.exp (pagination_prompt): Run text through
3155 string_to_regexp.
3156 (gdb_test_multiple): Match $pagination_prompt instead of
3157 "<return>".
3158 (string_to_regexp): Move to lib/gdb-utils.exp.
3159
e214cf6c
JK
31602014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3161
3162 * gdb.arch/amd64-entry-value-paramref.S: New file.
3163 * gdb.arch/amd64-entry-value-paramref.cc: New file.
3164 * gdb.arch/amd64-entry-value-paramref.exp: New file.
3165 * gdb.arch/amd64-optimout-repeat.S: New file.
3166 * gdb.arch/amd64-optimout-repeat.c: New file.
3167 * gdb.arch/amd64-optimout-repeat.exp: New file.
3168
17d0c5c8
JK
31692014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3170
3171 PR gdb/17170
3172 * gdb.base/statistics.exp: New file.
3173
b8b8facf
DE
31742014-07-17 Doug Evans <dje@google.com>
3175
74b49205 3176 PR gdb/17170
b8b8facf
DE
3177 * gdb.base/maint.exp: Update testing of per-command stats.
3178
1b5d0ab3
PA
31792014-07-16 Pedro Alves <palves@redhat.com>
3180
3181 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
3182 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
3183 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
3184 (tfile_write_buf): New functions.
3185 (add_memory_block): Rewrite using the above.
3186 (adjust_function_address): New function.
3187 (FUNCTION_ADDRESS): New macro.
3188 (write_basic_trace_file): Remove short_x local, and use
3189 tfile_write_16. Change type of func_addr local to unsigned long
3190 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
3191 here. Cast argument of add_memory_block to char pointer.
3192 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
3193 (main): Remove parameters.
3194 * gdb.trace/tfile.exp: Remove nowarnings.
3195
4d974e88
SM
31962014-07-15 Simon Marchi <simon.marchi@ericsson.com>
3197
3198 * gdb.base/debug-expr.exp: Test string evaluation with
3199 "debug expression" on.
3200
41e99568
PA
32012014-07-15 Pedro Alves <palves@redhat.com>
3202
3203 * gdb.base/reread.exp: Use clean_restart.
3204
487d9753
PL
32052014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
3206
3207 * gdb.arch/avr-flash-qualifer.c: New.
3208 * gdb.arch/avr-flash-qualifer.exp: New.
3209
cc1c52ad
PA
32102014-07-14 Pedro Alves <palves@redhat.com>
3211
3212 * gdb.base/paginate-after-ctrl-c-running.c: New file.
3213 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
3214
1e973570
PA
32152014-07-14 Pedro Alves <palves@redhat.com>
3216
3217 * gdb.base/double-prompt-target-event-error.c: New file.
3218 * gdb.base/double-prompt-target-event-error.exp: New file.
3219
93d6eb10
PA
32202014-07-14 Pedro Alves <palves@redhat.com>
3221
3222 PR gdb/17072
3223 * gdb.base/paginate-inferior-exit.c: New file.
3224 * gdb.base/paginate-inferior-exit.exp: New file.
3225
0017922d
PA
32262014-07-14 Pedro Alves <palves@redhat.com>
3227
3228 PR gdb/17072
3229 * gdb.base/paginate-bg-execution.c: New file.
3230 * gdb.base/paginate-bg-execution.exp: New file.
3231
94696ad3
PA
32322014-07-14 Pedro Alves <palves@redhat.com>
3233
3234 PR gdb/17072
3235 * gdb.base/paginate-execution-startup.c: New file.
3236 * gdb.base/paginate-execution-startup.exp: New file.
3237 * lib/gdb.exp (pagination_prompt): New global.
3238 (default_gdb_spawn): New procedure, factored out from
3239 default_gdb_spawn.
3240 (default_gdb_start): Adjust to call default_gdb_spawn.
3241 (gdb_spawn): New procedure.
3242
bd293940
PA
32432014-07-14 Pedro Alves <palves@redhat.com>
3244
3245 * lib/gdb.exp (gdb_assert): New procedure.
3246 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
3247
c933f875
PA
32482014-07-14 Pedro Alves <palves@redhat.com>
3249
3250 * gdb.base/execution-termios.c: New file.
3251 * gdb.base/execution-termios.exp: New file.
3252
d98b7a16
TT
32532014-07-14 Tom Tromey <tromey@redhat.com>
3254
3255 * gdb.cp/vla-cxx.cc: New file.
3256 * gdb.cp/vla-cxx.exp: New file.
3257
548740d6
TT
32582014-07-14 Tom Tromey <tromey@redhat.com>
3259
3260 * gdb.reverse/rerun-prec.c: New file.
3261 * gdb.reverse/rerun-prec.exp: New file.
3262
a25eb028
MR
32632014-07-12 Maciej W. Rozycki <macro@mips.com>
3264 Maciej W. Rozycki <macro@codesourcery.com>
3265
3266 * lib/gdb-utils.exp: New file.
3267 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
3268 inline `gdb_init_command' processing.
3269 (gdb_start_cmd): Likewise.
3270 * lib/mi-support.exp (mi_run_cmd): Likewise.
3271 * README: Document `gdb_init_command' and `gdb_init_commands'.
3272
218c2655
JK
32732014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3274
3275 Fix false FAIL running under a very long directory name.
3276 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
3277 and "set print elements 10000". Twice.
3278
5401fde3
YQ
32792014-07-11 Yao Qi <yao@codesourcery.com>
3280
3281 * gdb.base/exprs.exp: "set print symbol off".
3282
e76126e8
PA
32832014-07-11 Pedro Alves <palves@redhat.com>
3284
3285 * gdb.threads/kill.c: New file.
3286 * gdb.threads/kill.exp: New file.
3287
2d6f0de6
YQ
32882014-07-10 Yao Qi <yao@codesourcery.com>
3289
3290 * gdb.trace/tfile.c (write_basic_trace_file)
3291 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
3292 address written to trace file.
3293
7180e04a
PA
32942014-07-09 Pedro Alves <palves@redhat.com>
3295
3296 * gdb.base/attach-wait-input.exp: New file.
3297 * gdb.base/attach-wait-input.c: New file.
3298
9a9a7608
AB
32992014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3300
3301 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
3302 setting up test structures.
3303 (main): Call new test function.
3304 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
3305 test function, continue into test function and walk test
3306 structures.
3307
161ac41e
YQ
33082014-07-02 Yao Qi <yao@codesourcery.com>
3309
3310 * gdb.trace/entry-values.c: Define labels 'foo_start' and
3311 'bar_start' at the beginning of functions 'foo' and 'bar'
3312 respectively.
3313 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
3314 instead of 'foo' and 'bar'.
3315
1f267ae3
MM
33162014-07-08 Markus Metzger <markus.t.metzger@intel.com>
3317
3318 * gdb.btrace/segv.exp: New.
3319 * gdb.btrace/segv.c: New.
3320
2b239efb
LM
33212014-07-02 Luis Machado <lgustavo@codesourcery.com>
3322
3323 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
3324 instruction.
3325
cf363f18
MW
33262014-06-30 Mark Wielaard <mjw@redhat.com>
3327
3328 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
3329 vulture, vilify, villar): New volatile array constants.
3330 (vindictive, vegetation): New const volatile array constants.
3331 * gdb.base/volatile.exp: Test volatile and const volatile array
3332 types.
3333
aebf9d24
AA
33342014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
3335
3336 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
3337 target lacks support for awatch, rwatch, or hbreak.
3338
b67a2c6f
YQ
33392014-06-27 Yao Qi <yao@codesourcery.com>
3340
3341 * gdb.multi/dummy-frame-restore.exp: New.
3342 * gdb.multi/dummy-frame-restore.c: New.
3343
aef92902
MM
33442014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3345
3346 * gdb.btrace/gcore.exp: New.
3347
8e9db26e
PA
33482014-06-23 Pedro Alves <palves@redhat.com>
3349
3350 * gdb.base/watchpoint-reuse-slot.c: New file.
3351 * gdb.base/watchpoint-reuse-slot.exp: New file.
3352
70afc5b7
SC
33532014-06-23 Siva Chandra Reddy <sivachandra@google.com>
3354
3355 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
3356 progspace's filename in 'info', 'enable' and 'disable' command
3357 tests.
3358
b972bd9c
JK
33592014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3360
3361 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
3362 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3363 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
3364
125f8a3d
GB
33652014-06-20 Gary Benson <gbenson@redhat.com>
3366
3367 * gdb.arch/i386-avx.exp: Fix include file location.
3368 * gdb.arch/i386-sse.exp: Likewise.
3369
3ed9baed
IB
33702014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
3371
3372 * gdb.dlang/expression.exp: New file.
3373
034f788c
PA
33742014-06-19 Pedro Alves <palves@redhat.com>
3375
3376 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
3377 out from ...
3378 (top level): ... here. Iterate running tests under different
3379 scheduler-locking settings.
3380
45371d0c
LM
33812014-06-18 Luis Machado <lgustavo@codesourcery.com>
3382
3383 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
3384 to DW_FORM_addr and use non-zero addresses.
3385
5d376983
SC
33862014-06-18 Siva Chandra Reddy <sivachandra@google.com>
3387
3388 PR gdb/17017
3389 * gdb.python/py-xmethods.cc: Add global function call counters and
3390 increment them in their respective functions. Remove "cout"
3391 statements.
3392 * gdb.python/py-xmethods.exp: Make tests check the global function
3393 call counters instead of depending on inferior IO.
3394
a1aa2221
LM
33952014-06-18 Don Breazeal <donb@codesourcery.com>
3396
3397 * gdb.base/foll-fork.exp (default_fork_parent_follow):
3398 Deleted procedure.
3399 (explicit_fork_parent_follow): Deleted procedure.
3400 (explicit_fork_child_follow): Deleted procedure.
3401 (test_follow_fork): New procedure.
3402 (do_fork_tests): Replace calls to deleted procedures with
3403 calls to test_follow_fork and reset GDB for subsequent
3404 procedure calls.
3405
0fc05997
YQ
34062014-06-17 Yao Qi <yao@codesourcery.com>
3407
3408 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
3409 CP1252.
3410
70795c52
LM
34112014-06-17 Luis Machado <lgustavo@codesourcery.com>
3412
3413 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
3414 Initialize ptr and S explicitly.
3415 (skip_type_update_when_not_use_rtti_test): Likewise.
3416
6be47f0c
KS
34172014-06-16 Keith Seitz <keiths@redhat.com>
3418
3419 PR mi/15863
3420 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
3421 the inferior is started.
3422
d03de421
PA
34232014-06-16 Pedro Alves <palves@redhat.com>
3424
3425 * gdb.base/break-main-file-remove-fail.c: New file.
3426 * gdb.base/break-main-file-remove-fail.exp: New file.
3427 * gdb.base/break-unload-file.exp: Use build_executable instead of
3428 prepare_for_testing.
3429 (test_break): New parameter "initial_load". Handle it.
3430 (top level): Add initial_load cmdline/file axis.
3431
f9579b99
TT
34322014-06-12 Tom Tromey <tromey@redhat.com>
3433
3434 * gdb.base/completion.exp: Don't use directory name in test.
3435
3657956b
GB
34362014-06-09 Gary Benson <gbenson@redhat.com>
3437
3438 * gdb.base/sigall.c [Functions to send signals]: Reorder to
3439 separate the always-available ANSI-standard signals from the
3440 signals that require checking.
3441 (main): Likewise.
3442 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
3443 Likewise.
3444 (main): Likewise.
3445
4186eb54
KS
34462014-06-07 Keith Seitz <keiths@redhat.com>
3447
3448 Revert:
3449 PR c++/16253
3450 * gdb.cp/var-tag.cc: New file.
3451 * gdb.cp/var-tag.exp: New file.
3452 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3453 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3454 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3455 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3456
25326a28 34572014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
3458
3459 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
3460
829155c9
PA
34612014-06-06 Pedro Alves <palves@redhat.com>
3462
3463 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
3464 in target debug output instead of looking at RSP packets,
3465 disabling the test on any target that uses hardware stepping.
3466 Update comments.
3467
61c8d22e
PA
34682014-06-06 Pedro Alves <palves@redhat.com>
3469
3470 * gdb.base/break-unload-file.exp: Fix typo.
3471
d9a47287
YQ
34722014-06-06 Yao Qi <yao@codesourcery.com>
3473
3474 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
3475 from "jit_function" to "^jit_function".
3476
e5e01dbf
YQ
34772014-06-06 Yao Qi <yao@codesourcery.com>
3478
3479 * gdb.base/async.c (foo): Add one statement.
3480 * gdb.base/async.exp: Get the next instruction address and
3481 match the output of "nexti" by instruction address. Match
3482 the hex address in the output of "finish".
3483
73ba372c
GB
34842014-06-06 Gary Benson <gbenson@redhat.com>
3485
3486 * gdb.base/call-signals.c: Remove preprocessor conditionals
3487 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
3488 SIGSEGV and SIGTERM.
3489 * gdb.base/sigall.c: Likewise.
3490 * gdb.base/unwindonsignal.c: Likewise.
3491 * gdb.reverse/sigall-reverse.c: Likewise.
3492
831517df
YQ
34932014-06-06 Yao Qi <yao@codesourcery.com>
3494
3495 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
3496 readable, skip the test.
3497
b8b91e98
YQ
34982014-06-06 Yao Qi <yao@codesourcery.com>
3499
3500 * gdb.threads/staticthreads.c (thread_function): Move the line
3501 setting breakpoint on forward.
3502 * gdb.threads/staticthreads.exp: Update comments.
3503
fb934770
LC
35042014-06-05 Ludovic Courtès <ludo@gnu.org>
3505
3506 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
3507 "history-append! type error".
3508
6ef284bd
SM
35092014-06-05 Simon Marchi <simon.marchi@ericsson.com>
3510
3511 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
3512 erroneous dprintf expected input.
3513
a872e241
DE
35142014-06-04 Doug Evans <xdje42@gmail.com>
3515
3516 * gdb.guile/scm-generics.exp: Delete.
3517
16f691fb
DE
35182014-06-04 Doug Evans <xdje42@gmail.com>
3519
3520 * gdb.guile/scm-breakpoint.exp: Update.
3521 Add tests for breakpoint registration.
3522
012370f6
TT
35232014-06-04 Tom Tromey <tromey@redhat.com>
3524
3525 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
3526 VLA-in-union.
3527 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
3528 inner_vla_struct, vla_union types. Initialize objects of those
3529 types and compute their sizes.
3530
9f5a4cef
HZ
35312014-06-04 Nathan Sidwell <nathan@codesourcery.com>
3532 Hui Zhu <hui@codesourcery.com>
3533
3534 * gdb.base/fileio.exp: Add test for shell not available as well as
3535 available.
3536 * gdb.base/fileio.c (test_system): Check for shell twice.
3537
90a45c4d
YQ
35382014-06-04 Yao Qi <yao@codesourcery.com>
3539
3540 * gdb.base/auto-connect-native-target.exp: Remove redundant
3541 space from the regexp pattern.
3542
70017e41
YQ
35432014-06-04 Yao Qi <yao@codesourcery.com>
3544
3545 * gdb.base/default.exp: Replace "child" with "native" in
3546 regexp pattern.
3547
883964a7
SC
35482014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3549
3550 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
3551 * gdb.python/py-xmethods.exp: New tests to test xmethods.
3552 * gdb.python/py-xmethods.py: Python script supporting the
3553 new testcase and tests.
3554
ef370185
JB
35552014-06-03 Joel Brobecker <brobecker@adacore.com>
3556 Pedro Alves <palves@redhat.com>
3557
3558 PR breakpoints/17000
3559 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
3560 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
3561
1e2ccb61
BM
35622014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
3563
3564 * gdb.base/subst.exp: Add tests to verify partial path matching
3565 output.
3566
c6ec5ab2
PA
35672014-06-03 Pedro Alves <palves@redhat.com>
3568
3569 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
3570 target that doesn't use software single-stepping.
3571
835c559f
PA
35722014-06-03 Pedro Alves <palves@redhat.com>
3573
3574 PR breakpoints/17000
3575 * gdb.base/sss-bp-on-user-bp-2.c: New file.
3576 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
3577
06eb1586
DE
35782014-06-02 Doug Evans <xdje42@gmail.com>
3579
3580 * gdb.guile/scm-parameter.exp: New file.
3581
e698b8c4
DE
35822014-06-02 Doug Evans <xdje42@gmail.com>
3583
3584 * gdb.guile/scm-cmd.c: New file.
3585 * gdb.guile/scm-cmd.exp: New file.
3586
ded03782
DE
35872014-06-02 Doug Evans <xdje42@gmail.com>
3588
3589 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
3590 pretty-printer lookup.
3591 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
3592 (make-pp_s-printer): Call it.
3593 (make-pretty-printer-from-dict): New function.
3594 (lookup-pretty-printer-maker-from-dict): New function.
3595 (*pretty-printer*): Simplify.
3596 (make-objfile-pp_s-printer): New function.
3597 (install-objfile-pretty-printers!): New function.
3598 (make-progspace-pp_s-printer): New function.
3599 (install-progspace-pretty-printers!): New function.
3600 * gdb.guile/scm-progspace.c: New file.
3601 * gdb.guile/scm-progspace.exp: New file.
3602
41fac0cf
PA
36032014-06-02 Pedro Alves <palves@redhat.com>
3604
3605 * gdb.base/dprintf-bp-same-addr.c: New file.
3606 * gdb.base/dprintf-bp-same-addr.exp: New file.
3607
96ae5695
EBM
36082014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3609
3610 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
3611 * gdb.arch/powerpc-power.s: Likewise.
3612
da02b3a8
JB
36132014-06-02 Joel Brobecker <brobecker@adacore.com>
3614
3615 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
3616
c72b2e7b
YQ
36172014-06-01 Yao Qi <yao@codesourcery.com>
3618
3619 * gdb.base/watchpoint.exp (test_watch_location): Check null
3620 pointer can be dereferenced. If not, do the test, otherwise
3621 skip it.
3622
53e8a631
AB
36232014-05-30 Andrew Burgess <aburgess@broadcom.com>
3624
3625 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
3626 results.
3627 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
3628
938f0e2f
AB
36292014-05-30 Andrew Burgess <aburgess@broadcom.com>
3630
3631 * gdb.arch/amd64-invalid-stack-middle.S: New file.
3632 * gdb.arch/amd64-invalid-stack-middle.c: New file.
3633 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
3634 * gdb.arch/amd64-invalid-stack-top.c: New file.
3635 * gdb.arch/amd64-invalid-stack-top.exp: New file.
3636
9ba6657a
PA
36372014-05-30 Pedro Alves <palves@redhat.com>
3638
3639 PR breakpoints/17000
3640 * gdb.base/sss-bp-on-user-bp.c: New file.
3641 * gdb.base/sss-bp-on-user-bp.exp: New file.
3642
522c09bf
DB
36432014-05-30 David Blaikie <dblaikie@gmail.com>
3644
3645 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
3646 gnu_inline semantics via attribute.
3647 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
3648 source explicitly specifies the required semantics.
3649
bf4ef81e
MR
36502014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
3651
3652 * gdb.reverse/sigall-reverse.exp: Fix a typo.
3653
329ea579
PA
36542014-05-29 Pedro Alves <palves@redhat.com>
3655 Tom Tromey <tromey@redhat.com>
3656
3657 * gdb.base/async-shell.exp: Don't enable target-async.
3658 * gdb.base/async.exp
3659 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
3660 parameter. Adjust.
3661 (top level): Don't test with "target-async".
3662 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
3663 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
3664 * gdb.base/inferior-died.exp: Don't enable target-async.
3665 * gdb.base/interrupt-noterm.exp: Likewise.
3666 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
3667 * gdb.mi/mi-nonstop-exit.exp: Likewise.
3668 * gdb.mi/mi-nonstop.exp: Likewise.
3669 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
3670 * gdb.mi/mi-nsintrall.exp: Likewise.
3671 * gdb.mi/mi-nsmoribund.exp: Likewise.
3672 * gdb.mi/mi-nsthrexec.exp: Likewise.
3673 * gdb.mi/mi-watch-nonstop.exp: Likewise.
3674 * gdb.multi/watchpoint-multi.exp: Adjust comment.
3675 * gdb.python/py-evsignal.exp: Don't enable target-async.
3676 * gdb.python/py-evthreads.exp: Likewise.
3677 * gdb.python/py-prompt.exp: Likewise.
3678 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
3679 * gdb.server/solib-list.exp: Don't enable target-async.
3680 * gdb.threads/thread-specific-bp.exp: Likewise.
3681 * lib/mi-support.exp: Adjust to use mi-async.
3682
fd664c91
PA
36832014-05-29 Pedro Alves <palves@redhat.com>
3684
3685 PR gdb/13860
3686 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
3687 reason, even in sync mode.
3688
251bde03
PA
36892014-05-29 Pedro Alves <palves@redhat.com>
3690 Hui Zhu <hui@codesourcery.com>
3691
3692 PR PR15693
3693 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
3694 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
3695 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
3696 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
3697
7f3c0343
JB
36982014-05-28 Joel Brobecker <brobecker@adacore.com>
3699
3700 * config/monitor.exp (gdb_target_monitor): Replace use of
3701 "set remotebaud" by "set serial baud".
3702
b2715b27
AW
37032014-05-26 Andy Wingo <wingo@igalia.com>
3704
3705 * gdb.guile/scm-breakpoint.exp:
3706 * gdb.guile/scm-gsmob.exp: Update to use plain old object
3707 properties instead of gdb-object-properties.
3708
498a4489
YQ
37092014-05-26 Yao Qi <yao@codesourcery.com>
3710
3711 * gdb.server/no-thread-db.exp: Specify source file name
3712 explicitly when setting a breakpoint.
3713
589fdceb
MM
37142014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3715
3716 * gdb.btrace/vdso.c: New.
3717 * gdb.btrace/vdso.exp: New.
3718
e9089e05
MM
37192014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3720
3721 * gdb.base/gcore.exp (capture_command_output): Move ...
3722 * lib/gdb.exp (capture_command_output): ... here.
3723
67b5c0c1
MM
37242014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3725
3726 * gdb.btrace/data.exp: Test memory access during btrace replay.
3727
a2199296
SM
37282014-05-22 Simon Marchi <simon.marchi@ericsson.com>
3729
3730 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
3731
17b2616c
PA
37322014-05-21 Pedro Alves <palves@redhat.com>
3733
3734 PR gdb/13860
3735 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
3736 (top level): Test that output related to execution commands is
3737 sent to the console with CLI commands, but not with MI commands.
3738 Test that breakpoint events are always mirrored to the console.
3739 Also expect the new source line to be output after a "next" in
3740 async mode too. Make it a pass/fail test.
3741 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
3742 output.
3743 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
3744
5166082f
PA
37452014-05-21 Pedro Alves <palves@redhat.com>
3746
3747 * gdb.base/list.exp (build_pattern, test_list): New procedures.
3748 Use them to test variations of "list" after reaching a breakpoint.
3749 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
3750 Test "list" with listsize 10 after reaching a breakpoint.
3751 * gdb.python/python.exp (decode_line current location line
3752 number): Adjust expected line number.
3753
2f25d70f
SM
37542014-05-21 Simon Marchi <simon.marchi@ericsson.com>
3755
3756 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
3757 behavior for $args, pass it directly to "run".
3758
ff604a67
MR
37592014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3760
3761 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
3762 30000 to 65536.
3763
6a3cb8e8
PA
37642014-05-21 Pedro Alves <palves@redhat.com>
3765
3766 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
3767 auto-connect-native-target off".
3768 * gdb.base/auto-connect-native-target.c: New file.
3769 * gdb.base/auto-connect-native-target.exp: New file.
3770
4ebfc96e
PA
37712014-05-21 Pedro Alves <palves@redhat.com>
3772
3773 * gdb.base/default.exp: Test "target native" instead of "target
3774 child".
3775
36d46afb
MW
37762014-05-21 Mark Wielaard <mjw@redhat.com>
3777
3778 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3779
5876f503
JK
37802014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3781
3782 Fix TLS access for -static -pthread.
3783 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
3784 <HAVE_TLS> (thread_function, main): Initialize it.
3785 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
3786 Add clean_restart.
3787 <$have_tls != "">: Check TLSVAR.
3788
0256a6ac
PA
37892014-05-21 Pedro Alves <palves@redhat.com>
3790
3791 * gdb.base/dcache-line-read-error.c: New.
3792 * gdb.base/dcache-line-read-error.exp: New.
3793
936d2992
PA
37942014-05-20 Pedro Alves <palves@redhat.com>
3795
3796 * gdb.base/compare-sections.c: New file.
3797 * gdb.base/compare-sections.exp: New file.
3798
802e8e6d
PA
37992014-05-20 Pedro Alves <palves@redhat.com>
3800
3801 * gdb.base/break-idempotent.c: New file.
3802 * gdb.base/break-idempotent.exp: New file.
3803
e59fa00f
MM
38042014-05-20 Markus Metzger <markus.t.metzger@intel.com>
3805
3806 * gdb.btrace/nohist.exp: New.
3807
8b696e31
YQ
38082014-05-20 Yao Qi <yao@codesourcery.com>
3809
3810 * lib/gdb.exp (gdb_init): Set timeout if test file is under
3811 gdb.reverse directory and gdb_reverse_timeout exists in board
3812 setting.
3813 * README: Document gdb_reverse_timeout.
3814
73c9764f
YQ
38152014-05-20 Yao Qi <yao@codesourcery.com>
3816
3817 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
3818 'test_file_name'. Treat args as a string instead of a list.
3819 (gdb_init): Rename argument 'args' by 'test_file_name'.
3820
f1f4348a
JK
38212014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3822
3823 * gdb.arch/powerpc-power.exp: New file.
3824 * gdb.arch/powerpc-power.s: New file.
3825
0dbe70ce
DE
38262014-05-16 Doug Evans <dje@google.com>
3827
3828 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
3829 * gdb.base/completion.exp: Check that all expected files exist
3830 before doing file completion.
0dbe70ce 3831
8d551b02
DE
38322014-05-16 Doug Evans <dje@google.com>
3833
3834 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
3835 Update.
3836 (do_syscall_tests_without_xml): Update.
3837
73eb7709
PA
38382014-05-16 Pedro Alves <palves@redhat.com>
3839
3840 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
3841 instead of "unknown output after running".
3842
3fae92fc
YQ
38432014-05-16 Yao Qi <yao@codesourcery.com>
3844
3845 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
3846 file1.txt from host at the end.
3847 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3848
c2b2ccc5
DE
38492014-05-15 Doug Evans <dje@google.com>
3850
3851 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
3852 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
3853 loading file. Add test for TU lookup.
3854
8c217a4b
SM
38552014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3856
3857 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
3858 calling "-exec-arguments" or "set args" before running the
3859 inferior.
3860
3deb39c6
SM
38612014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3862
3863 * lib/mi-support.exp (mi_expect_stop): Expect message for
3864 inferiors that exit with non-zero exit code.
3865
71a79f8c
YQ
38662014-05-14 Yao Qi <yao@codesourcery.com>
3867
3868 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
3869 match absolute path on remote host.
3870 (test_file_list_exec_source_files): Remove "/" from the
3871 pattern.
3872
f23fcd46
YQ
38732014-05-14 Yao Qi <yao@codesourcery.com>
3874
3875 * boards/local-remote-host-notty.exp (${board}_file): New
3876 proc.
3877
9404b58f
KM
38782014-05-07 Kyle McMartin <kyle@redhat.com>
3879
3880 Pushed by Joel Brobecker <brobecker@adacore.com>.
3881 * gdb.arch/aarch64-atomic-inst.c: New file.
3882 * gdb.arch/aarch64-atomic-inst.exp: New file.
3883
5e45f04c
YQ
38842014-05-07 Yao Qi <yao@codesourcery.com>
3885
3886 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
3887 in current context" too.
3888
c888a17d
KS
38892014-05-05 Keith Seitz <keiths@redhat.com>
3890
3891 * gdb.linespec/ls-dollar.exp: Add test for linespec
3892 file:convenience_variable.
3893
290a839c
YQ
38942014-05-05 Yao Qi <yao@codesourcery.com>
3895
3896 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
3897 traceframes into tfile and ctf trace files. Read data from
3898 trace file and test collected data.
3899 (gdb_collect_locals_test): Likewise.
3900 (gdb_unavailable_registers_test): Likewise.
3901 (gdb_unavailable_floats): Likewise.
3902 (gdb_collect_globals_test): Likewise.
3903 (top-level): Append "ctf" to trace_file_targets if GDB
3904 supports.
3905
b5262cd0
YQ
39062014-05-05 Yao Qi <yao@codesourcery.com>
3907
3908 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
3909 code to ...
3910 (gdb_collect_args_test_1): ... it. New proc.
3911 (gdb_collect_locals_test): Move some code to ...
3912 (gdb_collect_locals_test_1): ... it. New proc.
3913 (gdb_unavailable_registers_test): Move some code to ...
3914 (gdb_unavailable_registers_test_1): ... it. New proc.
3915 (gdb_unavailable_floats): Move some code to ...
3916 (gdb_unavailable_floats_1): ... it. New proc.
3917
30a1e6cc
SDJ
39182014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3919
3920 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
3921 probes to test for bitness recognition.
3922 * gdb.arch/amd64-stap-optional-prefix.exp
3923 (test_probe_value_without_reg): New procedure.
3924 Add code to test for different kinds of bitness.
3925
f33da99a
SDJ
39262014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3927
3928 PR breakpoints/16889
3929 * gdb.arch/amd64-stap-optional-prefix.S: New file.
3930 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3931
5b80f00d
PA
39322014-05-01 Pedro Alves <palves@redhat.com>
3933
3934 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
3935 gdb_file_cmd if no file is specified.
3936 * boards/native-extended-gdbserver.exp (gdb_load): Use the
3937 last_loaded_file to set the remote exec-file.
3938
f8c2a73c
PA
39392014-05-01 Pedro Alves <palves@redhat.com>
3940
3941 * boards/local-remote-host.exp: New file.
3942
be6e8ac7
PA
39432014-05-01 Pedro Alves <palves@redhat.com>
3944
3945 * boards/local-remote-host.exp: Rename to ...
3946 * boards/local-remote-host-notty.exp: ... this.
3947
cac0dc8f
JB
39482014-04-28 Joel Brobecker <brobecker@adacore.com>
3949
3950 * gdb.ada/dyn_arrayidx: New testcase.
3951
9730e6cc
YQ
39522014-04-26 Yao Qi <yao@codesourcery.com>
3953
3954 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
3955 and compute the length of function main. Save it in
3956 $main_length.
3957 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
3958 (top-level): Use gdb_compile to compile objects into
3959 executable and restart GDB. Remove invocation to
3960 prepare_for_testing.
3961
7ae1a6a6
PA
39622014-04-25 Simon Marchi <simon.marchi@ericsson.com>
3963 Pedro Alves <palves@redhat.com>
3964
3965 PR server/16255
3966 * gdb.multi/multi-attach.c: New file.
3967 * gdb.multi/multi-attach.exp: New file.
3968
4082afcc
PA
39692014-04-25 Pedro Alves <palves@redhat.com>
3970
3971 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
3972 user.
3973 (top level): Test that "set remote conditional-breakpoints-packet
3974 off" works as intended.
3975 * gdb.base/dprintf.exp: Test that "set remote
3976 breakpoint-commands-packet off" works as intended.
3977 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
3978 New function.
3979 (top level): Call it.
3980 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
3981 remote fast-tracepoints-packet off" works as intended.
3982 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
3983 * lib/gdb.exp (gdb_is_target_remote): ... here.
3984
2abc3f8d
DB
39852014-04-24 David Blaikie <dblaikie@gmail.com>
3986
3987 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
3988 ensure clang would not discard them.
3989 * gdb.base/gdbvars.c: Ditto.
3990 * gdb.base/memattr.c: Ditto.
3991 * gdb.base/whatis.c: Ditto.
3992 * gdb.python/py-prettyprint.c: Ditto.
3993 * gdb.trace/actions.c: Ditto.
3994 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
3995 ensure clang would not discard it.
3996
bfd39632
DB
39972014-04-24 David Blaikie <dblaikie@gmail.com>
3998
3999 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
4000 clang to emit the full definition of type required by the test
4001 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
4002
22842ff6
DB
40032014-04-24 David Blaikie <dblaikie@gmail.com>
4004
4005 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
4006 coax Clang into emitting the definition of the type.
4007 * gdb.cp/pr10728-x.h (y): Ditto.
4008 * gdb.cp/pr10728-y.cc (y): Ditto.
4009
c2e827ad
DB
40102014-04-24 David Blaikie <dblaikie@gmail.com>
4011
4012 * gdb.base/label.exp: XFAIL label related tests under Clang.
4013 * gdb.cp/cplabel.exp: Ditto.
4014 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
4015 under Clang those using labels.
4016
4c2d33e7
YQ
40172014-04-25 Yao Qi <yao@codesourcery.com>
4018
4019 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
4020 double_label.
4021 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
4022 partial_label and double_label.
4023
56083b99
DB
40242014-04-24 David Blaikie <dblaikie@gmail.com>
4025
4026 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
4027
25d4e99d
DB
40282014-04-24 David Blaikie <dblaikie@gmail.com>
4029
4030 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
4031 of the function to work across GCC and Clang.
4032 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
4033 pointer types (const void ** const V void **).
4034
01f9f808
MS
40352014-04-24 Michael Sturm <michael.sturm@mintel.com>
4036 Walfred Tedeschi <walfred.tedeschi@intel.com>
4037
4038 * Makefile.in (EXECUTABLES): Added i386-avx512.
4039 * gdb.arch/i386-avx512.c: New file.
4040 * gdb.arch/i386-avx512.exp: Likewise.
4041
4b48d439
KS
40422014-04-23 Keith Seitz <keiths@redhat.com>
4043
4044 * lib/mi-support.exp (mi_list_breakpoints): Delete.
4045 (mi_make_breakpoint_table): New procedure.
4046 (mi_create_breakpoint): Use mi_make_breakpoint
4047 and return the result.
4048 (mi_make_breakpoint): New procedure.
4049 (mi_build_kv_pairs): New procedure.
4050
4051 * gdb.mi/mi-break.exp: Remove unused globals,
4052 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
4053 All callers updated.
4054 * gdb.mi/mi-dprintf.exp: Use variable to track command
4055 number.
4056 Update all callers of mi_create_breakpoint and use
4057 mi_make_breakpoint_table.
4058 Remove any unused global variables.
4059 * gdb.mi/mi-nonstop.exp: Likewise.
4060 * gdb.mi/mi-nsintrall.exp: Likewise.
4061 * gdb.mi/mi-nsmoribund.exp: Likewise.
4062 * gdb.mi/mi-nsthrexec.exp: Likewise.
4063 * gdb.mi/mi-reverse.exp: Likewise.
4064 * gdb.mi/mi-simplerun.exp: Likewise.
4065 * gdb.mi/mi-stepn.exp: Likewise.
4066 * gdb.mi/mi-syn-frame.exp: Likewise.
4067 * gdb.mi/mi-until.exp: Likewise.
4068 * gdb.mi/mi-var-cp.exp: Likewise.
4069 * gdb.mi/mi-var-display.exp: Likewise.
4070 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
4071 * gdb.mi/mi2-var-child.exp: Likewise.
4072 * gdb.mi/mi-vla-c99.exp: Likewise.
4073 * lib/mi-support.exp: Likewise.
4074
4075 From Ian Lance Taylor <iant@cygnus.com>:
4076 * lib/gdb.exp (parse_args): New procedure.
4077
08351840
PA
40782014-04-23 Pedro Alves <palves@redhat.com>
4079
4080 * gdb.base/break-unload-file.c: New file.
4081 * gdb.base/break-unload-file.exp: New file.
4082 * gdb.base/sym-file-lib.c (baz): New function.
4083 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
4084 field.
4085 (load): Store the segment's mapped size.
4086 (unload): New function.
4087 (unload_shlib): New function.
4088 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
4089 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
4090 set a breakpoint at baz, and call it.
4091 * gdb.base/sym-file.exp: New tests for stale breakpoint
4092 instructions.
4093
076855f9
PA
40942014-04-23 Pedro Alves <palves@redhat.com>
4095
4096 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
4097 * gdb.base/hbreak-in-shr-unsupported.c: New file.
4098 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
4099 * gdb.base/hbreak-unmapped.c: New file.
4100 * gdb.base/hbreak-unmapped.exp: New file.
4101 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
4102 * lib/gdb.exp (gdb_is_target_remote): ... here.
4103
483805cf
PA
41042014-04-22 Pedro Alves <palves@redhat.com>
4105
4106 * gdb.base/consecutive-step-over.c: New file.
4107 * gdb.base/consecutive-step-over.exp: New file.
4108
06d97543
PA
41092014-04-22 Pedro Alves <palves@redhat.com>
4110
4111 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
4112 instead of send_gdb/gdb_expect.
4113
b4429ea2
YQ
41142014-04-22 Yao Qi <yao@codesourcery.com>
4115
4116 * lib/trace-support.exp (generate_tracefile): New procedure.
4117 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
4118 return 0.
4119 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
4120 if generate_tracefile returns 1.
4121
51d48146
PA
41222014-04-18 Tom Tromey <palves@redhat.com>
4123 Pedro alves <tromey@redhat.com>
4124
4125 PR backtrace/15558
4126 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
4127 with a backtrace limit.
4128 * gdb.python/py-frame-inline.exp: Test running to an inline
4129 function with a backtrace limit, and printing the newest frame.
4130 * gdb.python/py-frame-inline.c (main): Call f.
4131
bd1dce5f
MS
41322014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
4133
4134 * gdb.java/jnpe.exp: Drop srcdir from untested path.
4135
40d1a503
MS
41362014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
4137
4138 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
4139 Drop prefix from unsupported source file path.
4140
389b98f7
YQ
41412014-04-17 Yao Qi <yao@codesourcery.com>
4142
4143 * lib/gdb.exp (with_target_charset): New proc.
4144 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
4145 with_target_charset.
4146 (test_print_strings): Likewise.
4147 (test_repeat_bytes): Likewise.
4148 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
4149 for some tests.
4150
22869d73
KS
41512014-04-16 Keith Seitz <keiths@redhat.com>
4152
4153 PR gdb/15827
4154 * gdb.dwarf2/corrupt.c: New file.
4155 * gdb.dwarf2/corrupt.exp: New file.
4156
c4f87ca6
KS
41572014-04-16 Keith Seitz <keiths@redhat.com>
4158
4159 PR c++/16597
4160 * gdb.cp/namelessclass.cc: New file.
4161 * gdb.cp/namelessclass.exp: New file.
4162 * gdb.cp/namelessclass.S: New file.
4163
ab19de87
DE
41642014-04-16 Doug Evans <dje@google.com>
4165
4166 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
4167 Add comment.
4168 (gdbserver_default_get_comm_port): New function.
4169 (gdbserver_start): Check if board file provided
4170 "gdbserver,get_comm_port" and use it if so.
4171 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
4172 (gdb,socketport): Set to "stdio".
4173 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
4174 (stdio_gdbserver_template): Delete.
4175 (${board}_get_remote_address): Update.
4176 (${board}_build_remote_cmd): Delete.
4177 (${board}_get_comm_port): New function.
4178 (${board}_spawn): Update.
4179 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
4180 Delete.
4181 (${board}_get_remote_address): Update.
4182 (${board}_get_comm_port): New function.
4183
fc98a809
AB
41842014-04-16 Andrew Burgess <aburgess@broadcom.com>
4185
4186 * gdb.base/memattr.exp: Improve regexps to handle memory regions
4187 appearing in any order.
4188
87fd9e6e
DE
41892014-04-15 Doug Evans <dje@google.com>
4190
4191 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
4192 uninitialized value of "description".
4193
099fc3ea
KS
41942014-04-15 Keith Seitz <keiths@redhat.com>
4195
4196 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
4197 Remove unused globals.
4198 (test_running_the_program): Likewise.
4199 (test_controlled_execution): Likewise.
4200 (test_controlling_breakpoints): Likewise.
4201 (test_program_termination): Likewise.
4202
5da151d4
KS
42032014-04-15 Keith Seitz <keiths@redhat.com>
4204
4205 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
4206 unused globals.
4207 (test_rbreak_creation_and_listing): Likewise.
4208 (test_ignore_count): Likewise.
4209 (test_error): Likewise.
4210
35e5d2f0
PA
42112014-04-15 Pedro Alves <palves@redhat.com>
4212
4213 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
4214 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
4215 sym-file-loader.c.
4216 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4217 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4218 to sym-file-loader.c.
4219 (struct library): Forward declare.
4220 (load_shlib, lookup_function): Change prototypes.
4221 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4222 (translate_offset): Remove declarations.
4223 (get_text_addr): New declaration.
4224 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
4225 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
4226 sym-file-loader.h.
4227 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4228 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4229 here from sym-file-loader.h.
4230 (struct library): New structure.
4231 (load_shlib, lookup_function): Change prototypes and adjust to
4232 work with a struct library.
4233 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4234 (translate_offset): Make static.
4235 (get_text_addr): New function.
4236 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
4237
eb4c1710
PA
42382014-04-15 Pedro Alves <palves@redhat.com>
4239
4240 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
4241
2d1baf52
PA
42422014-04-15 Pedro Alves <palves@redhat.com>
4243
4244 * gdb.base/sym-file-loader.c: Include <limits.h>.
4245 (SELF_LINK): New define.
4246 (get_origin): New function.
4247 (load_shlib): Use it.
4248 * gdb.base/sym-file.exp: Don't early return if the target is
4249 remote. Use runto_main, and issue fail is that fails. Use
4250 gdb_load_shlibs.
4251 (shlib_name): Delete.
4252 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
4253
7dd6df01
PA
42542014-04-15 Pedro Alves <palves@redhat.com>
4255
4256 * gdb.base/sym-file.exp: Remove regex characters from test
4257 message. Don't refer to breakpoint numbers in test messages.
4258
b50c8614
KS
42592014-04-14 Keith Seitz <keiths@redhat.com>
4260
4261 PR c++/16253
4262 * gdb.cp/var-tag.cc: New file.
4263 * gdb.cp/var-tag.exp: New file.
4264 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4265 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4266 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4267 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4268
3d567982
TT
42692014-04-14 Tom Tromey <tromey@redhat.com>
4270
4271 * gdb.cp/classes.exp (test_enums): Handle underlying type.
4272 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
4273 type.
4274 * gdb.cp/enum-class.exp: New file.
4275 * gdb.cp/enum-class.cc: New file.
4276
0626fc76
TT
42772014-04-14 Tom Tromey <tromey@redhat.com>
4278
4279 * gdb.dwarf2/enum-type.exp: New file.
4280
dca325b3
SA
42812014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4282
4283 * gdb.mi/mi-vla-c99.exp: New file.
4284 * gdb.mi/vla.c: New file.
4285
5854b38a
SA
42862014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4287
4288 * gdb.base/vla-datatypes.c: New file.
4289 * gdb.base/vla-datatypes.exp: New file.
4290
463bb957
SA
42912014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4292
4293 * gdb.base/vla-ptr.c: New file.
4294 * gdb.base/vla-ptr.exp: New file.
4295
3dd170be
SA
42962014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4297
4298 * gdb.dwarf2/count.exp: New file.
4299
5ecaaa66
SA
43002014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4301
4302 * gdb.base/vla-sideeffect.c: New file.
4303 * gdb.base/vla-sideeffect.exp: New file.
4304
41f1ada5
DB
43052014-04-14 David Blaikie <dblaikie@gmail.com>
4306
4307 * gdb.mi/non-stop.c: Add return value for non-void function return
4308 statement.
4309 * gdb.threads/staticthreads.c: Ditto.
4310
0be03e84
DE
43112014-04-12 Siva Chandra Reddy <sivachandra@google.com>
4312 Doug Evans <xdje42@gmail.com>
4313
4314 * gdb.guile/scm-value.c: Improve test case.
4315 * gdb.guile/scm-value.exp: Add new test.
4316
f180a1fb
DB
43172014-04-11 David Blaikie <dblaikie@gmail.com>
4318
4319 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
4320 override Clang's default.
4321
6b662e19
JB
43222014-04-11 Joel Brobecker <brobecker@adacore.com>
4323
4324 Revert the following changes (regressions):
4325
4326 * gdb.base/vla-sideeffect.c: New file.
4327 * gdb.base/vla-sideeffect.exp: New file.
4328
4329 * gdb.dwarf2/count.exp: New file.
4330
4331 * gdb.base/vla-multi.c: New file.
4332 * gdb.base/vla-multi.exp: New file.
4333
4334 * gdb.base/vla-ptr.c: New file.
4335 * gdb.base/vla-ptr.exp: New file.
4336
4337 * gdb.base/vla-datatypes.c: New file.
4338 * gdb.base/vla-datatypes.exp: New file.
4339
4340 * gdb.mi/mi-vla-c99.exp: New file.
4341 * gdb.mi/vla.c: New file.
4342
245a5f0b
KS
43432014-04-11 Keith Seitz <keiths@redhat.com>
4344
4345 PR c++/16675
4346 * gdb.cp/cpsizeof.exp: New file.
4347 * gdb.cp/cpsizeof.cc: New file.
4348
58a84dcf
SA
43492014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4350
191a8a90
JB
4351 * gdb.mi/mi-vla-c99.exp: New file.
4352 * gdb.mi/vla.c: New file.
58a84dcf 4353
c8655f75
SA
43542014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4355
4356 * gdb.base/vla-datatypes.c: New file.
4357 * gdb.base/vla-datatypes.exp: New file.
4358
024e13b4
SA
43592014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4360
4361 * gdb.base/vla-ptr.c: New file.
4362 * gdb.base/vla-ptr.exp: New file.
4363
1a237e0e
SA
43642014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4365
4366 * gdb.base/vla-multi.c: New file.
4367 * gdb.base/vla-multi.exp: New file.
4368
504f3432
SA
43692014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4370
4371 * gdb.dwarf2/count.exp: New file.
4372
3bce8237
SA
43732014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4374
191a8a90
JB
4375 * gdb.base/vla-sideeffect.c: New file.
4376 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 4377
322f9c21
YQ
43782014-04-11 Yao Qi <yao@codesourcery.com>
4379
4380 * gdb.base/completion.exp: Check file exists before running tests
4381 on file completion.
4382
d708bcd1
PA
43832014-04-10 Pedro Alves <palves@redhat.com>
4384
4385 * gdb.base/cond-eval-mode.c: New file.
4386 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
4387 prepare_for_testing to build the new file. Check result of
4388 runto_main.
4389 (test_break, test_watch): New procedures.
4390 (top level): Use them.
4391
ae1d2761
PM
43922014-04-08 Pierre Muller <muller@sourceware.org>
4393
4394 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
4395 Ctrl-V use for mingw hosts.
4396
7af389b8
SC
43972014-04-07 Siva Chandra Reddy <sivachandra@google.com>
4398
4399 * gdb.python/py-value.c: Improve test case.
4400 * gdb.python/py-value.exp: Add new test.
4401
5e703181
DE
44022014-04-07 David Blaikie <dblaikie@gmail.com>
4403
4404 * lib/compiler.c: Identify the clang compiler.
4405 * lib/compiler.cc: Ditto.
4406
9810b410
YQ
44072014-04-03 Yao Qi <yao@codesourcery.com>
4408
4409 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
4410
98d1b8dc
AB
44112014-04-01 Anton Blanchard <anton@samba.org>
4412
4413 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
4414 messages unique.
4415
3114cea1
AB
44162014-04-01 Anton Blanchard <anton@samba.org>
4417
4418 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
4419 prepare_for_testing.
4420
62f7182c
AB
44212014-04-01 Anton Blanchard <anton@samba.org>
4422
4423 * gdb.arch/ppc64-atomic-inst.c: Remove.
4424 * gdb.arch/ppc64-atomic-inst.S: New file.
4425 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
4426
770e7fc7
DE
44272014-03-31 Doug Evans <dje@google.com>
4428
4429 * gdb.base/print-symbol-loading-lib.c: New file.
4430 * gdb.base/print-symbol-loading-main.c: New file.
4431 * gdb.base/print-symbol-loading.exp: New file.
4432
46e2bafa
YQ
44332014-03-31 Yao Qi <yao@codesourcery.com>
4434
4435 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
4436
8776cfe9
JB
44372014-03-28 Joel Brobecker <brobecker@adacore.com>
4438
4439 * gdb.ada/mi_dyn_arr: New testcase.
4440
5d1ef361
DE
44412014-03-27 Doug Evans <dje@google.com>
4442
4443 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
4444
b5bee914
YQ
44452014-03-27 Yao Qi <yao@codesourcery.com>
4446
4447 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
4448 if target is nios2-*-*.
4449
0d4d0e77
YQ
44502014-03-26 Yao Qi <yao@codesourcery.com>
4451
4452 * lib/gdb.exp (readline_is_used): New proc.
4453 * gdb.base/completion.exp: Move tests on command complete up.
4454 Skip the rest of tests if readline is not used.
4455 * gdb.ada/complete.exp: Skp the test if readline is not
4456 used.
4457 * gdb.base/filesym.exp: Likewise.
4458 * gdb.base/macscp.exp: Likewise.
4459 * gdb.base/readline-ask.exp: Likewise.
4460 * gdb.base/readline.exp: Likewise.
4461 * gdb.python/py-cmd.exp: Likewise.
4462 * gdb.trace/tfile.exp: Likewise.
4463
29361eee
YQ
44642014-03-26 Yao Qi <yao@codesourcery.com>
4465
4466 * gdb.base/macscp.exp: Fix code format issues.
4467
bc9a5525
UW
44682014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
4469
4470 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
4471 * gdb.asm/powerpc64le.inc: New file.
4472
d3839ede
PA
44732014-03-25 Pedro Alves <palves@redhat.com>
4474 Doug Evans <dje@google.com>
4475
4476 * gdb.base/source-execution.c: New file.
4477 * gdb.base/source-execution.exp: New file.
4478 * gdb.base/source-execution.gdb: New file.
4479
01672a57
DE
44802014-03-24 Doug Evans <dje@google.com>
4481
4482 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
4483 using fission.
4484
88bbeca9
HZ
44852014-03-24 Hui Zhu <hui@codesourcery.com>
4486 Pedro Alves <palves@redhat.com>
4487
4488 PR breakpoints/16101
4489 * gdb.base/dprintf.exp: Use unsupported rather than changing the
4490 test pass/fail messages. Detect missing support for dprintf when
4491 breakpoints are actually inserted.
4492 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
4493 breakpoints are actually inserted.
4494 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
4495 fails.
4496
d2348791
JK
44972014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4498
4499 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
4500
feef67ab
DE
45012014-03-22 Doug Evans <xdje42@gmail.com>
4502
4503 * gdb.python/python.exp (python not supported): Verify multi-line
4504 python command issues an error.
25d743f9 4505 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 4506 guile command issues an error.
feef67ab 4507
ecebef6a
MR
45082014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
4509
4510 * gdb.threads/thread-specific.exp: Handle the lack of usable
4511 $this_breakpoint and $this_thread.
4512
ccdd1909
HZ
45132014-03-21 Hui Zhu <hui@codesourcery.com>
4514
4515 * gdb.base/attach.exp (do_command_attach_tests): New.
4516
beb460e8
PA
45172014-03-20 Tom Tromey <tromey@redhat.com>
4518 Pedro Alves <palves@redhat.com>
4519
4520 PR cli/15718
4521 * gdb.base/condbreak-call-false.c: New file.
4522 * gdb.base/condbreak-call-false.exp: New file.
4523
40acf43a
PA
45242014-03-20 Pedro Alves <palves@redhat.com>
4525
4526 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
4527 Delete.
4528 (block_signals, unblock_signals): Delete.
4529 (child_function_2, main): Remove references to deleted variable
4530 and functions.
4531
9f5e1e02
PA
45322014-03-20 Pedro Alves <palves@redhat.com>
4533
4534 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
4535 Use pthread_kill to signal thread 2.
4536 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4537 Adjust to make the test send itself a signal rather than using the
4538 host's "kill" command.
4539
99619bea
PA
45402014-03-20 Pedro Alves <palves@redhat.com>
4541
4542 * gdb.threads/multiple-step-overs.c: New file.
4543 * gdb.threads/multiple-step-overs.exp: New file.
4544 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4545 Adjust expected infrun debug output.
4546
2adfaa28
PA
45472014-03-20 Pedro Alves <palves@redhat.com>
4548
4549 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
4550 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
4551
31e77af2
PA
45522014-03-20 Pedro Alves <palves@redhat.com>
4553
4554 PR breakpoints/7143
4555 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
4556 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
4557 of gdb_test_multiple.
4558 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
4559 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
4560
b9f437de
PA
45612014-03-20 Pedro Alves <palves@redhat.com>
4562
4563 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
4564 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
4565
05adc73e
PA
45662014-03-19 Pedro Alves <palves@redhat.com>
4567
4568 * gdb.base/async.exp: Remove early return.
4569
6048b950
PA
45702014-03-19 Pedro Alves <palves@redhat.com>
4571
4572 * gdb.base/async.exp (step& tests): Pass explicit test messages.
4573
8bcfb00a
PA
45742014-03-19 Pedro Alves <palves@redhat.com>
4575
4576 * gdb.base/async.exp (test_background): Expect \r\n after
4577 "completed." in the fail pattern.
4578
884e37dc
PA
45792014-03-19 Pedro Alves <palves@redhat.com>
4580
4581 * gdb.base/async.exp (test_background): New procedure.
4582 Use it for all background execution command tests.
4583
148e57e2
PA
45842014-03-19 Pedro Alves <palves@redhat.com>
4585
4586 * gdb.base/async.exp: Use prepare_for_testing.
4587
f48088c7
PA
45882014-03-19 Pedro Alves <palves@redhat.com>
4589
4590 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
4591 the same line.
4592
e2f6c966
PA
45932014-03-19 Pedro Alves <palves@redhat.com>
4594
4595 * gdb.base/async.c (main): Add "jump here" and "until here" line
4596 marker comments.
4597 * gdb.base/async.exp (jump_here): New global.
4598 (jump& test): Use it.
4599 (until_here): New global.
4600 (until& test): Use it.
4601
c30568d4
PA
46022014-03-19 Pedro Alves <palves@redhat.com>
4603
4604 * gdb.base/async.exp: Don't frob gdb_protocol.
4605
0172b6a7
DE
46062014-03-18 Doug Evans <xdje42@gmail.com>
4607
4608 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
4609 Fix spelling of exec-done-display.
4610
06c868a8
JK
46112014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4612
4613 PR gdb/15358
4614 * gdb.base/gdb-sigterm.c: New file.
4615 * gdb.base/gdb-sigterm.exp: New file.
4616
0c7e1a46
PA
46172014-03-18 Pedro Alves <palves@redhat.com>
4618
4619 PR gdb/13860
4620 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
4621 * lib/mi-support.exp (mi_expect_stop): Add special handling for
4622 solib-event.
4623
f7c77d93
JB
46242014-03-17 Joel Brobecker <brobecker@adacore.com>
4625
4626 * gdb.ada/pckd_arr_ren: New testcase.
4627
5a1e8c7a
DE
46282014-03-13 Doug Evans <xdje42@gmail.com>
4629
4630 PR guile/16612
4631 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
4632 collect after discarding symbols.
4633
350e1a76
DE
46342014-03-13 Ludovic Courtès <ludo@gnu.org>
4635 Doug Evans <xdje42@gmail.com>
4636
4637 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
4638 to history survives a gc.
4639
a69900ae
PA
46402014-03-13 Pedro Alves <palves@redhat.com>
4641
4642 * gdb.base/default.exp: Don't test "target procfs".
4643
5db9f0bd
PA
46442014-03-13 Pedro Alves <palves@redhat.com>
4645
4646 * gdb.base/default.exp: Update "target child" and "target procfs"
4647 tests to not expect "Unix".
4648
b3ccfe11
TT
46492014-03-12 Tom Tromey <tromey@redhat.com>
4650
4651 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
4652 New procs. Add target-async tests.
4653 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
4654 Add target-async tests.
4655
646f4417
AA
46562014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4657
4658 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
4659 'func_start' and 'func_end' for the beginning and end of the
4660 function code, respectively.
4661 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
4662 'func_end' instead of 'func' and 'main'.
4663
288c211f
AA
46642014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4665
4666 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
4667 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
4668 generate the debug info assembler source.
4669
e0c0f156
AA
46702014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4671
4672 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
4673 * gdb.dwarf2/arr-subrange.exp: Likewise.
4674 * gdb.dwarf2/dwz.exp: Likewise.
4675 * gdb.dwarf2/method-ptr.exp: Likewise.
4676 * gdb.dwarf2/missing-sig-type.exp: Likewise.
4677 * gdb.dwarf2/subrange.exp: Likewise.
4678 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
4679 * gdb.dwarf2/implptrpiece.exp: Likewise.
4680 * gdb.dwarf2/nostaticblock.exp: Likewise.
4681
0e5c4555
AA
46822014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4683
4684 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
4685 directory to absolute path name arguments.
4686
5ec18f2b
JG
46872014-03-10 Joel Brobecker <brobecker@adacore.com>
4688
4689 * gdb.ada/tagged_access: New testcase.
4690
847fc4f2
MM
46912014-03-07 Markus Metzger <markus.t.metzger@intel.com>
4692
4693 * gdb.btrace/data.exp: Update expected output.
4694
cc3da688
YQ
46952014-03-06 Yao Qi <yao@codesourcery.com>
4696
4697 * gdb.trace/pr16508.exp: New file.
4698
0f26cec1
PA
46992014-03-05 Pedro Alves <palves@redhat.com>
4700
4701 PR gdb/16575
4702 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
4703 procedure.
4704 (top level): Adjust to use it. Add tests that exercise breakpoint
4705 interaction with the code-cache.
4706
7a5a839f
LC
47072014-02-26 Ludovic Courtès <ludo@gnu.org>
4708
4709 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
4710 test for 'history-append!'.
4711
31aa7e4e
JB
47122014-02-26 Joel Brobecker <brobecker@adacore.com>
4713
4714 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
4715 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
4716 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
4717 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
4718 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
4719 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
4720
1b588015
JB
47212014-02-26 Joel Brobecker <brobecker@adacore.com>
4722
4723 * testsuite/gdb.python/py-pp-re-notag.c: New file.
4724 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
4725 * testsuite/gdb.python/py-pp-re-notag.p: New file.
4726
55426c9d
JB
47272014-02-26 Joel Brobecker <brobecker@adacore.com>
4728
4729 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
4730
dc53a7ad
JB
47312014-02-26 Joel Brobecker <brobecker@adacore.com>
4732
4733 * gdb.dwarf2/arr-stride.c: New file.
4734 * gdb.dwarf2/arr-stride.exp: New file.
4735
12ab52e9
PA
47362014-02-26 Pedro Alves <palves@redhat.com>
4737
4738 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
4739 that won't ever trigger. Make sure that GDB reports the correct
4740 breakpoint that caused the stop.
4741
849c862e
JK
47422014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4743
4744 PR gdb/16626
4745 * gdb.base/auto-load-script: New file.
4746 * gdb.base/auto-load.c: New file.
4747 * gdb.base/auto-load.exp: New file.
4748
71b7d793
JK
4749 PR gdb/16626
4750 * gdb.base/auto-load.exp: Fix out-of-srctree run.
4751
e2f0d509
JK
47522014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4753
4754 Fix dw2-icycle.exp -fsanitize=address GDB crash.
4755 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
4756
50cc37c8
DE
47572014-02-24 Doug Evans <dje@google.com>
4758
4759 * lib/gdb.exp (run_on_host): Log error output if program fails.
4760
ea4758f2
PA
47612014-02-21 Pedro Alves <palves@redhat.com>
4762
4763 * gdb.threads/step-after-sr-lock.c: Rename to ...
4764 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
4765 * gdb.threads/step-after-sr-lock.exp: Rename to ...
4766 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4767 ... this.
4768
d7b30f67
SDJ
47692014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
4770
4771 PR tdep/16397
4772 * gdb.arch/amd64-stap-special-operands.exp: New file.
4773 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
4774 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
4775 * gdb.arch/amd64-stap-triplet.S: Likewise.
4776 * gdb.arch/amd64-stap-triplet.c: Likewise.
4777
83deb43f
JB
47782014-02-20 Joel Brobecker <brobecker@adacore.com>
4779
4780 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
4781 in .section pseudo-op.
4782
adde2bff
DE
47832014-02-20 lin zuojian <manjian2006@gmail.com>
4784 Joel Brobecker <brobecker@adacore.com>
4785 Doug Evans <xdje42@gmail.com>
4786
4787 PR symtab/16581
4788 * gdb.dwarf2/dw2-icycle.S: New file.
4789 * gdb.dwarf2/dw2-icycle.c: New file.
4790 * gdb.dwarf2/dw2-icycle.exp: New file.
4791
f7bd0f78
SC
47922014-02-19 Siva Chandra Reddy <sivachandra@google.com>
4793
4794 * gdb.python/py-value-cc.cc: Improve test case to enable testing
4795 operations on gdb.Value objects.
4796 * gdb.python/py-value-cc.exp: Add new test to test operations on
4797 gdb.Value objects.
4798
c17ef0d5
DE
47992014-02-18 Doug Evans <dje@google.com>
4800
4801 * Makefile.in (TESTS): New variable.
4802 (expanded_tests, expanded_tests_or_none): New variables
4803 (check-single): Pass $(expanded_tests_or_none) to runtest.
4804 (check-parallel): Only run tests in $(TESTS) if non-empty.
4805 (check/no-matching-tests-found): New rule.
4806 * README: Document TESTS makefile variable.
4807
5dd3176f
DE
48082014-02-18 Doug Evans <dje@google.com>
4809
4810 * Makefile.in (check-parallel): rm -rf outputs temp.
4811
0b10be4f
JK
48122014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4813
4814 Fix "ERROR: no fileid for" in the testsuite.
4815 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
4816
85f224e7
DE
48172014-02-12 Doug Evans <dje@google.com>
4818
4819 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
4820 (MISCELLANEOUS): New variable.
4821 (clean): rm -rf $(MISCELLANEOUS).
4822 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
4823 dwp live in the same directory as symlinks, with each symlink pointed
4824 to a differently named file in a different directory.
4825
149b30ff
DE
48262014-02-11 Doug Evans <dje@google.com>
4827
4828 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
4829 of Tcl file commands.
4830
1dfdac32
MK
48312014-02-10 Mark Kettenis <kettenis@gnu.org>
4832
4833 * gdb.threads/step-after-sr-lock.exp: Avoid executing
4834 "kill -SIGUSR1 -1".
4835
aa4fb036
JB
48362014-02-10 Joel Brobecker <brobecker@adacore.com>
4837
4838 * gdb.ada/tick_length_array_enum_idx: New testcase.
4839
ed3ef339
DE
48402014-02-10 Doug Evans <xdje42@gmail.com>
4841
4842 * configure.ac (AC_OUTPUT): Add gdb.guile.
4843 * configure: Regenerate.
4844 * lib/gdb-guile.exp: New file.
4845 * lib/gdb.exp (get_target_charset): New function.
4846 * gdb.base/help.exp: Update expected output from "apropos apropos".
4847 * gdb.guile/Makefile.in: New file.
4848 * gdb.guile/guile.exp: New file.
4849 * gdb.guile/scm-arch.c: New file.
4850 * gdb.guile/scm-arch.exp: New file.
4851 * gdb.guile/scm-block.c: New file.
4852 * gdb.guile/scm-block.exp: New file.
4853 * gdb.guile/scm-breakpoint.c: New file.
4854 * gdb.guile/scm-breakpoint.exp: New file.
4855 * gdb.guile/scm-disasm.c: New file.
4856 * gdb.guile/scm-disasm.exp: New file.
4857 * gdb.guile/scm-equal.c: New file.
4858 * gdb.guile/scm-equal.exp: New file.
4859 * gdb.guile/scm-error.exp: New file.
4860 * gdb.guile/scm-error.scm: New file.
4861 * gdb.guile/scm-frame-args.c: New file.
4862 * gdb.guile/scm-frame-args.exp: New file.
4863 * gdb.guile/scm-frame-args.scm: New file.
4864 * gdb.guile/scm-frame-inline.c: New file.
4865 * gdb.guile/scm-frame-inline.exp: New file.
4866 * gdb.guile/scm-frame.c: New file.
4867 * gdb.guile/scm-frame.exp: New file.
4868 * gdb.guile/scm-generics.exp: New file.
4869 * gdb.guile/scm-gsmob.exp: New file.
4870 * gdb.guile/scm-iterator.c: New file.
4871 * gdb.guile/scm-iterator.exp: New file.
4872 * gdb.guile/scm-math.c: New file.
4873 * gdb.guile/scm-math.exp: New file.
4874 * gdb.guile/scm-objfile-script-gdb.in: New file.
4875 * gdb.guile/scm-objfile-script.c: New file.
4876 * gdb.guile/scm-objfile-script.exp: New file.
4877 * gdb.guile/scm-objfile.c: New file.
4878 * gdb.guile/scm-objfile.exp: New file.
4879 * gdb.guile/scm-ports.exp: New file.
4880 * gdb.guile/scm-pretty-print.c: New file.
4881 * gdb.guile/scm-pretty-print.exp: New file.
4882 * gdb.guile/scm-pretty-print.scm: New file.
4883 * gdb.guile/scm-section-script.c: New file.
4884 * gdb.guile/scm-section-script.exp: New file.
4885 * gdb.guile/scm-section-script.scm: New file.
4886 * gdb.guile/scm-symbol.c: New file.
4887 * gdb.guile/scm-symbol.exp: New file.
4888 * gdb.guile/scm-symtab-2.c: New file.
4889 * gdb.guile/scm-symtab.c: New file.
4890 * gdb.guile/scm-symtab.exp: New file.
4891 * gdb.guile/scm-type.c: New file.
4892 * gdb.guile/scm-type.exp: New file.
4893 * gdb.guile/scm-value-cc.cc: New file.
4894 * gdb.guile/scm-value-cc.exp: New file.
4895 * gdb.guile/scm-value.c: New file.
4896 * gdb.guile/scm-value.exp: New file.
4897 * gdb.guile/source2.scm: New file.
4898 * gdb.guile/types-module.cc: New file.
4899 * gdb.guile/types-module.exp: New file.
4900
7026a7c1
YQ
49012014-02-10 Yao Qi <yao@codesourcery.com>
4902
4903 PR testsuite/16543
4904 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
4905 * configure: Regenerated.
4906 * Makefile.in: New file.
4907
6c466447
AS
49082014-02-08 Andreas Schwab <schwab@linux-m68k.org>
4909
4910 * gdb.python/py-framefilter.exp: Fix typo.
4911
6e854735
YQ
49122014-02-08 Yao Qi <yao@codesourcery.com>
4913
4914 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
4915 that no =breakpoint-modified is emitted when breakpoints are
4916 modified through MI commands.
4917
d137e6dc
PA
49182014-02-07 Pedro Alves <pedro@codesourcery.com>
4919 Pedro Alves <palves@redhat.com>
4920
4921 * gdb.threads/step-after-sr-lock.c: New file.
4922 * gdb.threads/step-after-sr-lock.exp: New file.
4923
b5ee5a50
PA
49242014-02-07 Pedro Alves <palves@redhat.com>
4925
4926 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
4927
3c77faf3
JK
49282014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4929
4930 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
4931 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
4932
6dddc817
DE
49332014-02-06 Doug Evans <xdje42@gmail.com>
4934
4935 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
4936 output.
4937
4938 * gdb.gdb/python-interrupts.exp: New file.
4939
de7b2893
YQ
49402014-02-05 Yao Qi <yao@codesourcery.com>
4941
4942 * gdb.trace/report.exp (use_collected_data): Test the output
4943 of "info threads" and "info inferiors".
4944
66d032ac
YQ
49452014-02-05 Yao Qi <yao@codesourcery.com>
4946
4947 Revert this patch:
4948
4949 2013-05-24 Yao Qi <yao@codesourcery.com>
4950
4951 * gdb.trace/tfile.exp: Test inferior and thread.
4952
591a12a1
UW
49532014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4954
4955 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
4956 on a function.
4957 * gdb.base/step-bt.c: Call hello via function pointer to make
4958 sure its first instruction is executed on powerpc64le-linux.
4959
0ff3e01f
UW
49602014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4961
4962 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
4963
084ee545
UW
49642014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4965
4966 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
4967 of the test patterns for use on little-endian systems.
4968
6ed14ff3
UW
49692014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4970
4971 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
4972 (decimal_vector): Fix for little-endian.
4973
401e27fd
JM
49742014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4975
4976 * gdb.arch/sparc-sysstep.exp: New file.
4977 * gdb.arch/sparc-sysstep.c: Likewise.
4978
4979 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
4980
8b924729
EBM
49812014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4982
4983 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
4984
fb151210
JB
49852014-01-23 Tom Tromey <tromey@redhat.com>
4986
4987 * gdb.ada/array_char_idx: New testcase.
4988
0740f8d8
TT
49892014-01-23 Tom Tromey <tromey@redhat.com>
4990
4991 PR python/16487:
4992 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
4993 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
4994 classes.
4995
21909fa1
TT
49962014-01-23 Tom Tromey <tromey@redhat.com>
4997
4998 PR python/16491:
4999 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
5000 string from an inferior frame.
5001 * gdb.python/py-framefilter-mi.exp: Update.
5002
87ce2a04
DE
50032014-01-22 Doug Evans <dje@google.com>
5004
5005 * gdb.server/server-mon.exp: Add tests for "set debug-format".
5006
237b092b
AA
50072014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5008
5009 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
5010
d674a709
AA
50112014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5012
5013 * gdb.trace/entry-values.exp: Remove excess space character from
5014 regex patterns. Handle s390 call instruction.
5015
20fa3390
AA
50162014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5017
5018 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
5019 define "*_start" label. Make "name" static.
5020 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
5021 ${name} by references to ${name}_start.
5022
78466714
AA
50232014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5024
5025 * gdb.base/info-macros.exp: Remove "debug" from the compile
5026 options.
5027
ec9f644a
IB
50282014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5029
5030 * gdb.dlang/demangle.exp: New file.
5031
94b1b47e
IB
50322014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5033
5034 * gdb.dlang/primitive-types.exp: New file.
5035
7f420862
IB
50362014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5037
5038 * configure.ac: Create gdb.dlang/Makefile.
5039 * configure: Regenerate.
5040 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
5041 * gdb.dlang/Makefile.in: New file.
5042 * lib/d-support.exp: New file.
5043 * lib/gdb.exp (skip_d_tests): New proc.
5044
52834460
MM
50452014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5046
5047 * gdb.btrace/delta.exp: Check reverse stepi.
5048 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
5049 * gdb.btrace/finish.exp: New.
5050 * gdb.btrace/next.exp: New.
5051 * gdb.btrace/nexti.exp: New.
5052 * gdb.btrace/record_goto.c: Add comments.
5053 * gdb.btrace/step.exp: New.
5054 * gdb.btrace/stepi.exp: New.
5055 * gdb.btrace/multi-thread-step.c: New.
5056 * gdb.btrace/multi-thread-step.exp: New.
5057 * gdb.btrace/rn-dl-bind.c: New.
5058 * gdb.btrace/rn-dl-bind.exp: New.
5059 * gdb.btrace/data.c: New.
5060 * gdb.btrace/data.exp: New.
5061 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
5062
6e07b1d2
MM
50632014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5064
5065 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
5066 * gdb.btrace/exception.exp: Update.
5067 * gdb.btrace/instruction_history.exp: Update.
5068 * gdb.btrace/record_goto.exp: Update.
5069 * gdb.btrace/tailcall.exp: Update.
5070 * gdb.btrace/unknown_functions.exp: Update.
5071 * gdb.btrace/delta.exp: New.
5072
0b722aec
MM
50732014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5074
5075 * gdb.btrace/record_goto.exp: Add backtrace test.
5076 * gdb.btrace/tailcall.exp: Add backtrace test.
5077
066ce621
MM
50782014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5079
5080 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
5081 * gdb.btrace/record_goto.c: New.
5082 * gdb.btrace/record_goto.exp: New.
5083 * gdb.btrace/x86-record_goto.S: New.
5084
0688d04e
MM
50852014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5086
5087 * gdb.btrace/function_call_history.exp: Update tests.
5088 * gdb.btrace/instruction_history.exp: Update tests.
5089
8710b709
MM
50902014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5091
5092 * gdb.btrace/function_call_history.exp: Fix expected field
5093 order for "record function-call-history".
5094 Add new tests for "record function-call-history /c".
5095 * gdb.btrace/exception.cc: New.
5096 * gdb.btrace/exception.exp: New.
5097 * gdb.btrace/tailcall.exp: New.
5098 * gdb.btrace/x86-tailcall.S: New.
5099 * gdb.btrace/x86-tailcall.c: New.
5100 * gdb.btrace/unknown_functions.c: New.
5101 * gdb.btrace/unknown_functions.exp: New.
5102 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
5103
5de9129b
MM
51042014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5105
5106 * gdb.btrace/instruction_history.exp: Update.
5107 * gdb.btrace/function_call_history.exp: Update.
5108
23a7fe75
MM
51092014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5110
5111 * gdb.btrace/function_call_history.exp: Fix expected function
5112 trace.
5113 * gdb.btrace/instruction_history.exp: Initialize traced.
5114 Remove traced_functions.
5115
724c7dd8
MM
51162014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5117
5118 * gdb.btrace/function_call_history.exp: Update
5119 * gdb.btrace/instruction_history.exp: Update.
5120
6d78d93b
MM
51212014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5122
5123 * gdb.btrace/enable.exp: Update expected text.
5124
93a360cc
OJ
51252014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
5126
5127 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
5128 bytes.
5129
3772b53f
MR
51302014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
5131
5132 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
5133
596662fa
OJ
51342014-01-15 Omair Javaid <omair.javaid@linaro.org>
5135
5136 * lib/gdb.exp (supports_process_record): Return true for
5137 arm*-linux*. (supports_reverse): Likewise.
5138
b5b08fb4
SC
51392014-01-13 Siva Chandra Reddy <sivachandra@google.com>
5140
5141 PR python/15464
5142 PR python/16113
5143 * gdb.python/py-type.c: Enhance test case.
5144 * gdb.python/py-value-cc.cc: Likewise
5145 * gdb.python/py-type.exp: Add new tests.
5146 * gdb.python/py-value-cc.exp: Likewise
5147
52d7fb13
AA
51482014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
5149 Pedro Alves <palves@redhat.com>
5150
5151 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
5152 Make "name" extern.
5153 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
5154 references to ${name}_start by references to ${name}.
5155
a2cd8cfe
JB
51562014-01-10 Joel Brobecker <brobecker@adacore.com>
5157
5158 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
5159
4e23fced
JB
51602014-01-10 Joel Brobecker <brobecker@adacore.com>
5161
5162 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
5163
c6a9e42c
PA
51642014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
5165 Pedro Alves <palves@redhat.com>
5166
5167 * gdb.mi/mi-info-os.exp: Connect to the target with
5168 mi_gdb_target_load.
5169
b7ea362b
PA
51702014-01-08 Pedro Alves <palves@redhat.com>
5171
5172 * gdb.threads/reconnect-signal.c: New file.
5173 * gdb.threads/reconnect-signal.exp: New file.
5174
5e3f4fab
EBM
51752014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5176
5177 * gdb.base/source-dir.exp: New file.
5178
79301218
JB
51792014-01-07 Joel Brobecker <brobecker@adacore.com>
5180
5181 * gdb.ada/mi_interface: New testcase.
5182
8e355c5d
JB
51832014-01-07 Joel Brobecker <brobecker@adacore.com>
5184
5185 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
5186 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
5187 gdb.ada/pp-rec-component/pck.ads: New files.
5188
c0d48811
JB
51892014-01-07 Joel Brobecker <brobecker@adacore.com>
5190
5191 * gdb.python/py-pp-integral.c: New file.
5192 * gdb.python/py-pp-integral.py: New file.
5193 * gdb.python/py-pp-integral.exp: New file.
5194
17b609c3 5195For older changes see ChangeLog-1993-2013.
c906108c 5196\f
8d8cb839
EZ
5197;; Local Variables:
5198;; mode: change-log
5199;; left-margin: 8
5200;; fill-column: 74
5201;; version-control: never
5202;; End:
902f2ccb 5203
32d0add0 5204 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
5205 Copying and distribution of this file, with or without modification,
5206 are permitted provided the copyright notice and this notice are preserved.
This page took 2.912933 seconds and 4 git commands to generate.