]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Automatic date update in version.in
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
c74f7d1c
JT
12015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2
3 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
4 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
5 PE file.
6 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
7
98aa42ee
AT
82015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
9
10 PR breakpoints/16465
11 * gdb.mi/mi-dprintf-pending.c: New file.
12 * gdb.mi/mi-dprintf-pending.exp: New test.
13 * gdb.mi/mi-dprintf-pendshr.c: New file.
14
7d73c23c
WT
152015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
16 Mircea Gherzan <mircea.gherzan@intel.com>
17
18 * gdb.arch/i386-mpx-map.c: New file.
19 * gdb.arch/i386-mpx-map.exp: New File.
20
212015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
22
23 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
24 * gdb.arch/i386-mpx.exp: Indentation fixed.
25
262015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
27
28 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
29 function and improved indentation.
30 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
31 gdb_test_multiple. Added additional tests to skip the test.
32
332015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
34
35 * gdb.arch/i386-avx512.c: Change path in include file.
36 * gdb.arch/i386-avx512.exp: Change include dir path
37 compilation flag.
38 * gdb.arch/i386-mpx.c: Change path in include file.
39 * gdb.arch/i386-mpx.exp: Change include dir path compilation
40 flag.
41
d5eba19a
JK
422015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
43
44 * gdb.compile/compile-print.exp (compile print *vararray@3)
45 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
46
7f361056
JK
472015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
48
49 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
50 (do not keep jit in memory): ... this.
51 (expect 5): Change it to ...
52 (expect no 5): ... this.
53
3b462ec2
SM
542015-06-02 Simon Marchi <simon.marchi@ericsson.com>
55
56 PR gdb/15564
57 * gdb.mi/mi-detach.exp: New file.
58
e0619de6
JK
592015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
60
61 PR symtab/18392
62 * gdb.arch/amd64-tailcall-self.S: New file.
63 * gdb.arch/amd64-tailcall-self.c: New file.
64 * gdb.arch/amd64-tailcall-self.exp: New file.
65
e970cb34
DB
662015-05-28 Don Breazeal <donb@codesourcery.com>
67
68 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
69 tests for remote targets by checking is_target_gdbserver.
70
b2e2f908
DE
712015-05-27 Doug Evans <dje@google.com>
72
73 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
74 * gdb.dwarf2/opaque-type-lookup.c: New file.
75 * gdb.dwarf2/opaque-type-lookup.exp: New file.
76
82c7be31
DE
772015-05-26 Doug Evans <dje@google.com>
78
79 * gdb.cp/iostream.cc: New file.
80 * gdb.cp/iostream.exp: New file.
81
b4f54984
DE
822015-05-26 Doug Evans <dje@google.com>
83
84 * gdb.dwarf2/dw2-op-call.exp: Update.
85 * gdb.dwarf2/dw4-sig-types.exp: Update.
86 * gdb.dwarf2/implptr.exp: Update.
87 * gdb.mi/mi-cmd-param-changed.exp: Update.
88
4ea6efe9
DE
892015-05-26 Doug Evans <dje@google.com>
90
91 * gdb.python/py-lazy-string.c: New file.
92 * gdb.python/py-lazy-string.exp: New file.
93 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
94 (main): Update. Add estring3.
95 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
96 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
97
f6bb7db3
YQ
982015-05-26 Omair Javaid <omair.javaid@linaro.org>
99 Yao Qi <yao.qi@linaro.org>
100
101 * gdb.reverse/aarch64.c: New.
102 * gdb.reverse/aarch64.exp: New.
103
a81bfbd0
OJ
1042015-05-26 Omair Javaid <omair.javaid@linaro.org>
105
106 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
107 (supports_reverse): Likewise.
108
158bf1b4
PP
1092015-05-22 Patrick Palka <patrick@parcs.ath.cx>
110
111 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
112 Use with_test_prefix.
113
a0145030
AB
1142015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
115
116 * gdb.base/completion.exp: Add test for completion of layout
117 names.
118
ebe3b578
AB
1192015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
120
121 * lib/gdb.exp (skip_tui_tests): New proc.
122 * gdb.base/tui-layout.exp: Check skip_tui_tests.
123
84204ed7
PA
1242015-05-19 Pedro Alves <palves@redhat.com>
125
126 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
127 Save the whole env array instead of just HOME. Unset HISTSIZE in
128 the environment while testing. Restore whole environment
129 afterwards.
130
37442ce1
DE
1312015-05-16 Doug Evans <xdje42@gmail.com>
132
133 * gdb.guile/scm-ports.c: New file.
134 * gdb.guile/scm-ports.exp: Add memory port tests.
135
36de76f9
JK
1362015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
137
138 * gdb.compile/compile-print.c: New file.
139 * gdb.compile/compile-print.exp: New file.
140
3a9558c4
JK
1412015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
142
143 * gdb.compile/compile-ops.exp: Cast param to void.
144 * gdb.compile/compile.exp: Complete type for _gdb_expr.
145 (compile code struct_object.selffield = &struct_object): Add xfail.
146
aa715135
JG
1472015-05-15 Joel Brobecker <brobecker@adacore.com>
148
149 * gdb.ada/arr_enum_with_gap: New testcase.
150
931e5bc3
JG
1512015-05-15 Joel Brobecker <brobecker@adacore.com>
152
153 * gdb.ada/byte_packed_arr: New testcase.
154
9cd4d857
JB
1552015-05-15 Joel Brobecker <brobecker@adacore.com>
156
157 * gdb.ada/pckd_neg: New testcase.
158
ebfd00d2
PP
1592015-05-13 Patrick Palka <patrick@parcs.ath.cx>
160
161 PR gdb/17820
162 * gdb.base/gdbinit-history.exp: New test.
163 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
164 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
165
4c082a81
SC
1662015-05-09 Siva Chandra Reddy <sivachandra@google.com>
167
168 * gdb.python/py-xmethods.cc: Enhance test case.
169 * gdb.python/py-xmethods.exp: New tests.
170 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
171 function.
172 (B_indexoper): Likewise.
173 (global_dm_list) : Add new xmethod worker functions.
174
f7797074
SDJ
1752015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
176
177 * gdb.base/coredump-filter.exp: Correctly unset
178 "coredump_var_addr" array.
179
a4674e4e
PA
1802015-05-08 Pedro Alves <palves@redhat.com>
181
182 * gdb.server/non-existing-program.exp: Unset spawn_id.
183
df2eb078
SC
1842015-05-08 Siva Chandra Reddy <sivachandra@google.com>
185
186 PR python/18291
187 * gdb.python/py-xmethods.exp: Add tests.
188
422349a3
YQ
1892015-05-08 Yao Qi <yao.qi@linaro.org>
190
191 PR gdb/18208
192 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
193 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
194 function set_coredump_filter, and remove remote_exec call.
195 Remove argument ipid. Callers update.
196 (top level): Don't get inferior's PID.
197
63fc80ce
AA
1982015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
199
200 * gdb.base/watch_thread_num.exp: Skip test on targets without
201 access watchpoints.
202
80ad801e
PA
2032015-05-06 Pedro Alves <palves@redhat.com>
204
205 PR server/18081
206 * gdb.server/non-existing-program.exp: New file.
207
0fa7fe50
JB
2082015-05-05 Joel Brobecker <brobecker@adacore.com>
209
210 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
211
3ea89b92
PMR
2122015-05-05 Joel Brobecker <brobecker@adacore.com>
213
214 * gdb.ada/out_of_line_in_inlined: New testcase.
215
87b8eff0
JB
2162015-05-05 Joel Brobecker <brobecker@adacore.com>
217
218 * gdb.ada/var_rec_arr: New testcase.
219
5fccc635
YQ
2202015-04-30 Yao Qi <yao.qi@linaro.org>
221
222 * gdb.base/break-idempotent.exp: If
223 skip_hw_watchpoint_multi_tests returns true, skip the tests
224 on "rwatch" and "awatch".
225
42d38f42
YQ
2262015-04-30 Yao Qi <yao.qi@linaro.org>
227
228 * gdb.base/relativedebug.exp: Invoke gdb command
229 "info sharedlibrary", and if libc.so doesn't have debug info,
230 skip the test.
231
2ce1cdbf
DE
2322015-04-29 Doug Evans <dje@google.com>
233
234 * gdb.python/py-xmethods.exp: Add ptype tests.
235 * gdb.python/py-xmethods.py (E_method_char_worker): Add
236 get_result_type method.
237
f24a38c5
LM
2382015-04-29 Luis Machado <lgustavo@codesourcery.com>
239
240 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
241 the target does not support hardware watchpoints.
242
ecbf2b3c
LM
2432015-04-29 Luis Machado <lgustavo@codesourcery.com>
244
245 * gdb.base/break-always.exp: Abort testing if writing to memory
246 causes an error.
247
34f5f757
DE
2482015-04-28 Doug Evans <dje@google.com>
249
250 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
251 * gdb.python/py-pp-registration.exp: ... here. New file.
252 * gdb.python/py-pp-registration.c: New file.
253 * gdb.python/py-pp-registration.py: New file.
254
69b4374a
DE
2552015-04-28 Doug Evans <dje@google.com>
256
257 * gdb.python/py-bad-printers.c: New file.
258 * gdb.python/py-bad-printers.py: New file.
259 * gdb.python/py-bad-printers.exp: New file.
260
59fb7612
SS
2612015-04-28 Sasha Smundak <asmundak@google.com>
262
263 * gdb.python/py-type.exp: New test.
264
2631b16a
AW
2652015-04-28 Andy Wingo <wingo@igalia.com>
266
267 * gdb.python/py-parameter.exp:
268 * gdb.guile/scm-parameter.exp: Escape the path that we are
269 matching against, as it might contain characters that are special
270 to regular expressions.
271
460efde1
JB
2722015-04-27 Joel Brobecker <brobecker@adacore.com>
273
274 * gdb.ada/rec_comp: New testcase.
275
2d369d8e
SDJ
2762015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
277
278 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
279 before using it.
280
cf75d6c3
AB
2812015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
282
283 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
284 new tests for verilog output.
285
8dbe7ca5
YQ
2862015-04-24 Yao Qi <yao.qi@linaro.org>
287
288 * boards/remote-gdbserver-on-localhost.exp: New file.
289
4ef9fb2f
PA
2902015-04-23 Pedro Alves <palves@redhat.com>
291
292 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
293 $inferior_spawn_id instead of $inferior_spawn_id directly. On
294 "end of file", remove $inferior_spawn_id from the indirect list.
295
0a803169
PA
2962015-04-23 Pedro Alves <palves@redhat.com>
297
298 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
299
749ef8f8
PA
3002015-04-23 Pedro Alves <palves@redhat.com>
301
302 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
303 on $any_spawn_id instead of only on $gdb_spawn_id.
304
8aae4344
PM
3052015-04-21 Pierre Muller <muller@sourceware.org>
306
307 PR pascal/17815
308 * lib/pascal.exp (gpc_compile): Add new option "class".
309 (fpc_compile): Likewise.
310 * gdb.pascal/case-insensitive-symbols.pas: New file.
311 * gdb.pascal/case-insensitive-symbols.exp: New file.
312
1586c8fb
GB
3132015-04-20 Gary Benson <gbenson@redhat.com>
314
315 * gdb.base/attach.exp: Fix three extended remote failures.
316
1b6e6f5c
GB
3172015-04-17 Gary Benson <gbenson@redhat.com>
318
319 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
320 the main executable over the remote protocol.
321
e797481d
PA
3222015-04-16 Pedro Alves <palves@redhat.com>
323
324 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
325 a new gdbserver if gdbserver_reconnect_p is set.
326
1ca99c42
PA
3272015-04-16 Pedro Alves <palves@redhat.com>
328
329 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
330 is set, don't exit gdbserver.
331
af9fd6f8
AA
3322015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
333
334 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
335 appropriate .insn, such that an older assembler can be used.
336 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
337 the z/Architecture instruction set on 31-bit targets as well.
338
04ff1e61
AA
3392015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
340
341 * gdb.go/handcall.exp: Remove all logic related to the first
342 breakpoint and rely on go_runto_main instead.
343 * gdb.go/strings.exp: Likewise.
344 * gdb.go/unsafe.exp: Likewise.
345 * gdb.go/hello.exp: Likewise. Also rename the remaining
346 breakpoint marker to "breakpoint 1".
347 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
348 * gdb.go/strings.go: Likewise.
349 * gdb.go/unsafe.go: Likewise.
350 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
351 "set breakpoint 2 here" and rename the remaining breakpoint marker
352 to "breakpoint 1".
353
40d2f8d6
SM
3542015-04-15 Simon Marchi <simon.marchi@ericsson.com>
355
356 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
357 if itertools.imap is not present.
358 * gdb.python/py-objfile.exp: Add parentheses.
359 * gdb.python/py-type.exp: Same.
360 * gdb.python/py-unwind-maint.py: Same.
361
8cbc97c6
YQ
3622015-04-15 Yao Qi <yao.qi@linaro.org>
363
364 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
365 of ":$ptr_size" and set its form explicitly.
366
45fd756c
YQ
3672015-04-15 Pedro Alves <palves@redhat.com>
368 Yao Qi <yao.qi@linaro.org>
369
370 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
371 timeout by factor of 4.
372 (test_regular_watch): Likewise.
373 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
374 * gdb.reverse/sigall-reverse.exp: Likewise.
375 * gdb.reverse/until-precsave.exp: Likewise.
376 * lib/gdb.exp (with_timeout_factor): New proc.
377 (gdb_expect): Move some code to ...
378 (get_largest_timeout): ... here. New procedure.
379
9e811bc3
LM
3802015-04-14 Luis Machado <lgustavo@codesourcery.com>
381
382 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
383
0ff6fcb2
LM
3842015-04-13 Luis Machado <lgustavo@codesourcery.com>
385
386 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
387 to write to the .text section.
388
7578d5f7
LM
3892015-04-13 Luis Machado <lgustavo@codesourcery.com>
390
391 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
392 Handle the case of targets that do not provide PID information.
393
2efe15c4
YQ
3942015-04-13 Yao Qi <yao.qi@linaro.org>
395
396 * lib/gdbserver-support.exp (gdb_exit): Catch exception
397 and use expect instead of gdb_expect.
398
8cd8f2f8
SDJ
3992015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
400
401 * gdb.base/coredump-filter.exp: Rename variable "addr" to
402 "coredump_var_addr" to avoid naming conflict with other testcases.
403
9ee41772
PA
4042015-04-10 Pedro Alves <palves@redhat.com>
405
406 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
407 gdb_test_sequence and gdb_assert.
408
07473109
PA
4092015-04-10 Pedro Alves <palves@redhat.com>
410
411 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
412 test messages that don't include the breakpoint address.
413
de3db44c
YQ
4142015-04-10 Yao Qi <yao.qi@linaro.org>
415
416 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
417 false for some offset and width combinations which aren't
418 supported by linux kernel.
419
c79d856c
PA
4202015-04-10 Pedro Alves <palves@redhat.com>
421
422 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
423 procedure, factored out from ...
424 (top level): ... here. Add "set displaced-stepping" testing axis.
425 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
426 parameter "displaced". Use it.
427 (top level): Use foreach and add "set displaced-stepping" testing
428 axis.
429
ebc90b50
PA
4302015-04-10 Pedro Alves <palves@redhat.com>
431
432 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
433 Remove comment.
434 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
435 both the address of the instruction that triggers the watchpoint
436 and the address of the instruction immediately after, and use
437 those addresses for the test. Fix comment.
438
8f572e5c
PA
4392015-04-10 Pedro Alves <palves@redhat.com>
440
441 * gdb.base/sigstep.exp (breakpoint_to_handler)
442 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
443 Test "backtrace" in handler.
444 (breakpoint_over_handler): New parameter 'displaced'. Use it.
445 (top level): Add new "displaced" test axis to
446 breakpoint_to_handler, breakpoint_to_handler_entry and
447 breakpoint_over_handler.
448
8d707a12
PA
4492015-04-10 Pedro Alves <palves@redhat.com>
450
451 PR gdb/18216
452 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
453
ef713951
YQ
4542015-04-10 Yao Qi <yao.qi@linaro.org>
455
456 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
457 (test_add_rn_pc): New function.
458 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
459 (top level): Invoke test_add_rn_pc.
460
906d60cf
PA
4612015-04-10 Pedro Alves <palves@redhat.com>
462
463 PR gdb/13858
464 * gdb.base/step-over-no-symbols.exp: New file.
465
f2983cc3
AW
4662015-04-09 Andy Wingo <wingo@igalia.com>
467
468 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
469 after the Python tests.
470
6d62641c
SDJ
4712015-04-08 Keith Seitz <keiths@redhat.com>
472
473 PR python/16699
474 * gdb.python/py-completion.exp: New tests for completion.
475 * gdb.python/py-completion.py (CompleteLimit1): New class.
476 (CompleteLimit2): Likewise.
477 (CompleteLimit3): Likewise.
478 (CompleteLimit4): Likewise.
479 (CompleteLimit5): Likewise.
480 (CompleteLimit6): Likewise.
481 (CompleteLimit7): Likewise.
482
f3770638
PA
4832015-04-08 Pedro Alves <palves@redhat.com>
484
485 PR gdb/18214
486 PR gdb/18216
487 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
488 function.
489 (main): Install it as SIGUSR1 handler.
490 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
491 parameter. Always use "setup" as prefix. Toggle "set
492 displaced-stepping" off/on depending on global. Don't switch to
493 thread 1 here.
494 (top level): Add displaced stepping "off/on" test axis. Update
495 "setup" calls. Wrap each subtest with with_test_prefix. Test
496 continuing with a queued signal in each thread.
497
4496bed7
PA
4982015-04-08 Pedro Alves <palves@redhat.com>
499
500 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
501 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
502 gdb_breakpoint instead of gdb_test that doesn't expect anything.
503 Return early if running to main fails.
504 * gdb.trace/while-stepping.exp: Likewise.
505
b97fde92
PA
5062015-04-07 Pedro Alves <palves@redhat.com>
507
508 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
509 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
510 interact with inferior program.
511
f71c18e7
PA
5122015-04-07 Pedro Alves <palves@redhat.com>
513
514 * lib/gdb.exp (inferior_spawn_id): New global.
515 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
516 spawn id after processing the user code.
517 (default_gdb_start): Set inferior_spawn_id.
518 (send_inferior): New procedure.
519 * lib/gdbserver-support.exp (gdbserver_start): Set
520 inferior_spawn_id.
521 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
522
6423214f
PA
5232015-04-07 Pedro Alves <palves@redhat.com>
524
525 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
526 * lib/gdbserver-support.exp (gdbserver_start): Make
527 $server_spawn_id global.
528 (gdbserver_start): Don't wait for gdbserver's spawn id with
529 expect_background.
530 (close_gdbserver): New procedure.
531 (gdb_exit): Rename the default version and reimplement.
532
71c0ee8c
PA
5332015-04-07 Pedro Alves <palves@redhat.com>
534
535 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
536 append the substituted item, not the original item.
537
203bc29b
PA
5382015-04-07 Pedro Alves <palves@redhat.com>
539
540 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
541 gdb_expect.
542
508a3ddf
PA
5432015-04-07 Pedro Alves <palves@redhat.com>
544
545 * gdb.base/interrupt.exp: Don't handle the case of the inferior
546 output appearing once only.
547
9f6dbe2b
PA
5482015-04-07 Pedro Alves <palves@redhat.com>
549
550 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
551 that doesn't expect anything. Return early if running to main
552 fails.
553
337532fa
YQ
5542015-04-07 Yao Qi <yao.qi@linaro.org>
555
556 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
557 (child_function): Call alarm.
558 (main): Move call to alarm into the loop.
559 * gdb.threads/non-stop-fair-events.exp: Build program with
560 -DTIMEOUT=$timeout.
561
01b622d4
DE
5622015-04-06 Doug Evans <xdje42@gmail.com>
563
564 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
565 Fix dest parameter to board_info.
566 (fpc_compile): Ditto.
567 (gdb_compile_pascal): Rename dest arg to destfile.
568
961f4160
PMR
5692015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
570
571 * gdb.ada/funcall_ref.exp: New file.
572 * gdb.ada/funcall_ref/foo.adb: New file.
573
cafda597
YQ
5742015-04-02 Yao Qi <yao.qi@linaro.org>
575
576 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
577 is remote.
578
fed040c6
GB
5792015-04-02 Gary Benson <gbenson@redhat.com>
580
581 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
582
d11916aa
SS
5832015-04-01 Sasha Smundak <asmundak@google.com>
584
585 * gdb.python/py-unwind-maint.c: New file.
586 * gdb.python/py-unwind-maint.exp: New test.
587 * gdb.python/py-unwind-maint.py: New file.
588 * gdb.python/py-unwind.c: New file.
589 * gdb.python/py-unwind.exp: New test.
590 * gdb.python/py-unwind.py: New test.
591
a1471180
PA
5922015-04-01 Pedro Alves <palves@redhat.com>
593
594 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
595 to fail instead of non-existent $test.
596
0bbeccb1
PA
5972015-04-01 Pedro Alves <palves@redhat.com>
598
599 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
600 GDBFLAGS if not empty.
601
3c724c8c
PMR
6022015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
603
604 * gdb.ada/complete.exp: Remove "multi_line".
605 * gdb.ada/info_exc.exp: Remove "multi_line".
606 * gdb.ada/packed_tagged.exp: Remove "multi_line".
607 * gdb.ada/ptype_field.exp: Remove "multi_line".
608 * gdb.ada/sym_print_name.exp: Remove "multi_line".
609 * gdb.ada/tagged.exp: Remove "multi_line".
610 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
611 [multi_line ...]
612 * gdb.btrace/delta.exp: Likewise.
613 * gdb.btrace/exception.exp: Likewise.
614 * gdb.btrace/function_call_history.exp: Likewise.
615 * gdb.btrace/instruction_history.exp: Likewise.
616 * gdb.btrace/nohist.exp: Likewise.
617 * gdb.btrace/record_goto.exp: Likewise.
618 * gdb.btrace/segv.exp: Likewise.
619 * gdb.btrace/stepi.exp: Likewise.
620 * gdb.btrace/tailcall.exp: Likewise.
621 * gdb.btrace/unknown_functions.exp: Likewise.
622 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
623 * lib/gdb.exp: Add the "multi_line" helper.
624
4eec2deb
PA
6252015-04-01 Pedro Alves <palves@redhat.com>
626
627 * gdb.threads/tid-reuse.c: New file.
628 * gdb.threads/tid-reuse.exp: New file.
629
df8411da
SDJ
6302015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
631
632 PR corefiles/16092
633 * gdb.base/coredump-filter.c: New file.
634 * gdb.base/coredump-filter.exp: Likewise.
635
6ef37366
PM
6362015-03-27 Petr Machata <pmachata@redhat.com>
637
638 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
639 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
640 (Dwarf::assemble): Initialize them.
641 (Dwarf::lines): New function.
642
7ec911b0
JT
6432015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
644
645 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
646 SYMBOL_PREFIX for x86_64-*-cygwin.
647
ff908ebf
AW
6482015-03-26 Andy Wingo <wingo@igalia.com>
649
650 PR symtab/18148
651 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
652 const_value but not a location.
653 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
654 location defined in non-main CUs are visible.
655
6d5f0679
YQ
6562015-03-26 Yao Qi <yao.qi@linaro.org>
657
658 PR testsuite/18139
659 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
660 Add a line number entry for the same line.
661 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
662 Add a line number entry for the same line.
663
2898689b
YQ
6642015-03-26 Yao Qi <yao.qi@linaro.org>
665
666 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
667 .int 0.
668 (func): Likewise. Add .Lfunc_1 label.
669 Use .Lfunc_1 label.
670 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
671 .int 0.
672 (func): Likewise.
673 Use .Lfunc_1 label.
674
85180498
YQ
6752015-03-26 Yao Qi <yao.qi@linaro.org>
676
677 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
678 Call gdb_compile instead to compile each .s files without debug
679 information.
680
8aa08a8d
YQ
6812015-03-26 Yao Qi <yao.qi@linaro.org>
682
683 * gdb.base/savedregs.exp (process_saved_regs): Make
684 "Saved registers:" optional in the pattern.
685
66849923
MM
6862015-03-25 Markus Metzger <markus.t.metzger@intel.com>
687
688 * gdb.btrace/next.exp: Merged into step.exp.
689 * gdb.btrace/finish.exp: Merged into step.exp.
690 * gdb.btrace/nexti.exp: Merged into stepi.exp.
691 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
692 "record goto" and checking the exact replay position.
693 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
694 check for "Recording format" in "info record" output.
695 * gdb.btrace/record_goto.exp: Choose test file based on target.
696 * gdb.btrace/x86-record_goto.S: Renamed into ...
697 * gdb.btrace/x86_64-record_goto.S: ... this.
698 * gdb.btrace/i686-record_goto.S: New.
699 * gdb.btrace/x86-tailcall.S: Renamed into ...
700 * gdb.btrace/x86_64-tailcall.S: ... this.
701 * gdb.btrace/i686-tailcall.S: New.
702 * gdb.btrace/x86-tailcall.c: Renamed into ...
703 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
704 separate statements. Update test.
705 * gdb.btrace/delta.exp: Use record_goto.c as test file.
706 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
707 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
708 * gdb.btrace/tailcall.exp: Choose test file based on target.
709 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
710
11cc1b74
MM
7112015-03-25 Markus Metzger <markus.t.metzger@intel.com>
712
713 * gdb.btrace/exception.exp: Increase BTS buffer size.
714
a25d8bf9
PA
7152015-03-24 Pedro Alves <palves@redhat.com>
716
717 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
718
856e7dd6
PA
7192015-03-24 Pedro Alves <palves@redhat.com>
720
721 * gdb.threads/schedlock.exp (test_step): No longer expect that
722 "set scheduler-locking step" with "next" over a function call runs
723 threads unlocked.
724
ad235a41
AT
7252015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
726
727 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
728
15630549
AT
7292015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
730
731 PR breakpoints/16466
732 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
733 * gdb.mi/mi-pending.c (thread_func): New function.
734 (int main): Add threading support required.
735 * gdb.mi/mi-pending.exp: Add tests for this issue.
736 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
737 (pendfunc2): Remove stdio dependency.
738 * gdb.mi/mi-pendshr2.c: New file.
739
693dca06
KS
7402015-03-23 Keith Seitz <keiths@redhat.com>
741
742 * gdb.linespec/keywords.c: New file.
743 * gdb.linespec/keywords.exp: New file.
744
7e993ebf
KS
7452015-03-23 Keith Seitz <keiths@redhat.com>
746
747 PR gdb/18021
748 * gdb.dwarf2/staticvirtual.exp: New test.
749
bc23328c
JK
7502015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
751
752 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
753 * README: Remove HP-UX and gdb.hp.
754 (configuration):
755 * configure: Regenerate.
756 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
757 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
758 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
759 gdb.hp/gdb.defects/Makefile.
760 * gdb.hp/Makefile.in: File deleted.
761 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
762 * gdb.hp/gdb.aCC/optimize.c: File deleted.
763 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
764 * gdb.hp/gdb.aCC/run.c: File deleted.
765 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
766 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
767 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
768 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
769 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
770 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
771 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
772 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
773 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
774 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
775 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
776 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
777 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
778 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
779 * gdb.hp/gdb.base-hp/reg.s: File deleted.
780 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
781 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
782 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
783 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
784 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
785 * gdb.hp/gdb.compat/Makefile.in: File deleted.
786 * gdb.hp/gdb.compat/average.c: File deleted.
787 * gdb.hp/gdb.compat/sum.c: File deleted.
788 * gdb.hp/gdb.compat/xdb.c: File deleted.
789 * gdb.hp/gdb.compat/xdb0.c: File deleted.
790 * gdb.hp/gdb.compat/xdb0.h: File deleted.
791 * gdb.hp/gdb.compat/xdb1.c: File deleted.
792 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
793 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
794 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
795 * gdb.hp/gdb.defects/Makefile.in: File deleted.
796 * gdb.hp/gdb.defects/bs14602.c: File deleted.
797 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
798 * gdb.hp/gdb.defects/solib-d.c: File deleted.
799 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
800 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
801 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
802 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
803 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
804 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
805 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
806 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
807 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
808 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
809 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
810 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
811 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
812 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
813 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
814 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
815 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
816 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
817 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
818 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
819 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
820 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
821 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
822 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
823 * gdb.hp/tools/odump: File deleted.
824
8bf3b159
PA
8252015-03-19 Pedro Alves <palves@redhat.com>
826
827 * gdb.threads/continue-pending-status.exp (saw_thread_2)
828 (saw_thread_3): New globals.
829 (top level): Increment them when an event for the corresponding
830 thread is seen.
831 (no thread starvation): New test.
832
eb54c8bf
PA
8332015-03-19 Pedro Alves <palves@redhat.com>
834
835 * gdb.threads/continue-pending-status.c: New file.
836 * gdb.threads/continue-pending-status.exp: New file.
837
32d2e5d6
PA
8382015-03-18 Pedro Alves <palves@redhat.com>
839
840 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
841 Use gdb_is_target_remote instead of is_remote. Use
842 gdb_test_multiple instead of gdb_expect. Exit early if
843 gdb_test_multiple hits its internal matches. Tighten stepi tests
844 expected output. Fail on exit with any signal, instead of just
845 SIGILL.
846
f68f11b7
YQ
8472015-03-18 Yao Qi <yao.qi@linaro.org>
848
849 PR tdep/18107
850 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
851 variable.
852 * gdb.base/catch-syscall.exp: Don't skip it on
853 aarch64*-*-linux* target. Remove elements in all_syscalls.
854 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
855 target.
856 (setup_all_syscalls): New proc.
857
ca5fd19b
YQ
8582015-03-16 Yao Qi <yao.qi@linaro.org>
859
860 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
861 (top level): Skip tests if valid_addr_p returns false for
862 $cmd1 or $cmd2.
863
85642ba0
AW
8642015-03-11 Andy Wingo <wingo@igalia.com>
865
866 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
867
e03f9645
YQ
8682015-03-11 Yao Qi <yao.qi@linaro.org>
869
870 * gdb.base/catch-syscall.exp: Fix typo in comments.
871
5d0962b2
YQ
8722015-03-11 Yao Qi <yao.qi@linaro.org>
873
874 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
875
b2df3cef
PA
8762015-03-09 Pedro Alves <palves@redhat.com>
877
878 * dg-extract-results.py: Delete.
879
ef878e53
PA
8802015-03-09 Pedro Alves <palves@redhat.com>
881
882 Merge dg-extract-results.sh from GCC upstream (r218843).
883
884 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
885 * dg-extract-results.sh: Use --text with grep to avoid issues with
886 binary files. Fall back to cat -v, if that doesn't work.
887
9494d219
PA
8882015-03-05 Pedro Alves <palves@redhat.com>
889
890 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
891
a8d9763a
SM
8922015-03-04 Simon Marchi <simon.marchi@ericsson.com>
893
894 * lib/mi-support.exp (mi_expect_interrupt): Accept
895 alternative event for when in all-stop mode.
896
be9957b8
PA
8972015-03-04 Pedro Alves <palves@redhat.com>
898
899 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
900
d57be0f4 9012015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
902
903 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
904
c214c7cf
AA
9052015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
906
907 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
908 regexps for GDB's current line display, accept a hex address
909 preceding the line number.
910
6d74a497
AA
9112015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
912
913 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
914 the 'arch1' variable for "s390*-linux*" targets.
915
511aee7c
PA
9162015-03-04 Pedro Alves <palves@redhat.com>
917
918 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
919 (main): Pass missing retval argument to pthread_join call.
920
95e50b27
PA
9212015-03-02 Pedro Alves <palves@redhat.com>
922
923 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
924 (top level): Call do_test with non-stop as well.
925
28054d69
PA
9262015-03-02 Pedro Alves <palves@redhat.com>
927
928 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
929 -1.
930
4fa5d7b4
AA
9312015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
932
933 * gdb.arch/s390-vregs.exp: New test.
934 * gdb.arch/s390-vregs.S: New file.
935
97c18565
PA
9362015-02-27 Pedro Alves <palves@redhat.com>
937
938 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
939 call to catch_command_errors.
940 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
941 catch_command_errors.
942
a37bfa30
PA
9432015-02-27 Pedro Alves <palves@redhat.com>
944
945 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
946 "true" for boolean result.
947 * gdb.gdb/selftest.exp (test_with_self): Also accept full
948 prototype of main.
949
6f98576f
PA
9502015-02-27 Pedro Alves <palves@redhat.com>
951
952 * lib/unbuffer_output.c: New file.
953 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
954 (main): Call gdb_unbuffer_output.
955
eba5ab56
YQ
9562015-02-27 Yao Qi <yao.qi@linaro.org>
957
958 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
959 target.
960
0def5aaa
DE
9612015-02-26 Doug Evans <dje@google.com>
962
963 * gdb.cp/class2.cc (Dbase, D): New classes.
964 (main): New local delta.
965 * gdb.cp/class2.exp: Test printing delta.
966 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
967 (dynbar): New global.
968 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
969
081a1c2c
JK
9702015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
971
972 * gdb.compile/compile-ifunc.c: New file.
973 * gdb.compile/compile-ifunc.exp: New file.
974
2f41223f
AT
9752015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
976
977 * gdb.base/structs.exp: Check for correct struct on finish.
978
03eddd80
YQ
9792015-02-26 Yao Qi <yao.qi@linaro.org>
980
981 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
982 is zero.
983
80c57053
JK
9842015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
985
986 * gdb.arch/cordic.ko.bz2: New file.
987 * gdb.arch/cordic.ko.debug.bz2: New file.
988 * gdb.arch/ppc64-symtab-cordic.exp: New file.
989
21613c12
YQ
9902015-02-25 Yao Qi <yao.qi@linaro.org>
991
992 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
993 aarch64*-*-* target.
994
d8b901ed
PA
9952015-02-23 Pedro Alves <palves@redhat.com>
996
997 * lib/gdb.exp (delete_breakpoints): Rewrite using
998 gdb_test_multiple.
999
e5b85ead
PA
10002015-02-23 Pedro Alves <palves@redhat.com>
1001
1002 * gdb.base/info-os.c: Include stdlib.h.
1003
85c3a371
DE
10042015-02-22 Doug Evans <xdje42@gmail.com>
1005
1006 PR symtab/17855
1007 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
1008 is read after symbols have been re-read.
1009 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
1010 * gdb.ada/exec_changed/second.adb (Second): Ditto.
1011
96553a0c
DE
10122015-02-21 Doug Evans <dje@google.com>
1013
1014 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
1015
97a0c697
JK
10162015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1017
1018 PR corefiles/17808
1019 * gdb.arch/i386-biarch-core.core.bz2: New file.
1020 * gdb.arch/i386-biarch-core.exp: New file.
1021
a47cd6e9
PA
10222015-02-21 Pedro Alves <palves@redhat.com>
1023
1024 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
1025 runto_main fails.
1026
c5facdc4
PA
10272015-02-20 Pedro Alves <palves@redhat.com>
1028
1029 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
1030 info probes.
1031
2db9a427
PA
10322015-02-20 Pedro Alves <palves@redhat.com>
1033
1034 * gdb.threads/multi-create-ns-info-thr.exp: New file.
1035
60fb7e9e
PA
10362015-02-20 Pedro Alves <palves@redhat.com>
1037
1038 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
1039 clean_restart before gdb_target_supports_trace.
1040
5c5019c2
PA
10412015-02-20 Pedro Alves <palves@redhat.com>
1042
1043 PR threads/18006
1044 * gdb.threads/clone-thread_db.c: New file.
1045 * gdb.threads/clone-thread_db.exp: New file.
1046
c9587f88
AT
10472015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
1048
1049 PR breakpoints/16812
1050 * gdb.base/catch-gdb-caused-signals.c: New file.
1051 * gdb.base/catch-gdb-caused-signals.exp: New file.
1052
f6a88844
JM
10532015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
1054
1055 * configure: Regenerated.
1056 * configure.ac: Use GDB_AC_TRANSFORM.
1057 * aclocal.m4: sinclude ../transform.m4.
1058
497c491b
JM
10592015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1060
1061 * lib/dtrace.exp: New file.
1062 * gdb.base/dtrace-probe.exp: Likewise.
1063 * gdb.base/dtrace-probe.d: Likewise.
1064 * gdb.base/dtrace-probe.c: Likewise.
1065 * lib/pdtrace.in: Likewise.
1066 * configure.ac: Output variables with the transformed names of
1067 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
1068 * configure: Regenerated.
1069
03e98035
JM
10702015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1071
1072 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
1073 expected message when trying to access $_probe_* convenience
1074 variables while not on a probe.
1075
63cc30e9
JK
10762015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1077
1078 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
1079
0703599a
PA
10802015-02-11 Pedro Alves <pedro@codesourcery.com>
1081
1082 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
1083 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
1084
7e60a48e
DE
10852015-02-10 Doug Evans <xdje42@gmail.com>
1086
1087 * lib/gdb.exp (gdb_load): Always return a result.
1088
01b088bc
PA
10892015-02-10 Pedro Alves <palves@redhat.com>
1090
1091 * gdb.threads/signal-sigtrap.c: New file.
1092 * gdb.threads/signal-sigtrap.exp: New file.
1093
b05ec7a5
AT
10942015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
1095
1096 * gdb.trace/no-attach-trace.c: New file.
1097 * gdb.trace/no-attach-trace.exp: New file.
1098
a2c2acaf
MW
10992015-02-09 Mark Wielaard <mjw@redhat.com>
1100
1101 * gdb.dwarf2/atomic.c: New file.
1102 * gdb.dwarf2/atomic-type.exp: Likewise.
1103
31fd9caa
MM
11042015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1105
1106 * gdb.btrace/buffer-size.exp: Update "info record" output.
1107 * gdb.btrace/delta.exp: Update "info record" output.
1108 * gdb.btrace/enable.exp: Update "info record" output.
1109 * gdb.btrace/finish.exp: Update "info record" output.
1110 * gdb.btrace/instruction_history.exp: Update "info record" output.
1111 * gdb.btrace/next.exp: Update "info record" output.
1112 * gdb.btrace/nexti.exp: Update "info record" output.
1113 * gdb.btrace/step.exp: Update "info record" output.
1114 * gdb.btrace/stepi.exp: Update "info record" output.
1115 * gdb.btrace/nohist.exp: Update "info record" output.
1116
d33501a5
MM
11172015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1118
1119 * gdb.btrace/buffer-size: New.
1120
f4abbc16
MM
11212015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1122
1123 * gdb.btrace/delta.exp: Update "info record" output.
1124 * gdb.btrace/enable.exp: Update "info record" output.
1125 * gdb.btrace/finish.exp: Update "info record" output.
1126 * gdb.btrace/instruction_history.exp: Update "info record" output.
1127 * gdb.btrace/next.exp: Update "info record" output.
1128 * gdb.btrace/nexti.exp: Update "info record" output.
1129 * gdb.btrace/step.exp: Update "info record" output.
1130 * gdb.btrace/stepi.exp: Update "info record" output.
1131 * gdb.btrace/nohist.exp: Update "info record" output.
1132
b9d61307
SM
11332015-02-06 Simon Marchi <simon.marchi@ericsson.com>
1134
1135 PR gdb/15678
1136 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
1137
e584fdbc
PA
11382015-02-06 Pedro Alves <palves@redhat.com>
1139
1140 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
1141 macro.
1142 (seconds_left, again): New globals.
1143 (main): Wait seconds_left in a 1-second sleep loop instead of
1144 sleeping 180 seconds. If 'again' is set, reset the seconds
1145 counter.
1146 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
1147 'again' in the inferior before detaching. Print the seconds left.
1148 (options): New global.
1149 (top level): Build program with -DTIMEOUT=$timeout.
1150
77f41761
PA
11512015-02-06 Pedro Alves <palves@redhat.com>
1152
1153 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
1154 determine how many seconds to pass to 'alarm'.
1155 * gdb.base/gdb-sigterm.exp (top level): Build program with
1156 -DTIMEOUT=$timeout.
1157 (do_test): Return success/failure indication. Add more verbose
1158 logging. Don't fail if 200 single steps are seen. Instead, fail
1159 when the test times out.
1160 (passes): New global.
1161 (top level): Break the testing loop if testing fails on any
1162 iteration. Use gdb_assert.
1163
b9394193
DB
11642015-02-04 Don Breazeal <donb@codesourcery.com>
1165
1166 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
1167 and initialize them.
1168 (ipc_cleanup): New function.
1169 (main): Don't declare shmid, semid, and msqid. Add a call to
1170 atexit so that we call ipc_cleanup on exit.
1171
42d9e528
PA
11722015-02-04 Pedro Alves <palves@redhat.com>
1173
1174 * boards/native-extended-gdbserver.exp: Remove any target variant
1175 specifications from the board name before clearing the isremote
1176 flag from board_info.
1177
ae6ae975
DE
11782015-01-31 Doug Evans <xdje42@gmail.com>
1179
1180 * gdb.base/maint.exp <maint print type argc>: Update expected output.
1181
cfb069a8
GB
11822015-01-31 Gary Benson <gbenson@redhat.com>
1183
1184 * gdb.base/completion.exp: Disable completion limiting for
1185 existing tests. Add new tests to check completion limiting.
1186 * gdb.linespec/ls-errs.exp: Disable completion limiting.
1187
5dd31d79
DE
11882015-01-31 Doug Evans <xdje42@gmail.com>
1189
1190 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
1191
9f050062
DE
11922015-01-31 Doug Evans <xdje42@gmail.com>
1193
1194 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
1195 entries. Duplicate file section script entries.
1196 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
1197 inlined entries. Add test for safe-path rejection.
1198 * gdb.python/py-section-script.c: Add duplicate inlined section script
1199 entries. Duplicate file section script entries.
1200 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
1201 inlined entries. Add test for safe-path rejection.
1202
df25ebbd
JB
12032015-01-29 Joel Brobecker <brobecker@adacore.com>
1204
1205 * gdb.ada/disc_arr_bound: New testcase.
1206
4a0ca9ec
JB
12072015-01-29 Joel Brobecker <brobecker@adacore.com>
1208
1209 * gdb.ada/mi_var_array: New testcase.
1210
3a8b707a
DE
12112015-01-27 Doug Evans <dje@google.com>
1212
1213 * gdb.python/py-objfile.exp: Add tests for objfile.username.
1214 Add test for objfile.filename, objfile.username after objfile
1215 has been unloaded.
1216
f8313f6e
JB
12172015-01-26 Joel Brobecker <brobecker@adacore.com>
1218
1219 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
1220 the second test to print the name attribute of value
1221 returned by the call to gdb.lookup_type, and adjust
1222 the expected output accordingly.
1223
37bc665e
MW
12242015-01-25 Mark Wielaard <mjw@redhat.com>
1225
1226 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
1227 * gdb.base/disp-step-fork.c: Include unistd.h.
1228 * gdb.base/siginfo-obj.c: Include stdio.h.
1229 * gdb.base/siginfo-thread.c: Likewise.
1230 * gdb.mi/non-stop.c: Include unistd.h.
1231 * gdb.mi/nsthrexec.c: Include stdio.h.
1232 * gdb.mi/pthreads.c: Include unistd.h.
1233 * gdb.modula2/unbounded1.c (main): Declare returns int.
1234 * gdb.reverse/consecutive-reverse.c: Likewise.
1235 * gdb.threads/create-fail.c: Include unistd.h.
1236 * gdb.threads/killed.c: Likewise.
1237 * gdb.threads/linux-dp.c: Likewise.
1238 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
1239 * gdb.threads/non-ldr-exc-2.c: Likewise.
1240 * gdb.threads/non-ldr-exc-3.c: Likewise.
1241 * gdb.threads/non-ldr-exc-4.c: Likewise.
1242 * gdb.threads/pthreads.c: Include unistd.h.
1243 (main): Declare returns int.
1244 * gdb.threads/tls-main.c (foo): New declaration.
1245 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
1246
f7e5394d
SM
12472015-01-23 Simon Marchi <simon.marchi@ericsson.com>
1248
1249 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
1250 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
1251
743649fd
MW
12522015-01-15 Mark Wielaard <mjw@redhat.com>
1253
1254 * gdb.base/noreturn-return.c: New file.
1255 * gdb.base/noreturn-return.exp: New file.
1256 * gdb.base/noreturn-finish.c: New file.
1257 * gdb.base/noreturn-finish.exp: New file.
1258
198297aa
PA
12592015-01-23 Pedro Alves <palves@redhat.com>
1260
1261 * gdb.threads/continue-pending-after-query.c: New file.
1262 * gdb.threads/continue-pending-after-query.exp: New file.
1263
717cf30c
AG
12642015-01-22 Anders Granlund <anders.granlund@ericsson.com>
1265 Simon Marchi <simon.marchi@ericsson.com>
1266
1267 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
1268 * gdb.base/valgrind-db-attach.exp: Same.
1269 * gdb.base/valgrind-infcall.exp: Same.
1270 * lib/mi-support.exp (default_mi_gdb_start): Same.
1271 * lib/prompt.exp (default_prompt_gdb_start): Same.
1272 * lib/gdb.exp (default_gdb_spawn): Same.
1273 (gdb_interact): New.
1274
1275
4b62a76e
JK
12762015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1277
1278 * gdb.compile/compile.exp (pointer to jit function): New test.
1279
b4cdae6f
WW
12802015-01-17 Wei-cheng Wang <cole945@gmail.com>
1281
1282 * lib/gdb.exp (supports_process_record): Return true for
1283 powerpc*-*-linux*.
1284 (supports_reverse): Likewise.
1285
d221e7ef
DB
12862015-01-15 Don Breazeal <donb@codesourcery.com>
1287
1288 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
1289 instead of checking whether the target board is remote and
1290 use spawn_wait_for_attach instead of exec/sleep.
1291 * gdb.base/attach-twice.exp: Likewise.
1292
bafffb51
JB
12932015-01-15 Joel Brobecker <brobecker@adacore.com>
1294
1295 * gdb.ada/var_arr_attrs: New testcase.
1296
5589af0e
PA
12972015-01-14 Pedro Alves <palves@redhat.com>
1298 Joel Brobecker <brobecker@adacore.com>
1299
1300 PR gdb/17525
1301 * gdb.base/bp-cmds-execution-x-script.c: New file.
1302 * gdb.base/bp-cmds-execution-x-script.exp: New file.
1303 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
1304
6c400b59
PA
13052015-01-14 Pedro Alves <palves@redhat.com>
1306
1307 PR cli/17828
1308 * gdb.base/batch-preserve-term-settings.c: New file.
1309 * gdb.base/batch-preserve-term-settings.exp: New file.
1310
e02c96a7
DE
13112015-01-13 Doug Evans <dje@google.com>
1312
1313 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
1314 binary.
1315
576fd14c
JB
13162015-01-13 Joel Brobecker <brobecker@adacore.com>
1317
1318 * Makefile.in (clean mostlyclean): Do not delete *.py.
1319
04dccad0
JB
13202015-01-13 Joel Brobecker <brobecker@adacore.com>
1321
1322 * gdb.python/py-lookup-type.exp: New file.
1323
3d230f71
PA
13242015-01-12 Pedro Alves <palves@redhat.com>
1325
1326 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
1327 restore GDBFLAGS before returning.
1328
7e67715d
JK
13292015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1330
1331 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
1332 is_amd64_regs_target and is_x86_like_target.
1333
f2e0d4b4
DE
13342015-01-11 Doug Evans <xdje42@gmail.com>
1335
1336 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
1337 is given without an explicit form.
1338 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
1339 attributes.
1340 * gdb.dwarf/corrupt.exp: Ditto.
1341 * gdb.dwarf2/enum-type.exp: Ditto.
1342 * gdb.trace/entry-values.exp: Ditto.
1343 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
1344
439250fb
DE
13452015-01-11 Doug Evans <xdje42@gmail.com>
1346
1347 PR gdb/15830
1348 * gdb.base/maint.exp: Remove references to "maint demangle".
1349 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
1350 Add tests for explicitly specifying language to demangle.
1351 * gdb.dlang/demangle.exp: Ditto.
1352
ede9f622
PA
13532015-01-09 Pedro Alves <palves@redhat.com>
1354
1355 * gdb.threads/non-stop-fair-events.c: New file.
1356 * gdb.threads/non-stop-fair-events.exp: New file.
1357
a7b796db
PA
13582015-01-09 Pedro Alves <palves@redhat.com>
1359
1360 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
1361 the global scope. Set a breakpoint after all threads are started
1362 rather than stepping over two source lines. Expect the prompt.
1363 * gdb.base/watch_thread_num.c (threads_started_barrier): New
1364 global.
1365 (NUM): Now 15.
1366 (main): Use threads_started_barrier to wait for all threads to
1367 start. Main thread no longer calls thread_function. Exit after
1368 180 seconds.
1369 (loop): New function.
1370 (thread_function): Wait on threads_started_barrier barrier. Call
1371 'loop' at each iteration.
1372 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
1373 threads have started, instead of hardcoding number of "next"
1374 steps. Use an access watchpoint instead of a write watchpoint.
1375
9665ffdd
PA
13762015-01-09 Pedro Alves <palves@redhat.com>
1377
1378 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
1379 (thread_func): Wait on barrier.
1380 (main): Wait for all threads to start before stopping GDB.
1381 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
1382 global.
1383 (thread1_func, thread2_func): Wait on barrier.
1384 (main): Wait for all threads to start before stopping GDB.
1385 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
1386 New global.
1387 (thread1_func, thread2_func): Wait on barrier.
1388 (main): Wait for all threads to start before stopping GDB.
1389
c945a99f
PA
13902015-01-09 Pedro Alves <palves@redhat.com>
1391
1392 * gdb.threads/attach-many-short-lived-threads.c: New file.
1393 * gdb.threads/attach-many-short-lived-threads.exp: New file.
1394
c1a747c1
PA
13952014-01-09 Pedro Alves <palves@redhat.com>
1396
1397 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
1398 instead of to thread 2.
1399 * gdb.threads/signal-command-multiple-signals-pending.c (main):
1400 Add barrier around each pthread_create call instead of around all
1401 calls.
1402 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
1403 Set a break on thread_function and have the child threads hit it
1404 one at at a time.
1405
60b3033e
PA
14062015-01-09 Pedro Alves <palves@redhat.com>
1407
1408 * lib/gdb.exp (can_spawn_for_attach): New procedure.
1409 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
1410 false.
1411 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
1412 checking whether the target board is remote.
1413 * gdb.multi/multi-attach.exp: Likewise.
1414 * gdb.python/py-sync-interp.exp: Likewise.
1415 * gdb.server/ext-attach.exp: Likewise.
1416 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
1417 tests that need to attach, instead of checking whether the target
1418 board is remote at the top of the file.
1419
acc018ac
YQ
14202015-01-08 Yao Qi <yao@codesourcery.com>
1421
1422 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
1423
50a18af8
JK
14242015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1425
1426 Fix testcase compilation.
1427 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
1428
8503d6e1
JB
14292015-01-06 Joel Brobecker <brobecker@adacore.com>
1430
1431 * gdb.python/py-type.exp: Add a couple test about empty
1432 array creation, and negative-length array creation.
1433
cc73dbcc
DE
14342015-01-02 Doug Evans <xdje42@gmail.com>
1435
1436 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
1437
0300bbc7
DE
14382015-01-02 Doug Evans <dje@google.com>
1439
1440 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
1441
9d85a0ec
YQ
14422014-12-29 Yao Qi <yao@codesourcery.com>
1443
1444 * gdb.trace/entry-values.exp: Update comments. Rename variable
1445 bar_call_foo to returned_from_foo.
1446
87186c6a
MMN
14472014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
1448
1449 PR gdb/17394
1450 * gdb.linespec/break-asm-file.c: New file.
1451 * gdb.linespec/break-asm-file.exp: New file.
1452 * gdb.linespec/break-asm-file0.s: New file.
1453 * gdb.linespec/break-asm-file1.s: New file.
1454
1bab7383
YQ
14552014-12-18 Nigel Stephens <nigel@mips.com>
1456 Maciej W. Rozycki <macro@codesourcery.com>
1457
1458 * gdb.base/float.exp: Handle the new output from "info float" on
1459 MIPS targets.
1460
1bc1068a
JK
14612014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1462
1463 Fix MinGW compilation.
1464 * gdb.compile/compile-ops.exp: Update untested message if
1465 !skip_compile_feature_tests.
1466 * gdb.compile/compile-setjmp.exp: Likewise.
1467 * gdb.compile/compile-tls.exp: Likewise.
1468 * gdb.compile/compile.exp: Likewise.
1469 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
1470 supported on this host".
1471
b6615d10
DE
14722014-12-16 Doug Evans <xdje42@gmail.com>
1473
1474 * boards/stabs.exp: New file.
1475
25dda427
AA
14762014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
1477
1478 * gdb.base/completion.exp: Adjust to format changes of "maint
1479 print user-registers".
1480
bf330350
CU
14812014-12-16 Catalin Udma <catalin.udma@freescale.com>
1482
1483 PR server/17457
1484 * gdb.arch/aarch64-fp.c: New file.
1485 * gdb.arch/aarch64-fp.exp: New file.
1486
395cf596
SDJ
14872014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
1488
1489 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
1490 r210637, r210913, r211666, r215400, r215817).
1491
1492 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
1493 * dg-extract-results.py: New file.
1494 * dg-extract-results.sh: Use it if the environment seems
1495 suitable.
1496
1497 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
1498
1499 * dg-extract-results.py (parse_run): Handle warnings that
1500 are printed before a test harness is run.
1501
1502 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
1503
1504 * dg-extract-results.py (Named): Remove __cmp__ method.
1505 (output_variation): Use a key to sort variation.harnesses.
1506
1507 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
1508
1509 * dg-extract-results.py: For Python 3, force sys.stdout to
1510 handle surrogate escape sequences.
1511 (safe_open): New function.
1512 (output_segment, main): Use it.
1513
1514 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
1515
1516 * dg-extract-results.py (Prog.result_re): Include options
1517 in test name.
1518
1519 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
1520
1521 * dg-extract-results.py (output_variation): Always sort if
1522 do_sum.
1523
e882ef3c
SM
15242014-12-15 Simon Marchi <simon.marchi@ericsson.com>
1525
1526 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
1527 as long as we get pagination notifications.
1528
4992aa20
JM
15292014-12-15 Jason Merrill <jason@redhat.com>
1530
1531 * Makefile.in (check-gdb.%): Restore.
1532 * README: Mention it.
1533
c1b5a1a6
JB
15342014-12-13 Joel Brobecker <brobecker@adacore.com>
1535
1536 * gdb.ada/str_uninit: New testcase.
1537
5537b577
JK
15382014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1539
1540 PR symtab/17642
1541 * gdb.base/vla-stub-define.c: New file.
1542 * gdb.base/vla-stub.c: New file.
1543 * gdb.base/vla-stub.exp: New file.
1544
bb2ec1b3
TT
15452014-12-12 Phil Muldoon <pmuldoon@redhat.com>
1546 Jan Kratochvil <jan.kratochvil@redhat.com>
1547 Tom Tromey <tromey@redhat.com>
1548
1549 * configure.ac: Add gdb.compile/.
1550 * configure: Regenerate.
1551 * gdb.compile/Makefile.in: New file.
1552 * gdb.compile/compile-ops.exp: New file.
1553 * gdb.compile/compile-ops.c: New file.
1554 * gdb.compile/compile-tls.c: New file.
1555 * gdb.compile/compile-tls.exp: New file.
1556 * gdb.compile/compile-constvar.S: New file.
1557 * gdb.compile/compile-constvar.c: New file.
1558 * gdb.compile/compile-mod.c: New file.
1559 * gdb.compile/compile-nodebug.c: New file.
1560 * gdb.compile/compile-setjmp-mod.c: New file.
1561 * gdb.compile/compile-setjmp.c: New file.
1562 * gdb.compile/compile-setjmp.exp: New file.
1563 * gdb.compile/compile-shlib.c: New file.
1564 * gdb.compile/compile.c: New file.
1565 * gdb.compile/compile.exp: New file.
1566 * lib/gdb.exp (skip_compile_feature_tests): New proc.
1567
4ff709eb
TT
15682014-12-12 Tom Tromey <tromey@redhat.com>
1569
1570 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
1571 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
1572
6dddd6a5
DE
15732014-12-12 Doug Evans <dje@google.com>
1574
1575 * lib/gdb-python.exp (get_python_valueof): New function.
1576 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
1577
71c24708
AA
15782014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1579
1580 * gdb.base/completion.exp: Add test for completion of "info
1581 registers ".
1582
3e29f34a
MR
15832014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
1584
1585 * gdb.base/func-ptrs.c: New file.
1586 * gdb.base/func-ptrs.exp: New file.
1587
fc126975
SM
15882014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1589
1590 PR breakpoints/17012
1591 * gdb.base/dprintf-detach.c: New file.
1592 * gdb.base/dprintf-detach.exp: New file.
1593
0a46d518
SM
15942014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1595
1596 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
1597 * lib/gdb.exp (target_is_gdbserver): New procedure.
1598
a0be3e44
DE
15992014-12-08 Doug Evans <dje@google.com>
1600
1601 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
1602
df1b803a
YQ
16032014-12-05 Yao Qi <yao@codesourcery.com>
1604
1605 * gdb.guile/scm-error.exp: Remove the third argument to
1606 gdb_remote_download.
1607 * gdb.guile/scm-frame-args.exp: Likewise.
1608 * gdb.guile/scm-section-script.exp: Likewise.
1609
ddb9f679
YQ
16102014-12-05 Yao Qi <yao@codesourcery.com>
1611
1612 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
1613
86e4ed39
DE
16142014-12-04 Doug Evans <dje@google.com>
1615
1616 * gdb.python/py-objfile.exp: Add tests for
1617 objfile.add_separate_debug_file.
1618
7c50a931
DE
16192014-12-04 Doug Evans <dje@google.com>
1620
1621 * lib/gdb.exp (get_build_id): New function.
1622 (build_id_debug_filename_get): Rewrite to use it.
1623 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
1624
621661e3
MR
16252014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
1626
1627 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
1628 `method(long)', not just 0x0.
1629 * gdb.cp/nsalias.exp: Align code labels to 4.
1630 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
1631 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
1632 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
1633 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
1634 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
1635 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
1636
29f0c3b7
DE
16372014-12-02 Doug Evans <dje@google.com>
1638
e1e061e7 1639 PR symtab/17602
29f0c3b7 1640 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 1641 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
1642 * gdb.cp/anon-ns.exp: Update.
1643
162078c8
NB
16442014-12-02 Nick Bull <nicholaspbull@gmail.com>
1645
1646 * gdb.python/py-events.py (inferior_call_handler): New.
1647 (register_changed_handler, memory_changed_handler): New.
1648 (test_events.invoke): Register new handlers.
1649 * gdb.python/py-events.exp: Add tests for inferior call,
1650 memory_changed and register_changed events.
1651
fdb09caf
AA
16522014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1653
1654 * gdb.base/execl-update-breakpoints.exp: Specify the link address
1655 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
1656 if the linker doesn't understand this.
1657
55cfb2c4
SM
16582014-12-01 Simon Marchi <simon.marchi@ericsson.com>
1659
1660 * gdb.python/python.exp: Change expected reply to help().
1661
9e8cd6df
YQ
16622014-12-01 Yao Qi <yao@codesourcery.com>
1663
1664 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
1665 AC_CONFIG_SUBDIRS(gdb.gdbtk).
1666 * configure: Re-generated.
1667
6c659fc2
SC
16682014-11-28 Siva Chandra Reddy <sivachandra@google.com>
1669
1670 * gdb.cp/chained-calls.cc: New file.
1671 * gdb.cp/chained-calls.exp: New file.
1672 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
1673
d7fc3181
SM
16742014-11-28 Simon Marchi <simon.marchi@ericsson.com>
1675
1676 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
1677 * gdb.dwarf2/symtab-producer.exp: Same.
1678 * gdb.gdb/python-interrupts.exp: Same.
1679 * gdb.gdb/python-selftest.exp: Same.
1680 * gdb.python/py-linetable.exp: Same.
1681 * gdb.python/py-type.exp: Same.
1682 * gdb.python/py-value-cc.exp: Same.
1683 * gdb.python/py-value.exp: Same.
1684
10e79639
YQ
16852014-11-28 Yao Qi <yao@codesourcery.com>
1686
1687 * gdb.base/break-probes.exp: Match library name prefixed with
1688 sysroot.
1689
f28a0564
SM
16902014-11-27 Simon Marchi <simon.marchi@ericsson.com>
1691
1692 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
1693 test expected output. Add parentheses for the call to print.
1694 Remove L suffix from integers.
1695
3fe1ce1d
DE
16962014-11-26 Doug Evans <dje@google.com>
1697
1698 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
1699
84429e27
YQ
17002014-11-22 Yao Qi <yao@codesourcery.com>
1701
1702 * gdb.trace/entry-values.c: Remove asms.
1703 (foo): Add foo_label.
1704 (bar): Add bar_label.
1705 * gdb.trace/entry-values.exp: Remove code computing foo's
1706 length and bar's length.
1707 (Dwarf::assemble): Invoke function_range for bar and use
1708 MACRO_AT_func for foo.
1709
26741859
YQ
17102014-11-22 Yao Qi <yao@codesourcery.com>
1711
1712 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
1713 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
1714 Use .Lgcc43_procstart instead of gcc43.
1715
45e44d27
JB
17162014-11-21 Joel Brobecker <brobecker@adacore.com>
1717
1718 * gdb.ada/n_arr_bound: New testcase.
1719
458c8db8
SDJ
17202014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1721
1722 PR breakpoints/10737
1723 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
1724 test_catch_syscall_multi_arch.
1725 (test_catch_syscall_multi_arch): New function.
1726
43f3e411
DE
17272014-11-20 Doug Evans <xdje42@gmail.com>
1728
1729 * gdb.base/maint.exp: Update expected output.
1730
0d7b2549
AA
17312014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1732
1733 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
1734 4-byte instruction on S390.
1735
8908fca5
JB
17362014-11-19 Joel Brobecker <brobecker@adacore.com>
1737
1738 * gdb.ada/arr_arr: New testcase.
1739
4a46959e
JB
17402014-11-19 Joel Brobecker <brobecker@adacore.com>
1741
1742 * gdb.ada/pkd_arr_elem: New Testcase.
1743
470e2f4e
LM
17442014-11-18 Luis Machado <lgustavo@codesourcery.com>
1745
1746 * gdb.reverse/break-precsave: Expect completion message for
1747 core file reads.
1748 * gdb.reverse/consecutive-precsave.exp: Likewise.
1749 * gdb.reverse/finish-precsave.exp: Likewise.
1750 * gdb.reverse/i386-precsave.exp: Likewise.
1751 * gdb.reverse/machinestate-precsave.exp: Likewise.
1752 * gdb.reverse/sigall-precsave.exp: Likewise.
1753 * gdb.reverse/solib-precsave.exp: Likewise.
1754 * gdb.reverse/step-precsave.exp: Likewise.
1755 * gdb.reverse/until-precsave.exp: Likewise.
1756 * gdb.reverse/watch-precsave.exp: Likewise.
1757
a267f3ad
AA
17582014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1759
1760 * gdb.base/bp-permanent.c: Include unistd.h.
1761 * gdb.python/py-framefilter-mi.c (main): Add return type.
1762 * gdb.python/py-framefilter.c (main): Likewise.
1763 * gdb.trace/actions-changed.c (main): Likewise.
1764
12084a9a
AA
17652014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1766
1767 * gdb.mi/until.c: Add eye-catchers.
1768 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
1769 line numbers.
1770
dc7e1a77
AA
17712014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1772
1773 * gdb.base/condbreak.exp: Drop references to removed non-prototype
1774 function header variants in break1.c.
1775 * gdb.base/ena-dis-br.exp: Likewise.
1776 * gdb.base/hbreak2.exp: Likewise.
1777 * gdb.reverse/until-precsave.exp: Drop references to removed
1778 non-prototype function header variants in ur1.c.
1779 * gdb.reverse/until-reverse.exp: Likewise.
1780
41c77605
PM
17812014-11-17 Petr Machata <pmachata@redhat.com>
1782
1783 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
1784 ${_cu_offset_size} bytes abbrev offset.
1785
34248c3a
DE
17862014-11-15 Doug Evans <xdje42@gmail.com>
1787
1788 PR symtab/17559
1789 * gdb.base/line-symtabs.exp: New file.
1790 * gdb.base/line-symtabs.c: New file.
1791 * gdb.base/line-symtabs.h: New file.
1792
646da059
YQ
17932014-11-14 Yao Qi <yao@codesourcery.com>
1794
1795 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
1796 (func): Add label func_label.
1797 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
1798 Replace low_pc and high_pc with MACRO_AT_range.
1799 Replace name, low_pc and high_pc with MACRO_AT_func.
1800
9301ebe6
YQ
18012014-11-14 Yao Qi <yao@codesourcery.com>
1802
1803 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
1804 Replace name, low_pc and high_pc with MACRO_AT_func.
1805
f166b542
YQ
18062014-11-14 Yao Qi <yao@codesourcery.com>
1807
1808 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
1809 produce debug information.
1810 * gdb.dwarf2/implptr-optimized-out.S: Removed.
1811
0f6e71e3
YQ
18122014-11-14 Yao Qi <yao@codesourcery.com>
1813
1814 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
1815 object and get function length.
1816 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
1817 with MACRO_AT_func.
1818 (top-level): Replace gdb_compile and clean_restart with
1819 prepare_for_testing.
1820 * gdb.dwarf2/main.c (main): Add label main_label.
1821
876c4df9
YQ
18222014-11-14 Yao Qi <yao@codesourcery.com>
1823
1824 * lib/dwarf.exp (function_range): New procedure.
1825 (Dwarf::_handle_macro_at_func): New procedure.
1826 (Dwarf::_handle_macro_at_range): New procedure.
1827 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
1828
02ad9cf1
YQ
18292014-11-14 Yao Qi <yao@codesourcery.com>
1830
1831 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
1832 (_handle_attribute): New procedure.
1833
a59add0c
AA
18342014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1835
1836 * gdb.ada/cond_lang/foo.c (callme): Add return type.
1837 * gdb.base/call-sc.c (zed): Likewise.
1838 * gdb.base/checkpoint.c (main): Likewise.
1839 * gdb.base/dump.c (main): Likewise.
1840 * gdb.base/gcore.c (main): Likewise.
1841 * gdb.base/huge.c (main): Likewise.
1842 * gdb.base/multi-forks.c (main): Likewise.
1843 * gdb.base/pr10179-a.c (main): Likewise.
1844 * gdb.base/savedregs.c (main): Likewise.
1845 * gdb.base/sigaltstack.c (main): Likewise.
1846 * gdb.base/siginfo.c (main): Likewise.
1847 * gdb.base/structs.c (zed): Likewise.
1848 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
1849 * gdb.mi/mi-syn-frame.c (main): Likewise.
1850 * gdb.mi/until.c (foo, main): Likewise.
1851 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
1852 * gdb.base/solib-weak.c (foo): Declare.
1853 * gdb.base/attach-twice.c: Include stdio.h.
1854 * gdb.base/weaklib1.c: Likewise.
1855 * gdb.base/weaklib2.c: Likewise.
1856 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
1857 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
1858 unistd.h.
1859 * gdb.base/attach-pie-misread.c: Include stdlib.h.
1860 * gdb.mi/mi-exit-code.c: Likewise.
1861 * gdb.base/break-interp-lib.c: Include string.h.
1862 * gdb.base/coremaker.c: Likewise.
1863 * gdb.base/testenv.c: Likewise.
1864 * gdb.python/py-finish-breakpoint.c: Likewise.
1865 * gdb.base/inferior-died.c: Include sys/wait.h.
1866 * gdb.base/fileio.c: Include time.h.
1867 * gdb.base/async-shell.c: Include unistd.h.
1868 * gdb.base/dprintf-non-stop.c: Likewise.
1869 * gdb.base/info-os.c: Likewise.
1870 * gdb.mi/mi-console.c: Likewise.
1871 * gdb.mi/watch-nonstop.c: Likewise.
1872 * gdb.python/py-events.c: Likewise.
1873 * gdb.base/async.c (baz): Move up before its invocation.
1874 * gdb.base/code_elim2.c (my_global_func): Likewise.
1875 * gdb.base/skip-solib-lib.c (multiply): Likewise.
1876 * gdb.base/advance.c (func2): Likewise.
1877
3b5d5997
AA
18782014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1879
1880 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
1881 variant.
1882 * gdb.base/annota3.c: Likewise.
1883 * gdb.base/async.c: Likewise.
1884 * gdb.base/average.c: Likewise.
1885 * gdb.base/call-ar-st.c: Likewise.
1886 * gdb.base/call-rt-st.c: Likewise.
1887 * gdb.base/call-sc.c: Likewise.
1888 * gdb.base/call-strs.c: Likewise.
1889 * gdb.base/ending-run.c: Likewise.
1890 * gdb.base/execd-prog.c: Likewise.
1891 * gdb.base/exprs.c: Likewise.
1892 * gdb.base/foll-exec.c: Likewise.
1893 * gdb.base/foll-fork.c: Likewise.
1894 * gdb.base/foll-vfork.c: Likewise.
1895 * gdb.base/funcargs.c: Likewise.
1896 * gdb.base/gcore.c: Likewise.
1897 * gdb.base/jump.c: Likewise.
1898 * gdb.base/langs0.c: Likewise.
1899 * gdb.base/langs1.c: Likewise.
1900 * gdb.base/langs2.c: Likewise.
1901 * gdb.base/mips_pro.c: Likewise.
1902 * gdb.base/nodebug.c: Likewise.
1903 * gdb.base/opaque0.c: Likewise.
1904 * gdb.base/opaque1.c: Likewise.
1905 * gdb.base/recurse.c: Likewise.
1906 * gdb.base/run.c: Likewise.
1907 * gdb.base/scope0.c: Likewise.
1908 * gdb.base/scope1.c: Likewise.
1909 * gdb.base/setshow.c: Likewise.
1910 * gdb.base/setvar.c: Likewise.
1911 * gdb.base/shmain.c: Likewise.
1912 * gdb.base/shr1.c: Likewise.
1913 * gdb.base/shr2.c: Likewise.
1914 * gdb.base/sigall.c: Likewise.
1915 * gdb.base/signals.c: Likewise.
1916 * gdb.base/so-indr-cl.c: Likewise.
1917 * gdb.base/solib2.c: Likewise.
1918 * gdb.base/structs.c: Likewise.
1919 * gdb.base/sum.c: Likewise.
1920 * gdb.base/vforked-prog.c: Likewise.
1921 * gdb.base/watchpoint.c: Likewise.
1922 * gdb.reverse/shr2.c: Likewise.
1923 * gdb.reverse/until-reverse.c: Likewise.
1924 * gdb.reverse/ur1.c: Likewise.
1925 * gdb.reverse/watch-reverse.c: Likewise.
1926
066a77c5
AA
19272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1928
1929 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
1930 variant.
1931 * gdb.base/sepdebug.exp: Drop references to removed code.
1932
4f204ea5
AA
19332014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1934
1935 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
1936 variant. Preserve original line numbering.
1937 * gdb.base/list1.c: Likewise.
1938
3b377a3a
AA
19392014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1940
1941 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
1942 variant.
1943 * gdb.base/break1.c: Likewise.
1944 * gdb.base/break.exp: Drop references to removed code.
1945
e444df73
AA
19462014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1947
1948 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
1949 variant.
1950
8008f2a7
AA
19512014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1952
1953 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
1954
a5a06887
AA
19552014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1956
1957 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
1958 logic into perform_all_tests() and invoke it with and without
1959 function header prototypes.
1960 (do_function_calls): Remove conditional XFAIL for PR 5318.
1961 (rerun_and_prepare): Remove duplicate code.
1962 (perform_all_tests): New. Main logic moved here.
1963
44dba9b9
AA
19642014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1965
1966 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
1967 code guarded by #ifdef NO_PROTOTYPES.
1968 (t_double_many_args): Likewise.
1969 (DEF_FUNC_MANY_ARGS_1): Likewise.
1970 (DEF_FUNC_VALUES_1): Likewise.
1971 (t_structs_ldc): Renamed from t_structs_fc in conditional code
1972 guarded by #ifdef PROTOTYPES.
1973
d1fbcd56
AA
19742014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1975
1976 * gdb.mi/mi-console.c: Add eye-catcher.
1977 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
1978 instead of literal line number.
1979
b0e59b8f
AA
19802014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1981
1982 * gdb.base/shr2.c: Add eye-catcher.
1983 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
1984 line number.
1985
78f98cca
AA
19862014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1987
1988 * gdb.base/jump.c: Add eye-catchers.
1989 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
1990 numbers.
1991
58fa2af0
AA
19922014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1993
1994 * gdb.base/execd-prog.c: Add eye-catchers.
1995 * gdb.base/foll-exec.c: Likewise.
1996 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
1997 line numbers.
1998
04e5059b
AA
19992014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2000
2001 * gdb.base/ending-run.c: Add eye-catchers.
2002 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
2003 literal line numbers.
2004
dbfdb174
AA
20052014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2006
2007 * gdb.base/call-rt-st.c: Add eye-catchers.
2008 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
2009 literal line numbers.
2010
888a2ade
AA
20112014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2012
2013 * gdb.base/call-ar-st.c: Add eye-catchers.
2014 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
2015 literal line numbers.
2016
6acc2dde
AA
20172014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2018
2019 * gdb.base/average.c: Add eye-catchers.
2020 * gdb.base/sum.c: Likewise.
2021 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
2022 regexps dynamically.
2023
9ecfcd1d
AA
20242014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2025
2026 * gdb.base/solib1.c: Add eye-catchers.
2027 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
2028 literal line numbers.
2029
78708b7c
PA
20302014-11-12 Pedro Alves <palves@redhat.com>
2031
2032 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
2033 leader has exited.
2034
af48d08f
PA
20352014-11-12 Pedro Alves <palves@redhat.com>
2036
2037 * gdb.arch/i386-bp_permanent.c: New file.
2038 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
2039 (srcfile): Set to i386-bp_permanent.c.
2040 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
2041 that stepi does not execute the 'leave' instruction, instead of
2042 testing it does execute.
2043 * gdb.base/bp-permanent.c: New file.
2044 * gdb.base/bp-permanent.exp: New file.
2045
af3768e9
DE
20462014-11-10 Doug Evans <xdje42@gmail.com>
2047
2048 PR symtab/17564
2049 * gdb.base/symtab-search-order.exp: New file.
2050 * gdb.base/symtab-search-order.c: New file.
2051 * gdb.base/symtab-search-order-1.c: New file.
2052 * gdb.base/symtab-search-order-shlib-1.c: New file.
2053
9de00a4a
PA
20542014-11-07 Pedro Alves <palves@redhat.com>
2055
2056 PR gdb/17511
2057 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
2058 i?86-*-linux*.
2059
e0f52461
SC
20602014-11-03 Siva Chandra Reddy <sivachandra@google.com>
2061
2062 PR c++/17494
2063 * gdb.cp/pr17494.cc: New file.
2064 * gdb.cp/pr17494.exp: New file.
2065
6ce8c980
YQ
20662014-11-02 Yao Qi <yao@codesourcery.com>
2067
2068 * gdb.python/python.exp: Get working directory and match the
2069 output of "set extended-prompt \\w " with it.
2070
02be9a71
DE
20712014-10-30 Doug Evans <dje@google.com>
2072
2073 * gdb.python/py-objfile.exp: Add tests for setting random attributes
2074 in objfiles.
2075 * gdb.python/py-progspace.exp: Add tests for setting random attributes
2076 in progspaces.
2077
3bdff46b
LM
20782014-10-30 Janis Johnson <janisjo@codesourcery.com>
2079
2080 * gdb.base/fullpath-expand.exp: Skip for a remote host.
2081 * gdb.base/realname-expand.exp: Likewise.
2082 * gdb.linespec/macro-relative.exp: Likewise.
2083
ab917dfb
PA
20842014-10-29 Pedro Alves <palves@redhat.com>
2085
2086 PR gdb/17408
2087 * gdb.threads/schedlock.c (some_function): New function.
2088 (call_function): New global.
2089 (MAYBE_CALL_SOME_FUNCTION): New macro.
2090 (thread_function): Call it.
2091 * gdb.threads/schedlock.exp (get_args): Add description parameter,
2092 and use it instead of a global counter. Adjust all callers.
2093 (get_current_thread): Use "find current thread" for test message
2094 here rather than having all callers pass down the same string.
2095 (goto_loop): New procedure, factored out from ...
2096 (my_continue): ... this.
2097 (step_ten_loops): Change parameter from test message to command to
2098 use. Adjust.
2099 (list_count): Delete global.
2100 (check_result): New procedure, factored out from duplicate top
2101 level code.
2102 (continue tests): Wrap in with_test_prefix.
2103 (test_step): New procedure, factored out from duplicate top level
2104 code.
2105 (top level): Test "step" in combination with all scheduler-locking
2106 modes. Test "next" in combination with all scheduler-locking
2107 modes, and in combination with stepping over a function call or
2108 not.
2109 * gdb.threads/next-bp-other-thread.c: New file.
2110 * gdb.threads/next-bp-other-thread.exp: New file.
2111
d3d4baed
PA
21122014-10-29 Pedro Alves <palves@redhat.com>
2113
2114 PR python/17372
2115 * gdb.python/python.exp: Test a multi-line command that spawns
2116 interactive Python.
2117 * gdb.base/multi-line-starts-subshell.exp: New file.
2118
563e8d85
YQ
21192014-10-29 Yao Qi <yao@codesourcery.com>
2120
2121 * gdb.base/fileio.exp: Make directories on host.
2122
0ea4d52e
YQ
21232014-10-29 Yao Qi <yao@codesourcery.com>
2124
2125 * gdb.base/fileio.c (test_write): Close the file.
2126
7f5ef605
PA
21272014-10-28 Pedro Alves <palves@redhat.com>
2128
2129 PR gdb/12623
2130 * gdb.base/sigstep.c (no_handler): New global.
2131 (main): If 'no_handler is true, set the signal handlers to
2132 SIG_IGN.
2133 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
2134 with_sw_watch and no_handler parameters. Handle them.
2135 (top level) <stepping over handler when stopped at a breakpoint
2136 test>: Add a test axis for testing with a software watchpoint, and
2137 another for testing with the signal handler set to SIG_IGN.
2138 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
2139 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
2140
abbdbd03
PA
21412014-10-28 Pedro Alves <palves@redhat.com>
2142
2143 PR gdb/17511
2144 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
2145 * gdb.base/sigstep.exp (other_handler_location): New global.
2146 (advance): Support stepping into the signal handler, and running
2147 commands while in the handler.
2148 (in_handler_map): New global.
2149 (top level): In the advance test, add combinations for getting
2150 into the handler with stepping commands, and for running commands
2151 in the handler. Add comment descripting the advancei tests.
2152
1df4399f
PA
21532014-10-28 Pedro Alves <palves@redhat.com>
2154
2155 * gdb.base/sigstep.exp: Use build_executable instead of
2156 prepare_for_testing.
2157 (top level): Move code that starts GDB, runs to main and creates a
2158 display to ...
2159 (restart): ... this new procedure.
2160 (top level): Move backtrace from signal handler test to ...
2161 (validate_backtrace): ... this new procedure.
2162 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
2163 with_test_prefix. Always restart GDB.
2164 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
2165 with_test_prefix. Always restart GDB. No need to delete
2166 breakpoints after the test.
2167 (test_skip_handler): Remove prefix parameter.
2168 (skip_over_handler, breakpoint_to_handler)
2169 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
2170 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
2171 restart GDB. No need to delete breakpoints after the test.
2172 (top level): Use foreach to call the test procedures with
2173 different commands.
2174
a5b6e449
PA
21752014-10-28 Pedro Alves <palves@redhat.com>
2176
2177 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
2178 instead of GNATS numbers.
2179 * gdb.base/sigbpt.exp: Likewise.
2180 * gdb.base/siginfo.exp: Likewise.
2181 * gdb.base/sigstep.exp: Likewise.
2182
e5f8a7cc
PA
21832014-10-27 Pedro Alves <palves@redhat.com>
2184
2185 * gdb.base/sigstep.c (dummy): New global.
2186 (main): Issue a couple writes to the new global.
2187 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
2188 procedures.
2189 (skip_over_handler): Use test_skip_handler.
2190 (top level): Call skip_over_handler for stepi and nexti too.
2191 (breakpoint_over_handler): Use test_skip_handler.
2192 (top level): Call breakpoint_over_handler for stepi and nexti too.
2193
763905a3
YQ
21942014-10-27 Yao Qi <yao@codesourcery.com>
2195
2196 * gdb.trace/tfile.c (adjust_function_address)
2197 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
2198 function descriptor.
2199
6f259a23
DB
22002014-10-24 Don Breazeal <donb@codesourcery.com>
2201
2202 * gdb.base/foll-fork.exp (test_follow_fork,
2203 catch_fork_child_follow): Check for updated fork messages emitted
2204 from infrun.c.
2205 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
2206 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
2207 vfork_and_exec_child_follow_through_step): Check for updated vfork
2208 messages emitted from infrun.c.
2209
09dd9a69
PA
22102014-10-24 Pedro Alves <palves@redhat.com>
2211
2212 * gdb.base/corefile.exp: Remove references to ultrix.
2213 * gdb.base/interrupt.exp: Likewise.
2214 * gdb.base/whatis.exp: Likewise.
2215 * gdb.gdb/selftest.exp: Likewise.
2216 * gdb.threads/manythreads.exp: Likewise.
2217 * gdb.threads/print-threads.exp: Likewise.
2218 * gdb.threads/pthreads.exp:: Likewise.
2219 * gdb.threads/schedlock.exp: Likewise.
2220
3433cfa5
SC
22212014-10-24 Siva Chandra Reddy <sivachandra@google.com>
2222
2223 * gdb.cp/non-trivial-retval.cc: Add a test case.
2224 * gdb.cp/non-trivial-retval.exp: Add a test.
2225
092f880b
YQ
22262014-10-20 Yao Qi <yao@codesourcery.com>
2227
2228 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
2229 * gdb.python/py-objfile-script-gdb.py: New file.
2230 * gdb.python/py-objfile-script.exp: Update reference to
2231 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
2232 of remote_download. Remove the dest file.
2233
acbdb7f3
YQ
22342014-10-20 Yao Qi <yao@codesourcery.com>
2235
2236 * gdb.base/checkpoint.exp: Don't remove file copied on host.
2237 * gdb.base/step-line.exp: Likewise.
2238 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2239 * gdb.dwarf2/dw2-basic.exp: Likewise.
2240 * gdb.dwarf2/dw2-compressed.exp: Likewise.
2241 * gdb.dwarf2/dw2-filename.exp: Likewise.
2242 * gdb.dwarf2/dw2-intercu.exp: Likewise.
2243 * gdb.dwarf2/dw2-intermix.exp: Likewise.
2244 * gdb.dwarf2/dw2-producer.exp: Likewise.
2245 * gdb.dwarf2/mac-fileno.exp: Likewise.
2246 * gdb.python/py-frame-args.exp: Likewise.
2247 * gdb.python/py-framefilter.exp: Likewise.
2248 * gdb.python/py-mi.exp: Likewise.
2249 * gdb.python/py-objfile-script.exp: Likewise
2250 * gdb.python/py-pp-integral.exp: Likewise.
2251 * gdb.python/py-pp-re-notag.exp: Likewise.
2252 * gdb.python/py-prettyprint.exp: Likewise.
2253 * gdb.python/py-section-script.exp: Likewise.
2254 * gdb.python/py-typeprint.exp: Likewise.
2255 * gdb.python/py-xmethods.exp: Likewise.
2256 * gdb.stabs/weird.exp: Likewise.
2257 * gdb.xml/tdesc-regs.exp: Likewise.
2258
bd286a29
KCY
22592014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
2260
2261 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
2262 (out_cu): Use addr_len for the size of addresses.
2263 (out_line): Likewise. Size DW_LNE_set_address instruction
2264 according to addr_len.
2265 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
2266 (FUNC): Add START_INSNS to definition.
2267
673dc4a0
YQ
22682014-10-18 Yao Qi <yao@codesourcery.com>
2269
2270 * gdb.base/argv0-symlink.exp: Check argv[0] value if
2271 gdb_has_argv0 return true.
2272 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
2273 check [target_info exists noargs], check [gdb_has_argv0]
2274 instead.
2275 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2276 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
2277 procedures.
2278
4ffbba72
DE
22792014-10-17 Doug Evans <dje@google.com>
2280
2281 * gdb.python/py-events.exp: Update expected output for clear_objfiles
2282 event.
2283 * gdb.python/py-events.py: Add clear_objfiles event.
2284
d096d8c1
DE
22852014-10-17 Doug Evans <dje@google.com>
2286
2287 * gdb.python/py-objfile.exp: Test progspace attribute.
2288
a80db015
LM
22892014-10-17 Luis Machado <lgustavo@codesourcery.com>
2290
2291 * gdb.guile/scm-breakpoint.exp: Do not assume any
2292 directory separators when matching source file paths.
2293 * gdb.python/py-breakpoint.exp: Likewise.
2294 * gdb.reverse/break-precsave.exp: Likewise.
2295 * gdb.reverse/break-reverse.exp: Likewise.
2296 * gdb.reverse/consecutive-precsave.exp: Likewise.
2297 * gdb.reverse/finish-precsave.exp: Likewise.
2298 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
2299 * gdb.reverse/finish-reverse.exp: Likewise.
2300 * gdb.reverse/i386-precsave.exp: Likewise.
2301 * gdb.reverse/i387-env-reverse.exp: Likewise.
2302 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2303 * gdb.reverse/machinestate-precsave.exp: Likewise.
2304 * gdb.reverse/machinestate.exp: Likewise.
2305 * gdb.reverse/sigall-precsave.exp: Likewise.
2306 * gdb.reverse/solib-precsave.exp: Likewise.
2307 * gdb.reverse/step-precsave.exp: Likewise.
2308 * gdb.reverse/until-precsave.exp: Likewise.
2309 * gdb.reverse/watch-precsave.exp: Likewise.
2310 * gdb.reverse/watch-reverse.exp: Likewise.
2311
b22089ab
YQ
23122014-10-17 Yao Qi <yao@codesourcery.com>
2313
2314 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
2315 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
2316
6c4486e6
PA
23172014-10-17 Pedro Alves <palves@redhat.com>
2318
2319 PR gdb/17471
2320 * gdb.base/bg-execution-repeat.c: New file.
2321 * gdb.base/bg-execution-repeat.exp: New file.
2322
0ff33695
PA
23232014-10-17 Pedro Alves <palves@redhat.com>
2324
2325 PR gdb/17300
2326 * gdb.base/continue-all-already-running.c: New file.
2327 * gdb.base/continue-all-already-running.exp: New file.
2328
6fdebc3d
PA
23292014-10-17 Pedro Alves <palves@redhat.com>
2330
2331 PR gdb/17472
2332 * gdb.base/annota-input-while-running.c: New file.
2333 * gdb.base/annota-input-while-running.exp: New file.
2334
32a8097b
PA
23352014-10-17 Pedro Alves <palves@redhat.com>
2336
2337 * gdb.base/callfuncs.exp: emove references to osf.
2338 * gdb.base/sigall.exp: Likewise.
2339 * gdb.gdb/selftest.exp: Likewise.
2340 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
2341 * gdb.mi/non-stop.c: Likewise.
2342 * gdb.mi/pthreads.c: Likewise.
2343 * gdb.reverse/sigall-precsave.exp: Likewise.
2344 * gdb.reverse/sigall-reverse.exp: Likewise.
2345 * gdb.threads/pthreads.c: Likewise.
2346 * gdb.threads/pthreads.exp: Likewise.
2347
7a3517ff
YQ
23482014-10-17 Yao Qi <yao@codesourcery.com>
2349
2350 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
2351 check 'target_info exists noargs'.
2352 (test_command_prompt_position): Likewise.
2353 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
2354 Remove "set args".
2355 (progvar_simple_while_test): Likewise.
2356 (progvar_complex_if_while_test): Likewise.
2357 (if_while_breakpoint_command_test): Likewise.
2358 (infrun_breakpoint_command_test): Likewise.
2359 (breakpoint_command_test): Likewise.
2360 (watchpoint_command_test): Likewise.
2361 (bp_deleted_in_command_test): Likewise.
2362 (temporary_breakpoint_commands): Likewise.
2363
bb99c472
YQ
23642014-10-16 Yao Qi <yao@codesourcery.com>
2365
2366 * gdb.base/remotetimeout.exp: Remove noargs checking.
2367
7c16b83e
PA
23682014-10-15 Pedro Alves <palves@redhat.com>
2369
2370 PR breakpoints/9649
2371 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
2372 * gdb.base/breakpoint-in-ro-region.exp
2373 (probe_target_hardware_step): New procedure.
2374 (top level): Probe hardware stepping and hardware breakpoint
2375 support. Test stepping through a read-only region, with both
2376 "breakpoint auto-hw" on and off and both "always-inserted" on and
2377 off.
2378
35a49624
IB
23792014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
2380
2381 * gdb.dlang/demangle.exp: Update for demangling changes.
2382
2d1c107c
SC
23832014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2384
2385 * gdb.cp/non-trivial-retval.cc: Add new test cases.
2386 * gdb.cp/non-trivial-retval.exp: Add new tests.
2387
778811d5
SC
23882014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2389
2390 PR c++/13403
2391 PR c++/15154
2392 * gdb.cp/non-trivial-retval.cc: New file.
2393 * gdb.cp/non-trivial-retval.exp: New file.
2394
10c5f0a8
YQ
23952014-10-15 Yao Qi <yao@codesourcery.com>
2396
2397 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
2398 remote host.
2399
65d7b369
YQ
24002014-10-15 Yao Qi <yao@codesourcery.com>
2401
2402 * gdb.python/py-symbol.exp: Match file base name if host is
2403 remote, otherwise match file name with dir name.
2404 * gdb.python/py-symtab.exp: Likewise.
2405 * gdb.python/python.exp: Likewise.
2406
46dc1394
YQ
24072014-10-15 Yao Qi <yao@codesourcery.com>
2408
2409 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
2410 pattern.
2411 * gdb.python/py-symtab.exp: Likewise.
2412 * gdb.python/python.exp: Remove trailing ".*". Fix typo
2413 locationn.
2414
c40cc657
JB
24152014-10-14 Joel Brobecker <brobecker@adacore.com>
2416
2417 * gdb.ada/addr_arith: New testcase.
2418
2abf49e1
MR
24192014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
2420
2421 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
2422 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
2423 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
2424 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
2425
f7088df3
SDJ
24262014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
2427
2428 * gdb.arch/stap-eval-lang-ada.S: Likewise.
2429 * gdb.arch/stap-eval-lang-ada.c: Likewise.
2430 * gdb.arch/stap-eval-lang-ada.exp: New file.
2431
4dc06805
YQ
24322014-10-14 Yao Qi <yao@codesourcery.com>
2433
2434 * gdb.mi/mi-var-child.c (nothing1): New function.
2435 (nothing2): New function.
2436 (do_children_tests): Set function pointers by nothing1 and
2437 nothing2.
2438 * gdb.mi/mi-var-child.exp: Step over new added statements.
2439 Update test to match the new output.
2440 * gdb.mi/var-cmd.c (nothing1): New function.
2441 (nothing2): New function.
2442 (do_children_tests): Set function pointers by nothing1 and
2443 nothing2.
2444 * gdb.mi/mi-var-display.exp: Update test to match output.
2445 Step to the line specified by $line_dct_nothing.
2446 Increase the number of lines to step.
2447
46a93de2
YQ
24482014-10-14 Yao Qi <yao@codesourcery.com>
2449
2450 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
2451 tests.
2452 * gdb.mi/mi2-var-child.exp: Likewise.
2453
14ea52ee
DE
24542014-10-13 Doug Evans <dje@google.com>
2455
2456 * gdb.python/py-objfile.exp: Change name of file name test.
2457
e5c6e92b
DE
24582014-10-13 Doug Evans <dje@google.com>
2459
2460 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
2461 from the start of the CU.
2462
c780cc2f
JK
24632014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2464 Yao Qi <yao@codesourcery.com>
2465
2466 Fix "save breakpoints" for "catch" command.
2467 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
2468 Remove -nonewline. Match also the added "main" line.
2469
99894e11
JK
24702014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2471
2472 Fix "save breakpoints" for "disable $bpnum" command.
2473 * gdb.base/save-bp.c (main): Add label.
2474 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
2475
6e1ac5a3
JK
24762014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2477
2478 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
2479
754dd2b0
YQ
24802014-10-11 Yao Qi <yao@codesourcery.com>
2481
2482 * gdb.server/server-kill.exp: Execute command
2483 "set remote trace-status-packet on" before "tstatus".
2484
f90183d7
YQ
24852014-10-11 Yao Qi <yao@codesourcery.com>
2486
2487 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
2488 (main): Call getppid.
2489 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
2490 and continue to it. Read variable "server_pid".
2491
bf40a607
YQ
24922014-10-11 Yao Qi <yao@codesourcery.com>
2493
2494 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
2495
052ca370
YQ
24962014-10-11 Yao Qi <yao@codesourcery.com>
2497
2498 * gdb.threads/thread-find.exp: Don't execute command
2499 "info threads".
2500 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
2501 * gdb.threads/linux-dp.exp: Don't check the condition
2502 $threads_created equals to zero.
2503
3831839c
PA
25042014-10-10 Pedro Alves <palves@redhat.com>
2505
2506 * gdb.base/bigcore.exp: Remove references to IRIX.
2507 * gdb.base/funcargs.exp: Likewise.
2508 * gdb.base/interrupt.exp: Likewise.
2509 * gdb.base/mips_pro.exp: Likewise.
2510 * gdb.base/nodebug.exp: Likewise.
2511 * gdb.base/setvar.exp: Likewise.
2512 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
2513
8b9a549d
PA
25142014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2515 Pedro Alves <palves@redhat.com>
2516
2517 PR symtab/14466
2518 * gdb.base/vdso-warning.c: New file.
2519 * gdb.base/vdso-warning.exp: New file.
2520
d48ba5e8
DE
25212014-10-02 Doug Evans <dje@google.com>
2522
2523 * gdb.base/structs.c (main): Don't run forever.
2524
2278c276
PA
25252014-10-02 Pedro Alves <palves@redhat.com>
2526
2527 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
2528 (top level) <stop threads 1, stop threads 2>: Use it.
2529
b57bacec
PA
25302014-10-02 Pedro Alves <palves@redhat.com>
2531
2532 * gdb.threads/break-while-running.exp (test): Add new
2533 'update_thread_list' argument. Skip "info threads" if false.
2534 (top level): Add new 'update_thread_list' axis.
2535
13fd3ff3
PA
25362014-10-02 Pedro Alves <palves@redhat.com>
2537
2538 PR breakpoints/17431
2539 * gdb.base/execl-update-breakpoints.c: New file.
2540 * gdb.base/execl-update-breakpoints.exp: New file.
2541
0fec99e8
PA
25422014-10-01 Pedro Alves <palves@redhat.com>
2543
2544 * gdb.base/breakpoint-in-ro-region.c: New file.
2545 * gdb.base/breakpoint-in-ro-region.exp: New file.
2546
2ddf4301
SM
25472014-10-01 Simon Marchi <simon.marchi@ericsson.com>
2548
2549 * gdb.mi/mi-exit-code.exp: New file.
2550 * gdb.mi/mi-exit-code.c: New file.
2551
6a5f3f43
YQ
25522014-09-30 Yao Qi <yao@codesourcery.com>
2553
2554 * lib/prelink-support.exp (build_executable_own_libs): Error if
2555 the target isn't native.
2556
345bcc73
YQ
25572014-09-30 Yao Qi <yao@codesourcery.com>
2558
2559 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
2560 false.
2561
a25a5a45
PA
25622014-09-22 Pedro Alves <palves@redhat.com>
2563
2564 * gdb.threads/break-while-running.exp: New file.
2565 * gdb.threads/break-while-running.c: New file.
2566
00ba3162
YQ
25672014-09-19 Yao Qi <yao@codesourcery.com>
2568
2569 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
2570 Invoke test. Restart GDB with --readnow and invoke test again.
2571
c3b7b696
YQ
25722014-09-19 Yao Qi <yao@codesourcery.com>
2573
2574 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
2575 proc set_breakpoint_on_gcd_function. Invoke
2576 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
2577 invoke set_breakpoint_on_gcd_function again.
2578
2b4fd423
DE
25792014-09-18 Doug Evans <dje@google.com>
2580
2581 * gdb.dwarf2/symtab-producer.exp: New file.
2582
a5947601
SDJ
25832014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2584
2585 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
2586 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
2587 * gdb.base/global-var-nested-by-dso.c: Likewise.
2588 * gdb.base/global-var-nested-by-dso.exp: Likewise.
2589
91c19059
SDJ
25902014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2591 Pedro Alves <palves@redhat.com>
2592
2593 * gdb.base/watch-bitfields.exp: Pass string other than test file
2594 name to prepare_for_testing.
2595 (watch): New procedure.
2596 (expect_watchpoint): Use with_test_prefix.
2597 (top level): Factor out tests to ...
2598 (test_watch_location, test_regular_watch): ... these new
2599 procedures, and use with_test_prefix and gdb_continue_to_end.
2600
bb9d5f81
PP
26012014-09-16 Patrick Palka <patrick@parcs.ath.cx>
2602
2603 PR breakpoints/12526
2604 * gdb.base/watch-bitfields.exp: New file.
2605 * gdb.base/watch-bitfields.c: New file.
2606
635856f5
PA
26072014-09-16 Pedro Alves <palves@redhat.com>
2608
2609 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
2610 software and hardware addresses, not software address against
2611 itself.
2612
7280ceea
PA
26132014-09-16 Pedro Alves <palves@redhat.com>
2614
2615 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
2616 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
2617
428b16bd
PA
26182014-09-16 Pedro Alves <palves@redhat.com>
2619
2620 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
2621 files.
2622 * gdb.base/a2-run.exp: Remove all code guarded by istarget
2623 "*-*-vxworks*" throughout.
2624 * gdb.base/break.exp: Likewise.
2625 * gdb.base/default.exp: Likewise.
2626 * gdb.base/scope.exp: Likewise.
2627 * gdb.base/sepdebug.exp: Likewise.
2628 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
2629 throughout.
2630 * gdb.base/run.c: Likewise.
2631 * gdb.base/sepdebug.c: Likewise.
2632 * gdb.hp/gdb.aCC/run.c: Likewise.
2633 * gdb.reverse/until-reverse.c: Likewise.
2634 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
2635
666d413c
YQ
26362014-09-16 Yao Qi <yao@codesourcery.com>
2637
2638 * boards/local-remote-host-native.exp: New file.
2639
57cbd724
DE
26402014-09-14 Doug Evans <xdje42@gmail.com>
2641
2642 * gdb.threads/queue-signal.c (thread_count): New variable.
2643 (thread_count_mutex, thread_count_condvar): New variables.
2644 (incr_thread_count, wait_all_threads_running): New functions.
2645 (main): Wait for all threads to be in their thread functions.
2646
81219e53
DE
26472014-09-13 Doug Evans <xdje42@gmail.com>
2648
2649 * gdb.threads/queue-signal.c: New file.
2650 * gdb.threads/queue-signal.exp: New file.
2651
3714cea7
DE
26522014-09-13 Doug Evans <xdje42@gmail.com>
2653
2654 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
2655 be consistent with what default_gdb_init uses.
2656 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
2657 the plain text of the prompt. Add some logging printfs.
2658 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
2659
fa43b1d7
PA
26602014-09-12 Pedro Alves <palves@redhat.com>
2661
2662 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
2663 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
2664 * gdb.arch/i386-size-overlap.exp: Likewise.
2665 * gdb.arch/i386-size.exp: Likewise.
2666 * gdb.arch/i386-unwind.exp: Likewise.
2667 * gdb.base/a2-run.exp: Likewise.
2668 * gdb.base/break.exp: Likewise.
2669 * gdb.base/charset.exp: Likewise.
2670 * gdb.base/chng-syms.exp: Likewise.
2671 * gdb.base/commands.exp: Likewise.
2672 * gdb.base/dbx.exp: Likewise.
2673 * gdb.base/find.exp: Likewise.
2674 * gdb.base/funcargs.exp: Likewise.
2675 * gdb.base/jit-simple.exp: Likewise.
2676 * gdb.base/reread.exp: Likewise.
2677 * gdb.base/sepdebug.exp: Likewise.
2678 * gdb.base/step-bt.exp: Likewise.
2679 * gdb.cp/mb-inline.exp: Likewise.
2680 * gdb.cp/mb-templates.exp: Likewise.
2681 * gdb.objc/basicclass.exp: Likewise.
2682 * gdb.threads/killed.exp: Likewise.
2683
9d9bf2df
EBM
26842014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2685
2686 PR tdep/17379
2687 * gdb.arch/powerpc-stackless.S: New file.
2688 * gdb.arch/powerpc-stackless.exp: New file.
2689
1cf2f1b0
JK
26902014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2691
2692 * gdb.base/attach.c: Include unistd.h.
2693 (main): Call alarm. Add label postloop.
2694 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
2695 gdb_breakpoint, gdb_continue_to_breakpoint.
2696 (test_command_line_attach_run): Kill ${testpid} in one exit path.
2697
98880d46
PA
26982014-09-11 Pedro Alves <palves@redhat.com>
2699
2700 PR gdb/17347
2701 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
2702 * gdb.base/attach.exp (test_command_line_attach_run): New
2703 procedure.
2704 (top level): Call it.
2705
4c92ff2c
PA
27062014-09-11 Pedro Alves <palves@redhat.com>
2707
2708 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
2709 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
2710 (do_command_attach_tests): Use spawn_wait_for_attach.
2711 * gdb.base/solib-overlap.exp: Likewise.
2712 * gdb.multi/multi-attach.exp: Likewise.
2713 * gdb.python/py-prompt.exp: Likewise.
2714 * gdb.python/py-sync-interp.exp: Likewise.
2715 * gdb.server/ext-attach.exp: Likewise.
2716
3adc1a7d
GKB
27172014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
2718
2719 * gdb.fortran/array-element.exp: Remove unexpected "continue"
2720 command in testcase. Simplify testcase.
2721
96334934
JB
27222014-09-10 Joel Brobecker <brobecker@adacore.com>
2723
2724 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
2725
eb479039
JB
27262014-09-10 Joel Brobecker <brobecker@adacore.com>
2727
2728 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
2729
deede10c
JB
27302014-09-10 Joel Brobecker <brobecker@adacore.com>
2731
2732 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
2733
7828a5f5
JB
27342014-09-10 Joel Brobecker <brobecker@adacore.com>
2735
2736 * gdb.dwarf2/dynarr-ptr.c: New file.
2737 * gdb.dwarf2/dynarr-ptr.exp: New file.
2738
33aeebcf
MR
27392014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2740
2741 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
2742 of 30 rather than hardcoding 120 for a slow test case. Take the
2743 `gdb,timeout' target setting into account for this calculation.
2744 Don't extend the timeout for the test cases that don't need it.
2745
7b415901
MR
27462014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2747
2748 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
2749 a factor of 2 for a slow test case. Take the `gdb,timeout'
2750 target setting into account for this calculation.
2751 * gdb.reverse/until-precsave.exp: Increase the timeout by
2752 a factor of 15 and 3 respectively rather than adding 120
2753 for a pair of slow test cases. Take the `gdb,timeout'
2754 target setting into account for this calculation.
2755
4a40f85a
MR
27562014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2757
2758 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
2759 timeout, don't pass one down to gdb_expect.
2760 (gdb_expect): Rework timeout selection.
2761
09635af7
MR
27622014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2763
2764 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
2765 exception on timeout.
2766 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
2767 (gdbserver_start_extended): Catch any `gdbserver_start' error
2768 exceptions.
2769 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
2770 * lib/mi-support.exp (mi_gdb_target_load): Catch any
2771 `gdbserver_gdb_load' error exceptions.
2772
2bdd10b7
MR
27732014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2774
2775 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
2776 120 on waiting for the TCP socket to open.
2777
316935f0
DE
27782014-09-09 Doug Evans <xdje42@gmail.com>
2779
2780 * gdb.base/default.exp (show_conv_list): Add _caller_is,
2781 _caller_matches, _any_caller_is, _any_caller_matches.
2782
83740597
DE
27832014-09-09 Doug Evans <xdje42@gmail.com>
2784
2785 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
2786
4c122fc3
YQ
27872014-09-09 Yao Qi <yao@codesourcery.com>
2788
2789 * gdb.mi/mi-var-display.exp: Set print symbol off.
2790
a9f116cb
GKB
27912014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
2792
2793 PR gdb/17035
2794 * gdb.base/commands.exp: Add tests to verify user-defined
2795 commands with empty bodies.
2796 * gdb.python/py-cmd.exp: Test that we don't show user-defined
2797 python commands in `show user command`.
2798 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
2799 scheme commands in `show user command`.
2800
c75bd3a2
JK
28012014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2802
2803 PR python/17355
2804 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
2805 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
2806 * gdb.python/py-framefilter-invalidarg.exp: New file.
2807 * gdb.python/py-framefilter-invalidarg.py: New file.
2808
faa42425
DE
28092014-09-06 Doug Evans <xdje42@gmail.com>
2810
2811 PR 15276
2812 * gdb.python/py-caller-is.c: New file.
2813 * gdb.python/py-caller-is.exp: New file.
2814
474ca4f6
SDJ
28152014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
2816
2817 PR gdb/17235
2818 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
2819 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
2820
eb0b0463
SDJ
28212014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
2822
2823 PR fortran/17237
2824 * gdb.fortran/print-formatted.exp: New file.
2825 * gdb.fortran/print-formatted.f90: Likewise.
2826
5f3b99cf
SS
28272014-09-03 Sasha Smundak <asmundak@google.com>
2828
2829 * gdb.python/py-frame.exp: Test Frame.read_register.
2830
7d793aa9
SDJ
28312014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
2832
2833 PR python/16699
2834 * gdb.python/py-completion.exp: New file.
2835 * gdb.python/py-completion.py: Likewise.
2836
fb0576e9
DE
28372014-08-28 Doug Evans <dje@google.com>
2838
2839 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
2840 eax,etc. are live with values set by gdb and thus the compiler can't
2841 use them.
2842 * gdb.arch/i386-pseudo.c (main): Ditto.
2843
ee92b0dd
DE
28442014-08-27 Doug Evans <dje@google.com>
2845
2846 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
2847
6649db35
DE
28482014-08-25 Doug Evans <dje@google.com>
2849
2850 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
2851 (main): Ditto.
2852
564b7600
DE
28532014-08-25 Doug Evans <dje@google.com>
2854
2855 * gdb.threads/thread-execl.exp: #include <stdio.h>.
2856
3881fb67
YQ
28572014-08-24 Yao Qi <yao@codesourcery.com>
2858
2859 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
2860 symbol off.
2861 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
2862
a05a36a5
DE
28632014-08-22 Doug Evans <dje@google.com>
2864
2865 PR 17276
2866 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
2867 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
2868 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
2869
7c343b48
YQ
28702014-08-22 Yao Qi <yao@codesourcery.com>
2871
2872 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
2873 * gdb.python/py-finish-breakpoint2.exp: Likewise.
2874 * gdb.python/python.exp: Likewise. Use .py file on the host
2875 instead of the build.
2876
22fd09ae
JK
28772014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2878
2879 * gdb.threads/gcore-stale-thread.c: New file.
2880 * gdb.threads/gcore-stale-thread.exp: New file.
2881
a8454a7c
PA
28822014-08-21 Pedro Alves <palves@redhat.com>
2883
2884 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
2885 * gdb.base/gcore-relro-pie.exp: Likewise.
2886 * gdb.base/gcore-relro.exp: Likewise.
2887 * gdb.base/gcore.exp: Likewise.
2888 * gdb.base/print-symbol-loading.exp: Likewise.
2889 * gdb.threads/gcore-thread.exp: Likewise.
2890 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
2891
2a31c623
PA
28922014-08-20 Pedro Alves <palves@redhat.com>
2893 Jan Kratochvil <jan.kratochvil@redhat.com>
2894
2895 * Makefile.in (EXTRA_RULES, CC): New variables, get from
2896 configure.
2897 (EXPECT): Handle READ1 being set.
2898 (all): Depend on EXTRA_RULES.
2899 (check-read1, expect-read1, read1.so, read1): New rules.
2900 * README (Testsuite Parameters): Document the READ1 make variable.
2901 (Race detection): New section.
2902 * configure: Regenerate.
2903 * configure.ac: If build==host==target, and running under a
2904 GNU/glibc system, add read1 to the extra Makefile rules.
2905 (EXTRA_RULES): AC_SUBST it.
2906 * lib/read1.c: New file.
2907
d36430db
JB
29082014-08-20 Joel Brobecker <brobecker@adacore.com>
2909
2910 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
2911 the handling of variables declared as a typedef to an array
2912 which a DW_AT_data_location attribute.
2913
9a0dc9e3
PA
29142014-08-19 Andrew Burgess <aburgess@broadcom.com>
2915 Pedro Alves <palves@redhat.com>
2916
2917 PR symtab/14604
2918 PR symtab/14605
2919 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
2920 gdb_test.
2921
0718a8da
PA
29222014-08-19 Pedro Alves <palves@redhat.com>
2923
2924 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
2925
13b448cd
YQ
29262014-08-19 Yao Qi <yao@codesourcery.com>
2927
2928 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
2929 right line.
2930
1cbf5077
DB
29312014-08-18 David Blaikie <dblaikie@gmail.com>
2932
2933 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
2934
bf0fae19
JB
29352014-08-18 Joel Brobecker <brobecker@adacore.com>
2936
2937 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
2938 attribute in array range.
2939
3c8c5dcc
JB
29402014-08-18 Joel Brobecker <brobecker@adacore.com>
2941
2942 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
2943
e66d4446
SC
29442014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2945
2946 PR c++/17132
2947 * gdb.cp/pr17132.cc: New file.
2948 * gdb.cp/pr17132.exp: New file.
2949
940df408
SC
29502014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2951
2952 * gdb.python/py-xmethods.py (A_getarrayind)
2953 (E_method_char_worker.__call__, E_method_int_worker.__call__):
2954 Use 'print' with function call syntax.
2955 (E_method_matcher.match): Fix tab vs space indentation mixup.
2956
ebcc6c3a
YQ
29572014-08-15 Yao Qi <yao@codesourcery.com>
2958
2959 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
2960 false.
2961
775e0f04
YQ
29622014-08-15 Yao Qi <yao@codesourcery.com>
2963
2964 * gdb.cp/casts.exp: Set print symbol off.
2965 * gdb.cp/class2.exp: Likewise.
2966 * gdb.cp/overload.exp: Likewise.
2967 * gdb.cp/templates.exp: Likewise.
2968
d769e349
DE
29692014-08-11 Doug Evans <dje@google.com>
2970
2971 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
2972 (test_load_shlib): Update.
2973
20c6f1e1
YQ
29742014-08-09 Yao Qi <yao@codesourcery.com>
2975
2976 * gdb.base/display.exp: Invoke is_address_zero_readable.
2977 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
2978 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2979 * gdb.base/hbreak-unmapped.exp: Return if
2980 is_address_zero_readable returns true.
2981 * gdb.base/signest.exp: Likewise.
2982 * gdb.base/signull.exp: Likewise.
2983 * gdb.base/sigbpt.exp: Likewise.
2984 * gdb.guile/scm-disasm.exp: Do the test if
2985 is_address_zero_readable returns false.
2986 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
2987 * gdb.python/py-arch.exp: Likewise.
2988 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
2989 * lib/gdb.exp (is_address_zero_readable): New proc.
2990
5792e8e3
YQ
29912014-08-09 Yao Qi <yao@codesourcery.com>
2992
2993 PR testsuite/13443
2994 * gdb.mi/mi-var-display.exp: Make test messages unique.
2995
3cecbbbe
TT
29962014-08-04 Tom Tromey <tromey@redhat.com>
2997
2998 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
2999 target 0".
3000
00b51ff5
TT
30012014-08-04 Tom Tromey <tromey@redhat.com>
3002
3003 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
3004 "target_resume".
3005
6908c509
JB
30062014-08-01 Joel Brobecker <brobecker@adacore.com>
3007
3008 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
3009 inner_vla_struct_object_size.
3010 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
3011 as xfail.
3012
cc6563d2
PA
30132014-07-30 Pedro Alves <palves@redhat.com>
3014
3015 * gdb.threads/signal-command-handle-nopass.exp (test): Add
3016 comment.
3017
7e09a223
YQ
30182014-07-29 Yao Qi <yao@codesourcery.com>
3019
3020 PR gdb/17206
3021 * gdb.base/until-nodebug.exp: New.
3022
7ebdbe92
DE
30232014-07-28 Doug Evans <xdje42@gmail.com>
3024
3025 PR guile/17203
3026 * gdb.guile/scm-parameter.exp: Add tests for trying to create
3027 previously existing parameter, and previously ambiguously spelled
3028 parameter.
3029
fdb1adc6
WN
30302014-07-28 Will Newton <will.newton@linaro.org>
3031
3032 * gdb.base/varargs.exp: Remove KFAILs for ARM.
3033
186fcde0
DE
30342014-07-26 Ludovic Courtès <ludo@gnu.org>
3035 Doug Evans <xdje42@gmail.com>
3036
3037 PR guile/17146
3038 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
3039
70509625
PA
30402014-07-25 Pedro Alves <palves@redhat.com>
3041
3042 * gdb.threads/signal-command-handle-nopass.c: New file.
3043 * gdb.threads/signal-command-handle-nopass.exp: New file.
3044 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
3045 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
3046 * gdb.threads/signal-delivered-right-thread.c: New file.
3047 * gdb.threads/signal-delivered-right-thread.exp: New file.
3048
c3f814a1
PA
30492014-07-25 Pedro Alves <palves@redhat.com>
3050
3051 * gdb.base/double-prompt-target-event-error.exp
3052 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
3053 match.
3054 (cancel_pagination_in_target_event): Rework double prompt
3055 detection.
3056 * gdb.base/paginate-after-ctrl-c-running.exp
3057 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
3058 <return>' match.
3059 * gdb.base/paginate-bg-execution.exp
3060 (test_bg_execution_pagination_return)
3061 (test_bg_execution_pagination_cancel): Remove '-notransfer
3062 <return>' matches.
3063 * gdb.base/paginate-execution-startup.exp
3064 (test_fg_execution_pagination_return)
3065 (test_fg_execution_pagination_cancel): Remove '-notransfer
3066 <return>' matches.
3067 * gdb.base/paginate-inferior-exit.exp
3068 (test_paginate_inferior_exited): Remove '-notransfer <return>'
3069 match.
3070 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
3071 * lib/gdb.exp (pagination_prompt): Run text through
3072 string_to_regexp.
3073 (gdb_test_multiple): Match $pagination_prompt instead of
3074 "<return>".
3075 (string_to_regexp): Move to lib/gdb-utils.exp.
3076
e214cf6c
JK
30772014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3078
3079 * gdb.arch/amd64-entry-value-paramref.S: New file.
3080 * gdb.arch/amd64-entry-value-paramref.cc: New file.
3081 * gdb.arch/amd64-entry-value-paramref.exp: New file.
3082 * gdb.arch/amd64-optimout-repeat.S: New file.
3083 * gdb.arch/amd64-optimout-repeat.c: New file.
3084 * gdb.arch/amd64-optimout-repeat.exp: New file.
3085
17d0c5c8
JK
30862014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3087
3088 PR gdb/17170
3089 * gdb.base/statistics.exp: New file.
3090
b8b8facf
DE
30912014-07-17 Doug Evans <dje@google.com>
3092
74b49205 3093 PR gdb/17170
b8b8facf
DE
3094 * gdb.base/maint.exp: Update testing of per-command stats.
3095
1b5d0ab3
PA
30962014-07-16 Pedro Alves <palves@redhat.com>
3097
3098 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
3099 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
3100 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
3101 (tfile_write_buf): New functions.
3102 (add_memory_block): Rewrite using the above.
3103 (adjust_function_address): New function.
3104 (FUNCTION_ADDRESS): New macro.
3105 (write_basic_trace_file): Remove short_x local, and use
3106 tfile_write_16. Change type of func_addr local to unsigned long
3107 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
3108 here. Cast argument of add_memory_block to char pointer.
3109 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
3110 (main): Remove parameters.
3111 * gdb.trace/tfile.exp: Remove nowarnings.
3112
4d974e88
SM
31132014-07-15 Simon Marchi <simon.marchi@ericsson.com>
3114
3115 * gdb.base/debug-expr.exp: Test string evaluation with
3116 "debug expression" on.
3117
41e99568
PA
31182014-07-15 Pedro Alves <palves@redhat.com>
3119
3120 * gdb.base/reread.exp: Use clean_restart.
3121
487d9753
PL
31222014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
3123
3124 * gdb.arch/avr-flash-qualifer.c: New.
3125 * gdb.arch/avr-flash-qualifer.exp: New.
3126
cc1c52ad
PA
31272014-07-14 Pedro Alves <palves@redhat.com>
3128
3129 * gdb.base/paginate-after-ctrl-c-running.c: New file.
3130 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
3131
1e973570
PA
31322014-07-14 Pedro Alves <palves@redhat.com>
3133
3134 * gdb.base/double-prompt-target-event-error.c: New file.
3135 * gdb.base/double-prompt-target-event-error.exp: New file.
3136
93d6eb10
PA
31372014-07-14 Pedro Alves <palves@redhat.com>
3138
3139 PR gdb/17072
3140 * gdb.base/paginate-inferior-exit.c: New file.
3141 * gdb.base/paginate-inferior-exit.exp: New file.
3142
0017922d
PA
31432014-07-14 Pedro Alves <palves@redhat.com>
3144
3145 PR gdb/17072
3146 * gdb.base/paginate-bg-execution.c: New file.
3147 * gdb.base/paginate-bg-execution.exp: New file.
3148
94696ad3
PA
31492014-07-14 Pedro Alves <palves@redhat.com>
3150
3151 PR gdb/17072
3152 * gdb.base/paginate-execution-startup.c: New file.
3153 * gdb.base/paginate-execution-startup.exp: New file.
3154 * lib/gdb.exp (pagination_prompt): New global.
3155 (default_gdb_spawn): New procedure, factored out from
3156 default_gdb_spawn.
3157 (default_gdb_start): Adjust to call default_gdb_spawn.
3158 (gdb_spawn): New procedure.
3159
bd293940
PA
31602014-07-14 Pedro Alves <palves@redhat.com>
3161
3162 * lib/gdb.exp (gdb_assert): New procedure.
3163 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
3164
c933f875
PA
31652014-07-14 Pedro Alves <palves@redhat.com>
3166
3167 * gdb.base/execution-termios.c: New file.
3168 * gdb.base/execution-termios.exp: New file.
3169
d98b7a16
TT
31702014-07-14 Tom Tromey <tromey@redhat.com>
3171
3172 * gdb.cp/vla-cxx.cc: New file.
3173 * gdb.cp/vla-cxx.exp: New file.
3174
548740d6
TT
31752014-07-14 Tom Tromey <tromey@redhat.com>
3176
3177 * gdb.reverse/rerun-prec.c: New file.
3178 * gdb.reverse/rerun-prec.exp: New file.
3179
a25eb028
MR
31802014-07-12 Maciej W. Rozycki <macro@mips.com>
3181 Maciej W. Rozycki <macro@codesourcery.com>
3182
3183 * lib/gdb-utils.exp: New file.
3184 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
3185 inline `gdb_init_command' processing.
3186 (gdb_start_cmd): Likewise.
3187 * lib/mi-support.exp (mi_run_cmd): Likewise.
3188 * README: Document `gdb_init_command' and `gdb_init_commands'.
3189
218c2655
JK
31902014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3191
3192 Fix false FAIL running under a very long directory name.
3193 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
3194 and "set print elements 10000". Twice.
3195
5401fde3
YQ
31962014-07-11 Yao Qi <yao@codesourcery.com>
3197
3198 * gdb.base/exprs.exp: "set print symbol off".
3199
e76126e8
PA
32002014-07-11 Pedro Alves <palves@redhat.com>
3201
3202 * gdb.threads/kill.c: New file.
3203 * gdb.threads/kill.exp: New file.
3204
2d6f0de6
YQ
32052014-07-10 Yao Qi <yao@codesourcery.com>
3206
3207 * gdb.trace/tfile.c (write_basic_trace_file)
3208 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
3209 address written to trace file.
3210
7180e04a
PA
32112014-07-09 Pedro Alves <palves@redhat.com>
3212
3213 * gdb.base/attach-wait-input.exp: New file.
3214 * gdb.base/attach-wait-input.c: New file.
3215
9a9a7608
AB
32162014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3217
3218 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
3219 setting up test structures.
3220 (main): Call new test function.
3221 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
3222 test function, continue into test function and walk test
3223 structures.
3224
161ac41e
YQ
32252014-07-02 Yao Qi <yao@codesourcery.com>
3226
3227 * gdb.trace/entry-values.c: Define labels 'foo_start' and
3228 'bar_start' at the beginning of functions 'foo' and 'bar'
3229 respectively.
3230 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
3231 instead of 'foo' and 'bar'.
3232
1f267ae3
MM
32332014-07-08 Markus Metzger <markus.t.metzger@intel.com>
3234
3235 * gdb.btrace/segv.exp: New.
3236 * gdb.btrace/segv.c: New.
3237
2b239efb
LM
32382014-07-02 Luis Machado <lgustavo@codesourcery.com>
3239
3240 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
3241 instruction.
3242
cf363f18
MW
32432014-06-30 Mark Wielaard <mjw@redhat.com>
3244
3245 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
3246 vulture, vilify, villar): New volatile array constants.
3247 (vindictive, vegetation): New const volatile array constants.
3248 * gdb.base/volatile.exp: Test volatile and const volatile array
3249 types.
3250
aebf9d24
AA
32512014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
3252
3253 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
3254 target lacks support for awatch, rwatch, or hbreak.
3255
b67a2c6f
YQ
32562014-06-27 Yao Qi <yao@codesourcery.com>
3257
3258 * gdb.multi/dummy-frame-restore.exp: New.
3259 * gdb.multi/dummy-frame-restore.c: New.
3260
aef92902
MM
32612014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3262
3263 * gdb.btrace/gcore.exp: New.
3264
8e9db26e
PA
32652014-06-23 Pedro Alves <palves@redhat.com>
3266
3267 * gdb.base/watchpoint-reuse-slot.c: New file.
3268 * gdb.base/watchpoint-reuse-slot.exp: New file.
3269
70afc5b7
SC
32702014-06-23 Siva Chandra Reddy <sivachandra@google.com>
3271
3272 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
3273 progspace's filename in 'info', 'enable' and 'disable' command
3274 tests.
3275
b972bd9c
JK
32762014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3277
3278 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
3279 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3280 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
3281
125f8a3d
GB
32822014-06-20 Gary Benson <gbenson@redhat.com>
3283
3284 * gdb.arch/i386-avx.exp: Fix include file location.
3285 * gdb.arch/i386-sse.exp: Likewise.
3286
3ed9baed
IB
32872014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
3288
3289 * gdb.dlang/expression.exp: New file.
3290
034f788c
PA
32912014-06-19 Pedro Alves <palves@redhat.com>
3292
3293 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
3294 out from ...
3295 (top level): ... here. Iterate running tests under different
3296 scheduler-locking settings.
3297
45371d0c
LM
32982014-06-18 Luis Machado <lgustavo@codesourcery.com>
3299
3300 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
3301 to DW_FORM_addr and use non-zero addresses.
3302
5d376983
SC
33032014-06-18 Siva Chandra Reddy <sivachandra@google.com>
3304
3305 PR gdb/17017
3306 * gdb.python/py-xmethods.cc: Add global function call counters and
3307 increment them in their respective functions. Remove "cout"
3308 statements.
3309 * gdb.python/py-xmethods.exp: Make tests check the global function
3310 call counters instead of depending on inferior IO.
3311
a1aa2221
LM
33122014-06-18 Don Breazeal <donb@codesourcery.com>
3313
3314 * gdb.base/foll-fork.exp (default_fork_parent_follow):
3315 Deleted procedure.
3316 (explicit_fork_parent_follow): Deleted procedure.
3317 (explicit_fork_child_follow): Deleted procedure.
3318 (test_follow_fork): New procedure.
3319 (do_fork_tests): Replace calls to deleted procedures with
3320 calls to test_follow_fork and reset GDB for subsequent
3321 procedure calls.
3322
0fc05997
YQ
33232014-06-17 Yao Qi <yao@codesourcery.com>
3324
3325 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
3326 CP1252.
3327
70795c52
LM
33282014-06-17 Luis Machado <lgustavo@codesourcery.com>
3329
3330 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
3331 Initialize ptr and S explicitly.
3332 (skip_type_update_when_not_use_rtti_test): Likewise.
3333
6be47f0c
KS
33342014-06-16 Keith Seitz <keiths@redhat.com>
3335
3336 PR mi/15863
3337 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
3338 the inferior is started.
3339
d03de421
PA
33402014-06-16 Pedro Alves <palves@redhat.com>
3341
3342 * gdb.base/break-main-file-remove-fail.c: New file.
3343 * gdb.base/break-main-file-remove-fail.exp: New file.
3344 * gdb.base/break-unload-file.exp: Use build_executable instead of
3345 prepare_for_testing.
3346 (test_break): New parameter "initial_load". Handle it.
3347 (top level): Add initial_load cmdline/file axis.
3348
f9579b99
TT
33492014-06-12 Tom Tromey <tromey@redhat.com>
3350
3351 * gdb.base/completion.exp: Don't use directory name in test.
3352
3657956b
GB
33532014-06-09 Gary Benson <gbenson@redhat.com>
3354
3355 * gdb.base/sigall.c [Functions to send signals]: Reorder to
3356 separate the always-available ANSI-standard signals from the
3357 signals that require checking.
3358 (main): Likewise.
3359 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
3360 Likewise.
3361 (main): Likewise.
3362
4186eb54
KS
33632014-06-07 Keith Seitz <keiths@redhat.com>
3364
3365 Revert:
3366 PR c++/16253
3367 * gdb.cp/var-tag.cc: New file.
3368 * gdb.cp/var-tag.exp: New file.
3369 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3370 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3371 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3372 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3373
25326a28 33742014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
3375
3376 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
3377
829155c9
PA
33782014-06-06 Pedro Alves <palves@redhat.com>
3379
3380 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
3381 in target debug output instead of looking at RSP packets,
3382 disabling the test on any target that uses hardware stepping.
3383 Update comments.
3384
61c8d22e
PA
33852014-06-06 Pedro Alves <palves@redhat.com>
3386
3387 * gdb.base/break-unload-file.exp: Fix typo.
3388
d9a47287
YQ
33892014-06-06 Yao Qi <yao@codesourcery.com>
3390
3391 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
3392 from "jit_function" to "^jit_function".
3393
e5e01dbf
YQ
33942014-06-06 Yao Qi <yao@codesourcery.com>
3395
3396 * gdb.base/async.c (foo): Add one statement.
3397 * gdb.base/async.exp: Get the next instruction address and
3398 match the output of "nexti" by instruction address. Match
3399 the hex address in the output of "finish".
3400
73ba372c
GB
34012014-06-06 Gary Benson <gbenson@redhat.com>
3402
3403 * gdb.base/call-signals.c: Remove preprocessor conditionals
3404 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
3405 SIGSEGV and SIGTERM.
3406 * gdb.base/sigall.c: Likewise.
3407 * gdb.base/unwindonsignal.c: Likewise.
3408 * gdb.reverse/sigall-reverse.c: Likewise.
3409
831517df
YQ
34102014-06-06 Yao Qi <yao@codesourcery.com>
3411
3412 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
3413 readable, skip the test.
3414
b8b91e98
YQ
34152014-06-06 Yao Qi <yao@codesourcery.com>
3416
3417 * gdb.threads/staticthreads.c (thread_function): Move the line
3418 setting breakpoint on forward.
3419 * gdb.threads/staticthreads.exp: Update comments.
3420
fb934770
LC
34212014-06-05 Ludovic Courtès <ludo@gnu.org>
3422
3423 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
3424 "history-append! type error".
3425
6ef284bd
SM
34262014-06-05 Simon Marchi <simon.marchi@ericsson.com>
3427
3428 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
3429 erroneous dprintf expected input.
3430
a872e241
DE
34312014-06-04 Doug Evans <xdje42@gmail.com>
3432
3433 * gdb.guile/scm-generics.exp: Delete.
3434
16f691fb
DE
34352014-06-04 Doug Evans <xdje42@gmail.com>
3436
3437 * gdb.guile/scm-breakpoint.exp: Update.
3438 Add tests for breakpoint registration.
3439
012370f6
TT
34402014-06-04 Tom Tromey <tromey@redhat.com>
3441
3442 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
3443 VLA-in-union.
3444 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
3445 inner_vla_struct, vla_union types. Initialize objects of those
3446 types and compute their sizes.
3447
9f5a4cef
HZ
34482014-06-04 Nathan Sidwell <nathan@codesourcery.com>
3449 Hui Zhu <hui@codesourcery.com>
3450
3451 * gdb.base/fileio.exp: Add test for shell not available as well as
3452 available.
3453 * gdb.base/fileio.c (test_system): Check for shell twice.
3454
90a45c4d
YQ
34552014-06-04 Yao Qi <yao@codesourcery.com>
3456
3457 * gdb.base/auto-connect-native-target.exp: Remove redundant
3458 space from the regexp pattern.
3459
70017e41
YQ
34602014-06-04 Yao Qi <yao@codesourcery.com>
3461
3462 * gdb.base/default.exp: Replace "child" with "native" in
3463 regexp pattern.
3464
883964a7
SC
34652014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3466
3467 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
3468 * gdb.python/py-xmethods.exp: New tests to test xmethods.
3469 * gdb.python/py-xmethods.py: Python script supporting the
3470 new testcase and tests.
3471
ef370185
JB
34722014-06-03 Joel Brobecker <brobecker@adacore.com>
3473 Pedro Alves <palves@redhat.com>
3474
3475 PR breakpoints/17000
3476 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
3477 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
3478
1e2ccb61
BM
34792014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
3480
3481 * gdb.base/subst.exp: Add tests to verify partial path matching
3482 output.
3483
c6ec5ab2
PA
34842014-06-03 Pedro Alves <palves@redhat.com>
3485
3486 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
3487 target that doesn't use software single-stepping.
3488
835c559f
PA
34892014-06-03 Pedro Alves <palves@redhat.com>
3490
3491 PR breakpoints/17000
3492 * gdb.base/sss-bp-on-user-bp-2.c: New file.
3493 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
3494
06eb1586
DE
34952014-06-02 Doug Evans <xdje42@gmail.com>
3496
3497 * gdb.guile/scm-parameter.exp: New file.
3498
e698b8c4
DE
34992014-06-02 Doug Evans <xdje42@gmail.com>
3500
3501 * gdb.guile/scm-cmd.c: New file.
3502 * gdb.guile/scm-cmd.exp: New file.
3503
ded03782
DE
35042014-06-02 Doug Evans <xdje42@gmail.com>
3505
3506 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
3507 pretty-printer lookup.
3508 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
3509 (make-pp_s-printer): Call it.
3510 (make-pretty-printer-from-dict): New function.
3511 (lookup-pretty-printer-maker-from-dict): New function.
3512 (*pretty-printer*): Simplify.
3513 (make-objfile-pp_s-printer): New function.
3514 (install-objfile-pretty-printers!): New function.
3515 (make-progspace-pp_s-printer): New function.
3516 (install-progspace-pretty-printers!): New function.
3517 * gdb.guile/scm-progspace.c: New file.
3518 * gdb.guile/scm-progspace.exp: New file.
3519
41fac0cf
PA
35202014-06-02 Pedro Alves <palves@redhat.com>
3521
3522 * gdb.base/dprintf-bp-same-addr.c: New file.
3523 * gdb.base/dprintf-bp-same-addr.exp: New file.
3524
96ae5695
EBM
35252014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3526
3527 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
3528 * gdb.arch/powerpc-power.s: Likewise.
3529
da02b3a8
JB
35302014-06-02 Joel Brobecker <brobecker@adacore.com>
3531
3532 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
3533
c72b2e7b
YQ
35342014-06-01 Yao Qi <yao@codesourcery.com>
3535
3536 * gdb.base/watchpoint.exp (test_watch_location): Check null
3537 pointer can be dereferenced. If not, do the test, otherwise
3538 skip it.
3539
53e8a631
AB
35402014-05-30 Andrew Burgess <aburgess@broadcom.com>
3541
3542 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
3543 results.
3544 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
3545
938f0e2f
AB
35462014-05-30 Andrew Burgess <aburgess@broadcom.com>
3547
3548 * gdb.arch/amd64-invalid-stack-middle.S: New file.
3549 * gdb.arch/amd64-invalid-stack-middle.c: New file.
3550 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
3551 * gdb.arch/amd64-invalid-stack-top.c: New file.
3552 * gdb.arch/amd64-invalid-stack-top.exp: New file.
3553
9ba6657a
PA
35542014-05-30 Pedro Alves <palves@redhat.com>
3555
3556 PR breakpoints/17000
3557 * gdb.base/sss-bp-on-user-bp.c: New file.
3558 * gdb.base/sss-bp-on-user-bp.exp: New file.
3559
522c09bf
DB
35602014-05-30 David Blaikie <dblaikie@gmail.com>
3561
3562 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
3563 gnu_inline semantics via attribute.
3564 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
3565 source explicitly specifies the required semantics.
3566
bf4ef81e
MR
35672014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
3568
3569 * gdb.reverse/sigall-reverse.exp: Fix a typo.
3570
329ea579
PA
35712014-05-29 Pedro Alves <palves@redhat.com>
3572 Tom Tromey <tromey@redhat.com>
3573
3574 * gdb.base/async-shell.exp: Don't enable target-async.
3575 * gdb.base/async.exp
3576 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
3577 parameter. Adjust.
3578 (top level): Don't test with "target-async".
3579 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
3580 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
3581 * gdb.base/inferior-died.exp: Don't enable target-async.
3582 * gdb.base/interrupt-noterm.exp: Likewise.
3583 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
3584 * gdb.mi/mi-nonstop-exit.exp: Likewise.
3585 * gdb.mi/mi-nonstop.exp: Likewise.
3586 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
3587 * gdb.mi/mi-nsintrall.exp: Likewise.
3588 * gdb.mi/mi-nsmoribund.exp: Likewise.
3589 * gdb.mi/mi-nsthrexec.exp: Likewise.
3590 * gdb.mi/mi-watch-nonstop.exp: Likewise.
3591 * gdb.multi/watchpoint-multi.exp: Adjust comment.
3592 * gdb.python/py-evsignal.exp: Don't enable target-async.
3593 * gdb.python/py-evthreads.exp: Likewise.
3594 * gdb.python/py-prompt.exp: Likewise.
3595 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
3596 * gdb.server/solib-list.exp: Don't enable target-async.
3597 * gdb.threads/thread-specific-bp.exp: Likewise.
3598 * lib/mi-support.exp: Adjust to use mi-async.
3599
fd664c91
PA
36002014-05-29 Pedro Alves <palves@redhat.com>
3601
3602 PR gdb/13860
3603 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
3604 reason, even in sync mode.
3605
251bde03
PA
36062014-05-29 Pedro Alves <palves@redhat.com>
3607 Hui Zhu <hui@codesourcery.com>
3608
3609 PR PR15693
3610 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
3611 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
3612 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
3613 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
3614
7f3c0343
JB
36152014-05-28 Joel Brobecker <brobecker@adacore.com>
3616
3617 * config/monitor.exp (gdb_target_monitor): Replace use of
3618 "set remotebaud" by "set serial baud".
3619
b2715b27
AW
36202014-05-26 Andy Wingo <wingo@igalia.com>
3621
3622 * gdb.guile/scm-breakpoint.exp:
3623 * gdb.guile/scm-gsmob.exp: Update to use plain old object
3624 properties instead of gdb-object-properties.
3625
498a4489
YQ
36262014-05-26 Yao Qi <yao@codesourcery.com>
3627
3628 * gdb.server/no-thread-db.exp: Specify source file name
3629 explicitly when setting a breakpoint.
3630
589fdceb
MM
36312014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3632
3633 * gdb.btrace/vdso.c: New.
3634 * gdb.btrace/vdso.exp: New.
3635
e9089e05
MM
36362014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3637
3638 * gdb.base/gcore.exp (capture_command_output): Move ...
3639 * lib/gdb.exp (capture_command_output): ... here.
3640
67b5c0c1
MM
36412014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3642
3643 * gdb.btrace/data.exp: Test memory access during btrace replay.
3644
a2199296
SM
36452014-05-22 Simon Marchi <simon.marchi@ericsson.com>
3646
3647 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
3648
17b2616c
PA
36492014-05-21 Pedro Alves <palves@redhat.com>
3650
3651 PR gdb/13860
3652 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
3653 (top level): Test that output related to execution commands is
3654 sent to the console with CLI commands, but not with MI commands.
3655 Test that breakpoint events are always mirrored to the console.
3656 Also expect the new source line to be output after a "next" in
3657 async mode too. Make it a pass/fail test.
3658 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
3659 output.
3660 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
3661
5166082f
PA
36622014-05-21 Pedro Alves <palves@redhat.com>
3663
3664 * gdb.base/list.exp (build_pattern, test_list): New procedures.
3665 Use them to test variations of "list" after reaching a breakpoint.
3666 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
3667 Test "list" with listsize 10 after reaching a breakpoint.
3668 * gdb.python/python.exp (decode_line current location line
3669 number): Adjust expected line number.
3670
2f25d70f
SM
36712014-05-21 Simon Marchi <simon.marchi@ericsson.com>
3672
3673 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
3674 behavior for $args, pass it directly to "run".
3675
ff604a67
MR
36762014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3677
3678 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
3679 30000 to 65536.
3680
6a3cb8e8
PA
36812014-05-21 Pedro Alves <palves@redhat.com>
3682
3683 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
3684 auto-connect-native-target off".
3685 * gdb.base/auto-connect-native-target.c: New file.
3686 * gdb.base/auto-connect-native-target.exp: New file.
3687
4ebfc96e
PA
36882014-05-21 Pedro Alves <palves@redhat.com>
3689
3690 * gdb.base/default.exp: Test "target native" instead of "target
3691 child".
3692
36d46afb
MW
36932014-05-21 Mark Wielaard <mjw@redhat.com>
3694
3695 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3696
5876f503
JK
36972014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3698
3699 Fix TLS access for -static -pthread.
3700 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
3701 <HAVE_TLS> (thread_function, main): Initialize it.
3702 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
3703 Add clean_restart.
3704 <$have_tls != "">: Check TLSVAR.
3705
0256a6ac
PA
37062014-05-21 Pedro Alves <palves@redhat.com>
3707
3708 * gdb.base/dcache-line-read-error.c: New.
3709 * gdb.base/dcache-line-read-error.exp: New.
3710
936d2992
PA
37112014-05-20 Pedro Alves <palves@redhat.com>
3712
3713 * gdb.base/compare-sections.c: New file.
3714 * gdb.base/compare-sections.exp: New file.
3715
802e8e6d
PA
37162014-05-20 Pedro Alves <palves@redhat.com>
3717
3718 * gdb.base/break-idempotent.c: New file.
3719 * gdb.base/break-idempotent.exp: New file.
3720
e59fa00f
MM
37212014-05-20 Markus Metzger <markus.t.metzger@intel.com>
3722
3723 * gdb.btrace/nohist.exp: New.
3724
8b696e31
YQ
37252014-05-20 Yao Qi <yao@codesourcery.com>
3726
3727 * lib/gdb.exp (gdb_init): Set timeout if test file is under
3728 gdb.reverse directory and gdb_reverse_timeout exists in board
3729 setting.
3730 * README: Document gdb_reverse_timeout.
3731
73c9764f
YQ
37322014-05-20 Yao Qi <yao@codesourcery.com>
3733
3734 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
3735 'test_file_name'. Treat args as a string instead of a list.
3736 (gdb_init): Rename argument 'args' by 'test_file_name'.
3737
f1f4348a
JK
37382014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3739
3740 * gdb.arch/powerpc-power.exp: New file.
3741 * gdb.arch/powerpc-power.s: New file.
3742
0dbe70ce
DE
37432014-05-16 Doug Evans <dje@google.com>
3744
3745 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
3746 * gdb.base/completion.exp: Check that all expected files exist
3747 before doing file completion.
0dbe70ce 3748
8d551b02
DE
37492014-05-16 Doug Evans <dje@google.com>
3750
3751 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
3752 Update.
3753 (do_syscall_tests_without_xml): Update.
3754
73eb7709
PA
37552014-05-16 Pedro Alves <palves@redhat.com>
3756
3757 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
3758 instead of "unknown output after running".
3759
3fae92fc
YQ
37602014-05-16 Yao Qi <yao@codesourcery.com>
3761
3762 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
3763 file1.txt from host at the end.
3764 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3765
c2b2ccc5
DE
37662014-05-15 Doug Evans <dje@google.com>
3767
3768 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
3769 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
3770 loading file. Add test for TU lookup.
3771
8c217a4b
SM
37722014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3773
3774 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
3775 calling "-exec-arguments" or "set args" before running the
3776 inferior.
3777
3deb39c6
SM
37782014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3779
3780 * lib/mi-support.exp (mi_expect_stop): Expect message for
3781 inferiors that exit with non-zero exit code.
3782
71a79f8c
YQ
37832014-05-14 Yao Qi <yao@codesourcery.com>
3784
3785 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
3786 match absolute path on remote host.
3787 (test_file_list_exec_source_files): Remove "/" from the
3788 pattern.
3789
f23fcd46
YQ
37902014-05-14 Yao Qi <yao@codesourcery.com>
3791
3792 * boards/local-remote-host-notty.exp (${board}_file): New
3793 proc.
3794
9404b58f
KM
37952014-05-07 Kyle McMartin <kyle@redhat.com>
3796
3797 Pushed by Joel Brobecker <brobecker@adacore.com>.
3798 * gdb.arch/aarch64-atomic-inst.c: New file.
3799 * gdb.arch/aarch64-atomic-inst.exp: New file.
3800
5e45f04c
YQ
38012014-05-07 Yao Qi <yao@codesourcery.com>
3802
3803 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
3804 in current context" too.
3805
c888a17d
KS
38062014-05-05 Keith Seitz <keiths@redhat.com>
3807
3808 * gdb.linespec/ls-dollar.exp: Add test for linespec
3809 file:convenience_variable.
3810
290a839c
YQ
38112014-05-05 Yao Qi <yao@codesourcery.com>
3812
3813 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
3814 traceframes into tfile and ctf trace files. Read data from
3815 trace file and test collected data.
3816 (gdb_collect_locals_test): Likewise.
3817 (gdb_unavailable_registers_test): Likewise.
3818 (gdb_unavailable_floats): Likewise.
3819 (gdb_collect_globals_test): Likewise.
3820 (top-level): Append "ctf" to trace_file_targets if GDB
3821 supports.
3822
b5262cd0
YQ
38232014-05-05 Yao Qi <yao@codesourcery.com>
3824
3825 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
3826 code to ...
3827 (gdb_collect_args_test_1): ... it. New proc.
3828 (gdb_collect_locals_test): Move some code to ...
3829 (gdb_collect_locals_test_1): ... it. New proc.
3830 (gdb_unavailable_registers_test): Move some code to ...
3831 (gdb_unavailable_registers_test_1): ... it. New proc.
3832 (gdb_unavailable_floats): Move some code to ...
3833 (gdb_unavailable_floats_1): ... it. New proc.
3834
30a1e6cc
SDJ
38352014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3836
3837 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
3838 probes to test for bitness recognition.
3839 * gdb.arch/amd64-stap-optional-prefix.exp
3840 (test_probe_value_without_reg): New procedure.
3841 Add code to test for different kinds of bitness.
3842
f33da99a
SDJ
38432014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3844
3845 PR breakpoints/16889
3846 * gdb.arch/amd64-stap-optional-prefix.S: New file.
3847 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3848
5b80f00d
PA
38492014-05-01 Pedro Alves <palves@redhat.com>
3850
3851 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
3852 gdb_file_cmd if no file is specified.
3853 * boards/native-extended-gdbserver.exp (gdb_load): Use the
3854 last_loaded_file to set the remote exec-file.
3855
f8c2a73c
PA
38562014-05-01 Pedro Alves <palves@redhat.com>
3857
3858 * boards/local-remote-host.exp: New file.
3859
be6e8ac7
PA
38602014-05-01 Pedro Alves <palves@redhat.com>
3861
3862 * boards/local-remote-host.exp: Rename to ...
3863 * boards/local-remote-host-notty.exp: ... this.
3864
cac0dc8f
JB
38652014-04-28 Joel Brobecker <brobecker@adacore.com>
3866
3867 * gdb.ada/dyn_arrayidx: New testcase.
3868
9730e6cc
YQ
38692014-04-26 Yao Qi <yao@codesourcery.com>
3870
3871 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
3872 and compute the length of function main. Save it in
3873 $main_length.
3874 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
3875 (top-level): Use gdb_compile to compile objects into
3876 executable and restart GDB. Remove invocation to
3877 prepare_for_testing.
3878
7ae1a6a6
PA
38792014-04-25 Simon Marchi <simon.marchi@ericsson.com>
3880 Pedro Alves <palves@redhat.com>
3881
3882 PR server/16255
3883 * gdb.multi/multi-attach.c: New file.
3884 * gdb.multi/multi-attach.exp: New file.
3885
4082afcc
PA
38862014-04-25 Pedro Alves <palves@redhat.com>
3887
3888 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
3889 user.
3890 (top level): Test that "set remote conditional-breakpoints-packet
3891 off" works as intended.
3892 * gdb.base/dprintf.exp: Test that "set remote
3893 breakpoint-commands-packet off" works as intended.
3894 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
3895 New function.
3896 (top level): Call it.
3897 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
3898 remote fast-tracepoints-packet off" works as intended.
3899 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
3900 * lib/gdb.exp (gdb_is_target_remote): ... here.
3901
2abc3f8d
DB
39022014-04-24 David Blaikie <dblaikie@gmail.com>
3903
3904 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
3905 ensure clang would not discard them.
3906 * gdb.base/gdbvars.c: Ditto.
3907 * gdb.base/memattr.c: Ditto.
3908 * gdb.base/whatis.c: Ditto.
3909 * gdb.python/py-prettyprint.c: Ditto.
3910 * gdb.trace/actions.c: Ditto.
3911 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
3912 ensure clang would not discard it.
3913
bfd39632
DB
39142014-04-24 David Blaikie <dblaikie@gmail.com>
3915
3916 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
3917 clang to emit the full definition of type required by the test
3918 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
3919
22842ff6
DB
39202014-04-24 David Blaikie <dblaikie@gmail.com>
3921
3922 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
3923 coax Clang into emitting the definition of the type.
3924 * gdb.cp/pr10728-x.h (y): Ditto.
3925 * gdb.cp/pr10728-y.cc (y): Ditto.
3926
c2e827ad
DB
39272014-04-24 David Blaikie <dblaikie@gmail.com>
3928
3929 * gdb.base/label.exp: XFAIL label related tests under Clang.
3930 * gdb.cp/cplabel.exp: Ditto.
3931 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
3932 under Clang those using labels.
3933
4c2d33e7
YQ
39342014-04-25 Yao Qi <yao@codesourcery.com>
3935
3936 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
3937 double_label.
3938 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
3939 partial_label and double_label.
3940
56083b99
DB
39412014-04-24 David Blaikie <dblaikie@gmail.com>
3942
3943 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
3944
25d4e99d
DB
39452014-04-24 David Blaikie <dblaikie@gmail.com>
3946
3947 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
3948 of the function to work across GCC and Clang.
3949 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
3950 pointer types (const void ** const V void **).
3951
01f9f808
MS
39522014-04-24 Michael Sturm <michael.sturm@mintel.com>
3953 Walfred Tedeschi <walfred.tedeschi@intel.com>
3954
3955 * Makefile.in (EXECUTABLES): Added i386-avx512.
3956 * gdb.arch/i386-avx512.c: New file.
3957 * gdb.arch/i386-avx512.exp: Likewise.
3958
4b48d439
KS
39592014-04-23 Keith Seitz <keiths@redhat.com>
3960
3961 * lib/mi-support.exp (mi_list_breakpoints): Delete.
3962 (mi_make_breakpoint_table): New procedure.
3963 (mi_create_breakpoint): Use mi_make_breakpoint
3964 and return the result.
3965 (mi_make_breakpoint): New procedure.
3966 (mi_build_kv_pairs): New procedure.
3967
3968 * gdb.mi/mi-break.exp: Remove unused globals,
3969 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
3970 All callers updated.
3971 * gdb.mi/mi-dprintf.exp: Use variable to track command
3972 number.
3973 Update all callers of mi_create_breakpoint and use
3974 mi_make_breakpoint_table.
3975 Remove any unused global variables.
3976 * gdb.mi/mi-nonstop.exp: Likewise.
3977 * gdb.mi/mi-nsintrall.exp: Likewise.
3978 * gdb.mi/mi-nsmoribund.exp: Likewise.
3979 * gdb.mi/mi-nsthrexec.exp: Likewise.
3980 * gdb.mi/mi-reverse.exp: Likewise.
3981 * gdb.mi/mi-simplerun.exp: Likewise.
3982 * gdb.mi/mi-stepn.exp: Likewise.
3983 * gdb.mi/mi-syn-frame.exp: Likewise.
3984 * gdb.mi/mi-until.exp: Likewise.
3985 * gdb.mi/mi-var-cp.exp: Likewise.
3986 * gdb.mi/mi-var-display.exp: Likewise.
3987 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
3988 * gdb.mi/mi2-var-child.exp: Likewise.
3989 * gdb.mi/mi-vla-c99.exp: Likewise.
3990 * lib/mi-support.exp: Likewise.
3991
3992 From Ian Lance Taylor <iant@cygnus.com>:
3993 * lib/gdb.exp (parse_args): New procedure.
3994
08351840
PA
39952014-04-23 Pedro Alves <palves@redhat.com>
3996
3997 * gdb.base/break-unload-file.c: New file.
3998 * gdb.base/break-unload-file.exp: New file.
3999 * gdb.base/sym-file-lib.c (baz): New function.
4000 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
4001 field.
4002 (load): Store the segment's mapped size.
4003 (unload): New function.
4004 (unload_shlib): New function.
4005 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
4006 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
4007 set a breakpoint at baz, and call it.
4008 * gdb.base/sym-file.exp: New tests for stale breakpoint
4009 instructions.
4010
076855f9
PA
40112014-04-23 Pedro Alves <palves@redhat.com>
4012
4013 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
4014 * gdb.base/hbreak-in-shr-unsupported.c: New file.
4015 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
4016 * gdb.base/hbreak-unmapped.c: New file.
4017 * gdb.base/hbreak-unmapped.exp: New file.
4018 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
4019 * lib/gdb.exp (gdb_is_target_remote): ... here.
4020
483805cf
PA
40212014-04-22 Pedro Alves <palves@redhat.com>
4022
4023 * gdb.base/consecutive-step-over.c: New file.
4024 * gdb.base/consecutive-step-over.exp: New file.
4025
06d97543
PA
40262014-04-22 Pedro Alves <palves@redhat.com>
4027
4028 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
4029 instead of send_gdb/gdb_expect.
4030
b4429ea2
YQ
40312014-04-22 Yao Qi <yao@codesourcery.com>
4032
4033 * lib/trace-support.exp (generate_tracefile): New procedure.
4034 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
4035 return 0.
4036 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
4037 if generate_tracefile returns 1.
4038
51d48146
PA
40392014-04-18 Tom Tromey <palves@redhat.com>
4040 Pedro alves <tromey@redhat.com>
4041
4042 PR backtrace/15558
4043 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
4044 with a backtrace limit.
4045 * gdb.python/py-frame-inline.exp: Test running to an inline
4046 function with a backtrace limit, and printing the newest frame.
4047 * gdb.python/py-frame-inline.c (main): Call f.
4048
bd1dce5f
MS
40492014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
4050
4051 * gdb.java/jnpe.exp: Drop srcdir from untested path.
4052
40d1a503
MS
40532014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
4054
4055 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
4056 Drop prefix from unsupported source file path.
4057
389b98f7
YQ
40582014-04-17 Yao Qi <yao@codesourcery.com>
4059
4060 * lib/gdb.exp (with_target_charset): New proc.
4061 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
4062 with_target_charset.
4063 (test_print_strings): Likewise.
4064 (test_repeat_bytes): Likewise.
4065 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
4066 for some tests.
4067
22869d73
KS
40682014-04-16 Keith Seitz <keiths@redhat.com>
4069
4070 PR gdb/15827
4071 * gdb.dwarf2/corrupt.c: New file.
4072 * gdb.dwarf2/corrupt.exp: New file.
4073
c4f87ca6
KS
40742014-04-16 Keith Seitz <keiths@redhat.com>
4075
4076 PR c++/16597
4077 * gdb.cp/namelessclass.cc: New file.
4078 * gdb.cp/namelessclass.exp: New file.
4079 * gdb.cp/namelessclass.S: New file.
4080
ab19de87
DE
40812014-04-16 Doug Evans <dje@google.com>
4082
4083 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
4084 Add comment.
4085 (gdbserver_default_get_comm_port): New function.
4086 (gdbserver_start): Check if board file provided
4087 "gdbserver,get_comm_port" and use it if so.
4088 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
4089 (gdb,socketport): Set to "stdio".
4090 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
4091 (stdio_gdbserver_template): Delete.
4092 (${board}_get_remote_address): Update.
4093 (${board}_build_remote_cmd): Delete.
4094 (${board}_get_comm_port): New function.
4095 (${board}_spawn): Update.
4096 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
4097 Delete.
4098 (${board}_get_remote_address): Update.
4099 (${board}_get_comm_port): New function.
4100
fc98a809
AB
41012014-04-16 Andrew Burgess <aburgess@broadcom.com>
4102
4103 * gdb.base/memattr.exp: Improve regexps to handle memory regions
4104 appearing in any order.
4105
87fd9e6e
DE
41062014-04-15 Doug Evans <dje@google.com>
4107
4108 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
4109 uninitialized value of "description".
4110
099fc3ea
KS
41112014-04-15 Keith Seitz <keiths@redhat.com>
4112
4113 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
4114 Remove unused globals.
4115 (test_running_the_program): Likewise.
4116 (test_controlled_execution): Likewise.
4117 (test_controlling_breakpoints): Likewise.
4118 (test_program_termination): Likewise.
4119
5da151d4
KS
41202014-04-15 Keith Seitz <keiths@redhat.com>
4121
4122 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
4123 unused globals.
4124 (test_rbreak_creation_and_listing): Likewise.
4125 (test_ignore_count): Likewise.
4126 (test_error): Likewise.
4127
35e5d2f0
PA
41282014-04-15 Pedro Alves <palves@redhat.com>
4129
4130 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
4131 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
4132 sym-file-loader.c.
4133 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4134 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4135 to sym-file-loader.c.
4136 (struct library): Forward declare.
4137 (load_shlib, lookup_function): Change prototypes.
4138 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4139 (translate_offset): Remove declarations.
4140 (get_text_addr): New declaration.
4141 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
4142 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
4143 sym-file-loader.h.
4144 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4145 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4146 here from sym-file-loader.h.
4147 (struct library): New structure.
4148 (load_shlib, lookup_function): Change prototypes and adjust to
4149 work with a struct library.
4150 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4151 (translate_offset): Make static.
4152 (get_text_addr): New function.
4153 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
4154
eb4c1710
PA
41552014-04-15 Pedro Alves <palves@redhat.com>
4156
4157 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
4158
2d1baf52
PA
41592014-04-15 Pedro Alves <palves@redhat.com>
4160
4161 * gdb.base/sym-file-loader.c: Include <limits.h>.
4162 (SELF_LINK): New define.
4163 (get_origin): New function.
4164 (load_shlib): Use it.
4165 * gdb.base/sym-file.exp: Don't early return if the target is
4166 remote. Use runto_main, and issue fail is that fails. Use
4167 gdb_load_shlibs.
4168 (shlib_name): Delete.
4169 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
4170
7dd6df01
PA
41712014-04-15 Pedro Alves <palves@redhat.com>
4172
4173 * gdb.base/sym-file.exp: Remove regex characters from test
4174 message. Don't refer to breakpoint numbers in test messages.
4175
b50c8614
KS
41762014-04-14 Keith Seitz <keiths@redhat.com>
4177
4178 PR c++/16253
4179 * gdb.cp/var-tag.cc: New file.
4180 * gdb.cp/var-tag.exp: New file.
4181 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4182 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4183 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4184 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4185
3d567982
TT
41862014-04-14 Tom Tromey <tromey@redhat.com>
4187
4188 * gdb.cp/classes.exp (test_enums): Handle underlying type.
4189 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
4190 type.
4191 * gdb.cp/enum-class.exp: New file.
4192 * gdb.cp/enum-class.cc: New file.
4193
0626fc76
TT
41942014-04-14 Tom Tromey <tromey@redhat.com>
4195
4196 * gdb.dwarf2/enum-type.exp: New file.
4197
dca325b3
SA
41982014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4199
4200 * gdb.mi/mi-vla-c99.exp: New file.
4201 * gdb.mi/vla.c: New file.
4202
5854b38a
SA
42032014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4204
4205 * gdb.base/vla-datatypes.c: New file.
4206 * gdb.base/vla-datatypes.exp: New file.
4207
463bb957
SA
42082014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4209
4210 * gdb.base/vla-ptr.c: New file.
4211 * gdb.base/vla-ptr.exp: New file.
4212
3dd170be
SA
42132014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4214
4215 * gdb.dwarf2/count.exp: New file.
4216
5ecaaa66
SA
42172014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4218
4219 * gdb.base/vla-sideeffect.c: New file.
4220 * gdb.base/vla-sideeffect.exp: New file.
4221
41f1ada5
DB
42222014-04-14 David Blaikie <dblaikie@gmail.com>
4223
4224 * gdb.mi/non-stop.c: Add return value for non-void function return
4225 statement.
4226 * gdb.threads/staticthreads.c: Ditto.
4227
0be03e84
DE
42282014-04-12 Siva Chandra Reddy <sivachandra@google.com>
4229 Doug Evans <xdje42@gmail.com>
4230
4231 * gdb.guile/scm-value.c: Improve test case.
4232 * gdb.guile/scm-value.exp: Add new test.
4233
f180a1fb
DB
42342014-04-11 David Blaikie <dblaikie@gmail.com>
4235
4236 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
4237 override Clang's default.
4238
6b662e19
JB
42392014-04-11 Joel Brobecker <brobecker@adacore.com>
4240
4241 Revert the following changes (regressions):
4242
4243 * gdb.base/vla-sideeffect.c: New file.
4244 * gdb.base/vla-sideeffect.exp: New file.
4245
4246 * gdb.dwarf2/count.exp: New file.
4247
4248 * gdb.base/vla-multi.c: New file.
4249 * gdb.base/vla-multi.exp: New file.
4250
4251 * gdb.base/vla-ptr.c: New file.
4252 * gdb.base/vla-ptr.exp: New file.
4253
4254 * gdb.base/vla-datatypes.c: New file.
4255 * gdb.base/vla-datatypes.exp: New file.
4256
4257 * gdb.mi/mi-vla-c99.exp: New file.
4258 * gdb.mi/vla.c: New file.
4259
245a5f0b
KS
42602014-04-11 Keith Seitz <keiths@redhat.com>
4261
4262 PR c++/16675
4263 * gdb.cp/cpsizeof.exp: New file.
4264 * gdb.cp/cpsizeof.cc: New file.
4265
58a84dcf
SA
42662014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4267
191a8a90
JB
4268 * gdb.mi/mi-vla-c99.exp: New file.
4269 * gdb.mi/vla.c: New file.
58a84dcf 4270
c8655f75
SA
42712014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4272
4273 * gdb.base/vla-datatypes.c: New file.
4274 * gdb.base/vla-datatypes.exp: New file.
4275
024e13b4
SA
42762014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4277
4278 * gdb.base/vla-ptr.c: New file.
4279 * gdb.base/vla-ptr.exp: New file.
4280
1a237e0e
SA
42812014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4282
4283 * gdb.base/vla-multi.c: New file.
4284 * gdb.base/vla-multi.exp: New file.
4285
504f3432
SA
42862014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4287
4288 * gdb.dwarf2/count.exp: New file.
4289
3bce8237
SA
42902014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4291
191a8a90
JB
4292 * gdb.base/vla-sideeffect.c: New file.
4293 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 4294
322f9c21
YQ
42952014-04-11 Yao Qi <yao@codesourcery.com>
4296
4297 * gdb.base/completion.exp: Check file exists before running tests
4298 on file completion.
4299
d708bcd1
PA
43002014-04-10 Pedro Alves <palves@redhat.com>
4301
4302 * gdb.base/cond-eval-mode.c: New file.
4303 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
4304 prepare_for_testing to build the new file. Check result of
4305 runto_main.
4306 (test_break, test_watch): New procedures.
4307 (top level): Use them.
4308
ae1d2761
PM
43092014-04-08 Pierre Muller <muller@sourceware.org>
4310
4311 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
4312 Ctrl-V use for mingw hosts.
4313
7af389b8
SC
43142014-04-07 Siva Chandra Reddy <sivachandra@google.com>
4315
4316 * gdb.python/py-value.c: Improve test case.
4317 * gdb.python/py-value.exp: Add new test.
4318
5e703181
DE
43192014-04-07 David Blaikie <dblaikie@gmail.com>
4320
4321 * lib/compiler.c: Identify the clang compiler.
4322 * lib/compiler.cc: Ditto.
4323
9810b410
YQ
43242014-04-03 Yao Qi <yao@codesourcery.com>
4325
4326 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
4327
98d1b8dc
AB
43282014-04-01 Anton Blanchard <anton@samba.org>
4329
4330 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
4331 messages unique.
4332
3114cea1
AB
43332014-04-01 Anton Blanchard <anton@samba.org>
4334
4335 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
4336 prepare_for_testing.
4337
62f7182c
AB
43382014-04-01 Anton Blanchard <anton@samba.org>
4339
4340 * gdb.arch/ppc64-atomic-inst.c: Remove.
4341 * gdb.arch/ppc64-atomic-inst.S: New file.
4342 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
4343
770e7fc7
DE
43442014-03-31 Doug Evans <dje@google.com>
4345
4346 * gdb.base/print-symbol-loading-lib.c: New file.
4347 * gdb.base/print-symbol-loading-main.c: New file.
4348 * gdb.base/print-symbol-loading.exp: New file.
4349
46e2bafa
YQ
43502014-03-31 Yao Qi <yao@codesourcery.com>
4351
4352 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
4353
8776cfe9
JB
43542014-03-28 Joel Brobecker <brobecker@adacore.com>
4355
4356 * gdb.ada/mi_dyn_arr: New testcase.
4357
5d1ef361
DE
43582014-03-27 Doug Evans <dje@google.com>
4359
4360 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
4361
b5bee914
YQ
43622014-03-27 Yao Qi <yao@codesourcery.com>
4363
4364 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
4365 if target is nios2-*-*.
4366
0d4d0e77
YQ
43672014-03-26 Yao Qi <yao@codesourcery.com>
4368
4369 * lib/gdb.exp (readline_is_used): New proc.
4370 * gdb.base/completion.exp: Move tests on command complete up.
4371 Skip the rest of tests if readline is not used.
4372 * gdb.ada/complete.exp: Skp the test if readline is not
4373 used.
4374 * gdb.base/filesym.exp: Likewise.
4375 * gdb.base/macscp.exp: Likewise.
4376 * gdb.base/readline-ask.exp: Likewise.
4377 * gdb.base/readline.exp: Likewise.
4378 * gdb.python/py-cmd.exp: Likewise.
4379 * gdb.trace/tfile.exp: Likewise.
4380
29361eee
YQ
43812014-03-26 Yao Qi <yao@codesourcery.com>
4382
4383 * gdb.base/macscp.exp: Fix code format issues.
4384
bc9a5525
UW
43852014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
4386
4387 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
4388 * gdb.asm/powerpc64le.inc: New file.
4389
d3839ede
PA
43902014-03-25 Pedro Alves <palves@redhat.com>
4391 Doug Evans <dje@google.com>
4392
4393 * gdb.base/source-execution.c: New file.
4394 * gdb.base/source-execution.exp: New file.
4395 * gdb.base/source-execution.gdb: New file.
4396
01672a57
DE
43972014-03-24 Doug Evans <dje@google.com>
4398
4399 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
4400 using fission.
4401
88bbeca9
HZ
44022014-03-24 Hui Zhu <hui@codesourcery.com>
4403 Pedro Alves <palves@redhat.com>
4404
4405 PR breakpoints/16101
4406 * gdb.base/dprintf.exp: Use unsupported rather than changing the
4407 test pass/fail messages. Detect missing support for dprintf when
4408 breakpoints are actually inserted.
4409 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
4410 breakpoints are actually inserted.
4411 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
4412 fails.
4413
d2348791
JK
44142014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4415
4416 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
4417
feef67ab
DE
44182014-03-22 Doug Evans <xdje42@gmail.com>
4419
4420 * gdb.python/python.exp (python not supported): Verify multi-line
4421 python command issues an error.
25d743f9 4422 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 4423 guile command issues an error.
feef67ab 4424
ecebef6a
MR
44252014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
4426
4427 * gdb.threads/thread-specific.exp: Handle the lack of usable
4428 $this_breakpoint and $this_thread.
4429
ccdd1909
HZ
44302014-03-21 Hui Zhu <hui@codesourcery.com>
4431
4432 * gdb.base/attach.exp (do_command_attach_tests): New.
4433
beb460e8
PA
44342014-03-20 Tom Tromey <tromey@redhat.com>
4435 Pedro Alves <palves@redhat.com>
4436
4437 PR cli/15718
4438 * gdb.base/condbreak-call-false.c: New file.
4439 * gdb.base/condbreak-call-false.exp: New file.
4440
40acf43a
PA
44412014-03-20 Pedro Alves <palves@redhat.com>
4442
4443 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
4444 Delete.
4445 (block_signals, unblock_signals): Delete.
4446 (child_function_2, main): Remove references to deleted variable
4447 and functions.
4448
9f5e1e02
PA
44492014-03-20 Pedro Alves <palves@redhat.com>
4450
4451 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
4452 Use pthread_kill to signal thread 2.
4453 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4454 Adjust to make the test send itself a signal rather than using the
4455 host's "kill" command.
4456
99619bea
PA
44572014-03-20 Pedro Alves <palves@redhat.com>
4458
4459 * gdb.threads/multiple-step-overs.c: New file.
4460 * gdb.threads/multiple-step-overs.exp: New file.
4461 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4462 Adjust expected infrun debug output.
4463
2adfaa28
PA
44642014-03-20 Pedro Alves <palves@redhat.com>
4465
4466 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
4467 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
4468
31e77af2
PA
44692014-03-20 Pedro Alves <palves@redhat.com>
4470
4471 PR breakpoints/7143
4472 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
4473 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
4474 of gdb_test_multiple.
4475 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
4476 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
4477
b9f437de
PA
44782014-03-20 Pedro Alves <palves@redhat.com>
4479
4480 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
4481 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
4482
05adc73e
PA
44832014-03-19 Pedro Alves <palves@redhat.com>
4484
4485 * gdb.base/async.exp: Remove early return.
4486
6048b950
PA
44872014-03-19 Pedro Alves <palves@redhat.com>
4488
4489 * gdb.base/async.exp (step& tests): Pass explicit test messages.
4490
8bcfb00a
PA
44912014-03-19 Pedro Alves <palves@redhat.com>
4492
4493 * gdb.base/async.exp (test_background): Expect \r\n after
4494 "completed." in the fail pattern.
4495
884e37dc
PA
44962014-03-19 Pedro Alves <palves@redhat.com>
4497
4498 * gdb.base/async.exp (test_background): New procedure.
4499 Use it for all background execution command tests.
4500
148e57e2
PA
45012014-03-19 Pedro Alves <palves@redhat.com>
4502
4503 * gdb.base/async.exp: Use prepare_for_testing.
4504
f48088c7
PA
45052014-03-19 Pedro Alves <palves@redhat.com>
4506
4507 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
4508 the same line.
4509
e2f6c966
PA
45102014-03-19 Pedro Alves <palves@redhat.com>
4511
4512 * gdb.base/async.c (main): Add "jump here" and "until here" line
4513 marker comments.
4514 * gdb.base/async.exp (jump_here): New global.
4515 (jump& test): Use it.
4516 (until_here): New global.
4517 (until& test): Use it.
4518
c30568d4
PA
45192014-03-19 Pedro Alves <palves@redhat.com>
4520
4521 * gdb.base/async.exp: Don't frob gdb_protocol.
4522
0172b6a7
DE
45232014-03-18 Doug Evans <xdje42@gmail.com>
4524
4525 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
4526 Fix spelling of exec-done-display.
4527
06c868a8
JK
45282014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4529
4530 PR gdb/15358
4531 * gdb.base/gdb-sigterm.c: New file.
4532 * gdb.base/gdb-sigterm.exp: New file.
4533
0c7e1a46
PA
45342014-03-18 Pedro Alves <palves@redhat.com>
4535
4536 PR gdb/13860
4537 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
4538 * lib/mi-support.exp (mi_expect_stop): Add special handling for
4539 solib-event.
4540
f7c77d93
JB
45412014-03-17 Joel Brobecker <brobecker@adacore.com>
4542
4543 * gdb.ada/pckd_arr_ren: New testcase.
4544
5a1e8c7a
DE
45452014-03-13 Doug Evans <xdje42@gmail.com>
4546
4547 PR guile/16612
4548 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
4549 collect after discarding symbols.
4550
350e1a76
DE
45512014-03-13 Ludovic Courtès <ludo@gnu.org>
4552 Doug Evans <xdje42@gmail.com>
4553
4554 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
4555 to history survives a gc.
4556
a69900ae
PA
45572014-03-13 Pedro Alves <palves@redhat.com>
4558
4559 * gdb.base/default.exp: Don't test "target procfs".
4560
5db9f0bd
PA
45612014-03-13 Pedro Alves <palves@redhat.com>
4562
4563 * gdb.base/default.exp: Update "target child" and "target procfs"
4564 tests to not expect "Unix".
4565
b3ccfe11
TT
45662014-03-12 Tom Tromey <tromey@redhat.com>
4567
4568 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
4569 New procs. Add target-async tests.
4570 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
4571 Add target-async tests.
4572
646f4417
AA
45732014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4574
4575 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
4576 'func_start' and 'func_end' for the beginning and end of the
4577 function code, respectively.
4578 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
4579 'func_end' instead of 'func' and 'main'.
4580
288c211f
AA
45812014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4582
4583 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
4584 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
4585 generate the debug info assembler source.
4586
e0c0f156
AA
45872014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4588
4589 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
4590 * gdb.dwarf2/arr-subrange.exp: Likewise.
4591 * gdb.dwarf2/dwz.exp: Likewise.
4592 * gdb.dwarf2/method-ptr.exp: Likewise.
4593 * gdb.dwarf2/missing-sig-type.exp: Likewise.
4594 * gdb.dwarf2/subrange.exp: Likewise.
4595 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
4596 * gdb.dwarf2/implptrpiece.exp: Likewise.
4597 * gdb.dwarf2/nostaticblock.exp: Likewise.
4598
0e5c4555
AA
45992014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4600
4601 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
4602 directory to absolute path name arguments.
4603
5ec18f2b
JG
46042014-03-10 Joel Brobecker <brobecker@adacore.com>
4605
4606 * gdb.ada/tagged_access: New testcase.
4607
847fc4f2
MM
46082014-03-07 Markus Metzger <markus.t.metzger@intel.com>
4609
4610 * gdb.btrace/data.exp: Update expected output.
4611
cc3da688
YQ
46122014-03-06 Yao Qi <yao@codesourcery.com>
4613
4614 * gdb.trace/pr16508.exp: New file.
4615
0f26cec1
PA
46162014-03-05 Pedro Alves <palves@redhat.com>
4617
4618 PR gdb/16575
4619 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
4620 procedure.
4621 (top level): Adjust to use it. Add tests that exercise breakpoint
4622 interaction with the code-cache.
4623
7a5a839f
LC
46242014-02-26 Ludovic Courtès <ludo@gnu.org>
4625
4626 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
4627 test for 'history-append!'.
4628
31aa7e4e
JB
46292014-02-26 Joel Brobecker <brobecker@adacore.com>
4630
4631 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
4632 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
4633 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
4634 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
4635 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
4636 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
4637
1b588015
JB
46382014-02-26 Joel Brobecker <brobecker@adacore.com>
4639
4640 * testsuite/gdb.python/py-pp-re-notag.c: New file.
4641 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
4642 * testsuite/gdb.python/py-pp-re-notag.p: New file.
4643
55426c9d
JB
46442014-02-26 Joel Brobecker <brobecker@adacore.com>
4645
4646 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
4647
dc53a7ad
JB
46482014-02-26 Joel Brobecker <brobecker@adacore.com>
4649
4650 * gdb.dwarf2/arr-stride.c: New file.
4651 * gdb.dwarf2/arr-stride.exp: New file.
4652
12ab52e9
PA
46532014-02-26 Pedro Alves <palves@redhat.com>
4654
4655 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
4656 that won't ever trigger. Make sure that GDB reports the correct
4657 breakpoint that caused the stop.
4658
849c862e
JK
46592014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4660
4661 PR gdb/16626
4662 * gdb.base/auto-load-script: New file.
4663 * gdb.base/auto-load.c: New file.
4664 * gdb.base/auto-load.exp: New file.
4665
71b7d793
JK
4666 PR gdb/16626
4667 * gdb.base/auto-load.exp: Fix out-of-srctree run.
4668
e2f0d509
JK
46692014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4670
4671 Fix dw2-icycle.exp -fsanitize=address GDB crash.
4672 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
4673
50cc37c8
DE
46742014-02-24 Doug Evans <dje@google.com>
4675
4676 * lib/gdb.exp (run_on_host): Log error output if program fails.
4677
ea4758f2
PA
46782014-02-21 Pedro Alves <palves@redhat.com>
4679
4680 * gdb.threads/step-after-sr-lock.c: Rename to ...
4681 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
4682 * gdb.threads/step-after-sr-lock.exp: Rename to ...
4683 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4684 ... this.
4685
d7b30f67
SDJ
46862014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
4687
4688 PR tdep/16397
4689 * gdb.arch/amd64-stap-special-operands.exp: New file.
4690 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
4691 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
4692 * gdb.arch/amd64-stap-triplet.S: Likewise.
4693 * gdb.arch/amd64-stap-triplet.c: Likewise.
4694
83deb43f
JB
46952014-02-20 Joel Brobecker <brobecker@adacore.com>
4696
4697 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
4698 in .section pseudo-op.
4699
adde2bff
DE
47002014-02-20 lin zuojian <manjian2006@gmail.com>
4701 Joel Brobecker <brobecker@adacore.com>
4702 Doug Evans <xdje42@gmail.com>
4703
4704 PR symtab/16581
4705 * gdb.dwarf2/dw2-icycle.S: New file.
4706 * gdb.dwarf2/dw2-icycle.c: New file.
4707 * gdb.dwarf2/dw2-icycle.exp: New file.
4708
f7bd0f78
SC
47092014-02-19 Siva Chandra Reddy <sivachandra@google.com>
4710
4711 * gdb.python/py-value-cc.cc: Improve test case to enable testing
4712 operations on gdb.Value objects.
4713 * gdb.python/py-value-cc.exp: Add new test to test operations on
4714 gdb.Value objects.
4715
c17ef0d5
DE
47162014-02-18 Doug Evans <dje@google.com>
4717
4718 * Makefile.in (TESTS): New variable.
4719 (expanded_tests, expanded_tests_or_none): New variables
4720 (check-single): Pass $(expanded_tests_or_none) to runtest.
4721 (check-parallel): Only run tests in $(TESTS) if non-empty.
4722 (check/no-matching-tests-found): New rule.
4723 * README: Document TESTS makefile variable.
4724
5dd3176f
DE
47252014-02-18 Doug Evans <dje@google.com>
4726
4727 * Makefile.in (check-parallel): rm -rf outputs temp.
4728
0b10be4f
JK
47292014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4730
4731 Fix "ERROR: no fileid for" in the testsuite.
4732 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
4733
85f224e7
DE
47342014-02-12 Doug Evans <dje@google.com>
4735
4736 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
4737 (MISCELLANEOUS): New variable.
4738 (clean): rm -rf $(MISCELLANEOUS).
4739 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
4740 dwp live in the same directory as symlinks, with each symlink pointed
4741 to a differently named file in a different directory.
4742
149b30ff
DE
47432014-02-11 Doug Evans <dje@google.com>
4744
4745 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
4746 of Tcl file commands.
4747
1dfdac32
MK
47482014-02-10 Mark Kettenis <kettenis@gnu.org>
4749
4750 * gdb.threads/step-after-sr-lock.exp: Avoid executing
4751 "kill -SIGUSR1 -1".
4752
aa4fb036
JB
47532014-02-10 Joel Brobecker <brobecker@adacore.com>
4754
4755 * gdb.ada/tick_length_array_enum_idx: New testcase.
4756
ed3ef339
DE
47572014-02-10 Doug Evans <xdje42@gmail.com>
4758
4759 * configure.ac (AC_OUTPUT): Add gdb.guile.
4760 * configure: Regenerate.
4761 * lib/gdb-guile.exp: New file.
4762 * lib/gdb.exp (get_target_charset): New function.
4763 * gdb.base/help.exp: Update expected output from "apropos apropos".
4764 * gdb.guile/Makefile.in: New file.
4765 * gdb.guile/guile.exp: New file.
4766 * gdb.guile/scm-arch.c: New file.
4767 * gdb.guile/scm-arch.exp: New file.
4768 * gdb.guile/scm-block.c: New file.
4769 * gdb.guile/scm-block.exp: New file.
4770 * gdb.guile/scm-breakpoint.c: New file.
4771 * gdb.guile/scm-breakpoint.exp: New file.
4772 * gdb.guile/scm-disasm.c: New file.
4773 * gdb.guile/scm-disasm.exp: New file.
4774 * gdb.guile/scm-equal.c: New file.
4775 * gdb.guile/scm-equal.exp: New file.
4776 * gdb.guile/scm-error.exp: New file.
4777 * gdb.guile/scm-error.scm: New file.
4778 * gdb.guile/scm-frame-args.c: New file.
4779 * gdb.guile/scm-frame-args.exp: New file.
4780 * gdb.guile/scm-frame-args.scm: New file.
4781 * gdb.guile/scm-frame-inline.c: New file.
4782 * gdb.guile/scm-frame-inline.exp: New file.
4783 * gdb.guile/scm-frame.c: New file.
4784 * gdb.guile/scm-frame.exp: New file.
4785 * gdb.guile/scm-generics.exp: New file.
4786 * gdb.guile/scm-gsmob.exp: New file.
4787 * gdb.guile/scm-iterator.c: New file.
4788 * gdb.guile/scm-iterator.exp: New file.
4789 * gdb.guile/scm-math.c: New file.
4790 * gdb.guile/scm-math.exp: New file.
4791 * gdb.guile/scm-objfile-script-gdb.in: New file.
4792 * gdb.guile/scm-objfile-script.c: New file.
4793 * gdb.guile/scm-objfile-script.exp: New file.
4794 * gdb.guile/scm-objfile.c: New file.
4795 * gdb.guile/scm-objfile.exp: New file.
4796 * gdb.guile/scm-ports.exp: New file.
4797 * gdb.guile/scm-pretty-print.c: New file.
4798 * gdb.guile/scm-pretty-print.exp: New file.
4799 * gdb.guile/scm-pretty-print.scm: New file.
4800 * gdb.guile/scm-section-script.c: New file.
4801 * gdb.guile/scm-section-script.exp: New file.
4802 * gdb.guile/scm-section-script.scm: New file.
4803 * gdb.guile/scm-symbol.c: New file.
4804 * gdb.guile/scm-symbol.exp: New file.
4805 * gdb.guile/scm-symtab-2.c: New file.
4806 * gdb.guile/scm-symtab.c: New file.
4807 * gdb.guile/scm-symtab.exp: New file.
4808 * gdb.guile/scm-type.c: New file.
4809 * gdb.guile/scm-type.exp: New file.
4810 * gdb.guile/scm-value-cc.cc: New file.
4811 * gdb.guile/scm-value-cc.exp: New file.
4812 * gdb.guile/scm-value.c: New file.
4813 * gdb.guile/scm-value.exp: New file.
4814 * gdb.guile/source2.scm: New file.
4815 * gdb.guile/types-module.cc: New file.
4816 * gdb.guile/types-module.exp: New file.
4817
7026a7c1
YQ
48182014-02-10 Yao Qi <yao@codesourcery.com>
4819
4820 PR testsuite/16543
4821 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
4822 * configure: Regenerated.
4823 * Makefile.in: New file.
4824
6c466447
AS
48252014-02-08 Andreas Schwab <schwab@linux-m68k.org>
4826
4827 * gdb.python/py-framefilter.exp: Fix typo.
4828
6e854735
YQ
48292014-02-08 Yao Qi <yao@codesourcery.com>
4830
4831 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
4832 that no =breakpoint-modified is emitted when breakpoints are
4833 modified through MI commands.
4834
d137e6dc
PA
48352014-02-07 Pedro Alves <pedro@codesourcery.com>
4836 Pedro Alves <palves@redhat.com>
4837
4838 * gdb.threads/step-after-sr-lock.c: New file.
4839 * gdb.threads/step-after-sr-lock.exp: New file.
4840
b5ee5a50
PA
48412014-02-07 Pedro Alves <palves@redhat.com>
4842
4843 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
4844
3c77faf3
JK
48452014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4846
4847 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
4848 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
4849
6dddc817
DE
48502014-02-06 Doug Evans <xdje42@gmail.com>
4851
4852 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
4853 output.
4854
4855 * gdb.gdb/python-interrupts.exp: New file.
4856
de7b2893
YQ
48572014-02-05 Yao Qi <yao@codesourcery.com>
4858
4859 * gdb.trace/report.exp (use_collected_data): Test the output
4860 of "info threads" and "info inferiors".
4861
66d032ac
YQ
48622014-02-05 Yao Qi <yao@codesourcery.com>
4863
4864 Revert this patch:
4865
4866 2013-05-24 Yao Qi <yao@codesourcery.com>
4867
4868 * gdb.trace/tfile.exp: Test inferior and thread.
4869
591a12a1
UW
48702014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4871
4872 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
4873 on a function.
4874 * gdb.base/step-bt.c: Call hello via function pointer to make
4875 sure its first instruction is executed on powerpc64le-linux.
4876
0ff3e01f
UW
48772014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4878
4879 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
4880
084ee545
UW
48812014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4882
4883 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
4884 of the test patterns for use on little-endian systems.
4885
6ed14ff3
UW
48862014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4887
4888 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
4889 (decimal_vector): Fix for little-endian.
4890
401e27fd
JM
48912014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4892
4893 * gdb.arch/sparc-sysstep.exp: New file.
4894 * gdb.arch/sparc-sysstep.c: Likewise.
4895
4896 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
4897
8b924729
EBM
48982014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4899
4900 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
4901
fb151210
JB
49022014-01-23 Tom Tromey <tromey@redhat.com>
4903
4904 * gdb.ada/array_char_idx: New testcase.
4905
0740f8d8
TT
49062014-01-23 Tom Tromey <tromey@redhat.com>
4907
4908 PR python/16487:
4909 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
4910 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
4911 classes.
4912
21909fa1
TT
49132014-01-23 Tom Tromey <tromey@redhat.com>
4914
4915 PR python/16491:
4916 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
4917 string from an inferior frame.
4918 * gdb.python/py-framefilter-mi.exp: Update.
4919
87ce2a04
DE
49202014-01-22 Doug Evans <dje@google.com>
4921
4922 * gdb.server/server-mon.exp: Add tests for "set debug-format".
4923
237b092b
AA
49242014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4925
4926 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
4927
d674a709
AA
49282014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4929
4930 * gdb.trace/entry-values.exp: Remove excess space character from
4931 regex patterns. Handle s390 call instruction.
4932
20fa3390
AA
49332014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4934
4935 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
4936 define "*_start" label. Make "name" static.
4937 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
4938 ${name} by references to ${name}_start.
4939
78466714
AA
49402014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4941
4942 * gdb.base/info-macros.exp: Remove "debug" from the compile
4943 options.
4944
ec9f644a
IB
49452014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4946
4947 * gdb.dlang/demangle.exp: New file.
4948
94b1b47e
IB
49492014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4950
4951 * gdb.dlang/primitive-types.exp: New file.
4952
7f420862
IB
49532014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4954
4955 * configure.ac: Create gdb.dlang/Makefile.
4956 * configure: Regenerate.
4957 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
4958 * gdb.dlang/Makefile.in: New file.
4959 * lib/d-support.exp: New file.
4960 * lib/gdb.exp (skip_d_tests): New proc.
4961
52834460
MM
49622014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4963
4964 * gdb.btrace/delta.exp: Check reverse stepi.
4965 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
4966 * gdb.btrace/finish.exp: New.
4967 * gdb.btrace/next.exp: New.
4968 * gdb.btrace/nexti.exp: New.
4969 * gdb.btrace/record_goto.c: Add comments.
4970 * gdb.btrace/step.exp: New.
4971 * gdb.btrace/stepi.exp: New.
4972 * gdb.btrace/multi-thread-step.c: New.
4973 * gdb.btrace/multi-thread-step.exp: New.
4974 * gdb.btrace/rn-dl-bind.c: New.
4975 * gdb.btrace/rn-dl-bind.exp: New.
4976 * gdb.btrace/data.c: New.
4977 * gdb.btrace/data.exp: New.
4978 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4979
6e07b1d2
MM
49802014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4981
4982 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
4983 * gdb.btrace/exception.exp: Update.
4984 * gdb.btrace/instruction_history.exp: Update.
4985 * gdb.btrace/record_goto.exp: Update.
4986 * gdb.btrace/tailcall.exp: Update.
4987 * gdb.btrace/unknown_functions.exp: Update.
4988 * gdb.btrace/delta.exp: New.
4989
0b722aec
MM
49902014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4991
4992 * gdb.btrace/record_goto.exp: Add backtrace test.
4993 * gdb.btrace/tailcall.exp: Add backtrace test.
4994
066ce621
MM
49952014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4996
4997 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
4998 * gdb.btrace/record_goto.c: New.
4999 * gdb.btrace/record_goto.exp: New.
5000 * gdb.btrace/x86-record_goto.S: New.
5001
0688d04e
MM
50022014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5003
5004 * gdb.btrace/function_call_history.exp: Update tests.
5005 * gdb.btrace/instruction_history.exp: Update tests.
5006
8710b709
MM
50072014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5008
5009 * gdb.btrace/function_call_history.exp: Fix expected field
5010 order for "record function-call-history".
5011 Add new tests for "record function-call-history /c".
5012 * gdb.btrace/exception.cc: New.
5013 * gdb.btrace/exception.exp: New.
5014 * gdb.btrace/tailcall.exp: New.
5015 * gdb.btrace/x86-tailcall.S: New.
5016 * gdb.btrace/x86-tailcall.c: New.
5017 * gdb.btrace/unknown_functions.c: New.
5018 * gdb.btrace/unknown_functions.exp: New.
5019 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
5020
5de9129b
MM
50212014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5022
5023 * gdb.btrace/instruction_history.exp: Update.
5024 * gdb.btrace/function_call_history.exp: Update.
5025
23a7fe75
MM
50262014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5027
5028 * gdb.btrace/function_call_history.exp: Fix expected function
5029 trace.
5030 * gdb.btrace/instruction_history.exp: Initialize traced.
5031 Remove traced_functions.
5032
724c7dd8
MM
50332014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5034
5035 * gdb.btrace/function_call_history.exp: Update
5036 * gdb.btrace/instruction_history.exp: Update.
5037
6d78d93b
MM
50382014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5039
5040 * gdb.btrace/enable.exp: Update expected text.
5041
93a360cc
OJ
50422014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
5043
5044 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
5045 bytes.
5046
3772b53f
MR
50472014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
5048
5049 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
5050
596662fa
OJ
50512014-01-15 Omair Javaid <omair.javaid@linaro.org>
5052
5053 * lib/gdb.exp (supports_process_record): Return true for
5054 arm*-linux*. (supports_reverse): Likewise.
5055
b5b08fb4
SC
50562014-01-13 Siva Chandra Reddy <sivachandra@google.com>
5057
5058 PR python/15464
5059 PR python/16113
5060 * gdb.python/py-type.c: Enhance test case.
5061 * gdb.python/py-value-cc.cc: Likewise
5062 * gdb.python/py-type.exp: Add new tests.
5063 * gdb.python/py-value-cc.exp: Likewise
5064
52d7fb13
AA
50652014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
5066 Pedro Alves <palves@redhat.com>
5067
5068 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
5069 Make "name" extern.
5070 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
5071 references to ${name}_start by references to ${name}.
5072
a2cd8cfe
JB
50732014-01-10 Joel Brobecker <brobecker@adacore.com>
5074
5075 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
5076
4e23fced
JB
50772014-01-10 Joel Brobecker <brobecker@adacore.com>
5078
5079 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
5080
c6a9e42c
PA
50812014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
5082 Pedro Alves <palves@redhat.com>
5083
5084 * gdb.mi/mi-info-os.exp: Connect to the target with
5085 mi_gdb_target_load.
5086
b7ea362b
PA
50872014-01-08 Pedro Alves <palves@redhat.com>
5088
5089 * gdb.threads/reconnect-signal.c: New file.
5090 * gdb.threads/reconnect-signal.exp: New file.
5091
5e3f4fab
EBM
50922014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5093
5094 * gdb.base/source-dir.exp: New file.
5095
79301218
JB
50962014-01-07 Joel Brobecker <brobecker@adacore.com>
5097
5098 * gdb.ada/mi_interface: New testcase.
5099
8e355c5d
JB
51002014-01-07 Joel Brobecker <brobecker@adacore.com>
5101
5102 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
5103 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
5104 gdb.ada/pp-rec-component/pck.ads: New files.
5105
c0d48811
JB
51062014-01-07 Joel Brobecker <brobecker@adacore.com>
5107
5108 * gdb.python/py-pp-integral.c: New file.
5109 * gdb.python/py-pp-integral.py: New file.
5110 * gdb.python/py-pp-integral.exp: New file.
5111
17b609c3 5112For older changes see ChangeLog-1993-2013.
c906108c 5113\f
8d8cb839
EZ
5114;; Local Variables:
5115;; mode: change-log
5116;; left-margin: 8
5117;; fill-column: 74
5118;; version-control: never
5119;; End:
902f2ccb 5120
32d0add0 5121 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
5122 Copying and distribution of this file, with or without modification,
5123 are permitted provided the copyright notice and this notice are preserved.