]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Add support for converting LDR Rx,=<imm> to MOV or MVN in Thumb2 mode.
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
e6c693af
AA
12015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2
3 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
4 (VECTOR): New macro. Use it...
5 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
6 ...for these typedefs.
7 (int8, char1, int1, double1): New typedefs.
8 (struct just_int2, struct two_int2): New structures.
9 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
10 (add_structvecs, add_singlevecs): New functions.
11 (main): Call add_some_intvecs twice.
12 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
13 the compile and exit upon failure. Try compiling for the "native"
14 architecture. Test inferior function calls with vector arguments
15 and vector return value handling with "finish" and "return".
16
c74f7d1c
JT
172015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
18
19 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
20 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
21 PE file.
22 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
23
98aa42ee
AT
242015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
25
26 PR breakpoints/16465
27 * gdb.mi/mi-dprintf-pending.c: New file.
28 * gdb.mi/mi-dprintf-pending.exp: New test.
29 * gdb.mi/mi-dprintf-pendshr.c: New file.
30
7d73c23c
WT
312015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
32 Mircea Gherzan <mircea.gherzan@intel.com>
33
34 * gdb.arch/i386-mpx-map.c: New file.
35 * gdb.arch/i386-mpx-map.exp: New File.
36
372015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
38
39 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
40 * gdb.arch/i386-mpx.exp: Indentation fixed.
41
422015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
43
44 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
45 function and improved indentation.
46 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
47 gdb_test_multiple. Added additional tests to skip the test.
48
492015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
50
51 * gdb.arch/i386-avx512.c: Change path in include file.
52 * gdb.arch/i386-avx512.exp: Change include dir path
53 compilation flag.
54 * gdb.arch/i386-mpx.c: Change path in include file.
55 * gdb.arch/i386-mpx.exp: Change include dir path compilation
56 flag.
57
d5eba19a
JK
582015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
59
60 * gdb.compile/compile-print.exp (compile print *vararray@3)
61 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
62
7f361056
JK
632015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
64
65 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
66 (do not keep jit in memory): ... this.
67 (expect 5): Change it to ...
68 (expect no 5): ... this.
69
3b462ec2
SM
702015-06-02 Simon Marchi <simon.marchi@ericsson.com>
71
72 PR gdb/15564
73 * gdb.mi/mi-detach.exp: New file.
74
e0619de6
JK
752015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
76
77 PR symtab/18392
78 * gdb.arch/amd64-tailcall-self.S: New file.
79 * gdb.arch/amd64-tailcall-self.c: New file.
80 * gdb.arch/amd64-tailcall-self.exp: New file.
81
e970cb34
DB
822015-05-28 Don Breazeal <donb@codesourcery.com>
83
84 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
85 tests for remote targets by checking is_target_gdbserver.
86
b2e2f908
DE
872015-05-27 Doug Evans <dje@google.com>
88
89 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
90 * gdb.dwarf2/opaque-type-lookup.c: New file.
91 * gdb.dwarf2/opaque-type-lookup.exp: New file.
92
82c7be31
DE
932015-05-26 Doug Evans <dje@google.com>
94
95 * gdb.cp/iostream.cc: New file.
96 * gdb.cp/iostream.exp: New file.
97
b4f54984
DE
982015-05-26 Doug Evans <dje@google.com>
99
100 * gdb.dwarf2/dw2-op-call.exp: Update.
101 * gdb.dwarf2/dw4-sig-types.exp: Update.
102 * gdb.dwarf2/implptr.exp: Update.
103 * gdb.mi/mi-cmd-param-changed.exp: Update.
104
4ea6efe9
DE
1052015-05-26 Doug Evans <dje@google.com>
106
107 * gdb.python/py-lazy-string.c: New file.
108 * gdb.python/py-lazy-string.exp: New file.
109 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
110 (main): Update. Add estring3.
111 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
112 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
113
f6bb7db3
YQ
1142015-05-26 Omair Javaid <omair.javaid@linaro.org>
115 Yao Qi <yao.qi@linaro.org>
116
117 * gdb.reverse/aarch64.c: New.
118 * gdb.reverse/aarch64.exp: New.
119
a81bfbd0
OJ
1202015-05-26 Omair Javaid <omair.javaid@linaro.org>
121
122 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
123 (supports_reverse): Likewise.
124
158bf1b4
PP
1252015-05-22 Patrick Palka <patrick@parcs.ath.cx>
126
127 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
128 Use with_test_prefix.
129
a0145030
AB
1302015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
131
132 * gdb.base/completion.exp: Add test for completion of layout
133 names.
134
ebe3b578
AB
1352015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
136
137 * lib/gdb.exp (skip_tui_tests): New proc.
138 * gdb.base/tui-layout.exp: Check skip_tui_tests.
139
84204ed7
PA
1402015-05-19 Pedro Alves <palves@redhat.com>
141
142 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
143 Save the whole env array instead of just HOME. Unset HISTSIZE in
144 the environment while testing. Restore whole environment
145 afterwards.
146
37442ce1
DE
1472015-05-16 Doug Evans <xdje42@gmail.com>
148
149 * gdb.guile/scm-ports.c: New file.
150 * gdb.guile/scm-ports.exp: Add memory port tests.
151
36de76f9
JK
1522015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
153
154 * gdb.compile/compile-print.c: New file.
155 * gdb.compile/compile-print.exp: New file.
156
3a9558c4
JK
1572015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
158
159 * gdb.compile/compile-ops.exp: Cast param to void.
160 * gdb.compile/compile.exp: Complete type for _gdb_expr.
161 (compile code struct_object.selffield = &struct_object): Add xfail.
162
aa715135
JG
1632015-05-15 Joel Brobecker <brobecker@adacore.com>
164
165 * gdb.ada/arr_enum_with_gap: New testcase.
166
931e5bc3
JG
1672015-05-15 Joel Brobecker <brobecker@adacore.com>
168
169 * gdb.ada/byte_packed_arr: New testcase.
170
9cd4d857
JB
1712015-05-15 Joel Brobecker <brobecker@adacore.com>
172
173 * gdb.ada/pckd_neg: New testcase.
174
ebfd00d2
PP
1752015-05-13 Patrick Palka <patrick@parcs.ath.cx>
176
177 PR gdb/17820
178 * gdb.base/gdbinit-history.exp: New test.
179 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
180 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
181
4c082a81
SC
1822015-05-09 Siva Chandra Reddy <sivachandra@google.com>
183
184 * gdb.python/py-xmethods.cc: Enhance test case.
185 * gdb.python/py-xmethods.exp: New tests.
186 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
187 function.
188 (B_indexoper): Likewise.
189 (global_dm_list) : Add new xmethod worker functions.
190
f7797074
SDJ
1912015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
192
193 * gdb.base/coredump-filter.exp: Correctly unset
194 "coredump_var_addr" array.
195
a4674e4e
PA
1962015-05-08 Pedro Alves <palves@redhat.com>
197
198 * gdb.server/non-existing-program.exp: Unset spawn_id.
199
df2eb078
SC
2002015-05-08 Siva Chandra Reddy <sivachandra@google.com>
201
202 PR python/18291
203 * gdb.python/py-xmethods.exp: Add tests.
204
422349a3
YQ
2052015-05-08 Yao Qi <yao.qi@linaro.org>
206
207 PR gdb/18208
208 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
209 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
210 function set_coredump_filter, and remove remote_exec call.
211 Remove argument ipid. Callers update.
212 (top level): Don't get inferior's PID.
213
63fc80ce
AA
2142015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
215
216 * gdb.base/watch_thread_num.exp: Skip test on targets without
217 access watchpoints.
218
80ad801e
PA
2192015-05-06 Pedro Alves <palves@redhat.com>
220
221 PR server/18081
222 * gdb.server/non-existing-program.exp: New file.
223
0fa7fe50
JB
2242015-05-05 Joel Brobecker <brobecker@adacore.com>
225
226 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
227
3ea89b92
PMR
2282015-05-05 Joel Brobecker <brobecker@adacore.com>
229
230 * gdb.ada/out_of_line_in_inlined: New testcase.
231
87b8eff0
JB
2322015-05-05 Joel Brobecker <brobecker@adacore.com>
233
234 * gdb.ada/var_rec_arr: New testcase.
235
5fccc635
YQ
2362015-04-30 Yao Qi <yao.qi@linaro.org>
237
238 * gdb.base/break-idempotent.exp: If
239 skip_hw_watchpoint_multi_tests returns true, skip the tests
240 on "rwatch" and "awatch".
241
42d38f42
YQ
2422015-04-30 Yao Qi <yao.qi@linaro.org>
243
244 * gdb.base/relativedebug.exp: Invoke gdb command
245 "info sharedlibrary", and if libc.so doesn't have debug info,
246 skip the test.
247
2ce1cdbf
DE
2482015-04-29 Doug Evans <dje@google.com>
249
250 * gdb.python/py-xmethods.exp: Add ptype tests.
251 * gdb.python/py-xmethods.py (E_method_char_worker): Add
252 get_result_type method.
253
f24a38c5
LM
2542015-04-29 Luis Machado <lgustavo@codesourcery.com>
255
256 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
257 the target does not support hardware watchpoints.
258
ecbf2b3c
LM
2592015-04-29 Luis Machado <lgustavo@codesourcery.com>
260
261 * gdb.base/break-always.exp: Abort testing if writing to memory
262 causes an error.
263
34f5f757
DE
2642015-04-28 Doug Evans <dje@google.com>
265
266 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
267 * gdb.python/py-pp-registration.exp: ... here. New file.
268 * gdb.python/py-pp-registration.c: New file.
269 * gdb.python/py-pp-registration.py: New file.
270
69b4374a
DE
2712015-04-28 Doug Evans <dje@google.com>
272
273 * gdb.python/py-bad-printers.c: New file.
274 * gdb.python/py-bad-printers.py: New file.
275 * gdb.python/py-bad-printers.exp: New file.
276
59fb7612
SS
2772015-04-28 Sasha Smundak <asmundak@google.com>
278
279 * gdb.python/py-type.exp: New test.
280
2631b16a
AW
2812015-04-28 Andy Wingo <wingo@igalia.com>
282
283 * gdb.python/py-parameter.exp:
284 * gdb.guile/scm-parameter.exp: Escape the path that we are
285 matching against, as it might contain characters that are special
286 to regular expressions.
287
460efde1
JB
2882015-04-27 Joel Brobecker <brobecker@adacore.com>
289
290 * gdb.ada/rec_comp: New testcase.
291
2d369d8e
SDJ
2922015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
293
294 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
295 before using it.
296
cf75d6c3
AB
2972015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
298
299 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
300 new tests for verilog output.
301
8dbe7ca5
YQ
3022015-04-24 Yao Qi <yao.qi@linaro.org>
303
304 * boards/remote-gdbserver-on-localhost.exp: New file.
305
4ef9fb2f
PA
3062015-04-23 Pedro Alves <palves@redhat.com>
307
308 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
309 $inferior_spawn_id instead of $inferior_spawn_id directly. On
310 "end of file", remove $inferior_spawn_id from the indirect list.
311
0a803169
PA
3122015-04-23 Pedro Alves <palves@redhat.com>
313
314 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
315
749ef8f8
PA
3162015-04-23 Pedro Alves <palves@redhat.com>
317
318 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
319 on $any_spawn_id instead of only on $gdb_spawn_id.
320
8aae4344
PM
3212015-04-21 Pierre Muller <muller@sourceware.org>
322
323 PR pascal/17815
324 * lib/pascal.exp (gpc_compile): Add new option "class".
325 (fpc_compile): Likewise.
326 * gdb.pascal/case-insensitive-symbols.pas: New file.
327 * gdb.pascal/case-insensitive-symbols.exp: New file.
328
1586c8fb
GB
3292015-04-20 Gary Benson <gbenson@redhat.com>
330
331 * gdb.base/attach.exp: Fix three extended remote failures.
332
1b6e6f5c
GB
3332015-04-17 Gary Benson <gbenson@redhat.com>
334
335 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
336 the main executable over the remote protocol.
337
e797481d
PA
3382015-04-16 Pedro Alves <palves@redhat.com>
339
340 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
341 a new gdbserver if gdbserver_reconnect_p is set.
342
1ca99c42
PA
3432015-04-16 Pedro Alves <palves@redhat.com>
344
345 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
346 is set, don't exit gdbserver.
347
af9fd6f8
AA
3482015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
349
350 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
351 appropriate .insn, such that an older assembler can be used.
352 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
353 the z/Architecture instruction set on 31-bit targets as well.
354
04ff1e61
AA
3552015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
356
357 * gdb.go/handcall.exp: Remove all logic related to the first
358 breakpoint and rely on go_runto_main instead.
359 * gdb.go/strings.exp: Likewise.
360 * gdb.go/unsafe.exp: Likewise.
361 * gdb.go/hello.exp: Likewise. Also rename the remaining
362 breakpoint marker to "breakpoint 1".
363 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
364 * gdb.go/strings.go: Likewise.
365 * gdb.go/unsafe.go: Likewise.
366 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
367 "set breakpoint 2 here" and rename the remaining breakpoint marker
368 to "breakpoint 1".
369
40d2f8d6
SM
3702015-04-15 Simon Marchi <simon.marchi@ericsson.com>
371
372 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
373 if itertools.imap is not present.
374 * gdb.python/py-objfile.exp: Add parentheses.
375 * gdb.python/py-type.exp: Same.
376 * gdb.python/py-unwind-maint.py: Same.
377
8cbc97c6
YQ
3782015-04-15 Yao Qi <yao.qi@linaro.org>
379
380 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
381 of ":$ptr_size" and set its form explicitly.
382
45fd756c
YQ
3832015-04-15 Pedro Alves <palves@redhat.com>
384 Yao Qi <yao.qi@linaro.org>
385
386 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
387 timeout by factor of 4.
388 (test_regular_watch): Likewise.
389 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
390 * gdb.reverse/sigall-reverse.exp: Likewise.
391 * gdb.reverse/until-precsave.exp: Likewise.
392 * lib/gdb.exp (with_timeout_factor): New proc.
393 (gdb_expect): Move some code to ...
394 (get_largest_timeout): ... here. New procedure.
395
9e811bc3
LM
3962015-04-14 Luis Machado <lgustavo@codesourcery.com>
397
398 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
399
0ff6fcb2
LM
4002015-04-13 Luis Machado <lgustavo@codesourcery.com>
401
402 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
403 to write to the .text section.
404
7578d5f7
LM
4052015-04-13 Luis Machado <lgustavo@codesourcery.com>
406
407 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
408 Handle the case of targets that do not provide PID information.
409
2efe15c4
YQ
4102015-04-13 Yao Qi <yao.qi@linaro.org>
411
412 * lib/gdbserver-support.exp (gdb_exit): Catch exception
413 and use expect instead of gdb_expect.
414
8cd8f2f8
SDJ
4152015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
416
417 * gdb.base/coredump-filter.exp: Rename variable "addr" to
418 "coredump_var_addr" to avoid naming conflict with other testcases.
419
9ee41772
PA
4202015-04-10 Pedro Alves <palves@redhat.com>
421
422 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
423 gdb_test_sequence and gdb_assert.
424
07473109
PA
4252015-04-10 Pedro Alves <palves@redhat.com>
426
427 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
428 test messages that don't include the breakpoint address.
429
de3db44c
YQ
4302015-04-10 Yao Qi <yao.qi@linaro.org>
431
432 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
433 false for some offset and width combinations which aren't
434 supported by linux kernel.
435
c79d856c
PA
4362015-04-10 Pedro Alves <palves@redhat.com>
437
438 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
439 procedure, factored out from ...
440 (top level): ... here. Add "set displaced-stepping" testing axis.
441 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
442 parameter "displaced". Use it.
443 (top level): Use foreach and add "set displaced-stepping" testing
444 axis.
445
ebc90b50
PA
4462015-04-10 Pedro Alves <palves@redhat.com>
447
448 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
449 Remove comment.
450 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
451 both the address of the instruction that triggers the watchpoint
452 and the address of the instruction immediately after, and use
453 those addresses for the test. Fix comment.
454
8f572e5c
PA
4552015-04-10 Pedro Alves <palves@redhat.com>
456
457 * gdb.base/sigstep.exp (breakpoint_to_handler)
458 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
459 Test "backtrace" in handler.
460 (breakpoint_over_handler): New parameter 'displaced'. Use it.
461 (top level): Add new "displaced" test axis to
462 breakpoint_to_handler, breakpoint_to_handler_entry and
463 breakpoint_over_handler.
464
8d707a12
PA
4652015-04-10 Pedro Alves <palves@redhat.com>
466
467 PR gdb/18216
468 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
469
ef713951
YQ
4702015-04-10 Yao Qi <yao.qi@linaro.org>
471
472 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
473 (test_add_rn_pc): New function.
474 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
475 (top level): Invoke test_add_rn_pc.
476
906d60cf
PA
4772015-04-10 Pedro Alves <palves@redhat.com>
478
479 PR gdb/13858
480 * gdb.base/step-over-no-symbols.exp: New file.
481
f2983cc3
AW
4822015-04-09 Andy Wingo <wingo@igalia.com>
483
484 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
485 after the Python tests.
486
6d62641c
SDJ
4872015-04-08 Keith Seitz <keiths@redhat.com>
488
489 PR python/16699
490 * gdb.python/py-completion.exp: New tests for completion.
491 * gdb.python/py-completion.py (CompleteLimit1): New class.
492 (CompleteLimit2): Likewise.
493 (CompleteLimit3): Likewise.
494 (CompleteLimit4): Likewise.
495 (CompleteLimit5): Likewise.
496 (CompleteLimit6): Likewise.
497 (CompleteLimit7): Likewise.
498
f3770638
PA
4992015-04-08 Pedro Alves <palves@redhat.com>
500
501 PR gdb/18214
502 PR gdb/18216
503 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
504 function.
505 (main): Install it as SIGUSR1 handler.
506 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
507 parameter. Always use "setup" as prefix. Toggle "set
508 displaced-stepping" off/on depending on global. Don't switch to
509 thread 1 here.
510 (top level): Add displaced stepping "off/on" test axis. Update
511 "setup" calls. Wrap each subtest with with_test_prefix. Test
512 continuing with a queued signal in each thread.
513
4496bed7
PA
5142015-04-08 Pedro Alves <palves@redhat.com>
515
516 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
517 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
518 gdb_breakpoint instead of gdb_test that doesn't expect anything.
519 Return early if running to main fails.
520 * gdb.trace/while-stepping.exp: Likewise.
521
b97fde92
PA
5222015-04-07 Pedro Alves <palves@redhat.com>
523
524 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
525 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
526 interact with inferior program.
527
f71c18e7
PA
5282015-04-07 Pedro Alves <palves@redhat.com>
529
530 * lib/gdb.exp (inferior_spawn_id): New global.
531 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
532 spawn id after processing the user code.
533 (default_gdb_start): Set inferior_spawn_id.
534 (send_inferior): New procedure.
535 * lib/gdbserver-support.exp (gdbserver_start): Set
536 inferior_spawn_id.
537 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
538
6423214f
PA
5392015-04-07 Pedro Alves <palves@redhat.com>
540
541 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
542 * lib/gdbserver-support.exp (gdbserver_start): Make
543 $server_spawn_id global.
544 (gdbserver_start): Don't wait for gdbserver's spawn id with
545 expect_background.
546 (close_gdbserver): New procedure.
547 (gdb_exit): Rename the default version and reimplement.
548
71c0ee8c
PA
5492015-04-07 Pedro Alves <palves@redhat.com>
550
551 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
552 append the substituted item, not the original item.
553
203bc29b
PA
5542015-04-07 Pedro Alves <palves@redhat.com>
555
556 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
557 gdb_expect.
558
508a3ddf
PA
5592015-04-07 Pedro Alves <palves@redhat.com>
560
561 * gdb.base/interrupt.exp: Don't handle the case of the inferior
562 output appearing once only.
563
9f6dbe2b
PA
5642015-04-07 Pedro Alves <palves@redhat.com>
565
566 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
567 that doesn't expect anything. Return early if running to main
568 fails.
569
337532fa
YQ
5702015-04-07 Yao Qi <yao.qi@linaro.org>
571
572 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
573 (child_function): Call alarm.
574 (main): Move call to alarm into the loop.
575 * gdb.threads/non-stop-fair-events.exp: Build program with
576 -DTIMEOUT=$timeout.
577
01b622d4
DE
5782015-04-06 Doug Evans <xdje42@gmail.com>
579
580 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
581 Fix dest parameter to board_info.
582 (fpc_compile): Ditto.
583 (gdb_compile_pascal): Rename dest arg to destfile.
584
961f4160
PMR
5852015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
586
587 * gdb.ada/funcall_ref.exp: New file.
588 * gdb.ada/funcall_ref/foo.adb: New file.
589
cafda597
YQ
5902015-04-02 Yao Qi <yao.qi@linaro.org>
591
592 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
593 is remote.
594
fed040c6
GB
5952015-04-02 Gary Benson <gbenson@redhat.com>
596
597 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
598
d11916aa
SS
5992015-04-01 Sasha Smundak <asmundak@google.com>
600
601 * gdb.python/py-unwind-maint.c: New file.
602 * gdb.python/py-unwind-maint.exp: New test.
603 * gdb.python/py-unwind-maint.py: New file.
604 * gdb.python/py-unwind.c: New file.
605 * gdb.python/py-unwind.exp: New test.
606 * gdb.python/py-unwind.py: New test.
607
a1471180
PA
6082015-04-01 Pedro Alves <palves@redhat.com>
609
610 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
611 to fail instead of non-existent $test.
612
0bbeccb1
PA
6132015-04-01 Pedro Alves <palves@redhat.com>
614
615 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
616 GDBFLAGS if not empty.
617
3c724c8c
PMR
6182015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
619
620 * gdb.ada/complete.exp: Remove "multi_line".
621 * gdb.ada/info_exc.exp: Remove "multi_line".
622 * gdb.ada/packed_tagged.exp: Remove "multi_line".
623 * gdb.ada/ptype_field.exp: Remove "multi_line".
624 * gdb.ada/sym_print_name.exp: Remove "multi_line".
625 * gdb.ada/tagged.exp: Remove "multi_line".
626 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
627 [multi_line ...]
628 * gdb.btrace/delta.exp: Likewise.
629 * gdb.btrace/exception.exp: Likewise.
630 * gdb.btrace/function_call_history.exp: Likewise.
631 * gdb.btrace/instruction_history.exp: Likewise.
632 * gdb.btrace/nohist.exp: Likewise.
633 * gdb.btrace/record_goto.exp: Likewise.
634 * gdb.btrace/segv.exp: Likewise.
635 * gdb.btrace/stepi.exp: Likewise.
636 * gdb.btrace/tailcall.exp: Likewise.
637 * gdb.btrace/unknown_functions.exp: Likewise.
638 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
639 * lib/gdb.exp: Add the "multi_line" helper.
640
4eec2deb
PA
6412015-04-01 Pedro Alves <palves@redhat.com>
642
643 * gdb.threads/tid-reuse.c: New file.
644 * gdb.threads/tid-reuse.exp: New file.
645
df8411da
SDJ
6462015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
647
648 PR corefiles/16092
649 * gdb.base/coredump-filter.c: New file.
650 * gdb.base/coredump-filter.exp: Likewise.
651
6ef37366
PM
6522015-03-27 Petr Machata <pmachata@redhat.com>
653
654 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
655 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
656 (Dwarf::assemble): Initialize them.
657 (Dwarf::lines): New function.
658
7ec911b0
JT
6592015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
660
661 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
662 SYMBOL_PREFIX for x86_64-*-cygwin.
663
ff908ebf
AW
6642015-03-26 Andy Wingo <wingo@igalia.com>
665
666 PR symtab/18148
667 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
668 const_value but not a location.
669 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
670 location defined in non-main CUs are visible.
671
6d5f0679
YQ
6722015-03-26 Yao Qi <yao.qi@linaro.org>
673
674 PR testsuite/18139
675 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
676 Add a line number entry for the same line.
677 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
678 Add a line number entry for the same line.
679
2898689b
YQ
6802015-03-26 Yao Qi <yao.qi@linaro.org>
681
682 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
683 .int 0.
684 (func): Likewise. Add .Lfunc_1 label.
685 Use .Lfunc_1 label.
686 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
687 .int 0.
688 (func): Likewise.
689 Use .Lfunc_1 label.
690
85180498
YQ
6912015-03-26 Yao Qi <yao.qi@linaro.org>
692
693 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
694 Call gdb_compile instead to compile each .s files without debug
695 information.
696
8aa08a8d
YQ
6972015-03-26 Yao Qi <yao.qi@linaro.org>
698
699 * gdb.base/savedregs.exp (process_saved_regs): Make
700 "Saved registers:" optional in the pattern.
701
66849923
MM
7022015-03-25 Markus Metzger <markus.t.metzger@intel.com>
703
704 * gdb.btrace/next.exp: Merged into step.exp.
705 * gdb.btrace/finish.exp: Merged into step.exp.
706 * gdb.btrace/nexti.exp: Merged into stepi.exp.
707 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
708 "record goto" and checking the exact replay position.
709 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
710 check for "Recording format" in "info record" output.
711 * gdb.btrace/record_goto.exp: Choose test file based on target.
712 * gdb.btrace/x86-record_goto.S: Renamed into ...
713 * gdb.btrace/x86_64-record_goto.S: ... this.
714 * gdb.btrace/i686-record_goto.S: New.
715 * gdb.btrace/x86-tailcall.S: Renamed into ...
716 * gdb.btrace/x86_64-tailcall.S: ... this.
717 * gdb.btrace/i686-tailcall.S: New.
718 * gdb.btrace/x86-tailcall.c: Renamed into ...
719 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
720 separate statements. Update test.
721 * gdb.btrace/delta.exp: Use record_goto.c as test file.
722 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
723 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
724 * gdb.btrace/tailcall.exp: Choose test file based on target.
725 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
726
11cc1b74
MM
7272015-03-25 Markus Metzger <markus.t.metzger@intel.com>
728
729 * gdb.btrace/exception.exp: Increase BTS buffer size.
730
a25d8bf9
PA
7312015-03-24 Pedro Alves <palves@redhat.com>
732
733 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
734
856e7dd6
PA
7352015-03-24 Pedro Alves <palves@redhat.com>
736
737 * gdb.threads/schedlock.exp (test_step): No longer expect that
738 "set scheduler-locking step" with "next" over a function call runs
739 threads unlocked.
740
ad235a41
AT
7412015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
742
743 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
744
15630549
AT
7452015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
746
747 PR breakpoints/16466
748 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
749 * gdb.mi/mi-pending.c (thread_func): New function.
750 (int main): Add threading support required.
751 * gdb.mi/mi-pending.exp: Add tests for this issue.
752 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
753 (pendfunc2): Remove stdio dependency.
754 * gdb.mi/mi-pendshr2.c: New file.
755
693dca06
KS
7562015-03-23 Keith Seitz <keiths@redhat.com>
757
758 * gdb.linespec/keywords.c: New file.
759 * gdb.linespec/keywords.exp: New file.
760
7e993ebf
KS
7612015-03-23 Keith Seitz <keiths@redhat.com>
762
763 PR gdb/18021
764 * gdb.dwarf2/staticvirtual.exp: New test.
765
bc23328c
JK
7662015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
767
768 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
769 * README: Remove HP-UX and gdb.hp.
770 (configuration):
771 * configure: Regenerate.
772 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
773 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
774 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
775 gdb.hp/gdb.defects/Makefile.
776 * gdb.hp/Makefile.in: File deleted.
777 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
778 * gdb.hp/gdb.aCC/optimize.c: File deleted.
779 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
780 * gdb.hp/gdb.aCC/run.c: File deleted.
781 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
782 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
783 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
784 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
785 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
786 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
787 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
788 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
789 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
790 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
791 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
792 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
793 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
794 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
795 * gdb.hp/gdb.base-hp/reg.s: File deleted.
796 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
797 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
798 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
799 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
800 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
801 * gdb.hp/gdb.compat/Makefile.in: File deleted.
802 * gdb.hp/gdb.compat/average.c: File deleted.
803 * gdb.hp/gdb.compat/sum.c: File deleted.
804 * gdb.hp/gdb.compat/xdb.c: File deleted.
805 * gdb.hp/gdb.compat/xdb0.c: File deleted.
806 * gdb.hp/gdb.compat/xdb0.h: File deleted.
807 * gdb.hp/gdb.compat/xdb1.c: File deleted.
808 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
809 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
810 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
811 * gdb.hp/gdb.defects/Makefile.in: File deleted.
812 * gdb.hp/gdb.defects/bs14602.c: File deleted.
813 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
814 * gdb.hp/gdb.defects/solib-d.c: File deleted.
815 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
816 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
817 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
818 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
819 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
820 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
821 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
822 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
823 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
824 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
825 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
826 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
827 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
828 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
829 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
830 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
831 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
832 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
833 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
834 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
835 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
836 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
837 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
838 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
839 * gdb.hp/tools/odump: File deleted.
840
8bf3b159
PA
8412015-03-19 Pedro Alves <palves@redhat.com>
842
843 * gdb.threads/continue-pending-status.exp (saw_thread_2)
844 (saw_thread_3): New globals.
845 (top level): Increment them when an event for the corresponding
846 thread is seen.
847 (no thread starvation): New test.
848
eb54c8bf
PA
8492015-03-19 Pedro Alves <palves@redhat.com>
850
851 * gdb.threads/continue-pending-status.c: New file.
852 * gdb.threads/continue-pending-status.exp: New file.
853
32d2e5d6
PA
8542015-03-18 Pedro Alves <palves@redhat.com>
855
856 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
857 Use gdb_is_target_remote instead of is_remote. Use
858 gdb_test_multiple instead of gdb_expect. Exit early if
859 gdb_test_multiple hits its internal matches. Tighten stepi tests
860 expected output. Fail on exit with any signal, instead of just
861 SIGILL.
862
f68f11b7
YQ
8632015-03-18 Yao Qi <yao.qi@linaro.org>
864
865 PR tdep/18107
866 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
867 variable.
868 * gdb.base/catch-syscall.exp: Don't skip it on
869 aarch64*-*-linux* target. Remove elements in all_syscalls.
870 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
871 target.
872 (setup_all_syscalls): New proc.
873
ca5fd19b
YQ
8742015-03-16 Yao Qi <yao.qi@linaro.org>
875
876 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
877 (top level): Skip tests if valid_addr_p returns false for
878 $cmd1 or $cmd2.
879
85642ba0
AW
8802015-03-11 Andy Wingo <wingo@igalia.com>
881
882 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
883
e03f9645
YQ
8842015-03-11 Yao Qi <yao.qi@linaro.org>
885
886 * gdb.base/catch-syscall.exp: Fix typo in comments.
887
5d0962b2
YQ
8882015-03-11 Yao Qi <yao.qi@linaro.org>
889
890 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
891
b2df3cef
PA
8922015-03-09 Pedro Alves <palves@redhat.com>
893
894 * dg-extract-results.py: Delete.
895
ef878e53
PA
8962015-03-09 Pedro Alves <palves@redhat.com>
897
898 Merge dg-extract-results.sh from GCC upstream (r218843).
899
900 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
901 * dg-extract-results.sh: Use --text with grep to avoid issues with
902 binary files. Fall back to cat -v, if that doesn't work.
903
9494d219
PA
9042015-03-05 Pedro Alves <palves@redhat.com>
905
906 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
907
a8d9763a
SM
9082015-03-04 Simon Marchi <simon.marchi@ericsson.com>
909
910 * lib/mi-support.exp (mi_expect_interrupt): Accept
911 alternative event for when in all-stop mode.
912
be9957b8
PA
9132015-03-04 Pedro Alves <palves@redhat.com>
914
915 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
916
d57be0f4 9172015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
918
919 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
920
c214c7cf
AA
9212015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
922
923 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
924 regexps for GDB's current line display, accept a hex address
925 preceding the line number.
926
6d74a497
AA
9272015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
928
929 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
930 the 'arch1' variable for "s390*-linux*" targets.
931
511aee7c
PA
9322015-03-04 Pedro Alves <palves@redhat.com>
933
934 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
935 (main): Pass missing retval argument to pthread_join call.
936
95e50b27
PA
9372015-03-02 Pedro Alves <palves@redhat.com>
938
939 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
940 (top level): Call do_test with non-stop as well.
941
28054d69
PA
9422015-03-02 Pedro Alves <palves@redhat.com>
943
944 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
945 -1.
946
4fa5d7b4
AA
9472015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
948
949 * gdb.arch/s390-vregs.exp: New test.
950 * gdb.arch/s390-vregs.S: New file.
951
97c18565
PA
9522015-02-27 Pedro Alves <palves@redhat.com>
953
954 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
955 call to catch_command_errors.
956 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
957 catch_command_errors.
958
a37bfa30
PA
9592015-02-27 Pedro Alves <palves@redhat.com>
960
961 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
962 "true" for boolean result.
963 * gdb.gdb/selftest.exp (test_with_self): Also accept full
964 prototype of main.
965
6f98576f
PA
9662015-02-27 Pedro Alves <palves@redhat.com>
967
968 * lib/unbuffer_output.c: New file.
969 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
970 (main): Call gdb_unbuffer_output.
971
eba5ab56
YQ
9722015-02-27 Yao Qi <yao.qi@linaro.org>
973
974 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
975 target.
976
0def5aaa
DE
9772015-02-26 Doug Evans <dje@google.com>
978
979 * gdb.cp/class2.cc (Dbase, D): New classes.
980 (main): New local delta.
981 * gdb.cp/class2.exp: Test printing delta.
982 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
983 (dynbar): New global.
984 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
985
081a1c2c
JK
9862015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
987
988 * gdb.compile/compile-ifunc.c: New file.
989 * gdb.compile/compile-ifunc.exp: New file.
990
2f41223f
AT
9912015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
992
993 * gdb.base/structs.exp: Check for correct struct on finish.
994
03eddd80
YQ
9952015-02-26 Yao Qi <yao.qi@linaro.org>
996
997 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
998 is zero.
999
80c57053
JK
10002015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1001
1002 * gdb.arch/cordic.ko.bz2: New file.
1003 * gdb.arch/cordic.ko.debug.bz2: New file.
1004 * gdb.arch/ppc64-symtab-cordic.exp: New file.
1005
21613c12
YQ
10062015-02-25 Yao Qi <yao.qi@linaro.org>
1007
1008 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
1009 aarch64*-*-* target.
1010
d8b901ed
PA
10112015-02-23 Pedro Alves <palves@redhat.com>
1012
1013 * lib/gdb.exp (delete_breakpoints): Rewrite using
1014 gdb_test_multiple.
1015
e5b85ead
PA
10162015-02-23 Pedro Alves <palves@redhat.com>
1017
1018 * gdb.base/info-os.c: Include stdlib.h.
1019
85c3a371
DE
10202015-02-22 Doug Evans <xdje42@gmail.com>
1021
1022 PR symtab/17855
1023 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
1024 is read after symbols have been re-read.
1025 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
1026 * gdb.ada/exec_changed/second.adb (Second): Ditto.
1027
96553a0c
DE
10282015-02-21 Doug Evans <dje@google.com>
1029
1030 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
1031
97a0c697
JK
10322015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1033
1034 PR corefiles/17808
1035 * gdb.arch/i386-biarch-core.core.bz2: New file.
1036 * gdb.arch/i386-biarch-core.exp: New file.
1037
a47cd6e9
PA
10382015-02-21 Pedro Alves <palves@redhat.com>
1039
1040 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
1041 runto_main fails.
1042
c5facdc4
PA
10432015-02-20 Pedro Alves <palves@redhat.com>
1044
1045 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
1046 info probes.
1047
2db9a427
PA
10482015-02-20 Pedro Alves <palves@redhat.com>
1049
1050 * gdb.threads/multi-create-ns-info-thr.exp: New file.
1051
60fb7e9e
PA
10522015-02-20 Pedro Alves <palves@redhat.com>
1053
1054 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
1055 clean_restart before gdb_target_supports_trace.
1056
5c5019c2
PA
10572015-02-20 Pedro Alves <palves@redhat.com>
1058
1059 PR threads/18006
1060 * gdb.threads/clone-thread_db.c: New file.
1061 * gdb.threads/clone-thread_db.exp: New file.
1062
c9587f88
AT
10632015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
1064
1065 PR breakpoints/16812
1066 * gdb.base/catch-gdb-caused-signals.c: New file.
1067 * gdb.base/catch-gdb-caused-signals.exp: New file.
1068
f6a88844
JM
10692015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
1070
1071 * configure: Regenerated.
1072 * configure.ac: Use GDB_AC_TRANSFORM.
1073 * aclocal.m4: sinclude ../transform.m4.
1074
497c491b
JM
10752015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1076
1077 * lib/dtrace.exp: New file.
1078 * gdb.base/dtrace-probe.exp: Likewise.
1079 * gdb.base/dtrace-probe.d: Likewise.
1080 * gdb.base/dtrace-probe.c: Likewise.
1081 * lib/pdtrace.in: Likewise.
1082 * configure.ac: Output variables with the transformed names of
1083 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
1084 * configure: Regenerated.
1085
03e98035
JM
10862015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1087
1088 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
1089 expected message when trying to access $_probe_* convenience
1090 variables while not on a probe.
1091
63cc30e9
JK
10922015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1093
1094 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
1095
0703599a
PA
10962015-02-11 Pedro Alves <pedro@codesourcery.com>
1097
1098 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
1099 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
1100
7e60a48e
DE
11012015-02-10 Doug Evans <xdje42@gmail.com>
1102
1103 * lib/gdb.exp (gdb_load): Always return a result.
1104
01b088bc
PA
11052015-02-10 Pedro Alves <palves@redhat.com>
1106
1107 * gdb.threads/signal-sigtrap.c: New file.
1108 * gdb.threads/signal-sigtrap.exp: New file.
1109
b05ec7a5
AT
11102015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
1111
1112 * gdb.trace/no-attach-trace.c: New file.
1113 * gdb.trace/no-attach-trace.exp: New file.
1114
a2c2acaf
MW
11152015-02-09 Mark Wielaard <mjw@redhat.com>
1116
1117 * gdb.dwarf2/atomic.c: New file.
1118 * gdb.dwarf2/atomic-type.exp: Likewise.
1119
31fd9caa
MM
11202015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1121
1122 * gdb.btrace/buffer-size.exp: Update "info record" output.
1123 * gdb.btrace/delta.exp: Update "info record" output.
1124 * gdb.btrace/enable.exp: Update "info record" output.
1125 * gdb.btrace/finish.exp: Update "info record" output.
1126 * gdb.btrace/instruction_history.exp: Update "info record" output.
1127 * gdb.btrace/next.exp: Update "info record" output.
1128 * gdb.btrace/nexti.exp: Update "info record" output.
1129 * gdb.btrace/step.exp: Update "info record" output.
1130 * gdb.btrace/stepi.exp: Update "info record" output.
1131 * gdb.btrace/nohist.exp: Update "info record" output.
1132
d33501a5
MM
11332015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1134
1135 * gdb.btrace/buffer-size: New.
1136
f4abbc16
MM
11372015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1138
1139 * gdb.btrace/delta.exp: Update "info record" output.
1140 * gdb.btrace/enable.exp: Update "info record" output.
1141 * gdb.btrace/finish.exp: Update "info record" output.
1142 * gdb.btrace/instruction_history.exp: Update "info record" output.
1143 * gdb.btrace/next.exp: Update "info record" output.
1144 * gdb.btrace/nexti.exp: Update "info record" output.
1145 * gdb.btrace/step.exp: Update "info record" output.
1146 * gdb.btrace/stepi.exp: Update "info record" output.
1147 * gdb.btrace/nohist.exp: Update "info record" output.
1148
b9d61307
SM
11492015-02-06 Simon Marchi <simon.marchi@ericsson.com>
1150
1151 PR gdb/15678
1152 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
1153
e584fdbc
PA
11542015-02-06 Pedro Alves <palves@redhat.com>
1155
1156 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
1157 macro.
1158 (seconds_left, again): New globals.
1159 (main): Wait seconds_left in a 1-second sleep loop instead of
1160 sleeping 180 seconds. If 'again' is set, reset the seconds
1161 counter.
1162 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
1163 'again' in the inferior before detaching. Print the seconds left.
1164 (options): New global.
1165 (top level): Build program with -DTIMEOUT=$timeout.
1166
77f41761
PA
11672015-02-06 Pedro Alves <palves@redhat.com>
1168
1169 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
1170 determine how many seconds to pass to 'alarm'.
1171 * gdb.base/gdb-sigterm.exp (top level): Build program with
1172 -DTIMEOUT=$timeout.
1173 (do_test): Return success/failure indication. Add more verbose
1174 logging. Don't fail if 200 single steps are seen. Instead, fail
1175 when the test times out.
1176 (passes): New global.
1177 (top level): Break the testing loop if testing fails on any
1178 iteration. Use gdb_assert.
1179
b9394193
DB
11802015-02-04 Don Breazeal <donb@codesourcery.com>
1181
1182 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
1183 and initialize them.
1184 (ipc_cleanup): New function.
1185 (main): Don't declare shmid, semid, and msqid. Add a call to
1186 atexit so that we call ipc_cleanup on exit.
1187
42d9e528
PA
11882015-02-04 Pedro Alves <palves@redhat.com>
1189
1190 * boards/native-extended-gdbserver.exp: Remove any target variant
1191 specifications from the board name before clearing the isremote
1192 flag from board_info.
1193
ae6ae975
DE
11942015-01-31 Doug Evans <xdje42@gmail.com>
1195
1196 * gdb.base/maint.exp <maint print type argc>: Update expected output.
1197
cfb069a8
GB
11982015-01-31 Gary Benson <gbenson@redhat.com>
1199
1200 * gdb.base/completion.exp: Disable completion limiting for
1201 existing tests. Add new tests to check completion limiting.
1202 * gdb.linespec/ls-errs.exp: Disable completion limiting.
1203
5dd31d79
DE
12042015-01-31 Doug Evans <xdje42@gmail.com>
1205
1206 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
1207
9f050062
DE
12082015-01-31 Doug Evans <xdje42@gmail.com>
1209
1210 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
1211 entries. Duplicate file section script entries.
1212 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
1213 inlined entries. Add test for safe-path rejection.
1214 * gdb.python/py-section-script.c: Add duplicate inlined section script
1215 entries. Duplicate file section script entries.
1216 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
1217 inlined entries. Add test for safe-path rejection.
1218
df25ebbd
JB
12192015-01-29 Joel Brobecker <brobecker@adacore.com>
1220
1221 * gdb.ada/disc_arr_bound: New testcase.
1222
4a0ca9ec
JB
12232015-01-29 Joel Brobecker <brobecker@adacore.com>
1224
1225 * gdb.ada/mi_var_array: New testcase.
1226
3a8b707a
DE
12272015-01-27 Doug Evans <dje@google.com>
1228
1229 * gdb.python/py-objfile.exp: Add tests for objfile.username.
1230 Add test for objfile.filename, objfile.username after objfile
1231 has been unloaded.
1232
f8313f6e
JB
12332015-01-26 Joel Brobecker <brobecker@adacore.com>
1234
1235 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
1236 the second test to print the name attribute of value
1237 returned by the call to gdb.lookup_type, and adjust
1238 the expected output accordingly.
1239
37bc665e
MW
12402015-01-25 Mark Wielaard <mjw@redhat.com>
1241
1242 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
1243 * gdb.base/disp-step-fork.c: Include unistd.h.
1244 * gdb.base/siginfo-obj.c: Include stdio.h.
1245 * gdb.base/siginfo-thread.c: Likewise.
1246 * gdb.mi/non-stop.c: Include unistd.h.
1247 * gdb.mi/nsthrexec.c: Include stdio.h.
1248 * gdb.mi/pthreads.c: Include unistd.h.
1249 * gdb.modula2/unbounded1.c (main): Declare returns int.
1250 * gdb.reverse/consecutive-reverse.c: Likewise.
1251 * gdb.threads/create-fail.c: Include unistd.h.
1252 * gdb.threads/killed.c: Likewise.
1253 * gdb.threads/linux-dp.c: Likewise.
1254 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
1255 * gdb.threads/non-ldr-exc-2.c: Likewise.
1256 * gdb.threads/non-ldr-exc-3.c: Likewise.
1257 * gdb.threads/non-ldr-exc-4.c: Likewise.
1258 * gdb.threads/pthreads.c: Include unistd.h.
1259 (main): Declare returns int.
1260 * gdb.threads/tls-main.c (foo): New declaration.
1261 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
1262
f7e5394d
SM
12632015-01-23 Simon Marchi <simon.marchi@ericsson.com>
1264
1265 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
1266 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
1267
743649fd
MW
12682015-01-15 Mark Wielaard <mjw@redhat.com>
1269
1270 * gdb.base/noreturn-return.c: New file.
1271 * gdb.base/noreturn-return.exp: New file.
1272 * gdb.base/noreturn-finish.c: New file.
1273 * gdb.base/noreturn-finish.exp: New file.
1274
198297aa
PA
12752015-01-23 Pedro Alves <palves@redhat.com>
1276
1277 * gdb.threads/continue-pending-after-query.c: New file.
1278 * gdb.threads/continue-pending-after-query.exp: New file.
1279
717cf30c
AG
12802015-01-22 Anders Granlund <anders.granlund@ericsson.com>
1281 Simon Marchi <simon.marchi@ericsson.com>
1282
1283 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
1284 * gdb.base/valgrind-db-attach.exp: Same.
1285 * gdb.base/valgrind-infcall.exp: Same.
1286 * lib/mi-support.exp (default_mi_gdb_start): Same.
1287 * lib/prompt.exp (default_prompt_gdb_start): Same.
1288 * lib/gdb.exp (default_gdb_spawn): Same.
1289 (gdb_interact): New.
1290
1291
4b62a76e
JK
12922015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1293
1294 * gdb.compile/compile.exp (pointer to jit function): New test.
1295
b4cdae6f
WW
12962015-01-17 Wei-cheng Wang <cole945@gmail.com>
1297
1298 * lib/gdb.exp (supports_process_record): Return true for
1299 powerpc*-*-linux*.
1300 (supports_reverse): Likewise.
1301
d221e7ef
DB
13022015-01-15 Don Breazeal <donb@codesourcery.com>
1303
1304 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
1305 instead of checking whether the target board is remote and
1306 use spawn_wait_for_attach instead of exec/sleep.
1307 * gdb.base/attach-twice.exp: Likewise.
1308
bafffb51
JB
13092015-01-15 Joel Brobecker <brobecker@adacore.com>
1310
1311 * gdb.ada/var_arr_attrs: New testcase.
1312
5589af0e
PA
13132015-01-14 Pedro Alves <palves@redhat.com>
1314 Joel Brobecker <brobecker@adacore.com>
1315
1316 PR gdb/17525
1317 * gdb.base/bp-cmds-execution-x-script.c: New file.
1318 * gdb.base/bp-cmds-execution-x-script.exp: New file.
1319 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
1320
6c400b59
PA
13212015-01-14 Pedro Alves <palves@redhat.com>
1322
1323 PR cli/17828
1324 * gdb.base/batch-preserve-term-settings.c: New file.
1325 * gdb.base/batch-preserve-term-settings.exp: New file.
1326
e02c96a7
DE
13272015-01-13 Doug Evans <dje@google.com>
1328
1329 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
1330 binary.
1331
576fd14c
JB
13322015-01-13 Joel Brobecker <brobecker@adacore.com>
1333
1334 * Makefile.in (clean mostlyclean): Do not delete *.py.
1335
04dccad0
JB
13362015-01-13 Joel Brobecker <brobecker@adacore.com>
1337
1338 * gdb.python/py-lookup-type.exp: New file.
1339
3d230f71
PA
13402015-01-12 Pedro Alves <palves@redhat.com>
1341
1342 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
1343 restore GDBFLAGS before returning.
1344
7e67715d
JK
13452015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1346
1347 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
1348 is_amd64_regs_target and is_x86_like_target.
1349
f2e0d4b4
DE
13502015-01-11 Doug Evans <xdje42@gmail.com>
1351
1352 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
1353 is given without an explicit form.
1354 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
1355 attributes.
1356 * gdb.dwarf/corrupt.exp: Ditto.
1357 * gdb.dwarf2/enum-type.exp: Ditto.
1358 * gdb.trace/entry-values.exp: Ditto.
1359 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
1360
439250fb
DE
13612015-01-11 Doug Evans <xdje42@gmail.com>
1362
1363 PR gdb/15830
1364 * gdb.base/maint.exp: Remove references to "maint demangle".
1365 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
1366 Add tests for explicitly specifying language to demangle.
1367 * gdb.dlang/demangle.exp: Ditto.
1368
ede9f622
PA
13692015-01-09 Pedro Alves <palves@redhat.com>
1370
1371 * gdb.threads/non-stop-fair-events.c: New file.
1372 * gdb.threads/non-stop-fair-events.exp: New file.
1373
a7b796db
PA
13742015-01-09 Pedro Alves <palves@redhat.com>
1375
1376 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
1377 the global scope. Set a breakpoint after all threads are started
1378 rather than stepping over two source lines. Expect the prompt.
1379 * gdb.base/watch_thread_num.c (threads_started_barrier): New
1380 global.
1381 (NUM): Now 15.
1382 (main): Use threads_started_barrier to wait for all threads to
1383 start. Main thread no longer calls thread_function. Exit after
1384 180 seconds.
1385 (loop): New function.
1386 (thread_function): Wait on threads_started_barrier barrier. Call
1387 'loop' at each iteration.
1388 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
1389 threads have started, instead of hardcoding number of "next"
1390 steps. Use an access watchpoint instead of a write watchpoint.
1391
9665ffdd
PA
13922015-01-09 Pedro Alves <palves@redhat.com>
1393
1394 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
1395 (thread_func): Wait on barrier.
1396 (main): Wait for all threads to start before stopping GDB.
1397 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
1398 global.
1399 (thread1_func, thread2_func): Wait on barrier.
1400 (main): Wait for all threads to start before stopping GDB.
1401 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
1402 New global.
1403 (thread1_func, thread2_func): Wait on barrier.
1404 (main): Wait for all threads to start before stopping GDB.
1405
c945a99f
PA
14062015-01-09 Pedro Alves <palves@redhat.com>
1407
1408 * gdb.threads/attach-many-short-lived-threads.c: New file.
1409 * gdb.threads/attach-many-short-lived-threads.exp: New file.
1410
c1a747c1
PA
14112014-01-09 Pedro Alves <palves@redhat.com>
1412
1413 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
1414 instead of to thread 2.
1415 * gdb.threads/signal-command-multiple-signals-pending.c (main):
1416 Add barrier around each pthread_create call instead of around all
1417 calls.
1418 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
1419 Set a break on thread_function and have the child threads hit it
1420 one at at a time.
1421
60b3033e
PA
14222015-01-09 Pedro Alves <palves@redhat.com>
1423
1424 * lib/gdb.exp (can_spawn_for_attach): New procedure.
1425 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
1426 false.
1427 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
1428 checking whether the target board is remote.
1429 * gdb.multi/multi-attach.exp: Likewise.
1430 * gdb.python/py-sync-interp.exp: Likewise.
1431 * gdb.server/ext-attach.exp: Likewise.
1432 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
1433 tests that need to attach, instead of checking whether the target
1434 board is remote at the top of the file.
1435
acc018ac
YQ
14362015-01-08 Yao Qi <yao@codesourcery.com>
1437
1438 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
1439
50a18af8
JK
14402015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1441
1442 Fix testcase compilation.
1443 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
1444
8503d6e1
JB
14452015-01-06 Joel Brobecker <brobecker@adacore.com>
1446
1447 * gdb.python/py-type.exp: Add a couple test about empty
1448 array creation, and negative-length array creation.
1449
cc73dbcc
DE
14502015-01-02 Doug Evans <xdje42@gmail.com>
1451
1452 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
1453
0300bbc7
DE
14542015-01-02 Doug Evans <dje@google.com>
1455
1456 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
1457
9d85a0ec
YQ
14582014-12-29 Yao Qi <yao@codesourcery.com>
1459
1460 * gdb.trace/entry-values.exp: Update comments. Rename variable
1461 bar_call_foo to returned_from_foo.
1462
87186c6a
MMN
14632014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
1464
1465 PR gdb/17394
1466 * gdb.linespec/break-asm-file.c: New file.
1467 * gdb.linespec/break-asm-file.exp: New file.
1468 * gdb.linespec/break-asm-file0.s: New file.
1469 * gdb.linespec/break-asm-file1.s: New file.
1470
1bab7383
YQ
14712014-12-18 Nigel Stephens <nigel@mips.com>
1472 Maciej W. Rozycki <macro@codesourcery.com>
1473
1474 * gdb.base/float.exp: Handle the new output from "info float" on
1475 MIPS targets.
1476
1bc1068a
JK
14772014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1478
1479 Fix MinGW compilation.
1480 * gdb.compile/compile-ops.exp: Update untested message if
1481 !skip_compile_feature_tests.
1482 * gdb.compile/compile-setjmp.exp: Likewise.
1483 * gdb.compile/compile-tls.exp: Likewise.
1484 * gdb.compile/compile.exp: Likewise.
1485 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
1486 supported on this host".
1487
b6615d10
DE
14882014-12-16 Doug Evans <xdje42@gmail.com>
1489
1490 * boards/stabs.exp: New file.
1491
25dda427
AA
14922014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
1493
1494 * gdb.base/completion.exp: Adjust to format changes of "maint
1495 print user-registers".
1496
bf330350
CU
14972014-12-16 Catalin Udma <catalin.udma@freescale.com>
1498
1499 PR server/17457
1500 * gdb.arch/aarch64-fp.c: New file.
1501 * gdb.arch/aarch64-fp.exp: New file.
1502
395cf596
SDJ
15032014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
1504
1505 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
1506 r210637, r210913, r211666, r215400, r215817).
1507
1508 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
1509 * dg-extract-results.py: New file.
1510 * dg-extract-results.sh: Use it if the environment seems
1511 suitable.
1512
1513 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
1514
1515 * dg-extract-results.py (parse_run): Handle warnings that
1516 are printed before a test harness is run.
1517
1518 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
1519
1520 * dg-extract-results.py (Named): Remove __cmp__ method.
1521 (output_variation): Use a key to sort variation.harnesses.
1522
1523 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
1524
1525 * dg-extract-results.py: For Python 3, force sys.stdout to
1526 handle surrogate escape sequences.
1527 (safe_open): New function.
1528 (output_segment, main): Use it.
1529
1530 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
1531
1532 * dg-extract-results.py (Prog.result_re): Include options
1533 in test name.
1534
1535 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
1536
1537 * dg-extract-results.py (output_variation): Always sort if
1538 do_sum.
1539
e882ef3c
SM
15402014-12-15 Simon Marchi <simon.marchi@ericsson.com>
1541
1542 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
1543 as long as we get pagination notifications.
1544
4992aa20
JM
15452014-12-15 Jason Merrill <jason@redhat.com>
1546
1547 * Makefile.in (check-gdb.%): Restore.
1548 * README: Mention it.
1549
c1b5a1a6
JB
15502014-12-13 Joel Brobecker <brobecker@adacore.com>
1551
1552 * gdb.ada/str_uninit: New testcase.
1553
5537b577
JK
15542014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1555
1556 PR symtab/17642
1557 * gdb.base/vla-stub-define.c: New file.
1558 * gdb.base/vla-stub.c: New file.
1559 * gdb.base/vla-stub.exp: New file.
1560
bb2ec1b3
TT
15612014-12-12 Phil Muldoon <pmuldoon@redhat.com>
1562 Jan Kratochvil <jan.kratochvil@redhat.com>
1563 Tom Tromey <tromey@redhat.com>
1564
1565 * configure.ac: Add gdb.compile/.
1566 * configure: Regenerate.
1567 * gdb.compile/Makefile.in: New file.
1568 * gdb.compile/compile-ops.exp: New file.
1569 * gdb.compile/compile-ops.c: New file.
1570 * gdb.compile/compile-tls.c: New file.
1571 * gdb.compile/compile-tls.exp: New file.
1572 * gdb.compile/compile-constvar.S: New file.
1573 * gdb.compile/compile-constvar.c: New file.
1574 * gdb.compile/compile-mod.c: New file.
1575 * gdb.compile/compile-nodebug.c: New file.
1576 * gdb.compile/compile-setjmp-mod.c: New file.
1577 * gdb.compile/compile-setjmp.c: New file.
1578 * gdb.compile/compile-setjmp.exp: New file.
1579 * gdb.compile/compile-shlib.c: New file.
1580 * gdb.compile/compile.c: New file.
1581 * gdb.compile/compile.exp: New file.
1582 * lib/gdb.exp (skip_compile_feature_tests): New proc.
1583
4ff709eb
TT
15842014-12-12 Tom Tromey <tromey@redhat.com>
1585
1586 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
1587 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
1588
6dddd6a5
DE
15892014-12-12 Doug Evans <dje@google.com>
1590
1591 * lib/gdb-python.exp (get_python_valueof): New function.
1592 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
1593
71c24708
AA
15942014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1595
1596 * gdb.base/completion.exp: Add test for completion of "info
1597 registers ".
1598
3e29f34a
MR
15992014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
1600
1601 * gdb.base/func-ptrs.c: New file.
1602 * gdb.base/func-ptrs.exp: New file.
1603
fc126975
SM
16042014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1605
1606 PR breakpoints/17012
1607 * gdb.base/dprintf-detach.c: New file.
1608 * gdb.base/dprintf-detach.exp: New file.
1609
0a46d518
SM
16102014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1611
1612 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
1613 * lib/gdb.exp (target_is_gdbserver): New procedure.
1614
a0be3e44
DE
16152014-12-08 Doug Evans <dje@google.com>
1616
1617 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
1618
df1b803a
YQ
16192014-12-05 Yao Qi <yao@codesourcery.com>
1620
1621 * gdb.guile/scm-error.exp: Remove the third argument to
1622 gdb_remote_download.
1623 * gdb.guile/scm-frame-args.exp: Likewise.
1624 * gdb.guile/scm-section-script.exp: Likewise.
1625
ddb9f679
YQ
16262014-12-05 Yao Qi <yao@codesourcery.com>
1627
1628 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
1629
86e4ed39
DE
16302014-12-04 Doug Evans <dje@google.com>
1631
1632 * gdb.python/py-objfile.exp: Add tests for
1633 objfile.add_separate_debug_file.
1634
7c50a931
DE
16352014-12-04 Doug Evans <dje@google.com>
1636
1637 * lib/gdb.exp (get_build_id): New function.
1638 (build_id_debug_filename_get): Rewrite to use it.
1639 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
1640
621661e3
MR
16412014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
1642
1643 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
1644 `method(long)', not just 0x0.
1645 * gdb.cp/nsalias.exp: Align code labels to 4.
1646 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
1647 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
1648 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
1649 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
1650 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
1651 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
1652
29f0c3b7
DE
16532014-12-02 Doug Evans <dje@google.com>
1654
e1e061e7 1655 PR symtab/17602
29f0c3b7 1656 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 1657 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
1658 * gdb.cp/anon-ns.exp: Update.
1659
162078c8
NB
16602014-12-02 Nick Bull <nicholaspbull@gmail.com>
1661
1662 * gdb.python/py-events.py (inferior_call_handler): New.
1663 (register_changed_handler, memory_changed_handler): New.
1664 (test_events.invoke): Register new handlers.
1665 * gdb.python/py-events.exp: Add tests for inferior call,
1666 memory_changed and register_changed events.
1667
fdb09caf
AA
16682014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1669
1670 * gdb.base/execl-update-breakpoints.exp: Specify the link address
1671 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
1672 if the linker doesn't understand this.
1673
55cfb2c4
SM
16742014-12-01 Simon Marchi <simon.marchi@ericsson.com>
1675
1676 * gdb.python/python.exp: Change expected reply to help().
1677
9e8cd6df
YQ
16782014-12-01 Yao Qi <yao@codesourcery.com>
1679
1680 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
1681 AC_CONFIG_SUBDIRS(gdb.gdbtk).
1682 * configure: Re-generated.
1683
6c659fc2
SC
16842014-11-28 Siva Chandra Reddy <sivachandra@google.com>
1685
1686 * gdb.cp/chained-calls.cc: New file.
1687 * gdb.cp/chained-calls.exp: New file.
1688 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
1689
d7fc3181
SM
16902014-11-28 Simon Marchi <simon.marchi@ericsson.com>
1691
1692 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
1693 * gdb.dwarf2/symtab-producer.exp: Same.
1694 * gdb.gdb/python-interrupts.exp: Same.
1695 * gdb.gdb/python-selftest.exp: Same.
1696 * gdb.python/py-linetable.exp: Same.
1697 * gdb.python/py-type.exp: Same.
1698 * gdb.python/py-value-cc.exp: Same.
1699 * gdb.python/py-value.exp: Same.
1700
10e79639
YQ
17012014-11-28 Yao Qi <yao@codesourcery.com>
1702
1703 * gdb.base/break-probes.exp: Match library name prefixed with
1704 sysroot.
1705
f28a0564
SM
17062014-11-27 Simon Marchi <simon.marchi@ericsson.com>
1707
1708 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
1709 test expected output. Add parentheses for the call to print.
1710 Remove L suffix from integers.
1711
3fe1ce1d
DE
17122014-11-26 Doug Evans <dje@google.com>
1713
1714 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
1715
84429e27
YQ
17162014-11-22 Yao Qi <yao@codesourcery.com>
1717
1718 * gdb.trace/entry-values.c: Remove asms.
1719 (foo): Add foo_label.
1720 (bar): Add bar_label.
1721 * gdb.trace/entry-values.exp: Remove code computing foo's
1722 length and bar's length.
1723 (Dwarf::assemble): Invoke function_range for bar and use
1724 MACRO_AT_func for foo.
1725
26741859
YQ
17262014-11-22 Yao Qi <yao@codesourcery.com>
1727
1728 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
1729 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
1730 Use .Lgcc43_procstart instead of gcc43.
1731
45e44d27
JB
17322014-11-21 Joel Brobecker <brobecker@adacore.com>
1733
1734 * gdb.ada/n_arr_bound: New testcase.
1735
458c8db8
SDJ
17362014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1737
1738 PR breakpoints/10737
1739 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
1740 test_catch_syscall_multi_arch.
1741 (test_catch_syscall_multi_arch): New function.
1742
43f3e411
DE
17432014-11-20 Doug Evans <xdje42@gmail.com>
1744
1745 * gdb.base/maint.exp: Update expected output.
1746
0d7b2549
AA
17472014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1748
1749 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
1750 4-byte instruction on S390.
1751
8908fca5
JB
17522014-11-19 Joel Brobecker <brobecker@adacore.com>
1753
1754 * gdb.ada/arr_arr: New testcase.
1755
4a46959e
JB
17562014-11-19 Joel Brobecker <brobecker@adacore.com>
1757
1758 * gdb.ada/pkd_arr_elem: New Testcase.
1759
470e2f4e
LM
17602014-11-18 Luis Machado <lgustavo@codesourcery.com>
1761
1762 * gdb.reverse/break-precsave: Expect completion message for
1763 core file reads.
1764 * gdb.reverse/consecutive-precsave.exp: Likewise.
1765 * gdb.reverse/finish-precsave.exp: Likewise.
1766 * gdb.reverse/i386-precsave.exp: Likewise.
1767 * gdb.reverse/machinestate-precsave.exp: Likewise.
1768 * gdb.reverse/sigall-precsave.exp: Likewise.
1769 * gdb.reverse/solib-precsave.exp: Likewise.
1770 * gdb.reverse/step-precsave.exp: Likewise.
1771 * gdb.reverse/until-precsave.exp: Likewise.
1772 * gdb.reverse/watch-precsave.exp: Likewise.
1773
a267f3ad
AA
17742014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1775
1776 * gdb.base/bp-permanent.c: Include unistd.h.
1777 * gdb.python/py-framefilter-mi.c (main): Add return type.
1778 * gdb.python/py-framefilter.c (main): Likewise.
1779 * gdb.trace/actions-changed.c (main): Likewise.
1780
12084a9a
AA
17812014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1782
1783 * gdb.mi/until.c: Add eye-catchers.
1784 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
1785 line numbers.
1786
dc7e1a77
AA
17872014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1788
1789 * gdb.base/condbreak.exp: Drop references to removed non-prototype
1790 function header variants in break1.c.
1791 * gdb.base/ena-dis-br.exp: Likewise.
1792 * gdb.base/hbreak2.exp: Likewise.
1793 * gdb.reverse/until-precsave.exp: Drop references to removed
1794 non-prototype function header variants in ur1.c.
1795 * gdb.reverse/until-reverse.exp: Likewise.
1796
41c77605
PM
17972014-11-17 Petr Machata <pmachata@redhat.com>
1798
1799 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
1800 ${_cu_offset_size} bytes abbrev offset.
1801
34248c3a
DE
18022014-11-15 Doug Evans <xdje42@gmail.com>
1803
1804 PR symtab/17559
1805 * gdb.base/line-symtabs.exp: New file.
1806 * gdb.base/line-symtabs.c: New file.
1807 * gdb.base/line-symtabs.h: New file.
1808
646da059
YQ
18092014-11-14 Yao Qi <yao@codesourcery.com>
1810
1811 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
1812 (func): Add label func_label.
1813 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
1814 Replace low_pc and high_pc with MACRO_AT_range.
1815 Replace name, low_pc and high_pc with MACRO_AT_func.
1816
9301ebe6
YQ
18172014-11-14 Yao Qi <yao@codesourcery.com>
1818
1819 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
1820 Replace name, low_pc and high_pc with MACRO_AT_func.
1821
f166b542
YQ
18222014-11-14 Yao Qi <yao@codesourcery.com>
1823
1824 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
1825 produce debug information.
1826 * gdb.dwarf2/implptr-optimized-out.S: Removed.
1827
0f6e71e3
YQ
18282014-11-14 Yao Qi <yao@codesourcery.com>
1829
1830 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
1831 object and get function length.
1832 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
1833 with MACRO_AT_func.
1834 (top-level): Replace gdb_compile and clean_restart with
1835 prepare_for_testing.
1836 * gdb.dwarf2/main.c (main): Add label main_label.
1837
876c4df9
YQ
18382014-11-14 Yao Qi <yao@codesourcery.com>
1839
1840 * lib/dwarf.exp (function_range): New procedure.
1841 (Dwarf::_handle_macro_at_func): New procedure.
1842 (Dwarf::_handle_macro_at_range): New procedure.
1843 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
1844
02ad9cf1
YQ
18452014-11-14 Yao Qi <yao@codesourcery.com>
1846
1847 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
1848 (_handle_attribute): New procedure.
1849
a59add0c
AA
18502014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1851
1852 * gdb.ada/cond_lang/foo.c (callme): Add return type.
1853 * gdb.base/call-sc.c (zed): Likewise.
1854 * gdb.base/checkpoint.c (main): Likewise.
1855 * gdb.base/dump.c (main): Likewise.
1856 * gdb.base/gcore.c (main): Likewise.
1857 * gdb.base/huge.c (main): Likewise.
1858 * gdb.base/multi-forks.c (main): Likewise.
1859 * gdb.base/pr10179-a.c (main): Likewise.
1860 * gdb.base/savedregs.c (main): Likewise.
1861 * gdb.base/sigaltstack.c (main): Likewise.
1862 * gdb.base/siginfo.c (main): Likewise.
1863 * gdb.base/structs.c (zed): Likewise.
1864 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
1865 * gdb.mi/mi-syn-frame.c (main): Likewise.
1866 * gdb.mi/until.c (foo, main): Likewise.
1867 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
1868 * gdb.base/solib-weak.c (foo): Declare.
1869 * gdb.base/attach-twice.c: Include stdio.h.
1870 * gdb.base/weaklib1.c: Likewise.
1871 * gdb.base/weaklib2.c: Likewise.
1872 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
1873 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
1874 unistd.h.
1875 * gdb.base/attach-pie-misread.c: Include stdlib.h.
1876 * gdb.mi/mi-exit-code.c: Likewise.
1877 * gdb.base/break-interp-lib.c: Include string.h.
1878 * gdb.base/coremaker.c: Likewise.
1879 * gdb.base/testenv.c: Likewise.
1880 * gdb.python/py-finish-breakpoint.c: Likewise.
1881 * gdb.base/inferior-died.c: Include sys/wait.h.
1882 * gdb.base/fileio.c: Include time.h.
1883 * gdb.base/async-shell.c: Include unistd.h.
1884 * gdb.base/dprintf-non-stop.c: Likewise.
1885 * gdb.base/info-os.c: Likewise.
1886 * gdb.mi/mi-console.c: Likewise.
1887 * gdb.mi/watch-nonstop.c: Likewise.
1888 * gdb.python/py-events.c: Likewise.
1889 * gdb.base/async.c (baz): Move up before its invocation.
1890 * gdb.base/code_elim2.c (my_global_func): Likewise.
1891 * gdb.base/skip-solib-lib.c (multiply): Likewise.
1892 * gdb.base/advance.c (func2): Likewise.
1893
3b5d5997
AA
18942014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1895
1896 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
1897 variant.
1898 * gdb.base/annota3.c: Likewise.
1899 * gdb.base/async.c: Likewise.
1900 * gdb.base/average.c: Likewise.
1901 * gdb.base/call-ar-st.c: Likewise.
1902 * gdb.base/call-rt-st.c: Likewise.
1903 * gdb.base/call-sc.c: Likewise.
1904 * gdb.base/call-strs.c: Likewise.
1905 * gdb.base/ending-run.c: Likewise.
1906 * gdb.base/execd-prog.c: Likewise.
1907 * gdb.base/exprs.c: Likewise.
1908 * gdb.base/foll-exec.c: Likewise.
1909 * gdb.base/foll-fork.c: Likewise.
1910 * gdb.base/foll-vfork.c: Likewise.
1911 * gdb.base/funcargs.c: Likewise.
1912 * gdb.base/gcore.c: Likewise.
1913 * gdb.base/jump.c: Likewise.
1914 * gdb.base/langs0.c: Likewise.
1915 * gdb.base/langs1.c: Likewise.
1916 * gdb.base/langs2.c: Likewise.
1917 * gdb.base/mips_pro.c: Likewise.
1918 * gdb.base/nodebug.c: Likewise.
1919 * gdb.base/opaque0.c: Likewise.
1920 * gdb.base/opaque1.c: Likewise.
1921 * gdb.base/recurse.c: Likewise.
1922 * gdb.base/run.c: Likewise.
1923 * gdb.base/scope0.c: Likewise.
1924 * gdb.base/scope1.c: Likewise.
1925 * gdb.base/setshow.c: Likewise.
1926 * gdb.base/setvar.c: Likewise.
1927 * gdb.base/shmain.c: Likewise.
1928 * gdb.base/shr1.c: Likewise.
1929 * gdb.base/shr2.c: Likewise.
1930 * gdb.base/sigall.c: Likewise.
1931 * gdb.base/signals.c: Likewise.
1932 * gdb.base/so-indr-cl.c: Likewise.
1933 * gdb.base/solib2.c: Likewise.
1934 * gdb.base/structs.c: Likewise.
1935 * gdb.base/sum.c: Likewise.
1936 * gdb.base/vforked-prog.c: Likewise.
1937 * gdb.base/watchpoint.c: Likewise.
1938 * gdb.reverse/shr2.c: Likewise.
1939 * gdb.reverse/until-reverse.c: Likewise.
1940 * gdb.reverse/ur1.c: Likewise.
1941 * gdb.reverse/watch-reverse.c: Likewise.
1942
066a77c5
AA
19432014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1944
1945 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
1946 variant.
1947 * gdb.base/sepdebug.exp: Drop references to removed code.
1948
4f204ea5
AA
19492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1950
1951 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
1952 variant. Preserve original line numbering.
1953 * gdb.base/list1.c: Likewise.
1954
3b377a3a
AA
19552014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1956
1957 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
1958 variant.
1959 * gdb.base/break1.c: Likewise.
1960 * gdb.base/break.exp: Drop references to removed code.
1961
e444df73
AA
19622014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1963
1964 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
1965 variant.
1966
8008f2a7
AA
19672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1968
1969 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
1970
a5a06887
AA
19712014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1972
1973 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
1974 logic into perform_all_tests() and invoke it with and without
1975 function header prototypes.
1976 (do_function_calls): Remove conditional XFAIL for PR 5318.
1977 (rerun_and_prepare): Remove duplicate code.
1978 (perform_all_tests): New. Main logic moved here.
1979
44dba9b9
AA
19802014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1981
1982 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
1983 code guarded by #ifdef NO_PROTOTYPES.
1984 (t_double_many_args): Likewise.
1985 (DEF_FUNC_MANY_ARGS_1): Likewise.
1986 (DEF_FUNC_VALUES_1): Likewise.
1987 (t_structs_ldc): Renamed from t_structs_fc in conditional code
1988 guarded by #ifdef PROTOTYPES.
1989
d1fbcd56
AA
19902014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1991
1992 * gdb.mi/mi-console.c: Add eye-catcher.
1993 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
1994 instead of literal line number.
1995
b0e59b8f
AA
19962014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1997
1998 * gdb.base/shr2.c: Add eye-catcher.
1999 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
2000 line number.
2001
78f98cca
AA
20022014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2003
2004 * gdb.base/jump.c: Add eye-catchers.
2005 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
2006 numbers.
2007
58fa2af0
AA
20082014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2009
2010 * gdb.base/execd-prog.c: Add eye-catchers.
2011 * gdb.base/foll-exec.c: Likewise.
2012 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
2013 line numbers.
2014
04e5059b
AA
20152014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2016
2017 * gdb.base/ending-run.c: Add eye-catchers.
2018 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
2019 literal line numbers.
2020
dbfdb174
AA
20212014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2022
2023 * gdb.base/call-rt-st.c: Add eye-catchers.
2024 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
2025 literal line numbers.
2026
888a2ade
AA
20272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2028
2029 * gdb.base/call-ar-st.c: Add eye-catchers.
2030 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
2031 literal line numbers.
2032
6acc2dde
AA
20332014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2034
2035 * gdb.base/average.c: Add eye-catchers.
2036 * gdb.base/sum.c: Likewise.
2037 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
2038 regexps dynamically.
2039
9ecfcd1d
AA
20402014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2041
2042 * gdb.base/solib1.c: Add eye-catchers.
2043 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
2044 literal line numbers.
2045
78708b7c
PA
20462014-11-12 Pedro Alves <palves@redhat.com>
2047
2048 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
2049 leader has exited.
2050
af48d08f
PA
20512014-11-12 Pedro Alves <palves@redhat.com>
2052
2053 * gdb.arch/i386-bp_permanent.c: New file.
2054 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
2055 (srcfile): Set to i386-bp_permanent.c.
2056 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
2057 that stepi does not execute the 'leave' instruction, instead of
2058 testing it does execute.
2059 * gdb.base/bp-permanent.c: New file.
2060 * gdb.base/bp-permanent.exp: New file.
2061
af3768e9
DE
20622014-11-10 Doug Evans <xdje42@gmail.com>
2063
2064 PR symtab/17564
2065 * gdb.base/symtab-search-order.exp: New file.
2066 * gdb.base/symtab-search-order.c: New file.
2067 * gdb.base/symtab-search-order-1.c: New file.
2068 * gdb.base/symtab-search-order-shlib-1.c: New file.
2069
9de00a4a
PA
20702014-11-07 Pedro Alves <palves@redhat.com>
2071
2072 PR gdb/17511
2073 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
2074 i?86-*-linux*.
2075
e0f52461
SC
20762014-11-03 Siva Chandra Reddy <sivachandra@google.com>
2077
2078 PR c++/17494
2079 * gdb.cp/pr17494.cc: New file.
2080 * gdb.cp/pr17494.exp: New file.
2081
6ce8c980
YQ
20822014-11-02 Yao Qi <yao@codesourcery.com>
2083
2084 * gdb.python/python.exp: Get working directory and match the
2085 output of "set extended-prompt \\w " with it.
2086
02be9a71
DE
20872014-10-30 Doug Evans <dje@google.com>
2088
2089 * gdb.python/py-objfile.exp: Add tests for setting random attributes
2090 in objfiles.
2091 * gdb.python/py-progspace.exp: Add tests for setting random attributes
2092 in progspaces.
2093
3bdff46b
LM
20942014-10-30 Janis Johnson <janisjo@codesourcery.com>
2095
2096 * gdb.base/fullpath-expand.exp: Skip for a remote host.
2097 * gdb.base/realname-expand.exp: Likewise.
2098 * gdb.linespec/macro-relative.exp: Likewise.
2099
ab917dfb
PA
21002014-10-29 Pedro Alves <palves@redhat.com>
2101
2102 PR gdb/17408
2103 * gdb.threads/schedlock.c (some_function): New function.
2104 (call_function): New global.
2105 (MAYBE_CALL_SOME_FUNCTION): New macro.
2106 (thread_function): Call it.
2107 * gdb.threads/schedlock.exp (get_args): Add description parameter,
2108 and use it instead of a global counter. Adjust all callers.
2109 (get_current_thread): Use "find current thread" for test message
2110 here rather than having all callers pass down the same string.
2111 (goto_loop): New procedure, factored out from ...
2112 (my_continue): ... this.
2113 (step_ten_loops): Change parameter from test message to command to
2114 use. Adjust.
2115 (list_count): Delete global.
2116 (check_result): New procedure, factored out from duplicate top
2117 level code.
2118 (continue tests): Wrap in with_test_prefix.
2119 (test_step): New procedure, factored out from duplicate top level
2120 code.
2121 (top level): Test "step" in combination with all scheduler-locking
2122 modes. Test "next" in combination with all scheduler-locking
2123 modes, and in combination with stepping over a function call or
2124 not.
2125 * gdb.threads/next-bp-other-thread.c: New file.
2126 * gdb.threads/next-bp-other-thread.exp: New file.
2127
d3d4baed
PA
21282014-10-29 Pedro Alves <palves@redhat.com>
2129
2130 PR python/17372
2131 * gdb.python/python.exp: Test a multi-line command that spawns
2132 interactive Python.
2133 * gdb.base/multi-line-starts-subshell.exp: New file.
2134
563e8d85
YQ
21352014-10-29 Yao Qi <yao@codesourcery.com>
2136
2137 * gdb.base/fileio.exp: Make directories on host.
2138
0ea4d52e
YQ
21392014-10-29 Yao Qi <yao@codesourcery.com>
2140
2141 * gdb.base/fileio.c (test_write): Close the file.
2142
7f5ef605
PA
21432014-10-28 Pedro Alves <palves@redhat.com>
2144
2145 PR gdb/12623
2146 * gdb.base/sigstep.c (no_handler): New global.
2147 (main): If 'no_handler is true, set the signal handlers to
2148 SIG_IGN.
2149 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
2150 with_sw_watch and no_handler parameters. Handle them.
2151 (top level) <stepping over handler when stopped at a breakpoint
2152 test>: Add a test axis for testing with a software watchpoint, and
2153 another for testing with the signal handler set to SIG_IGN.
2154 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
2155 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
2156
abbdbd03
PA
21572014-10-28 Pedro Alves <palves@redhat.com>
2158
2159 PR gdb/17511
2160 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
2161 * gdb.base/sigstep.exp (other_handler_location): New global.
2162 (advance): Support stepping into the signal handler, and running
2163 commands while in the handler.
2164 (in_handler_map): New global.
2165 (top level): In the advance test, add combinations for getting
2166 into the handler with stepping commands, and for running commands
2167 in the handler. Add comment descripting the advancei tests.
2168
1df4399f
PA
21692014-10-28 Pedro Alves <palves@redhat.com>
2170
2171 * gdb.base/sigstep.exp: Use build_executable instead of
2172 prepare_for_testing.
2173 (top level): Move code that starts GDB, runs to main and creates a
2174 display to ...
2175 (restart): ... this new procedure.
2176 (top level): Move backtrace from signal handler test to ...
2177 (validate_backtrace): ... this new procedure.
2178 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
2179 with_test_prefix. Always restart GDB.
2180 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
2181 with_test_prefix. Always restart GDB. No need to delete
2182 breakpoints after the test.
2183 (test_skip_handler): Remove prefix parameter.
2184 (skip_over_handler, breakpoint_to_handler)
2185 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
2186 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
2187 restart GDB. No need to delete breakpoints after the test.
2188 (top level): Use foreach to call the test procedures with
2189 different commands.
2190
a5b6e449
PA
21912014-10-28 Pedro Alves <palves@redhat.com>
2192
2193 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
2194 instead of GNATS numbers.
2195 * gdb.base/sigbpt.exp: Likewise.
2196 * gdb.base/siginfo.exp: Likewise.
2197 * gdb.base/sigstep.exp: Likewise.
2198
e5f8a7cc
PA
21992014-10-27 Pedro Alves <palves@redhat.com>
2200
2201 * gdb.base/sigstep.c (dummy): New global.
2202 (main): Issue a couple writes to the new global.
2203 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
2204 procedures.
2205 (skip_over_handler): Use test_skip_handler.
2206 (top level): Call skip_over_handler for stepi and nexti too.
2207 (breakpoint_over_handler): Use test_skip_handler.
2208 (top level): Call breakpoint_over_handler for stepi and nexti too.
2209
763905a3
YQ
22102014-10-27 Yao Qi <yao@codesourcery.com>
2211
2212 * gdb.trace/tfile.c (adjust_function_address)
2213 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
2214 function descriptor.
2215
6f259a23
DB
22162014-10-24 Don Breazeal <donb@codesourcery.com>
2217
2218 * gdb.base/foll-fork.exp (test_follow_fork,
2219 catch_fork_child_follow): Check for updated fork messages emitted
2220 from infrun.c.
2221 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
2222 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
2223 vfork_and_exec_child_follow_through_step): Check for updated vfork
2224 messages emitted from infrun.c.
2225
09dd9a69
PA
22262014-10-24 Pedro Alves <palves@redhat.com>
2227
2228 * gdb.base/corefile.exp: Remove references to ultrix.
2229 * gdb.base/interrupt.exp: Likewise.
2230 * gdb.base/whatis.exp: Likewise.
2231 * gdb.gdb/selftest.exp: Likewise.
2232 * gdb.threads/manythreads.exp: Likewise.
2233 * gdb.threads/print-threads.exp: Likewise.
2234 * gdb.threads/pthreads.exp:: Likewise.
2235 * gdb.threads/schedlock.exp: Likewise.
2236
3433cfa5
SC
22372014-10-24 Siva Chandra Reddy <sivachandra@google.com>
2238
2239 * gdb.cp/non-trivial-retval.cc: Add a test case.
2240 * gdb.cp/non-trivial-retval.exp: Add a test.
2241
092f880b
YQ
22422014-10-20 Yao Qi <yao@codesourcery.com>
2243
2244 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
2245 * gdb.python/py-objfile-script-gdb.py: New file.
2246 * gdb.python/py-objfile-script.exp: Update reference to
2247 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
2248 of remote_download. Remove the dest file.
2249
acbdb7f3
YQ
22502014-10-20 Yao Qi <yao@codesourcery.com>
2251
2252 * gdb.base/checkpoint.exp: Don't remove file copied on host.
2253 * gdb.base/step-line.exp: Likewise.
2254 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2255 * gdb.dwarf2/dw2-basic.exp: Likewise.
2256 * gdb.dwarf2/dw2-compressed.exp: Likewise.
2257 * gdb.dwarf2/dw2-filename.exp: Likewise.
2258 * gdb.dwarf2/dw2-intercu.exp: Likewise.
2259 * gdb.dwarf2/dw2-intermix.exp: Likewise.
2260 * gdb.dwarf2/dw2-producer.exp: Likewise.
2261 * gdb.dwarf2/mac-fileno.exp: Likewise.
2262 * gdb.python/py-frame-args.exp: Likewise.
2263 * gdb.python/py-framefilter.exp: Likewise.
2264 * gdb.python/py-mi.exp: Likewise.
2265 * gdb.python/py-objfile-script.exp: Likewise
2266 * gdb.python/py-pp-integral.exp: Likewise.
2267 * gdb.python/py-pp-re-notag.exp: Likewise.
2268 * gdb.python/py-prettyprint.exp: Likewise.
2269 * gdb.python/py-section-script.exp: Likewise.
2270 * gdb.python/py-typeprint.exp: Likewise.
2271 * gdb.python/py-xmethods.exp: Likewise.
2272 * gdb.stabs/weird.exp: Likewise.
2273 * gdb.xml/tdesc-regs.exp: Likewise.
2274
bd286a29
KCY
22752014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
2276
2277 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
2278 (out_cu): Use addr_len for the size of addresses.
2279 (out_line): Likewise. Size DW_LNE_set_address instruction
2280 according to addr_len.
2281 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
2282 (FUNC): Add START_INSNS to definition.
2283
673dc4a0
YQ
22842014-10-18 Yao Qi <yao@codesourcery.com>
2285
2286 * gdb.base/argv0-symlink.exp: Check argv[0] value if
2287 gdb_has_argv0 return true.
2288 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
2289 check [target_info exists noargs], check [gdb_has_argv0]
2290 instead.
2291 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2292 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
2293 procedures.
2294
4ffbba72
DE
22952014-10-17 Doug Evans <dje@google.com>
2296
2297 * gdb.python/py-events.exp: Update expected output for clear_objfiles
2298 event.
2299 * gdb.python/py-events.py: Add clear_objfiles event.
2300
d096d8c1
DE
23012014-10-17 Doug Evans <dje@google.com>
2302
2303 * gdb.python/py-objfile.exp: Test progspace attribute.
2304
a80db015
LM
23052014-10-17 Luis Machado <lgustavo@codesourcery.com>
2306
2307 * gdb.guile/scm-breakpoint.exp: Do not assume any
2308 directory separators when matching source file paths.
2309 * gdb.python/py-breakpoint.exp: Likewise.
2310 * gdb.reverse/break-precsave.exp: Likewise.
2311 * gdb.reverse/break-reverse.exp: Likewise.
2312 * gdb.reverse/consecutive-precsave.exp: Likewise.
2313 * gdb.reverse/finish-precsave.exp: Likewise.
2314 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
2315 * gdb.reverse/finish-reverse.exp: Likewise.
2316 * gdb.reverse/i386-precsave.exp: Likewise.
2317 * gdb.reverse/i387-env-reverse.exp: Likewise.
2318 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2319 * gdb.reverse/machinestate-precsave.exp: Likewise.
2320 * gdb.reverse/machinestate.exp: Likewise.
2321 * gdb.reverse/sigall-precsave.exp: Likewise.
2322 * gdb.reverse/solib-precsave.exp: Likewise.
2323 * gdb.reverse/step-precsave.exp: Likewise.
2324 * gdb.reverse/until-precsave.exp: Likewise.
2325 * gdb.reverse/watch-precsave.exp: Likewise.
2326 * gdb.reverse/watch-reverse.exp: Likewise.
2327
b22089ab
YQ
23282014-10-17 Yao Qi <yao@codesourcery.com>
2329
2330 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
2331 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
2332
6c4486e6
PA
23332014-10-17 Pedro Alves <palves@redhat.com>
2334
2335 PR gdb/17471
2336 * gdb.base/bg-execution-repeat.c: New file.
2337 * gdb.base/bg-execution-repeat.exp: New file.
2338
0ff33695
PA
23392014-10-17 Pedro Alves <palves@redhat.com>
2340
2341 PR gdb/17300
2342 * gdb.base/continue-all-already-running.c: New file.
2343 * gdb.base/continue-all-already-running.exp: New file.
2344
6fdebc3d
PA
23452014-10-17 Pedro Alves <palves@redhat.com>
2346
2347 PR gdb/17472
2348 * gdb.base/annota-input-while-running.c: New file.
2349 * gdb.base/annota-input-while-running.exp: New file.
2350
32a8097b
PA
23512014-10-17 Pedro Alves <palves@redhat.com>
2352
2353 * gdb.base/callfuncs.exp: emove references to osf.
2354 * gdb.base/sigall.exp: Likewise.
2355 * gdb.gdb/selftest.exp: Likewise.
2356 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
2357 * gdb.mi/non-stop.c: Likewise.
2358 * gdb.mi/pthreads.c: Likewise.
2359 * gdb.reverse/sigall-precsave.exp: Likewise.
2360 * gdb.reverse/sigall-reverse.exp: Likewise.
2361 * gdb.threads/pthreads.c: Likewise.
2362 * gdb.threads/pthreads.exp: Likewise.
2363
7a3517ff
YQ
23642014-10-17 Yao Qi <yao@codesourcery.com>
2365
2366 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
2367 check 'target_info exists noargs'.
2368 (test_command_prompt_position): Likewise.
2369 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
2370 Remove "set args".
2371 (progvar_simple_while_test): Likewise.
2372 (progvar_complex_if_while_test): Likewise.
2373 (if_while_breakpoint_command_test): Likewise.
2374 (infrun_breakpoint_command_test): Likewise.
2375 (breakpoint_command_test): Likewise.
2376 (watchpoint_command_test): Likewise.
2377 (bp_deleted_in_command_test): Likewise.
2378 (temporary_breakpoint_commands): Likewise.
2379
bb99c472
YQ
23802014-10-16 Yao Qi <yao@codesourcery.com>
2381
2382 * gdb.base/remotetimeout.exp: Remove noargs checking.
2383
7c16b83e
PA
23842014-10-15 Pedro Alves <palves@redhat.com>
2385
2386 PR breakpoints/9649
2387 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
2388 * gdb.base/breakpoint-in-ro-region.exp
2389 (probe_target_hardware_step): New procedure.
2390 (top level): Probe hardware stepping and hardware breakpoint
2391 support. Test stepping through a read-only region, with both
2392 "breakpoint auto-hw" on and off and both "always-inserted" on and
2393 off.
2394
35a49624
IB
23952014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
2396
2397 * gdb.dlang/demangle.exp: Update for demangling changes.
2398
2d1c107c
SC
23992014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2400
2401 * gdb.cp/non-trivial-retval.cc: Add new test cases.
2402 * gdb.cp/non-trivial-retval.exp: Add new tests.
2403
778811d5
SC
24042014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2405
2406 PR c++/13403
2407 PR c++/15154
2408 * gdb.cp/non-trivial-retval.cc: New file.
2409 * gdb.cp/non-trivial-retval.exp: New file.
2410
10c5f0a8
YQ
24112014-10-15 Yao Qi <yao@codesourcery.com>
2412
2413 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
2414 remote host.
2415
65d7b369
YQ
24162014-10-15 Yao Qi <yao@codesourcery.com>
2417
2418 * gdb.python/py-symbol.exp: Match file base name if host is
2419 remote, otherwise match file name with dir name.
2420 * gdb.python/py-symtab.exp: Likewise.
2421 * gdb.python/python.exp: Likewise.
2422
46dc1394
YQ
24232014-10-15 Yao Qi <yao@codesourcery.com>
2424
2425 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
2426 pattern.
2427 * gdb.python/py-symtab.exp: Likewise.
2428 * gdb.python/python.exp: Remove trailing ".*". Fix typo
2429 locationn.
2430
c40cc657
JB
24312014-10-14 Joel Brobecker <brobecker@adacore.com>
2432
2433 * gdb.ada/addr_arith: New testcase.
2434
2abf49e1
MR
24352014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
2436
2437 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
2438 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
2439 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
2440 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
2441
f7088df3
SDJ
24422014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
2443
2444 * gdb.arch/stap-eval-lang-ada.S: Likewise.
2445 * gdb.arch/stap-eval-lang-ada.c: Likewise.
2446 * gdb.arch/stap-eval-lang-ada.exp: New file.
2447
4dc06805
YQ
24482014-10-14 Yao Qi <yao@codesourcery.com>
2449
2450 * gdb.mi/mi-var-child.c (nothing1): New function.
2451 (nothing2): New function.
2452 (do_children_tests): Set function pointers by nothing1 and
2453 nothing2.
2454 * gdb.mi/mi-var-child.exp: Step over new added statements.
2455 Update test to match the new output.
2456 * gdb.mi/var-cmd.c (nothing1): New function.
2457 (nothing2): New function.
2458 (do_children_tests): Set function pointers by nothing1 and
2459 nothing2.
2460 * gdb.mi/mi-var-display.exp: Update test to match output.
2461 Step to the line specified by $line_dct_nothing.
2462 Increase the number of lines to step.
2463
46a93de2
YQ
24642014-10-14 Yao Qi <yao@codesourcery.com>
2465
2466 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
2467 tests.
2468 * gdb.mi/mi2-var-child.exp: Likewise.
2469
14ea52ee
DE
24702014-10-13 Doug Evans <dje@google.com>
2471
2472 * gdb.python/py-objfile.exp: Change name of file name test.
2473
e5c6e92b
DE
24742014-10-13 Doug Evans <dje@google.com>
2475
2476 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
2477 from the start of the CU.
2478
c780cc2f
JK
24792014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2480 Yao Qi <yao@codesourcery.com>
2481
2482 Fix "save breakpoints" for "catch" command.
2483 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
2484 Remove -nonewline. Match also the added "main" line.
2485
99894e11
JK
24862014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2487
2488 Fix "save breakpoints" for "disable $bpnum" command.
2489 * gdb.base/save-bp.c (main): Add label.
2490 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
2491
6e1ac5a3
JK
24922014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2493
2494 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
2495
754dd2b0
YQ
24962014-10-11 Yao Qi <yao@codesourcery.com>
2497
2498 * gdb.server/server-kill.exp: Execute command
2499 "set remote trace-status-packet on" before "tstatus".
2500
f90183d7
YQ
25012014-10-11 Yao Qi <yao@codesourcery.com>
2502
2503 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
2504 (main): Call getppid.
2505 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
2506 and continue to it. Read variable "server_pid".
2507
bf40a607
YQ
25082014-10-11 Yao Qi <yao@codesourcery.com>
2509
2510 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
2511
052ca370
YQ
25122014-10-11 Yao Qi <yao@codesourcery.com>
2513
2514 * gdb.threads/thread-find.exp: Don't execute command
2515 "info threads".
2516 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
2517 * gdb.threads/linux-dp.exp: Don't check the condition
2518 $threads_created equals to zero.
2519
3831839c
PA
25202014-10-10 Pedro Alves <palves@redhat.com>
2521
2522 * gdb.base/bigcore.exp: Remove references to IRIX.
2523 * gdb.base/funcargs.exp: Likewise.
2524 * gdb.base/interrupt.exp: Likewise.
2525 * gdb.base/mips_pro.exp: Likewise.
2526 * gdb.base/nodebug.exp: Likewise.
2527 * gdb.base/setvar.exp: Likewise.
2528 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
2529
8b9a549d
PA
25302014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2531 Pedro Alves <palves@redhat.com>
2532
2533 PR symtab/14466
2534 * gdb.base/vdso-warning.c: New file.
2535 * gdb.base/vdso-warning.exp: New file.
2536
d48ba5e8
DE
25372014-10-02 Doug Evans <dje@google.com>
2538
2539 * gdb.base/structs.c (main): Don't run forever.
2540
2278c276
PA
25412014-10-02 Pedro Alves <palves@redhat.com>
2542
2543 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
2544 (top level) <stop threads 1, stop threads 2>: Use it.
2545
b57bacec
PA
25462014-10-02 Pedro Alves <palves@redhat.com>
2547
2548 * gdb.threads/break-while-running.exp (test): Add new
2549 'update_thread_list' argument. Skip "info threads" if false.
2550 (top level): Add new 'update_thread_list' axis.
2551
13fd3ff3
PA
25522014-10-02 Pedro Alves <palves@redhat.com>
2553
2554 PR breakpoints/17431
2555 * gdb.base/execl-update-breakpoints.c: New file.
2556 * gdb.base/execl-update-breakpoints.exp: New file.
2557
0fec99e8
PA
25582014-10-01 Pedro Alves <palves@redhat.com>
2559
2560 * gdb.base/breakpoint-in-ro-region.c: New file.
2561 * gdb.base/breakpoint-in-ro-region.exp: New file.
2562
2ddf4301
SM
25632014-10-01 Simon Marchi <simon.marchi@ericsson.com>
2564
2565 * gdb.mi/mi-exit-code.exp: New file.
2566 * gdb.mi/mi-exit-code.c: New file.
2567
6a5f3f43
YQ
25682014-09-30 Yao Qi <yao@codesourcery.com>
2569
2570 * lib/prelink-support.exp (build_executable_own_libs): Error if
2571 the target isn't native.
2572
345bcc73
YQ
25732014-09-30 Yao Qi <yao@codesourcery.com>
2574
2575 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
2576 false.
2577
a25a5a45
PA
25782014-09-22 Pedro Alves <palves@redhat.com>
2579
2580 * gdb.threads/break-while-running.exp: New file.
2581 * gdb.threads/break-while-running.c: New file.
2582
00ba3162
YQ
25832014-09-19 Yao Qi <yao@codesourcery.com>
2584
2585 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
2586 Invoke test. Restart GDB with --readnow and invoke test again.
2587
c3b7b696
YQ
25882014-09-19 Yao Qi <yao@codesourcery.com>
2589
2590 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
2591 proc set_breakpoint_on_gcd_function. Invoke
2592 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
2593 invoke set_breakpoint_on_gcd_function again.
2594
2b4fd423
DE
25952014-09-18 Doug Evans <dje@google.com>
2596
2597 * gdb.dwarf2/symtab-producer.exp: New file.
2598
a5947601
SDJ
25992014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2600
2601 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
2602 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
2603 * gdb.base/global-var-nested-by-dso.c: Likewise.
2604 * gdb.base/global-var-nested-by-dso.exp: Likewise.
2605
91c19059
SDJ
26062014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2607 Pedro Alves <palves@redhat.com>
2608
2609 * gdb.base/watch-bitfields.exp: Pass string other than test file
2610 name to prepare_for_testing.
2611 (watch): New procedure.
2612 (expect_watchpoint): Use with_test_prefix.
2613 (top level): Factor out tests to ...
2614 (test_watch_location, test_regular_watch): ... these new
2615 procedures, and use with_test_prefix and gdb_continue_to_end.
2616
bb9d5f81
PP
26172014-09-16 Patrick Palka <patrick@parcs.ath.cx>
2618
2619 PR breakpoints/12526
2620 * gdb.base/watch-bitfields.exp: New file.
2621 * gdb.base/watch-bitfields.c: New file.
2622
635856f5
PA
26232014-09-16 Pedro Alves <palves@redhat.com>
2624
2625 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
2626 software and hardware addresses, not software address against
2627 itself.
2628
7280ceea
PA
26292014-09-16 Pedro Alves <palves@redhat.com>
2630
2631 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
2632 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
2633
428b16bd
PA
26342014-09-16 Pedro Alves <palves@redhat.com>
2635
2636 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
2637 files.
2638 * gdb.base/a2-run.exp: Remove all code guarded by istarget
2639 "*-*-vxworks*" throughout.
2640 * gdb.base/break.exp: Likewise.
2641 * gdb.base/default.exp: Likewise.
2642 * gdb.base/scope.exp: Likewise.
2643 * gdb.base/sepdebug.exp: Likewise.
2644 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
2645 throughout.
2646 * gdb.base/run.c: Likewise.
2647 * gdb.base/sepdebug.c: Likewise.
2648 * gdb.hp/gdb.aCC/run.c: Likewise.
2649 * gdb.reverse/until-reverse.c: Likewise.
2650 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
2651
666d413c
YQ
26522014-09-16 Yao Qi <yao@codesourcery.com>
2653
2654 * boards/local-remote-host-native.exp: New file.
2655
57cbd724
DE
26562014-09-14 Doug Evans <xdje42@gmail.com>
2657
2658 * gdb.threads/queue-signal.c (thread_count): New variable.
2659 (thread_count_mutex, thread_count_condvar): New variables.
2660 (incr_thread_count, wait_all_threads_running): New functions.
2661 (main): Wait for all threads to be in their thread functions.
2662
81219e53
DE
26632014-09-13 Doug Evans <xdje42@gmail.com>
2664
2665 * gdb.threads/queue-signal.c: New file.
2666 * gdb.threads/queue-signal.exp: New file.
2667
3714cea7
DE
26682014-09-13 Doug Evans <xdje42@gmail.com>
2669
2670 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
2671 be consistent with what default_gdb_init uses.
2672 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
2673 the plain text of the prompt. Add some logging printfs.
2674 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
2675
fa43b1d7
PA
26762014-09-12 Pedro Alves <palves@redhat.com>
2677
2678 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
2679 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
2680 * gdb.arch/i386-size-overlap.exp: Likewise.
2681 * gdb.arch/i386-size.exp: Likewise.
2682 * gdb.arch/i386-unwind.exp: Likewise.
2683 * gdb.base/a2-run.exp: Likewise.
2684 * gdb.base/break.exp: Likewise.
2685 * gdb.base/charset.exp: Likewise.
2686 * gdb.base/chng-syms.exp: Likewise.
2687 * gdb.base/commands.exp: Likewise.
2688 * gdb.base/dbx.exp: Likewise.
2689 * gdb.base/find.exp: Likewise.
2690 * gdb.base/funcargs.exp: Likewise.
2691 * gdb.base/jit-simple.exp: Likewise.
2692 * gdb.base/reread.exp: Likewise.
2693 * gdb.base/sepdebug.exp: Likewise.
2694 * gdb.base/step-bt.exp: Likewise.
2695 * gdb.cp/mb-inline.exp: Likewise.
2696 * gdb.cp/mb-templates.exp: Likewise.
2697 * gdb.objc/basicclass.exp: Likewise.
2698 * gdb.threads/killed.exp: Likewise.
2699
9d9bf2df
EBM
27002014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2701
2702 PR tdep/17379
2703 * gdb.arch/powerpc-stackless.S: New file.
2704 * gdb.arch/powerpc-stackless.exp: New file.
2705
1cf2f1b0
JK
27062014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2707
2708 * gdb.base/attach.c: Include unistd.h.
2709 (main): Call alarm. Add label postloop.
2710 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
2711 gdb_breakpoint, gdb_continue_to_breakpoint.
2712 (test_command_line_attach_run): Kill ${testpid} in one exit path.
2713
98880d46
PA
27142014-09-11 Pedro Alves <palves@redhat.com>
2715
2716 PR gdb/17347
2717 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
2718 * gdb.base/attach.exp (test_command_line_attach_run): New
2719 procedure.
2720 (top level): Call it.
2721
4c92ff2c
PA
27222014-09-11 Pedro Alves <palves@redhat.com>
2723
2724 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
2725 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
2726 (do_command_attach_tests): Use spawn_wait_for_attach.
2727 * gdb.base/solib-overlap.exp: Likewise.
2728 * gdb.multi/multi-attach.exp: Likewise.
2729 * gdb.python/py-prompt.exp: Likewise.
2730 * gdb.python/py-sync-interp.exp: Likewise.
2731 * gdb.server/ext-attach.exp: Likewise.
2732
3adc1a7d
GKB
27332014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
2734
2735 * gdb.fortran/array-element.exp: Remove unexpected "continue"
2736 command in testcase. Simplify testcase.
2737
96334934
JB
27382014-09-10 Joel Brobecker <brobecker@adacore.com>
2739
2740 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
2741
eb479039
JB
27422014-09-10 Joel Brobecker <brobecker@adacore.com>
2743
2744 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
2745
deede10c
JB
27462014-09-10 Joel Brobecker <brobecker@adacore.com>
2747
2748 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
2749
7828a5f5
JB
27502014-09-10 Joel Brobecker <brobecker@adacore.com>
2751
2752 * gdb.dwarf2/dynarr-ptr.c: New file.
2753 * gdb.dwarf2/dynarr-ptr.exp: New file.
2754
33aeebcf
MR
27552014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2756
2757 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
2758 of 30 rather than hardcoding 120 for a slow test case. Take the
2759 `gdb,timeout' target setting into account for this calculation.
2760 Don't extend the timeout for the test cases that don't need it.
2761
7b415901
MR
27622014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2763
2764 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
2765 a factor of 2 for a slow test case. Take the `gdb,timeout'
2766 target setting into account for this calculation.
2767 * gdb.reverse/until-precsave.exp: Increase the timeout by
2768 a factor of 15 and 3 respectively rather than adding 120
2769 for a pair of slow test cases. Take the `gdb,timeout'
2770 target setting into account for this calculation.
2771
4a40f85a
MR
27722014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2773
2774 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
2775 timeout, don't pass one down to gdb_expect.
2776 (gdb_expect): Rework timeout selection.
2777
09635af7
MR
27782014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2779
2780 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
2781 exception on timeout.
2782 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
2783 (gdbserver_start_extended): Catch any `gdbserver_start' error
2784 exceptions.
2785 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
2786 * lib/mi-support.exp (mi_gdb_target_load): Catch any
2787 `gdbserver_gdb_load' error exceptions.
2788
2bdd10b7
MR
27892014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2790
2791 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
2792 120 on waiting for the TCP socket to open.
2793
316935f0
DE
27942014-09-09 Doug Evans <xdje42@gmail.com>
2795
2796 * gdb.base/default.exp (show_conv_list): Add _caller_is,
2797 _caller_matches, _any_caller_is, _any_caller_matches.
2798
83740597
DE
27992014-09-09 Doug Evans <xdje42@gmail.com>
2800
2801 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
2802
4c122fc3
YQ
28032014-09-09 Yao Qi <yao@codesourcery.com>
2804
2805 * gdb.mi/mi-var-display.exp: Set print symbol off.
2806
a9f116cb
GKB
28072014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
2808
2809 PR gdb/17035
2810 * gdb.base/commands.exp: Add tests to verify user-defined
2811 commands with empty bodies.
2812 * gdb.python/py-cmd.exp: Test that we don't show user-defined
2813 python commands in `show user command`.
2814 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
2815 scheme commands in `show user command`.
2816
c75bd3a2
JK
28172014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2818
2819 PR python/17355
2820 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
2821 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
2822 * gdb.python/py-framefilter-invalidarg.exp: New file.
2823 * gdb.python/py-framefilter-invalidarg.py: New file.
2824
faa42425
DE
28252014-09-06 Doug Evans <xdje42@gmail.com>
2826
2827 PR 15276
2828 * gdb.python/py-caller-is.c: New file.
2829 * gdb.python/py-caller-is.exp: New file.
2830
474ca4f6
SDJ
28312014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
2832
2833 PR gdb/17235
2834 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
2835 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
2836
eb0b0463
SDJ
28372014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
2838
2839 PR fortran/17237
2840 * gdb.fortran/print-formatted.exp: New file.
2841 * gdb.fortran/print-formatted.f90: Likewise.
2842
5f3b99cf
SS
28432014-09-03 Sasha Smundak <asmundak@google.com>
2844
2845 * gdb.python/py-frame.exp: Test Frame.read_register.
2846
7d793aa9
SDJ
28472014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
2848
2849 PR python/16699
2850 * gdb.python/py-completion.exp: New file.
2851 * gdb.python/py-completion.py: Likewise.
2852
fb0576e9
DE
28532014-08-28 Doug Evans <dje@google.com>
2854
2855 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
2856 eax,etc. are live with values set by gdb and thus the compiler can't
2857 use them.
2858 * gdb.arch/i386-pseudo.c (main): Ditto.
2859
ee92b0dd
DE
28602014-08-27 Doug Evans <dje@google.com>
2861
2862 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
2863
6649db35
DE
28642014-08-25 Doug Evans <dje@google.com>
2865
2866 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
2867 (main): Ditto.
2868
564b7600
DE
28692014-08-25 Doug Evans <dje@google.com>
2870
2871 * gdb.threads/thread-execl.exp: #include <stdio.h>.
2872
3881fb67
YQ
28732014-08-24 Yao Qi <yao@codesourcery.com>
2874
2875 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
2876 symbol off.
2877 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
2878
a05a36a5
DE
28792014-08-22 Doug Evans <dje@google.com>
2880
2881 PR 17276
2882 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
2883 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
2884 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
2885
7c343b48
YQ
28862014-08-22 Yao Qi <yao@codesourcery.com>
2887
2888 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
2889 * gdb.python/py-finish-breakpoint2.exp: Likewise.
2890 * gdb.python/python.exp: Likewise. Use .py file on the host
2891 instead of the build.
2892
22fd09ae
JK
28932014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2894
2895 * gdb.threads/gcore-stale-thread.c: New file.
2896 * gdb.threads/gcore-stale-thread.exp: New file.
2897
a8454a7c
PA
28982014-08-21 Pedro Alves <palves@redhat.com>
2899
2900 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
2901 * gdb.base/gcore-relro-pie.exp: Likewise.
2902 * gdb.base/gcore-relro.exp: Likewise.
2903 * gdb.base/gcore.exp: Likewise.
2904 * gdb.base/print-symbol-loading.exp: Likewise.
2905 * gdb.threads/gcore-thread.exp: Likewise.
2906 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
2907
2a31c623
PA
29082014-08-20 Pedro Alves <palves@redhat.com>
2909 Jan Kratochvil <jan.kratochvil@redhat.com>
2910
2911 * Makefile.in (EXTRA_RULES, CC): New variables, get from
2912 configure.
2913 (EXPECT): Handle READ1 being set.
2914 (all): Depend on EXTRA_RULES.
2915 (check-read1, expect-read1, read1.so, read1): New rules.
2916 * README (Testsuite Parameters): Document the READ1 make variable.
2917 (Race detection): New section.
2918 * configure: Regenerate.
2919 * configure.ac: If build==host==target, and running under a
2920 GNU/glibc system, add read1 to the extra Makefile rules.
2921 (EXTRA_RULES): AC_SUBST it.
2922 * lib/read1.c: New file.
2923
d36430db
JB
29242014-08-20 Joel Brobecker <brobecker@adacore.com>
2925
2926 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
2927 the handling of variables declared as a typedef to an array
2928 which a DW_AT_data_location attribute.
2929
9a0dc9e3
PA
29302014-08-19 Andrew Burgess <aburgess@broadcom.com>
2931 Pedro Alves <palves@redhat.com>
2932
2933 PR symtab/14604
2934 PR symtab/14605
2935 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
2936 gdb_test.
2937
0718a8da
PA
29382014-08-19 Pedro Alves <palves@redhat.com>
2939
2940 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
2941
13b448cd
YQ
29422014-08-19 Yao Qi <yao@codesourcery.com>
2943
2944 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
2945 right line.
2946
1cbf5077
DB
29472014-08-18 David Blaikie <dblaikie@gmail.com>
2948
2949 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
2950
bf0fae19
JB
29512014-08-18 Joel Brobecker <brobecker@adacore.com>
2952
2953 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
2954 attribute in array range.
2955
3c8c5dcc
JB
29562014-08-18 Joel Brobecker <brobecker@adacore.com>
2957
2958 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
2959
e66d4446
SC
29602014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2961
2962 PR c++/17132
2963 * gdb.cp/pr17132.cc: New file.
2964 * gdb.cp/pr17132.exp: New file.
2965
940df408
SC
29662014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2967
2968 * gdb.python/py-xmethods.py (A_getarrayind)
2969 (E_method_char_worker.__call__, E_method_int_worker.__call__):
2970 Use 'print' with function call syntax.
2971 (E_method_matcher.match): Fix tab vs space indentation mixup.
2972
ebcc6c3a
YQ
29732014-08-15 Yao Qi <yao@codesourcery.com>
2974
2975 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
2976 false.
2977
775e0f04
YQ
29782014-08-15 Yao Qi <yao@codesourcery.com>
2979
2980 * gdb.cp/casts.exp: Set print symbol off.
2981 * gdb.cp/class2.exp: Likewise.
2982 * gdb.cp/overload.exp: Likewise.
2983 * gdb.cp/templates.exp: Likewise.
2984
d769e349
DE
29852014-08-11 Doug Evans <dje@google.com>
2986
2987 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
2988 (test_load_shlib): Update.
2989
20c6f1e1
YQ
29902014-08-09 Yao Qi <yao@codesourcery.com>
2991
2992 * gdb.base/display.exp: Invoke is_address_zero_readable.
2993 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
2994 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2995 * gdb.base/hbreak-unmapped.exp: Return if
2996 is_address_zero_readable returns true.
2997 * gdb.base/signest.exp: Likewise.
2998 * gdb.base/signull.exp: Likewise.
2999 * gdb.base/sigbpt.exp: Likewise.
3000 * gdb.guile/scm-disasm.exp: Do the test if
3001 is_address_zero_readable returns false.
3002 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
3003 * gdb.python/py-arch.exp: Likewise.
3004 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
3005 * lib/gdb.exp (is_address_zero_readable): New proc.
3006
5792e8e3
YQ
30072014-08-09 Yao Qi <yao@codesourcery.com>
3008
3009 PR testsuite/13443
3010 * gdb.mi/mi-var-display.exp: Make test messages unique.
3011
3cecbbbe
TT
30122014-08-04 Tom Tromey <tromey@redhat.com>
3013
3014 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
3015 target 0".
3016
00b51ff5
TT
30172014-08-04 Tom Tromey <tromey@redhat.com>
3018
3019 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
3020 "target_resume".
3021
6908c509
JB
30222014-08-01 Joel Brobecker <brobecker@adacore.com>
3023
3024 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
3025 inner_vla_struct_object_size.
3026 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
3027 as xfail.
3028
cc6563d2
PA
30292014-07-30 Pedro Alves <palves@redhat.com>
3030
3031 * gdb.threads/signal-command-handle-nopass.exp (test): Add
3032 comment.
3033
7e09a223
YQ
30342014-07-29 Yao Qi <yao@codesourcery.com>
3035
3036 PR gdb/17206
3037 * gdb.base/until-nodebug.exp: New.
3038
7ebdbe92
DE
30392014-07-28 Doug Evans <xdje42@gmail.com>
3040
3041 PR guile/17203
3042 * gdb.guile/scm-parameter.exp: Add tests for trying to create
3043 previously existing parameter, and previously ambiguously spelled
3044 parameter.
3045
fdb1adc6
WN
30462014-07-28 Will Newton <will.newton@linaro.org>
3047
3048 * gdb.base/varargs.exp: Remove KFAILs for ARM.
3049
186fcde0
DE
30502014-07-26 Ludovic Courtès <ludo@gnu.org>
3051 Doug Evans <xdje42@gmail.com>
3052
3053 PR guile/17146
3054 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
3055
70509625
PA
30562014-07-25 Pedro Alves <palves@redhat.com>
3057
3058 * gdb.threads/signal-command-handle-nopass.c: New file.
3059 * gdb.threads/signal-command-handle-nopass.exp: New file.
3060 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
3061 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
3062 * gdb.threads/signal-delivered-right-thread.c: New file.
3063 * gdb.threads/signal-delivered-right-thread.exp: New file.
3064
c3f814a1
PA
30652014-07-25 Pedro Alves <palves@redhat.com>
3066
3067 * gdb.base/double-prompt-target-event-error.exp
3068 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
3069 match.
3070 (cancel_pagination_in_target_event): Rework double prompt
3071 detection.
3072 * gdb.base/paginate-after-ctrl-c-running.exp
3073 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
3074 <return>' match.
3075 * gdb.base/paginate-bg-execution.exp
3076 (test_bg_execution_pagination_return)
3077 (test_bg_execution_pagination_cancel): Remove '-notransfer
3078 <return>' matches.
3079 * gdb.base/paginate-execution-startup.exp
3080 (test_fg_execution_pagination_return)
3081 (test_fg_execution_pagination_cancel): Remove '-notransfer
3082 <return>' matches.
3083 * gdb.base/paginate-inferior-exit.exp
3084 (test_paginate_inferior_exited): Remove '-notransfer <return>'
3085 match.
3086 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
3087 * lib/gdb.exp (pagination_prompt): Run text through
3088 string_to_regexp.
3089 (gdb_test_multiple): Match $pagination_prompt instead of
3090 "<return>".
3091 (string_to_regexp): Move to lib/gdb-utils.exp.
3092
e214cf6c
JK
30932014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3094
3095 * gdb.arch/amd64-entry-value-paramref.S: New file.
3096 * gdb.arch/amd64-entry-value-paramref.cc: New file.
3097 * gdb.arch/amd64-entry-value-paramref.exp: New file.
3098 * gdb.arch/amd64-optimout-repeat.S: New file.
3099 * gdb.arch/amd64-optimout-repeat.c: New file.
3100 * gdb.arch/amd64-optimout-repeat.exp: New file.
3101
17d0c5c8
JK
31022014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3103
3104 PR gdb/17170
3105 * gdb.base/statistics.exp: New file.
3106
b8b8facf
DE
31072014-07-17 Doug Evans <dje@google.com>
3108
74b49205 3109 PR gdb/17170
b8b8facf
DE
3110 * gdb.base/maint.exp: Update testing of per-command stats.
3111
1b5d0ab3
PA
31122014-07-16 Pedro Alves <palves@redhat.com>
3113
3114 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
3115 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
3116 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
3117 (tfile_write_buf): New functions.
3118 (add_memory_block): Rewrite using the above.
3119 (adjust_function_address): New function.
3120 (FUNCTION_ADDRESS): New macro.
3121 (write_basic_trace_file): Remove short_x local, and use
3122 tfile_write_16. Change type of func_addr local to unsigned long
3123 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
3124 here. Cast argument of add_memory_block to char pointer.
3125 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
3126 (main): Remove parameters.
3127 * gdb.trace/tfile.exp: Remove nowarnings.
3128
4d974e88
SM
31292014-07-15 Simon Marchi <simon.marchi@ericsson.com>
3130
3131 * gdb.base/debug-expr.exp: Test string evaluation with
3132 "debug expression" on.
3133
41e99568
PA
31342014-07-15 Pedro Alves <palves@redhat.com>
3135
3136 * gdb.base/reread.exp: Use clean_restart.
3137
487d9753
PL
31382014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
3139
3140 * gdb.arch/avr-flash-qualifer.c: New.
3141 * gdb.arch/avr-flash-qualifer.exp: New.
3142
cc1c52ad
PA
31432014-07-14 Pedro Alves <palves@redhat.com>
3144
3145 * gdb.base/paginate-after-ctrl-c-running.c: New file.
3146 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
3147
1e973570
PA
31482014-07-14 Pedro Alves <palves@redhat.com>
3149
3150 * gdb.base/double-prompt-target-event-error.c: New file.
3151 * gdb.base/double-prompt-target-event-error.exp: New file.
3152
93d6eb10
PA
31532014-07-14 Pedro Alves <palves@redhat.com>
3154
3155 PR gdb/17072
3156 * gdb.base/paginate-inferior-exit.c: New file.
3157 * gdb.base/paginate-inferior-exit.exp: New file.
3158
0017922d
PA
31592014-07-14 Pedro Alves <palves@redhat.com>
3160
3161 PR gdb/17072
3162 * gdb.base/paginate-bg-execution.c: New file.
3163 * gdb.base/paginate-bg-execution.exp: New file.
3164
94696ad3
PA
31652014-07-14 Pedro Alves <palves@redhat.com>
3166
3167 PR gdb/17072
3168 * gdb.base/paginate-execution-startup.c: New file.
3169 * gdb.base/paginate-execution-startup.exp: New file.
3170 * lib/gdb.exp (pagination_prompt): New global.
3171 (default_gdb_spawn): New procedure, factored out from
3172 default_gdb_spawn.
3173 (default_gdb_start): Adjust to call default_gdb_spawn.
3174 (gdb_spawn): New procedure.
3175
bd293940
PA
31762014-07-14 Pedro Alves <palves@redhat.com>
3177
3178 * lib/gdb.exp (gdb_assert): New procedure.
3179 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
3180
c933f875
PA
31812014-07-14 Pedro Alves <palves@redhat.com>
3182
3183 * gdb.base/execution-termios.c: New file.
3184 * gdb.base/execution-termios.exp: New file.
3185
d98b7a16
TT
31862014-07-14 Tom Tromey <tromey@redhat.com>
3187
3188 * gdb.cp/vla-cxx.cc: New file.
3189 * gdb.cp/vla-cxx.exp: New file.
3190
548740d6
TT
31912014-07-14 Tom Tromey <tromey@redhat.com>
3192
3193 * gdb.reverse/rerun-prec.c: New file.
3194 * gdb.reverse/rerun-prec.exp: New file.
3195
a25eb028
MR
31962014-07-12 Maciej W. Rozycki <macro@mips.com>
3197 Maciej W. Rozycki <macro@codesourcery.com>
3198
3199 * lib/gdb-utils.exp: New file.
3200 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
3201 inline `gdb_init_command' processing.
3202 (gdb_start_cmd): Likewise.
3203 * lib/mi-support.exp (mi_run_cmd): Likewise.
3204 * README: Document `gdb_init_command' and `gdb_init_commands'.
3205
218c2655
JK
32062014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3207
3208 Fix false FAIL running under a very long directory name.
3209 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
3210 and "set print elements 10000". Twice.
3211
5401fde3
YQ
32122014-07-11 Yao Qi <yao@codesourcery.com>
3213
3214 * gdb.base/exprs.exp: "set print symbol off".
3215
e76126e8
PA
32162014-07-11 Pedro Alves <palves@redhat.com>
3217
3218 * gdb.threads/kill.c: New file.
3219 * gdb.threads/kill.exp: New file.
3220
2d6f0de6
YQ
32212014-07-10 Yao Qi <yao@codesourcery.com>
3222
3223 * gdb.trace/tfile.c (write_basic_trace_file)
3224 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
3225 address written to trace file.
3226
7180e04a
PA
32272014-07-09 Pedro Alves <palves@redhat.com>
3228
3229 * gdb.base/attach-wait-input.exp: New file.
3230 * gdb.base/attach-wait-input.c: New file.
3231
9a9a7608
AB
32322014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3233
3234 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
3235 setting up test structures.
3236 (main): Call new test function.
3237 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
3238 test function, continue into test function and walk test
3239 structures.
3240
161ac41e
YQ
32412014-07-02 Yao Qi <yao@codesourcery.com>
3242
3243 * gdb.trace/entry-values.c: Define labels 'foo_start' and
3244 'bar_start' at the beginning of functions 'foo' and 'bar'
3245 respectively.
3246 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
3247 instead of 'foo' and 'bar'.
3248
1f267ae3
MM
32492014-07-08 Markus Metzger <markus.t.metzger@intel.com>
3250
3251 * gdb.btrace/segv.exp: New.
3252 * gdb.btrace/segv.c: New.
3253
2b239efb
LM
32542014-07-02 Luis Machado <lgustavo@codesourcery.com>
3255
3256 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
3257 instruction.
3258
cf363f18
MW
32592014-06-30 Mark Wielaard <mjw@redhat.com>
3260
3261 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
3262 vulture, vilify, villar): New volatile array constants.
3263 (vindictive, vegetation): New const volatile array constants.
3264 * gdb.base/volatile.exp: Test volatile and const volatile array
3265 types.
3266
aebf9d24
AA
32672014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
3268
3269 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
3270 target lacks support for awatch, rwatch, or hbreak.
3271
b67a2c6f
YQ
32722014-06-27 Yao Qi <yao@codesourcery.com>
3273
3274 * gdb.multi/dummy-frame-restore.exp: New.
3275 * gdb.multi/dummy-frame-restore.c: New.
3276
aef92902
MM
32772014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3278
3279 * gdb.btrace/gcore.exp: New.
3280
8e9db26e
PA
32812014-06-23 Pedro Alves <palves@redhat.com>
3282
3283 * gdb.base/watchpoint-reuse-slot.c: New file.
3284 * gdb.base/watchpoint-reuse-slot.exp: New file.
3285
70afc5b7
SC
32862014-06-23 Siva Chandra Reddy <sivachandra@google.com>
3287
3288 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
3289 progspace's filename in 'info', 'enable' and 'disable' command
3290 tests.
3291
b972bd9c
JK
32922014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3293
3294 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
3295 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3296 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
3297
125f8a3d
GB
32982014-06-20 Gary Benson <gbenson@redhat.com>
3299
3300 * gdb.arch/i386-avx.exp: Fix include file location.
3301 * gdb.arch/i386-sse.exp: Likewise.
3302
3ed9baed
IB
33032014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
3304
3305 * gdb.dlang/expression.exp: New file.
3306
034f788c
PA
33072014-06-19 Pedro Alves <palves@redhat.com>
3308
3309 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
3310 out from ...
3311 (top level): ... here. Iterate running tests under different
3312 scheduler-locking settings.
3313
45371d0c
LM
33142014-06-18 Luis Machado <lgustavo@codesourcery.com>
3315
3316 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
3317 to DW_FORM_addr and use non-zero addresses.
3318
5d376983
SC
33192014-06-18 Siva Chandra Reddy <sivachandra@google.com>
3320
3321 PR gdb/17017
3322 * gdb.python/py-xmethods.cc: Add global function call counters and
3323 increment them in their respective functions. Remove "cout"
3324 statements.
3325 * gdb.python/py-xmethods.exp: Make tests check the global function
3326 call counters instead of depending on inferior IO.
3327
a1aa2221
LM
33282014-06-18 Don Breazeal <donb@codesourcery.com>
3329
3330 * gdb.base/foll-fork.exp (default_fork_parent_follow):
3331 Deleted procedure.
3332 (explicit_fork_parent_follow): Deleted procedure.
3333 (explicit_fork_child_follow): Deleted procedure.
3334 (test_follow_fork): New procedure.
3335 (do_fork_tests): Replace calls to deleted procedures with
3336 calls to test_follow_fork and reset GDB for subsequent
3337 procedure calls.
3338
0fc05997
YQ
33392014-06-17 Yao Qi <yao@codesourcery.com>
3340
3341 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
3342 CP1252.
3343
70795c52
LM
33442014-06-17 Luis Machado <lgustavo@codesourcery.com>
3345
3346 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
3347 Initialize ptr and S explicitly.
3348 (skip_type_update_when_not_use_rtti_test): Likewise.
3349
6be47f0c
KS
33502014-06-16 Keith Seitz <keiths@redhat.com>
3351
3352 PR mi/15863
3353 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
3354 the inferior is started.
3355
d03de421
PA
33562014-06-16 Pedro Alves <palves@redhat.com>
3357
3358 * gdb.base/break-main-file-remove-fail.c: New file.
3359 * gdb.base/break-main-file-remove-fail.exp: New file.
3360 * gdb.base/break-unload-file.exp: Use build_executable instead of
3361 prepare_for_testing.
3362 (test_break): New parameter "initial_load". Handle it.
3363 (top level): Add initial_load cmdline/file axis.
3364
f9579b99
TT
33652014-06-12 Tom Tromey <tromey@redhat.com>
3366
3367 * gdb.base/completion.exp: Don't use directory name in test.
3368
3657956b
GB
33692014-06-09 Gary Benson <gbenson@redhat.com>
3370
3371 * gdb.base/sigall.c [Functions to send signals]: Reorder to
3372 separate the always-available ANSI-standard signals from the
3373 signals that require checking.
3374 (main): Likewise.
3375 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
3376 Likewise.
3377 (main): Likewise.
3378
4186eb54
KS
33792014-06-07 Keith Seitz <keiths@redhat.com>
3380
3381 Revert:
3382 PR c++/16253
3383 * gdb.cp/var-tag.cc: New file.
3384 * gdb.cp/var-tag.exp: New file.
3385 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3386 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3387 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3388 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3389
25326a28 33902014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
3391
3392 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
3393
829155c9
PA
33942014-06-06 Pedro Alves <palves@redhat.com>
3395
3396 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
3397 in target debug output instead of looking at RSP packets,
3398 disabling the test on any target that uses hardware stepping.
3399 Update comments.
3400
61c8d22e
PA
34012014-06-06 Pedro Alves <palves@redhat.com>
3402
3403 * gdb.base/break-unload-file.exp: Fix typo.
3404
d9a47287
YQ
34052014-06-06 Yao Qi <yao@codesourcery.com>
3406
3407 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
3408 from "jit_function" to "^jit_function".
3409
e5e01dbf
YQ
34102014-06-06 Yao Qi <yao@codesourcery.com>
3411
3412 * gdb.base/async.c (foo): Add one statement.
3413 * gdb.base/async.exp: Get the next instruction address and
3414 match the output of "nexti" by instruction address. Match
3415 the hex address in the output of "finish".
3416
73ba372c
GB
34172014-06-06 Gary Benson <gbenson@redhat.com>
3418
3419 * gdb.base/call-signals.c: Remove preprocessor conditionals
3420 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
3421 SIGSEGV and SIGTERM.
3422 * gdb.base/sigall.c: Likewise.
3423 * gdb.base/unwindonsignal.c: Likewise.
3424 * gdb.reverse/sigall-reverse.c: Likewise.
3425
831517df
YQ
34262014-06-06 Yao Qi <yao@codesourcery.com>
3427
3428 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
3429 readable, skip the test.
3430
b8b91e98
YQ
34312014-06-06 Yao Qi <yao@codesourcery.com>
3432
3433 * gdb.threads/staticthreads.c (thread_function): Move the line
3434 setting breakpoint on forward.
3435 * gdb.threads/staticthreads.exp: Update comments.
3436
fb934770
LC
34372014-06-05 Ludovic Courtès <ludo@gnu.org>
3438
3439 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
3440 "history-append! type error".
3441
6ef284bd
SM
34422014-06-05 Simon Marchi <simon.marchi@ericsson.com>
3443
3444 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
3445 erroneous dprintf expected input.
3446
a872e241
DE
34472014-06-04 Doug Evans <xdje42@gmail.com>
3448
3449 * gdb.guile/scm-generics.exp: Delete.
3450
16f691fb
DE
34512014-06-04 Doug Evans <xdje42@gmail.com>
3452
3453 * gdb.guile/scm-breakpoint.exp: Update.
3454 Add tests for breakpoint registration.
3455
012370f6
TT
34562014-06-04 Tom Tromey <tromey@redhat.com>
3457
3458 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
3459 VLA-in-union.
3460 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
3461 inner_vla_struct, vla_union types. Initialize objects of those
3462 types and compute their sizes.
3463
9f5a4cef
HZ
34642014-06-04 Nathan Sidwell <nathan@codesourcery.com>
3465 Hui Zhu <hui@codesourcery.com>
3466
3467 * gdb.base/fileio.exp: Add test for shell not available as well as
3468 available.
3469 * gdb.base/fileio.c (test_system): Check for shell twice.
3470
90a45c4d
YQ
34712014-06-04 Yao Qi <yao@codesourcery.com>
3472
3473 * gdb.base/auto-connect-native-target.exp: Remove redundant
3474 space from the regexp pattern.
3475
70017e41
YQ
34762014-06-04 Yao Qi <yao@codesourcery.com>
3477
3478 * gdb.base/default.exp: Replace "child" with "native" in
3479 regexp pattern.
3480
883964a7
SC
34812014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3482
3483 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
3484 * gdb.python/py-xmethods.exp: New tests to test xmethods.
3485 * gdb.python/py-xmethods.py: Python script supporting the
3486 new testcase and tests.
3487
ef370185
JB
34882014-06-03 Joel Brobecker <brobecker@adacore.com>
3489 Pedro Alves <palves@redhat.com>
3490
3491 PR breakpoints/17000
3492 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
3493 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
3494
1e2ccb61
BM
34952014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
3496
3497 * gdb.base/subst.exp: Add tests to verify partial path matching
3498 output.
3499
c6ec5ab2
PA
35002014-06-03 Pedro Alves <palves@redhat.com>
3501
3502 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
3503 target that doesn't use software single-stepping.
3504
835c559f
PA
35052014-06-03 Pedro Alves <palves@redhat.com>
3506
3507 PR breakpoints/17000
3508 * gdb.base/sss-bp-on-user-bp-2.c: New file.
3509 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
3510
06eb1586
DE
35112014-06-02 Doug Evans <xdje42@gmail.com>
3512
3513 * gdb.guile/scm-parameter.exp: New file.
3514
e698b8c4
DE
35152014-06-02 Doug Evans <xdje42@gmail.com>
3516
3517 * gdb.guile/scm-cmd.c: New file.
3518 * gdb.guile/scm-cmd.exp: New file.
3519
ded03782
DE
35202014-06-02 Doug Evans <xdje42@gmail.com>
3521
3522 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
3523 pretty-printer lookup.
3524 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
3525 (make-pp_s-printer): Call it.
3526 (make-pretty-printer-from-dict): New function.
3527 (lookup-pretty-printer-maker-from-dict): New function.
3528 (*pretty-printer*): Simplify.
3529 (make-objfile-pp_s-printer): New function.
3530 (install-objfile-pretty-printers!): New function.
3531 (make-progspace-pp_s-printer): New function.
3532 (install-progspace-pretty-printers!): New function.
3533 * gdb.guile/scm-progspace.c: New file.
3534 * gdb.guile/scm-progspace.exp: New file.
3535
41fac0cf
PA
35362014-06-02 Pedro Alves <palves@redhat.com>
3537
3538 * gdb.base/dprintf-bp-same-addr.c: New file.
3539 * gdb.base/dprintf-bp-same-addr.exp: New file.
3540
96ae5695
EBM
35412014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3542
3543 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
3544 * gdb.arch/powerpc-power.s: Likewise.
3545
da02b3a8
JB
35462014-06-02 Joel Brobecker <brobecker@adacore.com>
3547
3548 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
3549
c72b2e7b
YQ
35502014-06-01 Yao Qi <yao@codesourcery.com>
3551
3552 * gdb.base/watchpoint.exp (test_watch_location): Check null
3553 pointer can be dereferenced. If not, do the test, otherwise
3554 skip it.
3555
53e8a631
AB
35562014-05-30 Andrew Burgess <aburgess@broadcom.com>
3557
3558 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
3559 results.
3560 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
3561
938f0e2f
AB
35622014-05-30 Andrew Burgess <aburgess@broadcom.com>
3563
3564 * gdb.arch/amd64-invalid-stack-middle.S: New file.
3565 * gdb.arch/amd64-invalid-stack-middle.c: New file.
3566 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
3567 * gdb.arch/amd64-invalid-stack-top.c: New file.
3568 * gdb.arch/amd64-invalid-stack-top.exp: New file.
3569
9ba6657a
PA
35702014-05-30 Pedro Alves <palves@redhat.com>
3571
3572 PR breakpoints/17000
3573 * gdb.base/sss-bp-on-user-bp.c: New file.
3574 * gdb.base/sss-bp-on-user-bp.exp: New file.
3575
522c09bf
DB
35762014-05-30 David Blaikie <dblaikie@gmail.com>
3577
3578 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
3579 gnu_inline semantics via attribute.
3580 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
3581 source explicitly specifies the required semantics.
3582
bf4ef81e
MR
35832014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
3584
3585 * gdb.reverse/sigall-reverse.exp: Fix a typo.
3586
329ea579
PA
35872014-05-29 Pedro Alves <palves@redhat.com>
3588 Tom Tromey <tromey@redhat.com>
3589
3590 * gdb.base/async-shell.exp: Don't enable target-async.
3591 * gdb.base/async.exp
3592 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
3593 parameter. Adjust.
3594 (top level): Don't test with "target-async".
3595 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
3596 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
3597 * gdb.base/inferior-died.exp: Don't enable target-async.
3598 * gdb.base/interrupt-noterm.exp: Likewise.
3599 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
3600 * gdb.mi/mi-nonstop-exit.exp: Likewise.
3601 * gdb.mi/mi-nonstop.exp: Likewise.
3602 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
3603 * gdb.mi/mi-nsintrall.exp: Likewise.
3604 * gdb.mi/mi-nsmoribund.exp: Likewise.
3605 * gdb.mi/mi-nsthrexec.exp: Likewise.
3606 * gdb.mi/mi-watch-nonstop.exp: Likewise.
3607 * gdb.multi/watchpoint-multi.exp: Adjust comment.
3608 * gdb.python/py-evsignal.exp: Don't enable target-async.
3609 * gdb.python/py-evthreads.exp: Likewise.
3610 * gdb.python/py-prompt.exp: Likewise.
3611 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
3612 * gdb.server/solib-list.exp: Don't enable target-async.
3613 * gdb.threads/thread-specific-bp.exp: Likewise.
3614 * lib/mi-support.exp: Adjust to use mi-async.
3615
fd664c91
PA
36162014-05-29 Pedro Alves <palves@redhat.com>
3617
3618 PR gdb/13860
3619 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
3620 reason, even in sync mode.
3621
251bde03
PA
36222014-05-29 Pedro Alves <palves@redhat.com>
3623 Hui Zhu <hui@codesourcery.com>
3624
3625 PR PR15693
3626 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
3627 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
3628 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
3629 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
3630
7f3c0343
JB
36312014-05-28 Joel Brobecker <brobecker@adacore.com>
3632
3633 * config/monitor.exp (gdb_target_monitor): Replace use of
3634 "set remotebaud" by "set serial baud".
3635
b2715b27
AW
36362014-05-26 Andy Wingo <wingo@igalia.com>
3637
3638 * gdb.guile/scm-breakpoint.exp:
3639 * gdb.guile/scm-gsmob.exp: Update to use plain old object
3640 properties instead of gdb-object-properties.
3641
498a4489
YQ
36422014-05-26 Yao Qi <yao@codesourcery.com>
3643
3644 * gdb.server/no-thread-db.exp: Specify source file name
3645 explicitly when setting a breakpoint.
3646
589fdceb
MM
36472014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3648
3649 * gdb.btrace/vdso.c: New.
3650 * gdb.btrace/vdso.exp: New.
3651
e9089e05
MM
36522014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3653
3654 * gdb.base/gcore.exp (capture_command_output): Move ...
3655 * lib/gdb.exp (capture_command_output): ... here.
3656
67b5c0c1
MM
36572014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3658
3659 * gdb.btrace/data.exp: Test memory access during btrace replay.
3660
a2199296
SM
36612014-05-22 Simon Marchi <simon.marchi@ericsson.com>
3662
3663 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
3664
17b2616c
PA
36652014-05-21 Pedro Alves <palves@redhat.com>
3666
3667 PR gdb/13860
3668 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
3669 (top level): Test that output related to execution commands is
3670 sent to the console with CLI commands, but not with MI commands.
3671 Test that breakpoint events are always mirrored to the console.
3672 Also expect the new source line to be output after a "next" in
3673 async mode too. Make it a pass/fail test.
3674 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
3675 output.
3676 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
3677
5166082f
PA
36782014-05-21 Pedro Alves <palves@redhat.com>
3679
3680 * gdb.base/list.exp (build_pattern, test_list): New procedures.
3681 Use them to test variations of "list" after reaching a breakpoint.
3682 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
3683 Test "list" with listsize 10 after reaching a breakpoint.
3684 * gdb.python/python.exp (decode_line current location line
3685 number): Adjust expected line number.
3686
2f25d70f
SM
36872014-05-21 Simon Marchi <simon.marchi@ericsson.com>
3688
3689 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
3690 behavior for $args, pass it directly to "run".
3691
ff604a67
MR
36922014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3693
3694 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
3695 30000 to 65536.
3696
6a3cb8e8
PA
36972014-05-21 Pedro Alves <palves@redhat.com>
3698
3699 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
3700 auto-connect-native-target off".
3701 * gdb.base/auto-connect-native-target.c: New file.
3702 * gdb.base/auto-connect-native-target.exp: New file.
3703
4ebfc96e
PA
37042014-05-21 Pedro Alves <palves@redhat.com>
3705
3706 * gdb.base/default.exp: Test "target native" instead of "target
3707 child".
3708
36d46afb
MW
37092014-05-21 Mark Wielaard <mjw@redhat.com>
3710
3711 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3712
5876f503
JK
37132014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3714
3715 Fix TLS access for -static -pthread.
3716 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
3717 <HAVE_TLS> (thread_function, main): Initialize it.
3718 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
3719 Add clean_restart.
3720 <$have_tls != "">: Check TLSVAR.
3721
0256a6ac
PA
37222014-05-21 Pedro Alves <palves@redhat.com>
3723
3724 * gdb.base/dcache-line-read-error.c: New.
3725 * gdb.base/dcache-line-read-error.exp: New.
3726
936d2992
PA
37272014-05-20 Pedro Alves <palves@redhat.com>
3728
3729 * gdb.base/compare-sections.c: New file.
3730 * gdb.base/compare-sections.exp: New file.
3731
802e8e6d
PA
37322014-05-20 Pedro Alves <palves@redhat.com>
3733
3734 * gdb.base/break-idempotent.c: New file.
3735 * gdb.base/break-idempotent.exp: New file.
3736
e59fa00f
MM
37372014-05-20 Markus Metzger <markus.t.metzger@intel.com>
3738
3739 * gdb.btrace/nohist.exp: New.
3740
8b696e31
YQ
37412014-05-20 Yao Qi <yao@codesourcery.com>
3742
3743 * lib/gdb.exp (gdb_init): Set timeout if test file is under
3744 gdb.reverse directory and gdb_reverse_timeout exists in board
3745 setting.
3746 * README: Document gdb_reverse_timeout.
3747
73c9764f
YQ
37482014-05-20 Yao Qi <yao@codesourcery.com>
3749
3750 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
3751 'test_file_name'. Treat args as a string instead of a list.
3752 (gdb_init): Rename argument 'args' by 'test_file_name'.
3753
f1f4348a
JK
37542014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3755
3756 * gdb.arch/powerpc-power.exp: New file.
3757 * gdb.arch/powerpc-power.s: New file.
3758
0dbe70ce
DE
37592014-05-16 Doug Evans <dje@google.com>
3760
3761 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
3762 * gdb.base/completion.exp: Check that all expected files exist
3763 before doing file completion.
0dbe70ce 3764
8d551b02
DE
37652014-05-16 Doug Evans <dje@google.com>
3766
3767 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
3768 Update.
3769 (do_syscall_tests_without_xml): Update.
3770
73eb7709
PA
37712014-05-16 Pedro Alves <palves@redhat.com>
3772
3773 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
3774 instead of "unknown output after running".
3775
3fae92fc
YQ
37762014-05-16 Yao Qi <yao@codesourcery.com>
3777
3778 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
3779 file1.txt from host at the end.
3780 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3781
c2b2ccc5
DE
37822014-05-15 Doug Evans <dje@google.com>
3783
3784 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
3785 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
3786 loading file. Add test for TU lookup.
3787
8c217a4b
SM
37882014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3789
3790 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
3791 calling "-exec-arguments" or "set args" before running the
3792 inferior.
3793
3deb39c6
SM
37942014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3795
3796 * lib/mi-support.exp (mi_expect_stop): Expect message for
3797 inferiors that exit with non-zero exit code.
3798
71a79f8c
YQ
37992014-05-14 Yao Qi <yao@codesourcery.com>
3800
3801 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
3802 match absolute path on remote host.
3803 (test_file_list_exec_source_files): Remove "/" from the
3804 pattern.
3805
f23fcd46
YQ
38062014-05-14 Yao Qi <yao@codesourcery.com>
3807
3808 * boards/local-remote-host-notty.exp (${board}_file): New
3809 proc.
3810
9404b58f
KM
38112014-05-07 Kyle McMartin <kyle@redhat.com>
3812
3813 Pushed by Joel Brobecker <brobecker@adacore.com>.
3814 * gdb.arch/aarch64-atomic-inst.c: New file.
3815 * gdb.arch/aarch64-atomic-inst.exp: New file.
3816
5e45f04c
YQ
38172014-05-07 Yao Qi <yao@codesourcery.com>
3818
3819 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
3820 in current context" too.
3821
c888a17d
KS
38222014-05-05 Keith Seitz <keiths@redhat.com>
3823
3824 * gdb.linespec/ls-dollar.exp: Add test for linespec
3825 file:convenience_variable.
3826
290a839c
YQ
38272014-05-05 Yao Qi <yao@codesourcery.com>
3828
3829 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
3830 traceframes into tfile and ctf trace files. Read data from
3831 trace file and test collected data.
3832 (gdb_collect_locals_test): Likewise.
3833 (gdb_unavailable_registers_test): Likewise.
3834 (gdb_unavailable_floats): Likewise.
3835 (gdb_collect_globals_test): Likewise.
3836 (top-level): Append "ctf" to trace_file_targets if GDB
3837 supports.
3838
b5262cd0
YQ
38392014-05-05 Yao Qi <yao@codesourcery.com>
3840
3841 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
3842 code to ...
3843 (gdb_collect_args_test_1): ... it. New proc.
3844 (gdb_collect_locals_test): Move some code to ...
3845 (gdb_collect_locals_test_1): ... it. New proc.
3846 (gdb_unavailable_registers_test): Move some code to ...
3847 (gdb_unavailable_registers_test_1): ... it. New proc.
3848 (gdb_unavailable_floats): Move some code to ...
3849 (gdb_unavailable_floats_1): ... it. New proc.
3850
30a1e6cc
SDJ
38512014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3852
3853 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
3854 probes to test for bitness recognition.
3855 * gdb.arch/amd64-stap-optional-prefix.exp
3856 (test_probe_value_without_reg): New procedure.
3857 Add code to test for different kinds of bitness.
3858
f33da99a
SDJ
38592014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3860
3861 PR breakpoints/16889
3862 * gdb.arch/amd64-stap-optional-prefix.S: New file.
3863 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3864
5b80f00d
PA
38652014-05-01 Pedro Alves <palves@redhat.com>
3866
3867 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
3868 gdb_file_cmd if no file is specified.
3869 * boards/native-extended-gdbserver.exp (gdb_load): Use the
3870 last_loaded_file to set the remote exec-file.
3871
f8c2a73c
PA
38722014-05-01 Pedro Alves <palves@redhat.com>
3873
3874 * boards/local-remote-host.exp: New file.
3875
be6e8ac7
PA
38762014-05-01 Pedro Alves <palves@redhat.com>
3877
3878 * boards/local-remote-host.exp: Rename to ...
3879 * boards/local-remote-host-notty.exp: ... this.
3880
cac0dc8f
JB
38812014-04-28 Joel Brobecker <brobecker@adacore.com>
3882
3883 * gdb.ada/dyn_arrayidx: New testcase.
3884
9730e6cc
YQ
38852014-04-26 Yao Qi <yao@codesourcery.com>
3886
3887 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
3888 and compute the length of function main. Save it in
3889 $main_length.
3890 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
3891 (top-level): Use gdb_compile to compile objects into
3892 executable and restart GDB. Remove invocation to
3893 prepare_for_testing.
3894
7ae1a6a6
PA
38952014-04-25 Simon Marchi <simon.marchi@ericsson.com>
3896 Pedro Alves <palves@redhat.com>
3897
3898 PR server/16255
3899 * gdb.multi/multi-attach.c: New file.
3900 * gdb.multi/multi-attach.exp: New file.
3901
4082afcc
PA
39022014-04-25 Pedro Alves <palves@redhat.com>
3903
3904 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
3905 user.
3906 (top level): Test that "set remote conditional-breakpoints-packet
3907 off" works as intended.
3908 * gdb.base/dprintf.exp: Test that "set remote
3909 breakpoint-commands-packet off" works as intended.
3910 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
3911 New function.
3912 (top level): Call it.
3913 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
3914 remote fast-tracepoints-packet off" works as intended.
3915 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
3916 * lib/gdb.exp (gdb_is_target_remote): ... here.
3917
2abc3f8d
DB
39182014-04-24 David Blaikie <dblaikie@gmail.com>
3919
3920 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
3921 ensure clang would not discard them.
3922 * gdb.base/gdbvars.c: Ditto.
3923 * gdb.base/memattr.c: Ditto.
3924 * gdb.base/whatis.c: Ditto.
3925 * gdb.python/py-prettyprint.c: Ditto.
3926 * gdb.trace/actions.c: Ditto.
3927 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
3928 ensure clang would not discard it.
3929
bfd39632
DB
39302014-04-24 David Blaikie <dblaikie@gmail.com>
3931
3932 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
3933 clang to emit the full definition of type required by the test
3934 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
3935
22842ff6
DB
39362014-04-24 David Blaikie <dblaikie@gmail.com>
3937
3938 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
3939 coax Clang into emitting the definition of the type.
3940 * gdb.cp/pr10728-x.h (y): Ditto.
3941 * gdb.cp/pr10728-y.cc (y): Ditto.
3942
c2e827ad
DB
39432014-04-24 David Blaikie <dblaikie@gmail.com>
3944
3945 * gdb.base/label.exp: XFAIL label related tests under Clang.
3946 * gdb.cp/cplabel.exp: Ditto.
3947 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
3948 under Clang those using labels.
3949
4c2d33e7
YQ
39502014-04-25 Yao Qi <yao@codesourcery.com>
3951
3952 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
3953 double_label.
3954 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
3955 partial_label and double_label.
3956
56083b99
DB
39572014-04-24 David Blaikie <dblaikie@gmail.com>
3958
3959 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
3960
25d4e99d
DB
39612014-04-24 David Blaikie <dblaikie@gmail.com>
3962
3963 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
3964 of the function to work across GCC and Clang.
3965 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
3966 pointer types (const void ** const V void **).
3967
01f9f808
MS
39682014-04-24 Michael Sturm <michael.sturm@mintel.com>
3969 Walfred Tedeschi <walfred.tedeschi@intel.com>
3970
3971 * Makefile.in (EXECUTABLES): Added i386-avx512.
3972 * gdb.arch/i386-avx512.c: New file.
3973 * gdb.arch/i386-avx512.exp: Likewise.
3974
4b48d439
KS
39752014-04-23 Keith Seitz <keiths@redhat.com>
3976
3977 * lib/mi-support.exp (mi_list_breakpoints): Delete.
3978 (mi_make_breakpoint_table): New procedure.
3979 (mi_create_breakpoint): Use mi_make_breakpoint
3980 and return the result.
3981 (mi_make_breakpoint): New procedure.
3982 (mi_build_kv_pairs): New procedure.
3983
3984 * gdb.mi/mi-break.exp: Remove unused globals,
3985 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
3986 All callers updated.
3987 * gdb.mi/mi-dprintf.exp: Use variable to track command
3988 number.
3989 Update all callers of mi_create_breakpoint and use
3990 mi_make_breakpoint_table.
3991 Remove any unused global variables.
3992 * gdb.mi/mi-nonstop.exp: Likewise.
3993 * gdb.mi/mi-nsintrall.exp: Likewise.
3994 * gdb.mi/mi-nsmoribund.exp: Likewise.
3995 * gdb.mi/mi-nsthrexec.exp: Likewise.
3996 * gdb.mi/mi-reverse.exp: Likewise.
3997 * gdb.mi/mi-simplerun.exp: Likewise.
3998 * gdb.mi/mi-stepn.exp: Likewise.
3999 * gdb.mi/mi-syn-frame.exp: Likewise.
4000 * gdb.mi/mi-until.exp: Likewise.
4001 * gdb.mi/mi-var-cp.exp: Likewise.
4002 * gdb.mi/mi-var-display.exp: Likewise.
4003 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
4004 * gdb.mi/mi2-var-child.exp: Likewise.
4005 * gdb.mi/mi-vla-c99.exp: Likewise.
4006 * lib/mi-support.exp: Likewise.
4007
4008 From Ian Lance Taylor <iant@cygnus.com>:
4009 * lib/gdb.exp (parse_args): New procedure.
4010
08351840
PA
40112014-04-23 Pedro Alves <palves@redhat.com>
4012
4013 * gdb.base/break-unload-file.c: New file.
4014 * gdb.base/break-unload-file.exp: New file.
4015 * gdb.base/sym-file-lib.c (baz): New function.
4016 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
4017 field.
4018 (load): Store the segment's mapped size.
4019 (unload): New function.
4020 (unload_shlib): New function.
4021 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
4022 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
4023 set a breakpoint at baz, and call it.
4024 * gdb.base/sym-file.exp: New tests for stale breakpoint
4025 instructions.
4026
076855f9
PA
40272014-04-23 Pedro Alves <palves@redhat.com>
4028
4029 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
4030 * gdb.base/hbreak-in-shr-unsupported.c: New file.
4031 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
4032 * gdb.base/hbreak-unmapped.c: New file.
4033 * gdb.base/hbreak-unmapped.exp: New file.
4034 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
4035 * lib/gdb.exp (gdb_is_target_remote): ... here.
4036
483805cf
PA
40372014-04-22 Pedro Alves <palves@redhat.com>
4038
4039 * gdb.base/consecutive-step-over.c: New file.
4040 * gdb.base/consecutive-step-over.exp: New file.
4041
06d97543
PA
40422014-04-22 Pedro Alves <palves@redhat.com>
4043
4044 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
4045 instead of send_gdb/gdb_expect.
4046
b4429ea2
YQ
40472014-04-22 Yao Qi <yao@codesourcery.com>
4048
4049 * lib/trace-support.exp (generate_tracefile): New procedure.
4050 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
4051 return 0.
4052 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
4053 if generate_tracefile returns 1.
4054
51d48146
PA
40552014-04-18 Tom Tromey <palves@redhat.com>
4056 Pedro alves <tromey@redhat.com>
4057
4058 PR backtrace/15558
4059 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
4060 with a backtrace limit.
4061 * gdb.python/py-frame-inline.exp: Test running to an inline
4062 function with a backtrace limit, and printing the newest frame.
4063 * gdb.python/py-frame-inline.c (main): Call f.
4064
bd1dce5f
MS
40652014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
4066
4067 * gdb.java/jnpe.exp: Drop srcdir from untested path.
4068
40d1a503
MS
40692014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
4070
4071 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
4072 Drop prefix from unsupported source file path.
4073
389b98f7
YQ
40742014-04-17 Yao Qi <yao@codesourcery.com>
4075
4076 * lib/gdb.exp (with_target_charset): New proc.
4077 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
4078 with_target_charset.
4079 (test_print_strings): Likewise.
4080 (test_repeat_bytes): Likewise.
4081 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
4082 for some tests.
4083
22869d73
KS
40842014-04-16 Keith Seitz <keiths@redhat.com>
4085
4086 PR gdb/15827
4087 * gdb.dwarf2/corrupt.c: New file.
4088 * gdb.dwarf2/corrupt.exp: New file.
4089
c4f87ca6
KS
40902014-04-16 Keith Seitz <keiths@redhat.com>
4091
4092 PR c++/16597
4093 * gdb.cp/namelessclass.cc: New file.
4094 * gdb.cp/namelessclass.exp: New file.
4095 * gdb.cp/namelessclass.S: New file.
4096
ab19de87
DE
40972014-04-16 Doug Evans <dje@google.com>
4098
4099 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
4100 Add comment.
4101 (gdbserver_default_get_comm_port): New function.
4102 (gdbserver_start): Check if board file provided
4103 "gdbserver,get_comm_port" and use it if so.
4104 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
4105 (gdb,socketport): Set to "stdio".
4106 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
4107 (stdio_gdbserver_template): Delete.
4108 (${board}_get_remote_address): Update.
4109 (${board}_build_remote_cmd): Delete.
4110 (${board}_get_comm_port): New function.
4111 (${board}_spawn): Update.
4112 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
4113 Delete.
4114 (${board}_get_remote_address): Update.
4115 (${board}_get_comm_port): New function.
4116
fc98a809
AB
41172014-04-16 Andrew Burgess <aburgess@broadcom.com>
4118
4119 * gdb.base/memattr.exp: Improve regexps to handle memory regions
4120 appearing in any order.
4121
87fd9e6e
DE
41222014-04-15 Doug Evans <dje@google.com>
4123
4124 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
4125 uninitialized value of "description".
4126
099fc3ea
KS
41272014-04-15 Keith Seitz <keiths@redhat.com>
4128
4129 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
4130 Remove unused globals.
4131 (test_running_the_program): Likewise.
4132 (test_controlled_execution): Likewise.
4133 (test_controlling_breakpoints): Likewise.
4134 (test_program_termination): Likewise.
4135
5da151d4
KS
41362014-04-15 Keith Seitz <keiths@redhat.com>
4137
4138 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
4139 unused globals.
4140 (test_rbreak_creation_and_listing): Likewise.
4141 (test_ignore_count): Likewise.
4142 (test_error): Likewise.
4143
35e5d2f0
PA
41442014-04-15 Pedro Alves <palves@redhat.com>
4145
4146 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
4147 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
4148 sym-file-loader.c.
4149 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4150 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4151 to sym-file-loader.c.
4152 (struct library): Forward declare.
4153 (load_shlib, lookup_function): Change prototypes.
4154 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4155 (translate_offset): Remove declarations.
4156 (get_text_addr): New declaration.
4157 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
4158 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
4159 sym-file-loader.h.
4160 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4161 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4162 here from sym-file-loader.h.
4163 (struct library): New structure.
4164 (load_shlib, lookup_function): Change prototypes and adjust to
4165 work with a struct library.
4166 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4167 (translate_offset): Make static.
4168 (get_text_addr): New function.
4169 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
4170
eb4c1710
PA
41712014-04-15 Pedro Alves <palves@redhat.com>
4172
4173 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
4174
2d1baf52
PA
41752014-04-15 Pedro Alves <palves@redhat.com>
4176
4177 * gdb.base/sym-file-loader.c: Include <limits.h>.
4178 (SELF_LINK): New define.
4179 (get_origin): New function.
4180 (load_shlib): Use it.
4181 * gdb.base/sym-file.exp: Don't early return if the target is
4182 remote. Use runto_main, and issue fail is that fails. Use
4183 gdb_load_shlibs.
4184 (shlib_name): Delete.
4185 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
4186
7dd6df01
PA
41872014-04-15 Pedro Alves <palves@redhat.com>
4188
4189 * gdb.base/sym-file.exp: Remove regex characters from test
4190 message. Don't refer to breakpoint numbers in test messages.
4191
b50c8614
KS
41922014-04-14 Keith Seitz <keiths@redhat.com>
4193
4194 PR c++/16253
4195 * gdb.cp/var-tag.cc: New file.
4196 * gdb.cp/var-tag.exp: New file.
4197 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4198 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4199 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4200 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4201
3d567982
TT
42022014-04-14 Tom Tromey <tromey@redhat.com>
4203
4204 * gdb.cp/classes.exp (test_enums): Handle underlying type.
4205 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
4206 type.
4207 * gdb.cp/enum-class.exp: New file.
4208 * gdb.cp/enum-class.cc: New file.
4209
0626fc76
TT
42102014-04-14 Tom Tromey <tromey@redhat.com>
4211
4212 * gdb.dwarf2/enum-type.exp: New file.
4213
dca325b3
SA
42142014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4215
4216 * gdb.mi/mi-vla-c99.exp: New file.
4217 * gdb.mi/vla.c: New file.
4218
5854b38a
SA
42192014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4220
4221 * gdb.base/vla-datatypes.c: New file.
4222 * gdb.base/vla-datatypes.exp: New file.
4223
463bb957
SA
42242014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4225
4226 * gdb.base/vla-ptr.c: New file.
4227 * gdb.base/vla-ptr.exp: New file.
4228
3dd170be
SA
42292014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4230
4231 * gdb.dwarf2/count.exp: New file.
4232
5ecaaa66
SA
42332014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4234
4235 * gdb.base/vla-sideeffect.c: New file.
4236 * gdb.base/vla-sideeffect.exp: New file.
4237
41f1ada5
DB
42382014-04-14 David Blaikie <dblaikie@gmail.com>
4239
4240 * gdb.mi/non-stop.c: Add return value for non-void function return
4241 statement.
4242 * gdb.threads/staticthreads.c: Ditto.
4243
0be03e84
DE
42442014-04-12 Siva Chandra Reddy <sivachandra@google.com>
4245 Doug Evans <xdje42@gmail.com>
4246
4247 * gdb.guile/scm-value.c: Improve test case.
4248 * gdb.guile/scm-value.exp: Add new test.
4249
f180a1fb
DB
42502014-04-11 David Blaikie <dblaikie@gmail.com>
4251
4252 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
4253 override Clang's default.
4254
6b662e19
JB
42552014-04-11 Joel Brobecker <brobecker@adacore.com>
4256
4257 Revert the following changes (regressions):
4258
4259 * gdb.base/vla-sideeffect.c: New file.
4260 * gdb.base/vla-sideeffect.exp: New file.
4261
4262 * gdb.dwarf2/count.exp: New file.
4263
4264 * gdb.base/vla-multi.c: New file.
4265 * gdb.base/vla-multi.exp: New file.
4266
4267 * gdb.base/vla-ptr.c: New file.
4268 * gdb.base/vla-ptr.exp: New file.
4269
4270 * gdb.base/vla-datatypes.c: New file.
4271 * gdb.base/vla-datatypes.exp: New file.
4272
4273 * gdb.mi/mi-vla-c99.exp: New file.
4274 * gdb.mi/vla.c: New file.
4275
245a5f0b
KS
42762014-04-11 Keith Seitz <keiths@redhat.com>
4277
4278 PR c++/16675
4279 * gdb.cp/cpsizeof.exp: New file.
4280 * gdb.cp/cpsizeof.cc: New file.
4281
58a84dcf
SA
42822014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4283
191a8a90
JB
4284 * gdb.mi/mi-vla-c99.exp: New file.
4285 * gdb.mi/vla.c: New file.
58a84dcf 4286
c8655f75
SA
42872014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4288
4289 * gdb.base/vla-datatypes.c: New file.
4290 * gdb.base/vla-datatypes.exp: New file.
4291
024e13b4
SA
42922014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4293
4294 * gdb.base/vla-ptr.c: New file.
4295 * gdb.base/vla-ptr.exp: New file.
4296
1a237e0e
SA
42972014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4298
4299 * gdb.base/vla-multi.c: New file.
4300 * gdb.base/vla-multi.exp: New file.
4301
504f3432
SA
43022014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4303
4304 * gdb.dwarf2/count.exp: New file.
4305
3bce8237
SA
43062014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4307
191a8a90
JB
4308 * gdb.base/vla-sideeffect.c: New file.
4309 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 4310
322f9c21
YQ
43112014-04-11 Yao Qi <yao@codesourcery.com>
4312
4313 * gdb.base/completion.exp: Check file exists before running tests
4314 on file completion.
4315
d708bcd1
PA
43162014-04-10 Pedro Alves <palves@redhat.com>
4317
4318 * gdb.base/cond-eval-mode.c: New file.
4319 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
4320 prepare_for_testing to build the new file. Check result of
4321 runto_main.
4322 (test_break, test_watch): New procedures.
4323 (top level): Use them.
4324
ae1d2761
PM
43252014-04-08 Pierre Muller <muller@sourceware.org>
4326
4327 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
4328 Ctrl-V use for mingw hosts.
4329
7af389b8
SC
43302014-04-07 Siva Chandra Reddy <sivachandra@google.com>
4331
4332 * gdb.python/py-value.c: Improve test case.
4333 * gdb.python/py-value.exp: Add new test.
4334
5e703181
DE
43352014-04-07 David Blaikie <dblaikie@gmail.com>
4336
4337 * lib/compiler.c: Identify the clang compiler.
4338 * lib/compiler.cc: Ditto.
4339
9810b410
YQ
43402014-04-03 Yao Qi <yao@codesourcery.com>
4341
4342 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
4343
98d1b8dc
AB
43442014-04-01 Anton Blanchard <anton@samba.org>
4345
4346 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
4347 messages unique.
4348
3114cea1
AB
43492014-04-01 Anton Blanchard <anton@samba.org>
4350
4351 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
4352 prepare_for_testing.
4353
62f7182c
AB
43542014-04-01 Anton Blanchard <anton@samba.org>
4355
4356 * gdb.arch/ppc64-atomic-inst.c: Remove.
4357 * gdb.arch/ppc64-atomic-inst.S: New file.
4358 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
4359
770e7fc7
DE
43602014-03-31 Doug Evans <dje@google.com>
4361
4362 * gdb.base/print-symbol-loading-lib.c: New file.
4363 * gdb.base/print-symbol-loading-main.c: New file.
4364 * gdb.base/print-symbol-loading.exp: New file.
4365
46e2bafa
YQ
43662014-03-31 Yao Qi <yao@codesourcery.com>
4367
4368 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
4369
8776cfe9
JB
43702014-03-28 Joel Brobecker <brobecker@adacore.com>
4371
4372 * gdb.ada/mi_dyn_arr: New testcase.
4373
5d1ef361
DE
43742014-03-27 Doug Evans <dje@google.com>
4375
4376 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
4377
b5bee914
YQ
43782014-03-27 Yao Qi <yao@codesourcery.com>
4379
4380 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
4381 if target is nios2-*-*.
4382
0d4d0e77
YQ
43832014-03-26 Yao Qi <yao@codesourcery.com>
4384
4385 * lib/gdb.exp (readline_is_used): New proc.
4386 * gdb.base/completion.exp: Move tests on command complete up.
4387 Skip the rest of tests if readline is not used.
4388 * gdb.ada/complete.exp: Skp the test if readline is not
4389 used.
4390 * gdb.base/filesym.exp: Likewise.
4391 * gdb.base/macscp.exp: Likewise.
4392 * gdb.base/readline-ask.exp: Likewise.
4393 * gdb.base/readline.exp: Likewise.
4394 * gdb.python/py-cmd.exp: Likewise.
4395 * gdb.trace/tfile.exp: Likewise.
4396
29361eee
YQ
43972014-03-26 Yao Qi <yao@codesourcery.com>
4398
4399 * gdb.base/macscp.exp: Fix code format issues.
4400
bc9a5525
UW
44012014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
4402
4403 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
4404 * gdb.asm/powerpc64le.inc: New file.
4405
d3839ede
PA
44062014-03-25 Pedro Alves <palves@redhat.com>
4407 Doug Evans <dje@google.com>
4408
4409 * gdb.base/source-execution.c: New file.
4410 * gdb.base/source-execution.exp: New file.
4411 * gdb.base/source-execution.gdb: New file.
4412
01672a57
DE
44132014-03-24 Doug Evans <dje@google.com>
4414
4415 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
4416 using fission.
4417
88bbeca9
HZ
44182014-03-24 Hui Zhu <hui@codesourcery.com>
4419 Pedro Alves <palves@redhat.com>
4420
4421 PR breakpoints/16101
4422 * gdb.base/dprintf.exp: Use unsupported rather than changing the
4423 test pass/fail messages. Detect missing support for dprintf when
4424 breakpoints are actually inserted.
4425 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
4426 breakpoints are actually inserted.
4427 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
4428 fails.
4429
d2348791
JK
44302014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4431
4432 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
4433
feef67ab
DE
44342014-03-22 Doug Evans <xdje42@gmail.com>
4435
4436 * gdb.python/python.exp (python not supported): Verify multi-line
4437 python command issues an error.
25d743f9 4438 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 4439 guile command issues an error.
feef67ab 4440
ecebef6a
MR
44412014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
4442
4443 * gdb.threads/thread-specific.exp: Handle the lack of usable
4444 $this_breakpoint and $this_thread.
4445
ccdd1909
HZ
44462014-03-21 Hui Zhu <hui@codesourcery.com>
4447
4448 * gdb.base/attach.exp (do_command_attach_tests): New.
4449
beb460e8
PA
44502014-03-20 Tom Tromey <tromey@redhat.com>
4451 Pedro Alves <palves@redhat.com>
4452
4453 PR cli/15718
4454 * gdb.base/condbreak-call-false.c: New file.
4455 * gdb.base/condbreak-call-false.exp: New file.
4456
40acf43a
PA
44572014-03-20 Pedro Alves <palves@redhat.com>
4458
4459 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
4460 Delete.
4461 (block_signals, unblock_signals): Delete.
4462 (child_function_2, main): Remove references to deleted variable
4463 and functions.
4464
9f5e1e02
PA
44652014-03-20 Pedro Alves <palves@redhat.com>
4466
4467 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
4468 Use pthread_kill to signal thread 2.
4469 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4470 Adjust to make the test send itself a signal rather than using the
4471 host's "kill" command.
4472
99619bea
PA
44732014-03-20 Pedro Alves <palves@redhat.com>
4474
4475 * gdb.threads/multiple-step-overs.c: New file.
4476 * gdb.threads/multiple-step-overs.exp: New file.
4477 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4478 Adjust expected infrun debug output.
4479
2adfaa28
PA
44802014-03-20 Pedro Alves <palves@redhat.com>
4481
4482 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
4483 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
4484
31e77af2
PA
44852014-03-20 Pedro Alves <palves@redhat.com>
4486
4487 PR breakpoints/7143
4488 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
4489 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
4490 of gdb_test_multiple.
4491 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
4492 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
4493
b9f437de
PA
44942014-03-20 Pedro Alves <palves@redhat.com>
4495
4496 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
4497 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
4498
05adc73e
PA
44992014-03-19 Pedro Alves <palves@redhat.com>
4500
4501 * gdb.base/async.exp: Remove early return.
4502
6048b950
PA
45032014-03-19 Pedro Alves <palves@redhat.com>
4504
4505 * gdb.base/async.exp (step& tests): Pass explicit test messages.
4506
8bcfb00a
PA
45072014-03-19 Pedro Alves <palves@redhat.com>
4508
4509 * gdb.base/async.exp (test_background): Expect \r\n after
4510 "completed." in the fail pattern.
4511
884e37dc
PA
45122014-03-19 Pedro Alves <palves@redhat.com>
4513
4514 * gdb.base/async.exp (test_background): New procedure.
4515 Use it for all background execution command tests.
4516
148e57e2
PA
45172014-03-19 Pedro Alves <palves@redhat.com>
4518
4519 * gdb.base/async.exp: Use prepare_for_testing.
4520
f48088c7
PA
45212014-03-19 Pedro Alves <palves@redhat.com>
4522
4523 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
4524 the same line.
4525
e2f6c966
PA
45262014-03-19 Pedro Alves <palves@redhat.com>
4527
4528 * gdb.base/async.c (main): Add "jump here" and "until here" line
4529 marker comments.
4530 * gdb.base/async.exp (jump_here): New global.
4531 (jump& test): Use it.
4532 (until_here): New global.
4533 (until& test): Use it.
4534
c30568d4
PA
45352014-03-19 Pedro Alves <palves@redhat.com>
4536
4537 * gdb.base/async.exp: Don't frob gdb_protocol.
4538
0172b6a7
DE
45392014-03-18 Doug Evans <xdje42@gmail.com>
4540
4541 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
4542 Fix spelling of exec-done-display.
4543
06c868a8
JK
45442014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4545
4546 PR gdb/15358
4547 * gdb.base/gdb-sigterm.c: New file.
4548 * gdb.base/gdb-sigterm.exp: New file.
4549
0c7e1a46
PA
45502014-03-18 Pedro Alves <palves@redhat.com>
4551
4552 PR gdb/13860
4553 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
4554 * lib/mi-support.exp (mi_expect_stop): Add special handling for
4555 solib-event.
4556
f7c77d93
JB
45572014-03-17 Joel Brobecker <brobecker@adacore.com>
4558
4559 * gdb.ada/pckd_arr_ren: New testcase.
4560
5a1e8c7a
DE
45612014-03-13 Doug Evans <xdje42@gmail.com>
4562
4563 PR guile/16612
4564 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
4565 collect after discarding symbols.
4566
350e1a76
DE
45672014-03-13 Ludovic Courtès <ludo@gnu.org>
4568 Doug Evans <xdje42@gmail.com>
4569
4570 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
4571 to history survives a gc.
4572
a69900ae
PA
45732014-03-13 Pedro Alves <palves@redhat.com>
4574
4575 * gdb.base/default.exp: Don't test "target procfs".
4576
5db9f0bd
PA
45772014-03-13 Pedro Alves <palves@redhat.com>
4578
4579 * gdb.base/default.exp: Update "target child" and "target procfs"
4580 tests to not expect "Unix".
4581
b3ccfe11
TT
45822014-03-12 Tom Tromey <tromey@redhat.com>
4583
4584 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
4585 New procs. Add target-async tests.
4586 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
4587 Add target-async tests.
4588
646f4417
AA
45892014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4590
4591 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
4592 'func_start' and 'func_end' for the beginning and end of the
4593 function code, respectively.
4594 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
4595 'func_end' instead of 'func' and 'main'.
4596
288c211f
AA
45972014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4598
4599 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
4600 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
4601 generate the debug info assembler source.
4602
e0c0f156
AA
46032014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4604
4605 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
4606 * gdb.dwarf2/arr-subrange.exp: Likewise.
4607 * gdb.dwarf2/dwz.exp: Likewise.
4608 * gdb.dwarf2/method-ptr.exp: Likewise.
4609 * gdb.dwarf2/missing-sig-type.exp: Likewise.
4610 * gdb.dwarf2/subrange.exp: Likewise.
4611 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
4612 * gdb.dwarf2/implptrpiece.exp: Likewise.
4613 * gdb.dwarf2/nostaticblock.exp: Likewise.
4614
0e5c4555
AA
46152014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4616
4617 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
4618 directory to absolute path name arguments.
4619
5ec18f2b
JG
46202014-03-10 Joel Brobecker <brobecker@adacore.com>
4621
4622 * gdb.ada/tagged_access: New testcase.
4623
847fc4f2
MM
46242014-03-07 Markus Metzger <markus.t.metzger@intel.com>
4625
4626 * gdb.btrace/data.exp: Update expected output.
4627
cc3da688
YQ
46282014-03-06 Yao Qi <yao@codesourcery.com>
4629
4630 * gdb.trace/pr16508.exp: New file.
4631
0f26cec1
PA
46322014-03-05 Pedro Alves <palves@redhat.com>
4633
4634 PR gdb/16575
4635 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
4636 procedure.
4637 (top level): Adjust to use it. Add tests that exercise breakpoint
4638 interaction with the code-cache.
4639
7a5a839f
LC
46402014-02-26 Ludovic Courtès <ludo@gnu.org>
4641
4642 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
4643 test for 'history-append!'.
4644
31aa7e4e
JB
46452014-02-26 Joel Brobecker <brobecker@adacore.com>
4646
4647 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
4648 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
4649 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
4650 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
4651 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
4652 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
4653
1b588015
JB
46542014-02-26 Joel Brobecker <brobecker@adacore.com>
4655
4656 * testsuite/gdb.python/py-pp-re-notag.c: New file.
4657 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
4658 * testsuite/gdb.python/py-pp-re-notag.p: New file.
4659
55426c9d
JB
46602014-02-26 Joel Brobecker <brobecker@adacore.com>
4661
4662 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
4663
dc53a7ad
JB
46642014-02-26 Joel Brobecker <brobecker@adacore.com>
4665
4666 * gdb.dwarf2/arr-stride.c: New file.
4667 * gdb.dwarf2/arr-stride.exp: New file.
4668
12ab52e9
PA
46692014-02-26 Pedro Alves <palves@redhat.com>
4670
4671 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
4672 that won't ever trigger. Make sure that GDB reports the correct
4673 breakpoint that caused the stop.
4674
849c862e
JK
46752014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4676
4677 PR gdb/16626
4678 * gdb.base/auto-load-script: New file.
4679 * gdb.base/auto-load.c: New file.
4680 * gdb.base/auto-load.exp: New file.
4681
71b7d793
JK
4682 PR gdb/16626
4683 * gdb.base/auto-load.exp: Fix out-of-srctree run.
4684
e2f0d509
JK
46852014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4686
4687 Fix dw2-icycle.exp -fsanitize=address GDB crash.
4688 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
4689
50cc37c8
DE
46902014-02-24 Doug Evans <dje@google.com>
4691
4692 * lib/gdb.exp (run_on_host): Log error output if program fails.
4693
ea4758f2
PA
46942014-02-21 Pedro Alves <palves@redhat.com>
4695
4696 * gdb.threads/step-after-sr-lock.c: Rename to ...
4697 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
4698 * gdb.threads/step-after-sr-lock.exp: Rename to ...
4699 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4700 ... this.
4701
d7b30f67
SDJ
47022014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
4703
4704 PR tdep/16397
4705 * gdb.arch/amd64-stap-special-operands.exp: New file.
4706 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
4707 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
4708 * gdb.arch/amd64-stap-triplet.S: Likewise.
4709 * gdb.arch/amd64-stap-triplet.c: Likewise.
4710
83deb43f
JB
47112014-02-20 Joel Brobecker <brobecker@adacore.com>
4712
4713 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
4714 in .section pseudo-op.
4715
adde2bff
DE
47162014-02-20 lin zuojian <manjian2006@gmail.com>
4717 Joel Brobecker <brobecker@adacore.com>
4718 Doug Evans <xdje42@gmail.com>
4719
4720 PR symtab/16581
4721 * gdb.dwarf2/dw2-icycle.S: New file.
4722 * gdb.dwarf2/dw2-icycle.c: New file.
4723 * gdb.dwarf2/dw2-icycle.exp: New file.
4724
f7bd0f78
SC
47252014-02-19 Siva Chandra Reddy <sivachandra@google.com>
4726
4727 * gdb.python/py-value-cc.cc: Improve test case to enable testing
4728 operations on gdb.Value objects.
4729 * gdb.python/py-value-cc.exp: Add new test to test operations on
4730 gdb.Value objects.
4731
c17ef0d5
DE
47322014-02-18 Doug Evans <dje@google.com>
4733
4734 * Makefile.in (TESTS): New variable.
4735 (expanded_tests, expanded_tests_or_none): New variables
4736 (check-single): Pass $(expanded_tests_or_none) to runtest.
4737 (check-parallel): Only run tests in $(TESTS) if non-empty.
4738 (check/no-matching-tests-found): New rule.
4739 * README: Document TESTS makefile variable.
4740
5dd3176f
DE
47412014-02-18 Doug Evans <dje@google.com>
4742
4743 * Makefile.in (check-parallel): rm -rf outputs temp.
4744
0b10be4f
JK
47452014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4746
4747 Fix "ERROR: no fileid for" in the testsuite.
4748 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
4749
85f224e7
DE
47502014-02-12 Doug Evans <dje@google.com>
4751
4752 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
4753 (MISCELLANEOUS): New variable.
4754 (clean): rm -rf $(MISCELLANEOUS).
4755 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
4756 dwp live in the same directory as symlinks, with each symlink pointed
4757 to a differently named file in a different directory.
4758
149b30ff
DE
47592014-02-11 Doug Evans <dje@google.com>
4760
4761 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
4762 of Tcl file commands.
4763
1dfdac32
MK
47642014-02-10 Mark Kettenis <kettenis@gnu.org>
4765
4766 * gdb.threads/step-after-sr-lock.exp: Avoid executing
4767 "kill -SIGUSR1 -1".
4768
aa4fb036
JB
47692014-02-10 Joel Brobecker <brobecker@adacore.com>
4770
4771 * gdb.ada/tick_length_array_enum_idx: New testcase.
4772
ed3ef339
DE
47732014-02-10 Doug Evans <xdje42@gmail.com>
4774
4775 * configure.ac (AC_OUTPUT): Add gdb.guile.
4776 * configure: Regenerate.
4777 * lib/gdb-guile.exp: New file.
4778 * lib/gdb.exp (get_target_charset): New function.
4779 * gdb.base/help.exp: Update expected output from "apropos apropos".
4780 * gdb.guile/Makefile.in: New file.
4781 * gdb.guile/guile.exp: New file.
4782 * gdb.guile/scm-arch.c: New file.
4783 * gdb.guile/scm-arch.exp: New file.
4784 * gdb.guile/scm-block.c: New file.
4785 * gdb.guile/scm-block.exp: New file.
4786 * gdb.guile/scm-breakpoint.c: New file.
4787 * gdb.guile/scm-breakpoint.exp: New file.
4788 * gdb.guile/scm-disasm.c: New file.
4789 * gdb.guile/scm-disasm.exp: New file.
4790 * gdb.guile/scm-equal.c: New file.
4791 * gdb.guile/scm-equal.exp: New file.
4792 * gdb.guile/scm-error.exp: New file.
4793 * gdb.guile/scm-error.scm: New file.
4794 * gdb.guile/scm-frame-args.c: New file.
4795 * gdb.guile/scm-frame-args.exp: New file.
4796 * gdb.guile/scm-frame-args.scm: New file.
4797 * gdb.guile/scm-frame-inline.c: New file.
4798 * gdb.guile/scm-frame-inline.exp: New file.
4799 * gdb.guile/scm-frame.c: New file.
4800 * gdb.guile/scm-frame.exp: New file.
4801 * gdb.guile/scm-generics.exp: New file.
4802 * gdb.guile/scm-gsmob.exp: New file.
4803 * gdb.guile/scm-iterator.c: New file.
4804 * gdb.guile/scm-iterator.exp: New file.
4805 * gdb.guile/scm-math.c: New file.
4806 * gdb.guile/scm-math.exp: New file.
4807 * gdb.guile/scm-objfile-script-gdb.in: New file.
4808 * gdb.guile/scm-objfile-script.c: New file.
4809 * gdb.guile/scm-objfile-script.exp: New file.
4810 * gdb.guile/scm-objfile.c: New file.
4811 * gdb.guile/scm-objfile.exp: New file.
4812 * gdb.guile/scm-ports.exp: New file.
4813 * gdb.guile/scm-pretty-print.c: New file.
4814 * gdb.guile/scm-pretty-print.exp: New file.
4815 * gdb.guile/scm-pretty-print.scm: New file.
4816 * gdb.guile/scm-section-script.c: New file.
4817 * gdb.guile/scm-section-script.exp: New file.
4818 * gdb.guile/scm-section-script.scm: New file.
4819 * gdb.guile/scm-symbol.c: New file.
4820 * gdb.guile/scm-symbol.exp: New file.
4821 * gdb.guile/scm-symtab-2.c: New file.
4822 * gdb.guile/scm-symtab.c: New file.
4823 * gdb.guile/scm-symtab.exp: New file.
4824 * gdb.guile/scm-type.c: New file.
4825 * gdb.guile/scm-type.exp: New file.
4826 * gdb.guile/scm-value-cc.cc: New file.
4827 * gdb.guile/scm-value-cc.exp: New file.
4828 * gdb.guile/scm-value.c: New file.
4829 * gdb.guile/scm-value.exp: New file.
4830 * gdb.guile/source2.scm: New file.
4831 * gdb.guile/types-module.cc: New file.
4832 * gdb.guile/types-module.exp: New file.
4833
7026a7c1
YQ
48342014-02-10 Yao Qi <yao@codesourcery.com>
4835
4836 PR testsuite/16543
4837 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
4838 * configure: Regenerated.
4839 * Makefile.in: New file.
4840
6c466447
AS
48412014-02-08 Andreas Schwab <schwab@linux-m68k.org>
4842
4843 * gdb.python/py-framefilter.exp: Fix typo.
4844
6e854735
YQ
48452014-02-08 Yao Qi <yao@codesourcery.com>
4846
4847 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
4848 that no =breakpoint-modified is emitted when breakpoints are
4849 modified through MI commands.
4850
d137e6dc
PA
48512014-02-07 Pedro Alves <pedro@codesourcery.com>
4852 Pedro Alves <palves@redhat.com>
4853
4854 * gdb.threads/step-after-sr-lock.c: New file.
4855 * gdb.threads/step-after-sr-lock.exp: New file.
4856
b5ee5a50
PA
48572014-02-07 Pedro Alves <palves@redhat.com>
4858
4859 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
4860
3c77faf3
JK
48612014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4862
4863 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
4864 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
4865
6dddc817
DE
48662014-02-06 Doug Evans <xdje42@gmail.com>
4867
4868 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
4869 output.
4870
4871 * gdb.gdb/python-interrupts.exp: New file.
4872
de7b2893
YQ
48732014-02-05 Yao Qi <yao@codesourcery.com>
4874
4875 * gdb.trace/report.exp (use_collected_data): Test the output
4876 of "info threads" and "info inferiors".
4877
66d032ac
YQ
48782014-02-05 Yao Qi <yao@codesourcery.com>
4879
4880 Revert this patch:
4881
4882 2013-05-24 Yao Qi <yao@codesourcery.com>
4883
4884 * gdb.trace/tfile.exp: Test inferior and thread.
4885
591a12a1
UW
48862014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4887
4888 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
4889 on a function.
4890 * gdb.base/step-bt.c: Call hello via function pointer to make
4891 sure its first instruction is executed on powerpc64le-linux.
4892
0ff3e01f
UW
48932014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4894
4895 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
4896
084ee545
UW
48972014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4898
4899 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
4900 of the test patterns for use on little-endian systems.
4901
6ed14ff3
UW
49022014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4903
4904 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
4905 (decimal_vector): Fix for little-endian.
4906
401e27fd
JM
49072014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4908
4909 * gdb.arch/sparc-sysstep.exp: New file.
4910 * gdb.arch/sparc-sysstep.c: Likewise.
4911
4912 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
4913
8b924729
EBM
49142014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4915
4916 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
4917
fb151210
JB
49182014-01-23 Tom Tromey <tromey@redhat.com>
4919
4920 * gdb.ada/array_char_idx: New testcase.
4921
0740f8d8
TT
49222014-01-23 Tom Tromey <tromey@redhat.com>
4923
4924 PR python/16487:
4925 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
4926 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
4927 classes.
4928
21909fa1
TT
49292014-01-23 Tom Tromey <tromey@redhat.com>
4930
4931 PR python/16491:
4932 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
4933 string from an inferior frame.
4934 * gdb.python/py-framefilter-mi.exp: Update.
4935
87ce2a04
DE
49362014-01-22 Doug Evans <dje@google.com>
4937
4938 * gdb.server/server-mon.exp: Add tests for "set debug-format".
4939
237b092b
AA
49402014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4941
4942 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
4943
d674a709
AA
49442014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4945
4946 * gdb.trace/entry-values.exp: Remove excess space character from
4947 regex patterns. Handle s390 call instruction.
4948
20fa3390
AA
49492014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4950
4951 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
4952 define "*_start" label. Make "name" static.
4953 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
4954 ${name} by references to ${name}_start.
4955
78466714
AA
49562014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4957
4958 * gdb.base/info-macros.exp: Remove "debug" from the compile
4959 options.
4960
ec9f644a
IB
49612014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4962
4963 * gdb.dlang/demangle.exp: New file.
4964
94b1b47e
IB
49652014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4966
4967 * gdb.dlang/primitive-types.exp: New file.
4968
7f420862
IB
49692014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4970
4971 * configure.ac: Create gdb.dlang/Makefile.
4972 * configure: Regenerate.
4973 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
4974 * gdb.dlang/Makefile.in: New file.
4975 * lib/d-support.exp: New file.
4976 * lib/gdb.exp (skip_d_tests): New proc.
4977
52834460
MM
49782014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4979
4980 * gdb.btrace/delta.exp: Check reverse stepi.
4981 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
4982 * gdb.btrace/finish.exp: New.
4983 * gdb.btrace/next.exp: New.
4984 * gdb.btrace/nexti.exp: New.
4985 * gdb.btrace/record_goto.c: Add comments.
4986 * gdb.btrace/step.exp: New.
4987 * gdb.btrace/stepi.exp: New.
4988 * gdb.btrace/multi-thread-step.c: New.
4989 * gdb.btrace/multi-thread-step.exp: New.
4990 * gdb.btrace/rn-dl-bind.c: New.
4991 * gdb.btrace/rn-dl-bind.exp: New.
4992 * gdb.btrace/data.c: New.
4993 * gdb.btrace/data.exp: New.
4994 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4995
6e07b1d2
MM
49962014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4997
4998 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
4999 * gdb.btrace/exception.exp: Update.
5000 * gdb.btrace/instruction_history.exp: Update.
5001 * gdb.btrace/record_goto.exp: Update.
5002 * gdb.btrace/tailcall.exp: Update.
5003 * gdb.btrace/unknown_functions.exp: Update.
5004 * gdb.btrace/delta.exp: New.
5005
0b722aec
MM
50062014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5007
5008 * gdb.btrace/record_goto.exp: Add backtrace test.
5009 * gdb.btrace/tailcall.exp: Add backtrace test.
5010
066ce621
MM
50112014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5012
5013 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
5014 * gdb.btrace/record_goto.c: New.
5015 * gdb.btrace/record_goto.exp: New.
5016 * gdb.btrace/x86-record_goto.S: New.
5017
0688d04e
MM
50182014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5019
5020 * gdb.btrace/function_call_history.exp: Update tests.
5021 * gdb.btrace/instruction_history.exp: Update tests.
5022
8710b709
MM
50232014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5024
5025 * gdb.btrace/function_call_history.exp: Fix expected field
5026 order for "record function-call-history".
5027 Add new tests for "record function-call-history /c".
5028 * gdb.btrace/exception.cc: New.
5029 * gdb.btrace/exception.exp: New.
5030 * gdb.btrace/tailcall.exp: New.
5031 * gdb.btrace/x86-tailcall.S: New.
5032 * gdb.btrace/x86-tailcall.c: New.
5033 * gdb.btrace/unknown_functions.c: New.
5034 * gdb.btrace/unknown_functions.exp: New.
5035 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
5036
5de9129b
MM
50372014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5038
5039 * gdb.btrace/instruction_history.exp: Update.
5040 * gdb.btrace/function_call_history.exp: Update.
5041
23a7fe75
MM
50422014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5043
5044 * gdb.btrace/function_call_history.exp: Fix expected function
5045 trace.
5046 * gdb.btrace/instruction_history.exp: Initialize traced.
5047 Remove traced_functions.
5048
724c7dd8
MM
50492014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5050
5051 * gdb.btrace/function_call_history.exp: Update
5052 * gdb.btrace/instruction_history.exp: Update.
5053
6d78d93b
MM
50542014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5055
5056 * gdb.btrace/enable.exp: Update expected text.
5057
93a360cc
OJ
50582014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
5059
5060 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
5061 bytes.
5062
3772b53f
MR
50632014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
5064
5065 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
5066
596662fa
OJ
50672014-01-15 Omair Javaid <omair.javaid@linaro.org>
5068
5069 * lib/gdb.exp (supports_process_record): Return true for
5070 arm*-linux*. (supports_reverse): Likewise.
5071
b5b08fb4
SC
50722014-01-13 Siva Chandra Reddy <sivachandra@google.com>
5073
5074 PR python/15464
5075 PR python/16113
5076 * gdb.python/py-type.c: Enhance test case.
5077 * gdb.python/py-value-cc.cc: Likewise
5078 * gdb.python/py-type.exp: Add new tests.
5079 * gdb.python/py-value-cc.exp: Likewise
5080
52d7fb13
AA
50812014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
5082 Pedro Alves <palves@redhat.com>
5083
5084 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
5085 Make "name" extern.
5086 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
5087 references to ${name}_start by references to ${name}.
5088
a2cd8cfe
JB
50892014-01-10 Joel Brobecker <brobecker@adacore.com>
5090
5091 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
5092
4e23fced
JB
50932014-01-10 Joel Brobecker <brobecker@adacore.com>
5094
5095 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
5096
c6a9e42c
PA
50972014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
5098 Pedro Alves <palves@redhat.com>
5099
5100 * gdb.mi/mi-info-os.exp: Connect to the target with
5101 mi_gdb_target_load.
5102
b7ea362b
PA
51032014-01-08 Pedro Alves <palves@redhat.com>
5104
5105 * gdb.threads/reconnect-signal.c: New file.
5106 * gdb.threads/reconnect-signal.exp: New file.
5107
5e3f4fab
EBM
51082014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5109
5110 * gdb.base/source-dir.exp: New file.
5111
79301218
JB
51122014-01-07 Joel Brobecker <brobecker@adacore.com>
5113
5114 * gdb.ada/mi_interface: New testcase.
5115
8e355c5d
JB
51162014-01-07 Joel Brobecker <brobecker@adacore.com>
5117
5118 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
5119 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
5120 gdb.ada/pp-rec-component/pck.ads: New files.
5121
c0d48811
JB
51222014-01-07 Joel Brobecker <brobecker@adacore.com>
5123
5124 * gdb.python/py-pp-integral.c: New file.
5125 * gdb.python/py-pp-integral.py: New file.
5126 * gdb.python/py-pp-integral.exp: New file.
5127
17b609c3 5128For older changes see ChangeLog-1993-2013.
c906108c 5129\f
8d8cb839
EZ
5130;; Local Variables:
5131;; mode: change-log
5132;; left-margin: 8
5133;; fill-column: 74
5134;; version-control: never
5135;; End:
902f2ccb 5136
32d0add0 5137 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
5138 Copying and distribution of this file, with or without modification,
5139 are permitted provided the copyright notice and this notice are preserved.