Make x86 Linux assembler default to gABI compliant
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
42422cc7
PL
12015-07-15 Pierre Langlois <pierre.langlois@arm.com>
2
3 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
4 Move it to ...
5 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
6 ... here.
7 * gdb.trace/range-stepping.exp: Check that the target supports
8 range stepping.
9
cfa68bae
JK
102015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11
12 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
13
8ffdba26
PA
142015-07-14 Pedro Alves <palves@redhat.com>
15
16 * gdb.base/killed-outside.exp: New file.
17 * gdb.base/killed-outside.c: New file.
18
218a5a11
JK
192015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
20
21 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
22 (n at main): New.
23 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
24
e03ed3c6
AA
252015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
26
27 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
28 infcall tests instead of setting up for KFAIL.
29
485668e5
MM
302015-07-10 Markus Metzger <markus.t.metzger@intel.com>
31
32 * gdb.btrace/record_goto-step.exp: New.
33
08464196
JK
342015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
35
36 PR compile/18484
37 * gdb.compile/compile.c (struct struct_type): Add volatile to
38 selffield's type.
39 * gdb.compile/compile.exp
40 (compile code struct_object.selffield = &struct_object): Skip further
41 struct_object tests if this one xfails.
42
bcf5c1d9
RC
432015-07-08 Robert O'Callahan <robert@ocallahan.org>
44
45 PR exp/18617
46 * gdb.trace/ax.exp: Add test.
47
4931af25
YQ
482015-07-07 Yao Qi <yao.qi@linaro.org>
49
50 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
51 instead of istarget "aarch64*-*-*".
52 * gdb.arch/aarch64-fp.exp: Likewise.
53 * gdb.base/float.exp: Likewise.
54 * gdb.reverse/aarch64.exp: Likewise.
55 * lib/gdb.exp (is_aarch64_target): New proc.
56
9fcf688e
YQ
572015-07-07 Yao Qi <yao.qi@linaro.org>
58
59 * lib/gdb.exp (is_aarch32_target): New proc.
60 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
61 instead of "istarget "arm*-*-*"".
62 * gdb.arch/arm-disp-step.exp: Likewise.
63 * gdb.arch/thumb-bx-pc.exp: Likewise.
64 * gdb.arch/thumb-prologue.exp: Likewise.
65 * gdb.arch/thumb-singlestep.exp: Likewise.
66 * gdb.base/disp-step-syscall.exp: Likewise.
67 * gdb.base/float.exp: Likewise.
68
fbd8d50d
YQ
692015-07-07 Yao Qi <yao.qi@linaro.org>
70
71 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
72 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
73
71be1fdc
YQ
742015-07-07 Yao Qi <yao.qi@linaro.org>
75
76 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
77 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
78 if it exists.
79 * gdb.multi/multi-arch.exp: Likewise.
80
3e221d36
SM
812015-07-07 Simon Marchi <simon.marchi@ericsson.com>
82
83 * gdb.python/py-lazy-string.exp: Add missing parentheses to
84 print.
85
d441430b
YQ
862015-07-07 Yao Qi <yao.qi@linaro.org>
87
88 * gdb.arch/thumb-singlestep.exp: Do one more single step.
89
06f810bd
MG
902015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
91
92 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
93 '[' and ']' characters.
94
5e61e7c0
IB
952015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
96
97 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
98
28bf096c
PA
992015-06-29 Pedro Alves <palves@redhat.com>
100
101 PR threads/18127
102 * gdb.threads/hand-call-new-thread.c: New file.
103 * gdb.threads/hand-call-new-thread.c: New file.
104
ee93cd5e
KS
1052015-06-26 Keith Seitz <keiths@redhat.com>
106 Doug Evans <dje@google.com>
107
108 PR 16253
109 * gdb.cp/var-tag-2.cc: New file.
110 * gdb.cp/var-tag-3.cc: New file.
111 * gdb.cp/var-tag-4.cc: New file.
112 * gdb.cp/var-tag.cc: New file.
113 * gdb.cp/var-tag.exp: New file.
114
fc637f04
PP
1152015-06-26 Patrick Palka <patrick@parcs.ath.cx>
116
117 * gdb.base/history-duplicates.exp: New test.
118
2e52ae68
PP
1192015-06-26 Patrick Palka <patrick@parcs.ath.cx>
120
121 * gdb.base/completion.exp: Test the completion of the "focus"
122 command.
123
6e22494e
JK
1242015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
125
126 * gdb.arch/amd64-prologue-skip.S: New file.
127 * gdb.arch/amd64-prologue-skip.exp: New file.
128
bf7b9cd9
SM
1292015-06-25 Simon Marchi <simon.marchi@ericsson.com>
130
131 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
132 is_address_zero_readable check.
133
201e8dfd
PB
1342015-06-24 Peter Bergner <bergner@vnet.ibm.com>
135
136 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
137 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
138
5cd867b4
YQ
1392015-06-24 Yao Qi <yao.qi@linaro.org>
140
141 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
142 linux targets.
143
4d7be007
YQ
1442015-06-24 Yao Qi <yao.qi@linaro.org>
145
146 * lib/gdb.exp (supports_get_siginfo_type): New proc.
147 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
148 * gdb.base/siginfo-thread.exp: Likewise.
149
07fcd301
YQ
1502015-06-22 Yao Qi <yao.qi@linaro.org>
151
152 * boards/remote-gdbserver-on-localhost.exp: Add comments.
153
52042a00
YQ
1542015-06-22 Yao Qi <yao.qi@linaro.org>
155
156 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
157 aarch64*-*-*.
158 (skip_hw_watchpoint_tests): Likewise.
159
74bd41ce
PP
1602015-06-18 Patrick Palka <patrick@parcs.ath.cx>
161
162 * gdb.base/gdbinit-history.exp: Test the interaction between
163 setting GDBHISTSIZE and setting the history size via .gdbinit.
164
bc460514
PP
1652015-06-17 Patrick Palka <patrick@parcs.ath.cx>
166
167 PR gdb/16999
168 * gdb.base/gdbhistsize-history.exp: New test.
169
b58c513b
PP
1702015-06-17 Patrick Palka <patrick@parcs.ath.cx>
171
172 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
173 with GDBHISTSIZE.
174 * gdb.base/readline.exp: Likewise.
175
92046791
YQ
1762015-06-17 Yao Qi <yao.qi@linaro.org>
177
178 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
179 line.
180
2093d2d3
PP
1812015-06-17 Patrick Palka <patrick@parcs.ath.cx>
182
183 * gdb.base/gdbinit-history.exp: Add test case to check that
184 an unlimited history file does not get truncated on exit.
185
e6c693af
AA
1862015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
187
188 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
189 (VECTOR): New macro. Use it...
190 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
191 ...for these typedefs.
192 (int8, char1, int1, double1): New typedefs.
193 (struct just_int2, struct two_int2): New structures.
194 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
195 (add_structvecs, add_singlevecs): New functions.
196 (main): Call add_some_intvecs twice.
197 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
198 the compile and exit upon failure. Try compiling for the "native"
199 architecture. Test inferior function calls with vector arguments
200 and vector return value handling with "finish" and "return".
201
c74f7d1c
JT
2022015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
203
204 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
205 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
206 PE file.
207 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
208
98aa42ee
AT
2092015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
210
211 PR breakpoints/16465
212 * gdb.mi/mi-dprintf-pending.c: New file.
213 * gdb.mi/mi-dprintf-pending.exp: New test.
214 * gdb.mi/mi-dprintf-pendshr.c: New file.
215
7d73c23c
WT
2162015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
217 Mircea Gherzan <mircea.gherzan@intel.com>
218
219 * gdb.arch/i386-mpx-map.c: New file.
220 * gdb.arch/i386-mpx-map.exp: New File.
221
2222015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
223
224 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
225 * gdb.arch/i386-mpx.exp: Indentation fixed.
226
2272015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
228
229 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
230 function and improved indentation.
231 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
232 gdb_test_multiple. Added additional tests to skip the test.
233
2342015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
235
236 * gdb.arch/i386-avx512.c: Change path in include file.
237 * gdb.arch/i386-avx512.exp: Change include dir path
238 compilation flag.
239 * gdb.arch/i386-mpx.c: Change path in include file.
240 * gdb.arch/i386-mpx.exp: Change include dir path compilation
241 flag.
242
d5eba19a
JK
2432015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
244
245 * gdb.compile/compile-print.exp (compile print *vararray@3)
246 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
247
7f361056
JK
2482015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
249
250 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
251 (do not keep jit in memory): ... this.
252 (expect 5): Change it to ...
253 (expect no 5): ... this.
254
3b462ec2
SM
2552015-06-02 Simon Marchi <simon.marchi@ericsson.com>
256
257 PR gdb/15564
258 * gdb.mi/mi-detach.exp: New file.
259
e0619de6
JK
2602015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
261
262 PR symtab/18392
263 * gdb.arch/amd64-tailcall-self.S: New file.
264 * gdb.arch/amd64-tailcall-self.c: New file.
265 * gdb.arch/amd64-tailcall-self.exp: New file.
266
e970cb34
DB
2672015-05-28 Don Breazeal <donb@codesourcery.com>
268
269 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
270 tests for remote targets by checking is_target_gdbserver.
271
b2e2f908
DE
2722015-05-27 Doug Evans <dje@google.com>
273
274 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
275 * gdb.dwarf2/opaque-type-lookup.c: New file.
276 * gdb.dwarf2/opaque-type-lookup.exp: New file.
277
82c7be31
DE
2782015-05-26 Doug Evans <dje@google.com>
279
280 * gdb.cp/iostream.cc: New file.
281 * gdb.cp/iostream.exp: New file.
282
b4f54984
DE
2832015-05-26 Doug Evans <dje@google.com>
284
285 * gdb.dwarf2/dw2-op-call.exp: Update.
286 * gdb.dwarf2/dw4-sig-types.exp: Update.
287 * gdb.dwarf2/implptr.exp: Update.
288 * gdb.mi/mi-cmd-param-changed.exp: Update.
289
4ea6efe9
DE
2902015-05-26 Doug Evans <dje@google.com>
291
292 * gdb.python/py-lazy-string.c: New file.
293 * gdb.python/py-lazy-string.exp: New file.
294 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
295 (main): Update. Add estring3.
296 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
297 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
298
f6bb7db3
YQ
2992015-05-26 Omair Javaid <omair.javaid@linaro.org>
300 Yao Qi <yao.qi@linaro.org>
301
302 * gdb.reverse/aarch64.c: New.
303 * gdb.reverse/aarch64.exp: New.
304
a81bfbd0
OJ
3052015-05-26 Omair Javaid <omair.javaid@linaro.org>
306
307 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
308 (supports_reverse): Likewise.
309
158bf1b4
PP
3102015-05-22 Patrick Palka <patrick@parcs.ath.cx>
311
312 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
313 Use with_test_prefix.
314
a0145030
AB
3152015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
316
317 * gdb.base/completion.exp: Add test for completion of layout
318 names.
319
ebe3b578
AB
3202015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
321
322 * lib/gdb.exp (skip_tui_tests): New proc.
323 * gdb.base/tui-layout.exp: Check skip_tui_tests.
324
84204ed7
PA
3252015-05-19 Pedro Alves <palves@redhat.com>
326
327 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
328 Save the whole env array instead of just HOME. Unset HISTSIZE in
329 the environment while testing. Restore whole environment
330 afterwards.
331
37442ce1
DE
3322015-05-16 Doug Evans <xdje42@gmail.com>
333
334 * gdb.guile/scm-ports.c: New file.
335 * gdb.guile/scm-ports.exp: Add memory port tests.
336
36de76f9
JK
3372015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
338
339 * gdb.compile/compile-print.c: New file.
340 * gdb.compile/compile-print.exp: New file.
341
3a9558c4
JK
3422015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
343
344 * gdb.compile/compile-ops.exp: Cast param to void.
345 * gdb.compile/compile.exp: Complete type for _gdb_expr.
346 (compile code struct_object.selffield = &struct_object): Add xfail.
347
aa715135
JG
3482015-05-15 Joel Brobecker <brobecker@adacore.com>
349
350 * gdb.ada/arr_enum_with_gap: New testcase.
351
931e5bc3
JG
3522015-05-15 Joel Brobecker <brobecker@adacore.com>
353
354 * gdb.ada/byte_packed_arr: New testcase.
355
9cd4d857
JB
3562015-05-15 Joel Brobecker <brobecker@adacore.com>
357
358 * gdb.ada/pckd_neg: New testcase.
359
ebfd00d2
PP
3602015-05-13 Patrick Palka <patrick@parcs.ath.cx>
361
362 PR gdb/17820
363 * gdb.base/gdbinit-history.exp: New test.
364 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
365 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
366
4c082a81
SC
3672015-05-09 Siva Chandra Reddy <sivachandra@google.com>
368
369 * gdb.python/py-xmethods.cc: Enhance test case.
370 * gdb.python/py-xmethods.exp: New tests.
371 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
372 function.
373 (B_indexoper): Likewise.
374 (global_dm_list) : Add new xmethod worker functions.
375
f7797074
SDJ
3762015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
377
378 * gdb.base/coredump-filter.exp: Correctly unset
379 "coredump_var_addr" array.
380
a4674e4e
PA
3812015-05-08 Pedro Alves <palves@redhat.com>
382
383 * gdb.server/non-existing-program.exp: Unset spawn_id.
384
df2eb078
SC
3852015-05-08 Siva Chandra Reddy <sivachandra@google.com>
386
387 PR python/18291
388 * gdb.python/py-xmethods.exp: Add tests.
389
422349a3
YQ
3902015-05-08 Yao Qi <yao.qi@linaro.org>
391
392 PR gdb/18208
393 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
394 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
395 function set_coredump_filter, and remove remote_exec call.
396 Remove argument ipid. Callers update.
397 (top level): Don't get inferior's PID.
398
63fc80ce
AA
3992015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
400
401 * gdb.base/watch_thread_num.exp: Skip test on targets without
402 access watchpoints.
403
80ad801e
PA
4042015-05-06 Pedro Alves <palves@redhat.com>
405
406 PR server/18081
407 * gdb.server/non-existing-program.exp: New file.
408
0fa7fe50
JB
4092015-05-05 Joel Brobecker <brobecker@adacore.com>
410
411 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
412
3ea89b92
PMR
4132015-05-05 Joel Brobecker <brobecker@adacore.com>
414
415 * gdb.ada/out_of_line_in_inlined: New testcase.
416
87b8eff0
JB
4172015-05-05 Joel Brobecker <brobecker@adacore.com>
418
419 * gdb.ada/var_rec_arr: New testcase.
420
5fccc635
YQ
4212015-04-30 Yao Qi <yao.qi@linaro.org>
422
423 * gdb.base/break-idempotent.exp: If
424 skip_hw_watchpoint_multi_tests returns true, skip the tests
425 on "rwatch" and "awatch".
426
42d38f42
YQ
4272015-04-30 Yao Qi <yao.qi@linaro.org>
428
429 * gdb.base/relativedebug.exp: Invoke gdb command
430 "info sharedlibrary", and if libc.so doesn't have debug info,
431 skip the test.
432
2ce1cdbf
DE
4332015-04-29 Doug Evans <dje@google.com>
434
435 * gdb.python/py-xmethods.exp: Add ptype tests.
436 * gdb.python/py-xmethods.py (E_method_char_worker): Add
437 get_result_type method.
438
f24a38c5
LM
4392015-04-29 Luis Machado <lgustavo@codesourcery.com>
440
441 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
442 the target does not support hardware watchpoints.
443
ecbf2b3c
LM
4442015-04-29 Luis Machado <lgustavo@codesourcery.com>
445
446 * gdb.base/break-always.exp: Abort testing if writing to memory
447 causes an error.
448
34f5f757
DE
4492015-04-28 Doug Evans <dje@google.com>
450
451 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
452 * gdb.python/py-pp-registration.exp: ... here. New file.
453 * gdb.python/py-pp-registration.c: New file.
454 * gdb.python/py-pp-registration.py: New file.
455
69b4374a
DE
4562015-04-28 Doug Evans <dje@google.com>
457
458 * gdb.python/py-bad-printers.c: New file.
459 * gdb.python/py-bad-printers.py: New file.
460 * gdb.python/py-bad-printers.exp: New file.
461
59fb7612
SS
4622015-04-28 Sasha Smundak <asmundak@google.com>
463
464 * gdb.python/py-type.exp: New test.
465
2631b16a
AW
4662015-04-28 Andy Wingo <wingo@igalia.com>
467
468 * gdb.python/py-parameter.exp:
469 * gdb.guile/scm-parameter.exp: Escape the path that we are
470 matching against, as it might contain characters that are special
471 to regular expressions.
472
460efde1
JB
4732015-04-27 Joel Brobecker <brobecker@adacore.com>
474
475 * gdb.ada/rec_comp: New testcase.
476
2d369d8e
SDJ
4772015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
478
479 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
480 before using it.
481
cf75d6c3
AB
4822015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
483
484 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
485 new tests for verilog output.
486
8dbe7ca5
YQ
4872015-04-24 Yao Qi <yao.qi@linaro.org>
488
489 * boards/remote-gdbserver-on-localhost.exp: New file.
490
4ef9fb2f
PA
4912015-04-23 Pedro Alves <palves@redhat.com>
492
493 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
494 $inferior_spawn_id instead of $inferior_spawn_id directly. On
495 "end of file", remove $inferior_spawn_id from the indirect list.
496
0a803169
PA
4972015-04-23 Pedro Alves <palves@redhat.com>
498
499 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
500
749ef8f8
PA
5012015-04-23 Pedro Alves <palves@redhat.com>
502
503 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
504 on $any_spawn_id instead of only on $gdb_spawn_id.
505
8aae4344
PM
5062015-04-21 Pierre Muller <muller@sourceware.org>
507
508 PR pascal/17815
509 * lib/pascal.exp (gpc_compile): Add new option "class".
510 (fpc_compile): Likewise.
511 * gdb.pascal/case-insensitive-symbols.pas: New file.
512 * gdb.pascal/case-insensitive-symbols.exp: New file.
513
1586c8fb
GB
5142015-04-20 Gary Benson <gbenson@redhat.com>
515
516 * gdb.base/attach.exp: Fix three extended remote failures.
517
1b6e6f5c
GB
5182015-04-17 Gary Benson <gbenson@redhat.com>
519
520 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
521 the main executable over the remote protocol.
522
e797481d
PA
5232015-04-16 Pedro Alves <palves@redhat.com>
524
525 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
526 a new gdbserver if gdbserver_reconnect_p is set.
527
1ca99c42
PA
5282015-04-16 Pedro Alves <palves@redhat.com>
529
530 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
531 is set, don't exit gdbserver.
532
af9fd6f8
AA
5332015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
534
535 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
536 appropriate .insn, such that an older assembler can be used.
537 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
538 the z/Architecture instruction set on 31-bit targets as well.
539
04ff1e61
AA
5402015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
541
542 * gdb.go/handcall.exp: Remove all logic related to the first
543 breakpoint and rely on go_runto_main instead.
544 * gdb.go/strings.exp: Likewise.
545 * gdb.go/unsafe.exp: Likewise.
546 * gdb.go/hello.exp: Likewise. Also rename the remaining
547 breakpoint marker to "breakpoint 1".
548 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
549 * gdb.go/strings.go: Likewise.
550 * gdb.go/unsafe.go: Likewise.
551 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
552 "set breakpoint 2 here" and rename the remaining breakpoint marker
553 to "breakpoint 1".
554
40d2f8d6
SM
5552015-04-15 Simon Marchi <simon.marchi@ericsson.com>
556
557 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
558 if itertools.imap is not present.
559 * gdb.python/py-objfile.exp: Add parentheses.
560 * gdb.python/py-type.exp: Same.
561 * gdb.python/py-unwind-maint.py: Same.
562
8cbc97c6
YQ
5632015-04-15 Yao Qi <yao.qi@linaro.org>
564
565 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
566 of ":$ptr_size" and set its form explicitly.
567
45fd756c
YQ
5682015-04-15 Pedro Alves <palves@redhat.com>
569 Yao Qi <yao.qi@linaro.org>
570
571 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
572 timeout by factor of 4.
573 (test_regular_watch): Likewise.
574 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
575 * gdb.reverse/sigall-reverse.exp: Likewise.
576 * gdb.reverse/until-precsave.exp: Likewise.
577 * lib/gdb.exp (with_timeout_factor): New proc.
578 (gdb_expect): Move some code to ...
579 (get_largest_timeout): ... here. New procedure.
580
9e811bc3
LM
5812015-04-14 Luis Machado <lgustavo@codesourcery.com>
582
583 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
584
0ff6fcb2
LM
5852015-04-13 Luis Machado <lgustavo@codesourcery.com>
586
587 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
588 to write to the .text section.
589
7578d5f7
LM
5902015-04-13 Luis Machado <lgustavo@codesourcery.com>
591
592 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
593 Handle the case of targets that do not provide PID information.
594
2efe15c4
YQ
5952015-04-13 Yao Qi <yao.qi@linaro.org>
596
597 * lib/gdbserver-support.exp (gdb_exit): Catch exception
598 and use expect instead of gdb_expect.
599
8cd8f2f8
SDJ
6002015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
601
602 * gdb.base/coredump-filter.exp: Rename variable "addr" to
603 "coredump_var_addr" to avoid naming conflict with other testcases.
604
9ee41772
PA
6052015-04-10 Pedro Alves <palves@redhat.com>
606
607 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
608 gdb_test_sequence and gdb_assert.
609
07473109
PA
6102015-04-10 Pedro Alves <palves@redhat.com>
611
612 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
613 test messages that don't include the breakpoint address.
614
de3db44c
YQ
6152015-04-10 Yao Qi <yao.qi@linaro.org>
616
617 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
618 false for some offset and width combinations which aren't
619 supported by linux kernel.
620
c79d856c
PA
6212015-04-10 Pedro Alves <palves@redhat.com>
622
623 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
624 procedure, factored out from ...
625 (top level): ... here. Add "set displaced-stepping" testing axis.
626 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
627 parameter "displaced". Use it.
628 (top level): Use foreach and add "set displaced-stepping" testing
629 axis.
630
ebc90b50
PA
6312015-04-10 Pedro Alves <palves@redhat.com>
632
633 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
634 Remove comment.
635 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
636 both the address of the instruction that triggers the watchpoint
637 and the address of the instruction immediately after, and use
638 those addresses for the test. Fix comment.
639
8f572e5c
PA
6402015-04-10 Pedro Alves <palves@redhat.com>
641
642 * gdb.base/sigstep.exp (breakpoint_to_handler)
643 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
644 Test "backtrace" in handler.
645 (breakpoint_over_handler): New parameter 'displaced'. Use it.
646 (top level): Add new "displaced" test axis to
647 breakpoint_to_handler, breakpoint_to_handler_entry and
648 breakpoint_over_handler.
649
8d707a12
PA
6502015-04-10 Pedro Alves <palves@redhat.com>
651
652 PR gdb/18216
653 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
654
ef713951
YQ
6552015-04-10 Yao Qi <yao.qi@linaro.org>
656
657 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
658 (test_add_rn_pc): New function.
659 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
660 (top level): Invoke test_add_rn_pc.
661
906d60cf
PA
6622015-04-10 Pedro Alves <palves@redhat.com>
663
664 PR gdb/13858
665 * gdb.base/step-over-no-symbols.exp: New file.
666
f2983cc3
AW
6672015-04-09 Andy Wingo <wingo@igalia.com>
668
669 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
670 after the Python tests.
671
6d62641c
SDJ
6722015-04-08 Keith Seitz <keiths@redhat.com>
673
674 PR python/16699
675 * gdb.python/py-completion.exp: New tests for completion.
676 * gdb.python/py-completion.py (CompleteLimit1): New class.
677 (CompleteLimit2): Likewise.
678 (CompleteLimit3): Likewise.
679 (CompleteLimit4): Likewise.
680 (CompleteLimit5): Likewise.
681 (CompleteLimit6): Likewise.
682 (CompleteLimit7): Likewise.
683
f3770638
PA
6842015-04-08 Pedro Alves <palves@redhat.com>
685
686 PR gdb/18214
687 PR gdb/18216
688 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
689 function.
690 (main): Install it as SIGUSR1 handler.
691 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
692 parameter. Always use "setup" as prefix. Toggle "set
693 displaced-stepping" off/on depending on global. Don't switch to
694 thread 1 here.
695 (top level): Add displaced stepping "off/on" test axis. Update
696 "setup" calls. Wrap each subtest with with_test_prefix. Test
697 continuing with a queued signal in each thread.
698
4496bed7
PA
6992015-04-08 Pedro Alves <palves@redhat.com>
700
701 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
702 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
703 gdb_breakpoint instead of gdb_test that doesn't expect anything.
704 Return early if running to main fails.
705 * gdb.trace/while-stepping.exp: Likewise.
706
b97fde92
PA
7072015-04-07 Pedro Alves <palves@redhat.com>
708
709 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
710 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
711 interact with inferior program.
712
f71c18e7
PA
7132015-04-07 Pedro Alves <palves@redhat.com>
714
715 * lib/gdb.exp (inferior_spawn_id): New global.
716 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
717 spawn id after processing the user code.
718 (default_gdb_start): Set inferior_spawn_id.
719 (send_inferior): New procedure.
720 * lib/gdbserver-support.exp (gdbserver_start): Set
721 inferior_spawn_id.
722 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
723
6423214f
PA
7242015-04-07 Pedro Alves <palves@redhat.com>
725
726 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
727 * lib/gdbserver-support.exp (gdbserver_start): Make
728 $server_spawn_id global.
729 (gdbserver_start): Don't wait for gdbserver's spawn id with
730 expect_background.
731 (close_gdbserver): New procedure.
732 (gdb_exit): Rename the default version and reimplement.
733
71c0ee8c
PA
7342015-04-07 Pedro Alves <palves@redhat.com>
735
736 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
737 append the substituted item, not the original item.
738
203bc29b
PA
7392015-04-07 Pedro Alves <palves@redhat.com>
740
741 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
742 gdb_expect.
743
508a3ddf
PA
7442015-04-07 Pedro Alves <palves@redhat.com>
745
746 * gdb.base/interrupt.exp: Don't handle the case of the inferior
747 output appearing once only.
748
9f6dbe2b
PA
7492015-04-07 Pedro Alves <palves@redhat.com>
750
751 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
752 that doesn't expect anything. Return early if running to main
753 fails.
754
337532fa
YQ
7552015-04-07 Yao Qi <yao.qi@linaro.org>
756
757 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
758 (child_function): Call alarm.
759 (main): Move call to alarm into the loop.
760 * gdb.threads/non-stop-fair-events.exp: Build program with
761 -DTIMEOUT=$timeout.
762
01b622d4
DE
7632015-04-06 Doug Evans <xdje42@gmail.com>
764
765 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
766 Fix dest parameter to board_info.
767 (fpc_compile): Ditto.
768 (gdb_compile_pascal): Rename dest arg to destfile.
769
961f4160
PMR
7702015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
771
772 * gdb.ada/funcall_ref.exp: New file.
773 * gdb.ada/funcall_ref/foo.adb: New file.
774
cafda597
YQ
7752015-04-02 Yao Qi <yao.qi@linaro.org>
776
777 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
778 is remote.
779
fed040c6
GB
7802015-04-02 Gary Benson <gbenson@redhat.com>
781
782 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
783
d11916aa
SS
7842015-04-01 Sasha Smundak <asmundak@google.com>
785
786 * gdb.python/py-unwind-maint.c: New file.
787 * gdb.python/py-unwind-maint.exp: New test.
788 * gdb.python/py-unwind-maint.py: New file.
789 * gdb.python/py-unwind.c: New file.
790 * gdb.python/py-unwind.exp: New test.
791 * gdb.python/py-unwind.py: New test.
792
a1471180
PA
7932015-04-01 Pedro Alves <palves@redhat.com>
794
795 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
796 to fail instead of non-existent $test.
797
0bbeccb1
PA
7982015-04-01 Pedro Alves <palves@redhat.com>
799
800 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
801 GDBFLAGS if not empty.
802
3c724c8c
PMR
8032015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
804
805 * gdb.ada/complete.exp: Remove "multi_line".
806 * gdb.ada/info_exc.exp: Remove "multi_line".
807 * gdb.ada/packed_tagged.exp: Remove "multi_line".
808 * gdb.ada/ptype_field.exp: Remove "multi_line".
809 * gdb.ada/sym_print_name.exp: Remove "multi_line".
810 * gdb.ada/tagged.exp: Remove "multi_line".
811 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
812 [multi_line ...]
813 * gdb.btrace/delta.exp: Likewise.
814 * gdb.btrace/exception.exp: Likewise.
815 * gdb.btrace/function_call_history.exp: Likewise.
816 * gdb.btrace/instruction_history.exp: Likewise.
817 * gdb.btrace/nohist.exp: Likewise.
818 * gdb.btrace/record_goto.exp: Likewise.
819 * gdb.btrace/segv.exp: Likewise.
820 * gdb.btrace/stepi.exp: Likewise.
821 * gdb.btrace/tailcall.exp: Likewise.
822 * gdb.btrace/unknown_functions.exp: Likewise.
823 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
824 * lib/gdb.exp: Add the "multi_line" helper.
825
4eec2deb
PA
8262015-04-01 Pedro Alves <palves@redhat.com>
827
828 * gdb.threads/tid-reuse.c: New file.
829 * gdb.threads/tid-reuse.exp: New file.
830
df8411da
SDJ
8312015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
832
833 PR corefiles/16092
834 * gdb.base/coredump-filter.c: New file.
835 * gdb.base/coredump-filter.exp: Likewise.
836
6ef37366
PM
8372015-03-27 Petr Machata <pmachata@redhat.com>
838
839 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
840 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
841 (Dwarf::assemble): Initialize them.
842 (Dwarf::lines): New function.
843
7ec911b0
JT
8442015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
845
846 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
847 SYMBOL_PREFIX for x86_64-*-cygwin.
848
ff908ebf
AW
8492015-03-26 Andy Wingo <wingo@igalia.com>
850
851 PR symtab/18148
852 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
853 const_value but not a location.
854 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
855 location defined in non-main CUs are visible.
856
6d5f0679
YQ
8572015-03-26 Yao Qi <yao.qi@linaro.org>
858
859 PR testsuite/18139
860 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
861 Add a line number entry for the same line.
862 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
863 Add a line number entry for the same line.
864
2898689b
YQ
8652015-03-26 Yao Qi <yao.qi@linaro.org>
866
867 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
868 .int 0.
869 (func): Likewise. Add .Lfunc_1 label.
870 Use .Lfunc_1 label.
871 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
872 .int 0.
873 (func): Likewise.
874 Use .Lfunc_1 label.
875
85180498
YQ
8762015-03-26 Yao Qi <yao.qi@linaro.org>
877
878 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
879 Call gdb_compile instead to compile each .s files without debug
880 information.
881
8aa08a8d
YQ
8822015-03-26 Yao Qi <yao.qi@linaro.org>
883
884 * gdb.base/savedregs.exp (process_saved_regs): Make
885 "Saved registers:" optional in the pattern.
886
66849923
MM
8872015-03-25 Markus Metzger <markus.t.metzger@intel.com>
888
889 * gdb.btrace/next.exp: Merged into step.exp.
890 * gdb.btrace/finish.exp: Merged into step.exp.
891 * gdb.btrace/nexti.exp: Merged into stepi.exp.
892 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
893 "record goto" and checking the exact replay position.
894 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
895 check for "Recording format" in "info record" output.
896 * gdb.btrace/record_goto.exp: Choose test file based on target.
897 * gdb.btrace/x86-record_goto.S: Renamed into ...
898 * gdb.btrace/x86_64-record_goto.S: ... this.
899 * gdb.btrace/i686-record_goto.S: New.
900 * gdb.btrace/x86-tailcall.S: Renamed into ...
901 * gdb.btrace/x86_64-tailcall.S: ... this.
902 * gdb.btrace/i686-tailcall.S: New.
903 * gdb.btrace/x86-tailcall.c: Renamed into ...
904 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
905 separate statements. Update test.
906 * gdb.btrace/delta.exp: Use record_goto.c as test file.
907 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
908 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
909 * gdb.btrace/tailcall.exp: Choose test file based on target.
910 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
911
11cc1b74
MM
9122015-03-25 Markus Metzger <markus.t.metzger@intel.com>
913
914 * gdb.btrace/exception.exp: Increase BTS buffer size.
915
a25d8bf9
PA
9162015-03-24 Pedro Alves <palves@redhat.com>
917
918 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
919
856e7dd6
PA
9202015-03-24 Pedro Alves <palves@redhat.com>
921
922 * gdb.threads/schedlock.exp (test_step): No longer expect that
923 "set scheduler-locking step" with "next" over a function call runs
924 threads unlocked.
925
ad235a41
AT
9262015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
927
928 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
929
15630549
AT
9302015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
931
932 PR breakpoints/16466
933 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
934 * gdb.mi/mi-pending.c (thread_func): New function.
935 (int main): Add threading support required.
936 * gdb.mi/mi-pending.exp: Add tests for this issue.
937 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
938 (pendfunc2): Remove stdio dependency.
939 * gdb.mi/mi-pendshr2.c: New file.
940
693dca06
KS
9412015-03-23 Keith Seitz <keiths@redhat.com>
942
943 * gdb.linespec/keywords.c: New file.
944 * gdb.linespec/keywords.exp: New file.
945
7e993ebf
KS
9462015-03-23 Keith Seitz <keiths@redhat.com>
947
948 PR gdb/18021
949 * gdb.dwarf2/staticvirtual.exp: New test.
950
bc23328c
JK
9512015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
952
953 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
954 * README: Remove HP-UX and gdb.hp.
955 (configuration):
956 * configure: Regenerate.
957 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
958 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
959 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
960 gdb.hp/gdb.defects/Makefile.
961 * gdb.hp/Makefile.in: File deleted.
962 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
963 * gdb.hp/gdb.aCC/optimize.c: File deleted.
964 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
965 * gdb.hp/gdb.aCC/run.c: File deleted.
966 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
967 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
968 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
969 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
970 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
971 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
972 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
973 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
974 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
975 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
976 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
977 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
978 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
979 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
980 * gdb.hp/gdb.base-hp/reg.s: File deleted.
981 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
982 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
983 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
984 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
985 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
986 * gdb.hp/gdb.compat/Makefile.in: File deleted.
987 * gdb.hp/gdb.compat/average.c: File deleted.
988 * gdb.hp/gdb.compat/sum.c: File deleted.
989 * gdb.hp/gdb.compat/xdb.c: File deleted.
990 * gdb.hp/gdb.compat/xdb0.c: File deleted.
991 * gdb.hp/gdb.compat/xdb0.h: File deleted.
992 * gdb.hp/gdb.compat/xdb1.c: File deleted.
993 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
994 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
995 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
996 * gdb.hp/gdb.defects/Makefile.in: File deleted.
997 * gdb.hp/gdb.defects/bs14602.c: File deleted.
998 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
999 * gdb.hp/gdb.defects/solib-d.c: File deleted.
1000 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
1001 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
1002 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
1003 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
1004 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
1005 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
1006 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
1007 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
1008 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
1009 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
1010 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
1011 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
1012 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
1013 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
1014 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
1015 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
1016 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
1017 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
1018 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
1019 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
1020 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
1021 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
1022 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
1023 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
1024 * gdb.hp/tools/odump: File deleted.
1025
8bf3b159
PA
10262015-03-19 Pedro Alves <palves@redhat.com>
1027
1028 * gdb.threads/continue-pending-status.exp (saw_thread_2)
1029 (saw_thread_3): New globals.
1030 (top level): Increment them when an event for the corresponding
1031 thread is seen.
1032 (no thread starvation): New test.
1033
eb54c8bf
PA
10342015-03-19 Pedro Alves <palves@redhat.com>
1035
1036 * gdb.threads/continue-pending-status.c: New file.
1037 * gdb.threads/continue-pending-status.exp: New file.
1038
32d2e5d6
PA
10392015-03-18 Pedro Alves <palves@redhat.com>
1040
1041 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1042 Use gdb_is_target_remote instead of is_remote. Use
1043 gdb_test_multiple instead of gdb_expect. Exit early if
1044 gdb_test_multiple hits its internal matches. Tighten stepi tests
1045 expected output. Fail on exit with any signal, instead of just
1046 SIGILL.
1047
f68f11b7
YQ
10482015-03-18 Yao Qi <yao.qi@linaro.org>
1049
1050 PR tdep/18107
1051 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
1052 variable.
1053 * gdb.base/catch-syscall.exp: Don't skip it on
1054 aarch64*-*-linux* target. Remove elements in all_syscalls.
1055 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
1056 target.
1057 (setup_all_syscalls): New proc.
1058
ca5fd19b
YQ
10592015-03-16 Yao Qi <yao.qi@linaro.org>
1060
1061 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
1062 (top level): Skip tests if valid_addr_p returns false for
1063 $cmd1 or $cmd2.
1064
85642ba0
AW
10652015-03-11 Andy Wingo <wingo@igalia.com>
1066
1067 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
1068
e03f9645
YQ
10692015-03-11 Yao Qi <yao.qi@linaro.org>
1070
1071 * gdb.base/catch-syscall.exp: Fix typo in comments.
1072
5d0962b2
YQ
10732015-03-11 Yao Qi <yao.qi@linaro.org>
1074
1075 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
1076
b2df3cef
PA
10772015-03-09 Pedro Alves <palves@redhat.com>
1078
1079 * dg-extract-results.py: Delete.
1080
ef878e53
PA
10812015-03-09 Pedro Alves <palves@redhat.com>
1082
1083 Merge dg-extract-results.sh from GCC upstream (r218843).
1084
1085 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
1086 * dg-extract-results.sh: Use --text with grep to avoid issues with
1087 binary files. Fall back to cat -v, if that doesn't work.
1088
9494d219
PA
10892015-03-05 Pedro Alves <palves@redhat.com>
1090
1091 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
1092
a8d9763a
SM
10932015-03-04 Simon Marchi <simon.marchi@ericsson.com>
1094
1095 * lib/mi-support.exp (mi_expect_interrupt): Accept
1096 alternative event for when in all-stop mode.
1097
be9957b8
PA
10982015-03-04 Pedro Alves <palves@redhat.com>
1099
1100 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
1101
d57be0f4 11022015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
1103
1104 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
1105
c214c7cf
AA
11062015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
1107
1108 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
1109 regexps for GDB's current line display, accept a hex address
1110 preceding the line number.
1111
6d74a497
AA
11122015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
1113
1114 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
1115 the 'arch1' variable for "s390*-linux*" targets.
1116
511aee7c
PA
11172015-03-04 Pedro Alves <palves@redhat.com>
1118
1119 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
1120 (main): Pass missing retval argument to pthread_join call.
1121
95e50b27
PA
11222015-03-02 Pedro Alves <palves@redhat.com>
1123
1124 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
1125 (top level): Call do_test with non-stop as well.
1126
28054d69
PA
11272015-03-02 Pedro Alves <palves@redhat.com>
1128
1129 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
1130 -1.
1131
4fa5d7b4
AA
11322015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1133
1134 * gdb.arch/s390-vregs.exp: New test.
1135 * gdb.arch/s390-vregs.S: New file.
1136
97c18565
PA
11372015-02-27 Pedro Alves <palves@redhat.com>
1138
1139 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
1140 call to catch_command_errors.
1141 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
1142 catch_command_errors.
1143
a37bfa30
PA
11442015-02-27 Pedro Alves <palves@redhat.com>
1145
1146 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
1147 "true" for boolean result.
1148 * gdb.gdb/selftest.exp (test_with_self): Also accept full
1149 prototype of main.
1150
6f98576f
PA
11512015-02-27 Pedro Alves <palves@redhat.com>
1152
1153 * lib/unbuffer_output.c: New file.
1154 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
1155 (main): Call gdb_unbuffer_output.
1156
eba5ab56
YQ
11572015-02-27 Yao Qi <yao.qi@linaro.org>
1158
1159 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
1160 target.
1161
0def5aaa
DE
11622015-02-26 Doug Evans <dje@google.com>
1163
1164 * gdb.cp/class2.cc (Dbase, D): New classes.
1165 (main): New local delta.
1166 * gdb.cp/class2.exp: Test printing delta.
1167 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
1168 (dynbar): New global.
1169 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
1170
081a1c2c
JK
11712015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1172
1173 * gdb.compile/compile-ifunc.c: New file.
1174 * gdb.compile/compile-ifunc.exp: New file.
1175
2f41223f
AT
11762015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
1177
1178 * gdb.base/structs.exp: Check for correct struct on finish.
1179
03eddd80
YQ
11802015-02-26 Yao Qi <yao.qi@linaro.org>
1181
1182 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
1183 is zero.
1184
80c57053
JK
11852015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1186
1187 * gdb.arch/cordic.ko.bz2: New file.
1188 * gdb.arch/cordic.ko.debug.bz2: New file.
1189 * gdb.arch/ppc64-symtab-cordic.exp: New file.
1190
21613c12
YQ
11912015-02-25 Yao Qi <yao.qi@linaro.org>
1192
1193 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
1194 aarch64*-*-* target.
1195
d8b901ed
PA
11962015-02-23 Pedro Alves <palves@redhat.com>
1197
1198 * lib/gdb.exp (delete_breakpoints): Rewrite using
1199 gdb_test_multiple.
1200
e5b85ead
PA
12012015-02-23 Pedro Alves <palves@redhat.com>
1202
1203 * gdb.base/info-os.c: Include stdlib.h.
1204
85c3a371
DE
12052015-02-22 Doug Evans <xdje42@gmail.com>
1206
1207 PR symtab/17855
1208 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
1209 is read after symbols have been re-read.
1210 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
1211 * gdb.ada/exec_changed/second.adb (Second): Ditto.
1212
96553a0c
DE
12132015-02-21 Doug Evans <dje@google.com>
1214
1215 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
1216
97a0c697
JK
12172015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1218
1219 PR corefiles/17808
1220 * gdb.arch/i386-biarch-core.core.bz2: New file.
1221 * gdb.arch/i386-biarch-core.exp: New file.
1222
a47cd6e9
PA
12232015-02-21 Pedro Alves <palves@redhat.com>
1224
1225 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
1226 runto_main fails.
1227
c5facdc4
PA
12282015-02-20 Pedro Alves <palves@redhat.com>
1229
1230 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
1231 info probes.
1232
2db9a427
PA
12332015-02-20 Pedro Alves <palves@redhat.com>
1234
1235 * gdb.threads/multi-create-ns-info-thr.exp: New file.
1236
60fb7e9e
PA
12372015-02-20 Pedro Alves <palves@redhat.com>
1238
1239 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
1240 clean_restart before gdb_target_supports_trace.
1241
5c5019c2
PA
12422015-02-20 Pedro Alves <palves@redhat.com>
1243
1244 PR threads/18006
1245 * gdb.threads/clone-thread_db.c: New file.
1246 * gdb.threads/clone-thread_db.exp: New file.
1247
c9587f88
AT
12482015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
1249
1250 PR breakpoints/16812
1251 * gdb.base/catch-gdb-caused-signals.c: New file.
1252 * gdb.base/catch-gdb-caused-signals.exp: New file.
1253
f6a88844
JM
12542015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
1255
1256 * configure: Regenerated.
1257 * configure.ac: Use GDB_AC_TRANSFORM.
1258 * aclocal.m4: sinclude ../transform.m4.
1259
497c491b
JM
12602015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1261
1262 * lib/dtrace.exp: New file.
1263 * gdb.base/dtrace-probe.exp: Likewise.
1264 * gdb.base/dtrace-probe.d: Likewise.
1265 * gdb.base/dtrace-probe.c: Likewise.
1266 * lib/pdtrace.in: Likewise.
1267 * configure.ac: Output variables with the transformed names of
1268 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
1269 * configure: Regenerated.
1270
03e98035
JM
12712015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1272
1273 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
1274 expected message when trying to access $_probe_* convenience
1275 variables while not on a probe.
1276
63cc30e9
JK
12772015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1278
1279 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
1280
0703599a
PA
12812015-02-11 Pedro Alves <pedro@codesourcery.com>
1282
1283 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
1284 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
1285
7e60a48e
DE
12862015-02-10 Doug Evans <xdje42@gmail.com>
1287
1288 * lib/gdb.exp (gdb_load): Always return a result.
1289
01b088bc
PA
12902015-02-10 Pedro Alves <palves@redhat.com>
1291
1292 * gdb.threads/signal-sigtrap.c: New file.
1293 * gdb.threads/signal-sigtrap.exp: New file.
1294
b05ec7a5
AT
12952015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
1296
1297 * gdb.trace/no-attach-trace.c: New file.
1298 * gdb.trace/no-attach-trace.exp: New file.
1299
a2c2acaf
MW
13002015-02-09 Mark Wielaard <mjw@redhat.com>
1301
1302 * gdb.dwarf2/atomic.c: New file.
1303 * gdb.dwarf2/atomic-type.exp: Likewise.
1304
31fd9caa
MM
13052015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1306
1307 * gdb.btrace/buffer-size.exp: Update "info record" output.
1308 * gdb.btrace/delta.exp: Update "info record" output.
1309 * gdb.btrace/enable.exp: Update "info record" output.
1310 * gdb.btrace/finish.exp: Update "info record" output.
1311 * gdb.btrace/instruction_history.exp: Update "info record" output.
1312 * gdb.btrace/next.exp: Update "info record" output.
1313 * gdb.btrace/nexti.exp: Update "info record" output.
1314 * gdb.btrace/step.exp: Update "info record" output.
1315 * gdb.btrace/stepi.exp: Update "info record" output.
1316 * gdb.btrace/nohist.exp: Update "info record" output.
1317
d33501a5
MM
13182015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1319
1320 * gdb.btrace/buffer-size: New.
1321
f4abbc16
MM
13222015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1323
1324 * gdb.btrace/delta.exp: Update "info record" output.
1325 * gdb.btrace/enable.exp: Update "info record" output.
1326 * gdb.btrace/finish.exp: Update "info record" output.
1327 * gdb.btrace/instruction_history.exp: Update "info record" output.
1328 * gdb.btrace/next.exp: Update "info record" output.
1329 * gdb.btrace/nexti.exp: Update "info record" output.
1330 * gdb.btrace/step.exp: Update "info record" output.
1331 * gdb.btrace/stepi.exp: Update "info record" output.
1332 * gdb.btrace/nohist.exp: Update "info record" output.
1333
b9d61307
SM
13342015-02-06 Simon Marchi <simon.marchi@ericsson.com>
1335
1336 PR gdb/15678
1337 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
1338
e584fdbc
PA
13392015-02-06 Pedro Alves <palves@redhat.com>
1340
1341 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
1342 macro.
1343 (seconds_left, again): New globals.
1344 (main): Wait seconds_left in a 1-second sleep loop instead of
1345 sleeping 180 seconds. If 'again' is set, reset the seconds
1346 counter.
1347 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
1348 'again' in the inferior before detaching. Print the seconds left.
1349 (options): New global.
1350 (top level): Build program with -DTIMEOUT=$timeout.
1351
77f41761
PA
13522015-02-06 Pedro Alves <palves@redhat.com>
1353
1354 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
1355 determine how many seconds to pass to 'alarm'.
1356 * gdb.base/gdb-sigterm.exp (top level): Build program with
1357 -DTIMEOUT=$timeout.
1358 (do_test): Return success/failure indication. Add more verbose
1359 logging. Don't fail if 200 single steps are seen. Instead, fail
1360 when the test times out.
1361 (passes): New global.
1362 (top level): Break the testing loop if testing fails on any
1363 iteration. Use gdb_assert.
1364
b9394193
DB
13652015-02-04 Don Breazeal <donb@codesourcery.com>
1366
1367 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
1368 and initialize them.
1369 (ipc_cleanup): New function.
1370 (main): Don't declare shmid, semid, and msqid. Add a call to
1371 atexit so that we call ipc_cleanup on exit.
1372
42d9e528
PA
13732015-02-04 Pedro Alves <palves@redhat.com>
1374
1375 * boards/native-extended-gdbserver.exp: Remove any target variant
1376 specifications from the board name before clearing the isremote
1377 flag from board_info.
1378
ae6ae975
DE
13792015-01-31 Doug Evans <xdje42@gmail.com>
1380
1381 * gdb.base/maint.exp <maint print type argc>: Update expected output.
1382
cfb069a8
GB
13832015-01-31 Gary Benson <gbenson@redhat.com>
1384
1385 * gdb.base/completion.exp: Disable completion limiting for
1386 existing tests. Add new tests to check completion limiting.
1387 * gdb.linespec/ls-errs.exp: Disable completion limiting.
1388
5dd31d79
DE
13892015-01-31 Doug Evans <xdje42@gmail.com>
1390
1391 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
1392
9f050062
DE
13932015-01-31 Doug Evans <xdje42@gmail.com>
1394
1395 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
1396 entries. Duplicate file section script entries.
1397 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
1398 inlined entries. Add test for safe-path rejection.
1399 * gdb.python/py-section-script.c: Add duplicate inlined section script
1400 entries. Duplicate file section script entries.
1401 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
1402 inlined entries. Add test for safe-path rejection.
1403
df25ebbd
JB
14042015-01-29 Joel Brobecker <brobecker@adacore.com>
1405
1406 * gdb.ada/disc_arr_bound: New testcase.
1407
4a0ca9ec
JB
14082015-01-29 Joel Brobecker <brobecker@adacore.com>
1409
1410 * gdb.ada/mi_var_array: New testcase.
1411
3a8b707a
DE
14122015-01-27 Doug Evans <dje@google.com>
1413
1414 * gdb.python/py-objfile.exp: Add tests for objfile.username.
1415 Add test for objfile.filename, objfile.username after objfile
1416 has been unloaded.
1417
f8313f6e
JB
14182015-01-26 Joel Brobecker <brobecker@adacore.com>
1419
1420 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
1421 the second test to print the name attribute of value
1422 returned by the call to gdb.lookup_type, and adjust
1423 the expected output accordingly.
1424
37bc665e
MW
14252015-01-25 Mark Wielaard <mjw@redhat.com>
1426
1427 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
1428 * gdb.base/disp-step-fork.c: Include unistd.h.
1429 * gdb.base/siginfo-obj.c: Include stdio.h.
1430 * gdb.base/siginfo-thread.c: Likewise.
1431 * gdb.mi/non-stop.c: Include unistd.h.
1432 * gdb.mi/nsthrexec.c: Include stdio.h.
1433 * gdb.mi/pthreads.c: Include unistd.h.
1434 * gdb.modula2/unbounded1.c (main): Declare returns int.
1435 * gdb.reverse/consecutive-reverse.c: Likewise.
1436 * gdb.threads/create-fail.c: Include unistd.h.
1437 * gdb.threads/killed.c: Likewise.
1438 * gdb.threads/linux-dp.c: Likewise.
1439 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
1440 * gdb.threads/non-ldr-exc-2.c: Likewise.
1441 * gdb.threads/non-ldr-exc-3.c: Likewise.
1442 * gdb.threads/non-ldr-exc-4.c: Likewise.
1443 * gdb.threads/pthreads.c: Include unistd.h.
1444 (main): Declare returns int.
1445 * gdb.threads/tls-main.c (foo): New declaration.
1446 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
1447
f7e5394d
SM
14482015-01-23 Simon Marchi <simon.marchi@ericsson.com>
1449
1450 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
1451 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
1452
743649fd
MW
14532015-01-15 Mark Wielaard <mjw@redhat.com>
1454
1455 * gdb.base/noreturn-return.c: New file.
1456 * gdb.base/noreturn-return.exp: New file.
1457 * gdb.base/noreturn-finish.c: New file.
1458 * gdb.base/noreturn-finish.exp: New file.
1459
198297aa
PA
14602015-01-23 Pedro Alves <palves@redhat.com>
1461
1462 * gdb.threads/continue-pending-after-query.c: New file.
1463 * gdb.threads/continue-pending-after-query.exp: New file.
1464
717cf30c
AG
14652015-01-22 Anders Granlund <anders.granlund@ericsson.com>
1466 Simon Marchi <simon.marchi@ericsson.com>
1467
1468 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
1469 * gdb.base/valgrind-db-attach.exp: Same.
1470 * gdb.base/valgrind-infcall.exp: Same.
1471 * lib/mi-support.exp (default_mi_gdb_start): Same.
1472 * lib/prompt.exp (default_prompt_gdb_start): Same.
1473 * lib/gdb.exp (default_gdb_spawn): Same.
1474 (gdb_interact): New.
1475
1476
4b62a76e
JK
14772015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1478
1479 * gdb.compile/compile.exp (pointer to jit function): New test.
1480
b4cdae6f
WW
14812015-01-17 Wei-cheng Wang <cole945@gmail.com>
1482
1483 * lib/gdb.exp (supports_process_record): Return true for
1484 powerpc*-*-linux*.
1485 (supports_reverse): Likewise.
1486
d221e7ef
DB
14872015-01-15 Don Breazeal <donb@codesourcery.com>
1488
1489 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
1490 instead of checking whether the target board is remote and
1491 use spawn_wait_for_attach instead of exec/sleep.
1492 * gdb.base/attach-twice.exp: Likewise.
1493
bafffb51
JB
14942015-01-15 Joel Brobecker <brobecker@adacore.com>
1495
1496 * gdb.ada/var_arr_attrs: New testcase.
1497
5589af0e
PA
14982015-01-14 Pedro Alves <palves@redhat.com>
1499 Joel Brobecker <brobecker@adacore.com>
1500
1501 PR gdb/17525
1502 * gdb.base/bp-cmds-execution-x-script.c: New file.
1503 * gdb.base/bp-cmds-execution-x-script.exp: New file.
1504 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
1505
6c400b59
PA
15062015-01-14 Pedro Alves <palves@redhat.com>
1507
1508 PR cli/17828
1509 * gdb.base/batch-preserve-term-settings.c: New file.
1510 * gdb.base/batch-preserve-term-settings.exp: New file.
1511
e02c96a7
DE
15122015-01-13 Doug Evans <dje@google.com>
1513
1514 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
1515 binary.
1516
576fd14c
JB
15172015-01-13 Joel Brobecker <brobecker@adacore.com>
1518
1519 * Makefile.in (clean mostlyclean): Do not delete *.py.
1520
04dccad0
JB
15212015-01-13 Joel Brobecker <brobecker@adacore.com>
1522
1523 * gdb.python/py-lookup-type.exp: New file.
1524
3d230f71
PA
15252015-01-12 Pedro Alves <palves@redhat.com>
1526
1527 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
1528 restore GDBFLAGS before returning.
1529
7e67715d
JK
15302015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1531
1532 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
1533 is_amd64_regs_target and is_x86_like_target.
1534
f2e0d4b4
DE
15352015-01-11 Doug Evans <xdje42@gmail.com>
1536
1537 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
1538 is given without an explicit form.
1539 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
1540 attributes.
1541 * gdb.dwarf/corrupt.exp: Ditto.
1542 * gdb.dwarf2/enum-type.exp: Ditto.
1543 * gdb.trace/entry-values.exp: Ditto.
1544 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
1545
439250fb
DE
15462015-01-11 Doug Evans <xdje42@gmail.com>
1547
1548 PR gdb/15830
1549 * gdb.base/maint.exp: Remove references to "maint demangle".
1550 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
1551 Add tests for explicitly specifying language to demangle.
1552 * gdb.dlang/demangle.exp: Ditto.
1553
ede9f622
PA
15542015-01-09 Pedro Alves <palves@redhat.com>
1555
1556 * gdb.threads/non-stop-fair-events.c: New file.
1557 * gdb.threads/non-stop-fair-events.exp: New file.
1558
a7b796db
PA
15592015-01-09 Pedro Alves <palves@redhat.com>
1560
1561 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
1562 the global scope. Set a breakpoint after all threads are started
1563 rather than stepping over two source lines. Expect the prompt.
1564 * gdb.base/watch_thread_num.c (threads_started_barrier): New
1565 global.
1566 (NUM): Now 15.
1567 (main): Use threads_started_barrier to wait for all threads to
1568 start. Main thread no longer calls thread_function. Exit after
1569 180 seconds.
1570 (loop): New function.
1571 (thread_function): Wait on threads_started_barrier barrier. Call
1572 'loop' at each iteration.
1573 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
1574 threads have started, instead of hardcoding number of "next"
1575 steps. Use an access watchpoint instead of a write watchpoint.
1576
9665ffdd
PA
15772015-01-09 Pedro Alves <palves@redhat.com>
1578
1579 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
1580 (thread_func): Wait on barrier.
1581 (main): Wait for all threads to start before stopping GDB.
1582 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
1583 global.
1584 (thread1_func, thread2_func): Wait on barrier.
1585 (main): Wait for all threads to start before stopping GDB.
1586 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
1587 New global.
1588 (thread1_func, thread2_func): Wait on barrier.
1589 (main): Wait for all threads to start before stopping GDB.
1590
c945a99f
PA
15912015-01-09 Pedro Alves <palves@redhat.com>
1592
1593 * gdb.threads/attach-many-short-lived-threads.c: New file.
1594 * gdb.threads/attach-many-short-lived-threads.exp: New file.
1595
c1a747c1
PA
15962014-01-09 Pedro Alves <palves@redhat.com>
1597
1598 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
1599 instead of to thread 2.
1600 * gdb.threads/signal-command-multiple-signals-pending.c (main):
1601 Add barrier around each pthread_create call instead of around all
1602 calls.
1603 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
1604 Set a break on thread_function and have the child threads hit it
1605 one at at a time.
1606
60b3033e
PA
16072015-01-09 Pedro Alves <palves@redhat.com>
1608
1609 * lib/gdb.exp (can_spawn_for_attach): New procedure.
1610 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
1611 false.
1612 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
1613 checking whether the target board is remote.
1614 * gdb.multi/multi-attach.exp: Likewise.
1615 * gdb.python/py-sync-interp.exp: Likewise.
1616 * gdb.server/ext-attach.exp: Likewise.
1617 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
1618 tests that need to attach, instead of checking whether the target
1619 board is remote at the top of the file.
1620
acc018ac
YQ
16212015-01-08 Yao Qi <yao@codesourcery.com>
1622
1623 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
1624
50a18af8
JK
16252015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1626
1627 Fix testcase compilation.
1628 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
1629
8503d6e1
JB
16302015-01-06 Joel Brobecker <brobecker@adacore.com>
1631
1632 * gdb.python/py-type.exp: Add a couple test about empty
1633 array creation, and negative-length array creation.
1634
cc73dbcc
DE
16352015-01-02 Doug Evans <xdje42@gmail.com>
1636
1637 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
1638
0300bbc7
DE
16392015-01-02 Doug Evans <dje@google.com>
1640
1641 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
1642
9d85a0ec
YQ
16432014-12-29 Yao Qi <yao@codesourcery.com>
1644
1645 * gdb.trace/entry-values.exp: Update comments. Rename variable
1646 bar_call_foo to returned_from_foo.
1647
87186c6a
MMN
16482014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
1649
1650 PR gdb/17394
1651 * gdb.linespec/break-asm-file.c: New file.
1652 * gdb.linespec/break-asm-file.exp: New file.
1653 * gdb.linespec/break-asm-file0.s: New file.
1654 * gdb.linespec/break-asm-file1.s: New file.
1655
1bab7383
YQ
16562014-12-18 Nigel Stephens <nigel@mips.com>
1657 Maciej W. Rozycki <macro@codesourcery.com>
1658
1659 * gdb.base/float.exp: Handle the new output from "info float" on
1660 MIPS targets.
1661
1bc1068a
JK
16622014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1663
1664 Fix MinGW compilation.
1665 * gdb.compile/compile-ops.exp: Update untested message if
1666 !skip_compile_feature_tests.
1667 * gdb.compile/compile-setjmp.exp: Likewise.
1668 * gdb.compile/compile-tls.exp: Likewise.
1669 * gdb.compile/compile.exp: Likewise.
1670 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
1671 supported on this host".
1672
b6615d10
DE
16732014-12-16 Doug Evans <xdje42@gmail.com>
1674
1675 * boards/stabs.exp: New file.
1676
25dda427
AA
16772014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
1678
1679 * gdb.base/completion.exp: Adjust to format changes of "maint
1680 print user-registers".
1681
bf330350
CU
16822014-12-16 Catalin Udma <catalin.udma@freescale.com>
1683
1684 PR server/17457
1685 * gdb.arch/aarch64-fp.c: New file.
1686 * gdb.arch/aarch64-fp.exp: New file.
1687
395cf596
SDJ
16882014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
1689
1690 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
1691 r210637, r210913, r211666, r215400, r215817).
1692
1693 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
1694 * dg-extract-results.py: New file.
1695 * dg-extract-results.sh: Use it if the environment seems
1696 suitable.
1697
1698 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
1699
1700 * dg-extract-results.py (parse_run): Handle warnings that
1701 are printed before a test harness is run.
1702
1703 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
1704
1705 * dg-extract-results.py (Named): Remove __cmp__ method.
1706 (output_variation): Use a key to sort variation.harnesses.
1707
1708 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
1709
1710 * dg-extract-results.py: For Python 3, force sys.stdout to
1711 handle surrogate escape sequences.
1712 (safe_open): New function.
1713 (output_segment, main): Use it.
1714
1715 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
1716
1717 * dg-extract-results.py (Prog.result_re): Include options
1718 in test name.
1719
1720 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
1721
1722 * dg-extract-results.py (output_variation): Always sort if
1723 do_sum.
1724
e882ef3c
SM
17252014-12-15 Simon Marchi <simon.marchi@ericsson.com>
1726
1727 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
1728 as long as we get pagination notifications.
1729
4992aa20
JM
17302014-12-15 Jason Merrill <jason@redhat.com>
1731
1732 * Makefile.in (check-gdb.%): Restore.
1733 * README: Mention it.
1734
c1b5a1a6
JB
17352014-12-13 Joel Brobecker <brobecker@adacore.com>
1736
1737 * gdb.ada/str_uninit: New testcase.
1738
5537b577
JK
17392014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1740
1741 PR symtab/17642
1742 * gdb.base/vla-stub-define.c: New file.
1743 * gdb.base/vla-stub.c: New file.
1744 * gdb.base/vla-stub.exp: New file.
1745
bb2ec1b3
TT
17462014-12-12 Phil Muldoon <pmuldoon@redhat.com>
1747 Jan Kratochvil <jan.kratochvil@redhat.com>
1748 Tom Tromey <tromey@redhat.com>
1749
1750 * configure.ac: Add gdb.compile/.
1751 * configure: Regenerate.
1752 * gdb.compile/Makefile.in: New file.
1753 * gdb.compile/compile-ops.exp: New file.
1754 * gdb.compile/compile-ops.c: New file.
1755 * gdb.compile/compile-tls.c: New file.
1756 * gdb.compile/compile-tls.exp: New file.
1757 * gdb.compile/compile-constvar.S: New file.
1758 * gdb.compile/compile-constvar.c: New file.
1759 * gdb.compile/compile-mod.c: New file.
1760 * gdb.compile/compile-nodebug.c: New file.
1761 * gdb.compile/compile-setjmp-mod.c: New file.
1762 * gdb.compile/compile-setjmp.c: New file.
1763 * gdb.compile/compile-setjmp.exp: New file.
1764 * gdb.compile/compile-shlib.c: New file.
1765 * gdb.compile/compile.c: New file.
1766 * gdb.compile/compile.exp: New file.
1767 * lib/gdb.exp (skip_compile_feature_tests): New proc.
1768
4ff709eb
TT
17692014-12-12 Tom Tromey <tromey@redhat.com>
1770
1771 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
1772 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
1773
6dddd6a5
DE
17742014-12-12 Doug Evans <dje@google.com>
1775
1776 * lib/gdb-python.exp (get_python_valueof): New function.
1777 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
1778
71c24708
AA
17792014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1780
1781 * gdb.base/completion.exp: Add test for completion of "info
1782 registers ".
1783
3e29f34a
MR
17842014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
1785
1786 * gdb.base/func-ptrs.c: New file.
1787 * gdb.base/func-ptrs.exp: New file.
1788
fc126975
SM
17892014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1790
1791 PR breakpoints/17012
1792 * gdb.base/dprintf-detach.c: New file.
1793 * gdb.base/dprintf-detach.exp: New file.
1794
0a46d518
SM
17952014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1796
1797 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
1798 * lib/gdb.exp (target_is_gdbserver): New procedure.
1799
a0be3e44
DE
18002014-12-08 Doug Evans <dje@google.com>
1801
1802 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
1803
df1b803a
YQ
18042014-12-05 Yao Qi <yao@codesourcery.com>
1805
1806 * gdb.guile/scm-error.exp: Remove the third argument to
1807 gdb_remote_download.
1808 * gdb.guile/scm-frame-args.exp: Likewise.
1809 * gdb.guile/scm-section-script.exp: Likewise.
1810
ddb9f679
YQ
18112014-12-05 Yao Qi <yao@codesourcery.com>
1812
1813 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
1814
86e4ed39
DE
18152014-12-04 Doug Evans <dje@google.com>
1816
1817 * gdb.python/py-objfile.exp: Add tests for
1818 objfile.add_separate_debug_file.
1819
7c50a931
DE
18202014-12-04 Doug Evans <dje@google.com>
1821
1822 * lib/gdb.exp (get_build_id): New function.
1823 (build_id_debug_filename_get): Rewrite to use it.
1824 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
1825
621661e3
MR
18262014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
1827
1828 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
1829 `method(long)', not just 0x0.
1830 * gdb.cp/nsalias.exp: Align code labels to 4.
1831 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
1832 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
1833 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
1834 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
1835 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
1836 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
1837
29f0c3b7
DE
18382014-12-02 Doug Evans <dje@google.com>
1839
e1e061e7 1840 PR symtab/17602
29f0c3b7 1841 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 1842 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
1843 * gdb.cp/anon-ns.exp: Update.
1844
162078c8
NB
18452014-12-02 Nick Bull <nicholaspbull@gmail.com>
1846
1847 * gdb.python/py-events.py (inferior_call_handler): New.
1848 (register_changed_handler, memory_changed_handler): New.
1849 (test_events.invoke): Register new handlers.
1850 * gdb.python/py-events.exp: Add tests for inferior call,
1851 memory_changed and register_changed events.
1852
fdb09caf
AA
18532014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1854
1855 * gdb.base/execl-update-breakpoints.exp: Specify the link address
1856 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
1857 if the linker doesn't understand this.
1858
55cfb2c4
SM
18592014-12-01 Simon Marchi <simon.marchi@ericsson.com>
1860
1861 * gdb.python/python.exp: Change expected reply to help().
1862
9e8cd6df
YQ
18632014-12-01 Yao Qi <yao@codesourcery.com>
1864
1865 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
1866 AC_CONFIG_SUBDIRS(gdb.gdbtk).
1867 * configure: Re-generated.
1868
6c659fc2
SC
18692014-11-28 Siva Chandra Reddy <sivachandra@google.com>
1870
1871 * gdb.cp/chained-calls.cc: New file.
1872 * gdb.cp/chained-calls.exp: New file.
1873 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
1874
d7fc3181
SM
18752014-11-28 Simon Marchi <simon.marchi@ericsson.com>
1876
1877 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
1878 * gdb.dwarf2/symtab-producer.exp: Same.
1879 * gdb.gdb/python-interrupts.exp: Same.
1880 * gdb.gdb/python-selftest.exp: Same.
1881 * gdb.python/py-linetable.exp: Same.
1882 * gdb.python/py-type.exp: Same.
1883 * gdb.python/py-value-cc.exp: Same.
1884 * gdb.python/py-value.exp: Same.
1885
10e79639
YQ
18862014-11-28 Yao Qi <yao@codesourcery.com>
1887
1888 * gdb.base/break-probes.exp: Match library name prefixed with
1889 sysroot.
1890
f28a0564
SM
18912014-11-27 Simon Marchi <simon.marchi@ericsson.com>
1892
1893 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
1894 test expected output. Add parentheses for the call to print.
1895 Remove L suffix from integers.
1896
3fe1ce1d
DE
18972014-11-26 Doug Evans <dje@google.com>
1898
1899 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
1900
84429e27
YQ
19012014-11-22 Yao Qi <yao@codesourcery.com>
1902
1903 * gdb.trace/entry-values.c: Remove asms.
1904 (foo): Add foo_label.
1905 (bar): Add bar_label.
1906 * gdb.trace/entry-values.exp: Remove code computing foo's
1907 length and bar's length.
1908 (Dwarf::assemble): Invoke function_range for bar and use
1909 MACRO_AT_func for foo.
1910
26741859
YQ
19112014-11-22 Yao Qi <yao@codesourcery.com>
1912
1913 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
1914 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
1915 Use .Lgcc43_procstart instead of gcc43.
1916
45e44d27
JB
19172014-11-21 Joel Brobecker <brobecker@adacore.com>
1918
1919 * gdb.ada/n_arr_bound: New testcase.
1920
458c8db8
SDJ
19212014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1922
1923 PR breakpoints/10737
1924 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
1925 test_catch_syscall_multi_arch.
1926 (test_catch_syscall_multi_arch): New function.
1927
43f3e411
DE
19282014-11-20 Doug Evans <xdje42@gmail.com>
1929
1930 * gdb.base/maint.exp: Update expected output.
1931
0d7b2549
AA
19322014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1933
1934 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
1935 4-byte instruction on S390.
1936
8908fca5
JB
19372014-11-19 Joel Brobecker <brobecker@adacore.com>
1938
1939 * gdb.ada/arr_arr: New testcase.
1940
4a46959e
JB
19412014-11-19 Joel Brobecker <brobecker@adacore.com>
1942
1943 * gdb.ada/pkd_arr_elem: New Testcase.
1944
470e2f4e
LM
19452014-11-18 Luis Machado <lgustavo@codesourcery.com>
1946
1947 * gdb.reverse/break-precsave: Expect completion message for
1948 core file reads.
1949 * gdb.reverse/consecutive-precsave.exp: Likewise.
1950 * gdb.reverse/finish-precsave.exp: Likewise.
1951 * gdb.reverse/i386-precsave.exp: Likewise.
1952 * gdb.reverse/machinestate-precsave.exp: Likewise.
1953 * gdb.reverse/sigall-precsave.exp: Likewise.
1954 * gdb.reverse/solib-precsave.exp: Likewise.
1955 * gdb.reverse/step-precsave.exp: Likewise.
1956 * gdb.reverse/until-precsave.exp: Likewise.
1957 * gdb.reverse/watch-precsave.exp: Likewise.
1958
a267f3ad
AA
19592014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1960
1961 * gdb.base/bp-permanent.c: Include unistd.h.
1962 * gdb.python/py-framefilter-mi.c (main): Add return type.
1963 * gdb.python/py-framefilter.c (main): Likewise.
1964 * gdb.trace/actions-changed.c (main): Likewise.
1965
12084a9a
AA
19662014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1967
1968 * gdb.mi/until.c: Add eye-catchers.
1969 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
1970 line numbers.
1971
dc7e1a77
AA
19722014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1973
1974 * gdb.base/condbreak.exp: Drop references to removed non-prototype
1975 function header variants in break1.c.
1976 * gdb.base/ena-dis-br.exp: Likewise.
1977 * gdb.base/hbreak2.exp: Likewise.
1978 * gdb.reverse/until-precsave.exp: Drop references to removed
1979 non-prototype function header variants in ur1.c.
1980 * gdb.reverse/until-reverse.exp: Likewise.
1981
41c77605
PM
19822014-11-17 Petr Machata <pmachata@redhat.com>
1983
1984 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
1985 ${_cu_offset_size} bytes abbrev offset.
1986
34248c3a
DE
19872014-11-15 Doug Evans <xdje42@gmail.com>
1988
1989 PR symtab/17559
1990 * gdb.base/line-symtabs.exp: New file.
1991 * gdb.base/line-symtabs.c: New file.
1992 * gdb.base/line-symtabs.h: New file.
1993
646da059
YQ
19942014-11-14 Yao Qi <yao@codesourcery.com>
1995
1996 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
1997 (func): Add label func_label.
1998 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
1999 Replace low_pc and high_pc with MACRO_AT_range.
2000 Replace name, low_pc and high_pc with MACRO_AT_func.
2001
9301ebe6
YQ
20022014-11-14 Yao Qi <yao@codesourcery.com>
2003
2004 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
2005 Replace name, low_pc and high_pc with MACRO_AT_func.
2006
f166b542
YQ
20072014-11-14 Yao Qi <yao@codesourcery.com>
2008
2009 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
2010 produce debug information.
2011 * gdb.dwarf2/implptr-optimized-out.S: Removed.
2012
0f6e71e3
YQ
20132014-11-14 Yao Qi <yao@codesourcery.com>
2014
2015 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
2016 object and get function length.
2017 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
2018 with MACRO_AT_func.
2019 (top-level): Replace gdb_compile and clean_restart with
2020 prepare_for_testing.
2021 * gdb.dwarf2/main.c (main): Add label main_label.
2022
876c4df9
YQ
20232014-11-14 Yao Qi <yao@codesourcery.com>
2024
2025 * lib/dwarf.exp (function_range): New procedure.
2026 (Dwarf::_handle_macro_at_func): New procedure.
2027 (Dwarf::_handle_macro_at_range): New procedure.
2028 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
2029
02ad9cf1
YQ
20302014-11-14 Yao Qi <yao@codesourcery.com>
2031
2032 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
2033 (_handle_attribute): New procedure.
2034
a59add0c
AA
20352014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2036
2037 * gdb.ada/cond_lang/foo.c (callme): Add return type.
2038 * gdb.base/call-sc.c (zed): Likewise.
2039 * gdb.base/checkpoint.c (main): Likewise.
2040 * gdb.base/dump.c (main): Likewise.
2041 * gdb.base/gcore.c (main): Likewise.
2042 * gdb.base/huge.c (main): Likewise.
2043 * gdb.base/multi-forks.c (main): Likewise.
2044 * gdb.base/pr10179-a.c (main): Likewise.
2045 * gdb.base/savedregs.c (main): Likewise.
2046 * gdb.base/sigaltstack.c (main): Likewise.
2047 * gdb.base/siginfo.c (main): Likewise.
2048 * gdb.base/structs.c (zed): Likewise.
2049 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
2050 * gdb.mi/mi-syn-frame.c (main): Likewise.
2051 * gdb.mi/until.c (foo, main): Likewise.
2052 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
2053 * gdb.base/solib-weak.c (foo): Declare.
2054 * gdb.base/attach-twice.c: Include stdio.h.
2055 * gdb.base/weaklib1.c: Likewise.
2056 * gdb.base/weaklib2.c: Likewise.
2057 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
2058 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
2059 unistd.h.
2060 * gdb.base/attach-pie-misread.c: Include stdlib.h.
2061 * gdb.mi/mi-exit-code.c: Likewise.
2062 * gdb.base/break-interp-lib.c: Include string.h.
2063 * gdb.base/coremaker.c: Likewise.
2064 * gdb.base/testenv.c: Likewise.
2065 * gdb.python/py-finish-breakpoint.c: Likewise.
2066 * gdb.base/inferior-died.c: Include sys/wait.h.
2067 * gdb.base/fileio.c: Include time.h.
2068 * gdb.base/async-shell.c: Include unistd.h.
2069 * gdb.base/dprintf-non-stop.c: Likewise.
2070 * gdb.base/info-os.c: Likewise.
2071 * gdb.mi/mi-console.c: Likewise.
2072 * gdb.mi/watch-nonstop.c: Likewise.
2073 * gdb.python/py-events.c: Likewise.
2074 * gdb.base/async.c (baz): Move up before its invocation.
2075 * gdb.base/code_elim2.c (my_global_func): Likewise.
2076 * gdb.base/skip-solib-lib.c (multiply): Likewise.
2077 * gdb.base/advance.c (func2): Likewise.
2078
3b5d5997
AA
20792014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2080
2081 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
2082 variant.
2083 * gdb.base/annota3.c: Likewise.
2084 * gdb.base/async.c: Likewise.
2085 * gdb.base/average.c: Likewise.
2086 * gdb.base/call-ar-st.c: Likewise.
2087 * gdb.base/call-rt-st.c: Likewise.
2088 * gdb.base/call-sc.c: Likewise.
2089 * gdb.base/call-strs.c: Likewise.
2090 * gdb.base/ending-run.c: Likewise.
2091 * gdb.base/execd-prog.c: Likewise.
2092 * gdb.base/exprs.c: Likewise.
2093 * gdb.base/foll-exec.c: Likewise.
2094 * gdb.base/foll-fork.c: Likewise.
2095 * gdb.base/foll-vfork.c: Likewise.
2096 * gdb.base/funcargs.c: Likewise.
2097 * gdb.base/gcore.c: Likewise.
2098 * gdb.base/jump.c: Likewise.
2099 * gdb.base/langs0.c: Likewise.
2100 * gdb.base/langs1.c: Likewise.
2101 * gdb.base/langs2.c: Likewise.
2102 * gdb.base/mips_pro.c: Likewise.
2103 * gdb.base/nodebug.c: Likewise.
2104 * gdb.base/opaque0.c: Likewise.
2105 * gdb.base/opaque1.c: Likewise.
2106 * gdb.base/recurse.c: Likewise.
2107 * gdb.base/run.c: Likewise.
2108 * gdb.base/scope0.c: Likewise.
2109 * gdb.base/scope1.c: Likewise.
2110 * gdb.base/setshow.c: Likewise.
2111 * gdb.base/setvar.c: Likewise.
2112 * gdb.base/shmain.c: Likewise.
2113 * gdb.base/shr1.c: Likewise.
2114 * gdb.base/shr2.c: Likewise.
2115 * gdb.base/sigall.c: Likewise.
2116 * gdb.base/signals.c: Likewise.
2117 * gdb.base/so-indr-cl.c: Likewise.
2118 * gdb.base/solib2.c: Likewise.
2119 * gdb.base/structs.c: Likewise.
2120 * gdb.base/sum.c: Likewise.
2121 * gdb.base/vforked-prog.c: Likewise.
2122 * gdb.base/watchpoint.c: Likewise.
2123 * gdb.reverse/shr2.c: Likewise.
2124 * gdb.reverse/until-reverse.c: Likewise.
2125 * gdb.reverse/ur1.c: Likewise.
2126 * gdb.reverse/watch-reverse.c: Likewise.
2127
066a77c5
AA
21282014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2129
2130 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
2131 variant.
2132 * gdb.base/sepdebug.exp: Drop references to removed code.
2133
4f204ea5
AA
21342014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2135
2136 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
2137 variant. Preserve original line numbering.
2138 * gdb.base/list1.c: Likewise.
2139
3b377a3a
AA
21402014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2141
2142 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
2143 variant.
2144 * gdb.base/break1.c: Likewise.
2145 * gdb.base/break.exp: Drop references to removed code.
2146
e444df73
AA
21472014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2148
2149 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
2150 variant.
2151
8008f2a7
AA
21522014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2153
2154 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
2155
a5a06887
AA
21562014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2157
2158 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
2159 logic into perform_all_tests() and invoke it with and without
2160 function header prototypes.
2161 (do_function_calls): Remove conditional XFAIL for PR 5318.
2162 (rerun_and_prepare): Remove duplicate code.
2163 (perform_all_tests): New. Main logic moved here.
2164
44dba9b9
AA
21652014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2166
2167 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
2168 code guarded by #ifdef NO_PROTOTYPES.
2169 (t_double_many_args): Likewise.
2170 (DEF_FUNC_MANY_ARGS_1): Likewise.
2171 (DEF_FUNC_VALUES_1): Likewise.
2172 (t_structs_ldc): Renamed from t_structs_fc in conditional code
2173 guarded by #ifdef PROTOTYPES.
2174
d1fbcd56
AA
21752014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2176
2177 * gdb.mi/mi-console.c: Add eye-catcher.
2178 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
2179 instead of literal line number.
2180
b0e59b8f
AA
21812014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2182
2183 * gdb.base/shr2.c: Add eye-catcher.
2184 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
2185 line number.
2186
78f98cca
AA
21872014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2188
2189 * gdb.base/jump.c: Add eye-catchers.
2190 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
2191 numbers.
2192
58fa2af0
AA
21932014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2194
2195 * gdb.base/execd-prog.c: Add eye-catchers.
2196 * gdb.base/foll-exec.c: Likewise.
2197 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
2198 line numbers.
2199
04e5059b
AA
22002014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2201
2202 * gdb.base/ending-run.c: Add eye-catchers.
2203 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
2204 literal line numbers.
2205
dbfdb174
AA
22062014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2207
2208 * gdb.base/call-rt-st.c: Add eye-catchers.
2209 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
2210 literal line numbers.
2211
888a2ade
AA
22122014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2213
2214 * gdb.base/call-ar-st.c: Add eye-catchers.
2215 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
2216 literal line numbers.
2217
6acc2dde
AA
22182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2219
2220 * gdb.base/average.c: Add eye-catchers.
2221 * gdb.base/sum.c: Likewise.
2222 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
2223 regexps dynamically.
2224
9ecfcd1d
AA
22252014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2226
2227 * gdb.base/solib1.c: Add eye-catchers.
2228 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
2229 literal line numbers.
2230
78708b7c
PA
22312014-11-12 Pedro Alves <palves@redhat.com>
2232
2233 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
2234 leader has exited.
2235
af48d08f
PA
22362014-11-12 Pedro Alves <palves@redhat.com>
2237
2238 * gdb.arch/i386-bp_permanent.c: New file.
2239 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
2240 (srcfile): Set to i386-bp_permanent.c.
2241 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
2242 that stepi does not execute the 'leave' instruction, instead of
2243 testing it does execute.
2244 * gdb.base/bp-permanent.c: New file.
2245 * gdb.base/bp-permanent.exp: New file.
2246
af3768e9
DE
22472014-11-10 Doug Evans <xdje42@gmail.com>
2248
2249 PR symtab/17564
2250 * gdb.base/symtab-search-order.exp: New file.
2251 * gdb.base/symtab-search-order.c: New file.
2252 * gdb.base/symtab-search-order-1.c: New file.
2253 * gdb.base/symtab-search-order-shlib-1.c: New file.
2254
9de00a4a
PA
22552014-11-07 Pedro Alves <palves@redhat.com>
2256
2257 PR gdb/17511
2258 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
2259 i?86-*-linux*.
2260
e0f52461
SC
22612014-11-03 Siva Chandra Reddy <sivachandra@google.com>
2262
2263 PR c++/17494
2264 * gdb.cp/pr17494.cc: New file.
2265 * gdb.cp/pr17494.exp: New file.
2266
6ce8c980
YQ
22672014-11-02 Yao Qi <yao@codesourcery.com>
2268
2269 * gdb.python/python.exp: Get working directory and match the
2270 output of "set extended-prompt \\w " with it.
2271
02be9a71
DE
22722014-10-30 Doug Evans <dje@google.com>
2273
2274 * gdb.python/py-objfile.exp: Add tests for setting random attributes
2275 in objfiles.
2276 * gdb.python/py-progspace.exp: Add tests for setting random attributes
2277 in progspaces.
2278
3bdff46b
LM
22792014-10-30 Janis Johnson <janisjo@codesourcery.com>
2280
2281 * gdb.base/fullpath-expand.exp: Skip for a remote host.
2282 * gdb.base/realname-expand.exp: Likewise.
2283 * gdb.linespec/macro-relative.exp: Likewise.
2284
ab917dfb
PA
22852014-10-29 Pedro Alves <palves@redhat.com>
2286
2287 PR gdb/17408
2288 * gdb.threads/schedlock.c (some_function): New function.
2289 (call_function): New global.
2290 (MAYBE_CALL_SOME_FUNCTION): New macro.
2291 (thread_function): Call it.
2292 * gdb.threads/schedlock.exp (get_args): Add description parameter,
2293 and use it instead of a global counter. Adjust all callers.
2294 (get_current_thread): Use "find current thread" for test message
2295 here rather than having all callers pass down the same string.
2296 (goto_loop): New procedure, factored out from ...
2297 (my_continue): ... this.
2298 (step_ten_loops): Change parameter from test message to command to
2299 use. Adjust.
2300 (list_count): Delete global.
2301 (check_result): New procedure, factored out from duplicate top
2302 level code.
2303 (continue tests): Wrap in with_test_prefix.
2304 (test_step): New procedure, factored out from duplicate top level
2305 code.
2306 (top level): Test "step" in combination with all scheduler-locking
2307 modes. Test "next" in combination with all scheduler-locking
2308 modes, and in combination with stepping over a function call or
2309 not.
2310 * gdb.threads/next-bp-other-thread.c: New file.
2311 * gdb.threads/next-bp-other-thread.exp: New file.
2312
d3d4baed
PA
23132014-10-29 Pedro Alves <palves@redhat.com>
2314
2315 PR python/17372
2316 * gdb.python/python.exp: Test a multi-line command that spawns
2317 interactive Python.
2318 * gdb.base/multi-line-starts-subshell.exp: New file.
2319
563e8d85
YQ
23202014-10-29 Yao Qi <yao@codesourcery.com>
2321
2322 * gdb.base/fileio.exp: Make directories on host.
2323
0ea4d52e
YQ
23242014-10-29 Yao Qi <yao@codesourcery.com>
2325
2326 * gdb.base/fileio.c (test_write): Close the file.
2327
7f5ef605
PA
23282014-10-28 Pedro Alves <palves@redhat.com>
2329
2330 PR gdb/12623
2331 * gdb.base/sigstep.c (no_handler): New global.
2332 (main): If 'no_handler is true, set the signal handlers to
2333 SIG_IGN.
2334 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
2335 with_sw_watch and no_handler parameters. Handle them.
2336 (top level) <stepping over handler when stopped at a breakpoint
2337 test>: Add a test axis for testing with a software watchpoint, and
2338 another for testing with the signal handler set to SIG_IGN.
2339 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
2340 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
2341
abbdbd03
PA
23422014-10-28 Pedro Alves <palves@redhat.com>
2343
2344 PR gdb/17511
2345 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
2346 * gdb.base/sigstep.exp (other_handler_location): New global.
2347 (advance): Support stepping into the signal handler, and running
2348 commands while in the handler.
2349 (in_handler_map): New global.
2350 (top level): In the advance test, add combinations for getting
2351 into the handler with stepping commands, and for running commands
2352 in the handler. Add comment descripting the advancei tests.
2353
1df4399f
PA
23542014-10-28 Pedro Alves <palves@redhat.com>
2355
2356 * gdb.base/sigstep.exp: Use build_executable instead of
2357 prepare_for_testing.
2358 (top level): Move code that starts GDB, runs to main and creates a
2359 display to ...
2360 (restart): ... this new procedure.
2361 (top level): Move backtrace from signal handler test to ...
2362 (validate_backtrace): ... this new procedure.
2363 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
2364 with_test_prefix. Always restart GDB.
2365 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
2366 with_test_prefix. Always restart GDB. No need to delete
2367 breakpoints after the test.
2368 (test_skip_handler): Remove prefix parameter.
2369 (skip_over_handler, breakpoint_to_handler)
2370 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
2371 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
2372 restart GDB. No need to delete breakpoints after the test.
2373 (top level): Use foreach to call the test procedures with
2374 different commands.
2375
a5b6e449
PA
23762014-10-28 Pedro Alves <palves@redhat.com>
2377
2378 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
2379 instead of GNATS numbers.
2380 * gdb.base/sigbpt.exp: Likewise.
2381 * gdb.base/siginfo.exp: Likewise.
2382 * gdb.base/sigstep.exp: Likewise.
2383
e5f8a7cc
PA
23842014-10-27 Pedro Alves <palves@redhat.com>
2385
2386 * gdb.base/sigstep.c (dummy): New global.
2387 (main): Issue a couple writes to the new global.
2388 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
2389 procedures.
2390 (skip_over_handler): Use test_skip_handler.
2391 (top level): Call skip_over_handler for stepi and nexti too.
2392 (breakpoint_over_handler): Use test_skip_handler.
2393 (top level): Call breakpoint_over_handler for stepi and nexti too.
2394
763905a3
YQ
23952014-10-27 Yao Qi <yao@codesourcery.com>
2396
2397 * gdb.trace/tfile.c (adjust_function_address)
2398 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
2399 function descriptor.
2400
6f259a23
DB
24012014-10-24 Don Breazeal <donb@codesourcery.com>
2402
2403 * gdb.base/foll-fork.exp (test_follow_fork,
2404 catch_fork_child_follow): Check for updated fork messages emitted
2405 from infrun.c.
2406 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
2407 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
2408 vfork_and_exec_child_follow_through_step): Check for updated vfork
2409 messages emitted from infrun.c.
2410
09dd9a69
PA
24112014-10-24 Pedro Alves <palves@redhat.com>
2412
2413 * gdb.base/corefile.exp: Remove references to ultrix.
2414 * gdb.base/interrupt.exp: Likewise.
2415 * gdb.base/whatis.exp: Likewise.
2416 * gdb.gdb/selftest.exp: Likewise.
2417 * gdb.threads/manythreads.exp: Likewise.
2418 * gdb.threads/print-threads.exp: Likewise.
2419 * gdb.threads/pthreads.exp:: Likewise.
2420 * gdb.threads/schedlock.exp: Likewise.
2421
3433cfa5
SC
24222014-10-24 Siva Chandra Reddy <sivachandra@google.com>
2423
2424 * gdb.cp/non-trivial-retval.cc: Add a test case.
2425 * gdb.cp/non-trivial-retval.exp: Add a test.
2426
092f880b
YQ
24272014-10-20 Yao Qi <yao@codesourcery.com>
2428
2429 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
2430 * gdb.python/py-objfile-script-gdb.py: New file.
2431 * gdb.python/py-objfile-script.exp: Update reference to
2432 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
2433 of remote_download. Remove the dest file.
2434
acbdb7f3
YQ
24352014-10-20 Yao Qi <yao@codesourcery.com>
2436
2437 * gdb.base/checkpoint.exp: Don't remove file copied on host.
2438 * gdb.base/step-line.exp: Likewise.
2439 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2440 * gdb.dwarf2/dw2-basic.exp: Likewise.
2441 * gdb.dwarf2/dw2-compressed.exp: Likewise.
2442 * gdb.dwarf2/dw2-filename.exp: Likewise.
2443 * gdb.dwarf2/dw2-intercu.exp: Likewise.
2444 * gdb.dwarf2/dw2-intermix.exp: Likewise.
2445 * gdb.dwarf2/dw2-producer.exp: Likewise.
2446 * gdb.dwarf2/mac-fileno.exp: Likewise.
2447 * gdb.python/py-frame-args.exp: Likewise.
2448 * gdb.python/py-framefilter.exp: Likewise.
2449 * gdb.python/py-mi.exp: Likewise.
2450 * gdb.python/py-objfile-script.exp: Likewise
2451 * gdb.python/py-pp-integral.exp: Likewise.
2452 * gdb.python/py-pp-re-notag.exp: Likewise.
2453 * gdb.python/py-prettyprint.exp: Likewise.
2454 * gdb.python/py-section-script.exp: Likewise.
2455 * gdb.python/py-typeprint.exp: Likewise.
2456 * gdb.python/py-xmethods.exp: Likewise.
2457 * gdb.stabs/weird.exp: Likewise.
2458 * gdb.xml/tdesc-regs.exp: Likewise.
2459
bd286a29
KCY
24602014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
2461
2462 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
2463 (out_cu): Use addr_len for the size of addresses.
2464 (out_line): Likewise. Size DW_LNE_set_address instruction
2465 according to addr_len.
2466 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
2467 (FUNC): Add START_INSNS to definition.
2468
673dc4a0
YQ
24692014-10-18 Yao Qi <yao@codesourcery.com>
2470
2471 * gdb.base/argv0-symlink.exp: Check argv[0] value if
2472 gdb_has_argv0 return true.
2473 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
2474 check [target_info exists noargs], check [gdb_has_argv0]
2475 instead.
2476 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2477 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
2478 procedures.
2479
4ffbba72
DE
24802014-10-17 Doug Evans <dje@google.com>
2481
2482 * gdb.python/py-events.exp: Update expected output for clear_objfiles
2483 event.
2484 * gdb.python/py-events.py: Add clear_objfiles event.
2485
d096d8c1
DE
24862014-10-17 Doug Evans <dje@google.com>
2487
2488 * gdb.python/py-objfile.exp: Test progspace attribute.
2489
a80db015
LM
24902014-10-17 Luis Machado <lgustavo@codesourcery.com>
2491
2492 * gdb.guile/scm-breakpoint.exp: Do not assume any
2493 directory separators when matching source file paths.
2494 * gdb.python/py-breakpoint.exp: Likewise.
2495 * gdb.reverse/break-precsave.exp: Likewise.
2496 * gdb.reverse/break-reverse.exp: Likewise.
2497 * gdb.reverse/consecutive-precsave.exp: Likewise.
2498 * gdb.reverse/finish-precsave.exp: Likewise.
2499 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
2500 * gdb.reverse/finish-reverse.exp: Likewise.
2501 * gdb.reverse/i386-precsave.exp: Likewise.
2502 * gdb.reverse/i387-env-reverse.exp: Likewise.
2503 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2504 * gdb.reverse/machinestate-precsave.exp: Likewise.
2505 * gdb.reverse/machinestate.exp: Likewise.
2506 * gdb.reverse/sigall-precsave.exp: Likewise.
2507 * gdb.reverse/solib-precsave.exp: Likewise.
2508 * gdb.reverse/step-precsave.exp: Likewise.
2509 * gdb.reverse/until-precsave.exp: Likewise.
2510 * gdb.reverse/watch-precsave.exp: Likewise.
2511 * gdb.reverse/watch-reverse.exp: Likewise.
2512
b22089ab
YQ
25132014-10-17 Yao Qi <yao@codesourcery.com>
2514
2515 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
2516 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
2517
6c4486e6
PA
25182014-10-17 Pedro Alves <palves@redhat.com>
2519
2520 PR gdb/17471
2521 * gdb.base/bg-execution-repeat.c: New file.
2522 * gdb.base/bg-execution-repeat.exp: New file.
2523
0ff33695
PA
25242014-10-17 Pedro Alves <palves@redhat.com>
2525
2526 PR gdb/17300
2527 * gdb.base/continue-all-already-running.c: New file.
2528 * gdb.base/continue-all-already-running.exp: New file.
2529
6fdebc3d
PA
25302014-10-17 Pedro Alves <palves@redhat.com>
2531
2532 PR gdb/17472
2533 * gdb.base/annota-input-while-running.c: New file.
2534 * gdb.base/annota-input-while-running.exp: New file.
2535
32a8097b
PA
25362014-10-17 Pedro Alves <palves@redhat.com>
2537
2538 * gdb.base/callfuncs.exp: emove references to osf.
2539 * gdb.base/sigall.exp: Likewise.
2540 * gdb.gdb/selftest.exp: Likewise.
2541 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
2542 * gdb.mi/non-stop.c: Likewise.
2543 * gdb.mi/pthreads.c: Likewise.
2544 * gdb.reverse/sigall-precsave.exp: Likewise.
2545 * gdb.reverse/sigall-reverse.exp: Likewise.
2546 * gdb.threads/pthreads.c: Likewise.
2547 * gdb.threads/pthreads.exp: Likewise.
2548
7a3517ff
YQ
25492014-10-17 Yao Qi <yao@codesourcery.com>
2550
2551 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
2552 check 'target_info exists noargs'.
2553 (test_command_prompt_position): Likewise.
2554 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
2555 Remove "set args".
2556 (progvar_simple_while_test): Likewise.
2557 (progvar_complex_if_while_test): Likewise.
2558 (if_while_breakpoint_command_test): Likewise.
2559 (infrun_breakpoint_command_test): Likewise.
2560 (breakpoint_command_test): Likewise.
2561 (watchpoint_command_test): Likewise.
2562 (bp_deleted_in_command_test): Likewise.
2563 (temporary_breakpoint_commands): Likewise.
2564
bb99c472
YQ
25652014-10-16 Yao Qi <yao@codesourcery.com>
2566
2567 * gdb.base/remotetimeout.exp: Remove noargs checking.
2568
7c16b83e
PA
25692014-10-15 Pedro Alves <palves@redhat.com>
2570
2571 PR breakpoints/9649
2572 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
2573 * gdb.base/breakpoint-in-ro-region.exp
2574 (probe_target_hardware_step): New procedure.
2575 (top level): Probe hardware stepping and hardware breakpoint
2576 support. Test stepping through a read-only region, with both
2577 "breakpoint auto-hw" on and off and both "always-inserted" on and
2578 off.
2579
35a49624
IB
25802014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
2581
2582 * gdb.dlang/demangle.exp: Update for demangling changes.
2583
2d1c107c
SC
25842014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2585
2586 * gdb.cp/non-trivial-retval.cc: Add new test cases.
2587 * gdb.cp/non-trivial-retval.exp: Add new tests.
2588
778811d5
SC
25892014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2590
2591 PR c++/13403
2592 PR c++/15154
2593 * gdb.cp/non-trivial-retval.cc: New file.
2594 * gdb.cp/non-trivial-retval.exp: New file.
2595
10c5f0a8
YQ
25962014-10-15 Yao Qi <yao@codesourcery.com>
2597
2598 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
2599 remote host.
2600
65d7b369
YQ
26012014-10-15 Yao Qi <yao@codesourcery.com>
2602
2603 * gdb.python/py-symbol.exp: Match file base name if host is
2604 remote, otherwise match file name with dir name.
2605 * gdb.python/py-symtab.exp: Likewise.
2606 * gdb.python/python.exp: Likewise.
2607
46dc1394
YQ
26082014-10-15 Yao Qi <yao@codesourcery.com>
2609
2610 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
2611 pattern.
2612 * gdb.python/py-symtab.exp: Likewise.
2613 * gdb.python/python.exp: Remove trailing ".*". Fix typo
2614 locationn.
2615
c40cc657
JB
26162014-10-14 Joel Brobecker <brobecker@adacore.com>
2617
2618 * gdb.ada/addr_arith: New testcase.
2619
2abf49e1
MR
26202014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
2621
2622 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
2623 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
2624 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
2625 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
2626
f7088df3
SDJ
26272014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
2628
2629 * gdb.arch/stap-eval-lang-ada.S: Likewise.
2630 * gdb.arch/stap-eval-lang-ada.c: Likewise.
2631 * gdb.arch/stap-eval-lang-ada.exp: New file.
2632
4dc06805
YQ
26332014-10-14 Yao Qi <yao@codesourcery.com>
2634
2635 * gdb.mi/mi-var-child.c (nothing1): New function.
2636 (nothing2): New function.
2637 (do_children_tests): Set function pointers by nothing1 and
2638 nothing2.
2639 * gdb.mi/mi-var-child.exp: Step over new added statements.
2640 Update test to match the new output.
2641 * gdb.mi/var-cmd.c (nothing1): New function.
2642 (nothing2): New function.
2643 (do_children_tests): Set function pointers by nothing1 and
2644 nothing2.
2645 * gdb.mi/mi-var-display.exp: Update test to match output.
2646 Step to the line specified by $line_dct_nothing.
2647 Increase the number of lines to step.
2648
46a93de2
YQ
26492014-10-14 Yao Qi <yao@codesourcery.com>
2650
2651 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
2652 tests.
2653 * gdb.mi/mi2-var-child.exp: Likewise.
2654
14ea52ee
DE
26552014-10-13 Doug Evans <dje@google.com>
2656
2657 * gdb.python/py-objfile.exp: Change name of file name test.
2658
e5c6e92b
DE
26592014-10-13 Doug Evans <dje@google.com>
2660
2661 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
2662 from the start of the CU.
2663
c780cc2f
JK
26642014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2665 Yao Qi <yao@codesourcery.com>
2666
2667 Fix "save breakpoints" for "catch" command.
2668 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
2669 Remove -nonewline. Match also the added "main" line.
2670
99894e11
JK
26712014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2672
2673 Fix "save breakpoints" for "disable $bpnum" command.
2674 * gdb.base/save-bp.c (main): Add label.
2675 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
2676
6e1ac5a3
JK
26772014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2678
2679 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
2680
754dd2b0
YQ
26812014-10-11 Yao Qi <yao@codesourcery.com>
2682
2683 * gdb.server/server-kill.exp: Execute command
2684 "set remote trace-status-packet on" before "tstatus".
2685
f90183d7
YQ
26862014-10-11 Yao Qi <yao@codesourcery.com>
2687
2688 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
2689 (main): Call getppid.
2690 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
2691 and continue to it. Read variable "server_pid".
2692
bf40a607
YQ
26932014-10-11 Yao Qi <yao@codesourcery.com>
2694
2695 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
2696
052ca370
YQ
26972014-10-11 Yao Qi <yao@codesourcery.com>
2698
2699 * gdb.threads/thread-find.exp: Don't execute command
2700 "info threads".
2701 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
2702 * gdb.threads/linux-dp.exp: Don't check the condition
2703 $threads_created equals to zero.
2704
3831839c
PA
27052014-10-10 Pedro Alves <palves@redhat.com>
2706
2707 * gdb.base/bigcore.exp: Remove references to IRIX.
2708 * gdb.base/funcargs.exp: Likewise.
2709 * gdb.base/interrupt.exp: Likewise.
2710 * gdb.base/mips_pro.exp: Likewise.
2711 * gdb.base/nodebug.exp: Likewise.
2712 * gdb.base/setvar.exp: Likewise.
2713 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
2714
8b9a549d
PA
27152014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2716 Pedro Alves <palves@redhat.com>
2717
2718 PR symtab/14466
2719 * gdb.base/vdso-warning.c: New file.
2720 * gdb.base/vdso-warning.exp: New file.
2721
d48ba5e8
DE
27222014-10-02 Doug Evans <dje@google.com>
2723
2724 * gdb.base/structs.c (main): Don't run forever.
2725
2278c276
PA
27262014-10-02 Pedro Alves <palves@redhat.com>
2727
2728 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
2729 (top level) <stop threads 1, stop threads 2>: Use it.
2730
b57bacec
PA
27312014-10-02 Pedro Alves <palves@redhat.com>
2732
2733 * gdb.threads/break-while-running.exp (test): Add new
2734 'update_thread_list' argument. Skip "info threads" if false.
2735 (top level): Add new 'update_thread_list' axis.
2736
13fd3ff3
PA
27372014-10-02 Pedro Alves <palves@redhat.com>
2738
2739 PR breakpoints/17431
2740 * gdb.base/execl-update-breakpoints.c: New file.
2741 * gdb.base/execl-update-breakpoints.exp: New file.
2742
0fec99e8
PA
27432014-10-01 Pedro Alves <palves@redhat.com>
2744
2745 * gdb.base/breakpoint-in-ro-region.c: New file.
2746 * gdb.base/breakpoint-in-ro-region.exp: New file.
2747
2ddf4301
SM
27482014-10-01 Simon Marchi <simon.marchi@ericsson.com>
2749
2750 * gdb.mi/mi-exit-code.exp: New file.
2751 * gdb.mi/mi-exit-code.c: New file.
2752
6a5f3f43
YQ
27532014-09-30 Yao Qi <yao@codesourcery.com>
2754
2755 * lib/prelink-support.exp (build_executable_own_libs): Error if
2756 the target isn't native.
2757
345bcc73
YQ
27582014-09-30 Yao Qi <yao@codesourcery.com>
2759
2760 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
2761 false.
2762
a25a5a45
PA
27632014-09-22 Pedro Alves <palves@redhat.com>
2764
2765 * gdb.threads/break-while-running.exp: New file.
2766 * gdb.threads/break-while-running.c: New file.
2767
00ba3162
YQ
27682014-09-19 Yao Qi <yao@codesourcery.com>
2769
2770 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
2771 Invoke test. Restart GDB with --readnow and invoke test again.
2772
c3b7b696
YQ
27732014-09-19 Yao Qi <yao@codesourcery.com>
2774
2775 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
2776 proc set_breakpoint_on_gcd_function. Invoke
2777 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
2778 invoke set_breakpoint_on_gcd_function again.
2779
2b4fd423
DE
27802014-09-18 Doug Evans <dje@google.com>
2781
2782 * gdb.dwarf2/symtab-producer.exp: New file.
2783
a5947601
SDJ
27842014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2785
2786 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
2787 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
2788 * gdb.base/global-var-nested-by-dso.c: Likewise.
2789 * gdb.base/global-var-nested-by-dso.exp: Likewise.
2790
91c19059
SDJ
27912014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2792 Pedro Alves <palves@redhat.com>
2793
2794 * gdb.base/watch-bitfields.exp: Pass string other than test file
2795 name to prepare_for_testing.
2796 (watch): New procedure.
2797 (expect_watchpoint): Use with_test_prefix.
2798 (top level): Factor out tests to ...
2799 (test_watch_location, test_regular_watch): ... these new
2800 procedures, and use with_test_prefix and gdb_continue_to_end.
2801
bb9d5f81
PP
28022014-09-16 Patrick Palka <patrick@parcs.ath.cx>
2803
2804 PR breakpoints/12526
2805 * gdb.base/watch-bitfields.exp: New file.
2806 * gdb.base/watch-bitfields.c: New file.
2807
635856f5
PA
28082014-09-16 Pedro Alves <palves@redhat.com>
2809
2810 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
2811 software and hardware addresses, not software address against
2812 itself.
2813
7280ceea
PA
28142014-09-16 Pedro Alves <palves@redhat.com>
2815
2816 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
2817 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
2818
428b16bd
PA
28192014-09-16 Pedro Alves <palves@redhat.com>
2820
2821 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
2822 files.
2823 * gdb.base/a2-run.exp: Remove all code guarded by istarget
2824 "*-*-vxworks*" throughout.
2825 * gdb.base/break.exp: Likewise.
2826 * gdb.base/default.exp: Likewise.
2827 * gdb.base/scope.exp: Likewise.
2828 * gdb.base/sepdebug.exp: Likewise.
2829 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
2830 throughout.
2831 * gdb.base/run.c: Likewise.
2832 * gdb.base/sepdebug.c: Likewise.
2833 * gdb.hp/gdb.aCC/run.c: Likewise.
2834 * gdb.reverse/until-reverse.c: Likewise.
2835 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
2836
666d413c
YQ
28372014-09-16 Yao Qi <yao@codesourcery.com>
2838
2839 * boards/local-remote-host-native.exp: New file.
2840
57cbd724
DE
28412014-09-14 Doug Evans <xdje42@gmail.com>
2842
2843 * gdb.threads/queue-signal.c (thread_count): New variable.
2844 (thread_count_mutex, thread_count_condvar): New variables.
2845 (incr_thread_count, wait_all_threads_running): New functions.
2846 (main): Wait for all threads to be in their thread functions.
2847
81219e53
DE
28482014-09-13 Doug Evans <xdje42@gmail.com>
2849
2850 * gdb.threads/queue-signal.c: New file.
2851 * gdb.threads/queue-signal.exp: New file.
2852
3714cea7
DE
28532014-09-13 Doug Evans <xdje42@gmail.com>
2854
2855 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
2856 be consistent with what default_gdb_init uses.
2857 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
2858 the plain text of the prompt. Add some logging printfs.
2859 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
2860
fa43b1d7
PA
28612014-09-12 Pedro Alves <palves@redhat.com>
2862
2863 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
2864 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
2865 * gdb.arch/i386-size-overlap.exp: Likewise.
2866 * gdb.arch/i386-size.exp: Likewise.
2867 * gdb.arch/i386-unwind.exp: Likewise.
2868 * gdb.base/a2-run.exp: Likewise.
2869 * gdb.base/break.exp: Likewise.
2870 * gdb.base/charset.exp: Likewise.
2871 * gdb.base/chng-syms.exp: Likewise.
2872 * gdb.base/commands.exp: Likewise.
2873 * gdb.base/dbx.exp: Likewise.
2874 * gdb.base/find.exp: Likewise.
2875 * gdb.base/funcargs.exp: Likewise.
2876 * gdb.base/jit-simple.exp: Likewise.
2877 * gdb.base/reread.exp: Likewise.
2878 * gdb.base/sepdebug.exp: Likewise.
2879 * gdb.base/step-bt.exp: Likewise.
2880 * gdb.cp/mb-inline.exp: Likewise.
2881 * gdb.cp/mb-templates.exp: Likewise.
2882 * gdb.objc/basicclass.exp: Likewise.
2883 * gdb.threads/killed.exp: Likewise.
2884
9d9bf2df
EBM
28852014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2886
2887 PR tdep/17379
2888 * gdb.arch/powerpc-stackless.S: New file.
2889 * gdb.arch/powerpc-stackless.exp: New file.
2890
1cf2f1b0
JK
28912014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2892
2893 * gdb.base/attach.c: Include unistd.h.
2894 (main): Call alarm. Add label postloop.
2895 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
2896 gdb_breakpoint, gdb_continue_to_breakpoint.
2897 (test_command_line_attach_run): Kill ${testpid} in one exit path.
2898
98880d46
PA
28992014-09-11 Pedro Alves <palves@redhat.com>
2900
2901 PR gdb/17347
2902 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
2903 * gdb.base/attach.exp (test_command_line_attach_run): New
2904 procedure.
2905 (top level): Call it.
2906
4c92ff2c
PA
29072014-09-11 Pedro Alves <palves@redhat.com>
2908
2909 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
2910 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
2911 (do_command_attach_tests): Use spawn_wait_for_attach.
2912 * gdb.base/solib-overlap.exp: Likewise.
2913 * gdb.multi/multi-attach.exp: Likewise.
2914 * gdb.python/py-prompt.exp: Likewise.
2915 * gdb.python/py-sync-interp.exp: Likewise.
2916 * gdb.server/ext-attach.exp: Likewise.
2917
3adc1a7d
GKB
29182014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
2919
2920 * gdb.fortran/array-element.exp: Remove unexpected "continue"
2921 command in testcase. Simplify testcase.
2922
96334934
JB
29232014-09-10 Joel Brobecker <brobecker@adacore.com>
2924
2925 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
2926
eb479039
JB
29272014-09-10 Joel Brobecker <brobecker@adacore.com>
2928
2929 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
2930
deede10c
JB
29312014-09-10 Joel Brobecker <brobecker@adacore.com>
2932
2933 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
2934
7828a5f5
JB
29352014-09-10 Joel Brobecker <brobecker@adacore.com>
2936
2937 * gdb.dwarf2/dynarr-ptr.c: New file.
2938 * gdb.dwarf2/dynarr-ptr.exp: New file.
2939
33aeebcf
MR
29402014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2941
2942 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
2943 of 30 rather than hardcoding 120 for a slow test case. Take the
2944 `gdb,timeout' target setting into account for this calculation.
2945 Don't extend the timeout for the test cases that don't need it.
2946
7b415901
MR
29472014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2948
2949 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
2950 a factor of 2 for a slow test case. Take the `gdb,timeout'
2951 target setting into account for this calculation.
2952 * gdb.reverse/until-precsave.exp: Increase the timeout by
2953 a factor of 15 and 3 respectively rather than adding 120
2954 for a pair of slow test cases. Take the `gdb,timeout'
2955 target setting into account for this calculation.
2956
4a40f85a
MR
29572014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2958
2959 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
2960 timeout, don't pass one down to gdb_expect.
2961 (gdb_expect): Rework timeout selection.
2962
09635af7
MR
29632014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2964
2965 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
2966 exception on timeout.
2967 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
2968 (gdbserver_start_extended): Catch any `gdbserver_start' error
2969 exceptions.
2970 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
2971 * lib/mi-support.exp (mi_gdb_target_load): Catch any
2972 `gdbserver_gdb_load' error exceptions.
2973
2bdd10b7
MR
29742014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2975
2976 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
2977 120 on waiting for the TCP socket to open.
2978
316935f0
DE
29792014-09-09 Doug Evans <xdje42@gmail.com>
2980
2981 * gdb.base/default.exp (show_conv_list): Add _caller_is,
2982 _caller_matches, _any_caller_is, _any_caller_matches.
2983
83740597
DE
29842014-09-09 Doug Evans <xdje42@gmail.com>
2985
2986 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
2987
4c122fc3
YQ
29882014-09-09 Yao Qi <yao@codesourcery.com>
2989
2990 * gdb.mi/mi-var-display.exp: Set print symbol off.
2991
a9f116cb
GKB
29922014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
2993
2994 PR gdb/17035
2995 * gdb.base/commands.exp: Add tests to verify user-defined
2996 commands with empty bodies.
2997 * gdb.python/py-cmd.exp: Test that we don't show user-defined
2998 python commands in `show user command`.
2999 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
3000 scheme commands in `show user command`.
3001
c75bd3a2
JK
30022014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3003
3004 PR python/17355
3005 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
3006 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
3007 * gdb.python/py-framefilter-invalidarg.exp: New file.
3008 * gdb.python/py-framefilter-invalidarg.py: New file.
3009
faa42425
DE
30102014-09-06 Doug Evans <xdje42@gmail.com>
3011
3012 PR 15276
3013 * gdb.python/py-caller-is.c: New file.
3014 * gdb.python/py-caller-is.exp: New file.
3015
474ca4f6
SDJ
30162014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
3017
3018 PR gdb/17235
3019 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
3020 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
3021
eb0b0463
SDJ
30222014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
3023
3024 PR fortran/17237
3025 * gdb.fortran/print-formatted.exp: New file.
3026 * gdb.fortran/print-formatted.f90: Likewise.
3027
5f3b99cf
SS
30282014-09-03 Sasha Smundak <asmundak@google.com>
3029
3030 * gdb.python/py-frame.exp: Test Frame.read_register.
3031
7d793aa9
SDJ
30322014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
3033
3034 PR python/16699
3035 * gdb.python/py-completion.exp: New file.
3036 * gdb.python/py-completion.py: Likewise.
3037
fb0576e9
DE
30382014-08-28 Doug Evans <dje@google.com>
3039
3040 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
3041 eax,etc. are live with values set by gdb and thus the compiler can't
3042 use them.
3043 * gdb.arch/i386-pseudo.c (main): Ditto.
3044
ee92b0dd
DE
30452014-08-27 Doug Evans <dje@google.com>
3046
3047 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
3048
6649db35
DE
30492014-08-25 Doug Evans <dje@google.com>
3050
3051 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
3052 (main): Ditto.
3053
564b7600
DE
30542014-08-25 Doug Evans <dje@google.com>
3055
3056 * gdb.threads/thread-execl.exp: #include <stdio.h>.
3057
3881fb67
YQ
30582014-08-24 Yao Qi <yao@codesourcery.com>
3059
3060 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
3061 symbol off.
3062 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
3063
a05a36a5
DE
30642014-08-22 Doug Evans <dje@google.com>
3065
3066 PR 17276
3067 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
3068 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
3069 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
3070
7c343b48
YQ
30712014-08-22 Yao Qi <yao@codesourcery.com>
3072
3073 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
3074 * gdb.python/py-finish-breakpoint2.exp: Likewise.
3075 * gdb.python/python.exp: Likewise. Use .py file on the host
3076 instead of the build.
3077
22fd09ae
JK
30782014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3079
3080 * gdb.threads/gcore-stale-thread.c: New file.
3081 * gdb.threads/gcore-stale-thread.exp: New file.
3082
a8454a7c
PA
30832014-08-21 Pedro Alves <palves@redhat.com>
3084
3085 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
3086 * gdb.base/gcore-relro-pie.exp: Likewise.
3087 * gdb.base/gcore-relro.exp: Likewise.
3088 * gdb.base/gcore.exp: Likewise.
3089 * gdb.base/print-symbol-loading.exp: Likewise.
3090 * gdb.threads/gcore-thread.exp: Likewise.
3091 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
3092
2a31c623
PA
30932014-08-20 Pedro Alves <palves@redhat.com>
3094 Jan Kratochvil <jan.kratochvil@redhat.com>
3095
3096 * Makefile.in (EXTRA_RULES, CC): New variables, get from
3097 configure.
3098 (EXPECT): Handle READ1 being set.
3099 (all): Depend on EXTRA_RULES.
3100 (check-read1, expect-read1, read1.so, read1): New rules.
3101 * README (Testsuite Parameters): Document the READ1 make variable.
3102 (Race detection): New section.
3103 * configure: Regenerate.
3104 * configure.ac: If build==host==target, and running under a
3105 GNU/glibc system, add read1 to the extra Makefile rules.
3106 (EXTRA_RULES): AC_SUBST it.
3107 * lib/read1.c: New file.
3108
d36430db
JB
31092014-08-20 Joel Brobecker <brobecker@adacore.com>
3110
3111 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
3112 the handling of variables declared as a typedef to an array
3113 which a DW_AT_data_location attribute.
3114
9a0dc9e3
PA
31152014-08-19 Andrew Burgess <aburgess@broadcom.com>
3116 Pedro Alves <palves@redhat.com>
3117
3118 PR symtab/14604
3119 PR symtab/14605
3120 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
3121 gdb_test.
3122
0718a8da
PA
31232014-08-19 Pedro Alves <palves@redhat.com>
3124
3125 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
3126
13b448cd
YQ
31272014-08-19 Yao Qi <yao@codesourcery.com>
3128
3129 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
3130 right line.
3131
1cbf5077
DB
31322014-08-18 David Blaikie <dblaikie@gmail.com>
3133
3134 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
3135
bf0fae19
JB
31362014-08-18 Joel Brobecker <brobecker@adacore.com>
3137
3138 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
3139 attribute in array range.
3140
3c8c5dcc
JB
31412014-08-18 Joel Brobecker <brobecker@adacore.com>
3142
3143 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
3144
e66d4446
SC
31452014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3146
3147 PR c++/17132
3148 * gdb.cp/pr17132.cc: New file.
3149 * gdb.cp/pr17132.exp: New file.
3150
940df408
SC
31512014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3152
3153 * gdb.python/py-xmethods.py (A_getarrayind)
3154 (E_method_char_worker.__call__, E_method_int_worker.__call__):
3155 Use 'print' with function call syntax.
3156 (E_method_matcher.match): Fix tab vs space indentation mixup.
3157
ebcc6c3a
YQ
31582014-08-15 Yao Qi <yao@codesourcery.com>
3159
3160 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
3161 false.
3162
775e0f04
YQ
31632014-08-15 Yao Qi <yao@codesourcery.com>
3164
3165 * gdb.cp/casts.exp: Set print symbol off.
3166 * gdb.cp/class2.exp: Likewise.
3167 * gdb.cp/overload.exp: Likewise.
3168 * gdb.cp/templates.exp: Likewise.
3169
d769e349
DE
31702014-08-11 Doug Evans <dje@google.com>
3171
3172 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3173 (test_load_shlib): Update.
3174
20c6f1e1
YQ
31752014-08-09 Yao Qi <yao@codesourcery.com>
3176
3177 * gdb.base/display.exp: Invoke is_address_zero_readable.
3178 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
3179 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
3180 * gdb.base/hbreak-unmapped.exp: Return if
3181 is_address_zero_readable returns true.
3182 * gdb.base/signest.exp: Likewise.
3183 * gdb.base/signull.exp: Likewise.
3184 * gdb.base/sigbpt.exp: Likewise.
3185 * gdb.guile/scm-disasm.exp: Do the test if
3186 is_address_zero_readable returns false.
3187 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
3188 * gdb.python/py-arch.exp: Likewise.
3189 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
3190 * lib/gdb.exp (is_address_zero_readable): New proc.
3191
5792e8e3
YQ
31922014-08-09 Yao Qi <yao@codesourcery.com>
3193
3194 PR testsuite/13443
3195 * gdb.mi/mi-var-display.exp: Make test messages unique.
3196
3cecbbbe
TT
31972014-08-04 Tom Tromey <tromey@redhat.com>
3198
3199 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
3200 target 0".
3201
00b51ff5
TT
32022014-08-04 Tom Tromey <tromey@redhat.com>
3203
3204 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
3205 "target_resume".
3206
6908c509
JB
32072014-08-01 Joel Brobecker <brobecker@adacore.com>
3208
3209 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
3210 inner_vla_struct_object_size.
3211 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
3212 as xfail.
3213
cc6563d2
PA
32142014-07-30 Pedro Alves <palves@redhat.com>
3215
3216 * gdb.threads/signal-command-handle-nopass.exp (test): Add
3217 comment.
3218
7e09a223
YQ
32192014-07-29 Yao Qi <yao@codesourcery.com>
3220
3221 PR gdb/17206
3222 * gdb.base/until-nodebug.exp: New.
3223
7ebdbe92
DE
32242014-07-28 Doug Evans <xdje42@gmail.com>
3225
3226 PR guile/17203
3227 * gdb.guile/scm-parameter.exp: Add tests for trying to create
3228 previously existing parameter, and previously ambiguously spelled
3229 parameter.
3230
fdb1adc6
WN
32312014-07-28 Will Newton <will.newton@linaro.org>
3232
3233 * gdb.base/varargs.exp: Remove KFAILs for ARM.
3234
186fcde0
DE
32352014-07-26 Ludovic Courtès <ludo@gnu.org>
3236 Doug Evans <xdje42@gmail.com>
3237
3238 PR guile/17146
3239 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
3240
70509625
PA
32412014-07-25 Pedro Alves <palves@redhat.com>
3242
3243 * gdb.threads/signal-command-handle-nopass.c: New file.
3244 * gdb.threads/signal-command-handle-nopass.exp: New file.
3245 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
3246 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
3247 * gdb.threads/signal-delivered-right-thread.c: New file.
3248 * gdb.threads/signal-delivered-right-thread.exp: New file.
3249
c3f814a1
PA
32502014-07-25 Pedro Alves <palves@redhat.com>
3251
3252 * gdb.base/double-prompt-target-event-error.exp
3253 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
3254 match.
3255 (cancel_pagination_in_target_event): Rework double prompt
3256 detection.
3257 * gdb.base/paginate-after-ctrl-c-running.exp
3258 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
3259 <return>' match.
3260 * gdb.base/paginate-bg-execution.exp
3261 (test_bg_execution_pagination_return)
3262 (test_bg_execution_pagination_cancel): Remove '-notransfer
3263 <return>' matches.
3264 * gdb.base/paginate-execution-startup.exp
3265 (test_fg_execution_pagination_return)
3266 (test_fg_execution_pagination_cancel): Remove '-notransfer
3267 <return>' matches.
3268 * gdb.base/paginate-inferior-exit.exp
3269 (test_paginate_inferior_exited): Remove '-notransfer <return>'
3270 match.
3271 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
3272 * lib/gdb.exp (pagination_prompt): Run text through
3273 string_to_regexp.
3274 (gdb_test_multiple): Match $pagination_prompt instead of
3275 "<return>".
3276 (string_to_regexp): Move to lib/gdb-utils.exp.
3277
e214cf6c
JK
32782014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3279
3280 * gdb.arch/amd64-entry-value-paramref.S: New file.
3281 * gdb.arch/amd64-entry-value-paramref.cc: New file.
3282 * gdb.arch/amd64-entry-value-paramref.exp: New file.
3283 * gdb.arch/amd64-optimout-repeat.S: New file.
3284 * gdb.arch/amd64-optimout-repeat.c: New file.
3285 * gdb.arch/amd64-optimout-repeat.exp: New file.
3286
17d0c5c8
JK
32872014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3288
3289 PR gdb/17170
3290 * gdb.base/statistics.exp: New file.
3291
b8b8facf
DE
32922014-07-17 Doug Evans <dje@google.com>
3293
74b49205 3294 PR gdb/17170
b8b8facf
DE
3295 * gdb.base/maint.exp: Update testing of per-command stats.
3296
1b5d0ab3
PA
32972014-07-16 Pedro Alves <palves@redhat.com>
3298
3299 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
3300 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
3301 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
3302 (tfile_write_buf): New functions.
3303 (add_memory_block): Rewrite using the above.
3304 (adjust_function_address): New function.
3305 (FUNCTION_ADDRESS): New macro.
3306 (write_basic_trace_file): Remove short_x local, and use
3307 tfile_write_16. Change type of func_addr local to unsigned long
3308 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
3309 here. Cast argument of add_memory_block to char pointer.
3310 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
3311 (main): Remove parameters.
3312 * gdb.trace/tfile.exp: Remove nowarnings.
3313
4d974e88
SM
33142014-07-15 Simon Marchi <simon.marchi@ericsson.com>
3315
3316 * gdb.base/debug-expr.exp: Test string evaluation with
3317 "debug expression" on.
3318
41e99568
PA
33192014-07-15 Pedro Alves <palves@redhat.com>
3320
3321 * gdb.base/reread.exp: Use clean_restart.
3322
487d9753
PL
33232014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
3324
3325 * gdb.arch/avr-flash-qualifer.c: New.
3326 * gdb.arch/avr-flash-qualifer.exp: New.
3327
cc1c52ad
PA
33282014-07-14 Pedro Alves <palves@redhat.com>
3329
3330 * gdb.base/paginate-after-ctrl-c-running.c: New file.
3331 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
3332
1e973570
PA
33332014-07-14 Pedro Alves <palves@redhat.com>
3334
3335 * gdb.base/double-prompt-target-event-error.c: New file.
3336 * gdb.base/double-prompt-target-event-error.exp: New file.
3337
93d6eb10
PA
33382014-07-14 Pedro Alves <palves@redhat.com>
3339
3340 PR gdb/17072
3341 * gdb.base/paginate-inferior-exit.c: New file.
3342 * gdb.base/paginate-inferior-exit.exp: New file.
3343
0017922d
PA
33442014-07-14 Pedro Alves <palves@redhat.com>
3345
3346 PR gdb/17072
3347 * gdb.base/paginate-bg-execution.c: New file.
3348 * gdb.base/paginate-bg-execution.exp: New file.
3349
94696ad3
PA
33502014-07-14 Pedro Alves <palves@redhat.com>
3351
3352 PR gdb/17072
3353 * gdb.base/paginate-execution-startup.c: New file.
3354 * gdb.base/paginate-execution-startup.exp: New file.
3355 * lib/gdb.exp (pagination_prompt): New global.
3356 (default_gdb_spawn): New procedure, factored out from
3357 default_gdb_spawn.
3358 (default_gdb_start): Adjust to call default_gdb_spawn.
3359 (gdb_spawn): New procedure.
3360
bd293940
PA
33612014-07-14 Pedro Alves <palves@redhat.com>
3362
3363 * lib/gdb.exp (gdb_assert): New procedure.
3364 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
3365
c933f875
PA
33662014-07-14 Pedro Alves <palves@redhat.com>
3367
3368 * gdb.base/execution-termios.c: New file.
3369 * gdb.base/execution-termios.exp: New file.
3370
d98b7a16
TT
33712014-07-14 Tom Tromey <tromey@redhat.com>
3372
3373 * gdb.cp/vla-cxx.cc: New file.
3374 * gdb.cp/vla-cxx.exp: New file.
3375
548740d6
TT
33762014-07-14 Tom Tromey <tromey@redhat.com>
3377
3378 * gdb.reverse/rerun-prec.c: New file.
3379 * gdb.reverse/rerun-prec.exp: New file.
3380
a25eb028
MR
33812014-07-12 Maciej W. Rozycki <macro@mips.com>
3382 Maciej W. Rozycki <macro@codesourcery.com>
3383
3384 * lib/gdb-utils.exp: New file.
3385 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
3386 inline `gdb_init_command' processing.
3387 (gdb_start_cmd): Likewise.
3388 * lib/mi-support.exp (mi_run_cmd): Likewise.
3389 * README: Document `gdb_init_command' and `gdb_init_commands'.
3390
218c2655
JK
33912014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3392
3393 Fix false FAIL running under a very long directory name.
3394 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
3395 and "set print elements 10000". Twice.
3396
5401fde3
YQ
33972014-07-11 Yao Qi <yao@codesourcery.com>
3398
3399 * gdb.base/exprs.exp: "set print symbol off".
3400
e76126e8
PA
34012014-07-11 Pedro Alves <palves@redhat.com>
3402
3403 * gdb.threads/kill.c: New file.
3404 * gdb.threads/kill.exp: New file.
3405
2d6f0de6
YQ
34062014-07-10 Yao Qi <yao@codesourcery.com>
3407
3408 * gdb.trace/tfile.c (write_basic_trace_file)
3409 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
3410 address written to trace file.
3411
7180e04a
PA
34122014-07-09 Pedro Alves <palves@redhat.com>
3413
3414 * gdb.base/attach-wait-input.exp: New file.
3415 * gdb.base/attach-wait-input.c: New file.
3416
9a9a7608
AB
34172014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3418
3419 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
3420 setting up test structures.
3421 (main): Call new test function.
3422 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
3423 test function, continue into test function and walk test
3424 structures.
3425
161ac41e
YQ
34262014-07-02 Yao Qi <yao@codesourcery.com>
3427
3428 * gdb.trace/entry-values.c: Define labels 'foo_start' and
3429 'bar_start' at the beginning of functions 'foo' and 'bar'
3430 respectively.
3431 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
3432 instead of 'foo' and 'bar'.
3433
1f267ae3
MM
34342014-07-08 Markus Metzger <markus.t.metzger@intel.com>
3435
3436 * gdb.btrace/segv.exp: New.
3437 * gdb.btrace/segv.c: New.
3438
2b239efb
LM
34392014-07-02 Luis Machado <lgustavo@codesourcery.com>
3440
3441 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
3442 instruction.
3443
cf363f18
MW
34442014-06-30 Mark Wielaard <mjw@redhat.com>
3445
3446 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
3447 vulture, vilify, villar): New volatile array constants.
3448 (vindictive, vegetation): New const volatile array constants.
3449 * gdb.base/volatile.exp: Test volatile and const volatile array
3450 types.
3451
aebf9d24
AA
34522014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
3453
3454 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
3455 target lacks support for awatch, rwatch, or hbreak.
3456
b67a2c6f
YQ
34572014-06-27 Yao Qi <yao@codesourcery.com>
3458
3459 * gdb.multi/dummy-frame-restore.exp: New.
3460 * gdb.multi/dummy-frame-restore.c: New.
3461
aef92902
MM
34622014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3463
3464 * gdb.btrace/gcore.exp: New.
3465
8e9db26e
PA
34662014-06-23 Pedro Alves <palves@redhat.com>
3467
3468 * gdb.base/watchpoint-reuse-slot.c: New file.
3469 * gdb.base/watchpoint-reuse-slot.exp: New file.
3470
70afc5b7
SC
34712014-06-23 Siva Chandra Reddy <sivachandra@google.com>
3472
3473 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
3474 progspace's filename in 'info', 'enable' and 'disable' command
3475 tests.
3476
b972bd9c
JK
34772014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3478
3479 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
3480 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3481 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
3482
125f8a3d
GB
34832014-06-20 Gary Benson <gbenson@redhat.com>
3484
3485 * gdb.arch/i386-avx.exp: Fix include file location.
3486 * gdb.arch/i386-sse.exp: Likewise.
3487
3ed9baed
IB
34882014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
3489
3490 * gdb.dlang/expression.exp: New file.
3491
034f788c
PA
34922014-06-19 Pedro Alves <palves@redhat.com>
3493
3494 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
3495 out from ...
3496 (top level): ... here. Iterate running tests under different
3497 scheduler-locking settings.
3498
45371d0c
LM
34992014-06-18 Luis Machado <lgustavo@codesourcery.com>
3500
3501 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
3502 to DW_FORM_addr and use non-zero addresses.
3503
5d376983
SC
35042014-06-18 Siva Chandra Reddy <sivachandra@google.com>
3505
3506 PR gdb/17017
3507 * gdb.python/py-xmethods.cc: Add global function call counters and
3508 increment them in their respective functions. Remove "cout"
3509 statements.
3510 * gdb.python/py-xmethods.exp: Make tests check the global function
3511 call counters instead of depending on inferior IO.
3512
a1aa2221
LM
35132014-06-18 Don Breazeal <donb@codesourcery.com>
3514
3515 * gdb.base/foll-fork.exp (default_fork_parent_follow):
3516 Deleted procedure.
3517 (explicit_fork_parent_follow): Deleted procedure.
3518 (explicit_fork_child_follow): Deleted procedure.
3519 (test_follow_fork): New procedure.
3520 (do_fork_tests): Replace calls to deleted procedures with
3521 calls to test_follow_fork and reset GDB for subsequent
3522 procedure calls.
3523
0fc05997
YQ
35242014-06-17 Yao Qi <yao@codesourcery.com>
3525
3526 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
3527 CP1252.
3528
70795c52
LM
35292014-06-17 Luis Machado <lgustavo@codesourcery.com>
3530
3531 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
3532 Initialize ptr and S explicitly.
3533 (skip_type_update_when_not_use_rtti_test): Likewise.
3534
6be47f0c
KS
35352014-06-16 Keith Seitz <keiths@redhat.com>
3536
3537 PR mi/15863
3538 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
3539 the inferior is started.
3540
d03de421
PA
35412014-06-16 Pedro Alves <palves@redhat.com>
3542
3543 * gdb.base/break-main-file-remove-fail.c: New file.
3544 * gdb.base/break-main-file-remove-fail.exp: New file.
3545 * gdb.base/break-unload-file.exp: Use build_executable instead of
3546 prepare_for_testing.
3547 (test_break): New parameter "initial_load". Handle it.
3548 (top level): Add initial_load cmdline/file axis.
3549
f9579b99
TT
35502014-06-12 Tom Tromey <tromey@redhat.com>
3551
3552 * gdb.base/completion.exp: Don't use directory name in test.
3553
3657956b
GB
35542014-06-09 Gary Benson <gbenson@redhat.com>
3555
3556 * gdb.base/sigall.c [Functions to send signals]: Reorder to
3557 separate the always-available ANSI-standard signals from the
3558 signals that require checking.
3559 (main): Likewise.
3560 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
3561 Likewise.
3562 (main): Likewise.
3563
4186eb54
KS
35642014-06-07 Keith Seitz <keiths@redhat.com>
3565
3566 Revert:
3567 PR c++/16253
3568 * gdb.cp/var-tag.cc: New file.
3569 * gdb.cp/var-tag.exp: New file.
3570 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3571 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3572 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3573 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3574
25326a28 35752014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
3576
3577 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
3578
829155c9
PA
35792014-06-06 Pedro Alves <palves@redhat.com>
3580
3581 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
3582 in target debug output instead of looking at RSP packets,
3583 disabling the test on any target that uses hardware stepping.
3584 Update comments.
3585
61c8d22e
PA
35862014-06-06 Pedro Alves <palves@redhat.com>
3587
3588 * gdb.base/break-unload-file.exp: Fix typo.
3589
d9a47287
YQ
35902014-06-06 Yao Qi <yao@codesourcery.com>
3591
3592 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
3593 from "jit_function" to "^jit_function".
3594
e5e01dbf
YQ
35952014-06-06 Yao Qi <yao@codesourcery.com>
3596
3597 * gdb.base/async.c (foo): Add one statement.
3598 * gdb.base/async.exp: Get the next instruction address and
3599 match the output of "nexti" by instruction address. Match
3600 the hex address in the output of "finish".
3601
73ba372c
GB
36022014-06-06 Gary Benson <gbenson@redhat.com>
3603
3604 * gdb.base/call-signals.c: Remove preprocessor conditionals
3605 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
3606 SIGSEGV and SIGTERM.
3607 * gdb.base/sigall.c: Likewise.
3608 * gdb.base/unwindonsignal.c: Likewise.
3609 * gdb.reverse/sigall-reverse.c: Likewise.
3610
831517df
YQ
36112014-06-06 Yao Qi <yao@codesourcery.com>
3612
3613 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
3614 readable, skip the test.
3615
b8b91e98
YQ
36162014-06-06 Yao Qi <yao@codesourcery.com>
3617
3618 * gdb.threads/staticthreads.c (thread_function): Move the line
3619 setting breakpoint on forward.
3620 * gdb.threads/staticthreads.exp: Update comments.
3621
fb934770
LC
36222014-06-05 Ludovic Courtès <ludo@gnu.org>
3623
3624 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
3625 "history-append! type error".
3626
6ef284bd
SM
36272014-06-05 Simon Marchi <simon.marchi@ericsson.com>
3628
3629 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
3630 erroneous dprintf expected input.
3631
a872e241
DE
36322014-06-04 Doug Evans <xdje42@gmail.com>
3633
3634 * gdb.guile/scm-generics.exp: Delete.
3635
16f691fb
DE
36362014-06-04 Doug Evans <xdje42@gmail.com>
3637
3638 * gdb.guile/scm-breakpoint.exp: Update.
3639 Add tests for breakpoint registration.
3640
012370f6
TT
36412014-06-04 Tom Tromey <tromey@redhat.com>
3642
3643 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
3644 VLA-in-union.
3645 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
3646 inner_vla_struct, vla_union types. Initialize objects of those
3647 types and compute their sizes.
3648
9f5a4cef
HZ
36492014-06-04 Nathan Sidwell <nathan@codesourcery.com>
3650 Hui Zhu <hui@codesourcery.com>
3651
3652 * gdb.base/fileio.exp: Add test for shell not available as well as
3653 available.
3654 * gdb.base/fileio.c (test_system): Check for shell twice.
3655
90a45c4d
YQ
36562014-06-04 Yao Qi <yao@codesourcery.com>
3657
3658 * gdb.base/auto-connect-native-target.exp: Remove redundant
3659 space from the regexp pattern.
3660
70017e41
YQ
36612014-06-04 Yao Qi <yao@codesourcery.com>
3662
3663 * gdb.base/default.exp: Replace "child" with "native" in
3664 regexp pattern.
3665
883964a7
SC
36662014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3667
3668 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
3669 * gdb.python/py-xmethods.exp: New tests to test xmethods.
3670 * gdb.python/py-xmethods.py: Python script supporting the
3671 new testcase and tests.
3672
ef370185
JB
36732014-06-03 Joel Brobecker <brobecker@adacore.com>
3674 Pedro Alves <palves@redhat.com>
3675
3676 PR breakpoints/17000
3677 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
3678 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
3679
1e2ccb61
BM
36802014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
3681
3682 * gdb.base/subst.exp: Add tests to verify partial path matching
3683 output.
3684
c6ec5ab2
PA
36852014-06-03 Pedro Alves <palves@redhat.com>
3686
3687 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
3688 target that doesn't use software single-stepping.
3689
835c559f
PA
36902014-06-03 Pedro Alves <palves@redhat.com>
3691
3692 PR breakpoints/17000
3693 * gdb.base/sss-bp-on-user-bp-2.c: New file.
3694 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
3695
06eb1586
DE
36962014-06-02 Doug Evans <xdje42@gmail.com>
3697
3698 * gdb.guile/scm-parameter.exp: New file.
3699
e698b8c4
DE
37002014-06-02 Doug Evans <xdje42@gmail.com>
3701
3702 * gdb.guile/scm-cmd.c: New file.
3703 * gdb.guile/scm-cmd.exp: New file.
3704
ded03782
DE
37052014-06-02 Doug Evans <xdje42@gmail.com>
3706
3707 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
3708 pretty-printer lookup.
3709 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
3710 (make-pp_s-printer): Call it.
3711 (make-pretty-printer-from-dict): New function.
3712 (lookup-pretty-printer-maker-from-dict): New function.
3713 (*pretty-printer*): Simplify.
3714 (make-objfile-pp_s-printer): New function.
3715 (install-objfile-pretty-printers!): New function.
3716 (make-progspace-pp_s-printer): New function.
3717 (install-progspace-pretty-printers!): New function.
3718 * gdb.guile/scm-progspace.c: New file.
3719 * gdb.guile/scm-progspace.exp: New file.
3720
41fac0cf
PA
37212014-06-02 Pedro Alves <palves@redhat.com>
3722
3723 * gdb.base/dprintf-bp-same-addr.c: New file.
3724 * gdb.base/dprintf-bp-same-addr.exp: New file.
3725
96ae5695
EBM
37262014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3727
3728 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
3729 * gdb.arch/powerpc-power.s: Likewise.
3730
da02b3a8
JB
37312014-06-02 Joel Brobecker <brobecker@adacore.com>
3732
3733 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
3734
c72b2e7b
YQ
37352014-06-01 Yao Qi <yao@codesourcery.com>
3736
3737 * gdb.base/watchpoint.exp (test_watch_location): Check null
3738 pointer can be dereferenced. If not, do the test, otherwise
3739 skip it.
3740
53e8a631
AB
37412014-05-30 Andrew Burgess <aburgess@broadcom.com>
3742
3743 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
3744 results.
3745 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
3746
938f0e2f
AB
37472014-05-30 Andrew Burgess <aburgess@broadcom.com>
3748
3749 * gdb.arch/amd64-invalid-stack-middle.S: New file.
3750 * gdb.arch/amd64-invalid-stack-middle.c: New file.
3751 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
3752 * gdb.arch/amd64-invalid-stack-top.c: New file.
3753 * gdb.arch/amd64-invalid-stack-top.exp: New file.
3754
9ba6657a
PA
37552014-05-30 Pedro Alves <palves@redhat.com>
3756
3757 PR breakpoints/17000
3758 * gdb.base/sss-bp-on-user-bp.c: New file.
3759 * gdb.base/sss-bp-on-user-bp.exp: New file.
3760
522c09bf
DB
37612014-05-30 David Blaikie <dblaikie@gmail.com>
3762
3763 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
3764 gnu_inline semantics via attribute.
3765 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
3766 source explicitly specifies the required semantics.
3767
bf4ef81e
MR
37682014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
3769
3770 * gdb.reverse/sigall-reverse.exp: Fix a typo.
3771
329ea579
PA
37722014-05-29 Pedro Alves <palves@redhat.com>
3773 Tom Tromey <tromey@redhat.com>
3774
3775 * gdb.base/async-shell.exp: Don't enable target-async.
3776 * gdb.base/async.exp
3777 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
3778 parameter. Adjust.
3779 (top level): Don't test with "target-async".
3780 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
3781 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
3782 * gdb.base/inferior-died.exp: Don't enable target-async.
3783 * gdb.base/interrupt-noterm.exp: Likewise.
3784 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
3785 * gdb.mi/mi-nonstop-exit.exp: Likewise.
3786 * gdb.mi/mi-nonstop.exp: Likewise.
3787 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
3788 * gdb.mi/mi-nsintrall.exp: Likewise.
3789 * gdb.mi/mi-nsmoribund.exp: Likewise.
3790 * gdb.mi/mi-nsthrexec.exp: Likewise.
3791 * gdb.mi/mi-watch-nonstop.exp: Likewise.
3792 * gdb.multi/watchpoint-multi.exp: Adjust comment.
3793 * gdb.python/py-evsignal.exp: Don't enable target-async.
3794 * gdb.python/py-evthreads.exp: Likewise.
3795 * gdb.python/py-prompt.exp: Likewise.
3796 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
3797 * gdb.server/solib-list.exp: Don't enable target-async.
3798 * gdb.threads/thread-specific-bp.exp: Likewise.
3799 * lib/mi-support.exp: Adjust to use mi-async.
3800
fd664c91
PA
38012014-05-29 Pedro Alves <palves@redhat.com>
3802
3803 PR gdb/13860
3804 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
3805 reason, even in sync mode.
3806
251bde03
PA
38072014-05-29 Pedro Alves <palves@redhat.com>
3808 Hui Zhu <hui@codesourcery.com>
3809
3810 PR PR15693
3811 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
3812 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
3813 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
3814 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
3815
7f3c0343
JB
38162014-05-28 Joel Brobecker <brobecker@adacore.com>
3817
3818 * config/monitor.exp (gdb_target_monitor): Replace use of
3819 "set remotebaud" by "set serial baud".
3820
b2715b27
AW
38212014-05-26 Andy Wingo <wingo@igalia.com>
3822
3823 * gdb.guile/scm-breakpoint.exp:
3824 * gdb.guile/scm-gsmob.exp: Update to use plain old object
3825 properties instead of gdb-object-properties.
3826
498a4489
YQ
38272014-05-26 Yao Qi <yao@codesourcery.com>
3828
3829 * gdb.server/no-thread-db.exp: Specify source file name
3830 explicitly when setting a breakpoint.
3831
589fdceb
MM
38322014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3833
3834 * gdb.btrace/vdso.c: New.
3835 * gdb.btrace/vdso.exp: New.
3836
e9089e05
MM
38372014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3838
3839 * gdb.base/gcore.exp (capture_command_output): Move ...
3840 * lib/gdb.exp (capture_command_output): ... here.
3841
67b5c0c1
MM
38422014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3843
3844 * gdb.btrace/data.exp: Test memory access during btrace replay.
3845
a2199296
SM
38462014-05-22 Simon Marchi <simon.marchi@ericsson.com>
3847
3848 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
3849
17b2616c
PA
38502014-05-21 Pedro Alves <palves@redhat.com>
3851
3852 PR gdb/13860
3853 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
3854 (top level): Test that output related to execution commands is
3855 sent to the console with CLI commands, but not with MI commands.
3856 Test that breakpoint events are always mirrored to the console.
3857 Also expect the new source line to be output after a "next" in
3858 async mode too. Make it a pass/fail test.
3859 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
3860 output.
3861 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
3862
5166082f
PA
38632014-05-21 Pedro Alves <palves@redhat.com>
3864
3865 * gdb.base/list.exp (build_pattern, test_list): New procedures.
3866 Use them to test variations of "list" after reaching a breakpoint.
3867 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
3868 Test "list" with listsize 10 after reaching a breakpoint.
3869 * gdb.python/python.exp (decode_line current location line
3870 number): Adjust expected line number.
3871
2f25d70f
SM
38722014-05-21 Simon Marchi <simon.marchi@ericsson.com>
3873
3874 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
3875 behavior for $args, pass it directly to "run".
3876
ff604a67
MR
38772014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3878
3879 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
3880 30000 to 65536.
3881
6a3cb8e8
PA
38822014-05-21 Pedro Alves <palves@redhat.com>
3883
3884 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
3885 auto-connect-native-target off".
3886 * gdb.base/auto-connect-native-target.c: New file.
3887 * gdb.base/auto-connect-native-target.exp: New file.
3888
4ebfc96e
PA
38892014-05-21 Pedro Alves <palves@redhat.com>
3890
3891 * gdb.base/default.exp: Test "target native" instead of "target
3892 child".
3893
36d46afb
MW
38942014-05-21 Mark Wielaard <mjw@redhat.com>
3895
3896 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3897
5876f503
JK
38982014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3899
3900 Fix TLS access for -static -pthread.
3901 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
3902 <HAVE_TLS> (thread_function, main): Initialize it.
3903 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
3904 Add clean_restart.
3905 <$have_tls != "">: Check TLSVAR.
3906
0256a6ac
PA
39072014-05-21 Pedro Alves <palves@redhat.com>
3908
3909 * gdb.base/dcache-line-read-error.c: New.
3910 * gdb.base/dcache-line-read-error.exp: New.
3911
936d2992
PA
39122014-05-20 Pedro Alves <palves@redhat.com>
3913
3914 * gdb.base/compare-sections.c: New file.
3915 * gdb.base/compare-sections.exp: New file.
3916
802e8e6d
PA
39172014-05-20 Pedro Alves <palves@redhat.com>
3918
3919 * gdb.base/break-idempotent.c: New file.
3920 * gdb.base/break-idempotent.exp: New file.
3921
e59fa00f
MM
39222014-05-20 Markus Metzger <markus.t.metzger@intel.com>
3923
3924 * gdb.btrace/nohist.exp: New.
3925
8b696e31
YQ
39262014-05-20 Yao Qi <yao@codesourcery.com>
3927
3928 * lib/gdb.exp (gdb_init): Set timeout if test file is under
3929 gdb.reverse directory and gdb_reverse_timeout exists in board
3930 setting.
3931 * README: Document gdb_reverse_timeout.
3932
73c9764f
YQ
39332014-05-20 Yao Qi <yao@codesourcery.com>
3934
3935 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
3936 'test_file_name'. Treat args as a string instead of a list.
3937 (gdb_init): Rename argument 'args' by 'test_file_name'.
3938
f1f4348a
JK
39392014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3940
3941 * gdb.arch/powerpc-power.exp: New file.
3942 * gdb.arch/powerpc-power.s: New file.
3943
0dbe70ce
DE
39442014-05-16 Doug Evans <dje@google.com>
3945
3946 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
3947 * gdb.base/completion.exp: Check that all expected files exist
3948 before doing file completion.
0dbe70ce 3949
8d551b02
DE
39502014-05-16 Doug Evans <dje@google.com>
3951
3952 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
3953 Update.
3954 (do_syscall_tests_without_xml): Update.
3955
73eb7709
PA
39562014-05-16 Pedro Alves <palves@redhat.com>
3957
3958 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
3959 instead of "unknown output after running".
3960
3fae92fc
YQ
39612014-05-16 Yao Qi <yao@codesourcery.com>
3962
3963 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
3964 file1.txt from host at the end.
3965 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3966
c2b2ccc5
DE
39672014-05-15 Doug Evans <dje@google.com>
3968
3969 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
3970 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
3971 loading file. Add test for TU lookup.
3972
8c217a4b
SM
39732014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3974
3975 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
3976 calling "-exec-arguments" or "set args" before running the
3977 inferior.
3978
3deb39c6
SM
39792014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3980
3981 * lib/mi-support.exp (mi_expect_stop): Expect message for
3982 inferiors that exit with non-zero exit code.
3983
71a79f8c
YQ
39842014-05-14 Yao Qi <yao@codesourcery.com>
3985
3986 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
3987 match absolute path on remote host.
3988 (test_file_list_exec_source_files): Remove "/" from the
3989 pattern.
3990
f23fcd46
YQ
39912014-05-14 Yao Qi <yao@codesourcery.com>
3992
3993 * boards/local-remote-host-notty.exp (${board}_file): New
3994 proc.
3995
9404b58f
KM
39962014-05-07 Kyle McMartin <kyle@redhat.com>
3997
3998 Pushed by Joel Brobecker <brobecker@adacore.com>.
3999 * gdb.arch/aarch64-atomic-inst.c: New file.
4000 * gdb.arch/aarch64-atomic-inst.exp: New file.
4001
5e45f04c
YQ
40022014-05-07 Yao Qi <yao@codesourcery.com>
4003
4004 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
4005 in current context" too.
4006
c888a17d
KS
40072014-05-05 Keith Seitz <keiths@redhat.com>
4008
4009 * gdb.linespec/ls-dollar.exp: Add test for linespec
4010 file:convenience_variable.
4011
290a839c
YQ
40122014-05-05 Yao Qi <yao@codesourcery.com>
4013
4014 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
4015 traceframes into tfile and ctf trace files. Read data from
4016 trace file and test collected data.
4017 (gdb_collect_locals_test): Likewise.
4018 (gdb_unavailable_registers_test): Likewise.
4019 (gdb_unavailable_floats): Likewise.
4020 (gdb_collect_globals_test): Likewise.
4021 (top-level): Append "ctf" to trace_file_targets if GDB
4022 supports.
4023
b5262cd0
YQ
40242014-05-05 Yao Qi <yao@codesourcery.com>
4025
4026 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
4027 code to ...
4028 (gdb_collect_args_test_1): ... it. New proc.
4029 (gdb_collect_locals_test): Move some code to ...
4030 (gdb_collect_locals_test_1): ... it. New proc.
4031 (gdb_unavailable_registers_test): Move some code to ...
4032 (gdb_unavailable_registers_test_1): ... it. New proc.
4033 (gdb_unavailable_floats): Move some code to ...
4034 (gdb_unavailable_floats_1): ... it. New proc.
4035
30a1e6cc
SDJ
40362014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4037
4038 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
4039 probes to test for bitness recognition.
4040 * gdb.arch/amd64-stap-optional-prefix.exp
4041 (test_probe_value_without_reg): New procedure.
4042 Add code to test for different kinds of bitness.
4043
f33da99a
SDJ
40442014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4045
4046 PR breakpoints/16889
4047 * gdb.arch/amd64-stap-optional-prefix.S: New file.
4048 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
4049
5b80f00d
PA
40502014-05-01 Pedro Alves <palves@redhat.com>
4051
4052 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
4053 gdb_file_cmd if no file is specified.
4054 * boards/native-extended-gdbserver.exp (gdb_load): Use the
4055 last_loaded_file to set the remote exec-file.
4056
f8c2a73c
PA
40572014-05-01 Pedro Alves <palves@redhat.com>
4058
4059 * boards/local-remote-host.exp: New file.
4060
be6e8ac7
PA
40612014-05-01 Pedro Alves <palves@redhat.com>
4062
4063 * boards/local-remote-host.exp: Rename to ...
4064 * boards/local-remote-host-notty.exp: ... this.
4065
cac0dc8f
JB
40662014-04-28 Joel Brobecker <brobecker@adacore.com>
4067
4068 * gdb.ada/dyn_arrayidx: New testcase.
4069
9730e6cc
YQ
40702014-04-26 Yao Qi <yao@codesourcery.com>
4071
4072 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
4073 and compute the length of function main. Save it in
4074 $main_length.
4075 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
4076 (top-level): Use gdb_compile to compile objects into
4077 executable and restart GDB. Remove invocation to
4078 prepare_for_testing.
4079
7ae1a6a6
PA
40802014-04-25 Simon Marchi <simon.marchi@ericsson.com>
4081 Pedro Alves <palves@redhat.com>
4082
4083 PR server/16255
4084 * gdb.multi/multi-attach.c: New file.
4085 * gdb.multi/multi-attach.exp: New file.
4086
4082afcc
PA
40872014-04-25 Pedro Alves <palves@redhat.com>
4088
4089 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
4090 user.
4091 (top level): Test that "set remote conditional-breakpoints-packet
4092 off" works as intended.
4093 * gdb.base/dprintf.exp: Test that "set remote
4094 breakpoint-commands-packet off" works as intended.
4095 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
4096 New function.
4097 (top level): Call it.
4098 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
4099 remote fast-tracepoints-packet off" works as intended.
4100 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
4101 * lib/gdb.exp (gdb_is_target_remote): ... here.
4102
2abc3f8d
DB
41032014-04-24 David Blaikie <dblaikie@gmail.com>
4104
4105 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
4106 ensure clang would not discard them.
4107 * gdb.base/gdbvars.c: Ditto.
4108 * gdb.base/memattr.c: Ditto.
4109 * gdb.base/whatis.c: Ditto.
4110 * gdb.python/py-prettyprint.c: Ditto.
4111 * gdb.trace/actions.c: Ditto.
4112 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
4113 ensure clang would not discard it.
4114
bfd39632
DB
41152014-04-24 David Blaikie <dblaikie@gmail.com>
4116
4117 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
4118 clang to emit the full definition of type required by the test
4119 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
4120
22842ff6
DB
41212014-04-24 David Blaikie <dblaikie@gmail.com>
4122
4123 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
4124 coax Clang into emitting the definition of the type.
4125 * gdb.cp/pr10728-x.h (y): Ditto.
4126 * gdb.cp/pr10728-y.cc (y): Ditto.
4127
c2e827ad
DB
41282014-04-24 David Blaikie <dblaikie@gmail.com>
4129
4130 * gdb.base/label.exp: XFAIL label related tests under Clang.
4131 * gdb.cp/cplabel.exp: Ditto.
4132 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
4133 under Clang those using labels.
4134
4c2d33e7
YQ
41352014-04-25 Yao Qi <yao@codesourcery.com>
4136
4137 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
4138 double_label.
4139 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
4140 partial_label and double_label.
4141
56083b99
DB
41422014-04-24 David Blaikie <dblaikie@gmail.com>
4143
4144 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
4145
25d4e99d
DB
41462014-04-24 David Blaikie <dblaikie@gmail.com>
4147
4148 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
4149 of the function to work across GCC and Clang.
4150 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
4151 pointer types (const void ** const V void **).
4152
01f9f808
MS
41532014-04-24 Michael Sturm <michael.sturm@mintel.com>
4154 Walfred Tedeschi <walfred.tedeschi@intel.com>
4155
4156 * Makefile.in (EXECUTABLES): Added i386-avx512.
4157 * gdb.arch/i386-avx512.c: New file.
4158 * gdb.arch/i386-avx512.exp: Likewise.
4159
4b48d439
KS
41602014-04-23 Keith Seitz <keiths@redhat.com>
4161
4162 * lib/mi-support.exp (mi_list_breakpoints): Delete.
4163 (mi_make_breakpoint_table): New procedure.
4164 (mi_create_breakpoint): Use mi_make_breakpoint
4165 and return the result.
4166 (mi_make_breakpoint): New procedure.
4167 (mi_build_kv_pairs): New procedure.
4168
4169 * gdb.mi/mi-break.exp: Remove unused globals,
4170 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
4171 All callers updated.
4172 * gdb.mi/mi-dprintf.exp: Use variable to track command
4173 number.
4174 Update all callers of mi_create_breakpoint and use
4175 mi_make_breakpoint_table.
4176 Remove any unused global variables.
4177 * gdb.mi/mi-nonstop.exp: Likewise.
4178 * gdb.mi/mi-nsintrall.exp: Likewise.
4179 * gdb.mi/mi-nsmoribund.exp: Likewise.
4180 * gdb.mi/mi-nsthrexec.exp: Likewise.
4181 * gdb.mi/mi-reverse.exp: Likewise.
4182 * gdb.mi/mi-simplerun.exp: Likewise.
4183 * gdb.mi/mi-stepn.exp: Likewise.
4184 * gdb.mi/mi-syn-frame.exp: Likewise.
4185 * gdb.mi/mi-until.exp: Likewise.
4186 * gdb.mi/mi-var-cp.exp: Likewise.
4187 * gdb.mi/mi-var-display.exp: Likewise.
4188 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
4189 * gdb.mi/mi2-var-child.exp: Likewise.
4190 * gdb.mi/mi-vla-c99.exp: Likewise.
4191 * lib/mi-support.exp: Likewise.
4192
4193 From Ian Lance Taylor <iant@cygnus.com>:
4194 * lib/gdb.exp (parse_args): New procedure.
4195
08351840
PA
41962014-04-23 Pedro Alves <palves@redhat.com>
4197
4198 * gdb.base/break-unload-file.c: New file.
4199 * gdb.base/break-unload-file.exp: New file.
4200 * gdb.base/sym-file-lib.c (baz): New function.
4201 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
4202 field.
4203 (load): Store the segment's mapped size.
4204 (unload): New function.
4205 (unload_shlib): New function.
4206 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
4207 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
4208 set a breakpoint at baz, and call it.
4209 * gdb.base/sym-file.exp: New tests for stale breakpoint
4210 instructions.
4211
076855f9
PA
42122014-04-23 Pedro Alves <palves@redhat.com>
4213
4214 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
4215 * gdb.base/hbreak-in-shr-unsupported.c: New file.
4216 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
4217 * gdb.base/hbreak-unmapped.c: New file.
4218 * gdb.base/hbreak-unmapped.exp: New file.
4219 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
4220 * lib/gdb.exp (gdb_is_target_remote): ... here.
4221
483805cf
PA
42222014-04-22 Pedro Alves <palves@redhat.com>
4223
4224 * gdb.base/consecutive-step-over.c: New file.
4225 * gdb.base/consecutive-step-over.exp: New file.
4226
06d97543
PA
42272014-04-22 Pedro Alves <palves@redhat.com>
4228
4229 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
4230 instead of send_gdb/gdb_expect.
4231
b4429ea2
YQ
42322014-04-22 Yao Qi <yao@codesourcery.com>
4233
4234 * lib/trace-support.exp (generate_tracefile): New procedure.
4235 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
4236 return 0.
4237 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
4238 if generate_tracefile returns 1.
4239
51d48146
PA
42402014-04-18 Tom Tromey <palves@redhat.com>
4241 Pedro alves <tromey@redhat.com>
4242
4243 PR backtrace/15558
4244 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
4245 with a backtrace limit.
4246 * gdb.python/py-frame-inline.exp: Test running to an inline
4247 function with a backtrace limit, and printing the newest frame.
4248 * gdb.python/py-frame-inline.c (main): Call f.
4249
bd1dce5f
MS
42502014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
4251
4252 * gdb.java/jnpe.exp: Drop srcdir from untested path.
4253
40d1a503
MS
42542014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
4255
4256 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
4257 Drop prefix from unsupported source file path.
4258
389b98f7
YQ
42592014-04-17 Yao Qi <yao@codesourcery.com>
4260
4261 * lib/gdb.exp (with_target_charset): New proc.
4262 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
4263 with_target_charset.
4264 (test_print_strings): Likewise.
4265 (test_repeat_bytes): Likewise.
4266 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
4267 for some tests.
4268
22869d73
KS
42692014-04-16 Keith Seitz <keiths@redhat.com>
4270
4271 PR gdb/15827
4272 * gdb.dwarf2/corrupt.c: New file.
4273 * gdb.dwarf2/corrupt.exp: New file.
4274
c4f87ca6
KS
42752014-04-16 Keith Seitz <keiths@redhat.com>
4276
4277 PR c++/16597
4278 * gdb.cp/namelessclass.cc: New file.
4279 * gdb.cp/namelessclass.exp: New file.
4280 * gdb.cp/namelessclass.S: New file.
4281
ab19de87
DE
42822014-04-16 Doug Evans <dje@google.com>
4283
4284 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
4285 Add comment.
4286 (gdbserver_default_get_comm_port): New function.
4287 (gdbserver_start): Check if board file provided
4288 "gdbserver,get_comm_port" and use it if so.
4289 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
4290 (gdb,socketport): Set to "stdio".
4291 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
4292 (stdio_gdbserver_template): Delete.
4293 (${board}_get_remote_address): Update.
4294 (${board}_build_remote_cmd): Delete.
4295 (${board}_get_comm_port): New function.
4296 (${board}_spawn): Update.
4297 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
4298 Delete.
4299 (${board}_get_remote_address): Update.
4300 (${board}_get_comm_port): New function.
4301
fc98a809
AB
43022014-04-16 Andrew Burgess <aburgess@broadcom.com>
4303
4304 * gdb.base/memattr.exp: Improve regexps to handle memory regions
4305 appearing in any order.
4306
87fd9e6e
DE
43072014-04-15 Doug Evans <dje@google.com>
4308
4309 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
4310 uninitialized value of "description".
4311
099fc3ea
KS
43122014-04-15 Keith Seitz <keiths@redhat.com>
4313
4314 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
4315 Remove unused globals.
4316 (test_running_the_program): Likewise.
4317 (test_controlled_execution): Likewise.
4318 (test_controlling_breakpoints): Likewise.
4319 (test_program_termination): Likewise.
4320
5da151d4
KS
43212014-04-15 Keith Seitz <keiths@redhat.com>
4322
4323 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
4324 unused globals.
4325 (test_rbreak_creation_and_listing): Likewise.
4326 (test_ignore_count): Likewise.
4327 (test_error): Likewise.
4328
35e5d2f0
PA
43292014-04-15 Pedro Alves <palves@redhat.com>
4330
4331 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
4332 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
4333 sym-file-loader.c.
4334 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4335 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4336 to sym-file-loader.c.
4337 (struct library): Forward declare.
4338 (load_shlib, lookup_function): Change prototypes.
4339 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4340 (translate_offset): Remove declarations.
4341 (get_text_addr): New declaration.
4342 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
4343 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
4344 sym-file-loader.h.
4345 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4346 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4347 here from sym-file-loader.h.
4348 (struct library): New structure.
4349 (load_shlib, lookup_function): Change prototypes and adjust to
4350 work with a struct library.
4351 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4352 (translate_offset): Make static.
4353 (get_text_addr): New function.
4354 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
4355
eb4c1710
PA
43562014-04-15 Pedro Alves <palves@redhat.com>
4357
4358 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
4359
2d1baf52
PA
43602014-04-15 Pedro Alves <palves@redhat.com>
4361
4362 * gdb.base/sym-file-loader.c: Include <limits.h>.
4363 (SELF_LINK): New define.
4364 (get_origin): New function.
4365 (load_shlib): Use it.
4366 * gdb.base/sym-file.exp: Don't early return if the target is
4367 remote. Use runto_main, and issue fail is that fails. Use
4368 gdb_load_shlibs.
4369 (shlib_name): Delete.
4370 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
4371
7dd6df01
PA
43722014-04-15 Pedro Alves <palves@redhat.com>
4373
4374 * gdb.base/sym-file.exp: Remove regex characters from test
4375 message. Don't refer to breakpoint numbers in test messages.
4376
b50c8614
KS
43772014-04-14 Keith Seitz <keiths@redhat.com>
4378
4379 PR c++/16253
4380 * gdb.cp/var-tag.cc: New file.
4381 * gdb.cp/var-tag.exp: New file.
4382 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4383 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4384 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4385 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4386
3d567982
TT
43872014-04-14 Tom Tromey <tromey@redhat.com>
4388
4389 * gdb.cp/classes.exp (test_enums): Handle underlying type.
4390 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
4391 type.
4392 * gdb.cp/enum-class.exp: New file.
4393 * gdb.cp/enum-class.cc: New file.
4394
0626fc76
TT
43952014-04-14 Tom Tromey <tromey@redhat.com>
4396
4397 * gdb.dwarf2/enum-type.exp: New file.
4398
dca325b3
SA
43992014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4400
4401 * gdb.mi/mi-vla-c99.exp: New file.
4402 * gdb.mi/vla.c: New file.
4403
5854b38a
SA
44042014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4405
4406 * gdb.base/vla-datatypes.c: New file.
4407 * gdb.base/vla-datatypes.exp: New file.
4408
463bb957
SA
44092014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4410
4411 * gdb.base/vla-ptr.c: New file.
4412 * gdb.base/vla-ptr.exp: New file.
4413
3dd170be
SA
44142014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4415
4416 * gdb.dwarf2/count.exp: New file.
4417
5ecaaa66
SA
44182014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4419
4420 * gdb.base/vla-sideeffect.c: New file.
4421 * gdb.base/vla-sideeffect.exp: New file.
4422
41f1ada5
DB
44232014-04-14 David Blaikie <dblaikie@gmail.com>
4424
4425 * gdb.mi/non-stop.c: Add return value for non-void function return
4426 statement.
4427 * gdb.threads/staticthreads.c: Ditto.
4428
0be03e84
DE
44292014-04-12 Siva Chandra Reddy <sivachandra@google.com>
4430 Doug Evans <xdje42@gmail.com>
4431
4432 * gdb.guile/scm-value.c: Improve test case.
4433 * gdb.guile/scm-value.exp: Add new test.
4434
f180a1fb
DB
44352014-04-11 David Blaikie <dblaikie@gmail.com>
4436
4437 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
4438 override Clang's default.
4439
6b662e19
JB
44402014-04-11 Joel Brobecker <brobecker@adacore.com>
4441
4442 Revert the following changes (regressions):
4443
4444 * gdb.base/vla-sideeffect.c: New file.
4445 * gdb.base/vla-sideeffect.exp: New file.
4446
4447 * gdb.dwarf2/count.exp: New file.
4448
4449 * gdb.base/vla-multi.c: New file.
4450 * gdb.base/vla-multi.exp: New file.
4451
4452 * gdb.base/vla-ptr.c: New file.
4453 * gdb.base/vla-ptr.exp: New file.
4454
4455 * gdb.base/vla-datatypes.c: New file.
4456 * gdb.base/vla-datatypes.exp: New file.
4457
4458 * gdb.mi/mi-vla-c99.exp: New file.
4459 * gdb.mi/vla.c: New file.
4460
245a5f0b
KS
44612014-04-11 Keith Seitz <keiths@redhat.com>
4462
4463 PR c++/16675
4464 * gdb.cp/cpsizeof.exp: New file.
4465 * gdb.cp/cpsizeof.cc: New file.
4466
58a84dcf
SA
44672014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4468
191a8a90
JB
4469 * gdb.mi/mi-vla-c99.exp: New file.
4470 * gdb.mi/vla.c: New file.
58a84dcf 4471
c8655f75
SA
44722014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4473
4474 * gdb.base/vla-datatypes.c: New file.
4475 * gdb.base/vla-datatypes.exp: New file.
4476
024e13b4
SA
44772014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4478
4479 * gdb.base/vla-ptr.c: New file.
4480 * gdb.base/vla-ptr.exp: New file.
4481
1a237e0e
SA
44822014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4483
4484 * gdb.base/vla-multi.c: New file.
4485 * gdb.base/vla-multi.exp: New file.
4486
504f3432
SA
44872014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4488
4489 * gdb.dwarf2/count.exp: New file.
4490
3bce8237
SA
44912014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4492
191a8a90
JB
4493 * gdb.base/vla-sideeffect.c: New file.
4494 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 4495
322f9c21
YQ
44962014-04-11 Yao Qi <yao@codesourcery.com>
4497
4498 * gdb.base/completion.exp: Check file exists before running tests
4499 on file completion.
4500
d708bcd1
PA
45012014-04-10 Pedro Alves <palves@redhat.com>
4502
4503 * gdb.base/cond-eval-mode.c: New file.
4504 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
4505 prepare_for_testing to build the new file. Check result of
4506 runto_main.
4507 (test_break, test_watch): New procedures.
4508 (top level): Use them.
4509
ae1d2761
PM
45102014-04-08 Pierre Muller <muller@sourceware.org>
4511
4512 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
4513 Ctrl-V use for mingw hosts.
4514
7af389b8
SC
45152014-04-07 Siva Chandra Reddy <sivachandra@google.com>
4516
4517 * gdb.python/py-value.c: Improve test case.
4518 * gdb.python/py-value.exp: Add new test.
4519
5e703181
DE
45202014-04-07 David Blaikie <dblaikie@gmail.com>
4521
4522 * lib/compiler.c: Identify the clang compiler.
4523 * lib/compiler.cc: Ditto.
4524
9810b410
YQ
45252014-04-03 Yao Qi <yao@codesourcery.com>
4526
4527 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
4528
98d1b8dc
AB
45292014-04-01 Anton Blanchard <anton@samba.org>
4530
4531 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
4532 messages unique.
4533
3114cea1
AB
45342014-04-01 Anton Blanchard <anton@samba.org>
4535
4536 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
4537 prepare_for_testing.
4538
62f7182c
AB
45392014-04-01 Anton Blanchard <anton@samba.org>
4540
4541 * gdb.arch/ppc64-atomic-inst.c: Remove.
4542 * gdb.arch/ppc64-atomic-inst.S: New file.
4543 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
4544
770e7fc7
DE
45452014-03-31 Doug Evans <dje@google.com>
4546
4547 * gdb.base/print-symbol-loading-lib.c: New file.
4548 * gdb.base/print-symbol-loading-main.c: New file.
4549 * gdb.base/print-symbol-loading.exp: New file.
4550
46e2bafa
YQ
45512014-03-31 Yao Qi <yao@codesourcery.com>
4552
4553 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
4554
8776cfe9
JB
45552014-03-28 Joel Brobecker <brobecker@adacore.com>
4556
4557 * gdb.ada/mi_dyn_arr: New testcase.
4558
5d1ef361
DE
45592014-03-27 Doug Evans <dje@google.com>
4560
4561 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
4562
b5bee914
YQ
45632014-03-27 Yao Qi <yao@codesourcery.com>
4564
4565 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
4566 if target is nios2-*-*.
4567
0d4d0e77
YQ
45682014-03-26 Yao Qi <yao@codesourcery.com>
4569
4570 * lib/gdb.exp (readline_is_used): New proc.
4571 * gdb.base/completion.exp: Move tests on command complete up.
4572 Skip the rest of tests if readline is not used.
4573 * gdb.ada/complete.exp: Skp the test if readline is not
4574 used.
4575 * gdb.base/filesym.exp: Likewise.
4576 * gdb.base/macscp.exp: Likewise.
4577 * gdb.base/readline-ask.exp: Likewise.
4578 * gdb.base/readline.exp: Likewise.
4579 * gdb.python/py-cmd.exp: Likewise.
4580 * gdb.trace/tfile.exp: Likewise.
4581
29361eee
YQ
45822014-03-26 Yao Qi <yao@codesourcery.com>
4583
4584 * gdb.base/macscp.exp: Fix code format issues.
4585
bc9a5525
UW
45862014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
4587
4588 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
4589 * gdb.asm/powerpc64le.inc: New file.
4590
d3839ede
PA
45912014-03-25 Pedro Alves <palves@redhat.com>
4592 Doug Evans <dje@google.com>
4593
4594 * gdb.base/source-execution.c: New file.
4595 * gdb.base/source-execution.exp: New file.
4596 * gdb.base/source-execution.gdb: New file.
4597
01672a57
DE
45982014-03-24 Doug Evans <dje@google.com>
4599
4600 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
4601 using fission.
4602
88bbeca9
HZ
46032014-03-24 Hui Zhu <hui@codesourcery.com>
4604 Pedro Alves <palves@redhat.com>
4605
4606 PR breakpoints/16101
4607 * gdb.base/dprintf.exp: Use unsupported rather than changing the
4608 test pass/fail messages. Detect missing support for dprintf when
4609 breakpoints are actually inserted.
4610 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
4611 breakpoints are actually inserted.
4612 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
4613 fails.
4614
d2348791
JK
46152014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4616
4617 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
4618
feef67ab
DE
46192014-03-22 Doug Evans <xdje42@gmail.com>
4620
4621 * gdb.python/python.exp (python not supported): Verify multi-line
4622 python command issues an error.
25d743f9 4623 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 4624 guile command issues an error.
feef67ab 4625
ecebef6a
MR
46262014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
4627
4628 * gdb.threads/thread-specific.exp: Handle the lack of usable
4629 $this_breakpoint and $this_thread.
4630
ccdd1909
HZ
46312014-03-21 Hui Zhu <hui@codesourcery.com>
4632
4633 * gdb.base/attach.exp (do_command_attach_tests): New.
4634
beb460e8
PA
46352014-03-20 Tom Tromey <tromey@redhat.com>
4636 Pedro Alves <palves@redhat.com>
4637
4638 PR cli/15718
4639 * gdb.base/condbreak-call-false.c: New file.
4640 * gdb.base/condbreak-call-false.exp: New file.
4641
40acf43a
PA
46422014-03-20 Pedro Alves <palves@redhat.com>
4643
4644 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
4645 Delete.
4646 (block_signals, unblock_signals): Delete.
4647 (child_function_2, main): Remove references to deleted variable
4648 and functions.
4649
9f5e1e02
PA
46502014-03-20 Pedro Alves <palves@redhat.com>
4651
4652 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
4653 Use pthread_kill to signal thread 2.
4654 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4655 Adjust to make the test send itself a signal rather than using the
4656 host's "kill" command.
4657
99619bea
PA
46582014-03-20 Pedro Alves <palves@redhat.com>
4659
4660 * gdb.threads/multiple-step-overs.c: New file.
4661 * gdb.threads/multiple-step-overs.exp: New file.
4662 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4663 Adjust expected infrun debug output.
4664
2adfaa28
PA
46652014-03-20 Pedro Alves <palves@redhat.com>
4666
4667 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
4668 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
4669
31e77af2
PA
46702014-03-20 Pedro Alves <palves@redhat.com>
4671
4672 PR breakpoints/7143
4673 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
4674 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
4675 of gdb_test_multiple.
4676 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
4677 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
4678
b9f437de
PA
46792014-03-20 Pedro Alves <palves@redhat.com>
4680
4681 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
4682 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
4683
05adc73e
PA
46842014-03-19 Pedro Alves <palves@redhat.com>
4685
4686 * gdb.base/async.exp: Remove early return.
4687
6048b950
PA
46882014-03-19 Pedro Alves <palves@redhat.com>
4689
4690 * gdb.base/async.exp (step& tests): Pass explicit test messages.
4691
8bcfb00a
PA
46922014-03-19 Pedro Alves <palves@redhat.com>
4693
4694 * gdb.base/async.exp (test_background): Expect \r\n after
4695 "completed." in the fail pattern.
4696
884e37dc
PA
46972014-03-19 Pedro Alves <palves@redhat.com>
4698
4699 * gdb.base/async.exp (test_background): New procedure.
4700 Use it for all background execution command tests.
4701
148e57e2
PA
47022014-03-19 Pedro Alves <palves@redhat.com>
4703
4704 * gdb.base/async.exp: Use prepare_for_testing.
4705
f48088c7
PA
47062014-03-19 Pedro Alves <palves@redhat.com>
4707
4708 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
4709 the same line.
4710
e2f6c966
PA
47112014-03-19 Pedro Alves <palves@redhat.com>
4712
4713 * gdb.base/async.c (main): Add "jump here" and "until here" line
4714 marker comments.
4715 * gdb.base/async.exp (jump_here): New global.
4716 (jump& test): Use it.
4717 (until_here): New global.
4718 (until& test): Use it.
4719
c30568d4
PA
47202014-03-19 Pedro Alves <palves@redhat.com>
4721
4722 * gdb.base/async.exp: Don't frob gdb_protocol.
4723
0172b6a7
DE
47242014-03-18 Doug Evans <xdje42@gmail.com>
4725
4726 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
4727 Fix spelling of exec-done-display.
4728
06c868a8
JK
47292014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4730
4731 PR gdb/15358
4732 * gdb.base/gdb-sigterm.c: New file.
4733 * gdb.base/gdb-sigterm.exp: New file.
4734
0c7e1a46
PA
47352014-03-18 Pedro Alves <palves@redhat.com>
4736
4737 PR gdb/13860
4738 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
4739 * lib/mi-support.exp (mi_expect_stop): Add special handling for
4740 solib-event.
4741
f7c77d93
JB
47422014-03-17 Joel Brobecker <brobecker@adacore.com>
4743
4744 * gdb.ada/pckd_arr_ren: New testcase.
4745
5a1e8c7a
DE
47462014-03-13 Doug Evans <xdje42@gmail.com>
4747
4748 PR guile/16612
4749 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
4750 collect after discarding symbols.
4751
350e1a76
DE
47522014-03-13 Ludovic Courtès <ludo@gnu.org>
4753 Doug Evans <xdje42@gmail.com>
4754
4755 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
4756 to history survives a gc.
4757
a69900ae
PA
47582014-03-13 Pedro Alves <palves@redhat.com>
4759
4760 * gdb.base/default.exp: Don't test "target procfs".
4761
5db9f0bd
PA
47622014-03-13 Pedro Alves <palves@redhat.com>
4763
4764 * gdb.base/default.exp: Update "target child" and "target procfs"
4765 tests to not expect "Unix".
4766
b3ccfe11
TT
47672014-03-12 Tom Tromey <tromey@redhat.com>
4768
4769 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
4770 New procs. Add target-async tests.
4771 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
4772 Add target-async tests.
4773
646f4417
AA
47742014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4775
4776 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
4777 'func_start' and 'func_end' for the beginning and end of the
4778 function code, respectively.
4779 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
4780 'func_end' instead of 'func' and 'main'.
4781
288c211f
AA
47822014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4783
4784 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
4785 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
4786 generate the debug info assembler source.
4787
e0c0f156
AA
47882014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4789
4790 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
4791 * gdb.dwarf2/arr-subrange.exp: Likewise.
4792 * gdb.dwarf2/dwz.exp: Likewise.
4793 * gdb.dwarf2/method-ptr.exp: Likewise.
4794 * gdb.dwarf2/missing-sig-type.exp: Likewise.
4795 * gdb.dwarf2/subrange.exp: Likewise.
4796 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
4797 * gdb.dwarf2/implptrpiece.exp: Likewise.
4798 * gdb.dwarf2/nostaticblock.exp: Likewise.
4799
0e5c4555
AA
48002014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4801
4802 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
4803 directory to absolute path name arguments.
4804
5ec18f2b
JG
48052014-03-10 Joel Brobecker <brobecker@adacore.com>
4806
4807 * gdb.ada/tagged_access: New testcase.
4808
847fc4f2
MM
48092014-03-07 Markus Metzger <markus.t.metzger@intel.com>
4810
4811 * gdb.btrace/data.exp: Update expected output.
4812
cc3da688
YQ
48132014-03-06 Yao Qi <yao@codesourcery.com>
4814
4815 * gdb.trace/pr16508.exp: New file.
4816
0f26cec1
PA
48172014-03-05 Pedro Alves <palves@redhat.com>
4818
4819 PR gdb/16575
4820 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
4821 procedure.
4822 (top level): Adjust to use it. Add tests that exercise breakpoint
4823 interaction with the code-cache.
4824
7a5a839f
LC
48252014-02-26 Ludovic Courtès <ludo@gnu.org>
4826
4827 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
4828 test for 'history-append!'.
4829
31aa7e4e
JB
48302014-02-26 Joel Brobecker <brobecker@adacore.com>
4831
4832 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
4833 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
4834 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
4835 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
4836 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
4837 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
4838
1b588015
JB
48392014-02-26 Joel Brobecker <brobecker@adacore.com>
4840
4841 * testsuite/gdb.python/py-pp-re-notag.c: New file.
4842 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
4843 * testsuite/gdb.python/py-pp-re-notag.p: New file.
4844
55426c9d
JB
48452014-02-26 Joel Brobecker <brobecker@adacore.com>
4846
4847 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
4848
dc53a7ad
JB
48492014-02-26 Joel Brobecker <brobecker@adacore.com>
4850
4851 * gdb.dwarf2/arr-stride.c: New file.
4852 * gdb.dwarf2/arr-stride.exp: New file.
4853
12ab52e9
PA
48542014-02-26 Pedro Alves <palves@redhat.com>
4855
4856 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
4857 that won't ever trigger. Make sure that GDB reports the correct
4858 breakpoint that caused the stop.
4859
849c862e
JK
48602014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4861
4862 PR gdb/16626
4863 * gdb.base/auto-load-script: New file.
4864 * gdb.base/auto-load.c: New file.
4865 * gdb.base/auto-load.exp: New file.
4866
71b7d793
JK
4867 PR gdb/16626
4868 * gdb.base/auto-load.exp: Fix out-of-srctree run.
4869
e2f0d509
JK
48702014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4871
4872 Fix dw2-icycle.exp -fsanitize=address GDB crash.
4873 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
4874
50cc37c8
DE
48752014-02-24 Doug Evans <dje@google.com>
4876
4877 * lib/gdb.exp (run_on_host): Log error output if program fails.
4878
ea4758f2
PA
48792014-02-21 Pedro Alves <palves@redhat.com>
4880
4881 * gdb.threads/step-after-sr-lock.c: Rename to ...
4882 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
4883 * gdb.threads/step-after-sr-lock.exp: Rename to ...
4884 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4885 ... this.
4886
d7b30f67
SDJ
48872014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
4888
4889 PR tdep/16397
4890 * gdb.arch/amd64-stap-special-operands.exp: New file.
4891 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
4892 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
4893 * gdb.arch/amd64-stap-triplet.S: Likewise.
4894 * gdb.arch/amd64-stap-triplet.c: Likewise.
4895
83deb43f
JB
48962014-02-20 Joel Brobecker <brobecker@adacore.com>
4897
4898 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
4899 in .section pseudo-op.
4900
adde2bff
DE
49012014-02-20 lin zuojian <manjian2006@gmail.com>
4902 Joel Brobecker <brobecker@adacore.com>
4903 Doug Evans <xdje42@gmail.com>
4904
4905 PR symtab/16581
4906 * gdb.dwarf2/dw2-icycle.S: New file.
4907 * gdb.dwarf2/dw2-icycle.c: New file.
4908 * gdb.dwarf2/dw2-icycle.exp: New file.
4909
f7bd0f78
SC
49102014-02-19 Siva Chandra Reddy <sivachandra@google.com>
4911
4912 * gdb.python/py-value-cc.cc: Improve test case to enable testing
4913 operations on gdb.Value objects.
4914 * gdb.python/py-value-cc.exp: Add new test to test operations on
4915 gdb.Value objects.
4916
c17ef0d5
DE
49172014-02-18 Doug Evans <dje@google.com>
4918
4919 * Makefile.in (TESTS): New variable.
4920 (expanded_tests, expanded_tests_or_none): New variables
4921 (check-single): Pass $(expanded_tests_or_none) to runtest.
4922 (check-parallel): Only run tests in $(TESTS) if non-empty.
4923 (check/no-matching-tests-found): New rule.
4924 * README: Document TESTS makefile variable.
4925
5dd3176f
DE
49262014-02-18 Doug Evans <dje@google.com>
4927
4928 * Makefile.in (check-parallel): rm -rf outputs temp.
4929
0b10be4f
JK
49302014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4931
4932 Fix "ERROR: no fileid for" in the testsuite.
4933 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
4934
85f224e7
DE
49352014-02-12 Doug Evans <dje@google.com>
4936
4937 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
4938 (MISCELLANEOUS): New variable.
4939 (clean): rm -rf $(MISCELLANEOUS).
4940 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
4941 dwp live in the same directory as symlinks, with each symlink pointed
4942 to a differently named file in a different directory.
4943
149b30ff
DE
49442014-02-11 Doug Evans <dje@google.com>
4945
4946 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
4947 of Tcl file commands.
4948
1dfdac32
MK
49492014-02-10 Mark Kettenis <kettenis@gnu.org>
4950
4951 * gdb.threads/step-after-sr-lock.exp: Avoid executing
4952 "kill -SIGUSR1 -1".
4953
aa4fb036
JB
49542014-02-10 Joel Brobecker <brobecker@adacore.com>
4955
4956 * gdb.ada/tick_length_array_enum_idx: New testcase.
4957
ed3ef339
DE
49582014-02-10 Doug Evans <xdje42@gmail.com>
4959
4960 * configure.ac (AC_OUTPUT): Add gdb.guile.
4961 * configure: Regenerate.
4962 * lib/gdb-guile.exp: New file.
4963 * lib/gdb.exp (get_target_charset): New function.
4964 * gdb.base/help.exp: Update expected output from "apropos apropos".
4965 * gdb.guile/Makefile.in: New file.
4966 * gdb.guile/guile.exp: New file.
4967 * gdb.guile/scm-arch.c: New file.
4968 * gdb.guile/scm-arch.exp: New file.
4969 * gdb.guile/scm-block.c: New file.
4970 * gdb.guile/scm-block.exp: New file.
4971 * gdb.guile/scm-breakpoint.c: New file.
4972 * gdb.guile/scm-breakpoint.exp: New file.
4973 * gdb.guile/scm-disasm.c: New file.
4974 * gdb.guile/scm-disasm.exp: New file.
4975 * gdb.guile/scm-equal.c: New file.
4976 * gdb.guile/scm-equal.exp: New file.
4977 * gdb.guile/scm-error.exp: New file.
4978 * gdb.guile/scm-error.scm: New file.
4979 * gdb.guile/scm-frame-args.c: New file.
4980 * gdb.guile/scm-frame-args.exp: New file.
4981 * gdb.guile/scm-frame-args.scm: New file.
4982 * gdb.guile/scm-frame-inline.c: New file.
4983 * gdb.guile/scm-frame-inline.exp: New file.
4984 * gdb.guile/scm-frame.c: New file.
4985 * gdb.guile/scm-frame.exp: New file.
4986 * gdb.guile/scm-generics.exp: New file.
4987 * gdb.guile/scm-gsmob.exp: New file.
4988 * gdb.guile/scm-iterator.c: New file.
4989 * gdb.guile/scm-iterator.exp: New file.
4990 * gdb.guile/scm-math.c: New file.
4991 * gdb.guile/scm-math.exp: New file.
4992 * gdb.guile/scm-objfile-script-gdb.in: New file.
4993 * gdb.guile/scm-objfile-script.c: New file.
4994 * gdb.guile/scm-objfile-script.exp: New file.
4995 * gdb.guile/scm-objfile.c: New file.
4996 * gdb.guile/scm-objfile.exp: New file.
4997 * gdb.guile/scm-ports.exp: New file.
4998 * gdb.guile/scm-pretty-print.c: New file.
4999 * gdb.guile/scm-pretty-print.exp: New file.
5000 * gdb.guile/scm-pretty-print.scm: New file.
5001 * gdb.guile/scm-section-script.c: New file.
5002 * gdb.guile/scm-section-script.exp: New file.
5003 * gdb.guile/scm-section-script.scm: New file.
5004 * gdb.guile/scm-symbol.c: New file.
5005 * gdb.guile/scm-symbol.exp: New file.
5006 * gdb.guile/scm-symtab-2.c: New file.
5007 * gdb.guile/scm-symtab.c: New file.
5008 * gdb.guile/scm-symtab.exp: New file.
5009 * gdb.guile/scm-type.c: New file.
5010 * gdb.guile/scm-type.exp: New file.
5011 * gdb.guile/scm-value-cc.cc: New file.
5012 * gdb.guile/scm-value-cc.exp: New file.
5013 * gdb.guile/scm-value.c: New file.
5014 * gdb.guile/scm-value.exp: New file.
5015 * gdb.guile/source2.scm: New file.
5016 * gdb.guile/types-module.cc: New file.
5017 * gdb.guile/types-module.exp: New file.
5018
7026a7c1
YQ
50192014-02-10 Yao Qi <yao@codesourcery.com>
5020
5021 PR testsuite/16543
5022 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
5023 * configure: Regenerated.
5024 * Makefile.in: New file.
5025
6c466447
AS
50262014-02-08 Andreas Schwab <schwab@linux-m68k.org>
5027
5028 * gdb.python/py-framefilter.exp: Fix typo.
5029
6e854735
YQ
50302014-02-08 Yao Qi <yao@codesourcery.com>
5031
5032 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
5033 that no =breakpoint-modified is emitted when breakpoints are
5034 modified through MI commands.
5035
d137e6dc
PA
50362014-02-07 Pedro Alves <pedro@codesourcery.com>
5037 Pedro Alves <palves@redhat.com>
5038
5039 * gdb.threads/step-after-sr-lock.c: New file.
5040 * gdb.threads/step-after-sr-lock.exp: New file.
5041
b5ee5a50
PA
50422014-02-07 Pedro Alves <palves@redhat.com>
5043
5044 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
5045
3c77faf3
JK
50462014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5047
5048 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
5049 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
5050
6dddc817
DE
50512014-02-06 Doug Evans <xdje42@gmail.com>
5052
5053 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
5054 output.
5055
5056 * gdb.gdb/python-interrupts.exp: New file.
5057
de7b2893
YQ
50582014-02-05 Yao Qi <yao@codesourcery.com>
5059
5060 * gdb.trace/report.exp (use_collected_data): Test the output
5061 of "info threads" and "info inferiors".
5062
66d032ac
YQ
50632014-02-05 Yao Qi <yao@codesourcery.com>
5064
5065 Revert this patch:
5066
5067 2013-05-24 Yao Qi <yao@codesourcery.com>
5068
5069 * gdb.trace/tfile.exp: Test inferior and thread.
5070
591a12a1
UW
50712014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5072
5073 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
5074 on a function.
5075 * gdb.base/step-bt.c: Call hello via function pointer to make
5076 sure its first instruction is executed on powerpc64le-linux.
5077
0ff3e01f
UW
50782014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5079
5080 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
5081
084ee545
UW
50822014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5083
5084 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
5085 of the test patterns for use on little-endian systems.
5086
6ed14ff3
UW
50872014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5088
5089 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
5090 (decimal_vector): Fix for little-endian.
5091
401e27fd
JM
50922014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
5093
5094 * gdb.arch/sparc-sysstep.exp: New file.
5095 * gdb.arch/sparc-sysstep.c: Likewise.
5096
5097 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
5098
8b924729
EBM
50992014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5100
5101 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
5102
fb151210
JB
51032014-01-23 Tom Tromey <tromey@redhat.com>
5104
5105 * gdb.ada/array_char_idx: New testcase.
5106
0740f8d8
TT
51072014-01-23 Tom Tromey <tromey@redhat.com>
5108
5109 PR python/16487:
5110 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
5111 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
5112 classes.
5113
21909fa1
TT
51142014-01-23 Tom Tromey <tromey@redhat.com>
5115
5116 PR python/16491:
5117 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
5118 string from an inferior frame.
5119 * gdb.python/py-framefilter-mi.exp: Update.
5120
87ce2a04
DE
51212014-01-22 Doug Evans <dje@google.com>
5122
5123 * gdb.server/server-mon.exp: Add tests for "set debug-format".
5124
237b092b
AA
51252014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5126
5127 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
5128
d674a709
AA
51292014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5130
5131 * gdb.trace/entry-values.exp: Remove excess space character from
5132 regex patterns. Handle s390 call instruction.
5133
20fa3390
AA
51342014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5135
5136 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
5137 define "*_start" label. Make "name" static.
5138 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
5139 ${name} by references to ${name}_start.
5140
78466714
AA
51412014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5142
5143 * gdb.base/info-macros.exp: Remove "debug" from the compile
5144 options.
5145
ec9f644a
IB
51462014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5147
5148 * gdb.dlang/demangle.exp: New file.
5149
94b1b47e
IB
51502014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5151
5152 * gdb.dlang/primitive-types.exp: New file.
5153
7f420862
IB
51542014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5155
5156 * configure.ac: Create gdb.dlang/Makefile.
5157 * configure: Regenerate.
5158 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
5159 * gdb.dlang/Makefile.in: New file.
5160 * lib/d-support.exp: New file.
5161 * lib/gdb.exp (skip_d_tests): New proc.
5162
52834460
MM
51632014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5164
5165 * gdb.btrace/delta.exp: Check reverse stepi.
5166 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
5167 * gdb.btrace/finish.exp: New.
5168 * gdb.btrace/next.exp: New.
5169 * gdb.btrace/nexti.exp: New.
5170 * gdb.btrace/record_goto.c: Add comments.
5171 * gdb.btrace/step.exp: New.
5172 * gdb.btrace/stepi.exp: New.
5173 * gdb.btrace/multi-thread-step.c: New.
5174 * gdb.btrace/multi-thread-step.exp: New.
5175 * gdb.btrace/rn-dl-bind.c: New.
5176 * gdb.btrace/rn-dl-bind.exp: New.
5177 * gdb.btrace/data.c: New.
5178 * gdb.btrace/data.exp: New.
5179 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
5180
6e07b1d2
MM
51812014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5182
5183 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
5184 * gdb.btrace/exception.exp: Update.
5185 * gdb.btrace/instruction_history.exp: Update.
5186 * gdb.btrace/record_goto.exp: Update.
5187 * gdb.btrace/tailcall.exp: Update.
5188 * gdb.btrace/unknown_functions.exp: Update.
5189 * gdb.btrace/delta.exp: New.
5190
0b722aec
MM
51912014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5192
5193 * gdb.btrace/record_goto.exp: Add backtrace test.
5194 * gdb.btrace/tailcall.exp: Add backtrace test.
5195
066ce621
MM
51962014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5197
5198 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
5199 * gdb.btrace/record_goto.c: New.
5200 * gdb.btrace/record_goto.exp: New.
5201 * gdb.btrace/x86-record_goto.S: New.
5202
0688d04e
MM
52032014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5204
5205 * gdb.btrace/function_call_history.exp: Update tests.
5206 * gdb.btrace/instruction_history.exp: Update tests.
5207
8710b709
MM
52082014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5209
5210 * gdb.btrace/function_call_history.exp: Fix expected field
5211 order for "record function-call-history".
5212 Add new tests for "record function-call-history /c".
5213 * gdb.btrace/exception.cc: New.
5214 * gdb.btrace/exception.exp: New.
5215 * gdb.btrace/tailcall.exp: New.
5216 * gdb.btrace/x86-tailcall.S: New.
5217 * gdb.btrace/x86-tailcall.c: New.
5218 * gdb.btrace/unknown_functions.c: New.
5219 * gdb.btrace/unknown_functions.exp: New.
5220 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
5221
5de9129b
MM
52222014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5223
5224 * gdb.btrace/instruction_history.exp: Update.
5225 * gdb.btrace/function_call_history.exp: Update.
5226
23a7fe75
MM
52272014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5228
5229 * gdb.btrace/function_call_history.exp: Fix expected function
5230 trace.
5231 * gdb.btrace/instruction_history.exp: Initialize traced.
5232 Remove traced_functions.
5233
724c7dd8
MM
52342014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5235
5236 * gdb.btrace/function_call_history.exp: Update
5237 * gdb.btrace/instruction_history.exp: Update.
5238
6d78d93b
MM
52392014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5240
5241 * gdb.btrace/enable.exp: Update expected text.
5242
93a360cc
OJ
52432014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
5244
5245 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
5246 bytes.
5247
3772b53f
MR
52482014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
5249
5250 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
5251
596662fa
OJ
52522014-01-15 Omair Javaid <omair.javaid@linaro.org>
5253
5254 * lib/gdb.exp (supports_process_record): Return true for
5255 arm*-linux*. (supports_reverse): Likewise.
5256
b5b08fb4
SC
52572014-01-13 Siva Chandra Reddy <sivachandra@google.com>
5258
5259 PR python/15464
5260 PR python/16113
5261 * gdb.python/py-type.c: Enhance test case.
5262 * gdb.python/py-value-cc.cc: Likewise
5263 * gdb.python/py-type.exp: Add new tests.
5264 * gdb.python/py-value-cc.exp: Likewise
5265
52d7fb13
AA
52662014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
5267 Pedro Alves <palves@redhat.com>
5268
5269 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
5270 Make "name" extern.
5271 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
5272 references to ${name}_start by references to ${name}.
5273
a2cd8cfe
JB
52742014-01-10 Joel Brobecker <brobecker@adacore.com>
5275
5276 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
5277
4e23fced
JB
52782014-01-10 Joel Brobecker <brobecker@adacore.com>
5279
5280 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
5281
c6a9e42c
PA
52822014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
5283 Pedro Alves <palves@redhat.com>
5284
5285 * gdb.mi/mi-info-os.exp: Connect to the target with
5286 mi_gdb_target_load.
5287
b7ea362b
PA
52882014-01-08 Pedro Alves <palves@redhat.com>
5289
5290 * gdb.threads/reconnect-signal.c: New file.
5291 * gdb.threads/reconnect-signal.exp: New file.
5292
5e3f4fab
EBM
52932014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5294
5295 * gdb.base/source-dir.exp: New file.
5296
79301218
JB
52972014-01-07 Joel Brobecker <brobecker@adacore.com>
5298
5299 * gdb.ada/mi_interface: New testcase.
5300
8e355c5d
JB
53012014-01-07 Joel Brobecker <brobecker@adacore.com>
5302
5303 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
5304 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
5305 gdb.ada/pp-rec-component/pck.ads: New files.
5306
c0d48811
JB
53072014-01-07 Joel Brobecker <brobecker@adacore.com>
5308
5309 * gdb.python/py-pp-integral.c: New file.
5310 * gdb.python/py-pp-integral.py: New file.
5311 * gdb.python/py-pp-integral.exp: New file.
5312
17b609c3 5313For older changes see ChangeLog-1993-2013.
c906108c 5314\f
8d8cb839
EZ
5315;; Local Variables:
5316;; mode: change-log
5317;; left-margin: 8
5318;; fill-column: 74
5319;; version-control: never
5320;; End:
902f2ccb 5321
32d0add0 5322 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
5323 Copying and distribution of this file, with or without modification,
5324 are permitted provided the copyright notice and this notice are preserved.
This page took 2.268885 seconds and 4 git commands to generate.