PR threads/18127 - threads spawned by infcall end up stuck in "running" state
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
28bf096c
PA
12015-06-29 Pedro Alves <palves@redhat.com>
2
3 PR threads/18127
4 * gdb.threads/hand-call-new-thread.c: New file.
5 * gdb.threads/hand-call-new-thread.c: New file.
6
ee93cd5e
KS
72015-06-26 Keith Seitz <keiths@redhat.com>
8 Doug Evans <dje@google.com>
9
10 PR 16253
11 * gdb.cp/var-tag-2.cc: New file.
12 * gdb.cp/var-tag-3.cc: New file.
13 * gdb.cp/var-tag-4.cc: New file.
14 * gdb.cp/var-tag.cc: New file.
15 * gdb.cp/var-tag.exp: New file.
16
fc637f04
PP
172015-06-26 Patrick Palka <patrick@parcs.ath.cx>
18
19 * gdb.base/history-duplicates.exp: New test.
20
2e52ae68
PP
212015-06-26 Patrick Palka <patrick@parcs.ath.cx>
22
23 * gdb.base/completion.exp: Test the completion of the "focus"
24 command.
25
6e22494e
JK
262015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
27
28 * gdb.arch/amd64-prologue-skip.S: New file.
29 * gdb.arch/amd64-prologue-skip.exp: New file.
30
bf7b9cd9
SM
312015-06-25 Simon Marchi <simon.marchi@ericsson.com>
32
33 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
34 is_address_zero_readable check.
35
201e8dfd
PB
362015-06-24 Peter Bergner <bergner@vnet.ibm.com>
37
38 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
39 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
40
5cd867b4
YQ
412015-06-24 Yao Qi <yao.qi@linaro.org>
42
43 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
44 linux targets.
45
4d7be007
YQ
462015-06-24 Yao Qi <yao.qi@linaro.org>
47
48 * lib/gdb.exp (supports_get_siginfo_type): New proc.
49 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
50 * gdb.base/siginfo-thread.exp: Likewise.
51
07fcd301
YQ
522015-06-22 Yao Qi <yao.qi@linaro.org>
53
54 * boards/remote-gdbserver-on-localhost.exp: Add comments.
55
52042a00
YQ
562015-06-22 Yao Qi <yao.qi@linaro.org>
57
58 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
59 aarch64*-*-*.
60 (skip_hw_watchpoint_tests): Likewise.
61
74bd41ce
PP
622015-06-18 Patrick Palka <patrick@parcs.ath.cx>
63
64 * gdb.base/gdbinit-history.exp: Test the interaction between
65 setting GDBHISTSIZE and setting the history size via .gdbinit.
66
bc460514
PP
672015-06-17 Patrick Palka <patrick@parcs.ath.cx>
68
69 PR gdb/16999
70 * gdb.base/gdbhistsize-history.exp: New test.
71
b58c513b
PP
722015-06-17 Patrick Palka <patrick@parcs.ath.cx>
73
74 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
75 with GDBHISTSIZE.
76 * gdb.base/readline.exp: Likewise.
77
92046791
YQ
782015-06-17 Yao Qi <yao.qi@linaro.org>
79
80 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
81 line.
82
2093d2d3
PP
832015-06-17 Patrick Palka <patrick@parcs.ath.cx>
84
85 * gdb.base/gdbinit-history.exp: Add test case to check that
86 an unlimited history file does not get truncated on exit.
87
e6c693af
AA
882015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
89
90 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
91 (VECTOR): New macro. Use it...
92 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
93 ...for these typedefs.
94 (int8, char1, int1, double1): New typedefs.
95 (struct just_int2, struct two_int2): New structures.
96 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
97 (add_structvecs, add_singlevecs): New functions.
98 (main): Call add_some_intvecs twice.
99 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
100 the compile and exit upon failure. Try compiling for the "native"
101 architecture. Test inferior function calls with vector arguments
102 and vector return value handling with "finish" and "return".
103
c74f7d1c
JT
1042015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
105
106 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
107 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
108 PE file.
109 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
110
98aa42ee
AT
1112015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
112
113 PR breakpoints/16465
114 * gdb.mi/mi-dprintf-pending.c: New file.
115 * gdb.mi/mi-dprintf-pending.exp: New test.
116 * gdb.mi/mi-dprintf-pendshr.c: New file.
117
7d73c23c
WT
1182015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
119 Mircea Gherzan <mircea.gherzan@intel.com>
120
121 * gdb.arch/i386-mpx-map.c: New file.
122 * gdb.arch/i386-mpx-map.exp: New File.
123
1242015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
125
126 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
127 * gdb.arch/i386-mpx.exp: Indentation fixed.
128
1292015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
130
131 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
132 function and improved indentation.
133 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
134 gdb_test_multiple. Added additional tests to skip the test.
135
1362015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
137
138 * gdb.arch/i386-avx512.c: Change path in include file.
139 * gdb.arch/i386-avx512.exp: Change include dir path
140 compilation flag.
141 * gdb.arch/i386-mpx.c: Change path in include file.
142 * gdb.arch/i386-mpx.exp: Change include dir path compilation
143 flag.
144
d5eba19a
JK
1452015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
146
147 * gdb.compile/compile-print.exp (compile print *vararray@3)
148 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
149
7f361056
JK
1502015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
151
152 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
153 (do not keep jit in memory): ... this.
154 (expect 5): Change it to ...
155 (expect no 5): ... this.
156
3b462ec2
SM
1572015-06-02 Simon Marchi <simon.marchi@ericsson.com>
158
159 PR gdb/15564
160 * gdb.mi/mi-detach.exp: New file.
161
e0619de6
JK
1622015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
163
164 PR symtab/18392
165 * gdb.arch/amd64-tailcall-self.S: New file.
166 * gdb.arch/amd64-tailcall-self.c: New file.
167 * gdb.arch/amd64-tailcall-self.exp: New file.
168
e970cb34
DB
1692015-05-28 Don Breazeal <donb@codesourcery.com>
170
171 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
172 tests for remote targets by checking is_target_gdbserver.
173
b2e2f908
DE
1742015-05-27 Doug Evans <dje@google.com>
175
176 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
177 * gdb.dwarf2/opaque-type-lookup.c: New file.
178 * gdb.dwarf2/opaque-type-lookup.exp: New file.
179
82c7be31
DE
1802015-05-26 Doug Evans <dje@google.com>
181
182 * gdb.cp/iostream.cc: New file.
183 * gdb.cp/iostream.exp: New file.
184
b4f54984
DE
1852015-05-26 Doug Evans <dje@google.com>
186
187 * gdb.dwarf2/dw2-op-call.exp: Update.
188 * gdb.dwarf2/dw4-sig-types.exp: Update.
189 * gdb.dwarf2/implptr.exp: Update.
190 * gdb.mi/mi-cmd-param-changed.exp: Update.
191
4ea6efe9
DE
1922015-05-26 Doug Evans <dje@google.com>
193
194 * gdb.python/py-lazy-string.c: New file.
195 * gdb.python/py-lazy-string.exp: New file.
196 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
197 (main): Update. Add estring3.
198 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
199 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
200
f6bb7db3
YQ
2012015-05-26 Omair Javaid <omair.javaid@linaro.org>
202 Yao Qi <yao.qi@linaro.org>
203
204 * gdb.reverse/aarch64.c: New.
205 * gdb.reverse/aarch64.exp: New.
206
a81bfbd0
OJ
2072015-05-26 Omair Javaid <omair.javaid@linaro.org>
208
209 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
210 (supports_reverse): Likewise.
211
158bf1b4
PP
2122015-05-22 Patrick Palka <patrick@parcs.ath.cx>
213
214 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
215 Use with_test_prefix.
216
a0145030
AB
2172015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
218
219 * gdb.base/completion.exp: Add test for completion of layout
220 names.
221
ebe3b578
AB
2222015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
223
224 * lib/gdb.exp (skip_tui_tests): New proc.
225 * gdb.base/tui-layout.exp: Check skip_tui_tests.
226
84204ed7
PA
2272015-05-19 Pedro Alves <palves@redhat.com>
228
229 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
230 Save the whole env array instead of just HOME. Unset HISTSIZE in
231 the environment while testing. Restore whole environment
232 afterwards.
233
37442ce1
DE
2342015-05-16 Doug Evans <xdje42@gmail.com>
235
236 * gdb.guile/scm-ports.c: New file.
237 * gdb.guile/scm-ports.exp: Add memory port tests.
238
36de76f9
JK
2392015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
240
241 * gdb.compile/compile-print.c: New file.
242 * gdb.compile/compile-print.exp: New file.
243
3a9558c4
JK
2442015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
245
246 * gdb.compile/compile-ops.exp: Cast param to void.
247 * gdb.compile/compile.exp: Complete type for _gdb_expr.
248 (compile code struct_object.selffield = &struct_object): Add xfail.
249
aa715135
JG
2502015-05-15 Joel Brobecker <brobecker@adacore.com>
251
252 * gdb.ada/arr_enum_with_gap: New testcase.
253
931e5bc3
JG
2542015-05-15 Joel Brobecker <brobecker@adacore.com>
255
256 * gdb.ada/byte_packed_arr: New testcase.
257
9cd4d857
JB
2582015-05-15 Joel Brobecker <brobecker@adacore.com>
259
260 * gdb.ada/pckd_neg: New testcase.
261
ebfd00d2
PP
2622015-05-13 Patrick Palka <patrick@parcs.ath.cx>
263
264 PR gdb/17820
265 * gdb.base/gdbinit-history.exp: New test.
266 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
267 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
268
4c082a81
SC
2692015-05-09 Siva Chandra Reddy <sivachandra@google.com>
270
271 * gdb.python/py-xmethods.cc: Enhance test case.
272 * gdb.python/py-xmethods.exp: New tests.
273 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
274 function.
275 (B_indexoper): Likewise.
276 (global_dm_list) : Add new xmethod worker functions.
277
f7797074
SDJ
2782015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
279
280 * gdb.base/coredump-filter.exp: Correctly unset
281 "coredump_var_addr" array.
282
a4674e4e
PA
2832015-05-08 Pedro Alves <palves@redhat.com>
284
285 * gdb.server/non-existing-program.exp: Unset spawn_id.
286
df2eb078
SC
2872015-05-08 Siva Chandra Reddy <sivachandra@google.com>
288
289 PR python/18291
290 * gdb.python/py-xmethods.exp: Add tests.
291
422349a3
YQ
2922015-05-08 Yao Qi <yao.qi@linaro.org>
293
294 PR gdb/18208
295 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
296 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
297 function set_coredump_filter, and remove remote_exec call.
298 Remove argument ipid. Callers update.
299 (top level): Don't get inferior's PID.
300
63fc80ce
AA
3012015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
302
303 * gdb.base/watch_thread_num.exp: Skip test on targets without
304 access watchpoints.
305
80ad801e
PA
3062015-05-06 Pedro Alves <palves@redhat.com>
307
308 PR server/18081
309 * gdb.server/non-existing-program.exp: New file.
310
0fa7fe50
JB
3112015-05-05 Joel Brobecker <brobecker@adacore.com>
312
313 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
314
3ea89b92
PMR
3152015-05-05 Joel Brobecker <brobecker@adacore.com>
316
317 * gdb.ada/out_of_line_in_inlined: New testcase.
318
87b8eff0
JB
3192015-05-05 Joel Brobecker <brobecker@adacore.com>
320
321 * gdb.ada/var_rec_arr: New testcase.
322
5fccc635
YQ
3232015-04-30 Yao Qi <yao.qi@linaro.org>
324
325 * gdb.base/break-idempotent.exp: If
326 skip_hw_watchpoint_multi_tests returns true, skip the tests
327 on "rwatch" and "awatch".
328
42d38f42
YQ
3292015-04-30 Yao Qi <yao.qi@linaro.org>
330
331 * gdb.base/relativedebug.exp: Invoke gdb command
332 "info sharedlibrary", and if libc.so doesn't have debug info,
333 skip the test.
334
2ce1cdbf
DE
3352015-04-29 Doug Evans <dje@google.com>
336
337 * gdb.python/py-xmethods.exp: Add ptype tests.
338 * gdb.python/py-xmethods.py (E_method_char_worker): Add
339 get_result_type method.
340
f24a38c5
LM
3412015-04-29 Luis Machado <lgustavo@codesourcery.com>
342
343 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
344 the target does not support hardware watchpoints.
345
ecbf2b3c
LM
3462015-04-29 Luis Machado <lgustavo@codesourcery.com>
347
348 * gdb.base/break-always.exp: Abort testing if writing to memory
349 causes an error.
350
34f5f757
DE
3512015-04-28 Doug Evans <dje@google.com>
352
353 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
354 * gdb.python/py-pp-registration.exp: ... here. New file.
355 * gdb.python/py-pp-registration.c: New file.
356 * gdb.python/py-pp-registration.py: New file.
357
69b4374a
DE
3582015-04-28 Doug Evans <dje@google.com>
359
360 * gdb.python/py-bad-printers.c: New file.
361 * gdb.python/py-bad-printers.py: New file.
362 * gdb.python/py-bad-printers.exp: New file.
363
59fb7612
SS
3642015-04-28 Sasha Smundak <asmundak@google.com>
365
366 * gdb.python/py-type.exp: New test.
367
2631b16a
AW
3682015-04-28 Andy Wingo <wingo@igalia.com>
369
370 * gdb.python/py-parameter.exp:
371 * gdb.guile/scm-parameter.exp: Escape the path that we are
372 matching against, as it might contain characters that are special
373 to regular expressions.
374
460efde1
JB
3752015-04-27 Joel Brobecker <brobecker@adacore.com>
376
377 * gdb.ada/rec_comp: New testcase.
378
2d369d8e
SDJ
3792015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
380
381 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
382 before using it.
383
cf75d6c3
AB
3842015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
385
386 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
387 new tests for verilog output.
388
8dbe7ca5
YQ
3892015-04-24 Yao Qi <yao.qi@linaro.org>
390
391 * boards/remote-gdbserver-on-localhost.exp: New file.
392
4ef9fb2f
PA
3932015-04-23 Pedro Alves <palves@redhat.com>
394
395 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
396 $inferior_spawn_id instead of $inferior_spawn_id directly. On
397 "end of file", remove $inferior_spawn_id from the indirect list.
398
0a803169
PA
3992015-04-23 Pedro Alves <palves@redhat.com>
400
401 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
402
749ef8f8
PA
4032015-04-23 Pedro Alves <palves@redhat.com>
404
405 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
406 on $any_spawn_id instead of only on $gdb_spawn_id.
407
8aae4344
PM
4082015-04-21 Pierre Muller <muller@sourceware.org>
409
410 PR pascal/17815
411 * lib/pascal.exp (gpc_compile): Add new option "class".
412 (fpc_compile): Likewise.
413 * gdb.pascal/case-insensitive-symbols.pas: New file.
414 * gdb.pascal/case-insensitive-symbols.exp: New file.
415
1586c8fb
GB
4162015-04-20 Gary Benson <gbenson@redhat.com>
417
418 * gdb.base/attach.exp: Fix three extended remote failures.
419
1b6e6f5c
GB
4202015-04-17 Gary Benson <gbenson@redhat.com>
421
422 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
423 the main executable over the remote protocol.
424
e797481d
PA
4252015-04-16 Pedro Alves <palves@redhat.com>
426
427 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
428 a new gdbserver if gdbserver_reconnect_p is set.
429
1ca99c42
PA
4302015-04-16 Pedro Alves <palves@redhat.com>
431
432 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
433 is set, don't exit gdbserver.
434
af9fd6f8
AA
4352015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
436
437 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
438 appropriate .insn, such that an older assembler can be used.
439 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
440 the z/Architecture instruction set on 31-bit targets as well.
441
04ff1e61
AA
4422015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
443
444 * gdb.go/handcall.exp: Remove all logic related to the first
445 breakpoint and rely on go_runto_main instead.
446 * gdb.go/strings.exp: Likewise.
447 * gdb.go/unsafe.exp: Likewise.
448 * gdb.go/hello.exp: Likewise. Also rename the remaining
449 breakpoint marker to "breakpoint 1".
450 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
451 * gdb.go/strings.go: Likewise.
452 * gdb.go/unsafe.go: Likewise.
453 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
454 "set breakpoint 2 here" and rename the remaining breakpoint marker
455 to "breakpoint 1".
456
40d2f8d6
SM
4572015-04-15 Simon Marchi <simon.marchi@ericsson.com>
458
459 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
460 if itertools.imap is not present.
461 * gdb.python/py-objfile.exp: Add parentheses.
462 * gdb.python/py-type.exp: Same.
463 * gdb.python/py-unwind-maint.py: Same.
464
8cbc97c6
YQ
4652015-04-15 Yao Qi <yao.qi@linaro.org>
466
467 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
468 of ":$ptr_size" and set its form explicitly.
469
45fd756c
YQ
4702015-04-15 Pedro Alves <palves@redhat.com>
471 Yao Qi <yao.qi@linaro.org>
472
473 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
474 timeout by factor of 4.
475 (test_regular_watch): Likewise.
476 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
477 * gdb.reverse/sigall-reverse.exp: Likewise.
478 * gdb.reverse/until-precsave.exp: Likewise.
479 * lib/gdb.exp (with_timeout_factor): New proc.
480 (gdb_expect): Move some code to ...
481 (get_largest_timeout): ... here. New procedure.
482
9e811bc3
LM
4832015-04-14 Luis Machado <lgustavo@codesourcery.com>
484
485 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
486
0ff6fcb2
LM
4872015-04-13 Luis Machado <lgustavo@codesourcery.com>
488
489 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
490 to write to the .text section.
491
7578d5f7
LM
4922015-04-13 Luis Machado <lgustavo@codesourcery.com>
493
494 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
495 Handle the case of targets that do not provide PID information.
496
2efe15c4
YQ
4972015-04-13 Yao Qi <yao.qi@linaro.org>
498
499 * lib/gdbserver-support.exp (gdb_exit): Catch exception
500 and use expect instead of gdb_expect.
501
8cd8f2f8
SDJ
5022015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
503
504 * gdb.base/coredump-filter.exp: Rename variable "addr" to
505 "coredump_var_addr" to avoid naming conflict with other testcases.
506
9ee41772
PA
5072015-04-10 Pedro Alves <palves@redhat.com>
508
509 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
510 gdb_test_sequence and gdb_assert.
511
07473109
PA
5122015-04-10 Pedro Alves <palves@redhat.com>
513
514 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
515 test messages that don't include the breakpoint address.
516
de3db44c
YQ
5172015-04-10 Yao Qi <yao.qi@linaro.org>
518
519 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
520 false for some offset and width combinations which aren't
521 supported by linux kernel.
522
c79d856c
PA
5232015-04-10 Pedro Alves <palves@redhat.com>
524
525 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
526 procedure, factored out from ...
527 (top level): ... here. Add "set displaced-stepping" testing axis.
528 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
529 parameter "displaced". Use it.
530 (top level): Use foreach and add "set displaced-stepping" testing
531 axis.
532
ebc90b50
PA
5332015-04-10 Pedro Alves <palves@redhat.com>
534
535 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
536 Remove comment.
537 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
538 both the address of the instruction that triggers the watchpoint
539 and the address of the instruction immediately after, and use
540 those addresses for the test. Fix comment.
541
8f572e5c
PA
5422015-04-10 Pedro Alves <palves@redhat.com>
543
544 * gdb.base/sigstep.exp (breakpoint_to_handler)
545 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
546 Test "backtrace" in handler.
547 (breakpoint_over_handler): New parameter 'displaced'. Use it.
548 (top level): Add new "displaced" test axis to
549 breakpoint_to_handler, breakpoint_to_handler_entry and
550 breakpoint_over_handler.
551
8d707a12
PA
5522015-04-10 Pedro Alves <palves@redhat.com>
553
554 PR gdb/18216
555 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
556
ef713951
YQ
5572015-04-10 Yao Qi <yao.qi@linaro.org>
558
559 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
560 (test_add_rn_pc): New function.
561 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
562 (top level): Invoke test_add_rn_pc.
563
906d60cf
PA
5642015-04-10 Pedro Alves <palves@redhat.com>
565
566 PR gdb/13858
567 * gdb.base/step-over-no-symbols.exp: New file.
568
f2983cc3
AW
5692015-04-09 Andy Wingo <wingo@igalia.com>
570
571 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
572 after the Python tests.
573
6d62641c
SDJ
5742015-04-08 Keith Seitz <keiths@redhat.com>
575
576 PR python/16699
577 * gdb.python/py-completion.exp: New tests for completion.
578 * gdb.python/py-completion.py (CompleteLimit1): New class.
579 (CompleteLimit2): Likewise.
580 (CompleteLimit3): Likewise.
581 (CompleteLimit4): Likewise.
582 (CompleteLimit5): Likewise.
583 (CompleteLimit6): Likewise.
584 (CompleteLimit7): Likewise.
585
f3770638
PA
5862015-04-08 Pedro Alves <palves@redhat.com>
587
588 PR gdb/18214
589 PR gdb/18216
590 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
591 function.
592 (main): Install it as SIGUSR1 handler.
593 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
594 parameter. Always use "setup" as prefix. Toggle "set
595 displaced-stepping" off/on depending on global. Don't switch to
596 thread 1 here.
597 (top level): Add displaced stepping "off/on" test axis. Update
598 "setup" calls. Wrap each subtest with with_test_prefix. Test
599 continuing with a queued signal in each thread.
600
4496bed7
PA
6012015-04-08 Pedro Alves <palves@redhat.com>
602
603 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
604 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
605 gdb_breakpoint instead of gdb_test that doesn't expect anything.
606 Return early if running to main fails.
607 * gdb.trace/while-stepping.exp: Likewise.
608
b97fde92
PA
6092015-04-07 Pedro Alves <palves@redhat.com>
610
611 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
612 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
613 interact with inferior program.
614
f71c18e7
PA
6152015-04-07 Pedro Alves <palves@redhat.com>
616
617 * lib/gdb.exp (inferior_spawn_id): New global.
618 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
619 spawn id after processing the user code.
620 (default_gdb_start): Set inferior_spawn_id.
621 (send_inferior): New procedure.
622 * lib/gdbserver-support.exp (gdbserver_start): Set
623 inferior_spawn_id.
624 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
625
6423214f
PA
6262015-04-07 Pedro Alves <palves@redhat.com>
627
628 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
629 * lib/gdbserver-support.exp (gdbserver_start): Make
630 $server_spawn_id global.
631 (gdbserver_start): Don't wait for gdbserver's spawn id with
632 expect_background.
633 (close_gdbserver): New procedure.
634 (gdb_exit): Rename the default version and reimplement.
635
71c0ee8c
PA
6362015-04-07 Pedro Alves <palves@redhat.com>
637
638 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
639 append the substituted item, not the original item.
640
203bc29b
PA
6412015-04-07 Pedro Alves <palves@redhat.com>
642
643 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
644 gdb_expect.
645
508a3ddf
PA
6462015-04-07 Pedro Alves <palves@redhat.com>
647
648 * gdb.base/interrupt.exp: Don't handle the case of the inferior
649 output appearing once only.
650
9f6dbe2b
PA
6512015-04-07 Pedro Alves <palves@redhat.com>
652
653 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
654 that doesn't expect anything. Return early if running to main
655 fails.
656
337532fa
YQ
6572015-04-07 Yao Qi <yao.qi@linaro.org>
658
659 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
660 (child_function): Call alarm.
661 (main): Move call to alarm into the loop.
662 * gdb.threads/non-stop-fair-events.exp: Build program with
663 -DTIMEOUT=$timeout.
664
01b622d4
DE
6652015-04-06 Doug Evans <xdje42@gmail.com>
666
667 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
668 Fix dest parameter to board_info.
669 (fpc_compile): Ditto.
670 (gdb_compile_pascal): Rename dest arg to destfile.
671
961f4160
PMR
6722015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
673
674 * gdb.ada/funcall_ref.exp: New file.
675 * gdb.ada/funcall_ref/foo.adb: New file.
676
cafda597
YQ
6772015-04-02 Yao Qi <yao.qi@linaro.org>
678
679 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
680 is remote.
681
fed040c6
GB
6822015-04-02 Gary Benson <gbenson@redhat.com>
683
684 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
685
d11916aa
SS
6862015-04-01 Sasha Smundak <asmundak@google.com>
687
688 * gdb.python/py-unwind-maint.c: New file.
689 * gdb.python/py-unwind-maint.exp: New test.
690 * gdb.python/py-unwind-maint.py: New file.
691 * gdb.python/py-unwind.c: New file.
692 * gdb.python/py-unwind.exp: New test.
693 * gdb.python/py-unwind.py: New test.
694
a1471180
PA
6952015-04-01 Pedro Alves <palves@redhat.com>
696
697 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
698 to fail instead of non-existent $test.
699
0bbeccb1
PA
7002015-04-01 Pedro Alves <palves@redhat.com>
701
702 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
703 GDBFLAGS if not empty.
704
3c724c8c
PMR
7052015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
706
707 * gdb.ada/complete.exp: Remove "multi_line".
708 * gdb.ada/info_exc.exp: Remove "multi_line".
709 * gdb.ada/packed_tagged.exp: Remove "multi_line".
710 * gdb.ada/ptype_field.exp: Remove "multi_line".
711 * gdb.ada/sym_print_name.exp: Remove "multi_line".
712 * gdb.ada/tagged.exp: Remove "multi_line".
713 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
714 [multi_line ...]
715 * gdb.btrace/delta.exp: Likewise.
716 * gdb.btrace/exception.exp: Likewise.
717 * gdb.btrace/function_call_history.exp: Likewise.
718 * gdb.btrace/instruction_history.exp: Likewise.
719 * gdb.btrace/nohist.exp: Likewise.
720 * gdb.btrace/record_goto.exp: Likewise.
721 * gdb.btrace/segv.exp: Likewise.
722 * gdb.btrace/stepi.exp: Likewise.
723 * gdb.btrace/tailcall.exp: Likewise.
724 * gdb.btrace/unknown_functions.exp: Likewise.
725 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
726 * lib/gdb.exp: Add the "multi_line" helper.
727
4eec2deb
PA
7282015-04-01 Pedro Alves <palves@redhat.com>
729
730 * gdb.threads/tid-reuse.c: New file.
731 * gdb.threads/tid-reuse.exp: New file.
732
df8411da
SDJ
7332015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
734
735 PR corefiles/16092
736 * gdb.base/coredump-filter.c: New file.
737 * gdb.base/coredump-filter.exp: Likewise.
738
6ef37366
PM
7392015-03-27 Petr Machata <pmachata@redhat.com>
740
741 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
742 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
743 (Dwarf::assemble): Initialize them.
744 (Dwarf::lines): New function.
745
7ec911b0
JT
7462015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
747
748 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
749 SYMBOL_PREFIX for x86_64-*-cygwin.
750
ff908ebf
AW
7512015-03-26 Andy Wingo <wingo@igalia.com>
752
753 PR symtab/18148
754 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
755 const_value but not a location.
756 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
757 location defined in non-main CUs are visible.
758
6d5f0679
YQ
7592015-03-26 Yao Qi <yao.qi@linaro.org>
760
761 PR testsuite/18139
762 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
763 Add a line number entry for the same line.
764 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
765 Add a line number entry for the same line.
766
2898689b
YQ
7672015-03-26 Yao Qi <yao.qi@linaro.org>
768
769 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
770 .int 0.
771 (func): Likewise. Add .Lfunc_1 label.
772 Use .Lfunc_1 label.
773 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
774 .int 0.
775 (func): Likewise.
776 Use .Lfunc_1 label.
777
85180498
YQ
7782015-03-26 Yao Qi <yao.qi@linaro.org>
779
780 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
781 Call gdb_compile instead to compile each .s files without debug
782 information.
783
8aa08a8d
YQ
7842015-03-26 Yao Qi <yao.qi@linaro.org>
785
786 * gdb.base/savedregs.exp (process_saved_regs): Make
787 "Saved registers:" optional in the pattern.
788
66849923
MM
7892015-03-25 Markus Metzger <markus.t.metzger@intel.com>
790
791 * gdb.btrace/next.exp: Merged into step.exp.
792 * gdb.btrace/finish.exp: Merged into step.exp.
793 * gdb.btrace/nexti.exp: Merged into stepi.exp.
794 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
795 "record goto" and checking the exact replay position.
796 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
797 check for "Recording format" in "info record" output.
798 * gdb.btrace/record_goto.exp: Choose test file based on target.
799 * gdb.btrace/x86-record_goto.S: Renamed into ...
800 * gdb.btrace/x86_64-record_goto.S: ... this.
801 * gdb.btrace/i686-record_goto.S: New.
802 * gdb.btrace/x86-tailcall.S: Renamed into ...
803 * gdb.btrace/x86_64-tailcall.S: ... this.
804 * gdb.btrace/i686-tailcall.S: New.
805 * gdb.btrace/x86-tailcall.c: Renamed into ...
806 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
807 separate statements. Update test.
808 * gdb.btrace/delta.exp: Use record_goto.c as test file.
809 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
810 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
811 * gdb.btrace/tailcall.exp: Choose test file based on target.
812 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
813
11cc1b74
MM
8142015-03-25 Markus Metzger <markus.t.metzger@intel.com>
815
816 * gdb.btrace/exception.exp: Increase BTS buffer size.
817
a25d8bf9
PA
8182015-03-24 Pedro Alves <palves@redhat.com>
819
820 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
821
856e7dd6
PA
8222015-03-24 Pedro Alves <palves@redhat.com>
823
824 * gdb.threads/schedlock.exp (test_step): No longer expect that
825 "set scheduler-locking step" with "next" over a function call runs
826 threads unlocked.
827
ad235a41
AT
8282015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
829
830 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
831
15630549
AT
8322015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
833
834 PR breakpoints/16466
835 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
836 * gdb.mi/mi-pending.c (thread_func): New function.
837 (int main): Add threading support required.
838 * gdb.mi/mi-pending.exp: Add tests for this issue.
839 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
840 (pendfunc2): Remove stdio dependency.
841 * gdb.mi/mi-pendshr2.c: New file.
842
693dca06
KS
8432015-03-23 Keith Seitz <keiths@redhat.com>
844
845 * gdb.linespec/keywords.c: New file.
846 * gdb.linespec/keywords.exp: New file.
847
7e993ebf
KS
8482015-03-23 Keith Seitz <keiths@redhat.com>
849
850 PR gdb/18021
851 * gdb.dwarf2/staticvirtual.exp: New test.
852
bc23328c
JK
8532015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
854
855 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
856 * README: Remove HP-UX and gdb.hp.
857 (configuration):
858 * configure: Regenerate.
859 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
860 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
861 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
862 gdb.hp/gdb.defects/Makefile.
863 * gdb.hp/Makefile.in: File deleted.
864 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
865 * gdb.hp/gdb.aCC/optimize.c: File deleted.
866 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
867 * gdb.hp/gdb.aCC/run.c: File deleted.
868 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
869 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
870 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
871 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
872 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
873 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
874 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
875 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
876 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
877 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
878 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
879 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
880 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
881 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
882 * gdb.hp/gdb.base-hp/reg.s: File deleted.
883 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
884 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
885 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
886 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
887 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
888 * gdb.hp/gdb.compat/Makefile.in: File deleted.
889 * gdb.hp/gdb.compat/average.c: File deleted.
890 * gdb.hp/gdb.compat/sum.c: File deleted.
891 * gdb.hp/gdb.compat/xdb.c: File deleted.
892 * gdb.hp/gdb.compat/xdb0.c: File deleted.
893 * gdb.hp/gdb.compat/xdb0.h: File deleted.
894 * gdb.hp/gdb.compat/xdb1.c: File deleted.
895 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
896 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
897 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
898 * gdb.hp/gdb.defects/Makefile.in: File deleted.
899 * gdb.hp/gdb.defects/bs14602.c: File deleted.
900 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
901 * gdb.hp/gdb.defects/solib-d.c: File deleted.
902 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
903 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
904 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
905 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
906 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
907 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
908 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
909 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
910 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
911 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
912 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
913 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
914 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
915 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
916 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
917 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
918 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
919 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
920 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
921 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
922 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
923 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
924 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
925 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
926 * gdb.hp/tools/odump: File deleted.
927
8bf3b159
PA
9282015-03-19 Pedro Alves <palves@redhat.com>
929
930 * gdb.threads/continue-pending-status.exp (saw_thread_2)
931 (saw_thread_3): New globals.
932 (top level): Increment them when an event for the corresponding
933 thread is seen.
934 (no thread starvation): New test.
935
eb54c8bf
PA
9362015-03-19 Pedro Alves <palves@redhat.com>
937
938 * gdb.threads/continue-pending-status.c: New file.
939 * gdb.threads/continue-pending-status.exp: New file.
940
32d2e5d6
PA
9412015-03-18 Pedro Alves <palves@redhat.com>
942
943 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
944 Use gdb_is_target_remote instead of is_remote. Use
945 gdb_test_multiple instead of gdb_expect. Exit early if
946 gdb_test_multiple hits its internal matches. Tighten stepi tests
947 expected output. Fail on exit with any signal, instead of just
948 SIGILL.
949
f68f11b7
YQ
9502015-03-18 Yao Qi <yao.qi@linaro.org>
951
952 PR tdep/18107
953 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
954 variable.
955 * gdb.base/catch-syscall.exp: Don't skip it on
956 aarch64*-*-linux* target. Remove elements in all_syscalls.
957 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
958 target.
959 (setup_all_syscalls): New proc.
960
ca5fd19b
YQ
9612015-03-16 Yao Qi <yao.qi@linaro.org>
962
963 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
964 (top level): Skip tests if valid_addr_p returns false for
965 $cmd1 or $cmd2.
966
85642ba0
AW
9672015-03-11 Andy Wingo <wingo@igalia.com>
968
969 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
970
e03f9645
YQ
9712015-03-11 Yao Qi <yao.qi@linaro.org>
972
973 * gdb.base/catch-syscall.exp: Fix typo in comments.
974
5d0962b2
YQ
9752015-03-11 Yao Qi <yao.qi@linaro.org>
976
977 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
978
b2df3cef
PA
9792015-03-09 Pedro Alves <palves@redhat.com>
980
981 * dg-extract-results.py: Delete.
982
ef878e53
PA
9832015-03-09 Pedro Alves <palves@redhat.com>
984
985 Merge dg-extract-results.sh from GCC upstream (r218843).
986
987 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
988 * dg-extract-results.sh: Use --text with grep to avoid issues with
989 binary files. Fall back to cat -v, if that doesn't work.
990
9494d219
PA
9912015-03-05 Pedro Alves <palves@redhat.com>
992
993 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
994
a8d9763a
SM
9952015-03-04 Simon Marchi <simon.marchi@ericsson.com>
996
997 * lib/mi-support.exp (mi_expect_interrupt): Accept
998 alternative event for when in all-stop mode.
999
be9957b8
PA
10002015-03-04 Pedro Alves <palves@redhat.com>
1001
1002 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
1003
d57be0f4 10042015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
1005
1006 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
1007
c214c7cf
AA
10082015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
1009
1010 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
1011 regexps for GDB's current line display, accept a hex address
1012 preceding the line number.
1013
6d74a497
AA
10142015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
1015
1016 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
1017 the 'arch1' variable for "s390*-linux*" targets.
1018
511aee7c
PA
10192015-03-04 Pedro Alves <palves@redhat.com>
1020
1021 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
1022 (main): Pass missing retval argument to pthread_join call.
1023
95e50b27
PA
10242015-03-02 Pedro Alves <palves@redhat.com>
1025
1026 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
1027 (top level): Call do_test with non-stop as well.
1028
28054d69
PA
10292015-03-02 Pedro Alves <palves@redhat.com>
1030
1031 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
1032 -1.
1033
4fa5d7b4
AA
10342015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1035
1036 * gdb.arch/s390-vregs.exp: New test.
1037 * gdb.arch/s390-vregs.S: New file.
1038
97c18565
PA
10392015-02-27 Pedro Alves <palves@redhat.com>
1040
1041 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
1042 call to catch_command_errors.
1043 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
1044 catch_command_errors.
1045
a37bfa30
PA
10462015-02-27 Pedro Alves <palves@redhat.com>
1047
1048 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
1049 "true" for boolean result.
1050 * gdb.gdb/selftest.exp (test_with_self): Also accept full
1051 prototype of main.
1052
6f98576f
PA
10532015-02-27 Pedro Alves <palves@redhat.com>
1054
1055 * lib/unbuffer_output.c: New file.
1056 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
1057 (main): Call gdb_unbuffer_output.
1058
eba5ab56
YQ
10592015-02-27 Yao Qi <yao.qi@linaro.org>
1060
1061 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
1062 target.
1063
0def5aaa
DE
10642015-02-26 Doug Evans <dje@google.com>
1065
1066 * gdb.cp/class2.cc (Dbase, D): New classes.
1067 (main): New local delta.
1068 * gdb.cp/class2.exp: Test printing delta.
1069 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
1070 (dynbar): New global.
1071 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
1072
081a1c2c
JK
10732015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1074
1075 * gdb.compile/compile-ifunc.c: New file.
1076 * gdb.compile/compile-ifunc.exp: New file.
1077
2f41223f
AT
10782015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
1079
1080 * gdb.base/structs.exp: Check for correct struct on finish.
1081
03eddd80
YQ
10822015-02-26 Yao Qi <yao.qi@linaro.org>
1083
1084 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
1085 is zero.
1086
80c57053
JK
10872015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1088
1089 * gdb.arch/cordic.ko.bz2: New file.
1090 * gdb.arch/cordic.ko.debug.bz2: New file.
1091 * gdb.arch/ppc64-symtab-cordic.exp: New file.
1092
21613c12
YQ
10932015-02-25 Yao Qi <yao.qi@linaro.org>
1094
1095 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
1096 aarch64*-*-* target.
1097
d8b901ed
PA
10982015-02-23 Pedro Alves <palves@redhat.com>
1099
1100 * lib/gdb.exp (delete_breakpoints): Rewrite using
1101 gdb_test_multiple.
1102
e5b85ead
PA
11032015-02-23 Pedro Alves <palves@redhat.com>
1104
1105 * gdb.base/info-os.c: Include stdlib.h.
1106
85c3a371
DE
11072015-02-22 Doug Evans <xdje42@gmail.com>
1108
1109 PR symtab/17855
1110 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
1111 is read after symbols have been re-read.
1112 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
1113 * gdb.ada/exec_changed/second.adb (Second): Ditto.
1114
96553a0c
DE
11152015-02-21 Doug Evans <dje@google.com>
1116
1117 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
1118
97a0c697
JK
11192015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1120
1121 PR corefiles/17808
1122 * gdb.arch/i386-biarch-core.core.bz2: New file.
1123 * gdb.arch/i386-biarch-core.exp: New file.
1124
a47cd6e9
PA
11252015-02-21 Pedro Alves <palves@redhat.com>
1126
1127 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
1128 runto_main fails.
1129
c5facdc4
PA
11302015-02-20 Pedro Alves <palves@redhat.com>
1131
1132 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
1133 info probes.
1134
2db9a427
PA
11352015-02-20 Pedro Alves <palves@redhat.com>
1136
1137 * gdb.threads/multi-create-ns-info-thr.exp: New file.
1138
60fb7e9e
PA
11392015-02-20 Pedro Alves <palves@redhat.com>
1140
1141 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
1142 clean_restart before gdb_target_supports_trace.
1143
5c5019c2
PA
11442015-02-20 Pedro Alves <palves@redhat.com>
1145
1146 PR threads/18006
1147 * gdb.threads/clone-thread_db.c: New file.
1148 * gdb.threads/clone-thread_db.exp: New file.
1149
c9587f88
AT
11502015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
1151
1152 PR breakpoints/16812
1153 * gdb.base/catch-gdb-caused-signals.c: New file.
1154 * gdb.base/catch-gdb-caused-signals.exp: New file.
1155
f6a88844
JM
11562015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
1157
1158 * configure: Regenerated.
1159 * configure.ac: Use GDB_AC_TRANSFORM.
1160 * aclocal.m4: sinclude ../transform.m4.
1161
497c491b
JM
11622015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1163
1164 * lib/dtrace.exp: New file.
1165 * gdb.base/dtrace-probe.exp: Likewise.
1166 * gdb.base/dtrace-probe.d: Likewise.
1167 * gdb.base/dtrace-probe.c: Likewise.
1168 * lib/pdtrace.in: Likewise.
1169 * configure.ac: Output variables with the transformed names of
1170 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
1171 * configure: Regenerated.
1172
03e98035
JM
11732015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1174
1175 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
1176 expected message when trying to access $_probe_* convenience
1177 variables while not on a probe.
1178
63cc30e9
JK
11792015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1180
1181 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
1182
0703599a
PA
11832015-02-11 Pedro Alves <pedro@codesourcery.com>
1184
1185 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
1186 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
1187
7e60a48e
DE
11882015-02-10 Doug Evans <xdje42@gmail.com>
1189
1190 * lib/gdb.exp (gdb_load): Always return a result.
1191
01b088bc
PA
11922015-02-10 Pedro Alves <palves@redhat.com>
1193
1194 * gdb.threads/signal-sigtrap.c: New file.
1195 * gdb.threads/signal-sigtrap.exp: New file.
1196
b05ec7a5
AT
11972015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
1198
1199 * gdb.trace/no-attach-trace.c: New file.
1200 * gdb.trace/no-attach-trace.exp: New file.
1201
a2c2acaf
MW
12022015-02-09 Mark Wielaard <mjw@redhat.com>
1203
1204 * gdb.dwarf2/atomic.c: New file.
1205 * gdb.dwarf2/atomic-type.exp: Likewise.
1206
31fd9caa
MM
12072015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1208
1209 * gdb.btrace/buffer-size.exp: Update "info record" output.
1210 * gdb.btrace/delta.exp: Update "info record" output.
1211 * gdb.btrace/enable.exp: Update "info record" output.
1212 * gdb.btrace/finish.exp: Update "info record" output.
1213 * gdb.btrace/instruction_history.exp: Update "info record" output.
1214 * gdb.btrace/next.exp: Update "info record" output.
1215 * gdb.btrace/nexti.exp: Update "info record" output.
1216 * gdb.btrace/step.exp: Update "info record" output.
1217 * gdb.btrace/stepi.exp: Update "info record" output.
1218 * gdb.btrace/nohist.exp: Update "info record" output.
1219
d33501a5
MM
12202015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1221
1222 * gdb.btrace/buffer-size: New.
1223
f4abbc16
MM
12242015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1225
1226 * gdb.btrace/delta.exp: Update "info record" output.
1227 * gdb.btrace/enable.exp: Update "info record" output.
1228 * gdb.btrace/finish.exp: Update "info record" output.
1229 * gdb.btrace/instruction_history.exp: Update "info record" output.
1230 * gdb.btrace/next.exp: Update "info record" output.
1231 * gdb.btrace/nexti.exp: Update "info record" output.
1232 * gdb.btrace/step.exp: Update "info record" output.
1233 * gdb.btrace/stepi.exp: Update "info record" output.
1234 * gdb.btrace/nohist.exp: Update "info record" output.
1235
b9d61307
SM
12362015-02-06 Simon Marchi <simon.marchi@ericsson.com>
1237
1238 PR gdb/15678
1239 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
1240
e584fdbc
PA
12412015-02-06 Pedro Alves <palves@redhat.com>
1242
1243 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
1244 macro.
1245 (seconds_left, again): New globals.
1246 (main): Wait seconds_left in a 1-second sleep loop instead of
1247 sleeping 180 seconds. If 'again' is set, reset the seconds
1248 counter.
1249 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
1250 'again' in the inferior before detaching. Print the seconds left.
1251 (options): New global.
1252 (top level): Build program with -DTIMEOUT=$timeout.
1253
77f41761
PA
12542015-02-06 Pedro Alves <palves@redhat.com>
1255
1256 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
1257 determine how many seconds to pass to 'alarm'.
1258 * gdb.base/gdb-sigterm.exp (top level): Build program with
1259 -DTIMEOUT=$timeout.
1260 (do_test): Return success/failure indication. Add more verbose
1261 logging. Don't fail if 200 single steps are seen. Instead, fail
1262 when the test times out.
1263 (passes): New global.
1264 (top level): Break the testing loop if testing fails on any
1265 iteration. Use gdb_assert.
1266
b9394193
DB
12672015-02-04 Don Breazeal <donb@codesourcery.com>
1268
1269 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
1270 and initialize them.
1271 (ipc_cleanup): New function.
1272 (main): Don't declare shmid, semid, and msqid. Add a call to
1273 atexit so that we call ipc_cleanup on exit.
1274
42d9e528
PA
12752015-02-04 Pedro Alves <palves@redhat.com>
1276
1277 * boards/native-extended-gdbserver.exp: Remove any target variant
1278 specifications from the board name before clearing the isremote
1279 flag from board_info.
1280
ae6ae975
DE
12812015-01-31 Doug Evans <xdje42@gmail.com>
1282
1283 * gdb.base/maint.exp <maint print type argc>: Update expected output.
1284
cfb069a8
GB
12852015-01-31 Gary Benson <gbenson@redhat.com>
1286
1287 * gdb.base/completion.exp: Disable completion limiting for
1288 existing tests. Add new tests to check completion limiting.
1289 * gdb.linespec/ls-errs.exp: Disable completion limiting.
1290
5dd31d79
DE
12912015-01-31 Doug Evans <xdje42@gmail.com>
1292
1293 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
1294
9f050062
DE
12952015-01-31 Doug Evans <xdje42@gmail.com>
1296
1297 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
1298 entries. Duplicate file section script entries.
1299 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
1300 inlined entries. Add test for safe-path rejection.
1301 * gdb.python/py-section-script.c: Add duplicate inlined section script
1302 entries. Duplicate file section script entries.
1303 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
1304 inlined entries. Add test for safe-path rejection.
1305
df25ebbd
JB
13062015-01-29 Joel Brobecker <brobecker@adacore.com>
1307
1308 * gdb.ada/disc_arr_bound: New testcase.
1309
4a0ca9ec
JB
13102015-01-29 Joel Brobecker <brobecker@adacore.com>
1311
1312 * gdb.ada/mi_var_array: New testcase.
1313
3a8b707a
DE
13142015-01-27 Doug Evans <dje@google.com>
1315
1316 * gdb.python/py-objfile.exp: Add tests for objfile.username.
1317 Add test for objfile.filename, objfile.username after objfile
1318 has been unloaded.
1319
f8313f6e
JB
13202015-01-26 Joel Brobecker <brobecker@adacore.com>
1321
1322 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
1323 the second test to print the name attribute of value
1324 returned by the call to gdb.lookup_type, and adjust
1325 the expected output accordingly.
1326
37bc665e
MW
13272015-01-25 Mark Wielaard <mjw@redhat.com>
1328
1329 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
1330 * gdb.base/disp-step-fork.c: Include unistd.h.
1331 * gdb.base/siginfo-obj.c: Include stdio.h.
1332 * gdb.base/siginfo-thread.c: Likewise.
1333 * gdb.mi/non-stop.c: Include unistd.h.
1334 * gdb.mi/nsthrexec.c: Include stdio.h.
1335 * gdb.mi/pthreads.c: Include unistd.h.
1336 * gdb.modula2/unbounded1.c (main): Declare returns int.
1337 * gdb.reverse/consecutive-reverse.c: Likewise.
1338 * gdb.threads/create-fail.c: Include unistd.h.
1339 * gdb.threads/killed.c: Likewise.
1340 * gdb.threads/linux-dp.c: Likewise.
1341 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
1342 * gdb.threads/non-ldr-exc-2.c: Likewise.
1343 * gdb.threads/non-ldr-exc-3.c: Likewise.
1344 * gdb.threads/non-ldr-exc-4.c: Likewise.
1345 * gdb.threads/pthreads.c: Include unistd.h.
1346 (main): Declare returns int.
1347 * gdb.threads/tls-main.c (foo): New declaration.
1348 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
1349
f7e5394d
SM
13502015-01-23 Simon Marchi <simon.marchi@ericsson.com>
1351
1352 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
1353 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
1354
743649fd
MW
13552015-01-15 Mark Wielaard <mjw@redhat.com>
1356
1357 * gdb.base/noreturn-return.c: New file.
1358 * gdb.base/noreturn-return.exp: New file.
1359 * gdb.base/noreturn-finish.c: New file.
1360 * gdb.base/noreturn-finish.exp: New file.
1361
198297aa
PA
13622015-01-23 Pedro Alves <palves@redhat.com>
1363
1364 * gdb.threads/continue-pending-after-query.c: New file.
1365 * gdb.threads/continue-pending-after-query.exp: New file.
1366
717cf30c
AG
13672015-01-22 Anders Granlund <anders.granlund@ericsson.com>
1368 Simon Marchi <simon.marchi@ericsson.com>
1369
1370 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
1371 * gdb.base/valgrind-db-attach.exp: Same.
1372 * gdb.base/valgrind-infcall.exp: Same.
1373 * lib/mi-support.exp (default_mi_gdb_start): Same.
1374 * lib/prompt.exp (default_prompt_gdb_start): Same.
1375 * lib/gdb.exp (default_gdb_spawn): Same.
1376 (gdb_interact): New.
1377
1378
4b62a76e
JK
13792015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1380
1381 * gdb.compile/compile.exp (pointer to jit function): New test.
1382
b4cdae6f
WW
13832015-01-17 Wei-cheng Wang <cole945@gmail.com>
1384
1385 * lib/gdb.exp (supports_process_record): Return true for
1386 powerpc*-*-linux*.
1387 (supports_reverse): Likewise.
1388
d221e7ef
DB
13892015-01-15 Don Breazeal <donb@codesourcery.com>
1390
1391 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
1392 instead of checking whether the target board is remote and
1393 use spawn_wait_for_attach instead of exec/sleep.
1394 * gdb.base/attach-twice.exp: Likewise.
1395
bafffb51
JB
13962015-01-15 Joel Brobecker <brobecker@adacore.com>
1397
1398 * gdb.ada/var_arr_attrs: New testcase.
1399
5589af0e
PA
14002015-01-14 Pedro Alves <palves@redhat.com>
1401 Joel Brobecker <brobecker@adacore.com>
1402
1403 PR gdb/17525
1404 * gdb.base/bp-cmds-execution-x-script.c: New file.
1405 * gdb.base/bp-cmds-execution-x-script.exp: New file.
1406 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
1407
6c400b59
PA
14082015-01-14 Pedro Alves <palves@redhat.com>
1409
1410 PR cli/17828
1411 * gdb.base/batch-preserve-term-settings.c: New file.
1412 * gdb.base/batch-preserve-term-settings.exp: New file.
1413
e02c96a7
DE
14142015-01-13 Doug Evans <dje@google.com>
1415
1416 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
1417 binary.
1418
576fd14c
JB
14192015-01-13 Joel Brobecker <brobecker@adacore.com>
1420
1421 * Makefile.in (clean mostlyclean): Do not delete *.py.
1422
04dccad0
JB
14232015-01-13 Joel Brobecker <brobecker@adacore.com>
1424
1425 * gdb.python/py-lookup-type.exp: New file.
1426
3d230f71
PA
14272015-01-12 Pedro Alves <palves@redhat.com>
1428
1429 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
1430 restore GDBFLAGS before returning.
1431
7e67715d
JK
14322015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1433
1434 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
1435 is_amd64_regs_target and is_x86_like_target.
1436
f2e0d4b4
DE
14372015-01-11 Doug Evans <xdje42@gmail.com>
1438
1439 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
1440 is given without an explicit form.
1441 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
1442 attributes.
1443 * gdb.dwarf/corrupt.exp: Ditto.
1444 * gdb.dwarf2/enum-type.exp: Ditto.
1445 * gdb.trace/entry-values.exp: Ditto.
1446 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
1447
439250fb
DE
14482015-01-11 Doug Evans <xdje42@gmail.com>
1449
1450 PR gdb/15830
1451 * gdb.base/maint.exp: Remove references to "maint demangle".
1452 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
1453 Add tests for explicitly specifying language to demangle.
1454 * gdb.dlang/demangle.exp: Ditto.
1455
ede9f622
PA
14562015-01-09 Pedro Alves <palves@redhat.com>
1457
1458 * gdb.threads/non-stop-fair-events.c: New file.
1459 * gdb.threads/non-stop-fair-events.exp: New file.
1460
a7b796db
PA
14612015-01-09 Pedro Alves <palves@redhat.com>
1462
1463 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
1464 the global scope. Set a breakpoint after all threads are started
1465 rather than stepping over two source lines. Expect the prompt.
1466 * gdb.base/watch_thread_num.c (threads_started_barrier): New
1467 global.
1468 (NUM): Now 15.
1469 (main): Use threads_started_barrier to wait for all threads to
1470 start. Main thread no longer calls thread_function. Exit after
1471 180 seconds.
1472 (loop): New function.
1473 (thread_function): Wait on threads_started_barrier barrier. Call
1474 'loop' at each iteration.
1475 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
1476 threads have started, instead of hardcoding number of "next"
1477 steps. Use an access watchpoint instead of a write watchpoint.
1478
9665ffdd
PA
14792015-01-09 Pedro Alves <palves@redhat.com>
1480
1481 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
1482 (thread_func): Wait on barrier.
1483 (main): Wait for all threads to start before stopping GDB.
1484 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
1485 global.
1486 (thread1_func, thread2_func): Wait on barrier.
1487 (main): Wait for all threads to start before stopping GDB.
1488 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
1489 New global.
1490 (thread1_func, thread2_func): Wait on barrier.
1491 (main): Wait for all threads to start before stopping GDB.
1492
c945a99f
PA
14932015-01-09 Pedro Alves <palves@redhat.com>
1494
1495 * gdb.threads/attach-many-short-lived-threads.c: New file.
1496 * gdb.threads/attach-many-short-lived-threads.exp: New file.
1497
c1a747c1
PA
14982014-01-09 Pedro Alves <palves@redhat.com>
1499
1500 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
1501 instead of to thread 2.
1502 * gdb.threads/signal-command-multiple-signals-pending.c (main):
1503 Add barrier around each pthread_create call instead of around all
1504 calls.
1505 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
1506 Set a break on thread_function and have the child threads hit it
1507 one at at a time.
1508
60b3033e
PA
15092015-01-09 Pedro Alves <palves@redhat.com>
1510
1511 * lib/gdb.exp (can_spawn_for_attach): New procedure.
1512 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
1513 false.
1514 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
1515 checking whether the target board is remote.
1516 * gdb.multi/multi-attach.exp: Likewise.
1517 * gdb.python/py-sync-interp.exp: Likewise.
1518 * gdb.server/ext-attach.exp: Likewise.
1519 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
1520 tests that need to attach, instead of checking whether the target
1521 board is remote at the top of the file.
1522
acc018ac
YQ
15232015-01-08 Yao Qi <yao@codesourcery.com>
1524
1525 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
1526
50a18af8
JK
15272015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1528
1529 Fix testcase compilation.
1530 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
1531
8503d6e1
JB
15322015-01-06 Joel Brobecker <brobecker@adacore.com>
1533
1534 * gdb.python/py-type.exp: Add a couple test about empty
1535 array creation, and negative-length array creation.
1536
cc73dbcc
DE
15372015-01-02 Doug Evans <xdje42@gmail.com>
1538
1539 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
1540
0300bbc7
DE
15412015-01-02 Doug Evans <dje@google.com>
1542
1543 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
1544
9d85a0ec
YQ
15452014-12-29 Yao Qi <yao@codesourcery.com>
1546
1547 * gdb.trace/entry-values.exp: Update comments. Rename variable
1548 bar_call_foo to returned_from_foo.
1549
87186c6a
MMN
15502014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
1551
1552 PR gdb/17394
1553 * gdb.linespec/break-asm-file.c: New file.
1554 * gdb.linespec/break-asm-file.exp: New file.
1555 * gdb.linespec/break-asm-file0.s: New file.
1556 * gdb.linespec/break-asm-file1.s: New file.
1557
1bab7383
YQ
15582014-12-18 Nigel Stephens <nigel@mips.com>
1559 Maciej W. Rozycki <macro@codesourcery.com>
1560
1561 * gdb.base/float.exp: Handle the new output from "info float" on
1562 MIPS targets.
1563
1bc1068a
JK
15642014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1565
1566 Fix MinGW compilation.
1567 * gdb.compile/compile-ops.exp: Update untested message if
1568 !skip_compile_feature_tests.
1569 * gdb.compile/compile-setjmp.exp: Likewise.
1570 * gdb.compile/compile-tls.exp: Likewise.
1571 * gdb.compile/compile.exp: Likewise.
1572 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
1573 supported on this host".
1574
b6615d10
DE
15752014-12-16 Doug Evans <xdje42@gmail.com>
1576
1577 * boards/stabs.exp: New file.
1578
25dda427
AA
15792014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
1580
1581 * gdb.base/completion.exp: Adjust to format changes of "maint
1582 print user-registers".
1583
bf330350
CU
15842014-12-16 Catalin Udma <catalin.udma@freescale.com>
1585
1586 PR server/17457
1587 * gdb.arch/aarch64-fp.c: New file.
1588 * gdb.arch/aarch64-fp.exp: New file.
1589
395cf596
SDJ
15902014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
1591
1592 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
1593 r210637, r210913, r211666, r215400, r215817).
1594
1595 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
1596 * dg-extract-results.py: New file.
1597 * dg-extract-results.sh: Use it if the environment seems
1598 suitable.
1599
1600 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
1601
1602 * dg-extract-results.py (parse_run): Handle warnings that
1603 are printed before a test harness is run.
1604
1605 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
1606
1607 * dg-extract-results.py (Named): Remove __cmp__ method.
1608 (output_variation): Use a key to sort variation.harnesses.
1609
1610 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
1611
1612 * dg-extract-results.py: For Python 3, force sys.stdout to
1613 handle surrogate escape sequences.
1614 (safe_open): New function.
1615 (output_segment, main): Use it.
1616
1617 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
1618
1619 * dg-extract-results.py (Prog.result_re): Include options
1620 in test name.
1621
1622 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
1623
1624 * dg-extract-results.py (output_variation): Always sort if
1625 do_sum.
1626
e882ef3c
SM
16272014-12-15 Simon Marchi <simon.marchi@ericsson.com>
1628
1629 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
1630 as long as we get pagination notifications.
1631
4992aa20
JM
16322014-12-15 Jason Merrill <jason@redhat.com>
1633
1634 * Makefile.in (check-gdb.%): Restore.
1635 * README: Mention it.
1636
c1b5a1a6
JB
16372014-12-13 Joel Brobecker <brobecker@adacore.com>
1638
1639 * gdb.ada/str_uninit: New testcase.
1640
5537b577
JK
16412014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1642
1643 PR symtab/17642
1644 * gdb.base/vla-stub-define.c: New file.
1645 * gdb.base/vla-stub.c: New file.
1646 * gdb.base/vla-stub.exp: New file.
1647
bb2ec1b3
TT
16482014-12-12 Phil Muldoon <pmuldoon@redhat.com>
1649 Jan Kratochvil <jan.kratochvil@redhat.com>
1650 Tom Tromey <tromey@redhat.com>
1651
1652 * configure.ac: Add gdb.compile/.
1653 * configure: Regenerate.
1654 * gdb.compile/Makefile.in: New file.
1655 * gdb.compile/compile-ops.exp: New file.
1656 * gdb.compile/compile-ops.c: New file.
1657 * gdb.compile/compile-tls.c: New file.
1658 * gdb.compile/compile-tls.exp: New file.
1659 * gdb.compile/compile-constvar.S: New file.
1660 * gdb.compile/compile-constvar.c: New file.
1661 * gdb.compile/compile-mod.c: New file.
1662 * gdb.compile/compile-nodebug.c: New file.
1663 * gdb.compile/compile-setjmp-mod.c: New file.
1664 * gdb.compile/compile-setjmp.c: New file.
1665 * gdb.compile/compile-setjmp.exp: New file.
1666 * gdb.compile/compile-shlib.c: New file.
1667 * gdb.compile/compile.c: New file.
1668 * gdb.compile/compile.exp: New file.
1669 * lib/gdb.exp (skip_compile_feature_tests): New proc.
1670
4ff709eb
TT
16712014-12-12 Tom Tromey <tromey@redhat.com>
1672
1673 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
1674 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
1675
6dddd6a5
DE
16762014-12-12 Doug Evans <dje@google.com>
1677
1678 * lib/gdb-python.exp (get_python_valueof): New function.
1679 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
1680
71c24708
AA
16812014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1682
1683 * gdb.base/completion.exp: Add test for completion of "info
1684 registers ".
1685
3e29f34a
MR
16862014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
1687
1688 * gdb.base/func-ptrs.c: New file.
1689 * gdb.base/func-ptrs.exp: New file.
1690
fc126975
SM
16912014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1692
1693 PR breakpoints/17012
1694 * gdb.base/dprintf-detach.c: New file.
1695 * gdb.base/dprintf-detach.exp: New file.
1696
0a46d518
SM
16972014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1698
1699 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
1700 * lib/gdb.exp (target_is_gdbserver): New procedure.
1701
a0be3e44
DE
17022014-12-08 Doug Evans <dje@google.com>
1703
1704 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
1705
df1b803a
YQ
17062014-12-05 Yao Qi <yao@codesourcery.com>
1707
1708 * gdb.guile/scm-error.exp: Remove the third argument to
1709 gdb_remote_download.
1710 * gdb.guile/scm-frame-args.exp: Likewise.
1711 * gdb.guile/scm-section-script.exp: Likewise.
1712
ddb9f679
YQ
17132014-12-05 Yao Qi <yao@codesourcery.com>
1714
1715 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
1716
86e4ed39
DE
17172014-12-04 Doug Evans <dje@google.com>
1718
1719 * gdb.python/py-objfile.exp: Add tests for
1720 objfile.add_separate_debug_file.
1721
7c50a931
DE
17222014-12-04 Doug Evans <dje@google.com>
1723
1724 * lib/gdb.exp (get_build_id): New function.
1725 (build_id_debug_filename_get): Rewrite to use it.
1726 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
1727
621661e3
MR
17282014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
1729
1730 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
1731 `method(long)', not just 0x0.
1732 * gdb.cp/nsalias.exp: Align code labels to 4.
1733 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
1734 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
1735 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
1736 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
1737 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
1738 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
1739
29f0c3b7
DE
17402014-12-02 Doug Evans <dje@google.com>
1741
e1e061e7 1742 PR symtab/17602
29f0c3b7 1743 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 1744 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
1745 * gdb.cp/anon-ns.exp: Update.
1746
162078c8
NB
17472014-12-02 Nick Bull <nicholaspbull@gmail.com>
1748
1749 * gdb.python/py-events.py (inferior_call_handler): New.
1750 (register_changed_handler, memory_changed_handler): New.
1751 (test_events.invoke): Register new handlers.
1752 * gdb.python/py-events.exp: Add tests for inferior call,
1753 memory_changed and register_changed events.
1754
fdb09caf
AA
17552014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1756
1757 * gdb.base/execl-update-breakpoints.exp: Specify the link address
1758 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
1759 if the linker doesn't understand this.
1760
55cfb2c4
SM
17612014-12-01 Simon Marchi <simon.marchi@ericsson.com>
1762
1763 * gdb.python/python.exp: Change expected reply to help().
1764
9e8cd6df
YQ
17652014-12-01 Yao Qi <yao@codesourcery.com>
1766
1767 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
1768 AC_CONFIG_SUBDIRS(gdb.gdbtk).
1769 * configure: Re-generated.
1770
6c659fc2
SC
17712014-11-28 Siva Chandra Reddy <sivachandra@google.com>
1772
1773 * gdb.cp/chained-calls.cc: New file.
1774 * gdb.cp/chained-calls.exp: New file.
1775 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
1776
d7fc3181
SM
17772014-11-28 Simon Marchi <simon.marchi@ericsson.com>
1778
1779 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
1780 * gdb.dwarf2/symtab-producer.exp: Same.
1781 * gdb.gdb/python-interrupts.exp: Same.
1782 * gdb.gdb/python-selftest.exp: Same.
1783 * gdb.python/py-linetable.exp: Same.
1784 * gdb.python/py-type.exp: Same.
1785 * gdb.python/py-value-cc.exp: Same.
1786 * gdb.python/py-value.exp: Same.
1787
10e79639
YQ
17882014-11-28 Yao Qi <yao@codesourcery.com>
1789
1790 * gdb.base/break-probes.exp: Match library name prefixed with
1791 sysroot.
1792
f28a0564
SM
17932014-11-27 Simon Marchi <simon.marchi@ericsson.com>
1794
1795 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
1796 test expected output. Add parentheses for the call to print.
1797 Remove L suffix from integers.
1798
3fe1ce1d
DE
17992014-11-26 Doug Evans <dje@google.com>
1800
1801 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
1802
84429e27
YQ
18032014-11-22 Yao Qi <yao@codesourcery.com>
1804
1805 * gdb.trace/entry-values.c: Remove asms.
1806 (foo): Add foo_label.
1807 (bar): Add bar_label.
1808 * gdb.trace/entry-values.exp: Remove code computing foo's
1809 length and bar's length.
1810 (Dwarf::assemble): Invoke function_range for bar and use
1811 MACRO_AT_func for foo.
1812
26741859
YQ
18132014-11-22 Yao Qi <yao@codesourcery.com>
1814
1815 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
1816 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
1817 Use .Lgcc43_procstart instead of gcc43.
1818
45e44d27
JB
18192014-11-21 Joel Brobecker <brobecker@adacore.com>
1820
1821 * gdb.ada/n_arr_bound: New testcase.
1822
458c8db8
SDJ
18232014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1824
1825 PR breakpoints/10737
1826 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
1827 test_catch_syscall_multi_arch.
1828 (test_catch_syscall_multi_arch): New function.
1829
43f3e411
DE
18302014-11-20 Doug Evans <xdje42@gmail.com>
1831
1832 * gdb.base/maint.exp: Update expected output.
1833
0d7b2549
AA
18342014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1835
1836 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
1837 4-byte instruction on S390.
1838
8908fca5
JB
18392014-11-19 Joel Brobecker <brobecker@adacore.com>
1840
1841 * gdb.ada/arr_arr: New testcase.
1842
4a46959e
JB
18432014-11-19 Joel Brobecker <brobecker@adacore.com>
1844
1845 * gdb.ada/pkd_arr_elem: New Testcase.
1846
470e2f4e
LM
18472014-11-18 Luis Machado <lgustavo@codesourcery.com>
1848
1849 * gdb.reverse/break-precsave: Expect completion message for
1850 core file reads.
1851 * gdb.reverse/consecutive-precsave.exp: Likewise.
1852 * gdb.reverse/finish-precsave.exp: Likewise.
1853 * gdb.reverse/i386-precsave.exp: Likewise.
1854 * gdb.reverse/machinestate-precsave.exp: Likewise.
1855 * gdb.reverse/sigall-precsave.exp: Likewise.
1856 * gdb.reverse/solib-precsave.exp: Likewise.
1857 * gdb.reverse/step-precsave.exp: Likewise.
1858 * gdb.reverse/until-precsave.exp: Likewise.
1859 * gdb.reverse/watch-precsave.exp: Likewise.
1860
a267f3ad
AA
18612014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1862
1863 * gdb.base/bp-permanent.c: Include unistd.h.
1864 * gdb.python/py-framefilter-mi.c (main): Add return type.
1865 * gdb.python/py-framefilter.c (main): Likewise.
1866 * gdb.trace/actions-changed.c (main): Likewise.
1867
12084a9a
AA
18682014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1869
1870 * gdb.mi/until.c: Add eye-catchers.
1871 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
1872 line numbers.
1873
dc7e1a77
AA
18742014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1875
1876 * gdb.base/condbreak.exp: Drop references to removed non-prototype
1877 function header variants in break1.c.
1878 * gdb.base/ena-dis-br.exp: Likewise.
1879 * gdb.base/hbreak2.exp: Likewise.
1880 * gdb.reverse/until-precsave.exp: Drop references to removed
1881 non-prototype function header variants in ur1.c.
1882 * gdb.reverse/until-reverse.exp: Likewise.
1883
41c77605
PM
18842014-11-17 Petr Machata <pmachata@redhat.com>
1885
1886 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
1887 ${_cu_offset_size} bytes abbrev offset.
1888
34248c3a
DE
18892014-11-15 Doug Evans <xdje42@gmail.com>
1890
1891 PR symtab/17559
1892 * gdb.base/line-symtabs.exp: New file.
1893 * gdb.base/line-symtabs.c: New file.
1894 * gdb.base/line-symtabs.h: New file.
1895
646da059
YQ
18962014-11-14 Yao Qi <yao@codesourcery.com>
1897
1898 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
1899 (func): Add label func_label.
1900 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
1901 Replace low_pc and high_pc with MACRO_AT_range.
1902 Replace name, low_pc and high_pc with MACRO_AT_func.
1903
9301ebe6
YQ
19042014-11-14 Yao Qi <yao@codesourcery.com>
1905
1906 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
1907 Replace name, low_pc and high_pc with MACRO_AT_func.
1908
f166b542
YQ
19092014-11-14 Yao Qi <yao@codesourcery.com>
1910
1911 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
1912 produce debug information.
1913 * gdb.dwarf2/implptr-optimized-out.S: Removed.
1914
0f6e71e3
YQ
19152014-11-14 Yao Qi <yao@codesourcery.com>
1916
1917 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
1918 object and get function length.
1919 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
1920 with MACRO_AT_func.
1921 (top-level): Replace gdb_compile and clean_restart with
1922 prepare_for_testing.
1923 * gdb.dwarf2/main.c (main): Add label main_label.
1924
876c4df9
YQ
19252014-11-14 Yao Qi <yao@codesourcery.com>
1926
1927 * lib/dwarf.exp (function_range): New procedure.
1928 (Dwarf::_handle_macro_at_func): New procedure.
1929 (Dwarf::_handle_macro_at_range): New procedure.
1930 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
1931
02ad9cf1
YQ
19322014-11-14 Yao Qi <yao@codesourcery.com>
1933
1934 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
1935 (_handle_attribute): New procedure.
1936
a59add0c
AA
19372014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1938
1939 * gdb.ada/cond_lang/foo.c (callme): Add return type.
1940 * gdb.base/call-sc.c (zed): Likewise.
1941 * gdb.base/checkpoint.c (main): Likewise.
1942 * gdb.base/dump.c (main): Likewise.
1943 * gdb.base/gcore.c (main): Likewise.
1944 * gdb.base/huge.c (main): Likewise.
1945 * gdb.base/multi-forks.c (main): Likewise.
1946 * gdb.base/pr10179-a.c (main): Likewise.
1947 * gdb.base/savedregs.c (main): Likewise.
1948 * gdb.base/sigaltstack.c (main): Likewise.
1949 * gdb.base/siginfo.c (main): Likewise.
1950 * gdb.base/structs.c (zed): Likewise.
1951 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
1952 * gdb.mi/mi-syn-frame.c (main): Likewise.
1953 * gdb.mi/until.c (foo, main): Likewise.
1954 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
1955 * gdb.base/solib-weak.c (foo): Declare.
1956 * gdb.base/attach-twice.c: Include stdio.h.
1957 * gdb.base/weaklib1.c: Likewise.
1958 * gdb.base/weaklib2.c: Likewise.
1959 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
1960 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
1961 unistd.h.
1962 * gdb.base/attach-pie-misread.c: Include stdlib.h.
1963 * gdb.mi/mi-exit-code.c: Likewise.
1964 * gdb.base/break-interp-lib.c: Include string.h.
1965 * gdb.base/coremaker.c: Likewise.
1966 * gdb.base/testenv.c: Likewise.
1967 * gdb.python/py-finish-breakpoint.c: Likewise.
1968 * gdb.base/inferior-died.c: Include sys/wait.h.
1969 * gdb.base/fileio.c: Include time.h.
1970 * gdb.base/async-shell.c: Include unistd.h.
1971 * gdb.base/dprintf-non-stop.c: Likewise.
1972 * gdb.base/info-os.c: Likewise.
1973 * gdb.mi/mi-console.c: Likewise.
1974 * gdb.mi/watch-nonstop.c: Likewise.
1975 * gdb.python/py-events.c: Likewise.
1976 * gdb.base/async.c (baz): Move up before its invocation.
1977 * gdb.base/code_elim2.c (my_global_func): Likewise.
1978 * gdb.base/skip-solib-lib.c (multiply): Likewise.
1979 * gdb.base/advance.c (func2): Likewise.
1980
3b5d5997
AA
19812014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1982
1983 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
1984 variant.
1985 * gdb.base/annota3.c: Likewise.
1986 * gdb.base/async.c: Likewise.
1987 * gdb.base/average.c: Likewise.
1988 * gdb.base/call-ar-st.c: Likewise.
1989 * gdb.base/call-rt-st.c: Likewise.
1990 * gdb.base/call-sc.c: Likewise.
1991 * gdb.base/call-strs.c: Likewise.
1992 * gdb.base/ending-run.c: Likewise.
1993 * gdb.base/execd-prog.c: Likewise.
1994 * gdb.base/exprs.c: Likewise.
1995 * gdb.base/foll-exec.c: Likewise.
1996 * gdb.base/foll-fork.c: Likewise.
1997 * gdb.base/foll-vfork.c: Likewise.
1998 * gdb.base/funcargs.c: Likewise.
1999 * gdb.base/gcore.c: Likewise.
2000 * gdb.base/jump.c: Likewise.
2001 * gdb.base/langs0.c: Likewise.
2002 * gdb.base/langs1.c: Likewise.
2003 * gdb.base/langs2.c: Likewise.
2004 * gdb.base/mips_pro.c: Likewise.
2005 * gdb.base/nodebug.c: Likewise.
2006 * gdb.base/opaque0.c: Likewise.
2007 * gdb.base/opaque1.c: Likewise.
2008 * gdb.base/recurse.c: Likewise.
2009 * gdb.base/run.c: Likewise.
2010 * gdb.base/scope0.c: Likewise.
2011 * gdb.base/scope1.c: Likewise.
2012 * gdb.base/setshow.c: Likewise.
2013 * gdb.base/setvar.c: Likewise.
2014 * gdb.base/shmain.c: Likewise.
2015 * gdb.base/shr1.c: Likewise.
2016 * gdb.base/shr2.c: Likewise.
2017 * gdb.base/sigall.c: Likewise.
2018 * gdb.base/signals.c: Likewise.
2019 * gdb.base/so-indr-cl.c: Likewise.
2020 * gdb.base/solib2.c: Likewise.
2021 * gdb.base/structs.c: Likewise.
2022 * gdb.base/sum.c: Likewise.
2023 * gdb.base/vforked-prog.c: Likewise.
2024 * gdb.base/watchpoint.c: Likewise.
2025 * gdb.reverse/shr2.c: Likewise.
2026 * gdb.reverse/until-reverse.c: Likewise.
2027 * gdb.reverse/ur1.c: Likewise.
2028 * gdb.reverse/watch-reverse.c: Likewise.
2029
066a77c5
AA
20302014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2031
2032 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
2033 variant.
2034 * gdb.base/sepdebug.exp: Drop references to removed code.
2035
4f204ea5
AA
20362014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2037
2038 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
2039 variant. Preserve original line numbering.
2040 * gdb.base/list1.c: Likewise.
2041
3b377a3a
AA
20422014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2043
2044 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
2045 variant.
2046 * gdb.base/break1.c: Likewise.
2047 * gdb.base/break.exp: Drop references to removed code.
2048
e444df73
AA
20492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2050
2051 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
2052 variant.
2053
8008f2a7
AA
20542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2055
2056 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
2057
a5a06887
AA
20582014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2059
2060 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
2061 logic into perform_all_tests() and invoke it with and without
2062 function header prototypes.
2063 (do_function_calls): Remove conditional XFAIL for PR 5318.
2064 (rerun_and_prepare): Remove duplicate code.
2065 (perform_all_tests): New. Main logic moved here.
2066
44dba9b9
AA
20672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2068
2069 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
2070 code guarded by #ifdef NO_PROTOTYPES.
2071 (t_double_many_args): Likewise.
2072 (DEF_FUNC_MANY_ARGS_1): Likewise.
2073 (DEF_FUNC_VALUES_1): Likewise.
2074 (t_structs_ldc): Renamed from t_structs_fc in conditional code
2075 guarded by #ifdef PROTOTYPES.
2076
d1fbcd56
AA
20772014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2078
2079 * gdb.mi/mi-console.c: Add eye-catcher.
2080 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
2081 instead of literal line number.
2082
b0e59b8f
AA
20832014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2084
2085 * gdb.base/shr2.c: Add eye-catcher.
2086 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
2087 line number.
2088
78f98cca
AA
20892014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2090
2091 * gdb.base/jump.c: Add eye-catchers.
2092 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
2093 numbers.
2094
58fa2af0
AA
20952014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2096
2097 * gdb.base/execd-prog.c: Add eye-catchers.
2098 * gdb.base/foll-exec.c: Likewise.
2099 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
2100 line numbers.
2101
04e5059b
AA
21022014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2103
2104 * gdb.base/ending-run.c: Add eye-catchers.
2105 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
2106 literal line numbers.
2107
dbfdb174
AA
21082014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2109
2110 * gdb.base/call-rt-st.c: Add eye-catchers.
2111 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
2112 literal line numbers.
2113
888a2ade
AA
21142014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2115
2116 * gdb.base/call-ar-st.c: Add eye-catchers.
2117 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
2118 literal line numbers.
2119
6acc2dde
AA
21202014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2121
2122 * gdb.base/average.c: Add eye-catchers.
2123 * gdb.base/sum.c: Likewise.
2124 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
2125 regexps dynamically.
2126
9ecfcd1d
AA
21272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2128
2129 * gdb.base/solib1.c: Add eye-catchers.
2130 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
2131 literal line numbers.
2132
78708b7c
PA
21332014-11-12 Pedro Alves <palves@redhat.com>
2134
2135 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
2136 leader has exited.
2137
af48d08f
PA
21382014-11-12 Pedro Alves <palves@redhat.com>
2139
2140 * gdb.arch/i386-bp_permanent.c: New file.
2141 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
2142 (srcfile): Set to i386-bp_permanent.c.
2143 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
2144 that stepi does not execute the 'leave' instruction, instead of
2145 testing it does execute.
2146 * gdb.base/bp-permanent.c: New file.
2147 * gdb.base/bp-permanent.exp: New file.
2148
af3768e9
DE
21492014-11-10 Doug Evans <xdje42@gmail.com>
2150
2151 PR symtab/17564
2152 * gdb.base/symtab-search-order.exp: New file.
2153 * gdb.base/symtab-search-order.c: New file.
2154 * gdb.base/symtab-search-order-1.c: New file.
2155 * gdb.base/symtab-search-order-shlib-1.c: New file.
2156
9de00a4a
PA
21572014-11-07 Pedro Alves <palves@redhat.com>
2158
2159 PR gdb/17511
2160 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
2161 i?86-*-linux*.
2162
e0f52461
SC
21632014-11-03 Siva Chandra Reddy <sivachandra@google.com>
2164
2165 PR c++/17494
2166 * gdb.cp/pr17494.cc: New file.
2167 * gdb.cp/pr17494.exp: New file.
2168
6ce8c980
YQ
21692014-11-02 Yao Qi <yao@codesourcery.com>
2170
2171 * gdb.python/python.exp: Get working directory and match the
2172 output of "set extended-prompt \\w " with it.
2173
02be9a71
DE
21742014-10-30 Doug Evans <dje@google.com>
2175
2176 * gdb.python/py-objfile.exp: Add tests for setting random attributes
2177 in objfiles.
2178 * gdb.python/py-progspace.exp: Add tests for setting random attributes
2179 in progspaces.
2180
3bdff46b
LM
21812014-10-30 Janis Johnson <janisjo@codesourcery.com>
2182
2183 * gdb.base/fullpath-expand.exp: Skip for a remote host.
2184 * gdb.base/realname-expand.exp: Likewise.
2185 * gdb.linespec/macro-relative.exp: Likewise.
2186
ab917dfb
PA
21872014-10-29 Pedro Alves <palves@redhat.com>
2188
2189 PR gdb/17408
2190 * gdb.threads/schedlock.c (some_function): New function.
2191 (call_function): New global.
2192 (MAYBE_CALL_SOME_FUNCTION): New macro.
2193 (thread_function): Call it.
2194 * gdb.threads/schedlock.exp (get_args): Add description parameter,
2195 and use it instead of a global counter. Adjust all callers.
2196 (get_current_thread): Use "find current thread" for test message
2197 here rather than having all callers pass down the same string.
2198 (goto_loop): New procedure, factored out from ...
2199 (my_continue): ... this.
2200 (step_ten_loops): Change parameter from test message to command to
2201 use. Adjust.
2202 (list_count): Delete global.
2203 (check_result): New procedure, factored out from duplicate top
2204 level code.
2205 (continue tests): Wrap in with_test_prefix.
2206 (test_step): New procedure, factored out from duplicate top level
2207 code.
2208 (top level): Test "step" in combination with all scheduler-locking
2209 modes. Test "next" in combination with all scheduler-locking
2210 modes, and in combination with stepping over a function call or
2211 not.
2212 * gdb.threads/next-bp-other-thread.c: New file.
2213 * gdb.threads/next-bp-other-thread.exp: New file.
2214
d3d4baed
PA
22152014-10-29 Pedro Alves <palves@redhat.com>
2216
2217 PR python/17372
2218 * gdb.python/python.exp: Test a multi-line command that spawns
2219 interactive Python.
2220 * gdb.base/multi-line-starts-subshell.exp: New file.
2221
563e8d85
YQ
22222014-10-29 Yao Qi <yao@codesourcery.com>
2223
2224 * gdb.base/fileio.exp: Make directories on host.
2225
0ea4d52e
YQ
22262014-10-29 Yao Qi <yao@codesourcery.com>
2227
2228 * gdb.base/fileio.c (test_write): Close the file.
2229
7f5ef605
PA
22302014-10-28 Pedro Alves <palves@redhat.com>
2231
2232 PR gdb/12623
2233 * gdb.base/sigstep.c (no_handler): New global.
2234 (main): If 'no_handler is true, set the signal handlers to
2235 SIG_IGN.
2236 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
2237 with_sw_watch and no_handler parameters. Handle them.
2238 (top level) <stepping over handler when stopped at a breakpoint
2239 test>: Add a test axis for testing with a software watchpoint, and
2240 another for testing with the signal handler set to SIG_IGN.
2241 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
2242 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
2243
abbdbd03
PA
22442014-10-28 Pedro Alves <palves@redhat.com>
2245
2246 PR gdb/17511
2247 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
2248 * gdb.base/sigstep.exp (other_handler_location): New global.
2249 (advance): Support stepping into the signal handler, and running
2250 commands while in the handler.
2251 (in_handler_map): New global.
2252 (top level): In the advance test, add combinations for getting
2253 into the handler with stepping commands, and for running commands
2254 in the handler. Add comment descripting the advancei tests.
2255
1df4399f
PA
22562014-10-28 Pedro Alves <palves@redhat.com>
2257
2258 * gdb.base/sigstep.exp: Use build_executable instead of
2259 prepare_for_testing.
2260 (top level): Move code that starts GDB, runs to main and creates a
2261 display to ...
2262 (restart): ... this new procedure.
2263 (top level): Move backtrace from signal handler test to ...
2264 (validate_backtrace): ... this new procedure.
2265 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
2266 with_test_prefix. Always restart GDB.
2267 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
2268 with_test_prefix. Always restart GDB. No need to delete
2269 breakpoints after the test.
2270 (test_skip_handler): Remove prefix parameter.
2271 (skip_over_handler, breakpoint_to_handler)
2272 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
2273 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
2274 restart GDB. No need to delete breakpoints after the test.
2275 (top level): Use foreach to call the test procedures with
2276 different commands.
2277
a5b6e449
PA
22782014-10-28 Pedro Alves <palves@redhat.com>
2279
2280 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
2281 instead of GNATS numbers.
2282 * gdb.base/sigbpt.exp: Likewise.
2283 * gdb.base/siginfo.exp: Likewise.
2284 * gdb.base/sigstep.exp: Likewise.
2285
e5f8a7cc
PA
22862014-10-27 Pedro Alves <palves@redhat.com>
2287
2288 * gdb.base/sigstep.c (dummy): New global.
2289 (main): Issue a couple writes to the new global.
2290 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
2291 procedures.
2292 (skip_over_handler): Use test_skip_handler.
2293 (top level): Call skip_over_handler for stepi and nexti too.
2294 (breakpoint_over_handler): Use test_skip_handler.
2295 (top level): Call breakpoint_over_handler for stepi and nexti too.
2296
763905a3
YQ
22972014-10-27 Yao Qi <yao@codesourcery.com>
2298
2299 * gdb.trace/tfile.c (adjust_function_address)
2300 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
2301 function descriptor.
2302
6f259a23
DB
23032014-10-24 Don Breazeal <donb@codesourcery.com>
2304
2305 * gdb.base/foll-fork.exp (test_follow_fork,
2306 catch_fork_child_follow): Check for updated fork messages emitted
2307 from infrun.c.
2308 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
2309 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
2310 vfork_and_exec_child_follow_through_step): Check for updated vfork
2311 messages emitted from infrun.c.
2312
09dd9a69
PA
23132014-10-24 Pedro Alves <palves@redhat.com>
2314
2315 * gdb.base/corefile.exp: Remove references to ultrix.
2316 * gdb.base/interrupt.exp: Likewise.
2317 * gdb.base/whatis.exp: Likewise.
2318 * gdb.gdb/selftest.exp: Likewise.
2319 * gdb.threads/manythreads.exp: Likewise.
2320 * gdb.threads/print-threads.exp: Likewise.
2321 * gdb.threads/pthreads.exp:: Likewise.
2322 * gdb.threads/schedlock.exp: Likewise.
2323
3433cfa5
SC
23242014-10-24 Siva Chandra Reddy <sivachandra@google.com>
2325
2326 * gdb.cp/non-trivial-retval.cc: Add a test case.
2327 * gdb.cp/non-trivial-retval.exp: Add a test.
2328
092f880b
YQ
23292014-10-20 Yao Qi <yao@codesourcery.com>
2330
2331 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
2332 * gdb.python/py-objfile-script-gdb.py: New file.
2333 * gdb.python/py-objfile-script.exp: Update reference to
2334 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
2335 of remote_download. Remove the dest file.
2336
acbdb7f3
YQ
23372014-10-20 Yao Qi <yao@codesourcery.com>
2338
2339 * gdb.base/checkpoint.exp: Don't remove file copied on host.
2340 * gdb.base/step-line.exp: Likewise.
2341 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2342 * gdb.dwarf2/dw2-basic.exp: Likewise.
2343 * gdb.dwarf2/dw2-compressed.exp: Likewise.
2344 * gdb.dwarf2/dw2-filename.exp: Likewise.
2345 * gdb.dwarf2/dw2-intercu.exp: Likewise.
2346 * gdb.dwarf2/dw2-intermix.exp: Likewise.
2347 * gdb.dwarf2/dw2-producer.exp: Likewise.
2348 * gdb.dwarf2/mac-fileno.exp: Likewise.
2349 * gdb.python/py-frame-args.exp: Likewise.
2350 * gdb.python/py-framefilter.exp: Likewise.
2351 * gdb.python/py-mi.exp: Likewise.
2352 * gdb.python/py-objfile-script.exp: Likewise
2353 * gdb.python/py-pp-integral.exp: Likewise.
2354 * gdb.python/py-pp-re-notag.exp: Likewise.
2355 * gdb.python/py-prettyprint.exp: Likewise.
2356 * gdb.python/py-section-script.exp: Likewise.
2357 * gdb.python/py-typeprint.exp: Likewise.
2358 * gdb.python/py-xmethods.exp: Likewise.
2359 * gdb.stabs/weird.exp: Likewise.
2360 * gdb.xml/tdesc-regs.exp: Likewise.
2361
bd286a29
KCY
23622014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
2363
2364 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
2365 (out_cu): Use addr_len for the size of addresses.
2366 (out_line): Likewise. Size DW_LNE_set_address instruction
2367 according to addr_len.
2368 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
2369 (FUNC): Add START_INSNS to definition.
2370
673dc4a0
YQ
23712014-10-18 Yao Qi <yao@codesourcery.com>
2372
2373 * gdb.base/argv0-symlink.exp: Check argv[0] value if
2374 gdb_has_argv0 return true.
2375 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
2376 check [target_info exists noargs], check [gdb_has_argv0]
2377 instead.
2378 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2379 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
2380 procedures.
2381
4ffbba72
DE
23822014-10-17 Doug Evans <dje@google.com>
2383
2384 * gdb.python/py-events.exp: Update expected output for clear_objfiles
2385 event.
2386 * gdb.python/py-events.py: Add clear_objfiles event.
2387
d096d8c1
DE
23882014-10-17 Doug Evans <dje@google.com>
2389
2390 * gdb.python/py-objfile.exp: Test progspace attribute.
2391
a80db015
LM
23922014-10-17 Luis Machado <lgustavo@codesourcery.com>
2393
2394 * gdb.guile/scm-breakpoint.exp: Do not assume any
2395 directory separators when matching source file paths.
2396 * gdb.python/py-breakpoint.exp: Likewise.
2397 * gdb.reverse/break-precsave.exp: Likewise.
2398 * gdb.reverse/break-reverse.exp: Likewise.
2399 * gdb.reverse/consecutive-precsave.exp: Likewise.
2400 * gdb.reverse/finish-precsave.exp: Likewise.
2401 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
2402 * gdb.reverse/finish-reverse.exp: Likewise.
2403 * gdb.reverse/i386-precsave.exp: Likewise.
2404 * gdb.reverse/i387-env-reverse.exp: Likewise.
2405 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2406 * gdb.reverse/machinestate-precsave.exp: Likewise.
2407 * gdb.reverse/machinestate.exp: Likewise.
2408 * gdb.reverse/sigall-precsave.exp: Likewise.
2409 * gdb.reverse/solib-precsave.exp: Likewise.
2410 * gdb.reverse/step-precsave.exp: Likewise.
2411 * gdb.reverse/until-precsave.exp: Likewise.
2412 * gdb.reverse/watch-precsave.exp: Likewise.
2413 * gdb.reverse/watch-reverse.exp: Likewise.
2414
b22089ab
YQ
24152014-10-17 Yao Qi <yao@codesourcery.com>
2416
2417 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
2418 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
2419
6c4486e6
PA
24202014-10-17 Pedro Alves <palves@redhat.com>
2421
2422 PR gdb/17471
2423 * gdb.base/bg-execution-repeat.c: New file.
2424 * gdb.base/bg-execution-repeat.exp: New file.
2425
0ff33695
PA
24262014-10-17 Pedro Alves <palves@redhat.com>
2427
2428 PR gdb/17300
2429 * gdb.base/continue-all-already-running.c: New file.
2430 * gdb.base/continue-all-already-running.exp: New file.
2431
6fdebc3d
PA
24322014-10-17 Pedro Alves <palves@redhat.com>
2433
2434 PR gdb/17472
2435 * gdb.base/annota-input-while-running.c: New file.
2436 * gdb.base/annota-input-while-running.exp: New file.
2437
32a8097b
PA
24382014-10-17 Pedro Alves <palves@redhat.com>
2439
2440 * gdb.base/callfuncs.exp: emove references to osf.
2441 * gdb.base/sigall.exp: Likewise.
2442 * gdb.gdb/selftest.exp: Likewise.
2443 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
2444 * gdb.mi/non-stop.c: Likewise.
2445 * gdb.mi/pthreads.c: Likewise.
2446 * gdb.reverse/sigall-precsave.exp: Likewise.
2447 * gdb.reverse/sigall-reverse.exp: Likewise.
2448 * gdb.threads/pthreads.c: Likewise.
2449 * gdb.threads/pthreads.exp: Likewise.
2450
7a3517ff
YQ
24512014-10-17 Yao Qi <yao@codesourcery.com>
2452
2453 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
2454 check 'target_info exists noargs'.
2455 (test_command_prompt_position): Likewise.
2456 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
2457 Remove "set args".
2458 (progvar_simple_while_test): Likewise.
2459 (progvar_complex_if_while_test): Likewise.
2460 (if_while_breakpoint_command_test): Likewise.
2461 (infrun_breakpoint_command_test): Likewise.
2462 (breakpoint_command_test): Likewise.
2463 (watchpoint_command_test): Likewise.
2464 (bp_deleted_in_command_test): Likewise.
2465 (temporary_breakpoint_commands): Likewise.
2466
bb99c472
YQ
24672014-10-16 Yao Qi <yao@codesourcery.com>
2468
2469 * gdb.base/remotetimeout.exp: Remove noargs checking.
2470
7c16b83e
PA
24712014-10-15 Pedro Alves <palves@redhat.com>
2472
2473 PR breakpoints/9649
2474 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
2475 * gdb.base/breakpoint-in-ro-region.exp
2476 (probe_target_hardware_step): New procedure.
2477 (top level): Probe hardware stepping and hardware breakpoint
2478 support. Test stepping through a read-only region, with both
2479 "breakpoint auto-hw" on and off and both "always-inserted" on and
2480 off.
2481
35a49624
IB
24822014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
2483
2484 * gdb.dlang/demangle.exp: Update for demangling changes.
2485
2d1c107c
SC
24862014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2487
2488 * gdb.cp/non-trivial-retval.cc: Add new test cases.
2489 * gdb.cp/non-trivial-retval.exp: Add new tests.
2490
778811d5
SC
24912014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2492
2493 PR c++/13403
2494 PR c++/15154
2495 * gdb.cp/non-trivial-retval.cc: New file.
2496 * gdb.cp/non-trivial-retval.exp: New file.
2497
10c5f0a8
YQ
24982014-10-15 Yao Qi <yao@codesourcery.com>
2499
2500 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
2501 remote host.
2502
65d7b369
YQ
25032014-10-15 Yao Qi <yao@codesourcery.com>
2504
2505 * gdb.python/py-symbol.exp: Match file base name if host is
2506 remote, otherwise match file name with dir name.
2507 * gdb.python/py-symtab.exp: Likewise.
2508 * gdb.python/python.exp: Likewise.
2509
46dc1394
YQ
25102014-10-15 Yao Qi <yao@codesourcery.com>
2511
2512 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
2513 pattern.
2514 * gdb.python/py-symtab.exp: Likewise.
2515 * gdb.python/python.exp: Remove trailing ".*". Fix typo
2516 locationn.
2517
c40cc657
JB
25182014-10-14 Joel Brobecker <brobecker@adacore.com>
2519
2520 * gdb.ada/addr_arith: New testcase.
2521
2abf49e1
MR
25222014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
2523
2524 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
2525 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
2526 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
2527 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
2528
f7088df3
SDJ
25292014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
2530
2531 * gdb.arch/stap-eval-lang-ada.S: Likewise.
2532 * gdb.arch/stap-eval-lang-ada.c: Likewise.
2533 * gdb.arch/stap-eval-lang-ada.exp: New file.
2534
4dc06805
YQ
25352014-10-14 Yao Qi <yao@codesourcery.com>
2536
2537 * gdb.mi/mi-var-child.c (nothing1): New function.
2538 (nothing2): New function.
2539 (do_children_tests): Set function pointers by nothing1 and
2540 nothing2.
2541 * gdb.mi/mi-var-child.exp: Step over new added statements.
2542 Update test to match the new output.
2543 * gdb.mi/var-cmd.c (nothing1): New function.
2544 (nothing2): New function.
2545 (do_children_tests): Set function pointers by nothing1 and
2546 nothing2.
2547 * gdb.mi/mi-var-display.exp: Update test to match output.
2548 Step to the line specified by $line_dct_nothing.
2549 Increase the number of lines to step.
2550
46a93de2
YQ
25512014-10-14 Yao Qi <yao@codesourcery.com>
2552
2553 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
2554 tests.
2555 * gdb.mi/mi2-var-child.exp: Likewise.
2556
14ea52ee
DE
25572014-10-13 Doug Evans <dje@google.com>
2558
2559 * gdb.python/py-objfile.exp: Change name of file name test.
2560
e5c6e92b
DE
25612014-10-13 Doug Evans <dje@google.com>
2562
2563 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
2564 from the start of the CU.
2565
c780cc2f
JK
25662014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2567 Yao Qi <yao@codesourcery.com>
2568
2569 Fix "save breakpoints" for "catch" command.
2570 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
2571 Remove -nonewline. Match also the added "main" line.
2572
99894e11
JK
25732014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2574
2575 Fix "save breakpoints" for "disable $bpnum" command.
2576 * gdb.base/save-bp.c (main): Add label.
2577 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
2578
6e1ac5a3
JK
25792014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2580
2581 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
2582
754dd2b0
YQ
25832014-10-11 Yao Qi <yao@codesourcery.com>
2584
2585 * gdb.server/server-kill.exp: Execute command
2586 "set remote trace-status-packet on" before "tstatus".
2587
f90183d7
YQ
25882014-10-11 Yao Qi <yao@codesourcery.com>
2589
2590 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
2591 (main): Call getppid.
2592 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
2593 and continue to it. Read variable "server_pid".
2594
bf40a607
YQ
25952014-10-11 Yao Qi <yao@codesourcery.com>
2596
2597 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
2598
052ca370
YQ
25992014-10-11 Yao Qi <yao@codesourcery.com>
2600
2601 * gdb.threads/thread-find.exp: Don't execute command
2602 "info threads".
2603 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
2604 * gdb.threads/linux-dp.exp: Don't check the condition
2605 $threads_created equals to zero.
2606
3831839c
PA
26072014-10-10 Pedro Alves <palves@redhat.com>
2608
2609 * gdb.base/bigcore.exp: Remove references to IRIX.
2610 * gdb.base/funcargs.exp: Likewise.
2611 * gdb.base/interrupt.exp: Likewise.
2612 * gdb.base/mips_pro.exp: Likewise.
2613 * gdb.base/nodebug.exp: Likewise.
2614 * gdb.base/setvar.exp: Likewise.
2615 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
2616
8b9a549d
PA
26172014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2618 Pedro Alves <palves@redhat.com>
2619
2620 PR symtab/14466
2621 * gdb.base/vdso-warning.c: New file.
2622 * gdb.base/vdso-warning.exp: New file.
2623
d48ba5e8
DE
26242014-10-02 Doug Evans <dje@google.com>
2625
2626 * gdb.base/structs.c (main): Don't run forever.
2627
2278c276
PA
26282014-10-02 Pedro Alves <palves@redhat.com>
2629
2630 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
2631 (top level) <stop threads 1, stop threads 2>: Use it.
2632
b57bacec
PA
26332014-10-02 Pedro Alves <palves@redhat.com>
2634
2635 * gdb.threads/break-while-running.exp (test): Add new
2636 'update_thread_list' argument. Skip "info threads" if false.
2637 (top level): Add new 'update_thread_list' axis.
2638
13fd3ff3
PA
26392014-10-02 Pedro Alves <palves@redhat.com>
2640
2641 PR breakpoints/17431
2642 * gdb.base/execl-update-breakpoints.c: New file.
2643 * gdb.base/execl-update-breakpoints.exp: New file.
2644
0fec99e8
PA
26452014-10-01 Pedro Alves <palves@redhat.com>
2646
2647 * gdb.base/breakpoint-in-ro-region.c: New file.
2648 * gdb.base/breakpoint-in-ro-region.exp: New file.
2649
2ddf4301
SM
26502014-10-01 Simon Marchi <simon.marchi@ericsson.com>
2651
2652 * gdb.mi/mi-exit-code.exp: New file.
2653 * gdb.mi/mi-exit-code.c: New file.
2654
6a5f3f43
YQ
26552014-09-30 Yao Qi <yao@codesourcery.com>
2656
2657 * lib/prelink-support.exp (build_executable_own_libs): Error if
2658 the target isn't native.
2659
345bcc73
YQ
26602014-09-30 Yao Qi <yao@codesourcery.com>
2661
2662 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
2663 false.
2664
a25a5a45
PA
26652014-09-22 Pedro Alves <palves@redhat.com>
2666
2667 * gdb.threads/break-while-running.exp: New file.
2668 * gdb.threads/break-while-running.c: New file.
2669
00ba3162
YQ
26702014-09-19 Yao Qi <yao@codesourcery.com>
2671
2672 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
2673 Invoke test. Restart GDB with --readnow and invoke test again.
2674
c3b7b696
YQ
26752014-09-19 Yao Qi <yao@codesourcery.com>
2676
2677 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
2678 proc set_breakpoint_on_gcd_function. Invoke
2679 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
2680 invoke set_breakpoint_on_gcd_function again.
2681
2b4fd423
DE
26822014-09-18 Doug Evans <dje@google.com>
2683
2684 * gdb.dwarf2/symtab-producer.exp: New file.
2685
a5947601
SDJ
26862014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2687
2688 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
2689 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
2690 * gdb.base/global-var-nested-by-dso.c: Likewise.
2691 * gdb.base/global-var-nested-by-dso.exp: Likewise.
2692
91c19059
SDJ
26932014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2694 Pedro Alves <palves@redhat.com>
2695
2696 * gdb.base/watch-bitfields.exp: Pass string other than test file
2697 name to prepare_for_testing.
2698 (watch): New procedure.
2699 (expect_watchpoint): Use with_test_prefix.
2700 (top level): Factor out tests to ...
2701 (test_watch_location, test_regular_watch): ... these new
2702 procedures, and use with_test_prefix and gdb_continue_to_end.
2703
bb9d5f81
PP
27042014-09-16 Patrick Palka <patrick@parcs.ath.cx>
2705
2706 PR breakpoints/12526
2707 * gdb.base/watch-bitfields.exp: New file.
2708 * gdb.base/watch-bitfields.c: New file.
2709
635856f5
PA
27102014-09-16 Pedro Alves <palves@redhat.com>
2711
2712 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
2713 software and hardware addresses, not software address against
2714 itself.
2715
7280ceea
PA
27162014-09-16 Pedro Alves <palves@redhat.com>
2717
2718 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
2719 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
2720
428b16bd
PA
27212014-09-16 Pedro Alves <palves@redhat.com>
2722
2723 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
2724 files.
2725 * gdb.base/a2-run.exp: Remove all code guarded by istarget
2726 "*-*-vxworks*" throughout.
2727 * gdb.base/break.exp: Likewise.
2728 * gdb.base/default.exp: Likewise.
2729 * gdb.base/scope.exp: Likewise.
2730 * gdb.base/sepdebug.exp: Likewise.
2731 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
2732 throughout.
2733 * gdb.base/run.c: Likewise.
2734 * gdb.base/sepdebug.c: Likewise.
2735 * gdb.hp/gdb.aCC/run.c: Likewise.
2736 * gdb.reverse/until-reverse.c: Likewise.
2737 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
2738
666d413c
YQ
27392014-09-16 Yao Qi <yao@codesourcery.com>
2740
2741 * boards/local-remote-host-native.exp: New file.
2742
57cbd724
DE
27432014-09-14 Doug Evans <xdje42@gmail.com>
2744
2745 * gdb.threads/queue-signal.c (thread_count): New variable.
2746 (thread_count_mutex, thread_count_condvar): New variables.
2747 (incr_thread_count, wait_all_threads_running): New functions.
2748 (main): Wait for all threads to be in their thread functions.
2749
81219e53
DE
27502014-09-13 Doug Evans <xdje42@gmail.com>
2751
2752 * gdb.threads/queue-signal.c: New file.
2753 * gdb.threads/queue-signal.exp: New file.
2754
3714cea7
DE
27552014-09-13 Doug Evans <xdje42@gmail.com>
2756
2757 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
2758 be consistent with what default_gdb_init uses.
2759 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
2760 the plain text of the prompt. Add some logging printfs.
2761 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
2762
fa43b1d7
PA
27632014-09-12 Pedro Alves <palves@redhat.com>
2764
2765 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
2766 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
2767 * gdb.arch/i386-size-overlap.exp: Likewise.
2768 * gdb.arch/i386-size.exp: Likewise.
2769 * gdb.arch/i386-unwind.exp: Likewise.
2770 * gdb.base/a2-run.exp: Likewise.
2771 * gdb.base/break.exp: Likewise.
2772 * gdb.base/charset.exp: Likewise.
2773 * gdb.base/chng-syms.exp: Likewise.
2774 * gdb.base/commands.exp: Likewise.
2775 * gdb.base/dbx.exp: Likewise.
2776 * gdb.base/find.exp: Likewise.
2777 * gdb.base/funcargs.exp: Likewise.
2778 * gdb.base/jit-simple.exp: Likewise.
2779 * gdb.base/reread.exp: Likewise.
2780 * gdb.base/sepdebug.exp: Likewise.
2781 * gdb.base/step-bt.exp: Likewise.
2782 * gdb.cp/mb-inline.exp: Likewise.
2783 * gdb.cp/mb-templates.exp: Likewise.
2784 * gdb.objc/basicclass.exp: Likewise.
2785 * gdb.threads/killed.exp: Likewise.
2786
9d9bf2df
EBM
27872014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2788
2789 PR tdep/17379
2790 * gdb.arch/powerpc-stackless.S: New file.
2791 * gdb.arch/powerpc-stackless.exp: New file.
2792
1cf2f1b0
JK
27932014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2794
2795 * gdb.base/attach.c: Include unistd.h.
2796 (main): Call alarm. Add label postloop.
2797 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
2798 gdb_breakpoint, gdb_continue_to_breakpoint.
2799 (test_command_line_attach_run): Kill ${testpid} in one exit path.
2800
98880d46
PA
28012014-09-11 Pedro Alves <palves@redhat.com>
2802
2803 PR gdb/17347
2804 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
2805 * gdb.base/attach.exp (test_command_line_attach_run): New
2806 procedure.
2807 (top level): Call it.
2808
4c92ff2c
PA
28092014-09-11 Pedro Alves <palves@redhat.com>
2810
2811 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
2812 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
2813 (do_command_attach_tests): Use spawn_wait_for_attach.
2814 * gdb.base/solib-overlap.exp: Likewise.
2815 * gdb.multi/multi-attach.exp: Likewise.
2816 * gdb.python/py-prompt.exp: Likewise.
2817 * gdb.python/py-sync-interp.exp: Likewise.
2818 * gdb.server/ext-attach.exp: Likewise.
2819
3adc1a7d
GKB
28202014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
2821
2822 * gdb.fortran/array-element.exp: Remove unexpected "continue"
2823 command in testcase. Simplify testcase.
2824
96334934
JB
28252014-09-10 Joel Brobecker <brobecker@adacore.com>
2826
2827 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
2828
eb479039
JB
28292014-09-10 Joel Brobecker <brobecker@adacore.com>
2830
2831 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
2832
deede10c
JB
28332014-09-10 Joel Brobecker <brobecker@adacore.com>
2834
2835 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
2836
7828a5f5
JB
28372014-09-10 Joel Brobecker <brobecker@adacore.com>
2838
2839 * gdb.dwarf2/dynarr-ptr.c: New file.
2840 * gdb.dwarf2/dynarr-ptr.exp: New file.
2841
33aeebcf
MR
28422014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2843
2844 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
2845 of 30 rather than hardcoding 120 for a slow test case. Take the
2846 `gdb,timeout' target setting into account for this calculation.
2847 Don't extend the timeout for the test cases that don't need it.
2848
7b415901
MR
28492014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2850
2851 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
2852 a factor of 2 for a slow test case. Take the `gdb,timeout'
2853 target setting into account for this calculation.
2854 * gdb.reverse/until-precsave.exp: Increase the timeout by
2855 a factor of 15 and 3 respectively rather than adding 120
2856 for a pair of slow test cases. Take the `gdb,timeout'
2857 target setting into account for this calculation.
2858
4a40f85a
MR
28592014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2860
2861 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
2862 timeout, don't pass one down to gdb_expect.
2863 (gdb_expect): Rework timeout selection.
2864
09635af7
MR
28652014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2866
2867 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
2868 exception on timeout.
2869 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
2870 (gdbserver_start_extended): Catch any `gdbserver_start' error
2871 exceptions.
2872 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
2873 * lib/mi-support.exp (mi_gdb_target_load): Catch any
2874 `gdbserver_gdb_load' error exceptions.
2875
2bdd10b7
MR
28762014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2877
2878 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
2879 120 on waiting for the TCP socket to open.
2880
316935f0
DE
28812014-09-09 Doug Evans <xdje42@gmail.com>
2882
2883 * gdb.base/default.exp (show_conv_list): Add _caller_is,
2884 _caller_matches, _any_caller_is, _any_caller_matches.
2885
83740597
DE
28862014-09-09 Doug Evans <xdje42@gmail.com>
2887
2888 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
2889
4c122fc3
YQ
28902014-09-09 Yao Qi <yao@codesourcery.com>
2891
2892 * gdb.mi/mi-var-display.exp: Set print symbol off.
2893
a9f116cb
GKB
28942014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
2895
2896 PR gdb/17035
2897 * gdb.base/commands.exp: Add tests to verify user-defined
2898 commands with empty bodies.
2899 * gdb.python/py-cmd.exp: Test that we don't show user-defined
2900 python commands in `show user command`.
2901 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
2902 scheme commands in `show user command`.
2903
c75bd3a2
JK
29042014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2905
2906 PR python/17355
2907 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
2908 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
2909 * gdb.python/py-framefilter-invalidarg.exp: New file.
2910 * gdb.python/py-framefilter-invalidarg.py: New file.
2911
faa42425
DE
29122014-09-06 Doug Evans <xdje42@gmail.com>
2913
2914 PR 15276
2915 * gdb.python/py-caller-is.c: New file.
2916 * gdb.python/py-caller-is.exp: New file.
2917
474ca4f6
SDJ
29182014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
2919
2920 PR gdb/17235
2921 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
2922 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
2923
eb0b0463
SDJ
29242014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
2925
2926 PR fortran/17237
2927 * gdb.fortran/print-formatted.exp: New file.
2928 * gdb.fortran/print-formatted.f90: Likewise.
2929
5f3b99cf
SS
29302014-09-03 Sasha Smundak <asmundak@google.com>
2931
2932 * gdb.python/py-frame.exp: Test Frame.read_register.
2933
7d793aa9
SDJ
29342014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
2935
2936 PR python/16699
2937 * gdb.python/py-completion.exp: New file.
2938 * gdb.python/py-completion.py: Likewise.
2939
fb0576e9
DE
29402014-08-28 Doug Evans <dje@google.com>
2941
2942 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
2943 eax,etc. are live with values set by gdb and thus the compiler can't
2944 use them.
2945 * gdb.arch/i386-pseudo.c (main): Ditto.
2946
ee92b0dd
DE
29472014-08-27 Doug Evans <dje@google.com>
2948
2949 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
2950
6649db35
DE
29512014-08-25 Doug Evans <dje@google.com>
2952
2953 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
2954 (main): Ditto.
2955
564b7600
DE
29562014-08-25 Doug Evans <dje@google.com>
2957
2958 * gdb.threads/thread-execl.exp: #include <stdio.h>.
2959
3881fb67
YQ
29602014-08-24 Yao Qi <yao@codesourcery.com>
2961
2962 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
2963 symbol off.
2964 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
2965
a05a36a5
DE
29662014-08-22 Doug Evans <dje@google.com>
2967
2968 PR 17276
2969 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
2970 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
2971 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
2972
7c343b48
YQ
29732014-08-22 Yao Qi <yao@codesourcery.com>
2974
2975 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
2976 * gdb.python/py-finish-breakpoint2.exp: Likewise.
2977 * gdb.python/python.exp: Likewise. Use .py file on the host
2978 instead of the build.
2979
22fd09ae
JK
29802014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2981
2982 * gdb.threads/gcore-stale-thread.c: New file.
2983 * gdb.threads/gcore-stale-thread.exp: New file.
2984
a8454a7c
PA
29852014-08-21 Pedro Alves <palves@redhat.com>
2986
2987 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
2988 * gdb.base/gcore-relro-pie.exp: Likewise.
2989 * gdb.base/gcore-relro.exp: Likewise.
2990 * gdb.base/gcore.exp: Likewise.
2991 * gdb.base/print-symbol-loading.exp: Likewise.
2992 * gdb.threads/gcore-thread.exp: Likewise.
2993 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
2994
2a31c623
PA
29952014-08-20 Pedro Alves <palves@redhat.com>
2996 Jan Kratochvil <jan.kratochvil@redhat.com>
2997
2998 * Makefile.in (EXTRA_RULES, CC): New variables, get from
2999 configure.
3000 (EXPECT): Handle READ1 being set.
3001 (all): Depend on EXTRA_RULES.
3002 (check-read1, expect-read1, read1.so, read1): New rules.
3003 * README (Testsuite Parameters): Document the READ1 make variable.
3004 (Race detection): New section.
3005 * configure: Regenerate.
3006 * configure.ac: If build==host==target, and running under a
3007 GNU/glibc system, add read1 to the extra Makefile rules.
3008 (EXTRA_RULES): AC_SUBST it.
3009 * lib/read1.c: New file.
3010
d36430db
JB
30112014-08-20 Joel Brobecker <brobecker@adacore.com>
3012
3013 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
3014 the handling of variables declared as a typedef to an array
3015 which a DW_AT_data_location attribute.
3016
9a0dc9e3
PA
30172014-08-19 Andrew Burgess <aburgess@broadcom.com>
3018 Pedro Alves <palves@redhat.com>
3019
3020 PR symtab/14604
3021 PR symtab/14605
3022 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
3023 gdb_test.
3024
0718a8da
PA
30252014-08-19 Pedro Alves <palves@redhat.com>
3026
3027 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
3028
13b448cd
YQ
30292014-08-19 Yao Qi <yao@codesourcery.com>
3030
3031 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
3032 right line.
3033
1cbf5077
DB
30342014-08-18 David Blaikie <dblaikie@gmail.com>
3035
3036 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
3037
bf0fae19
JB
30382014-08-18 Joel Brobecker <brobecker@adacore.com>
3039
3040 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
3041 attribute in array range.
3042
3c8c5dcc
JB
30432014-08-18 Joel Brobecker <brobecker@adacore.com>
3044
3045 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
3046
e66d4446
SC
30472014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3048
3049 PR c++/17132
3050 * gdb.cp/pr17132.cc: New file.
3051 * gdb.cp/pr17132.exp: New file.
3052
940df408
SC
30532014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3054
3055 * gdb.python/py-xmethods.py (A_getarrayind)
3056 (E_method_char_worker.__call__, E_method_int_worker.__call__):
3057 Use 'print' with function call syntax.
3058 (E_method_matcher.match): Fix tab vs space indentation mixup.
3059
ebcc6c3a
YQ
30602014-08-15 Yao Qi <yao@codesourcery.com>
3061
3062 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
3063 false.
3064
775e0f04
YQ
30652014-08-15 Yao Qi <yao@codesourcery.com>
3066
3067 * gdb.cp/casts.exp: Set print symbol off.
3068 * gdb.cp/class2.exp: Likewise.
3069 * gdb.cp/overload.exp: Likewise.
3070 * gdb.cp/templates.exp: Likewise.
3071
d769e349
DE
30722014-08-11 Doug Evans <dje@google.com>
3073
3074 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3075 (test_load_shlib): Update.
3076
20c6f1e1
YQ
30772014-08-09 Yao Qi <yao@codesourcery.com>
3078
3079 * gdb.base/display.exp: Invoke is_address_zero_readable.
3080 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
3081 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
3082 * gdb.base/hbreak-unmapped.exp: Return if
3083 is_address_zero_readable returns true.
3084 * gdb.base/signest.exp: Likewise.
3085 * gdb.base/signull.exp: Likewise.
3086 * gdb.base/sigbpt.exp: Likewise.
3087 * gdb.guile/scm-disasm.exp: Do the test if
3088 is_address_zero_readable returns false.
3089 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
3090 * gdb.python/py-arch.exp: Likewise.
3091 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
3092 * lib/gdb.exp (is_address_zero_readable): New proc.
3093
5792e8e3
YQ
30942014-08-09 Yao Qi <yao@codesourcery.com>
3095
3096 PR testsuite/13443
3097 * gdb.mi/mi-var-display.exp: Make test messages unique.
3098
3cecbbbe
TT
30992014-08-04 Tom Tromey <tromey@redhat.com>
3100
3101 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
3102 target 0".
3103
00b51ff5
TT
31042014-08-04 Tom Tromey <tromey@redhat.com>
3105
3106 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
3107 "target_resume".
3108
6908c509
JB
31092014-08-01 Joel Brobecker <brobecker@adacore.com>
3110
3111 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
3112 inner_vla_struct_object_size.
3113 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
3114 as xfail.
3115
cc6563d2
PA
31162014-07-30 Pedro Alves <palves@redhat.com>
3117
3118 * gdb.threads/signal-command-handle-nopass.exp (test): Add
3119 comment.
3120
7e09a223
YQ
31212014-07-29 Yao Qi <yao@codesourcery.com>
3122
3123 PR gdb/17206
3124 * gdb.base/until-nodebug.exp: New.
3125
7ebdbe92
DE
31262014-07-28 Doug Evans <xdje42@gmail.com>
3127
3128 PR guile/17203
3129 * gdb.guile/scm-parameter.exp: Add tests for trying to create
3130 previously existing parameter, and previously ambiguously spelled
3131 parameter.
3132
fdb1adc6
WN
31332014-07-28 Will Newton <will.newton@linaro.org>
3134
3135 * gdb.base/varargs.exp: Remove KFAILs for ARM.
3136
186fcde0
DE
31372014-07-26 Ludovic Courtès <ludo@gnu.org>
3138 Doug Evans <xdje42@gmail.com>
3139
3140 PR guile/17146
3141 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
3142
70509625
PA
31432014-07-25 Pedro Alves <palves@redhat.com>
3144
3145 * gdb.threads/signal-command-handle-nopass.c: New file.
3146 * gdb.threads/signal-command-handle-nopass.exp: New file.
3147 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
3148 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
3149 * gdb.threads/signal-delivered-right-thread.c: New file.
3150 * gdb.threads/signal-delivered-right-thread.exp: New file.
3151
c3f814a1
PA
31522014-07-25 Pedro Alves <palves@redhat.com>
3153
3154 * gdb.base/double-prompt-target-event-error.exp
3155 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
3156 match.
3157 (cancel_pagination_in_target_event): Rework double prompt
3158 detection.
3159 * gdb.base/paginate-after-ctrl-c-running.exp
3160 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
3161 <return>' match.
3162 * gdb.base/paginate-bg-execution.exp
3163 (test_bg_execution_pagination_return)
3164 (test_bg_execution_pagination_cancel): Remove '-notransfer
3165 <return>' matches.
3166 * gdb.base/paginate-execution-startup.exp
3167 (test_fg_execution_pagination_return)
3168 (test_fg_execution_pagination_cancel): Remove '-notransfer
3169 <return>' matches.
3170 * gdb.base/paginate-inferior-exit.exp
3171 (test_paginate_inferior_exited): Remove '-notransfer <return>'
3172 match.
3173 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
3174 * lib/gdb.exp (pagination_prompt): Run text through
3175 string_to_regexp.
3176 (gdb_test_multiple): Match $pagination_prompt instead of
3177 "<return>".
3178 (string_to_regexp): Move to lib/gdb-utils.exp.
3179
e214cf6c
JK
31802014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3181
3182 * gdb.arch/amd64-entry-value-paramref.S: New file.
3183 * gdb.arch/amd64-entry-value-paramref.cc: New file.
3184 * gdb.arch/amd64-entry-value-paramref.exp: New file.
3185 * gdb.arch/amd64-optimout-repeat.S: New file.
3186 * gdb.arch/amd64-optimout-repeat.c: New file.
3187 * gdb.arch/amd64-optimout-repeat.exp: New file.
3188
17d0c5c8
JK
31892014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3190
3191 PR gdb/17170
3192 * gdb.base/statistics.exp: New file.
3193
b8b8facf
DE
31942014-07-17 Doug Evans <dje@google.com>
3195
74b49205 3196 PR gdb/17170
b8b8facf
DE
3197 * gdb.base/maint.exp: Update testing of per-command stats.
3198
1b5d0ab3
PA
31992014-07-16 Pedro Alves <palves@redhat.com>
3200
3201 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
3202 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
3203 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
3204 (tfile_write_buf): New functions.
3205 (add_memory_block): Rewrite using the above.
3206 (adjust_function_address): New function.
3207 (FUNCTION_ADDRESS): New macro.
3208 (write_basic_trace_file): Remove short_x local, and use
3209 tfile_write_16. Change type of func_addr local to unsigned long
3210 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
3211 here. Cast argument of add_memory_block to char pointer.
3212 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
3213 (main): Remove parameters.
3214 * gdb.trace/tfile.exp: Remove nowarnings.
3215
4d974e88
SM
32162014-07-15 Simon Marchi <simon.marchi@ericsson.com>
3217
3218 * gdb.base/debug-expr.exp: Test string evaluation with
3219 "debug expression" on.
3220
41e99568
PA
32212014-07-15 Pedro Alves <palves@redhat.com>
3222
3223 * gdb.base/reread.exp: Use clean_restart.
3224
487d9753
PL
32252014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
3226
3227 * gdb.arch/avr-flash-qualifer.c: New.
3228 * gdb.arch/avr-flash-qualifer.exp: New.
3229
cc1c52ad
PA
32302014-07-14 Pedro Alves <palves@redhat.com>
3231
3232 * gdb.base/paginate-after-ctrl-c-running.c: New file.
3233 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
3234
1e973570
PA
32352014-07-14 Pedro Alves <palves@redhat.com>
3236
3237 * gdb.base/double-prompt-target-event-error.c: New file.
3238 * gdb.base/double-prompt-target-event-error.exp: New file.
3239
93d6eb10
PA
32402014-07-14 Pedro Alves <palves@redhat.com>
3241
3242 PR gdb/17072
3243 * gdb.base/paginate-inferior-exit.c: New file.
3244 * gdb.base/paginate-inferior-exit.exp: New file.
3245
0017922d
PA
32462014-07-14 Pedro Alves <palves@redhat.com>
3247
3248 PR gdb/17072
3249 * gdb.base/paginate-bg-execution.c: New file.
3250 * gdb.base/paginate-bg-execution.exp: New file.
3251
94696ad3
PA
32522014-07-14 Pedro Alves <palves@redhat.com>
3253
3254 PR gdb/17072
3255 * gdb.base/paginate-execution-startup.c: New file.
3256 * gdb.base/paginate-execution-startup.exp: New file.
3257 * lib/gdb.exp (pagination_prompt): New global.
3258 (default_gdb_spawn): New procedure, factored out from
3259 default_gdb_spawn.
3260 (default_gdb_start): Adjust to call default_gdb_spawn.
3261 (gdb_spawn): New procedure.
3262
bd293940
PA
32632014-07-14 Pedro Alves <palves@redhat.com>
3264
3265 * lib/gdb.exp (gdb_assert): New procedure.
3266 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
3267
c933f875
PA
32682014-07-14 Pedro Alves <palves@redhat.com>
3269
3270 * gdb.base/execution-termios.c: New file.
3271 * gdb.base/execution-termios.exp: New file.
3272
d98b7a16
TT
32732014-07-14 Tom Tromey <tromey@redhat.com>
3274
3275 * gdb.cp/vla-cxx.cc: New file.
3276 * gdb.cp/vla-cxx.exp: New file.
3277
548740d6
TT
32782014-07-14 Tom Tromey <tromey@redhat.com>
3279
3280 * gdb.reverse/rerun-prec.c: New file.
3281 * gdb.reverse/rerun-prec.exp: New file.
3282
a25eb028
MR
32832014-07-12 Maciej W. Rozycki <macro@mips.com>
3284 Maciej W. Rozycki <macro@codesourcery.com>
3285
3286 * lib/gdb-utils.exp: New file.
3287 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
3288 inline `gdb_init_command' processing.
3289 (gdb_start_cmd): Likewise.
3290 * lib/mi-support.exp (mi_run_cmd): Likewise.
3291 * README: Document `gdb_init_command' and `gdb_init_commands'.
3292
218c2655
JK
32932014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3294
3295 Fix false FAIL running under a very long directory name.
3296 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
3297 and "set print elements 10000". Twice.
3298
5401fde3
YQ
32992014-07-11 Yao Qi <yao@codesourcery.com>
3300
3301 * gdb.base/exprs.exp: "set print symbol off".
3302
e76126e8
PA
33032014-07-11 Pedro Alves <palves@redhat.com>
3304
3305 * gdb.threads/kill.c: New file.
3306 * gdb.threads/kill.exp: New file.
3307
2d6f0de6
YQ
33082014-07-10 Yao Qi <yao@codesourcery.com>
3309
3310 * gdb.trace/tfile.c (write_basic_trace_file)
3311 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
3312 address written to trace file.
3313
7180e04a
PA
33142014-07-09 Pedro Alves <palves@redhat.com>
3315
3316 * gdb.base/attach-wait-input.exp: New file.
3317 * gdb.base/attach-wait-input.c: New file.
3318
9a9a7608
AB
33192014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3320
3321 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
3322 setting up test structures.
3323 (main): Call new test function.
3324 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
3325 test function, continue into test function and walk test
3326 structures.
3327
161ac41e
YQ
33282014-07-02 Yao Qi <yao@codesourcery.com>
3329
3330 * gdb.trace/entry-values.c: Define labels 'foo_start' and
3331 'bar_start' at the beginning of functions 'foo' and 'bar'
3332 respectively.
3333 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
3334 instead of 'foo' and 'bar'.
3335
1f267ae3
MM
33362014-07-08 Markus Metzger <markus.t.metzger@intel.com>
3337
3338 * gdb.btrace/segv.exp: New.
3339 * gdb.btrace/segv.c: New.
3340
2b239efb
LM
33412014-07-02 Luis Machado <lgustavo@codesourcery.com>
3342
3343 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
3344 instruction.
3345
cf363f18
MW
33462014-06-30 Mark Wielaard <mjw@redhat.com>
3347
3348 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
3349 vulture, vilify, villar): New volatile array constants.
3350 (vindictive, vegetation): New const volatile array constants.
3351 * gdb.base/volatile.exp: Test volatile and const volatile array
3352 types.
3353
aebf9d24
AA
33542014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
3355
3356 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
3357 target lacks support for awatch, rwatch, or hbreak.
3358
b67a2c6f
YQ
33592014-06-27 Yao Qi <yao@codesourcery.com>
3360
3361 * gdb.multi/dummy-frame-restore.exp: New.
3362 * gdb.multi/dummy-frame-restore.c: New.
3363
aef92902
MM
33642014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3365
3366 * gdb.btrace/gcore.exp: New.
3367
8e9db26e
PA
33682014-06-23 Pedro Alves <palves@redhat.com>
3369
3370 * gdb.base/watchpoint-reuse-slot.c: New file.
3371 * gdb.base/watchpoint-reuse-slot.exp: New file.
3372
70afc5b7
SC
33732014-06-23 Siva Chandra Reddy <sivachandra@google.com>
3374
3375 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
3376 progspace's filename in 'info', 'enable' and 'disable' command
3377 tests.
3378
b972bd9c
JK
33792014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3380
3381 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
3382 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3383 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
3384
125f8a3d
GB
33852014-06-20 Gary Benson <gbenson@redhat.com>
3386
3387 * gdb.arch/i386-avx.exp: Fix include file location.
3388 * gdb.arch/i386-sse.exp: Likewise.
3389
3ed9baed
IB
33902014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
3391
3392 * gdb.dlang/expression.exp: New file.
3393
034f788c
PA
33942014-06-19 Pedro Alves <palves@redhat.com>
3395
3396 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
3397 out from ...
3398 (top level): ... here. Iterate running tests under different
3399 scheduler-locking settings.
3400
45371d0c
LM
34012014-06-18 Luis Machado <lgustavo@codesourcery.com>
3402
3403 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
3404 to DW_FORM_addr and use non-zero addresses.
3405
5d376983
SC
34062014-06-18 Siva Chandra Reddy <sivachandra@google.com>
3407
3408 PR gdb/17017
3409 * gdb.python/py-xmethods.cc: Add global function call counters and
3410 increment them in their respective functions. Remove "cout"
3411 statements.
3412 * gdb.python/py-xmethods.exp: Make tests check the global function
3413 call counters instead of depending on inferior IO.
3414
a1aa2221
LM
34152014-06-18 Don Breazeal <donb@codesourcery.com>
3416
3417 * gdb.base/foll-fork.exp (default_fork_parent_follow):
3418 Deleted procedure.
3419 (explicit_fork_parent_follow): Deleted procedure.
3420 (explicit_fork_child_follow): Deleted procedure.
3421 (test_follow_fork): New procedure.
3422 (do_fork_tests): Replace calls to deleted procedures with
3423 calls to test_follow_fork and reset GDB for subsequent
3424 procedure calls.
3425
0fc05997
YQ
34262014-06-17 Yao Qi <yao@codesourcery.com>
3427
3428 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
3429 CP1252.
3430
70795c52
LM
34312014-06-17 Luis Machado <lgustavo@codesourcery.com>
3432
3433 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
3434 Initialize ptr and S explicitly.
3435 (skip_type_update_when_not_use_rtti_test): Likewise.
3436
6be47f0c
KS
34372014-06-16 Keith Seitz <keiths@redhat.com>
3438
3439 PR mi/15863
3440 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
3441 the inferior is started.
3442
d03de421
PA
34432014-06-16 Pedro Alves <palves@redhat.com>
3444
3445 * gdb.base/break-main-file-remove-fail.c: New file.
3446 * gdb.base/break-main-file-remove-fail.exp: New file.
3447 * gdb.base/break-unload-file.exp: Use build_executable instead of
3448 prepare_for_testing.
3449 (test_break): New parameter "initial_load". Handle it.
3450 (top level): Add initial_load cmdline/file axis.
3451
f9579b99
TT
34522014-06-12 Tom Tromey <tromey@redhat.com>
3453
3454 * gdb.base/completion.exp: Don't use directory name in test.
3455
3657956b
GB
34562014-06-09 Gary Benson <gbenson@redhat.com>
3457
3458 * gdb.base/sigall.c [Functions to send signals]: Reorder to
3459 separate the always-available ANSI-standard signals from the
3460 signals that require checking.
3461 (main): Likewise.
3462 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
3463 Likewise.
3464 (main): Likewise.
3465
4186eb54
KS
34662014-06-07 Keith Seitz <keiths@redhat.com>
3467
3468 Revert:
3469 PR c++/16253
3470 * gdb.cp/var-tag.cc: New file.
3471 * gdb.cp/var-tag.exp: New file.
3472 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3473 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3474 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3475 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3476
25326a28 34772014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
3478
3479 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
3480
829155c9
PA
34812014-06-06 Pedro Alves <palves@redhat.com>
3482
3483 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
3484 in target debug output instead of looking at RSP packets,
3485 disabling the test on any target that uses hardware stepping.
3486 Update comments.
3487
61c8d22e
PA
34882014-06-06 Pedro Alves <palves@redhat.com>
3489
3490 * gdb.base/break-unload-file.exp: Fix typo.
3491
d9a47287
YQ
34922014-06-06 Yao Qi <yao@codesourcery.com>
3493
3494 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
3495 from "jit_function" to "^jit_function".
3496
e5e01dbf
YQ
34972014-06-06 Yao Qi <yao@codesourcery.com>
3498
3499 * gdb.base/async.c (foo): Add one statement.
3500 * gdb.base/async.exp: Get the next instruction address and
3501 match the output of "nexti" by instruction address. Match
3502 the hex address in the output of "finish".
3503
73ba372c
GB
35042014-06-06 Gary Benson <gbenson@redhat.com>
3505
3506 * gdb.base/call-signals.c: Remove preprocessor conditionals
3507 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
3508 SIGSEGV and SIGTERM.
3509 * gdb.base/sigall.c: Likewise.
3510 * gdb.base/unwindonsignal.c: Likewise.
3511 * gdb.reverse/sigall-reverse.c: Likewise.
3512
831517df
YQ
35132014-06-06 Yao Qi <yao@codesourcery.com>
3514
3515 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
3516 readable, skip the test.
3517
b8b91e98
YQ
35182014-06-06 Yao Qi <yao@codesourcery.com>
3519
3520 * gdb.threads/staticthreads.c (thread_function): Move the line
3521 setting breakpoint on forward.
3522 * gdb.threads/staticthreads.exp: Update comments.
3523
fb934770
LC
35242014-06-05 Ludovic Courtès <ludo@gnu.org>
3525
3526 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
3527 "history-append! type error".
3528
6ef284bd
SM
35292014-06-05 Simon Marchi <simon.marchi@ericsson.com>
3530
3531 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
3532 erroneous dprintf expected input.
3533
a872e241
DE
35342014-06-04 Doug Evans <xdje42@gmail.com>
3535
3536 * gdb.guile/scm-generics.exp: Delete.
3537
16f691fb
DE
35382014-06-04 Doug Evans <xdje42@gmail.com>
3539
3540 * gdb.guile/scm-breakpoint.exp: Update.
3541 Add tests for breakpoint registration.
3542
012370f6
TT
35432014-06-04 Tom Tromey <tromey@redhat.com>
3544
3545 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
3546 VLA-in-union.
3547 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
3548 inner_vla_struct, vla_union types. Initialize objects of those
3549 types and compute their sizes.
3550
9f5a4cef
HZ
35512014-06-04 Nathan Sidwell <nathan@codesourcery.com>
3552 Hui Zhu <hui@codesourcery.com>
3553
3554 * gdb.base/fileio.exp: Add test for shell not available as well as
3555 available.
3556 * gdb.base/fileio.c (test_system): Check for shell twice.
3557
90a45c4d
YQ
35582014-06-04 Yao Qi <yao@codesourcery.com>
3559
3560 * gdb.base/auto-connect-native-target.exp: Remove redundant
3561 space from the regexp pattern.
3562
70017e41
YQ
35632014-06-04 Yao Qi <yao@codesourcery.com>
3564
3565 * gdb.base/default.exp: Replace "child" with "native" in
3566 regexp pattern.
3567
883964a7
SC
35682014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3569
3570 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
3571 * gdb.python/py-xmethods.exp: New tests to test xmethods.
3572 * gdb.python/py-xmethods.py: Python script supporting the
3573 new testcase and tests.
3574
ef370185
JB
35752014-06-03 Joel Brobecker <brobecker@adacore.com>
3576 Pedro Alves <palves@redhat.com>
3577
3578 PR breakpoints/17000
3579 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
3580 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
3581
1e2ccb61
BM
35822014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
3583
3584 * gdb.base/subst.exp: Add tests to verify partial path matching
3585 output.
3586
c6ec5ab2
PA
35872014-06-03 Pedro Alves <palves@redhat.com>
3588
3589 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
3590 target that doesn't use software single-stepping.
3591
835c559f
PA
35922014-06-03 Pedro Alves <palves@redhat.com>
3593
3594 PR breakpoints/17000
3595 * gdb.base/sss-bp-on-user-bp-2.c: New file.
3596 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
3597
06eb1586
DE
35982014-06-02 Doug Evans <xdje42@gmail.com>
3599
3600 * gdb.guile/scm-parameter.exp: New file.
3601
e698b8c4
DE
36022014-06-02 Doug Evans <xdje42@gmail.com>
3603
3604 * gdb.guile/scm-cmd.c: New file.
3605 * gdb.guile/scm-cmd.exp: New file.
3606
ded03782
DE
36072014-06-02 Doug Evans <xdje42@gmail.com>
3608
3609 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
3610 pretty-printer lookup.
3611 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
3612 (make-pp_s-printer): Call it.
3613 (make-pretty-printer-from-dict): New function.
3614 (lookup-pretty-printer-maker-from-dict): New function.
3615 (*pretty-printer*): Simplify.
3616 (make-objfile-pp_s-printer): New function.
3617 (install-objfile-pretty-printers!): New function.
3618 (make-progspace-pp_s-printer): New function.
3619 (install-progspace-pretty-printers!): New function.
3620 * gdb.guile/scm-progspace.c: New file.
3621 * gdb.guile/scm-progspace.exp: New file.
3622
41fac0cf
PA
36232014-06-02 Pedro Alves <palves@redhat.com>
3624
3625 * gdb.base/dprintf-bp-same-addr.c: New file.
3626 * gdb.base/dprintf-bp-same-addr.exp: New file.
3627
96ae5695
EBM
36282014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3629
3630 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
3631 * gdb.arch/powerpc-power.s: Likewise.
3632
da02b3a8
JB
36332014-06-02 Joel Brobecker <brobecker@adacore.com>
3634
3635 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
3636
c72b2e7b
YQ
36372014-06-01 Yao Qi <yao@codesourcery.com>
3638
3639 * gdb.base/watchpoint.exp (test_watch_location): Check null
3640 pointer can be dereferenced. If not, do the test, otherwise
3641 skip it.
3642
53e8a631
AB
36432014-05-30 Andrew Burgess <aburgess@broadcom.com>
3644
3645 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
3646 results.
3647 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
3648
938f0e2f
AB
36492014-05-30 Andrew Burgess <aburgess@broadcom.com>
3650
3651 * gdb.arch/amd64-invalid-stack-middle.S: New file.
3652 * gdb.arch/amd64-invalid-stack-middle.c: New file.
3653 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
3654 * gdb.arch/amd64-invalid-stack-top.c: New file.
3655 * gdb.arch/amd64-invalid-stack-top.exp: New file.
3656
9ba6657a
PA
36572014-05-30 Pedro Alves <palves@redhat.com>
3658
3659 PR breakpoints/17000
3660 * gdb.base/sss-bp-on-user-bp.c: New file.
3661 * gdb.base/sss-bp-on-user-bp.exp: New file.
3662
522c09bf
DB
36632014-05-30 David Blaikie <dblaikie@gmail.com>
3664
3665 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
3666 gnu_inline semantics via attribute.
3667 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
3668 source explicitly specifies the required semantics.
3669
bf4ef81e
MR
36702014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
3671
3672 * gdb.reverse/sigall-reverse.exp: Fix a typo.
3673
329ea579
PA
36742014-05-29 Pedro Alves <palves@redhat.com>
3675 Tom Tromey <tromey@redhat.com>
3676
3677 * gdb.base/async-shell.exp: Don't enable target-async.
3678 * gdb.base/async.exp
3679 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
3680 parameter. Adjust.
3681 (top level): Don't test with "target-async".
3682 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
3683 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
3684 * gdb.base/inferior-died.exp: Don't enable target-async.
3685 * gdb.base/interrupt-noterm.exp: Likewise.
3686 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
3687 * gdb.mi/mi-nonstop-exit.exp: Likewise.
3688 * gdb.mi/mi-nonstop.exp: Likewise.
3689 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
3690 * gdb.mi/mi-nsintrall.exp: Likewise.
3691 * gdb.mi/mi-nsmoribund.exp: Likewise.
3692 * gdb.mi/mi-nsthrexec.exp: Likewise.
3693 * gdb.mi/mi-watch-nonstop.exp: Likewise.
3694 * gdb.multi/watchpoint-multi.exp: Adjust comment.
3695 * gdb.python/py-evsignal.exp: Don't enable target-async.
3696 * gdb.python/py-evthreads.exp: Likewise.
3697 * gdb.python/py-prompt.exp: Likewise.
3698 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
3699 * gdb.server/solib-list.exp: Don't enable target-async.
3700 * gdb.threads/thread-specific-bp.exp: Likewise.
3701 * lib/mi-support.exp: Adjust to use mi-async.
3702
fd664c91
PA
37032014-05-29 Pedro Alves <palves@redhat.com>
3704
3705 PR gdb/13860
3706 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
3707 reason, even in sync mode.
3708
251bde03
PA
37092014-05-29 Pedro Alves <palves@redhat.com>
3710 Hui Zhu <hui@codesourcery.com>
3711
3712 PR PR15693
3713 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
3714 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
3715 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
3716 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
3717
7f3c0343
JB
37182014-05-28 Joel Brobecker <brobecker@adacore.com>
3719
3720 * config/monitor.exp (gdb_target_monitor): Replace use of
3721 "set remotebaud" by "set serial baud".
3722
b2715b27
AW
37232014-05-26 Andy Wingo <wingo@igalia.com>
3724
3725 * gdb.guile/scm-breakpoint.exp:
3726 * gdb.guile/scm-gsmob.exp: Update to use plain old object
3727 properties instead of gdb-object-properties.
3728
498a4489
YQ
37292014-05-26 Yao Qi <yao@codesourcery.com>
3730
3731 * gdb.server/no-thread-db.exp: Specify source file name
3732 explicitly when setting a breakpoint.
3733
589fdceb
MM
37342014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3735
3736 * gdb.btrace/vdso.c: New.
3737 * gdb.btrace/vdso.exp: New.
3738
e9089e05
MM
37392014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3740
3741 * gdb.base/gcore.exp (capture_command_output): Move ...
3742 * lib/gdb.exp (capture_command_output): ... here.
3743
67b5c0c1
MM
37442014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3745
3746 * gdb.btrace/data.exp: Test memory access during btrace replay.
3747
a2199296
SM
37482014-05-22 Simon Marchi <simon.marchi@ericsson.com>
3749
3750 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
3751
17b2616c
PA
37522014-05-21 Pedro Alves <palves@redhat.com>
3753
3754 PR gdb/13860
3755 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
3756 (top level): Test that output related to execution commands is
3757 sent to the console with CLI commands, but not with MI commands.
3758 Test that breakpoint events are always mirrored to the console.
3759 Also expect the new source line to be output after a "next" in
3760 async mode too. Make it a pass/fail test.
3761 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
3762 output.
3763 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
3764
5166082f
PA
37652014-05-21 Pedro Alves <palves@redhat.com>
3766
3767 * gdb.base/list.exp (build_pattern, test_list): New procedures.
3768 Use them to test variations of "list" after reaching a breakpoint.
3769 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
3770 Test "list" with listsize 10 after reaching a breakpoint.
3771 * gdb.python/python.exp (decode_line current location line
3772 number): Adjust expected line number.
3773
2f25d70f
SM
37742014-05-21 Simon Marchi <simon.marchi@ericsson.com>
3775
3776 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
3777 behavior for $args, pass it directly to "run".
3778
ff604a67
MR
37792014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3780
3781 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
3782 30000 to 65536.
3783
6a3cb8e8
PA
37842014-05-21 Pedro Alves <palves@redhat.com>
3785
3786 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
3787 auto-connect-native-target off".
3788 * gdb.base/auto-connect-native-target.c: New file.
3789 * gdb.base/auto-connect-native-target.exp: New file.
3790
4ebfc96e
PA
37912014-05-21 Pedro Alves <palves@redhat.com>
3792
3793 * gdb.base/default.exp: Test "target native" instead of "target
3794 child".
3795
36d46afb
MW
37962014-05-21 Mark Wielaard <mjw@redhat.com>
3797
3798 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3799
5876f503
JK
38002014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3801
3802 Fix TLS access for -static -pthread.
3803 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
3804 <HAVE_TLS> (thread_function, main): Initialize it.
3805 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
3806 Add clean_restart.
3807 <$have_tls != "">: Check TLSVAR.
3808
0256a6ac
PA
38092014-05-21 Pedro Alves <palves@redhat.com>
3810
3811 * gdb.base/dcache-line-read-error.c: New.
3812 * gdb.base/dcache-line-read-error.exp: New.
3813
936d2992
PA
38142014-05-20 Pedro Alves <palves@redhat.com>
3815
3816 * gdb.base/compare-sections.c: New file.
3817 * gdb.base/compare-sections.exp: New file.
3818
802e8e6d
PA
38192014-05-20 Pedro Alves <palves@redhat.com>
3820
3821 * gdb.base/break-idempotent.c: New file.
3822 * gdb.base/break-idempotent.exp: New file.
3823
e59fa00f
MM
38242014-05-20 Markus Metzger <markus.t.metzger@intel.com>
3825
3826 * gdb.btrace/nohist.exp: New.
3827
8b696e31
YQ
38282014-05-20 Yao Qi <yao@codesourcery.com>
3829
3830 * lib/gdb.exp (gdb_init): Set timeout if test file is under
3831 gdb.reverse directory and gdb_reverse_timeout exists in board
3832 setting.
3833 * README: Document gdb_reverse_timeout.
3834
73c9764f
YQ
38352014-05-20 Yao Qi <yao@codesourcery.com>
3836
3837 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
3838 'test_file_name'. Treat args as a string instead of a list.
3839 (gdb_init): Rename argument 'args' by 'test_file_name'.
3840
f1f4348a
JK
38412014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3842
3843 * gdb.arch/powerpc-power.exp: New file.
3844 * gdb.arch/powerpc-power.s: New file.
3845
0dbe70ce
DE
38462014-05-16 Doug Evans <dje@google.com>
3847
3848 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
3849 * gdb.base/completion.exp: Check that all expected files exist
3850 before doing file completion.
0dbe70ce 3851
8d551b02
DE
38522014-05-16 Doug Evans <dje@google.com>
3853
3854 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
3855 Update.
3856 (do_syscall_tests_without_xml): Update.
3857
73eb7709
PA
38582014-05-16 Pedro Alves <palves@redhat.com>
3859
3860 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
3861 instead of "unknown output after running".
3862
3fae92fc
YQ
38632014-05-16 Yao Qi <yao@codesourcery.com>
3864
3865 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
3866 file1.txt from host at the end.
3867 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3868
c2b2ccc5
DE
38692014-05-15 Doug Evans <dje@google.com>
3870
3871 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
3872 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
3873 loading file. Add test for TU lookup.
3874
8c217a4b
SM
38752014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3876
3877 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
3878 calling "-exec-arguments" or "set args" before running the
3879 inferior.
3880
3deb39c6
SM
38812014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3882
3883 * lib/mi-support.exp (mi_expect_stop): Expect message for
3884 inferiors that exit with non-zero exit code.
3885
71a79f8c
YQ
38862014-05-14 Yao Qi <yao@codesourcery.com>
3887
3888 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
3889 match absolute path on remote host.
3890 (test_file_list_exec_source_files): Remove "/" from the
3891 pattern.
3892
f23fcd46
YQ
38932014-05-14 Yao Qi <yao@codesourcery.com>
3894
3895 * boards/local-remote-host-notty.exp (${board}_file): New
3896 proc.
3897
9404b58f
KM
38982014-05-07 Kyle McMartin <kyle@redhat.com>
3899
3900 Pushed by Joel Brobecker <brobecker@adacore.com>.
3901 * gdb.arch/aarch64-atomic-inst.c: New file.
3902 * gdb.arch/aarch64-atomic-inst.exp: New file.
3903
5e45f04c
YQ
39042014-05-07 Yao Qi <yao@codesourcery.com>
3905
3906 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
3907 in current context" too.
3908
c888a17d
KS
39092014-05-05 Keith Seitz <keiths@redhat.com>
3910
3911 * gdb.linespec/ls-dollar.exp: Add test for linespec
3912 file:convenience_variable.
3913
290a839c
YQ
39142014-05-05 Yao Qi <yao@codesourcery.com>
3915
3916 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
3917 traceframes into tfile and ctf trace files. Read data from
3918 trace file and test collected data.
3919 (gdb_collect_locals_test): Likewise.
3920 (gdb_unavailable_registers_test): Likewise.
3921 (gdb_unavailable_floats): Likewise.
3922 (gdb_collect_globals_test): Likewise.
3923 (top-level): Append "ctf" to trace_file_targets if GDB
3924 supports.
3925
b5262cd0
YQ
39262014-05-05 Yao Qi <yao@codesourcery.com>
3927
3928 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
3929 code to ...
3930 (gdb_collect_args_test_1): ... it. New proc.
3931 (gdb_collect_locals_test): Move some code to ...
3932 (gdb_collect_locals_test_1): ... it. New proc.
3933 (gdb_unavailable_registers_test): Move some code to ...
3934 (gdb_unavailable_registers_test_1): ... it. New proc.
3935 (gdb_unavailable_floats): Move some code to ...
3936 (gdb_unavailable_floats_1): ... it. New proc.
3937
30a1e6cc
SDJ
39382014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3939
3940 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
3941 probes to test for bitness recognition.
3942 * gdb.arch/amd64-stap-optional-prefix.exp
3943 (test_probe_value_without_reg): New procedure.
3944 Add code to test for different kinds of bitness.
3945
f33da99a
SDJ
39462014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3947
3948 PR breakpoints/16889
3949 * gdb.arch/amd64-stap-optional-prefix.S: New file.
3950 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3951
5b80f00d
PA
39522014-05-01 Pedro Alves <palves@redhat.com>
3953
3954 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
3955 gdb_file_cmd if no file is specified.
3956 * boards/native-extended-gdbserver.exp (gdb_load): Use the
3957 last_loaded_file to set the remote exec-file.
3958
f8c2a73c
PA
39592014-05-01 Pedro Alves <palves@redhat.com>
3960
3961 * boards/local-remote-host.exp: New file.
3962
be6e8ac7
PA
39632014-05-01 Pedro Alves <palves@redhat.com>
3964
3965 * boards/local-remote-host.exp: Rename to ...
3966 * boards/local-remote-host-notty.exp: ... this.
3967
cac0dc8f
JB
39682014-04-28 Joel Brobecker <brobecker@adacore.com>
3969
3970 * gdb.ada/dyn_arrayidx: New testcase.
3971
9730e6cc
YQ
39722014-04-26 Yao Qi <yao@codesourcery.com>
3973
3974 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
3975 and compute the length of function main. Save it in
3976 $main_length.
3977 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
3978 (top-level): Use gdb_compile to compile objects into
3979 executable and restart GDB. Remove invocation to
3980 prepare_for_testing.
3981
7ae1a6a6
PA
39822014-04-25 Simon Marchi <simon.marchi@ericsson.com>
3983 Pedro Alves <palves@redhat.com>
3984
3985 PR server/16255
3986 * gdb.multi/multi-attach.c: New file.
3987 * gdb.multi/multi-attach.exp: New file.
3988
4082afcc
PA
39892014-04-25 Pedro Alves <palves@redhat.com>
3990
3991 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
3992 user.
3993 (top level): Test that "set remote conditional-breakpoints-packet
3994 off" works as intended.
3995 * gdb.base/dprintf.exp: Test that "set remote
3996 breakpoint-commands-packet off" works as intended.
3997 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
3998 New function.
3999 (top level): Call it.
4000 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
4001 remote fast-tracepoints-packet off" works as intended.
4002 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
4003 * lib/gdb.exp (gdb_is_target_remote): ... here.
4004
2abc3f8d
DB
40052014-04-24 David Blaikie <dblaikie@gmail.com>
4006
4007 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
4008 ensure clang would not discard them.
4009 * gdb.base/gdbvars.c: Ditto.
4010 * gdb.base/memattr.c: Ditto.
4011 * gdb.base/whatis.c: Ditto.
4012 * gdb.python/py-prettyprint.c: Ditto.
4013 * gdb.trace/actions.c: Ditto.
4014 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
4015 ensure clang would not discard it.
4016
bfd39632
DB
40172014-04-24 David Blaikie <dblaikie@gmail.com>
4018
4019 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
4020 clang to emit the full definition of type required by the test
4021 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
4022
22842ff6
DB
40232014-04-24 David Blaikie <dblaikie@gmail.com>
4024
4025 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
4026 coax Clang into emitting the definition of the type.
4027 * gdb.cp/pr10728-x.h (y): Ditto.
4028 * gdb.cp/pr10728-y.cc (y): Ditto.
4029
c2e827ad
DB
40302014-04-24 David Blaikie <dblaikie@gmail.com>
4031
4032 * gdb.base/label.exp: XFAIL label related tests under Clang.
4033 * gdb.cp/cplabel.exp: Ditto.
4034 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
4035 under Clang those using labels.
4036
4c2d33e7
YQ
40372014-04-25 Yao Qi <yao@codesourcery.com>
4038
4039 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
4040 double_label.
4041 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
4042 partial_label and double_label.
4043
56083b99
DB
40442014-04-24 David Blaikie <dblaikie@gmail.com>
4045
4046 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
4047
25d4e99d
DB
40482014-04-24 David Blaikie <dblaikie@gmail.com>
4049
4050 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
4051 of the function to work across GCC and Clang.
4052 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
4053 pointer types (const void ** const V void **).
4054
01f9f808
MS
40552014-04-24 Michael Sturm <michael.sturm@mintel.com>
4056 Walfred Tedeschi <walfred.tedeschi@intel.com>
4057
4058 * Makefile.in (EXECUTABLES): Added i386-avx512.
4059 * gdb.arch/i386-avx512.c: New file.
4060 * gdb.arch/i386-avx512.exp: Likewise.
4061
4b48d439
KS
40622014-04-23 Keith Seitz <keiths@redhat.com>
4063
4064 * lib/mi-support.exp (mi_list_breakpoints): Delete.
4065 (mi_make_breakpoint_table): New procedure.
4066 (mi_create_breakpoint): Use mi_make_breakpoint
4067 and return the result.
4068 (mi_make_breakpoint): New procedure.
4069 (mi_build_kv_pairs): New procedure.
4070
4071 * gdb.mi/mi-break.exp: Remove unused globals,
4072 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
4073 All callers updated.
4074 * gdb.mi/mi-dprintf.exp: Use variable to track command
4075 number.
4076 Update all callers of mi_create_breakpoint and use
4077 mi_make_breakpoint_table.
4078 Remove any unused global variables.
4079 * gdb.mi/mi-nonstop.exp: Likewise.
4080 * gdb.mi/mi-nsintrall.exp: Likewise.
4081 * gdb.mi/mi-nsmoribund.exp: Likewise.
4082 * gdb.mi/mi-nsthrexec.exp: Likewise.
4083 * gdb.mi/mi-reverse.exp: Likewise.
4084 * gdb.mi/mi-simplerun.exp: Likewise.
4085 * gdb.mi/mi-stepn.exp: Likewise.
4086 * gdb.mi/mi-syn-frame.exp: Likewise.
4087 * gdb.mi/mi-until.exp: Likewise.
4088 * gdb.mi/mi-var-cp.exp: Likewise.
4089 * gdb.mi/mi-var-display.exp: Likewise.
4090 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
4091 * gdb.mi/mi2-var-child.exp: Likewise.
4092 * gdb.mi/mi-vla-c99.exp: Likewise.
4093 * lib/mi-support.exp: Likewise.
4094
4095 From Ian Lance Taylor <iant@cygnus.com>:
4096 * lib/gdb.exp (parse_args): New procedure.
4097
08351840
PA
40982014-04-23 Pedro Alves <palves@redhat.com>
4099
4100 * gdb.base/break-unload-file.c: New file.
4101 * gdb.base/break-unload-file.exp: New file.
4102 * gdb.base/sym-file-lib.c (baz): New function.
4103 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
4104 field.
4105 (load): Store the segment's mapped size.
4106 (unload): New function.
4107 (unload_shlib): New function.
4108 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
4109 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
4110 set a breakpoint at baz, and call it.
4111 * gdb.base/sym-file.exp: New tests for stale breakpoint
4112 instructions.
4113
076855f9
PA
41142014-04-23 Pedro Alves <palves@redhat.com>
4115
4116 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
4117 * gdb.base/hbreak-in-shr-unsupported.c: New file.
4118 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
4119 * gdb.base/hbreak-unmapped.c: New file.
4120 * gdb.base/hbreak-unmapped.exp: New file.
4121 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
4122 * lib/gdb.exp (gdb_is_target_remote): ... here.
4123
483805cf
PA
41242014-04-22 Pedro Alves <palves@redhat.com>
4125
4126 * gdb.base/consecutive-step-over.c: New file.
4127 * gdb.base/consecutive-step-over.exp: New file.
4128
06d97543
PA
41292014-04-22 Pedro Alves <palves@redhat.com>
4130
4131 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
4132 instead of send_gdb/gdb_expect.
4133
b4429ea2
YQ
41342014-04-22 Yao Qi <yao@codesourcery.com>
4135
4136 * lib/trace-support.exp (generate_tracefile): New procedure.
4137 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
4138 return 0.
4139 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
4140 if generate_tracefile returns 1.
4141
51d48146
PA
41422014-04-18 Tom Tromey <palves@redhat.com>
4143 Pedro alves <tromey@redhat.com>
4144
4145 PR backtrace/15558
4146 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
4147 with a backtrace limit.
4148 * gdb.python/py-frame-inline.exp: Test running to an inline
4149 function with a backtrace limit, and printing the newest frame.
4150 * gdb.python/py-frame-inline.c (main): Call f.
4151
bd1dce5f
MS
41522014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
4153
4154 * gdb.java/jnpe.exp: Drop srcdir from untested path.
4155
40d1a503
MS
41562014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
4157
4158 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
4159 Drop prefix from unsupported source file path.
4160
389b98f7
YQ
41612014-04-17 Yao Qi <yao@codesourcery.com>
4162
4163 * lib/gdb.exp (with_target_charset): New proc.
4164 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
4165 with_target_charset.
4166 (test_print_strings): Likewise.
4167 (test_repeat_bytes): Likewise.
4168 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
4169 for some tests.
4170
22869d73
KS
41712014-04-16 Keith Seitz <keiths@redhat.com>
4172
4173 PR gdb/15827
4174 * gdb.dwarf2/corrupt.c: New file.
4175 * gdb.dwarf2/corrupt.exp: New file.
4176
c4f87ca6
KS
41772014-04-16 Keith Seitz <keiths@redhat.com>
4178
4179 PR c++/16597
4180 * gdb.cp/namelessclass.cc: New file.
4181 * gdb.cp/namelessclass.exp: New file.
4182 * gdb.cp/namelessclass.S: New file.
4183
ab19de87
DE
41842014-04-16 Doug Evans <dje@google.com>
4185
4186 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
4187 Add comment.
4188 (gdbserver_default_get_comm_port): New function.
4189 (gdbserver_start): Check if board file provided
4190 "gdbserver,get_comm_port" and use it if so.
4191 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
4192 (gdb,socketport): Set to "stdio".
4193 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
4194 (stdio_gdbserver_template): Delete.
4195 (${board}_get_remote_address): Update.
4196 (${board}_build_remote_cmd): Delete.
4197 (${board}_get_comm_port): New function.
4198 (${board}_spawn): Update.
4199 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
4200 Delete.
4201 (${board}_get_remote_address): Update.
4202 (${board}_get_comm_port): New function.
4203
fc98a809
AB
42042014-04-16 Andrew Burgess <aburgess@broadcom.com>
4205
4206 * gdb.base/memattr.exp: Improve regexps to handle memory regions
4207 appearing in any order.
4208
87fd9e6e
DE
42092014-04-15 Doug Evans <dje@google.com>
4210
4211 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
4212 uninitialized value of "description".
4213
099fc3ea
KS
42142014-04-15 Keith Seitz <keiths@redhat.com>
4215
4216 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
4217 Remove unused globals.
4218 (test_running_the_program): Likewise.
4219 (test_controlled_execution): Likewise.
4220 (test_controlling_breakpoints): Likewise.
4221 (test_program_termination): Likewise.
4222
5da151d4
KS
42232014-04-15 Keith Seitz <keiths@redhat.com>
4224
4225 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
4226 unused globals.
4227 (test_rbreak_creation_and_listing): Likewise.
4228 (test_ignore_count): Likewise.
4229 (test_error): Likewise.
4230
35e5d2f0
PA
42312014-04-15 Pedro Alves <palves@redhat.com>
4232
4233 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
4234 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
4235 sym-file-loader.c.
4236 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4237 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4238 to sym-file-loader.c.
4239 (struct library): Forward declare.
4240 (load_shlib, lookup_function): Change prototypes.
4241 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4242 (translate_offset): Remove declarations.
4243 (get_text_addr): New declaration.
4244 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
4245 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
4246 sym-file-loader.h.
4247 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4248 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4249 here from sym-file-loader.h.
4250 (struct library): New structure.
4251 (load_shlib, lookup_function): Change prototypes and adjust to
4252 work with a struct library.
4253 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4254 (translate_offset): Make static.
4255 (get_text_addr): New function.
4256 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
4257
eb4c1710
PA
42582014-04-15 Pedro Alves <palves@redhat.com>
4259
4260 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
4261
2d1baf52
PA
42622014-04-15 Pedro Alves <palves@redhat.com>
4263
4264 * gdb.base/sym-file-loader.c: Include <limits.h>.
4265 (SELF_LINK): New define.
4266 (get_origin): New function.
4267 (load_shlib): Use it.
4268 * gdb.base/sym-file.exp: Don't early return if the target is
4269 remote. Use runto_main, and issue fail is that fails. Use
4270 gdb_load_shlibs.
4271 (shlib_name): Delete.
4272 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
4273
7dd6df01
PA
42742014-04-15 Pedro Alves <palves@redhat.com>
4275
4276 * gdb.base/sym-file.exp: Remove regex characters from test
4277 message. Don't refer to breakpoint numbers in test messages.
4278
b50c8614
KS
42792014-04-14 Keith Seitz <keiths@redhat.com>
4280
4281 PR c++/16253
4282 * gdb.cp/var-tag.cc: New file.
4283 * gdb.cp/var-tag.exp: New file.
4284 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4285 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4286 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4287 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4288
3d567982
TT
42892014-04-14 Tom Tromey <tromey@redhat.com>
4290
4291 * gdb.cp/classes.exp (test_enums): Handle underlying type.
4292 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
4293 type.
4294 * gdb.cp/enum-class.exp: New file.
4295 * gdb.cp/enum-class.cc: New file.
4296
0626fc76
TT
42972014-04-14 Tom Tromey <tromey@redhat.com>
4298
4299 * gdb.dwarf2/enum-type.exp: New file.
4300
dca325b3
SA
43012014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4302
4303 * gdb.mi/mi-vla-c99.exp: New file.
4304 * gdb.mi/vla.c: New file.
4305
5854b38a
SA
43062014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4307
4308 * gdb.base/vla-datatypes.c: New file.
4309 * gdb.base/vla-datatypes.exp: New file.
4310
463bb957
SA
43112014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4312
4313 * gdb.base/vla-ptr.c: New file.
4314 * gdb.base/vla-ptr.exp: New file.
4315
3dd170be
SA
43162014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4317
4318 * gdb.dwarf2/count.exp: New file.
4319
5ecaaa66
SA
43202014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4321
4322 * gdb.base/vla-sideeffect.c: New file.
4323 * gdb.base/vla-sideeffect.exp: New file.
4324
41f1ada5
DB
43252014-04-14 David Blaikie <dblaikie@gmail.com>
4326
4327 * gdb.mi/non-stop.c: Add return value for non-void function return
4328 statement.
4329 * gdb.threads/staticthreads.c: Ditto.
4330
0be03e84
DE
43312014-04-12 Siva Chandra Reddy <sivachandra@google.com>
4332 Doug Evans <xdje42@gmail.com>
4333
4334 * gdb.guile/scm-value.c: Improve test case.
4335 * gdb.guile/scm-value.exp: Add new test.
4336
f180a1fb
DB
43372014-04-11 David Blaikie <dblaikie@gmail.com>
4338
4339 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
4340 override Clang's default.
4341
6b662e19
JB
43422014-04-11 Joel Brobecker <brobecker@adacore.com>
4343
4344 Revert the following changes (regressions):
4345
4346 * gdb.base/vla-sideeffect.c: New file.
4347 * gdb.base/vla-sideeffect.exp: New file.
4348
4349 * gdb.dwarf2/count.exp: New file.
4350
4351 * gdb.base/vla-multi.c: New file.
4352 * gdb.base/vla-multi.exp: New file.
4353
4354 * gdb.base/vla-ptr.c: New file.
4355 * gdb.base/vla-ptr.exp: New file.
4356
4357 * gdb.base/vla-datatypes.c: New file.
4358 * gdb.base/vla-datatypes.exp: New file.
4359
4360 * gdb.mi/mi-vla-c99.exp: New file.
4361 * gdb.mi/vla.c: New file.
4362
245a5f0b
KS
43632014-04-11 Keith Seitz <keiths@redhat.com>
4364
4365 PR c++/16675
4366 * gdb.cp/cpsizeof.exp: New file.
4367 * gdb.cp/cpsizeof.cc: New file.
4368
58a84dcf
SA
43692014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4370
191a8a90
JB
4371 * gdb.mi/mi-vla-c99.exp: New file.
4372 * gdb.mi/vla.c: New file.
58a84dcf 4373
c8655f75
SA
43742014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4375
4376 * gdb.base/vla-datatypes.c: New file.
4377 * gdb.base/vla-datatypes.exp: New file.
4378
024e13b4
SA
43792014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4380
4381 * gdb.base/vla-ptr.c: New file.
4382 * gdb.base/vla-ptr.exp: New file.
4383
1a237e0e
SA
43842014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4385
4386 * gdb.base/vla-multi.c: New file.
4387 * gdb.base/vla-multi.exp: New file.
4388
504f3432
SA
43892014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4390
4391 * gdb.dwarf2/count.exp: New file.
4392
3bce8237
SA
43932014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4394
191a8a90
JB
4395 * gdb.base/vla-sideeffect.c: New file.
4396 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 4397
322f9c21
YQ
43982014-04-11 Yao Qi <yao@codesourcery.com>
4399
4400 * gdb.base/completion.exp: Check file exists before running tests
4401 on file completion.
4402
d708bcd1
PA
44032014-04-10 Pedro Alves <palves@redhat.com>
4404
4405 * gdb.base/cond-eval-mode.c: New file.
4406 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
4407 prepare_for_testing to build the new file. Check result of
4408 runto_main.
4409 (test_break, test_watch): New procedures.
4410 (top level): Use them.
4411
ae1d2761
PM
44122014-04-08 Pierre Muller <muller@sourceware.org>
4413
4414 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
4415 Ctrl-V use for mingw hosts.
4416
7af389b8
SC
44172014-04-07 Siva Chandra Reddy <sivachandra@google.com>
4418
4419 * gdb.python/py-value.c: Improve test case.
4420 * gdb.python/py-value.exp: Add new test.
4421
5e703181
DE
44222014-04-07 David Blaikie <dblaikie@gmail.com>
4423
4424 * lib/compiler.c: Identify the clang compiler.
4425 * lib/compiler.cc: Ditto.
4426
9810b410
YQ
44272014-04-03 Yao Qi <yao@codesourcery.com>
4428
4429 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
4430
98d1b8dc
AB
44312014-04-01 Anton Blanchard <anton@samba.org>
4432
4433 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
4434 messages unique.
4435
3114cea1
AB
44362014-04-01 Anton Blanchard <anton@samba.org>
4437
4438 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
4439 prepare_for_testing.
4440
62f7182c
AB
44412014-04-01 Anton Blanchard <anton@samba.org>
4442
4443 * gdb.arch/ppc64-atomic-inst.c: Remove.
4444 * gdb.arch/ppc64-atomic-inst.S: New file.
4445 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
4446
770e7fc7
DE
44472014-03-31 Doug Evans <dje@google.com>
4448
4449 * gdb.base/print-symbol-loading-lib.c: New file.
4450 * gdb.base/print-symbol-loading-main.c: New file.
4451 * gdb.base/print-symbol-loading.exp: New file.
4452
46e2bafa
YQ
44532014-03-31 Yao Qi <yao@codesourcery.com>
4454
4455 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
4456
8776cfe9
JB
44572014-03-28 Joel Brobecker <brobecker@adacore.com>
4458
4459 * gdb.ada/mi_dyn_arr: New testcase.
4460
5d1ef361
DE
44612014-03-27 Doug Evans <dje@google.com>
4462
4463 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
4464
b5bee914
YQ
44652014-03-27 Yao Qi <yao@codesourcery.com>
4466
4467 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
4468 if target is nios2-*-*.
4469
0d4d0e77
YQ
44702014-03-26 Yao Qi <yao@codesourcery.com>
4471
4472 * lib/gdb.exp (readline_is_used): New proc.
4473 * gdb.base/completion.exp: Move tests on command complete up.
4474 Skip the rest of tests if readline is not used.
4475 * gdb.ada/complete.exp: Skp the test if readline is not
4476 used.
4477 * gdb.base/filesym.exp: Likewise.
4478 * gdb.base/macscp.exp: Likewise.
4479 * gdb.base/readline-ask.exp: Likewise.
4480 * gdb.base/readline.exp: Likewise.
4481 * gdb.python/py-cmd.exp: Likewise.
4482 * gdb.trace/tfile.exp: Likewise.
4483
29361eee
YQ
44842014-03-26 Yao Qi <yao@codesourcery.com>
4485
4486 * gdb.base/macscp.exp: Fix code format issues.
4487
bc9a5525
UW
44882014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
4489
4490 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
4491 * gdb.asm/powerpc64le.inc: New file.
4492
d3839ede
PA
44932014-03-25 Pedro Alves <palves@redhat.com>
4494 Doug Evans <dje@google.com>
4495
4496 * gdb.base/source-execution.c: New file.
4497 * gdb.base/source-execution.exp: New file.
4498 * gdb.base/source-execution.gdb: New file.
4499
01672a57
DE
45002014-03-24 Doug Evans <dje@google.com>
4501
4502 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
4503 using fission.
4504
88bbeca9
HZ
45052014-03-24 Hui Zhu <hui@codesourcery.com>
4506 Pedro Alves <palves@redhat.com>
4507
4508 PR breakpoints/16101
4509 * gdb.base/dprintf.exp: Use unsupported rather than changing the
4510 test pass/fail messages. Detect missing support for dprintf when
4511 breakpoints are actually inserted.
4512 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
4513 breakpoints are actually inserted.
4514 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
4515 fails.
4516
d2348791
JK
45172014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4518
4519 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
4520
feef67ab
DE
45212014-03-22 Doug Evans <xdje42@gmail.com>
4522
4523 * gdb.python/python.exp (python not supported): Verify multi-line
4524 python command issues an error.
25d743f9 4525 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 4526 guile command issues an error.
feef67ab 4527
ecebef6a
MR
45282014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
4529
4530 * gdb.threads/thread-specific.exp: Handle the lack of usable
4531 $this_breakpoint and $this_thread.
4532
ccdd1909
HZ
45332014-03-21 Hui Zhu <hui@codesourcery.com>
4534
4535 * gdb.base/attach.exp (do_command_attach_tests): New.
4536
beb460e8
PA
45372014-03-20 Tom Tromey <tromey@redhat.com>
4538 Pedro Alves <palves@redhat.com>
4539
4540 PR cli/15718
4541 * gdb.base/condbreak-call-false.c: New file.
4542 * gdb.base/condbreak-call-false.exp: New file.
4543
40acf43a
PA
45442014-03-20 Pedro Alves <palves@redhat.com>
4545
4546 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
4547 Delete.
4548 (block_signals, unblock_signals): Delete.
4549 (child_function_2, main): Remove references to deleted variable
4550 and functions.
4551
9f5e1e02
PA
45522014-03-20 Pedro Alves <palves@redhat.com>
4553
4554 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
4555 Use pthread_kill to signal thread 2.
4556 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4557 Adjust to make the test send itself a signal rather than using the
4558 host's "kill" command.
4559
99619bea
PA
45602014-03-20 Pedro Alves <palves@redhat.com>
4561
4562 * gdb.threads/multiple-step-overs.c: New file.
4563 * gdb.threads/multiple-step-overs.exp: New file.
4564 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4565 Adjust expected infrun debug output.
4566
2adfaa28
PA
45672014-03-20 Pedro Alves <palves@redhat.com>
4568
4569 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
4570 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
4571
31e77af2
PA
45722014-03-20 Pedro Alves <palves@redhat.com>
4573
4574 PR breakpoints/7143
4575 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
4576 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
4577 of gdb_test_multiple.
4578 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
4579 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
4580
b9f437de
PA
45812014-03-20 Pedro Alves <palves@redhat.com>
4582
4583 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
4584 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
4585
05adc73e
PA
45862014-03-19 Pedro Alves <palves@redhat.com>
4587
4588 * gdb.base/async.exp: Remove early return.
4589
6048b950
PA
45902014-03-19 Pedro Alves <palves@redhat.com>
4591
4592 * gdb.base/async.exp (step& tests): Pass explicit test messages.
4593
8bcfb00a
PA
45942014-03-19 Pedro Alves <palves@redhat.com>
4595
4596 * gdb.base/async.exp (test_background): Expect \r\n after
4597 "completed." in the fail pattern.
4598
884e37dc
PA
45992014-03-19 Pedro Alves <palves@redhat.com>
4600
4601 * gdb.base/async.exp (test_background): New procedure.
4602 Use it for all background execution command tests.
4603
148e57e2
PA
46042014-03-19 Pedro Alves <palves@redhat.com>
4605
4606 * gdb.base/async.exp: Use prepare_for_testing.
4607
f48088c7
PA
46082014-03-19 Pedro Alves <palves@redhat.com>
4609
4610 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
4611 the same line.
4612
e2f6c966
PA
46132014-03-19 Pedro Alves <palves@redhat.com>
4614
4615 * gdb.base/async.c (main): Add "jump here" and "until here" line
4616 marker comments.
4617 * gdb.base/async.exp (jump_here): New global.
4618 (jump& test): Use it.
4619 (until_here): New global.
4620 (until& test): Use it.
4621
c30568d4
PA
46222014-03-19 Pedro Alves <palves@redhat.com>
4623
4624 * gdb.base/async.exp: Don't frob gdb_protocol.
4625
0172b6a7
DE
46262014-03-18 Doug Evans <xdje42@gmail.com>
4627
4628 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
4629 Fix spelling of exec-done-display.
4630
06c868a8
JK
46312014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4632
4633 PR gdb/15358
4634 * gdb.base/gdb-sigterm.c: New file.
4635 * gdb.base/gdb-sigterm.exp: New file.
4636
0c7e1a46
PA
46372014-03-18 Pedro Alves <palves@redhat.com>
4638
4639 PR gdb/13860
4640 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
4641 * lib/mi-support.exp (mi_expect_stop): Add special handling for
4642 solib-event.
4643
f7c77d93
JB
46442014-03-17 Joel Brobecker <brobecker@adacore.com>
4645
4646 * gdb.ada/pckd_arr_ren: New testcase.
4647
5a1e8c7a
DE
46482014-03-13 Doug Evans <xdje42@gmail.com>
4649
4650 PR guile/16612
4651 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
4652 collect after discarding symbols.
4653
350e1a76
DE
46542014-03-13 Ludovic Courtès <ludo@gnu.org>
4655 Doug Evans <xdje42@gmail.com>
4656
4657 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
4658 to history survives a gc.
4659
a69900ae
PA
46602014-03-13 Pedro Alves <palves@redhat.com>
4661
4662 * gdb.base/default.exp: Don't test "target procfs".
4663
5db9f0bd
PA
46642014-03-13 Pedro Alves <palves@redhat.com>
4665
4666 * gdb.base/default.exp: Update "target child" and "target procfs"
4667 tests to not expect "Unix".
4668
b3ccfe11
TT
46692014-03-12 Tom Tromey <tromey@redhat.com>
4670
4671 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
4672 New procs. Add target-async tests.
4673 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
4674 Add target-async tests.
4675
646f4417
AA
46762014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4677
4678 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
4679 'func_start' and 'func_end' for the beginning and end of the
4680 function code, respectively.
4681 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
4682 'func_end' instead of 'func' and 'main'.
4683
288c211f
AA
46842014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4685
4686 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
4687 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
4688 generate the debug info assembler source.
4689
e0c0f156
AA
46902014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4691
4692 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
4693 * gdb.dwarf2/arr-subrange.exp: Likewise.
4694 * gdb.dwarf2/dwz.exp: Likewise.
4695 * gdb.dwarf2/method-ptr.exp: Likewise.
4696 * gdb.dwarf2/missing-sig-type.exp: Likewise.
4697 * gdb.dwarf2/subrange.exp: Likewise.
4698 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
4699 * gdb.dwarf2/implptrpiece.exp: Likewise.
4700 * gdb.dwarf2/nostaticblock.exp: Likewise.
4701
0e5c4555
AA
47022014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4703
4704 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
4705 directory to absolute path name arguments.
4706
5ec18f2b
JG
47072014-03-10 Joel Brobecker <brobecker@adacore.com>
4708
4709 * gdb.ada/tagged_access: New testcase.
4710
847fc4f2
MM
47112014-03-07 Markus Metzger <markus.t.metzger@intel.com>
4712
4713 * gdb.btrace/data.exp: Update expected output.
4714
cc3da688
YQ
47152014-03-06 Yao Qi <yao@codesourcery.com>
4716
4717 * gdb.trace/pr16508.exp: New file.
4718
0f26cec1
PA
47192014-03-05 Pedro Alves <palves@redhat.com>
4720
4721 PR gdb/16575
4722 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
4723 procedure.
4724 (top level): Adjust to use it. Add tests that exercise breakpoint
4725 interaction with the code-cache.
4726
7a5a839f
LC
47272014-02-26 Ludovic Courtès <ludo@gnu.org>
4728
4729 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
4730 test for 'history-append!'.
4731
31aa7e4e
JB
47322014-02-26 Joel Brobecker <brobecker@adacore.com>
4733
4734 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
4735 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
4736 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
4737 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
4738 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
4739 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
4740
1b588015
JB
47412014-02-26 Joel Brobecker <brobecker@adacore.com>
4742
4743 * testsuite/gdb.python/py-pp-re-notag.c: New file.
4744 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
4745 * testsuite/gdb.python/py-pp-re-notag.p: New file.
4746
55426c9d
JB
47472014-02-26 Joel Brobecker <brobecker@adacore.com>
4748
4749 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
4750
dc53a7ad
JB
47512014-02-26 Joel Brobecker <brobecker@adacore.com>
4752
4753 * gdb.dwarf2/arr-stride.c: New file.
4754 * gdb.dwarf2/arr-stride.exp: New file.
4755
12ab52e9
PA
47562014-02-26 Pedro Alves <palves@redhat.com>
4757
4758 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
4759 that won't ever trigger. Make sure that GDB reports the correct
4760 breakpoint that caused the stop.
4761
849c862e
JK
47622014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4763
4764 PR gdb/16626
4765 * gdb.base/auto-load-script: New file.
4766 * gdb.base/auto-load.c: New file.
4767 * gdb.base/auto-load.exp: New file.
4768
71b7d793
JK
4769 PR gdb/16626
4770 * gdb.base/auto-load.exp: Fix out-of-srctree run.
4771
e2f0d509
JK
47722014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4773
4774 Fix dw2-icycle.exp -fsanitize=address GDB crash.
4775 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
4776
50cc37c8
DE
47772014-02-24 Doug Evans <dje@google.com>
4778
4779 * lib/gdb.exp (run_on_host): Log error output if program fails.
4780
ea4758f2
PA
47812014-02-21 Pedro Alves <palves@redhat.com>
4782
4783 * gdb.threads/step-after-sr-lock.c: Rename to ...
4784 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
4785 * gdb.threads/step-after-sr-lock.exp: Rename to ...
4786 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4787 ... this.
4788
d7b30f67
SDJ
47892014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
4790
4791 PR tdep/16397
4792 * gdb.arch/amd64-stap-special-operands.exp: New file.
4793 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
4794 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
4795 * gdb.arch/amd64-stap-triplet.S: Likewise.
4796 * gdb.arch/amd64-stap-triplet.c: Likewise.
4797
83deb43f
JB
47982014-02-20 Joel Brobecker <brobecker@adacore.com>
4799
4800 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
4801 in .section pseudo-op.
4802
adde2bff
DE
48032014-02-20 lin zuojian <manjian2006@gmail.com>
4804 Joel Brobecker <brobecker@adacore.com>
4805 Doug Evans <xdje42@gmail.com>
4806
4807 PR symtab/16581
4808 * gdb.dwarf2/dw2-icycle.S: New file.
4809 * gdb.dwarf2/dw2-icycle.c: New file.
4810 * gdb.dwarf2/dw2-icycle.exp: New file.
4811
f7bd0f78
SC
48122014-02-19 Siva Chandra Reddy <sivachandra@google.com>
4813
4814 * gdb.python/py-value-cc.cc: Improve test case to enable testing
4815 operations on gdb.Value objects.
4816 * gdb.python/py-value-cc.exp: Add new test to test operations on
4817 gdb.Value objects.
4818
c17ef0d5
DE
48192014-02-18 Doug Evans <dje@google.com>
4820
4821 * Makefile.in (TESTS): New variable.
4822 (expanded_tests, expanded_tests_or_none): New variables
4823 (check-single): Pass $(expanded_tests_or_none) to runtest.
4824 (check-parallel): Only run tests in $(TESTS) if non-empty.
4825 (check/no-matching-tests-found): New rule.
4826 * README: Document TESTS makefile variable.
4827
5dd3176f
DE
48282014-02-18 Doug Evans <dje@google.com>
4829
4830 * Makefile.in (check-parallel): rm -rf outputs temp.
4831
0b10be4f
JK
48322014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4833
4834 Fix "ERROR: no fileid for" in the testsuite.
4835 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
4836
85f224e7
DE
48372014-02-12 Doug Evans <dje@google.com>
4838
4839 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
4840 (MISCELLANEOUS): New variable.
4841 (clean): rm -rf $(MISCELLANEOUS).
4842 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
4843 dwp live in the same directory as symlinks, with each symlink pointed
4844 to a differently named file in a different directory.
4845
149b30ff
DE
48462014-02-11 Doug Evans <dje@google.com>
4847
4848 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
4849 of Tcl file commands.
4850
1dfdac32
MK
48512014-02-10 Mark Kettenis <kettenis@gnu.org>
4852
4853 * gdb.threads/step-after-sr-lock.exp: Avoid executing
4854 "kill -SIGUSR1 -1".
4855
aa4fb036
JB
48562014-02-10 Joel Brobecker <brobecker@adacore.com>
4857
4858 * gdb.ada/tick_length_array_enum_idx: New testcase.
4859
ed3ef339
DE
48602014-02-10 Doug Evans <xdje42@gmail.com>
4861
4862 * configure.ac (AC_OUTPUT): Add gdb.guile.
4863 * configure: Regenerate.
4864 * lib/gdb-guile.exp: New file.
4865 * lib/gdb.exp (get_target_charset): New function.
4866 * gdb.base/help.exp: Update expected output from "apropos apropos".
4867 * gdb.guile/Makefile.in: New file.
4868 * gdb.guile/guile.exp: New file.
4869 * gdb.guile/scm-arch.c: New file.
4870 * gdb.guile/scm-arch.exp: New file.
4871 * gdb.guile/scm-block.c: New file.
4872 * gdb.guile/scm-block.exp: New file.
4873 * gdb.guile/scm-breakpoint.c: New file.
4874 * gdb.guile/scm-breakpoint.exp: New file.
4875 * gdb.guile/scm-disasm.c: New file.
4876 * gdb.guile/scm-disasm.exp: New file.
4877 * gdb.guile/scm-equal.c: New file.
4878 * gdb.guile/scm-equal.exp: New file.
4879 * gdb.guile/scm-error.exp: New file.
4880 * gdb.guile/scm-error.scm: New file.
4881 * gdb.guile/scm-frame-args.c: New file.
4882 * gdb.guile/scm-frame-args.exp: New file.
4883 * gdb.guile/scm-frame-args.scm: New file.
4884 * gdb.guile/scm-frame-inline.c: New file.
4885 * gdb.guile/scm-frame-inline.exp: New file.
4886 * gdb.guile/scm-frame.c: New file.
4887 * gdb.guile/scm-frame.exp: New file.
4888 * gdb.guile/scm-generics.exp: New file.
4889 * gdb.guile/scm-gsmob.exp: New file.
4890 * gdb.guile/scm-iterator.c: New file.
4891 * gdb.guile/scm-iterator.exp: New file.
4892 * gdb.guile/scm-math.c: New file.
4893 * gdb.guile/scm-math.exp: New file.
4894 * gdb.guile/scm-objfile-script-gdb.in: New file.
4895 * gdb.guile/scm-objfile-script.c: New file.
4896 * gdb.guile/scm-objfile-script.exp: New file.
4897 * gdb.guile/scm-objfile.c: New file.
4898 * gdb.guile/scm-objfile.exp: New file.
4899 * gdb.guile/scm-ports.exp: New file.
4900 * gdb.guile/scm-pretty-print.c: New file.
4901 * gdb.guile/scm-pretty-print.exp: New file.
4902 * gdb.guile/scm-pretty-print.scm: New file.
4903 * gdb.guile/scm-section-script.c: New file.
4904 * gdb.guile/scm-section-script.exp: New file.
4905 * gdb.guile/scm-section-script.scm: New file.
4906 * gdb.guile/scm-symbol.c: New file.
4907 * gdb.guile/scm-symbol.exp: New file.
4908 * gdb.guile/scm-symtab-2.c: New file.
4909 * gdb.guile/scm-symtab.c: New file.
4910 * gdb.guile/scm-symtab.exp: New file.
4911 * gdb.guile/scm-type.c: New file.
4912 * gdb.guile/scm-type.exp: New file.
4913 * gdb.guile/scm-value-cc.cc: New file.
4914 * gdb.guile/scm-value-cc.exp: New file.
4915 * gdb.guile/scm-value.c: New file.
4916 * gdb.guile/scm-value.exp: New file.
4917 * gdb.guile/source2.scm: New file.
4918 * gdb.guile/types-module.cc: New file.
4919 * gdb.guile/types-module.exp: New file.
4920
7026a7c1
YQ
49212014-02-10 Yao Qi <yao@codesourcery.com>
4922
4923 PR testsuite/16543
4924 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
4925 * configure: Regenerated.
4926 * Makefile.in: New file.
4927
6c466447
AS
49282014-02-08 Andreas Schwab <schwab@linux-m68k.org>
4929
4930 * gdb.python/py-framefilter.exp: Fix typo.
4931
6e854735
YQ
49322014-02-08 Yao Qi <yao@codesourcery.com>
4933
4934 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
4935 that no =breakpoint-modified is emitted when breakpoints are
4936 modified through MI commands.
4937
d137e6dc
PA
49382014-02-07 Pedro Alves <pedro@codesourcery.com>
4939 Pedro Alves <palves@redhat.com>
4940
4941 * gdb.threads/step-after-sr-lock.c: New file.
4942 * gdb.threads/step-after-sr-lock.exp: New file.
4943
b5ee5a50
PA
49442014-02-07 Pedro Alves <palves@redhat.com>
4945
4946 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
4947
3c77faf3
JK
49482014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4949
4950 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
4951 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
4952
6dddc817
DE
49532014-02-06 Doug Evans <xdje42@gmail.com>
4954
4955 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
4956 output.
4957
4958 * gdb.gdb/python-interrupts.exp: New file.
4959
de7b2893
YQ
49602014-02-05 Yao Qi <yao@codesourcery.com>
4961
4962 * gdb.trace/report.exp (use_collected_data): Test the output
4963 of "info threads" and "info inferiors".
4964
66d032ac
YQ
49652014-02-05 Yao Qi <yao@codesourcery.com>
4966
4967 Revert this patch:
4968
4969 2013-05-24 Yao Qi <yao@codesourcery.com>
4970
4971 * gdb.trace/tfile.exp: Test inferior and thread.
4972
591a12a1
UW
49732014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4974
4975 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
4976 on a function.
4977 * gdb.base/step-bt.c: Call hello via function pointer to make
4978 sure its first instruction is executed on powerpc64le-linux.
4979
0ff3e01f
UW
49802014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4981
4982 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
4983
084ee545
UW
49842014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4985
4986 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
4987 of the test patterns for use on little-endian systems.
4988
6ed14ff3
UW
49892014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4990
4991 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
4992 (decimal_vector): Fix for little-endian.
4993
401e27fd
JM
49942014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4995
4996 * gdb.arch/sparc-sysstep.exp: New file.
4997 * gdb.arch/sparc-sysstep.c: Likewise.
4998
4999 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
5000
8b924729
EBM
50012014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5002
5003 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
5004
fb151210
JB
50052014-01-23 Tom Tromey <tromey@redhat.com>
5006
5007 * gdb.ada/array_char_idx: New testcase.
5008
0740f8d8
TT
50092014-01-23 Tom Tromey <tromey@redhat.com>
5010
5011 PR python/16487:
5012 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
5013 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
5014 classes.
5015
21909fa1
TT
50162014-01-23 Tom Tromey <tromey@redhat.com>
5017
5018 PR python/16491:
5019 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
5020 string from an inferior frame.
5021 * gdb.python/py-framefilter-mi.exp: Update.
5022
87ce2a04
DE
50232014-01-22 Doug Evans <dje@google.com>
5024
5025 * gdb.server/server-mon.exp: Add tests for "set debug-format".
5026
237b092b
AA
50272014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5028
5029 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
5030
d674a709
AA
50312014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5032
5033 * gdb.trace/entry-values.exp: Remove excess space character from
5034 regex patterns. Handle s390 call instruction.
5035
20fa3390
AA
50362014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5037
5038 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
5039 define "*_start" label. Make "name" static.
5040 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
5041 ${name} by references to ${name}_start.
5042
78466714
AA
50432014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5044
5045 * gdb.base/info-macros.exp: Remove "debug" from the compile
5046 options.
5047
ec9f644a
IB
50482014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5049
5050 * gdb.dlang/demangle.exp: New file.
5051
94b1b47e
IB
50522014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5053
5054 * gdb.dlang/primitive-types.exp: New file.
5055
7f420862
IB
50562014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5057
5058 * configure.ac: Create gdb.dlang/Makefile.
5059 * configure: Regenerate.
5060 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
5061 * gdb.dlang/Makefile.in: New file.
5062 * lib/d-support.exp: New file.
5063 * lib/gdb.exp (skip_d_tests): New proc.
5064
52834460
MM
50652014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5066
5067 * gdb.btrace/delta.exp: Check reverse stepi.
5068 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
5069 * gdb.btrace/finish.exp: New.
5070 * gdb.btrace/next.exp: New.
5071 * gdb.btrace/nexti.exp: New.
5072 * gdb.btrace/record_goto.c: Add comments.
5073 * gdb.btrace/step.exp: New.
5074 * gdb.btrace/stepi.exp: New.
5075 * gdb.btrace/multi-thread-step.c: New.
5076 * gdb.btrace/multi-thread-step.exp: New.
5077 * gdb.btrace/rn-dl-bind.c: New.
5078 * gdb.btrace/rn-dl-bind.exp: New.
5079 * gdb.btrace/data.c: New.
5080 * gdb.btrace/data.exp: New.
5081 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
5082
6e07b1d2
MM
50832014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5084
5085 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
5086 * gdb.btrace/exception.exp: Update.
5087 * gdb.btrace/instruction_history.exp: Update.
5088 * gdb.btrace/record_goto.exp: Update.
5089 * gdb.btrace/tailcall.exp: Update.
5090 * gdb.btrace/unknown_functions.exp: Update.
5091 * gdb.btrace/delta.exp: New.
5092
0b722aec
MM
50932014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5094
5095 * gdb.btrace/record_goto.exp: Add backtrace test.
5096 * gdb.btrace/tailcall.exp: Add backtrace test.
5097
066ce621
MM
50982014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5099
5100 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
5101 * gdb.btrace/record_goto.c: New.
5102 * gdb.btrace/record_goto.exp: New.
5103 * gdb.btrace/x86-record_goto.S: New.
5104
0688d04e
MM
51052014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5106
5107 * gdb.btrace/function_call_history.exp: Update tests.
5108 * gdb.btrace/instruction_history.exp: Update tests.
5109
8710b709
MM
51102014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5111
5112 * gdb.btrace/function_call_history.exp: Fix expected field
5113 order for "record function-call-history".
5114 Add new tests for "record function-call-history /c".
5115 * gdb.btrace/exception.cc: New.
5116 * gdb.btrace/exception.exp: New.
5117 * gdb.btrace/tailcall.exp: New.
5118 * gdb.btrace/x86-tailcall.S: New.
5119 * gdb.btrace/x86-tailcall.c: New.
5120 * gdb.btrace/unknown_functions.c: New.
5121 * gdb.btrace/unknown_functions.exp: New.
5122 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
5123
5de9129b
MM
51242014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5125
5126 * gdb.btrace/instruction_history.exp: Update.
5127 * gdb.btrace/function_call_history.exp: Update.
5128
23a7fe75
MM
51292014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5130
5131 * gdb.btrace/function_call_history.exp: Fix expected function
5132 trace.
5133 * gdb.btrace/instruction_history.exp: Initialize traced.
5134 Remove traced_functions.
5135
724c7dd8
MM
51362014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5137
5138 * gdb.btrace/function_call_history.exp: Update
5139 * gdb.btrace/instruction_history.exp: Update.
5140
6d78d93b
MM
51412014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5142
5143 * gdb.btrace/enable.exp: Update expected text.
5144
93a360cc
OJ
51452014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
5146
5147 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
5148 bytes.
5149
3772b53f
MR
51502014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
5151
5152 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
5153
596662fa
OJ
51542014-01-15 Omair Javaid <omair.javaid@linaro.org>
5155
5156 * lib/gdb.exp (supports_process_record): Return true for
5157 arm*-linux*. (supports_reverse): Likewise.
5158
b5b08fb4
SC
51592014-01-13 Siva Chandra Reddy <sivachandra@google.com>
5160
5161 PR python/15464
5162 PR python/16113
5163 * gdb.python/py-type.c: Enhance test case.
5164 * gdb.python/py-value-cc.cc: Likewise
5165 * gdb.python/py-type.exp: Add new tests.
5166 * gdb.python/py-value-cc.exp: Likewise
5167
52d7fb13
AA
51682014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
5169 Pedro Alves <palves@redhat.com>
5170
5171 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
5172 Make "name" extern.
5173 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
5174 references to ${name}_start by references to ${name}.
5175
a2cd8cfe
JB
51762014-01-10 Joel Brobecker <brobecker@adacore.com>
5177
5178 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
5179
4e23fced
JB
51802014-01-10 Joel Brobecker <brobecker@adacore.com>
5181
5182 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
5183
c6a9e42c
PA
51842014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
5185 Pedro Alves <palves@redhat.com>
5186
5187 * gdb.mi/mi-info-os.exp: Connect to the target with
5188 mi_gdb_target_load.
5189
b7ea362b
PA
51902014-01-08 Pedro Alves <palves@redhat.com>
5191
5192 * gdb.threads/reconnect-signal.c: New file.
5193 * gdb.threads/reconnect-signal.exp: New file.
5194
5e3f4fab
EBM
51952014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5196
5197 * gdb.base/source-dir.exp: New file.
5198
79301218
JB
51992014-01-07 Joel Brobecker <brobecker@adacore.com>
5200
5201 * gdb.ada/mi_interface: New testcase.
5202
8e355c5d
JB
52032014-01-07 Joel Brobecker <brobecker@adacore.com>
5204
5205 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
5206 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
5207 gdb.ada/pp-rec-component/pck.ads: New files.
5208
c0d48811
JB
52092014-01-07 Joel Brobecker <brobecker@adacore.com>
5210
5211 * gdb.python/py-pp-integral.c: New file.
5212 * gdb.python/py-pp-integral.py: New file.
5213 * gdb.python/py-pp-integral.exp: New file.
5214
17b609c3 5215For older changes see ChangeLog-1993-2013.
c906108c 5216\f
8d8cb839
EZ
5217;; Local Variables:
5218;; mode: change-log
5219;; left-margin: 8
5220;; fill-column: 74
5221;; version-control: never
5222;; End:
902f2ccb 5223
32d0add0 5224 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
5225 Copying and distribution of this file, with or without modification,
5226 are permitted provided the copyright notice and this notice are preserved.
This page took 2.879274 seconds and 4 git commands to generate.