gdbserver/proc-service.c: Change CORE_ADDR cast to uintptr_t
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
5e2e7507
JK
12015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2
3 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
4
0fde2c53
DE
52015-10-26 Doug Evans <dje@google.com>
6
7 PR symtab/17391
8 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
9 * gdb.dwarf2/bad-regnum.c: New file.
10 * gdb.dwarf2/bad-regnum.exp: New file.
11
1a70ae97
DE
122015-10-26 Doug Evans <dje@google.com>
13
14 PR python/18938
15 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
16 file.
17
27dc26ab
JK
182015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
19
20 * gdb.compile/compile.exp (compile code globalvar): Update expectation
21 for a change by "Mention language in compile error message".
22
bed91f4d
SM
232015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
24
25 PR python/18073
26 * gdb.python/py-type.c (C::a_method): New.
27 (C::a_const_method): New.
28 (C::a_static_method): New.
29 (a_function): New.
30 * gdb.python/py-type.exp (test_fields): Test getting fields
31 from function and method.
32
3f2f83dd
KB
332015-10-21 Keven Boell <keven.boell@intel.com>
34
35 * gdb.fortran/vla-alloc-assoc.exp: New file.
36 * gdb.fortran/vla-datatypes.exp: New file.
37 * gdb.fortran/vla-datatypes.f90: New file.
38 * gdb.fortran/vla-history.exp: New file.
39 * gdb.fortran/vla-ptype-sub.exp: New file.
40 * gdb.fortran/vla-ptype.exp: New file.
41 * gdb.fortran/vla-sizeof.exp: New file.
42 * gdb.fortran/vla-sub.f90: New file.
43 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
44 * gdb.fortran/vla-value-sub-finish.exp: New file.
45 * gdb.fortran/vla-value-sub.exp: New file.
46 * gdb.fortran/vla-value.exp: New file.
47 * gdb.fortran/vla-ptr-info.exp: New file.
48 * gdb.mi/mi-vla-fortran.exp: New file.
49 * gdb.mi/vla.f90: New file.
50
27145d50
SL
512015-10-21 Sandra Loosemore <sandra@codesourcery.com>
52
53 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
54 of hardwired timeout value.
55
5f3ff4f8
JK
562015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
57 Pedro Alves <palves@redhat.com>
58
59 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
60 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
61
bfd09d20
JS
622015-10-19 Josh Stone <jistone@redhat.com>
63
64 * gdb.base/catch-syscall.c: Include <sched.h>.
65 (unknown_syscall): New variable.
66 (main): Trigger a vfork and an unknown syscall.
67 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
68 (unknown_syscall_number): Likewise.
69 (check_call_to_syscall): Accept an optional syscall pattern.
70 (check_return_from_syscall): Likewise.
71 (check_continue): Likewise.
72 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
73 (test_catch_syscall_skipping_return): New test toggling off 'catch
74 syscall' to step over the syscall return, then toggling back on.
75 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
76 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
77 (do_syscall_tests): Call test_catch_syscall_without_args and
78 test_catch_syscall_mid_vfork.
79 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
80 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
81
b32b93c6
AS
822015-10-19 Andrew Stubbs <ams@codesourcery.com>
83
84 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
85 print g_vE): Add new pass patterns.
86 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
87 print various symbol names for vptr fields.
88
9d622bda
AB
892015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
90
91 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
92 results.
93
0fd8ac1c
YQ
942015-10-12 Yao Qi <yao.qi@linaro.org>
95
96 * gdb.arch/disp-step-insn-reloc.exp: New test case.
97
34240514
YQ
982015-10-12 Yao Qi <yao.qi@linaro.org>
99
100 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
101 is aarch64*-*-linux*.
102
8240f442
YQ
1032015-10-12 Yao Qi <yao.qi@linaro.org>
104
105 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
106 (can_relocate_bcond_true): ... it.
107 (can_relocate_bcond_false): New function.
108 (foo): Likewise.
109 (can_relocate_bl): Likewise.
110 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
111 can_relocate_bl.
112
2520f728
PMR
1132015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
114
115 * gdb.base/nested-addr.c: New file.
116 * gdb.base/nested-addr.exp: New testcase.
117
abcef95a
MM
1182015-10-09 Markus Metzger <markus.t.metzger@intel.com>
119
120 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
121 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
122 its output. Ignore the output of "record goto begin" and instead
123 check that GDB is replaying.
124
145e3ddb
PA
1252015-10-09 Pedro Alves <palves@redhat.com>
126
127 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
128 (top level): Use it in the run with no args test.
129
d5d8c4e1
IB
1302015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
131
132 * gdb.dlang/properties.exp: New file.
133
06e635ef
SL
1342015-10-02 Sandra Loosemore <sandra@codesourcery.com>
135
136 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
137 whether or not address 0x1000 is mapped on the target.
138
e019fd1d
SM
1392015-09-30 Simon Marchi <simon.marchi@ericsson.com>
140
141 * gdb.python/py-type.exp: Do not run tests if binaries fail to
142 build.
143
77ba2a67
MM
1442015-09-30 Markus Metzger <markus.t.metzger@intel.com>
145
146 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
147 instruction-history test.
148
c60eb31f
DE
1492015-09-28 Doug Evans <dje@google.com>
150
151 * gdb.base/gcore.c (array_func): Add reference to static_array.
152
9a3c8263
SM
1532015-09-25 Simon Marchi <simon.marchi@ericsson.com>
154
155 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
156 source line.
157
9720e656
SL
1582015-09-24 Sandra Loosemore <sandra@codesourcery.com>
159
160 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
161 short or char as base type.
162
938d3bf2
SL
1632015-09-23 Sandra Loosemore <sandra@codesourcery.com>
164
165 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
166 to allow any size enum.
167
e6c2c623
PMR
1682015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
169
170 * gdb.ada/array_ptr_renaming.exp: New testcase.
171 * gdb.ada/array_ptr_renaming/foo.adb: New file.
172 * gdb.ada/array_ptr_renaming/pack.ads: New file.
173
06da0f77
PL
1742015-09-21 Pierre Langlois <pierre.langlois@arm.com>
175
176 * gdb.trace/ftrace-lock.c: New file.
177 * gdb.trace/ftrace-lock.exp: New file.
178
4f51c22a
PL
1792015-09-21 Pierre Langlois <pierre.langlois@arm.com>
180
181 * gdb.arch/insn-reloc.c: New file.
182 * gdb.arch/ftrace-insn-reloc.exp: New file.
183
7041adf4
PL
1842015-09-21 Pierre Langlois <pierre.langlois@arm.com>
185
186 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
187 instruction.
188 * gdb.trace/pendshr1.c (pendfunc): Likewise.
189 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
190 * gdb.trace/range-stepping.c: Likewise.
191 * gdb.trace/trace-break.c: Likewise.
192 * gdb.trace/trace-mt.c (thread_function): Likewise.
193 * gdb.trace/ftrace.c (marker): Likewise.
194 * gdb.trace/trace-condition.c (marker): Likewise.
195 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
196 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
197 is_aarch64_target.
198
015d2e7e
DE
1992015-09-18 Doug Evans <xdje42@gmail.com>
200
201 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
202 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
203
26b188a2
SL
2042015-09-18 Sandra Loosemore <sandra@codesourcery.com>
205
206 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
207 the breakpoint.
208
79dc332b
SL
2092015-09-18 Sandra Loosemore <sandra@codesourcery.com>
210
211 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
212 the pending breakpoint. Remove timeout override for "Run till
213 MI pending breakpoint on pendfunc3 on thread 2" test.
214
f57929f2
SL
2152015-09-18 Sandra Loosemore <sandra@codesourcery.com>
216
217 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
218 filename pattern.
219
3f469b17
SL
2202015-09-18 Sandra Loosemore <sandra@codesourcery.com>
221
222 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
223 in breakpoint filename pattern.
224
515b89b3
SL
2252015-09-18 Sandra Loosemore <sandra@codesourcery.com>
226
7800dbe4
SL
227 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
228
2292015-09-18 Sandra Loosemore <sandra@codesourcery.com>
230
515b89b3
SL
231 * gdb.linespec/explicit.exp: Check for readline support for
232 tab-completion tests. Fix obvious typo.
233
d2939ba2
MM
2342015-09-18 Markus Metzger <markus.t.metzger@intel.com>
235
236 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
237 and replay.
238
cbb55fa7
MM
2392015-09-18 Markus Metzger <markus.t.metzger@intel.com>
240
241 * gdb.btrace/non-stop.c: New.
242 * gdb.btrace/non-stop.exp: New.
243
43691ca1
PL
2442015-09-17 Pierre Langlois <pierre.langlois@arm.com>
245 Yao Qi <yao.qi@linaro.org>
246
247 * gdb.trace/trace-condition.c: New file.
248 * gdb.trace/trace-condition.exp: New file.
249
d78908cf
WW
2502015-09-16 Wei-cheng Wang <cole945@gmail.com>
251
252 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
253 for testing bytecode compilation.
254
1ed415e2
PA
2552015-09-16 Pedro Alves <palves@redhat.com>
256 Sandra Loosemore <sandra@codesourcery.com>
257
258 * gdb.threads/non-stop-fair-events.c (timeout): New global.
259 (SECONDS): Redefine.
260 (main): Call pthread_kill and alarm early.
261 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
262 support.
263 (test): If the target can't hardware step and doesn't support
264 displaced stepping, increase the timeout.
265
d136eff5
PA
2662015-09-16 Pedro Alves <palves@redhat.com>
267
268 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
269 (enable_debug): New procedures.
270 (test): Use them. Bail out if waiting for threads fails.
271 (top level): Bail out if a test fails.
272
991f019c
YQ
2732015-09-16 Yao Qi <yao.qi@linaro.org>
274
275 * gdb.asm/asm-source.exp: Set asm-arch for
276 aarch64*-*-* target.
277 * gdb.asm/aarch64.inc: New file.
278
bfca584f
PMR
2792015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
280
281 * gdb.ada/array_of_variable_length.exp: New testcase.
282 * gdb.ada/array_of_variable_length/foo.adb: New file.
283 * gdb.ada/array_of_variable_length/pck.adb: New file.
284 * gdb.ada/array_of_variable_length/pck.ads: New file.
285
b326e587
DE
2862015-09-15 Doug Evans <dje@google.com>
287
288 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
289 of function static local variable.
290
5382cfab
PW
2912015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
292
293 * gdb.threads/tls-so_extern.exp: New test file.
294 * gdb.threads/tls-so_extern.c: New test file.
295 * gdb.threads/tls-so_extern_main.c: New test file.
296
141c5cc4
JK
2972015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
298
299 * gdb.opt/solib-intra-step-lib.c: New file.
300 * gdb.opt/solib-intra-step-main.c: New file.
301 * gdb.opt/solib-intra-step.exp: New file.
302
d15dcecd
PA
3032015-09-15 Pedro Alves <palves@redhat.com>
304
305 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
306 gdb_continue_to_breakpoint instead of gdb_test_multiple.
307
4c2f2a79
PA
3082015-09-14 Pedro Alves <palves@redhat.com>
309
310 * gdb.base/hook-stop-continue.c: Delete.
311 * gdb.base/hook-stop-continue.exp: Delete.
312 * gdb.base/hook-stop-frame.c: Delete.
313 * gdb.base/hook-stop-frame.exp: Delete.
314 * gdb.base/hook-stop.c: New file.
315 * gdb.base/hook-stop.exp: New file.
316
919e6dbe
PMR
3172015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
318
319 * gdb.ada/access_to_packed_array.exp: New testcase.
320 * gdb.ada/access_to_packed_array/foo.adb: New file.
321 * gdb.ada/access_to_packed_array/pack.adb: New file.
322 * gdb.ada/access_to_packed_array/pack.ads: New file.
323
157280a4
MM
3242015-09-14 Markus Metzger <markus.t.metzger@intel.com>
325
326 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
327 buffer size test.
328
2fd33e94
DB
3292015-09-11 Don Breazeal <donb@codesourcery.com>
330
331 * gdb.base/foll-exec.c: Add copyright header. Fix
332 formatting issues.
333 * gdb.base/foll-exec.exp (zap_session): Delete proc.
334 (do_exec_tests): Use clean_restart in place of zap_session,
335 and for test initialization. Fix formatting issues. Use
336 fail in place of perror.
337 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
338 an expect statement to match an expression with output from
339 the program under debug.
340 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
341 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
342 * gdb.threads/non-ldr-exc-2.exp: Likewise.
343 * gdb.threads/non-ldr-exc-3.exp: Likewise.
344 * gdb.threads/non-ldr-exc-4.exp: Likewise.
345
e70b6e8e
DE
3462015-09-09 Doug Evans <dje@google.com>
347
348 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
349
7a551a51
DE
3502015-09-09 Doug Evans <dje@google.com>
351
352 * gdb.base/pie-execl.exp: Fix result test of build_executable.
353
4c666f84
DE
3542015-09-09 Doug Evans <dje@google.com>
355
356 * gdb.base/savedregs.exp: Fix typo.
357
243a9253
PA
3582015-09-09 Pedro Alves <palves@redhat.com>
359
360 * gdb.mi/mi-cli.exp: Add CLI finish tests.
361
c0fa8fbd
SL
3622015-09-08 Sandra Loosemore <sandra@codesourcery.com>
363
364 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
365 command actually switches threads. Give up on remaining
366 tests if target fails to stop at breakpoint.
367
cd7c1778
PMR
3682015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
369
370 * gdb.ada/funcall_char.exp: New testcase.
371 * gdb.ada/funcall_char/foo.adb: New file.
372
dc5c8746
PMR
3732015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
374
375 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
376 expected outputs. Add two testcases for completing ambiguous
377 functions.
378 * gdb.ada/complete/aux_pck.adb: New file.
379 * gdb.ada/complete/aux_pck.ads: New file.
380 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
381 Ambiguous_Func functions.
382 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
383 * gdb.ada/complete/pck.adb: Likewise.
384
4e83a1e7
UW
3852015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
386
387 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
388 failures to run the test program under GDB.
389
8ce74153
LM
3902015-08-26 Luis Machado <lgustavo@codesourcery.com>
391
392 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
393 to C.
394
e9756d52
PP
3952015-08-26 Patrick Palka <patrick@parcs.ath.cx>
396
397 * gdb.base/run-after-attach.exp: New test file.
398 * gdb.base/run-after-attach.c: New test file.
399
8d37573b
DB
4002015-08-26 Don Breazeal <donb@codesourcery.com>
401
402 * gdb.base/foll-exec-2.c: New test program.
403 * gdb.base/foll-exec-2.exp: New test.
404
63e43d3a
PMR
4052015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
406
407 * gdb.base/nested-subp1.exp: New file.
408 * gdb.base/nested-subp1.c: New file.
409 * gdb.base/nested-subp2.exp: New file.
410 * gdb.base/nested-subp2.c: New file.
411 * gdb.base/nested-subp3.exp: New file.
412 * gdb.base/nested-subp3.c: New file.
413
3d40fbb5
PA
4142015-08-24 Pedro Alves <palves@redhat.com>
415
416 * gdb.server/connect-without-multi-process.c: New file.
417 * gdb.server/connect-without-multi-process.exp: New file.
418
4422ac93
LM
4192015-08-24 Luis Machado <lgustavo@codesourcery.com>
420
421 * gdb.opt/inline-markers.c: Make z int.
422
91dddb86
LM
4232015-08-24 Luis Machado <lgustavo@codesourcery.com>
424
425 * gdb.opt/inline-markers.c: Make z volatile.
426
a48847ee
LM
4272015-08-24 Luis Machado <lgustavo@codesourcery.com>
428
429 * gdb.opt/inline-bt.c: New volatile global z.
430 * gdb.opt/inline-cmds.c: Likewise.
431 * gdb.opt/inline-locals.c: Likewise.
432 * gdb.opt/inline-markers.c: New extern global z.
433 (marker): Use z.
434 (inline_fn): Likewise.
435
0ebbc52b
PA
4362015-08-24 Pedro Alves <palves@redhat.com>
437
438 * config/m32r-stub.exp: Remove file.
439 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
440 * gdb.base/call-rt-st.exp: Likewise.
441 * gdb.base/call-strs.exp: Likewise.
442 * gdb.base/default.exp: Remove references to h8300-*-hms and
443 *-*-udi*.
444 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
445
77c365df
AA
4462015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
447
448 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
449 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
450 and "return" use KFAIL when GDB can not read/write the vector
451 return value.
452
4313b8c0
GB
4532015-08-21 Gary Benson <gbenson@redhat.com>
454
455 * gdb.trace/pending.exp: Cope with remote transfer warnings.
456
0e433b32
PA
4572015-08-20 Pedro Alves <palves@redhat.com>
458
459 * gdb.server/solib-list.exp: No longer expect an interior stop in
460 non-stop mode.
461
221e1a37
PA
4622015-08-20 Pedro Alves <palves@redhat.com>
463
464 * gdb.server/connect-stopped-target.c: New file.
465 * gdb.server/connect-stopped-target.exp: New file.
466
40e3ad0e
PA
4672015-08-20 Pedro Alves <palves@redhat.com>
468
469 * gdb.dwarf2/comp-unit-lang.exp: New file.
470 * gdb.dwarf2/comp-unit-lang.c: New file.
471
af39b327
PMR
4722015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
473
474 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
475 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
476
7d45c7c3
KB
4772015-08-19 Kevin Buettner <kevinb@redhat.com>
478
479 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
480 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
481
4d6cceb4
DE
4822015-08-18 Doug Evans <dje@google.com>
483 Adrian Sendroiu <adrian.sendroiu@freescale.com>
484
485 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
486 skip_python_tests. New arg prompt_regexp.
487 (skip_python_tests): New function.
488 * lib/mi-support.exp (mi_skip_python_tests): New function.
489 * gdb.python/py-mi-objfile-gdb.py: New file.
490 * gdb.python/py-mi-objfile.c: New file.
491 * gdb.python/py-mi-objfile.exp: New file.
492
ad89c2aa
KS
4932015-08-17 Keith Seitz <keiths@redhat.com>
494
495 * gdb.linespec/explicit.exp: Move strace test from here ...
496 * gdb.trace/strace.exp: ... to here.
497
e3ae3c43
PP
4982015-08-15 Patrick Palka <patrick@parcs.ath.cx>
499
500 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
501 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
502
604b2636
DE
5032015-08-14 Doug Evans <xdje42@gmail.com>
504
505 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
506 inferior before selecting a new file.
507
6ff0ba5f
DE
5082015-08-14 Doug Evans <xdje42@gmail.com>
509
510 * gdb.mi/mi-disassemble.exp: Update.
511 * gdb.base/disasm-optim.S: New file.
512 * gdb.base/disasm-optim.c: New file.
513 * gdb.base/disasm-optim.h: New file.
514 * gdb.base/disasm-optim.exp: New file.
515
9ca98f92
KS
5162015-08-14 Keith Seitz <keiths@redhat.com>
517
518 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
519 "evaluated-by".
520
52bbc560
JB
5212015-08-13 Joel Brobecker <brobecker@adacore.com>
522
523 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
524
5d8c3ed3
PMR
5252015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
526
527 * gdb.ada/fun_renaming.exp: New testcase.
528 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
529 * gdb.ada/fun_renaming/pack.adb: New file.
530 * gdb.ada/fun_renaming/pack.ads: New file.
531
ea8812bc
KS
5322015-08-12 Keith Seitz <keiths@redhat.com>
533
534 * gdb.base/dso2dso.exp: Pass basename of source file in call to
535 gdb_get_line_number.
536
4dafcdeb
JB
5372015-08-12 Joel Brobecker <brobecker@adacore.com>
538
539 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
540 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
541 gdb.base/dso2dso.exp: New files.
542
5ba32597
SDJ
5432015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
544 Pedro Alves <palves@redhat.com>
545 Keith Seitz <keiths@redhat.com>
546
547 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
548 GDBFLAGS.
549
b6dafabf
PP
5502015-08-12 Patrick Palka <patrick@parcs.ath.cx>
551
552 * gdb.base/gdbhistsize-history.exp
553 (test_histsize_history_setting): Use save_vars.
554 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
555 Use save_vars.
556 (test_no_truncation_of_unlimited_history_file): Use save_vars.
557 * gdb.base/readline.exp: Use save_vars.
558
abe8e607
PP
5592015-08-12 Patrick Palka <patrick@parcs.ath.cx>
560
561 * lib/gdb.exp (save_vars): New proc.
562
629500fa
KS
5632015-08-11 Keith Seitz <keiths@redhat.com>
564
565 * gdb.base/help.exp: Update help_breakpoint_text.
566
eb8c4e2e
KS
5672015-08-11 Keith Seitz <keiths@redhat.com>
568
569 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
570 (at toplevel): Call test_explicit_breakpoints.
571 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
572 breakpoints.
573 * lib/mi-support.exp (mi_make_breakpoint): Add support for
574 breakpoint conditions, "-cond".
575
87f0e720
KS
5762015-08-11 Keith Seitz <keiths@redhat.com>
577
578 * gdb.linespec/3explicit.c: New file.
579 * gdb.linespec/cpexplicit.cc: New file.
580 * gdb.linespec/cpexplicit.exp: New file.
581 * gdb.linespec/explicit.c: New file.
582 * gdb.linespec/explicit.exp: New file.
583 * gdb.linespec/explicit2.c: New file.
584 * gdb.linespec/ls-errs.exp: Add explicit location tests.
585 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
586 before using in the matching pattern.
587 Clarify that `prefix' is a regular expression.
588
f00aae0f
KS
5892015-08-11 Keith Seitz <keiths@redhat.com>
590
591 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
592 test.
593 Add tests for missing ",FMT" and ",".
594
e27852be
DE
5952015-08-10 Doug Evans <dje@google.com>
596 Keith Seitz <keiths@redhat.com>
597
598 PR gdb/17960
599 * gdb.base/completion.exp: Add location completer tests.
600
7f03bd92
PA
6012015-08-07 Pedro Alves <palves@redhat.com>
602
603 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
604 tests here.
605 (top level): Run do_test with and without displaced stepping.
606
3fc8eb30
PA
6072015-08-07 Pedro Alves <palves@redhat.com>
608
609 * gdb.base/valgrind-disp-step.c: New file.
610 * gdb.base/valgrind-disp-step.exp: New file.
611
d4569d7b
PA
6122015-08-07 Pedro Alves <palves@redhat.com>
613
614 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
615 Delete function.
616 (main): Add alarm. Run an infinite loop instead of calling
617 wait_threads.
618 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
619 comment.
620 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
621 Delete function.
622 (main): Add alarm. Run an infinite loop instead of calling
623 wait_threads.
624 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
625 comment.
626
e1316e60
PA
6272015-08-07 Pedro Alves <palves@redhat.com>
628
629 * gdb.base/checkpoint-ns.exp: New file.
630 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
631 standard_testfile.
632
da8c46d2
MM
6332015-08-07 Markus Metzger <markus.t.metzger@intel.com>
634
635 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
636 * gdb.btrace/instruction_history.exp: Update.
637 * gdb.btrace/tsx.exp: New.
638 * gdb.btrace/tsx.c: New.
639
de1c2c52
PA
6402015-08-06 Pedro Alves <palves@redhat.com>
641
642 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
643 increase timeout.
644 * gdb.reverse/until-precsave.exp: Bump timeouts.
645
782e0bf4
PA
6462015-08-06 Pedro Alves <palves@redhat.com>
647
648 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
649
83e97ed0
PA
6502015-08-06 Pedro Alves <palves@redhat.com>
651
652 PR gdb/18749
653 * gdb.threads/process-dies-while-handling-bp.c: New file.
654 * gdb.threads/process-dies-while-handling-bp.exp: New file.
655
863d01bd
PA
6562015-08-06 Pedro Alves <palves@redhat.com>
657
658 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
659 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
660
0a39bb32
PA
6612015-08-05 Pedro Alves <palves@redhat.com>
662
663 * gdb.threads/next-while-other-thread-longjmps.c: New file.
664 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
665
ee2d2b10
SL
6662015-08-03 Sandra Loosemore <sandra@codesourcery.com>
667
668 * gdb.base/bp-permanent.exp: Report test as unsupported if
669 the target cannot stop at the permanent breakpoint.
670
4e1bdb00
DE
6712015-08-03 Doug Evans <dje@google.com>
672
673 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
674 10000.
675
3d338901
DE
6762015-08-03 Doug Evans <dje@google.com>
677
678 * Makefile.in (workers/%.worker, build-perf): New rule.
679 (GDB_PERFTEST_MODE): New variable.
680 (check-perf): Use it.
681 (clean): Clean up gdb.perf parallel build subdirs.
682 * lib/build-piece.exp: New file.
683 * lib/gdb.exp (make_gdb_parallel_path): New function
684 (standard_output_file, standard_temp_file): Call it.
685 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
686 of $GDB_PARALLEL.
687 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
688
af061d3e
DE
6892015-08-03 Doug Evans <dje@google.com>
690
8e1afc81 691 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
692 (LOG_FILE_NAME): New global.
693 (TextReporter.__init__): Initialize self.txt_sum.
694 (TextReporter.report): Add support for multiple data-points.
695 Move report to perftest.sum, put raw data in perftest.log.
696 (TextReporter.start): Open sum and log files.
697 (TextReporter.end): Close sum and log files.
8e1afc81
DE
698 * gdb.perf/lib/perftest/testresult.py
699 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 700
2c8c5d37
PA
7012015-07-31 Pedro Alves <palves@redhat.com>
702
703 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
704 Use spawn_id_get_pid. Wait for spawn id after eof. Use
705 kill_wait_spawned_process instead of explicit "kill -9".
706 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
707 returning a spawn id instead of a pid. Use spawn_id_get_pid and
708 kill_wait_spawned_process.
709 * gdb.base/attach-twice.exp: Likewise.
710 * gdb.base/attach.exp: Likewise.
711 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
712 gdb_test_multiple.
713 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
714 returning a spawn id instead of a pid. Use spawn_id_get_pid and
715 kill_wait_spawned_process.
716 * gdb.base/valgrind-infcall.exp: Likewise.
717 * gdb.multi/multi-attach.exp: Likewise.
718 * gdb.python/py-prompt.exp: Likewise.
719 * gdb.python/py-sync-interp.exp: Likewise.
720 * gdb.server/ext-attach.exp: Likewise.
721 * gdb.threads/attach-into-signal.exp (corefunc): Use
722 spawn_wait_for_attach, spawn_id_get_pid and
723 kill_wait_spawned_process.
724 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
725 spawn_wait_for_attach returning a spawn id instead of a pid. Use
726 spawn_id_get_pid and kill_wait_spawned_process.
727 * gdb.threads/attach-stopped.exp (corefunc): Use
728 spawn_wait_for_attach, spawn_id_get_pid and
729 kill_wait_spawned_process.
730 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
731 Use spawn_id_get_pid. Wait for spawn id after eof. Use
732 kill_wait_spawned_process instead of explicit "kill -9".
733 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
734 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
735 (spawn_wait_for_attach): Use spawn instead of exec to spawn
736 processes. Don't map cygwin/windows pids here. Now returns a
737 spawn id list.
738
032a0fca
SL
7392015-07-30 Sandra Loosemore <sandra@codesourcery.com>
740
741 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
742 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
743 correct patch.
744
61a934ca
SL
7452015-07-30 Sandra Loosemore <sandra@codesourcery.com>
746
747 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
748
4bc4d428
SL
7492015-07-30 Sandra Loosemore <sandra@codesourcery.com>
750
751 Reapply:
752 2014-05-21 Mark Wielaard <mjw@redhat.com>
753
754 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
755
998d452a
PA
7562015-07-30 Pedro Alves <palves@redhat.com>
757
758 * linux-low.c (handle_extended_wait): Set the child's last
759 reported status to TARGET_WAITKIND_STOPPED.
760
69dde7dc
PA
7612015-07-30 Pedro Alves <palves@redhat.com>
762
763 PR threads/18600
764 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
765 only shows inferior 1.
766
4dd63d48
PA
7672015-07-30 Simon Marchi <simon.marchi@ericsson.com>
768 Pedro Alves <palves@redhat.com>
769
770 PR threads/18600
771 * gdb.threads/fork-plus-threads.c: New file.
772 * gdb.threads/fork-plus-threads.exp: New file.
773
d618e4c5
PP
7742015-07-29 Patrick Palka <patrick@parcs.ath.cx>
775
776 * gdb.base/batch-preserve-term-settings.exp
777 (test_terminal_settings_preserved_after_cli_exit): Use
778 send_quit_command.
779
1eef6428
PA
7802015-07-29 Pedro Alves <palves@redhat.com>
781 Don Breazeal <donb@codesourcery.com>
782
783 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
784 output from both inferior_spawn_id and gdb_spawn_id.
785
7da5b897
SDJ
7862015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
787
788 * gdb.threads/attach-into-signal.exp (corefunc): Use
789 with_test_prefix on nested loops, uniquefying the test messages.
790
dac804df
SDJ
7912015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
792
793 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
794 commit.
795
06265e53
PP
7962015-07-29 Patrick Palka <patrick@parcs.ath.cx>
797
798 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
799 New proc.
800 (test_terminal_settings_preserved_after_sigterm): New test.
801
18206ca3
PP
8022015-07-29 Patrick Palka <patrick@parcs.ath.cx>
803
804 * gdb.base/batch-preserve-term-settings.exp
805 (test_terminal_settings_preserved_after_cli_exit): New test.
806
90074d11
PP
8072015-07-29 Patrick Palka <patrick@parcs.ath.cx>
808
809 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
810 manipulation of saved_gdbflags.
811 (test_terminal_settings_preserved): Remove global declaration of
812 the unused variable pagination_prompt. Remove manipulation of
813 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
814 GDBFLAGS.
815
eb1a7902
PA
8162015-07-29 Pedro Alves <palves@redhat.com>
817
818 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
819
8b75dd3b
PA
8202015-07-29 Pedro Alves <palves@redhat.com>
821
822 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
823 at the top.
824
dedad4e3
PA
8252015-07-29 Pedro Alves <palves@redhat.com>
826
827 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
828 (main): Call gdb_unbuffer_output.
829 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
830 (main): Call gdb_unbuffer_output.
831 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
832 (main): Call gdb_unbuffer_output.
833 * gdb.base/call-strs.exp: Adjust to step over the
834 gdb_unbuffer_output call.
835 * gdb.base/catch-gdb-caused-signals.c: Include
836 "../lib/unbuffer_output.c".
837 (main): Call gdb_unbuffer_output.
838 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
839 (main): Call gdb_unbuffer_output.
840 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
841 (main): Call gdb_unbuffer_output.
842 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
843 (main): Call gdb_unbuffer_output.
844 * gdb.base/shlib-call.exp: Adjust to step over the
845 gdb_unbuffer_output call.
846 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
847 (main): Call gdb_unbuffer_output.
848 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
849 (main): Call gdb_unbuffer_output.
850 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
851 (main): Rename to ...
852 (test): ... this.
853 (main): Reimplement.
854 * gdb.base/varargs.exp: Run to test instead of to main.
855 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
856 (main): Call gdb_unbuffer_output.
857
58789a91
PA
8582015-07-29 Pedro Alves <palves@redhat.com>
859
860 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
861 factore out from mi_continue_dprintf. For call-style dprintfs,
862 expect dprintf output out of $inferior_spawn_id.
863 (mi_continue_dprintf): Use mi_expect_dprintf.
864 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
865 (main): Call gdb_unbuffer_output.
866
e8376742
PA
8672015-07-29 Pedro Alves <palves@redhat.com>
868
869 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
870 (default_mi_gdb_start): Set inferior_spawn_id instead of
871 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
872 gdb_spawn_id.
873 (mi_gdb_test): Always expect inferior output from both
874 $inferior_spawn_id and $gdb_spawn_id.
875
08280010
PA
8762015-07-29 Pedro Alves <palves@redhat.com>
877
878 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
879 send_inferior and $inferior_spawn_id.
880
4d30e432
PA
8812015-07-29 Pedro Alves <palves@redhat.com>
882
883 * gdb.gdb/complaints.exp (test_initial_complaints)
884 (test_serial_complaints, test_short_complaints): Use
885 gdb_test_stdio.
886 (test_empty_complaint): Handle $inferior_spawn_id !=
887 $gdb_spawn_id.
888
0d30a335
PA
8892015-07-29 Pedro Alves <palves@redhat.com>
890
891 * gdb.base/varargs.exp: Use gdb_test_stdio.
892
39413b29
PA
8932015-07-29 Pedro Alves <palves@redhat.com>
894
895 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
896
7cb000a9
PA
8972015-07-29 Pedro Alves <palves@redhat.com>
898
899 * gdb.base/ending-run.exp: Use gdb_test_stdio.
900
d7b8ac82
PA
9012015-07-29 Pedro Alves <palves@redhat.com>
902
903 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
904 parameter into two new parameters, "inf_result" and "gdb_result".
905 Expect inferior output and gdb output from $inferior_spawn_id and
906 $gdb_spawn_id, respectively. Adjust all callers.
907
789c3a0c
PA
9082015-07-29 Pedro Alves <palves@redhat.com>
909
910 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
911 of gdb_test_sequence.
912
77e760c3
PA
9132015-07-29 Pedro Alves <palves@redhat.com>
914
915 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
916 (saw_spurious_output): Expect inferior output from
917 $inferior_spawn_id. Use gdb_test_stdio.
918
8396d2cd
PA
9192015-07-29 Pedro Alves <palves@redhat.com>
920
921 * gdb.base/dprintf.exp: Use standard_testfile. Change
922 prepare_for_testing call.
923 (srcfile): Don't set.
924 (restart): New procedure.
925 (test_dprintf): New procecure, use to continue over dprintfs.
926 (test_call, test_agent): New procedures, tests moved here.
927 Restart gdb and recreate dprintfs. Adjust expected output.
928
2051d61f
PA
9292015-07-29 Pedro Alves <palves@redhat.com>
930
931 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
932
452397af
PA
9332015-07-29 Pedro Alves <palves@redhat.com>
934
935 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
936
8aed9555
PA
9372015-07-29 Pedro Alves <palves@redhat.com>
938
939 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
940 gdb_test_stdio.
941
188a61b4
PA
9422015-07-29 Pedro Alves <palves@redhat.com>
943
944 * lib/gdb.exp (gdb_test_stdio): New procedure.
945
12264a45
PA
9462015-07-29 Pedro Alves <palves@redhat.com>
947
948 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
949
23ffc893
PA
9502015-07-29 Pedro Alves <palves@redhat.com>
951
952 * gdb.base/call-signal-resume.exp: Remove check for
953 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
954 * gdb.base/unwindonsignal.exp: Likewise.
955 * gdb.base/call-signals.c (gen_signal): Remove printf call.
956 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
957
65566918
PA
9582015-07-29 Pedro Alves <palves@redhat.com>
959
960 * gdb.base/siginfo-addr.c (pass): New function.
961 (handler): Call it iff si_addr is correct.
962 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
963 Set a breakpoint at "pass" and continue to it.
964
d60a9221
SDJ
9652015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
966
967 * gdb.python/py-objfile.exp: Make some tests have unique names.
968 * gdb.python/py-pp-registration.exp: Likewise.
969
bde40b8f
PA
9702015-07-28 Pedro Alves <palves@redhat.com>
971
972 * gdb.server/server-exec-info.exp: Issue a "disconnect".
973
13e1dec8
SM
9742015-07-27 Simon Marchi <simon.marchi@ericsson.com>
975
976 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
977
da33c9a7
SM
9782015-07-27 Simon Marchi <simon.marchi@ericsson.com>
979
980 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
981
077836f7
PP
9822015-07-27 Patrick Palka <patrick@parcs.ath.cx>
983
984 * gdb.base/gdb-sigterm-2.exp: New test.
985
b8cc7b2e
DE
9862015-07-25 Doug Evans <xdje42@gmail.com>
987
988 Revert:
989 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
990 (workers/%.worker, build-perf): New rule.
991 (GDB_PERFTEST_MODE): New variable.
992 (check-perf): Use it.
993 (clean): Clean up gdb.perf parallel build subdirs.
994 * lib/build-piece.exp: New file.
995 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
996 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
997 name.
998 (standard_temp_file): Ditto.
999 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1000 of $GDB_PARALLEL.
1001
c8bd4544
DE
10022015-07-24 Doug Evans <dje@google.com>
1003
1004 * gdb.perf/lib/perftest/utils.py: New file.
1005 * gdb.perf/gm-hello.cc: New file.
1006 * gdb.perf/gm-pervasive-typedef.cc: New file.
1007 * gdb.perf/gm-pervasive-typedef.h: New file.
1008 * gdb.perf/gm-std.cc: New file.
1009 * gdb.perf/gm-std.h: New file.
1010 * gdb.perf/gm-use-cerr.cc: New file.
1011 * gdb.perf/gm-utils.h: New file.
1012 * gdb.perf/gmonster-null-lookup.py: New file.
1013 * gdb.perf/gmonster-pervasive-typedef.py: New file.
1014 * gdb.perf/gmonster-print-cerr.py: New file.
1015 * gdb.perf/gmonster-ptype-string.py: New file.
1016 * gdb.perf/gmonster-runto-main.py: New file.
1017 * gdb.perf/gmonster-select-file.py: New file.
1018 * gdb.perf/gmonster1-null-lookup.exp: New file.
1019 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
1020 * gdb.perf/gmonster1-print-cerr.exp: New file.
1021 * gdb.perf/gmonster1-ptype-string.exp: New file.
1022 * gdb.perf/gmonster1-runto-main.exp: New file.
1023 * gdb.perf/gmonster1-select-file.exp: New file.
1024 * gdb.perf/gmonster1.cc: New file.
1025 * gdb.perf/gmonster1.exp: New file.
1026 * gdb.perf/gmonster2-null-lookup.exp: New file.
1027 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
1028 * gdb.perf/gmonster2-print-cerr.exp: New file.
1029 * gdb.perf/gmonster2-ptype-string.exp: New file.
1030 * gdb.perf/gmonster2-runto-main.exp: New file.
1031 * gdb.perf/gmonster2-select-file.exp: New file.
1032 * gdb.perf/gmonster2.cc: New file.
1033 * gdb.perf/gmonster2.exp: New file.
1034
6eab34f3
DE
10352015-07-24 Doug Evans <dje@google.com>
1036
1037 * gdb.perf/README: New file.
1038 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
1039 * lib/gen-perf-test.exp: New file.
1040
63738bfd
DE
10412015-07-24 Doug Evans <dje@google.com>
1042
1043 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
1044 (PerfTest::startup): New function.
1045 (PerfTest::run): Return result of calling body.
1046 (PerfTest::assemble): Rewrite.
1047 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
1048 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
1049 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
1050 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
1051 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
1052
7b606f95
DE
10532015-07-24 Doug Evans <dje@google.com>
1054
1055 * lib/gdb.exp (clean_restart): Make executable optional.
1056
a97b16b8
DE
10572015-07-24 Doug Evans <dje@google.com>
1058
1059 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
1060 compiler_info references.
1061 * gdb.cp/temargs.exp: Ditto.
1062 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
1063 (get_compiler_info): Early exit if already computed. Set compiler_info
1064 to "unknown" if there was a problem.
1065 (test_compiler_info): Add function comment. Call get_compiler_info.
1066
35baa57f
DE
10672015-07-24 Doug Evans <dje@google.com>
1068
1069 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
1070 (workers/%.worker, build-perf): New rule.
1071 (GDB_PERFTEST_MODE): New variable.
1072 (check-perf): Use it.
1073 (clean): Clean up gdb.perf parallel build subdirs.
1074 * lib/build-piece.exp: New file.
1075 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
1076 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
1077 name.
1078 (standard_temp_file): Ditto.
1079 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1080 of $GDB_PARALLEL.
1081
6ebea266
DE
10822015-07-24 Doug Evans <dje@google.com>
1083
1084 * lib/future.exp (gdb_default_target_compile): New option
1085 "early_flags".
1086 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
1087 --as-needed.
1088
1e76a7e9
SDJ
10892015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
1090
1091 * gdb.base/catch-syscall.exp: Call gdb_exit before
1092 gdb_skip_xml_test.
1093
5068630a
PA
10942015-07-24 Pedro Alves <palves@redhat.com>
1095
1096 * gdb.python/py-events.exp: Accept output between the stop event
1097 and the prompt.
1098 * gdb.python/py-evsignal.exp: Likewise.
1099 * gdb.python/py-evthreads.exp: Likewise.
1100
77598427
PA
11012015-07-24 Pedro Alves <palves@redhat.com>
1102
1103 PR gdb/18717
1104 * gdb.threads/non-ldr-exit.c: New file.
1105 * gdb.threads/non-ldr-exit.exp: New file.
1106
11e6c98f
YQ
11072015-07-24 Yao Qi <yao.qi@linaro.org>
1108
1109 * gdb.server/ext-wrapper.exp: Test --wrapper option when
1110 restarting process.
1111
51aee833
YQ
11122015-07-24 Yao Qi <yao.qi@linaro.org>
1113
1114 * gdb.server/ext-restart.exp: New file.
1115
8cfe207c
YQ
11162015-07-24 Yao Qi <yao.qi@linaro.org>
1117
1118 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
1119 argument options.
1120 * gdb.server/ext-wrapper.exp: New file.
1121
cc12ce38
DE
11222015-07-23 Doug Evans <dje@google.com>
1123
1124 * gdb.dwarf2/dw2-dummy-cu.S: New file.
1125 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
1126
d0d84780
PMR
11272015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
1128
1129 * gdb.ada/var_arr_typedef.exp: New testcase.
1130 * gdb.ada/var_arr_typedef/pack.adb: New file.
1131 * gdb.ada/var_arr_typedef/pack.ads: New file.
1132 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
1133
8b558f79
JB
11342015-07-20 Joel Brobecker <brobecker@adacore.com>
1135
1136 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
1137
775a3298
JK
11382015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1139
1140 * gdb.arch/i386-biarch-core.exp: Replace istarget
1141 by "complete set gnutarget". Remove expectation for the "core-file"
1142 command.
1143
db1ff28b
JK
11442015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1145
1146 Revert the previous commit:
1147 Tests for validate symbol file using build-id.
1148
0a94970d
JK
11492015-07-15 Aleksandar Ristovski <aristovski@qnx.com
1150
1151 Tests for validate symbol file using build-id.
1152 * gdb.base/solib-mismatch-lib.c: New file.
1153 * gdb.base/solib-mismatch-libmod.c: New file.
1154 * gdb.base/solib-mismatch.c: New file.
1155 * gdb.base/solib-mismatch.exp: New file.
1156
03346981
SL
11572015-07-15 Sandra Loosemore <sandra@codesourcery.com>
1158
1159 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
1160 nios2-*-linux*.
1161 * gdb.base/sigbpt.exp (stepi_out): Likewise.
1162 * gdb.base/siginfo.exp: Likewise.
1163 * gdb.base/sigstep.exp (advance, advancei): Likewise.
1164
42422cc7
PL
11652015-07-15 Pierre Langlois <pierre.langlois@arm.com>
1166
1167 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
1168 Move it to ...
1169 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
1170 ... here.
1171 * gdb.trace/range-stepping.exp: Check that the target supports
1172 range stepping.
1173
cfa68bae
JK
11742015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1175
1176 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
1177
8ffdba26
PA
11782015-07-14 Pedro Alves <palves@redhat.com>
1179
1180 * gdb.base/killed-outside.exp: New file.
1181 * gdb.base/killed-outside.c: New file.
1182
218a5a11
JK
11832015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1184
1185 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
1186 (n at main): New.
1187 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
1188
e03ed3c6
AA
11892015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
1190
1191 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
1192 infcall tests instead of setting up for KFAIL.
1193
485668e5
MM
11942015-07-10 Markus Metzger <markus.t.metzger@intel.com>
1195
1196 * gdb.btrace/record_goto-step.exp: New.
1197
08464196
JK
11982015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1199
1200 PR compile/18484
1201 * gdb.compile/compile.c (struct struct_type): Add volatile to
1202 selffield's type.
1203 * gdb.compile/compile.exp
1204 (compile code struct_object.selffield = &struct_object): Skip further
1205 struct_object tests if this one xfails.
1206
bcf5c1d9
RC
12072015-07-08 Robert O'Callahan <robert@ocallahan.org>
1208
1209 PR exp/18617
1210 * gdb.trace/ax.exp: Add test.
1211
4931af25
YQ
12122015-07-07 Yao Qi <yao.qi@linaro.org>
1213
1214 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
1215 instead of istarget "aarch64*-*-*".
1216 * gdb.arch/aarch64-fp.exp: Likewise.
1217 * gdb.base/float.exp: Likewise.
1218 * gdb.reverse/aarch64.exp: Likewise.
1219 * lib/gdb.exp (is_aarch64_target): New proc.
1220
9fcf688e
YQ
12212015-07-07 Yao Qi <yao.qi@linaro.org>
1222
1223 * lib/gdb.exp (is_aarch32_target): New proc.
1224 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
1225 instead of "istarget "arm*-*-*"".
1226 * gdb.arch/arm-disp-step.exp: Likewise.
1227 * gdb.arch/thumb-bx-pc.exp: Likewise.
1228 * gdb.arch/thumb-prologue.exp: Likewise.
1229 * gdb.arch/thumb-singlestep.exp: Likewise.
1230 * gdb.base/disp-step-syscall.exp: Likewise.
1231 * gdb.base/float.exp: Likewise.
1232
fbd8d50d
YQ
12332015-07-07 Yao Qi <yao.qi@linaro.org>
1234
1235 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
1236 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
1237
71be1fdc
YQ
12382015-07-07 Yao Qi <yao.qi@linaro.org>
1239
1240 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
1241 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
1242 if it exists.
1243 * gdb.multi/multi-arch.exp: Likewise.
1244
3e221d36
SM
12452015-07-07 Simon Marchi <simon.marchi@ericsson.com>
1246
1247 * gdb.python/py-lazy-string.exp: Add missing parentheses to
1248 print.
1249
d441430b
YQ
12502015-07-07 Yao Qi <yao.qi@linaro.org>
1251
1252 * gdb.arch/thumb-singlestep.exp: Do one more single step.
1253
06f810bd
MG
12542015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
1255
1256 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
1257 '[' and ']' characters.
1258
5e61e7c0
IB
12592015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
1260
1261 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1262
28bf096c
PA
12632015-06-29 Pedro Alves <palves@redhat.com>
1264
1265 PR threads/18127
1266 * gdb.threads/hand-call-new-thread.c: New file.
1267 * gdb.threads/hand-call-new-thread.c: New file.
1268
ee93cd5e
KS
12692015-06-26 Keith Seitz <keiths@redhat.com>
1270 Doug Evans <dje@google.com>
1271
1272 PR 16253
1273 * gdb.cp/var-tag-2.cc: New file.
1274 * gdb.cp/var-tag-3.cc: New file.
1275 * gdb.cp/var-tag-4.cc: New file.
1276 * gdb.cp/var-tag.cc: New file.
1277 * gdb.cp/var-tag.exp: New file.
1278
fc637f04
PP
12792015-06-26 Patrick Palka <patrick@parcs.ath.cx>
1280
1281 * gdb.base/history-duplicates.exp: New test.
1282
2e52ae68
PP
12832015-06-26 Patrick Palka <patrick@parcs.ath.cx>
1284
1285 * gdb.base/completion.exp: Test the completion of the "focus"
1286 command.
1287
6e22494e
JK
12882015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1289
1290 * gdb.arch/amd64-prologue-skip.S: New file.
1291 * gdb.arch/amd64-prologue-skip.exp: New file.
1292
bf7b9cd9
SM
12932015-06-25 Simon Marchi <simon.marchi@ericsson.com>
1294
1295 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
1296 is_address_zero_readable check.
1297
201e8dfd
PB
12982015-06-24 Peter Bergner <bergner@vnet.ibm.com>
1299
1300 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
1301 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
1302
5cd867b4
YQ
13032015-06-24 Yao Qi <yao.qi@linaro.org>
1304
1305 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
1306 linux targets.
1307
4d7be007
YQ
13082015-06-24 Yao Qi <yao.qi@linaro.org>
1309
1310 * lib/gdb.exp (supports_get_siginfo_type): New proc.
1311 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
1312 * gdb.base/siginfo-thread.exp: Likewise.
1313
07fcd301
YQ
13142015-06-22 Yao Qi <yao.qi@linaro.org>
1315
1316 * boards/remote-gdbserver-on-localhost.exp: Add comments.
1317
52042a00
YQ
13182015-06-22 Yao Qi <yao.qi@linaro.org>
1319
1320 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
1321 aarch64*-*-*.
1322 (skip_hw_watchpoint_tests): Likewise.
1323
74bd41ce
PP
13242015-06-18 Patrick Palka <patrick@parcs.ath.cx>
1325
1326 * gdb.base/gdbinit-history.exp: Test the interaction between
1327 setting GDBHISTSIZE and setting the history size via .gdbinit.
1328
bc460514
PP
13292015-06-17 Patrick Palka <patrick@parcs.ath.cx>
1330
1331 PR gdb/16999
1332 * gdb.base/gdbhistsize-history.exp: New test.
1333
b58c513b
PP
13342015-06-17 Patrick Palka <patrick@parcs.ath.cx>
1335
1336 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
1337 with GDBHISTSIZE.
1338 * gdb.base/readline.exp: Likewise.
1339
92046791
YQ
13402015-06-17 Yao Qi <yao.qi@linaro.org>
1341
1342 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
1343 line.
1344
2093d2d3
PP
13452015-06-17 Patrick Palka <patrick@parcs.ath.cx>
1346
1347 * gdb.base/gdbinit-history.exp: Add test case to check that
1348 an unlimited history file does not get truncated on exit.
1349
e6c693af
AA
13502015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1351
1352 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
1353 (VECTOR): New macro. Use it...
1354 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
1355 ...for these typedefs.
1356 (int8, char1, int1, double1): New typedefs.
1357 (struct just_int2, struct two_int2): New structures.
1358 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
1359 (add_structvecs, add_singlevecs): New functions.
1360 (main): Call add_some_intvecs twice.
1361 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
1362 the compile and exit upon failure. Try compiling for the "native"
1363 architecture. Test inferior function calls with vector arguments
1364 and vector return value handling with "finish" and "return".
1365
c74f7d1c
JT
13662015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
1367
1368 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
1369 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
1370 PE file.
1371 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
1372
98aa42ee
AT
13732015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
1374
1375 PR breakpoints/16465
1376 * gdb.mi/mi-dprintf-pending.c: New file.
1377 * gdb.mi/mi-dprintf-pending.exp: New test.
1378 * gdb.mi/mi-dprintf-pendshr.c: New file.
1379
7d73c23c 13802015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 1381 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
1382
1383 * gdb.arch/i386-mpx-map.c: New file.
1384 * gdb.arch/i386-mpx-map.exp: New File.
1385
13862015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1387
1388 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
1389 * gdb.arch/i386-mpx.exp: Indentation fixed.
1390
13912015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1392
1393 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
1394 function and improved indentation.
1395 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
1396 gdb_test_multiple. Added additional tests to skip the test.
1397
13982015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1399
1400 * gdb.arch/i386-avx512.c: Change path in include file.
1401 * gdb.arch/i386-avx512.exp: Change include dir path
1402 compilation flag.
1403 * gdb.arch/i386-mpx.c: Change path in include file.
1404 * gdb.arch/i386-mpx.exp: Change include dir path compilation
1405 flag.
1406
d5eba19a
JK
14072015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1408
1409 * gdb.compile/compile-print.exp (compile print *vararray@3)
1410 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
1411
7f361056
JK
14122015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1413
1414 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
1415 (do not keep jit in memory): ... this.
1416 (expect 5): Change it to ...
1417 (expect no 5): ... this.
1418
3b462ec2
SM
14192015-06-02 Simon Marchi <simon.marchi@ericsson.com>
1420
1421 PR gdb/15564
1422 * gdb.mi/mi-detach.exp: New file.
1423
e0619de6
JK
14242015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1425
1426 PR symtab/18392
1427 * gdb.arch/amd64-tailcall-self.S: New file.
1428 * gdb.arch/amd64-tailcall-self.c: New file.
1429 * gdb.arch/amd64-tailcall-self.exp: New file.
1430
e970cb34
DB
14312015-05-28 Don Breazeal <donb@codesourcery.com>
1432
1433 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
1434 tests for remote targets by checking is_target_gdbserver.
1435
b2e2f908
DE
14362015-05-27 Doug Evans <dje@google.com>
1437
1438 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
1439 * gdb.dwarf2/opaque-type-lookup.c: New file.
1440 * gdb.dwarf2/opaque-type-lookup.exp: New file.
1441
82c7be31
DE
14422015-05-26 Doug Evans <dje@google.com>
1443
1444 * gdb.cp/iostream.cc: New file.
1445 * gdb.cp/iostream.exp: New file.
1446
b4f54984
DE
14472015-05-26 Doug Evans <dje@google.com>
1448
1449 * gdb.dwarf2/dw2-op-call.exp: Update.
1450 * gdb.dwarf2/dw4-sig-types.exp: Update.
1451 * gdb.dwarf2/implptr.exp: Update.
1452 * gdb.mi/mi-cmd-param-changed.exp: Update.
1453
4ea6efe9
DE
14542015-05-26 Doug Evans <dje@google.com>
1455
1456 * gdb.python/py-lazy-string.c: New file.
1457 * gdb.python/py-lazy-string.exp: New file.
1458 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
1459 (main): Update. Add estring3.
1460 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
1461 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
1462
f6bb7db3
YQ
14632015-05-26 Omair Javaid <omair.javaid@linaro.org>
1464 Yao Qi <yao.qi@linaro.org>
1465
1466 * gdb.reverse/aarch64.c: New.
1467 * gdb.reverse/aarch64.exp: New.
1468
a81bfbd0
OJ
14692015-05-26 Omair Javaid <omair.javaid@linaro.org>
1470
1471 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
1472 (supports_reverse): Likewise.
1473
158bf1b4
PP
14742015-05-22 Patrick Palka <patrick@parcs.ath.cx>
1475
1476 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1477 Use with_test_prefix.
1478
a0145030
AB
14792015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
1480
1481 * gdb.base/completion.exp: Add test for completion of layout
1482 names.
1483
ebe3b578
AB
14842015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
1485
1486 * lib/gdb.exp (skip_tui_tests): New proc.
1487 * gdb.base/tui-layout.exp: Check skip_tui_tests.
1488
84204ed7
PA
14892015-05-19 Pedro Alves <palves@redhat.com>
1490
1491 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1492 Save the whole env array instead of just HOME. Unset HISTSIZE in
1493 the environment while testing. Restore whole environment
1494 afterwards.
1495
37442ce1
DE
14962015-05-16 Doug Evans <xdje42@gmail.com>
1497
1498 * gdb.guile/scm-ports.c: New file.
1499 * gdb.guile/scm-ports.exp: Add memory port tests.
1500
36de76f9
JK
15012015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1502
1503 * gdb.compile/compile-print.c: New file.
1504 * gdb.compile/compile-print.exp: New file.
1505
3a9558c4
JK
15062015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1507
1508 * gdb.compile/compile-ops.exp: Cast param to void.
1509 * gdb.compile/compile.exp: Complete type for _gdb_expr.
1510 (compile code struct_object.selffield = &struct_object): Add xfail.
1511
aa715135
JG
15122015-05-15 Joel Brobecker <brobecker@adacore.com>
1513
1514 * gdb.ada/arr_enum_with_gap: New testcase.
1515
931e5bc3
JG
15162015-05-15 Joel Brobecker <brobecker@adacore.com>
1517
1518 * gdb.ada/byte_packed_arr: New testcase.
1519
9cd4d857
JB
15202015-05-15 Joel Brobecker <brobecker@adacore.com>
1521
1522 * gdb.ada/pckd_neg: New testcase.
1523
ebfd00d2
PP
15242015-05-13 Patrick Palka <patrick@parcs.ath.cx>
1525
1526 PR gdb/17820
1527 * gdb.base/gdbinit-history.exp: New test.
1528 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
1529 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
1530
4c082a81
SC
15312015-05-09 Siva Chandra Reddy <sivachandra@google.com>
1532
1533 * gdb.python/py-xmethods.cc: Enhance test case.
1534 * gdb.python/py-xmethods.exp: New tests.
1535 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
1536 function.
1537 (B_indexoper): Likewise.
1538 (global_dm_list) : Add new xmethod worker functions.
1539
f7797074
SDJ
15402015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
1541
1542 * gdb.base/coredump-filter.exp: Correctly unset
1543 "coredump_var_addr" array.
1544
a4674e4e
PA
15452015-05-08 Pedro Alves <palves@redhat.com>
1546
1547 * gdb.server/non-existing-program.exp: Unset spawn_id.
1548
df2eb078
SC
15492015-05-08 Siva Chandra Reddy <sivachandra@google.com>
1550
1551 PR python/18291
1552 * gdb.python/py-xmethods.exp: Add tests.
1553
422349a3
YQ
15542015-05-08 Yao Qi <yao.qi@linaro.org>
1555
1556 PR gdb/18208
1557 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
1558 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
1559 function set_coredump_filter, and remove remote_exec call.
1560 Remove argument ipid. Callers update.
1561 (top level): Don't get inferior's PID.
1562
63fc80ce
AA
15632015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
1564
1565 * gdb.base/watch_thread_num.exp: Skip test on targets without
1566 access watchpoints.
1567
80ad801e
PA
15682015-05-06 Pedro Alves <palves@redhat.com>
1569
1570 PR server/18081
1571 * gdb.server/non-existing-program.exp: New file.
1572
0fa7fe50
JB
15732015-05-05 Joel Brobecker <brobecker@adacore.com>
1574
1575 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
1576
3ea89b92
PMR
15772015-05-05 Joel Brobecker <brobecker@adacore.com>
1578
1579 * gdb.ada/out_of_line_in_inlined: New testcase.
1580
87b8eff0
JB
15812015-05-05 Joel Brobecker <brobecker@adacore.com>
1582
1583 * gdb.ada/var_rec_arr: New testcase.
1584
5fccc635
YQ
15852015-04-30 Yao Qi <yao.qi@linaro.org>
1586
1587 * gdb.base/break-idempotent.exp: If
1588 skip_hw_watchpoint_multi_tests returns true, skip the tests
1589 on "rwatch" and "awatch".
1590
42d38f42
YQ
15912015-04-30 Yao Qi <yao.qi@linaro.org>
1592
1593 * gdb.base/relativedebug.exp: Invoke gdb command
1594 "info sharedlibrary", and if libc.so doesn't have debug info,
1595 skip the test.
1596
2ce1cdbf
DE
15972015-04-29 Doug Evans <dje@google.com>
1598
1599 * gdb.python/py-xmethods.exp: Add ptype tests.
1600 * gdb.python/py-xmethods.py (E_method_char_worker): Add
1601 get_result_type method.
1602
f24a38c5
LM
16032015-04-29 Luis Machado <lgustavo@codesourcery.com>
1604
1605 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
1606 the target does not support hardware watchpoints.
1607
ecbf2b3c
LM
16082015-04-29 Luis Machado <lgustavo@codesourcery.com>
1609
1610 * gdb.base/break-always.exp: Abort testing if writing to memory
1611 causes an error.
1612
34f5f757
DE
16132015-04-28 Doug Evans <dje@google.com>
1614
1615 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
1616 * gdb.python/py-pp-registration.exp: ... here. New file.
1617 * gdb.python/py-pp-registration.c: New file.
1618 * gdb.python/py-pp-registration.py: New file.
1619
69b4374a
DE
16202015-04-28 Doug Evans <dje@google.com>
1621
1622 * gdb.python/py-bad-printers.c: New file.
1623 * gdb.python/py-bad-printers.py: New file.
1624 * gdb.python/py-bad-printers.exp: New file.
1625
59fb7612
SS
16262015-04-28 Sasha Smundak <asmundak@google.com>
1627
1628 * gdb.python/py-type.exp: New test.
1629
2631b16a
AW
16302015-04-28 Andy Wingo <wingo@igalia.com>
1631
1632 * gdb.python/py-parameter.exp:
1633 * gdb.guile/scm-parameter.exp: Escape the path that we are
1634 matching against, as it might contain characters that are special
1635 to regular expressions.
1636
460efde1
JB
16372015-04-27 Joel Brobecker <brobecker@adacore.com>
1638
1639 * gdb.ada/rec_comp: New testcase.
1640
2d369d8e
SDJ
16412015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
1642
1643 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
1644 before using it.
1645
cf75d6c3
AB
16462015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
1647
1648 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
1649 new tests for verilog output.
1650
8dbe7ca5
YQ
16512015-04-24 Yao Qi <yao.qi@linaro.org>
1652
1653 * boards/remote-gdbserver-on-localhost.exp: New file.
1654
4ef9fb2f
PA
16552015-04-23 Pedro Alves <palves@redhat.com>
1656
1657 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
1658 $inferior_spawn_id instead of $inferior_spawn_id directly. On
1659 "end of file", remove $inferior_spawn_id from the indirect list.
1660
0a803169
PA
16612015-04-23 Pedro Alves <palves@redhat.com>
1662
1663 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
1664
749ef8f8
PA
16652015-04-23 Pedro Alves <palves@redhat.com>
1666
1667 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
1668 on $any_spawn_id instead of only on $gdb_spawn_id.
1669
8aae4344
PM
16702015-04-21 Pierre Muller <muller@sourceware.org>
1671
1672 PR pascal/17815
1673 * lib/pascal.exp (gpc_compile): Add new option "class".
1674 (fpc_compile): Likewise.
1675 * gdb.pascal/case-insensitive-symbols.pas: New file.
1676 * gdb.pascal/case-insensitive-symbols.exp: New file.
1677
1586c8fb
GB
16782015-04-20 Gary Benson <gbenson@redhat.com>
1679
1680 * gdb.base/attach.exp: Fix three extended remote failures.
1681
1b6e6f5c
GB
16822015-04-17 Gary Benson <gbenson@redhat.com>
1683
1684 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
1685 the main executable over the remote protocol.
1686
e797481d
PA
16872015-04-16 Pedro Alves <palves@redhat.com>
1688
1689 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
1690 a new gdbserver if gdbserver_reconnect_p is set.
1691
1ca99c42
PA
16922015-04-16 Pedro Alves <palves@redhat.com>
1693
1694 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
1695 is set, don't exit gdbserver.
1696
af9fd6f8
AA
16972015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1698
1699 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
1700 appropriate .insn, such that an older assembler can be used.
1701 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
1702 the z/Architecture instruction set on 31-bit targets as well.
1703
04ff1e61
AA
17042015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1705
1706 * gdb.go/handcall.exp: Remove all logic related to the first
1707 breakpoint and rely on go_runto_main instead.
1708 * gdb.go/strings.exp: Likewise.
1709 * gdb.go/unsafe.exp: Likewise.
1710 * gdb.go/hello.exp: Likewise. Also rename the remaining
1711 breakpoint marker to "breakpoint 1".
1712 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
1713 * gdb.go/strings.go: Likewise.
1714 * gdb.go/unsafe.go: Likewise.
1715 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
1716 "set breakpoint 2 here" and rename the remaining breakpoint marker
1717 to "breakpoint 1".
1718
40d2f8d6
SM
17192015-04-15 Simon Marchi <simon.marchi@ericsson.com>
1720
1721 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
1722 if itertools.imap is not present.
1723 * gdb.python/py-objfile.exp: Add parentheses.
1724 * gdb.python/py-type.exp: Same.
1725 * gdb.python/py-unwind-maint.py: Same.
1726
8cbc97c6
YQ
17272015-04-15 Yao Qi <yao.qi@linaro.org>
1728
1729 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
1730 of ":$ptr_size" and set its form explicitly.
1731
45fd756c
YQ
17322015-04-15 Pedro Alves <palves@redhat.com>
1733 Yao Qi <yao.qi@linaro.org>
1734
1735 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
1736 timeout by factor of 4.
1737 (test_regular_watch): Likewise.
1738 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
1739 * gdb.reverse/sigall-reverse.exp: Likewise.
1740 * gdb.reverse/until-precsave.exp: Likewise.
1741 * lib/gdb.exp (with_timeout_factor): New proc.
1742 (gdb_expect): Move some code to ...
1743 (get_largest_timeout): ... here. New procedure.
1744
9e811bc3
LM
17452015-04-14 Luis Machado <lgustavo@codesourcery.com>
1746
1747 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
1748
0ff6fcb2
LM
17492015-04-13 Luis Machado <lgustavo@codesourcery.com>
1750
1751 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
1752 to write to the .text section.
1753
7578d5f7
LM
17542015-04-13 Luis Machado <lgustavo@codesourcery.com>
1755
1756 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
1757 Handle the case of targets that do not provide PID information.
1758
2efe15c4
YQ
17592015-04-13 Yao Qi <yao.qi@linaro.org>
1760
1761 * lib/gdbserver-support.exp (gdb_exit): Catch exception
1762 and use expect instead of gdb_expect.
1763
8cd8f2f8
SDJ
17642015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
1765
1766 * gdb.base/coredump-filter.exp: Rename variable "addr" to
1767 "coredump_var_addr" to avoid naming conflict with other testcases.
1768
9ee41772
PA
17692015-04-10 Pedro Alves <palves@redhat.com>
1770
1771 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
1772 gdb_test_sequence and gdb_assert.
1773
07473109
PA
17742015-04-10 Pedro Alves <palves@redhat.com>
1775
1776 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
1777 test messages that don't include the breakpoint address.
1778
de3db44c
YQ
17792015-04-10 Yao Qi <yao.qi@linaro.org>
1780
1781 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
1782 false for some offset and width combinations which aren't
1783 supported by linux kernel.
1784
c79d856c
PA
17852015-04-10 Pedro Alves <palves@redhat.com>
1786
1787 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
1788 procedure, factored out from ...
1789 (top level): ... here. Add "set displaced-stepping" testing axis.
1790 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
1791 parameter "displaced". Use it.
1792 (top level): Use foreach and add "set displaced-stepping" testing
1793 axis.
1794
ebc90b50
PA
17952015-04-10 Pedro Alves <palves@redhat.com>
1796
1797 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
1798 Remove comment.
1799 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
1800 both the address of the instruction that triggers the watchpoint
1801 and the address of the instruction immediately after, and use
1802 those addresses for the test. Fix comment.
1803
8f572e5c
PA
18042015-04-10 Pedro Alves <palves@redhat.com>
1805
1806 * gdb.base/sigstep.exp (breakpoint_to_handler)
1807 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
1808 Test "backtrace" in handler.
1809 (breakpoint_over_handler): New parameter 'displaced'. Use it.
1810 (top level): Add new "displaced" test axis to
1811 breakpoint_to_handler, breakpoint_to_handler_entry and
1812 breakpoint_over_handler.
1813
8d707a12
PA
18142015-04-10 Pedro Alves <palves@redhat.com>
1815
1816 PR gdb/18216
1817 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
1818
ef713951
YQ
18192015-04-10 Yao Qi <yao.qi@linaro.org>
1820
1821 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
1822 (test_add_rn_pc): New function.
1823 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
1824 (top level): Invoke test_add_rn_pc.
1825
906d60cf
PA
18262015-04-10 Pedro Alves <palves@redhat.com>
1827
1828 PR gdb/13858
1829 * gdb.base/step-over-no-symbols.exp: New file.
1830
f2983cc3
AW
18312015-04-09 Andy Wingo <wingo@igalia.com>
1832
1833 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
1834 after the Python tests.
1835
6d62641c
SDJ
18362015-04-08 Keith Seitz <keiths@redhat.com>
1837
1838 PR python/16699
1839 * gdb.python/py-completion.exp: New tests for completion.
1840 * gdb.python/py-completion.py (CompleteLimit1): New class.
1841 (CompleteLimit2): Likewise.
1842 (CompleteLimit3): Likewise.
1843 (CompleteLimit4): Likewise.
1844 (CompleteLimit5): Likewise.
1845 (CompleteLimit6): Likewise.
1846 (CompleteLimit7): Likewise.
1847
f3770638
PA
18482015-04-08 Pedro Alves <palves@redhat.com>
1849
1850 PR gdb/18214
1851 PR gdb/18216
1852 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
1853 function.
1854 (main): Install it as SIGUSR1 handler.
1855 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
1856 parameter. Always use "setup" as prefix. Toggle "set
1857 displaced-stepping" off/on depending on global. Don't switch to
1858 thread 1 here.
1859 (top level): Add displaced stepping "off/on" test axis. Update
1860 "setup" calls. Wrap each subtest with with_test_prefix. Test
1861 continuing with a queued signal in each thread.
1862
4496bed7
PA
18632015-04-08 Pedro Alves <palves@redhat.com>
1864
1865 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
1866 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
1867 gdb_breakpoint instead of gdb_test that doesn't expect anything.
1868 Return early if running to main fails.
1869 * gdb.trace/while-stepping.exp: Likewise.
1870
b97fde92
PA
18712015-04-07 Pedro Alves <palves@redhat.com>
1872
1873 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
1874 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
1875 interact with inferior program.
1876
f71c18e7
PA
18772015-04-07 Pedro Alves <palves@redhat.com>
1878
1879 * lib/gdb.exp (inferior_spawn_id): New global.
1880 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
1881 spawn id after processing the user code.
1882 (default_gdb_start): Set inferior_spawn_id.
1883 (send_inferior): New procedure.
1884 * lib/gdbserver-support.exp (gdbserver_start): Set
1885 inferior_spawn_id.
1886 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
1887
6423214f
PA
18882015-04-07 Pedro Alves <palves@redhat.com>
1889
1890 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
1891 * lib/gdbserver-support.exp (gdbserver_start): Make
1892 $server_spawn_id global.
1893 (gdbserver_start): Don't wait for gdbserver's spawn id with
1894 expect_background.
1895 (close_gdbserver): New procedure.
1896 (gdb_exit): Rename the default version and reimplement.
1897
71c0ee8c
PA
18982015-04-07 Pedro Alves <palves@redhat.com>
1899
72f4393d 1900 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
1901 append the substituted item, not the original item.
1902
203bc29b
PA
19032015-04-07 Pedro Alves <palves@redhat.com>
1904
1905 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
1906 gdb_expect.
1907
508a3ddf
PA
19082015-04-07 Pedro Alves <palves@redhat.com>
1909
1910 * gdb.base/interrupt.exp: Don't handle the case of the inferior
1911 output appearing once only.
1912
9f6dbe2b
PA
19132015-04-07 Pedro Alves <palves@redhat.com>
1914
1915 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
1916 that doesn't expect anything. Return early if running to main
1917 fails.
1918
337532fa
YQ
19192015-04-07 Yao Qi <yao.qi@linaro.org>
1920
1921 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
1922 (child_function): Call alarm.
1923 (main): Move call to alarm into the loop.
1924 * gdb.threads/non-stop-fair-events.exp: Build program with
1925 -DTIMEOUT=$timeout.
1926
01b622d4
DE
19272015-04-06 Doug Evans <xdje42@gmail.com>
1928
1929 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
1930 Fix dest parameter to board_info.
1931 (fpc_compile): Ditto.
1932 (gdb_compile_pascal): Rename dest arg to destfile.
1933
961f4160
PMR
19342015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
1935
1936 * gdb.ada/funcall_ref.exp: New file.
1937 * gdb.ada/funcall_ref/foo.adb: New file.
1938
cafda597
YQ
19392015-04-02 Yao Qi <yao.qi@linaro.org>
1940
1941 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
1942 is remote.
1943
fed040c6
GB
19442015-04-02 Gary Benson <gbenson@redhat.com>
1945
1946 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
1947
d11916aa
SS
19482015-04-01 Sasha Smundak <asmundak@google.com>
1949
1950 * gdb.python/py-unwind-maint.c: New file.
1951 * gdb.python/py-unwind-maint.exp: New test.
1952 * gdb.python/py-unwind-maint.py: New file.
1953 * gdb.python/py-unwind.c: New file.
1954 * gdb.python/py-unwind.exp: New test.
1955 * gdb.python/py-unwind.py: New test.
1956
a1471180
PA
19572015-04-01 Pedro Alves <palves@redhat.com>
1958
1959 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
1960 to fail instead of non-existent $test.
1961
0bbeccb1
PA
19622015-04-01 Pedro Alves <palves@redhat.com>
1963
1964 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
1965 GDBFLAGS if not empty.
1966
3c724c8c
PMR
19672015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
1968
1969 * gdb.ada/complete.exp: Remove "multi_line".
1970 * gdb.ada/info_exc.exp: Remove "multi_line".
1971 * gdb.ada/packed_tagged.exp: Remove "multi_line".
1972 * gdb.ada/ptype_field.exp: Remove "multi_line".
1973 * gdb.ada/sym_print_name.exp: Remove "multi_line".
1974 * gdb.ada/tagged.exp: Remove "multi_line".
1975 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
1976 [multi_line ...]
1977 * gdb.btrace/delta.exp: Likewise.
1978 * gdb.btrace/exception.exp: Likewise.
1979 * gdb.btrace/function_call_history.exp: Likewise.
1980 * gdb.btrace/instruction_history.exp: Likewise.
1981 * gdb.btrace/nohist.exp: Likewise.
1982 * gdb.btrace/record_goto.exp: Likewise.
1983 * gdb.btrace/segv.exp: Likewise.
1984 * gdb.btrace/stepi.exp: Likewise.
1985 * gdb.btrace/tailcall.exp: Likewise.
1986 * gdb.btrace/unknown_functions.exp: Likewise.
1987 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
1988 * lib/gdb.exp: Add the "multi_line" helper.
1989
4eec2deb
PA
19902015-04-01 Pedro Alves <palves@redhat.com>
1991
1992 * gdb.threads/tid-reuse.c: New file.
1993 * gdb.threads/tid-reuse.exp: New file.
1994
df8411da
SDJ
19952015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
1996
1997 PR corefiles/16092
1998 * gdb.base/coredump-filter.c: New file.
1999 * gdb.base/coredump-filter.exp: Likewise.
2000
6ef37366
PM
20012015-03-27 Petr Machata <pmachata@redhat.com>
2002
2003 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
2004 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
2005 (Dwarf::assemble): Initialize them.
2006 (Dwarf::lines): New function.
2007
7ec911b0
JT
20082015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
2009
2010 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
2011 SYMBOL_PREFIX for x86_64-*-cygwin.
2012
ff908ebf
AW
20132015-03-26 Andy Wingo <wingo@igalia.com>
2014
2015 PR symtab/18148
2016 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
2017 const_value but not a location.
2018 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
2019 location defined in non-main CUs are visible.
2020
6d5f0679
YQ
20212015-03-26 Yao Qi <yao.qi@linaro.org>
2022
2023 PR testsuite/18139
2024 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
2025 Add a line number entry for the same line.
2026 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
2027 Add a line number entry for the same line.
2028
2898689b
YQ
20292015-03-26 Yao Qi <yao.qi@linaro.org>
2030
2031 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
2032 .int 0.
2033 (func): Likewise. Add .Lfunc_1 label.
2034 Use .Lfunc_1 label.
2035 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
2036 .int 0.
2037 (func): Likewise.
2038 Use .Lfunc_1 label.
2039
85180498
YQ
20402015-03-26 Yao Qi <yao.qi@linaro.org>
2041
2042 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
2043 Call gdb_compile instead to compile each .s files without debug
2044 information.
2045
8aa08a8d
YQ
20462015-03-26 Yao Qi <yao.qi@linaro.org>
2047
2048 * gdb.base/savedregs.exp (process_saved_regs): Make
2049 "Saved registers:" optional in the pattern.
2050
66849923
MM
20512015-03-25 Markus Metzger <markus.t.metzger@intel.com>
2052
2053 * gdb.btrace/next.exp: Merged into step.exp.
2054 * gdb.btrace/finish.exp: Merged into step.exp.
2055 * gdb.btrace/nexti.exp: Merged into stepi.exp.
2056 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
2057 "record goto" and checking the exact replay position.
2058 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
2059 check for "Recording format" in "info record" output.
2060 * gdb.btrace/record_goto.exp: Choose test file based on target.
2061 * gdb.btrace/x86-record_goto.S: Renamed into ...
2062 * gdb.btrace/x86_64-record_goto.S: ... this.
2063 * gdb.btrace/i686-record_goto.S: New.
2064 * gdb.btrace/x86-tailcall.S: Renamed into ...
2065 * gdb.btrace/x86_64-tailcall.S: ... this.
2066 * gdb.btrace/i686-tailcall.S: New.
2067 * gdb.btrace/x86-tailcall.c: Renamed into ...
2068 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
2069 separate statements. Update test.
2070 * gdb.btrace/delta.exp: Use record_goto.c as test file.
2071 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
2072 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
2073 * gdb.btrace/tailcall.exp: Choose test file based on target.
2074 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
2075
11cc1b74
MM
20762015-03-25 Markus Metzger <markus.t.metzger@intel.com>
2077
2078 * gdb.btrace/exception.exp: Increase BTS buffer size.
2079
a25d8bf9
PA
20802015-03-24 Pedro Alves <palves@redhat.com>
2081
2082 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
2083
856e7dd6
PA
20842015-03-24 Pedro Alves <palves@redhat.com>
2085
2086 * gdb.threads/schedlock.exp (test_step): No longer expect that
2087 "set scheduler-locking step" with "next" over a function call runs
2088 threads unlocked.
2089
ad235a41
AT
20902015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
2091
2092 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
2093
15630549
AT
20942015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
2095
2096 PR breakpoints/16466
2097 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
2098 * gdb.mi/mi-pending.c (thread_func): New function.
2099 (int main): Add threading support required.
2100 * gdb.mi/mi-pending.exp: Add tests for this issue.
2101 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
2102 (pendfunc2): Remove stdio dependency.
2103 * gdb.mi/mi-pendshr2.c: New file.
2104
693dca06
KS
21052015-03-23 Keith Seitz <keiths@redhat.com>
2106
2107 * gdb.linespec/keywords.c: New file.
2108 * gdb.linespec/keywords.exp: New file.
2109
7e993ebf
KS
21102015-03-23 Keith Seitz <keiths@redhat.com>
2111
2112 PR gdb/18021
2113 * gdb.dwarf2/staticvirtual.exp: New test.
2114
bc23328c
JK
21152015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2116
2117 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
2118 * README: Remove HP-UX and gdb.hp.
2119 (configuration):
2120 * configure: Regenerate.
2121 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
2122 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
2123 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
2124 gdb.hp/gdb.defects/Makefile.
2125 * gdb.hp/Makefile.in: File deleted.
2126 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
2127 * gdb.hp/gdb.aCC/optimize.c: File deleted.
2128 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
2129 * gdb.hp/gdb.aCC/run.c: File deleted.
2130 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
2131 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
2132 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
2133 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
2134 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
2135 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
2136 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
2137 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
2138 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
2139 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
2140 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
2141 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
2142 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
2143 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
2144 * gdb.hp/gdb.base-hp/reg.s: File deleted.
2145 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
2146 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
2147 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
2148 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
2149 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
2150 * gdb.hp/gdb.compat/Makefile.in: File deleted.
2151 * gdb.hp/gdb.compat/average.c: File deleted.
2152 * gdb.hp/gdb.compat/sum.c: File deleted.
2153 * gdb.hp/gdb.compat/xdb.c: File deleted.
2154 * gdb.hp/gdb.compat/xdb0.c: File deleted.
2155 * gdb.hp/gdb.compat/xdb0.h: File deleted.
2156 * gdb.hp/gdb.compat/xdb1.c: File deleted.
2157 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
2158 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
2159 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
2160 * gdb.hp/gdb.defects/Makefile.in: File deleted.
2161 * gdb.hp/gdb.defects/bs14602.c: File deleted.
2162 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
2163 * gdb.hp/gdb.defects/solib-d.c: File deleted.
2164 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
2165 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
2166 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
2167 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
2168 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
2169 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
2170 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
2171 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
2172 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
2173 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
2174 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
2175 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
2176 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
2177 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
2178 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
2179 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
2180 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
2181 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
2182 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
2183 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
2184 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
2185 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
2186 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
2187 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
2188 * gdb.hp/tools/odump: File deleted.
2189
8bf3b159
PA
21902015-03-19 Pedro Alves <palves@redhat.com>
2191
2192 * gdb.threads/continue-pending-status.exp (saw_thread_2)
2193 (saw_thread_3): New globals.
2194 (top level): Increment them when an event for the corresponding
2195 thread is seen.
2196 (no thread starvation): New test.
2197
eb54c8bf
PA
21982015-03-19 Pedro Alves <palves@redhat.com>
2199
2200 * gdb.threads/continue-pending-status.c: New file.
2201 * gdb.threads/continue-pending-status.exp: New file.
2202
32d2e5d6
PA
22032015-03-18 Pedro Alves <palves@redhat.com>
2204
2205 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
2206 Use gdb_is_target_remote instead of is_remote. Use
2207 gdb_test_multiple instead of gdb_expect. Exit early if
2208 gdb_test_multiple hits its internal matches. Tighten stepi tests
2209 expected output. Fail on exit with any signal, instead of just
2210 SIGILL.
2211
f68f11b7
YQ
22122015-03-18 Yao Qi <yao.qi@linaro.org>
2213
2214 PR tdep/18107
2215 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
2216 variable.
2217 * gdb.base/catch-syscall.exp: Don't skip it on
2218 aarch64*-*-linux* target. Remove elements in all_syscalls.
2219 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
2220 target.
2221 (setup_all_syscalls): New proc.
2222
ca5fd19b
YQ
22232015-03-16 Yao Qi <yao.qi@linaro.org>
2224
2225 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
2226 (top level): Skip tests if valid_addr_p returns false for
2227 $cmd1 or $cmd2.
2228
85642ba0
AW
22292015-03-11 Andy Wingo <wingo@igalia.com>
2230
2231 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
2232
e03f9645
YQ
22332015-03-11 Yao Qi <yao.qi@linaro.org>
2234
2235 * gdb.base/catch-syscall.exp: Fix typo in comments.
2236
5d0962b2
YQ
22372015-03-11 Yao Qi <yao.qi@linaro.org>
2238
2239 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
2240
b2df3cef
PA
22412015-03-09 Pedro Alves <palves@redhat.com>
2242
2243 * dg-extract-results.py: Delete.
2244
ef878e53
PA
22452015-03-09 Pedro Alves <palves@redhat.com>
2246
2247 Merge dg-extract-results.sh from GCC upstream (r218843).
2248
2249 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
2250 * dg-extract-results.sh: Use --text with grep to avoid issues with
2251 binary files. Fall back to cat -v, if that doesn't work.
2252
9494d219
PA
22532015-03-05 Pedro Alves <palves@redhat.com>
2254
2255 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
2256
a8d9763a
SM
22572015-03-04 Simon Marchi <simon.marchi@ericsson.com>
2258
2259 * lib/mi-support.exp (mi_expect_interrupt): Accept
2260 alternative event for when in all-stop mode.
2261
be9957b8
PA
22622015-03-04 Pedro Alves <palves@redhat.com>
2263
2264 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
2265
d57be0f4 22662015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
2267
2268 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
2269
c214c7cf
AA
22702015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
2271
2272 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
2273 regexps for GDB's current line display, accept a hex address
2274 preceding the line number.
2275
6d74a497
AA
22762015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
2277
2278 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
2279 the 'arch1' variable for "s390*-linux*" targets.
2280
511aee7c
PA
22812015-03-04 Pedro Alves <palves@redhat.com>
2282
2283 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
2284 (main): Pass missing retval argument to pthread_join call.
2285
95e50b27
PA
22862015-03-02 Pedro Alves <palves@redhat.com>
2287
2288 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
2289 (top level): Call do_test with non-stop as well.
2290
28054d69
PA
22912015-03-02 Pedro Alves <palves@redhat.com>
2292
2293 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
2294 -1.
2295
4fa5d7b4
AA
22962015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
2297
2298 * gdb.arch/s390-vregs.exp: New test.
2299 * gdb.arch/s390-vregs.S: New file.
2300
97c18565
PA
23012015-02-27 Pedro Alves <palves@redhat.com>
2302
2303 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
2304 call to catch_command_errors.
2305 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
2306 catch_command_errors.
2307
a37bfa30
PA
23082015-02-27 Pedro Alves <palves@redhat.com>
2309
2310 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
2311 "true" for boolean result.
2312 * gdb.gdb/selftest.exp (test_with_self): Also accept full
2313 prototype of main.
2314
6f98576f
PA
23152015-02-27 Pedro Alves <palves@redhat.com>
2316
2317 * lib/unbuffer_output.c: New file.
2318 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
2319 (main): Call gdb_unbuffer_output.
2320
eba5ab56
YQ
23212015-02-27 Yao Qi <yao.qi@linaro.org>
2322
2323 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
2324 target.
2325
0def5aaa
DE
23262015-02-26 Doug Evans <dje@google.com>
2327
2328 * gdb.cp/class2.cc (Dbase, D): New classes.
2329 (main): New local delta.
2330 * gdb.cp/class2.exp: Test printing delta.
2331 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
2332 (dynbar): New global.
2333 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
2334
081a1c2c
JK
23352015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2336
2337 * gdb.compile/compile-ifunc.c: New file.
2338 * gdb.compile/compile-ifunc.exp: New file.
2339
2f41223f
AT
23402015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
2341
2342 * gdb.base/structs.exp: Check for correct struct on finish.
2343
03eddd80
YQ
23442015-02-26 Yao Qi <yao.qi@linaro.org>
2345
2346 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
2347 is zero.
2348
80c57053
JK
23492015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2350
2351 * gdb.arch/cordic.ko.bz2: New file.
2352 * gdb.arch/cordic.ko.debug.bz2: New file.
2353 * gdb.arch/ppc64-symtab-cordic.exp: New file.
2354
21613c12
YQ
23552015-02-25 Yao Qi <yao.qi@linaro.org>
2356
2357 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
2358 aarch64*-*-* target.
2359
d8b901ed
PA
23602015-02-23 Pedro Alves <palves@redhat.com>
2361
2362 * lib/gdb.exp (delete_breakpoints): Rewrite using
2363 gdb_test_multiple.
2364
e5b85ead
PA
23652015-02-23 Pedro Alves <palves@redhat.com>
2366
2367 * gdb.base/info-os.c: Include stdlib.h.
2368
85c3a371
DE
23692015-02-22 Doug Evans <xdje42@gmail.com>
2370
2371 PR symtab/17855
2372 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
2373 is read after symbols have been re-read.
2374 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
2375 * gdb.ada/exec_changed/second.adb (Second): Ditto.
2376
96553a0c
DE
23772015-02-21 Doug Evans <dje@google.com>
2378
2379 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
2380
97a0c697
JK
23812015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2382
2383 PR corefiles/17808
2384 * gdb.arch/i386-biarch-core.core.bz2: New file.
2385 * gdb.arch/i386-biarch-core.exp: New file.
2386
a47cd6e9
PA
23872015-02-21 Pedro Alves <palves@redhat.com>
2388
2389 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
2390 runto_main fails.
2391
c5facdc4
PA
23922015-02-20 Pedro Alves <palves@redhat.com>
2393
2394 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
2395 info probes.
2396
2db9a427
PA
23972015-02-20 Pedro Alves <palves@redhat.com>
2398
2399 * gdb.threads/multi-create-ns-info-thr.exp: New file.
2400
60fb7e9e
PA
24012015-02-20 Pedro Alves <palves@redhat.com>
2402
2403 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
2404 clean_restart before gdb_target_supports_trace.
2405
5c5019c2
PA
24062015-02-20 Pedro Alves <palves@redhat.com>
2407
2408 PR threads/18006
2409 * gdb.threads/clone-thread_db.c: New file.
2410 * gdb.threads/clone-thread_db.exp: New file.
2411
c9587f88
AT
24122015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
2413
2414 PR breakpoints/16812
2415 * gdb.base/catch-gdb-caused-signals.c: New file.
2416 * gdb.base/catch-gdb-caused-signals.exp: New file.
2417
f6a88844
JM
24182015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
2419
2420 * configure: Regenerated.
2421 * configure.ac: Use GDB_AC_TRANSFORM.
2422 * aclocal.m4: sinclude ../transform.m4.
2423
497c491b
JM
24242015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2425
2426 * lib/dtrace.exp: New file.
2427 * gdb.base/dtrace-probe.exp: Likewise.
2428 * gdb.base/dtrace-probe.d: Likewise.
2429 * gdb.base/dtrace-probe.c: Likewise.
2430 * lib/pdtrace.in: Likewise.
2431 * configure.ac: Output variables with the transformed names of
2432 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
2433 * configure: Regenerated.
2434
03e98035
JM
24352015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2436
2437 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
2438 expected message when trying to access $_probe_* convenience
2439 variables while not on a probe.
2440
63cc30e9
JK
24412015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2442
2443 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
2444
0703599a
PA
24452015-02-11 Pedro Alves <pedro@codesourcery.com>
2446
2447 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
2448 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
2449
7e60a48e
DE
24502015-02-10 Doug Evans <xdje42@gmail.com>
2451
2452 * lib/gdb.exp (gdb_load): Always return a result.
2453
01b088bc
PA
24542015-02-10 Pedro Alves <palves@redhat.com>
2455
2456 * gdb.threads/signal-sigtrap.c: New file.
2457 * gdb.threads/signal-sigtrap.exp: New file.
2458
b05ec7a5
AT
24592015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
2460
2461 * gdb.trace/no-attach-trace.c: New file.
2462 * gdb.trace/no-attach-trace.exp: New file.
2463
a2c2acaf
MW
24642015-02-09 Mark Wielaard <mjw@redhat.com>
2465
2466 * gdb.dwarf2/atomic.c: New file.
2467 * gdb.dwarf2/atomic-type.exp: Likewise.
2468
31fd9caa
MM
24692015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2470
2471 * gdb.btrace/buffer-size.exp: Update "info record" output.
2472 * gdb.btrace/delta.exp: Update "info record" output.
2473 * gdb.btrace/enable.exp: Update "info record" output.
2474 * gdb.btrace/finish.exp: Update "info record" output.
2475 * gdb.btrace/instruction_history.exp: Update "info record" output.
2476 * gdb.btrace/next.exp: Update "info record" output.
2477 * gdb.btrace/nexti.exp: Update "info record" output.
2478 * gdb.btrace/step.exp: Update "info record" output.
2479 * gdb.btrace/stepi.exp: Update "info record" output.
2480 * gdb.btrace/nohist.exp: Update "info record" output.
2481
d33501a5
MM
24822015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2483
2484 * gdb.btrace/buffer-size: New.
2485
f4abbc16
MM
24862015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2487
2488 * gdb.btrace/delta.exp: Update "info record" output.
2489 * gdb.btrace/enable.exp: Update "info record" output.
2490 * gdb.btrace/finish.exp: Update "info record" output.
2491 * gdb.btrace/instruction_history.exp: Update "info record" output.
2492 * gdb.btrace/next.exp: Update "info record" output.
2493 * gdb.btrace/nexti.exp: Update "info record" output.
2494 * gdb.btrace/step.exp: Update "info record" output.
2495 * gdb.btrace/stepi.exp: Update "info record" output.
2496 * gdb.btrace/nohist.exp: Update "info record" output.
2497
b9d61307
SM
24982015-02-06 Simon Marchi <simon.marchi@ericsson.com>
2499
2500 PR gdb/15678
2501 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
2502
e584fdbc
PA
25032015-02-06 Pedro Alves <palves@redhat.com>
2504
2505 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
2506 macro.
2507 (seconds_left, again): New globals.
2508 (main): Wait seconds_left in a 1-second sleep loop instead of
2509 sleeping 180 seconds. If 'again' is set, reset the seconds
2510 counter.
2511 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
2512 'again' in the inferior before detaching. Print the seconds left.
2513 (options): New global.
2514 (top level): Build program with -DTIMEOUT=$timeout.
2515
77f41761
PA
25162015-02-06 Pedro Alves <palves@redhat.com>
2517
2518 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
2519 determine how many seconds to pass to 'alarm'.
2520 * gdb.base/gdb-sigterm.exp (top level): Build program with
2521 -DTIMEOUT=$timeout.
2522 (do_test): Return success/failure indication. Add more verbose
2523 logging. Don't fail if 200 single steps are seen. Instead, fail
2524 when the test times out.
2525 (passes): New global.
2526 (top level): Break the testing loop if testing fails on any
2527 iteration. Use gdb_assert.
2528
b9394193
DB
25292015-02-04 Don Breazeal <donb@codesourcery.com>
2530
2531 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
2532 and initialize them.
2533 (ipc_cleanup): New function.
2534 (main): Don't declare shmid, semid, and msqid. Add a call to
2535 atexit so that we call ipc_cleanup on exit.
2536
42d9e528
PA
25372015-02-04 Pedro Alves <palves@redhat.com>
2538
2539 * boards/native-extended-gdbserver.exp: Remove any target variant
2540 specifications from the board name before clearing the isremote
2541 flag from board_info.
2542
ae6ae975
DE
25432015-01-31 Doug Evans <xdje42@gmail.com>
2544
2545 * gdb.base/maint.exp <maint print type argc>: Update expected output.
2546
cfb069a8
GB
25472015-01-31 Gary Benson <gbenson@redhat.com>
2548
2549 * gdb.base/completion.exp: Disable completion limiting for
2550 existing tests. Add new tests to check completion limiting.
2551 * gdb.linespec/ls-errs.exp: Disable completion limiting.
2552
5dd31d79
DE
25532015-01-31 Doug Evans <xdje42@gmail.com>
2554
2555 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
2556
9f050062
DE
25572015-01-31 Doug Evans <xdje42@gmail.com>
2558
2559 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
2560 entries. Duplicate file section script entries.
2561 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
2562 inlined entries. Add test for safe-path rejection.
2563 * gdb.python/py-section-script.c: Add duplicate inlined section script
2564 entries. Duplicate file section script entries.
2565 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
2566 inlined entries. Add test for safe-path rejection.
2567
df25ebbd
JB
25682015-01-29 Joel Brobecker <brobecker@adacore.com>
2569
2570 * gdb.ada/disc_arr_bound: New testcase.
2571
4a0ca9ec
JB
25722015-01-29 Joel Brobecker <brobecker@adacore.com>
2573
2574 * gdb.ada/mi_var_array: New testcase.
2575
3a8b707a
DE
25762015-01-27 Doug Evans <dje@google.com>
2577
2578 * gdb.python/py-objfile.exp: Add tests for objfile.username.
2579 Add test for objfile.filename, objfile.username after objfile
2580 has been unloaded.
2581
f8313f6e
JB
25822015-01-26 Joel Brobecker <brobecker@adacore.com>
2583
2584 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
2585 the second test to print the name attribute of value
2586 returned by the call to gdb.lookup_type, and adjust
2587 the expected output accordingly.
2588
37bc665e
MW
25892015-01-25 Mark Wielaard <mjw@redhat.com>
2590
2591 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
2592 * gdb.base/disp-step-fork.c: Include unistd.h.
2593 * gdb.base/siginfo-obj.c: Include stdio.h.
2594 * gdb.base/siginfo-thread.c: Likewise.
2595 * gdb.mi/non-stop.c: Include unistd.h.
2596 * gdb.mi/nsthrexec.c: Include stdio.h.
2597 * gdb.mi/pthreads.c: Include unistd.h.
2598 * gdb.modula2/unbounded1.c (main): Declare returns int.
2599 * gdb.reverse/consecutive-reverse.c: Likewise.
2600 * gdb.threads/create-fail.c: Include unistd.h.
2601 * gdb.threads/killed.c: Likewise.
2602 * gdb.threads/linux-dp.c: Likewise.
2603 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
2604 * gdb.threads/non-ldr-exc-2.c: Likewise.
2605 * gdb.threads/non-ldr-exc-3.c: Likewise.
2606 * gdb.threads/non-ldr-exc-4.c: Likewise.
2607 * gdb.threads/pthreads.c: Include unistd.h.
2608 (main): Declare returns int.
2609 * gdb.threads/tls-main.c (foo): New declaration.
2610 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
2611
f7e5394d
SM
26122015-01-23 Simon Marchi <simon.marchi@ericsson.com>
2613
2614 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
2615 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
2616
743649fd
MW
26172015-01-15 Mark Wielaard <mjw@redhat.com>
2618
2619 * gdb.base/noreturn-return.c: New file.
2620 * gdb.base/noreturn-return.exp: New file.
2621 * gdb.base/noreturn-finish.c: New file.
2622 * gdb.base/noreturn-finish.exp: New file.
2623
198297aa
PA
26242015-01-23 Pedro Alves <palves@redhat.com>
2625
2626 * gdb.threads/continue-pending-after-query.c: New file.
2627 * gdb.threads/continue-pending-after-query.exp: New file.
2628
717cf30c
AG
26292015-01-22 Anders Granlund <anders.granlund@ericsson.com>
2630 Simon Marchi <simon.marchi@ericsson.com>
2631
2632 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
2633 * gdb.base/valgrind-db-attach.exp: Same.
2634 * gdb.base/valgrind-infcall.exp: Same.
2635 * lib/mi-support.exp (default_mi_gdb_start): Same.
2636 * lib/prompt.exp (default_prompt_gdb_start): Same.
2637 * lib/gdb.exp (default_gdb_spawn): Same.
2638 (gdb_interact): New.
2639
2640
4b62a76e
JK
26412015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2642
2643 * gdb.compile/compile.exp (pointer to jit function): New test.
2644
b4cdae6f
WW
26452015-01-17 Wei-cheng Wang <cole945@gmail.com>
2646
2647 * lib/gdb.exp (supports_process_record): Return true for
2648 powerpc*-*-linux*.
2649 (supports_reverse): Likewise.
2650
d221e7ef
DB
26512015-01-15 Don Breazeal <donb@codesourcery.com>
2652
2653 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
2654 instead of checking whether the target board is remote and
2655 use spawn_wait_for_attach instead of exec/sleep.
2656 * gdb.base/attach-twice.exp: Likewise.
2657
bafffb51
JB
26582015-01-15 Joel Brobecker <brobecker@adacore.com>
2659
2660 * gdb.ada/var_arr_attrs: New testcase.
2661
5589af0e
PA
26622015-01-14 Pedro Alves <palves@redhat.com>
2663 Joel Brobecker <brobecker@adacore.com>
2664
2665 PR gdb/17525
2666 * gdb.base/bp-cmds-execution-x-script.c: New file.
2667 * gdb.base/bp-cmds-execution-x-script.exp: New file.
2668 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
2669
6c400b59
PA
26702015-01-14 Pedro Alves <palves@redhat.com>
2671
2672 PR cli/17828
2673 * gdb.base/batch-preserve-term-settings.c: New file.
2674 * gdb.base/batch-preserve-term-settings.exp: New file.
2675
e02c96a7
DE
26762015-01-13 Doug Evans <dje@google.com>
2677
2678 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
2679 binary.
2680
576fd14c
JB
26812015-01-13 Joel Brobecker <brobecker@adacore.com>
2682
2683 * Makefile.in (clean mostlyclean): Do not delete *.py.
2684
04dccad0
JB
26852015-01-13 Joel Brobecker <brobecker@adacore.com>
2686
2687 * gdb.python/py-lookup-type.exp: New file.
2688
3d230f71
PA
26892015-01-12 Pedro Alves <palves@redhat.com>
2690
2691 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
2692 restore GDBFLAGS before returning.
2693
7e67715d
JK
26942015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2695
2696 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
2697 is_amd64_regs_target and is_x86_like_target.
2698
f2e0d4b4
DE
26992015-01-11 Doug Evans <xdje42@gmail.com>
2700
2701 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
2702 is given without an explicit form.
2703 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
2704 attributes.
2705 * gdb.dwarf/corrupt.exp: Ditto.
2706 * gdb.dwarf2/enum-type.exp: Ditto.
2707 * gdb.trace/entry-values.exp: Ditto.
2708 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
2709
439250fb
DE
27102015-01-11 Doug Evans <xdje42@gmail.com>
2711
2712 PR gdb/15830
2713 * gdb.base/maint.exp: Remove references to "maint demangle".
2714 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
2715 Add tests for explicitly specifying language to demangle.
2716 * gdb.dlang/demangle.exp: Ditto.
2717
ede9f622
PA
27182015-01-09 Pedro Alves <palves@redhat.com>
2719
2720 * gdb.threads/non-stop-fair-events.c: New file.
2721 * gdb.threads/non-stop-fair-events.exp: New file.
2722
a7b796db
PA
27232015-01-09 Pedro Alves <palves@redhat.com>
2724
2725 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
2726 the global scope. Set a breakpoint after all threads are started
2727 rather than stepping over two source lines. Expect the prompt.
2728 * gdb.base/watch_thread_num.c (threads_started_barrier): New
2729 global.
2730 (NUM): Now 15.
2731 (main): Use threads_started_barrier to wait for all threads to
2732 start. Main thread no longer calls thread_function. Exit after
2733 180 seconds.
2734 (loop): New function.
2735 (thread_function): Wait on threads_started_barrier barrier. Call
2736 'loop' at each iteration.
2737 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
2738 threads have started, instead of hardcoding number of "next"
2739 steps. Use an access watchpoint instead of a write watchpoint.
2740
9665ffdd
PA
27412015-01-09 Pedro Alves <palves@redhat.com>
2742
2743 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
2744 (thread_func): Wait on barrier.
2745 (main): Wait for all threads to start before stopping GDB.
2746 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
2747 global.
2748 (thread1_func, thread2_func): Wait on barrier.
2749 (main): Wait for all threads to start before stopping GDB.
2750 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
2751 New global.
2752 (thread1_func, thread2_func): Wait on barrier.
2753 (main): Wait for all threads to start before stopping GDB.
2754
c945a99f
PA
27552015-01-09 Pedro Alves <palves@redhat.com>
2756
2757 * gdb.threads/attach-many-short-lived-threads.c: New file.
2758 * gdb.threads/attach-many-short-lived-threads.exp: New file.
2759
c1a747c1
PA
27602014-01-09 Pedro Alves <palves@redhat.com>
2761
2762 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
2763 instead of to thread 2.
2764 * gdb.threads/signal-command-multiple-signals-pending.c (main):
2765 Add barrier around each pthread_create call instead of around all
2766 calls.
2767 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
2768 Set a break on thread_function and have the child threads hit it
2769 one at at a time.
2770
60b3033e
PA
27712015-01-09 Pedro Alves <palves@redhat.com>
2772
2773 * lib/gdb.exp (can_spawn_for_attach): New procedure.
2774 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
2775 false.
2776 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
2777 checking whether the target board is remote.
2778 * gdb.multi/multi-attach.exp: Likewise.
2779 * gdb.python/py-sync-interp.exp: Likewise.
2780 * gdb.server/ext-attach.exp: Likewise.
2781 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
2782 tests that need to attach, instead of checking whether the target
2783 board is remote at the top of the file.
2784
acc018ac
YQ
27852015-01-08 Yao Qi <yao@codesourcery.com>
2786
2787 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
2788
50a18af8
JK
27892015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2790
2791 Fix testcase compilation.
2792 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
2793
8503d6e1
JB
27942015-01-06 Joel Brobecker <brobecker@adacore.com>
2795
2796 * gdb.python/py-type.exp: Add a couple test about empty
2797 array creation, and negative-length array creation.
2798
cc73dbcc
DE
27992015-01-02 Doug Evans <xdje42@gmail.com>
2800
2801 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
2802
0300bbc7
DE
28032015-01-02 Doug Evans <dje@google.com>
2804
2805 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
2806
9d85a0ec
YQ
28072014-12-29 Yao Qi <yao@codesourcery.com>
2808
2809 * gdb.trace/entry-values.exp: Update comments. Rename variable
2810 bar_call_foo to returned_from_foo.
2811
87186c6a
MMN
28122014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
2813
2814 PR gdb/17394
2815 * gdb.linespec/break-asm-file.c: New file.
2816 * gdb.linespec/break-asm-file.exp: New file.
2817 * gdb.linespec/break-asm-file0.s: New file.
2818 * gdb.linespec/break-asm-file1.s: New file.
2819
1bab7383
YQ
28202014-12-18 Nigel Stephens <nigel@mips.com>
2821 Maciej W. Rozycki <macro@codesourcery.com>
2822
2823 * gdb.base/float.exp: Handle the new output from "info float" on
2824 MIPS targets.
2825
1bc1068a
JK
28262014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2827
2828 Fix MinGW compilation.
2829 * gdb.compile/compile-ops.exp: Update untested message if
2830 !skip_compile_feature_tests.
2831 * gdb.compile/compile-setjmp.exp: Likewise.
2832 * gdb.compile/compile-tls.exp: Likewise.
2833 * gdb.compile/compile.exp: Likewise.
2834 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
2835 supported on this host".
2836
b6615d10
DE
28372014-12-16 Doug Evans <xdje42@gmail.com>
2838
2839 * boards/stabs.exp: New file.
2840
25dda427
AA
28412014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
2842
2843 * gdb.base/completion.exp: Adjust to format changes of "maint
2844 print user-registers".
2845
bf330350
CU
28462014-12-16 Catalin Udma <catalin.udma@freescale.com>
2847
2848 PR server/17457
2849 * gdb.arch/aarch64-fp.c: New file.
2850 * gdb.arch/aarch64-fp.exp: New file.
2851
395cf596
SDJ
28522014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
2853
2854 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
2855 r210637, r210913, r211666, r215400, r215817).
2856
2857 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
2858 * dg-extract-results.py: New file.
2859 * dg-extract-results.sh: Use it if the environment seems
2860 suitable.
2861
2862 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
2863
2864 * dg-extract-results.py (parse_run): Handle warnings that
2865 are printed before a test harness is run.
2866
2867 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
2868
2869 * dg-extract-results.py (Named): Remove __cmp__ method.
2870 (output_variation): Use a key to sort variation.harnesses.
2871
2872 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
2873
2874 * dg-extract-results.py: For Python 3, force sys.stdout to
2875 handle surrogate escape sequences.
2876 (safe_open): New function.
2877 (output_segment, main): Use it.
2878
2879 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
2880
2881 * dg-extract-results.py (Prog.result_re): Include options
2882 in test name.
2883
2884 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
2885
2886 * dg-extract-results.py (output_variation): Always sort if
2887 do_sum.
2888
e882ef3c
SM
28892014-12-15 Simon Marchi <simon.marchi@ericsson.com>
2890
2891 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
2892 as long as we get pagination notifications.
2893
4992aa20
JM
28942014-12-15 Jason Merrill <jason@redhat.com>
2895
2896 * Makefile.in (check-gdb.%): Restore.
2897 * README: Mention it.
2898
c1b5a1a6
JB
28992014-12-13 Joel Brobecker <brobecker@adacore.com>
2900
2901 * gdb.ada/str_uninit: New testcase.
2902
5537b577
JK
29032014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2904
2905 PR symtab/17642
2906 * gdb.base/vla-stub-define.c: New file.
2907 * gdb.base/vla-stub.c: New file.
2908 * gdb.base/vla-stub.exp: New file.
2909
bb2ec1b3
TT
29102014-12-12 Phil Muldoon <pmuldoon@redhat.com>
2911 Jan Kratochvil <jan.kratochvil@redhat.com>
2912 Tom Tromey <tromey@redhat.com>
2913
2914 * configure.ac: Add gdb.compile/.
2915 * configure: Regenerate.
2916 * gdb.compile/Makefile.in: New file.
2917 * gdb.compile/compile-ops.exp: New file.
2918 * gdb.compile/compile-ops.c: New file.
2919 * gdb.compile/compile-tls.c: New file.
2920 * gdb.compile/compile-tls.exp: New file.
2921 * gdb.compile/compile-constvar.S: New file.
2922 * gdb.compile/compile-constvar.c: New file.
2923 * gdb.compile/compile-mod.c: New file.
2924 * gdb.compile/compile-nodebug.c: New file.
2925 * gdb.compile/compile-setjmp-mod.c: New file.
2926 * gdb.compile/compile-setjmp.c: New file.
2927 * gdb.compile/compile-setjmp.exp: New file.
2928 * gdb.compile/compile-shlib.c: New file.
2929 * gdb.compile/compile.c: New file.
2930 * gdb.compile/compile.exp: New file.
2931 * lib/gdb.exp (skip_compile_feature_tests): New proc.
2932
4ff709eb
TT
29332014-12-12 Tom Tromey <tromey@redhat.com>
2934
2935 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
2936 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
2937
6dddd6a5
DE
29382014-12-12 Doug Evans <dje@google.com>
2939
2940 * lib/gdb-python.exp (get_python_valueof): New function.
2941 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
2942
71c24708
AA
29432014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2944
2945 * gdb.base/completion.exp: Add test for completion of "info
2946 registers ".
2947
3e29f34a
MR
29482014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
2949
2950 * gdb.base/func-ptrs.c: New file.
2951 * gdb.base/func-ptrs.exp: New file.
2952
fc126975
SM
29532014-12-10 Simon Marchi <simon.marchi@ericsson.com>
2954
2955 PR breakpoints/17012
2956 * gdb.base/dprintf-detach.c: New file.
2957 * gdb.base/dprintf-detach.exp: New file.
2958
0a46d518
SM
29592014-12-10 Simon Marchi <simon.marchi@ericsson.com>
2960
2961 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
2962 * lib/gdb.exp (target_is_gdbserver): New procedure.
2963
a0be3e44
DE
29642014-12-08 Doug Evans <dje@google.com>
2965
2966 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
2967
df1b803a
YQ
29682014-12-05 Yao Qi <yao@codesourcery.com>
2969
2970 * gdb.guile/scm-error.exp: Remove the third argument to
2971 gdb_remote_download.
2972 * gdb.guile/scm-frame-args.exp: Likewise.
2973 * gdb.guile/scm-section-script.exp: Likewise.
2974
ddb9f679
YQ
29752014-12-05 Yao Qi <yao@codesourcery.com>
2976
2977 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
2978
86e4ed39
DE
29792014-12-04 Doug Evans <dje@google.com>
2980
2981 * gdb.python/py-objfile.exp: Add tests for
2982 objfile.add_separate_debug_file.
2983
7c50a931
DE
29842014-12-04 Doug Evans <dje@google.com>
2985
2986 * lib/gdb.exp (get_build_id): New function.
2987 (build_id_debug_filename_get): Rewrite to use it.
2988 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
2989
621661e3
MR
29902014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
2991
2992 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
2993 `method(long)', not just 0x0.
2994 * gdb.cp/nsalias.exp: Align code labels to 4.
2995 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
2996 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
2997 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
2998 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
2999 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
3000 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
3001
29f0c3b7
DE
30022014-12-02 Doug Evans <dje@google.com>
3003
e1e061e7 3004 PR symtab/17602
29f0c3b7 3005 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 3006 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
3007 * gdb.cp/anon-ns.exp: Update.
3008
162078c8
NB
30092014-12-02 Nick Bull <nicholaspbull@gmail.com>
3010
3011 * gdb.python/py-events.py (inferior_call_handler): New.
3012 (register_changed_handler, memory_changed_handler): New.
3013 (test_events.invoke): Register new handlers.
3014 * gdb.python/py-events.exp: Add tests for inferior call,
3015 memory_changed and register_changed events.
3016
fdb09caf
AA
30172014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3018
3019 * gdb.base/execl-update-breakpoints.exp: Specify the link address
3020 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
3021 if the linker doesn't understand this.
3022
55cfb2c4
SM
30232014-12-01 Simon Marchi <simon.marchi@ericsson.com>
3024
3025 * gdb.python/python.exp: Change expected reply to help().
3026
9e8cd6df
YQ
30272014-12-01 Yao Qi <yao@codesourcery.com>
3028
3029 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
3030 AC_CONFIG_SUBDIRS(gdb.gdbtk).
3031 * configure: Re-generated.
3032
6c659fc2
SC
30332014-11-28 Siva Chandra Reddy <sivachandra@google.com>
3034
3035 * gdb.cp/chained-calls.cc: New file.
3036 * gdb.cp/chained-calls.exp: New file.
3037 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
3038
d7fc3181
SM
30392014-11-28 Simon Marchi <simon.marchi@ericsson.com>
3040
3041 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
3042 * gdb.dwarf2/symtab-producer.exp: Same.
3043 * gdb.gdb/python-interrupts.exp: Same.
3044 * gdb.gdb/python-selftest.exp: Same.
3045 * gdb.python/py-linetable.exp: Same.
3046 * gdb.python/py-type.exp: Same.
3047 * gdb.python/py-value-cc.exp: Same.
3048 * gdb.python/py-value.exp: Same.
3049
10e79639
YQ
30502014-11-28 Yao Qi <yao@codesourcery.com>
3051
3052 * gdb.base/break-probes.exp: Match library name prefixed with
3053 sysroot.
3054
f28a0564
SM
30552014-11-27 Simon Marchi <simon.marchi@ericsson.com>
3056
3057 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
3058 test expected output. Add parentheses for the call to print.
3059 Remove L suffix from integers.
3060
3fe1ce1d
DE
30612014-11-26 Doug Evans <dje@google.com>
3062
3063 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
3064
84429e27
YQ
30652014-11-22 Yao Qi <yao@codesourcery.com>
3066
3067 * gdb.trace/entry-values.c: Remove asms.
3068 (foo): Add foo_label.
3069 (bar): Add bar_label.
3070 * gdb.trace/entry-values.exp: Remove code computing foo's
3071 length and bar's length.
3072 (Dwarf::assemble): Invoke function_range for bar and use
3073 MACRO_AT_func for foo.
3074
26741859
YQ
30752014-11-22 Yao Qi <yao@codesourcery.com>
3076
3077 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
3078 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
3079 Use .Lgcc43_procstart instead of gcc43.
3080
45e44d27
JB
30812014-11-21 Joel Brobecker <brobecker@adacore.com>
3082
3083 * gdb.ada/n_arr_bound: New testcase.
3084
458c8db8
SDJ
30852014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
3086
3087 PR breakpoints/10737
3088 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
3089 test_catch_syscall_multi_arch.
3090 (test_catch_syscall_multi_arch): New function.
3091
43f3e411
DE
30922014-11-20 Doug Evans <xdje42@gmail.com>
3093
3094 * gdb.base/maint.exp: Update expected output.
3095
0d7b2549
AA
30962014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3097
3098 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
3099 4-byte instruction on S390.
3100
8908fca5
JB
31012014-11-19 Joel Brobecker <brobecker@adacore.com>
3102
3103 * gdb.ada/arr_arr: New testcase.
3104
4a46959e
JB
31052014-11-19 Joel Brobecker <brobecker@adacore.com>
3106
3107 * gdb.ada/pkd_arr_elem: New Testcase.
3108
470e2f4e
LM
31092014-11-18 Luis Machado <lgustavo@codesourcery.com>
3110
3111 * gdb.reverse/break-precsave: Expect completion message for
3112 core file reads.
3113 * gdb.reverse/consecutive-precsave.exp: Likewise.
3114 * gdb.reverse/finish-precsave.exp: Likewise.
3115 * gdb.reverse/i386-precsave.exp: Likewise.
3116 * gdb.reverse/machinestate-precsave.exp: Likewise.
3117 * gdb.reverse/sigall-precsave.exp: Likewise.
3118 * gdb.reverse/solib-precsave.exp: Likewise.
3119 * gdb.reverse/step-precsave.exp: Likewise.
3120 * gdb.reverse/until-precsave.exp: Likewise.
3121 * gdb.reverse/watch-precsave.exp: Likewise.
3122
a267f3ad
AA
31232014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3124
3125 * gdb.base/bp-permanent.c: Include unistd.h.
3126 * gdb.python/py-framefilter-mi.c (main): Add return type.
3127 * gdb.python/py-framefilter.c (main): Likewise.
3128 * gdb.trace/actions-changed.c (main): Likewise.
3129
12084a9a
AA
31302014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3131
3132 * gdb.mi/until.c: Add eye-catchers.
3133 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
3134 line numbers.
3135
dc7e1a77
AA
31362014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3137
3138 * gdb.base/condbreak.exp: Drop references to removed non-prototype
3139 function header variants in break1.c.
3140 * gdb.base/ena-dis-br.exp: Likewise.
3141 * gdb.base/hbreak2.exp: Likewise.
3142 * gdb.reverse/until-precsave.exp: Drop references to removed
3143 non-prototype function header variants in ur1.c.
3144 * gdb.reverse/until-reverse.exp: Likewise.
3145
41c77605
PM
31462014-11-17 Petr Machata <pmachata@redhat.com>
3147
3148 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
3149 ${_cu_offset_size} bytes abbrev offset.
3150
34248c3a
DE
31512014-11-15 Doug Evans <xdje42@gmail.com>
3152
3153 PR symtab/17559
3154 * gdb.base/line-symtabs.exp: New file.
3155 * gdb.base/line-symtabs.c: New file.
3156 * gdb.base/line-symtabs.h: New file.
3157
646da059
YQ
31582014-11-14 Yao Qi <yao@codesourcery.com>
3159
3160 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
3161 (func): Add label func_label.
3162 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
3163 Replace low_pc and high_pc with MACRO_AT_range.
3164 Replace name, low_pc and high_pc with MACRO_AT_func.
3165
9301ebe6
YQ
31662014-11-14 Yao Qi <yao@codesourcery.com>
3167
3168 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
3169 Replace name, low_pc and high_pc with MACRO_AT_func.
3170
f166b542
YQ
31712014-11-14 Yao Qi <yao@codesourcery.com>
3172
3173 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
3174 produce debug information.
3175 * gdb.dwarf2/implptr-optimized-out.S: Removed.
3176
0f6e71e3
YQ
31772014-11-14 Yao Qi <yao@codesourcery.com>
3178
3179 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
3180 object and get function length.
3181 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
3182 with MACRO_AT_func.
3183 (top-level): Replace gdb_compile and clean_restart with
3184 prepare_for_testing.
3185 * gdb.dwarf2/main.c (main): Add label main_label.
3186
876c4df9
YQ
31872014-11-14 Yao Qi <yao@codesourcery.com>
3188
3189 * lib/dwarf.exp (function_range): New procedure.
3190 (Dwarf::_handle_macro_at_func): New procedure.
3191 (Dwarf::_handle_macro_at_range): New procedure.
3192 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
3193
02ad9cf1
YQ
31942014-11-14 Yao Qi <yao@codesourcery.com>
3195
3196 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
3197 (_handle_attribute): New procedure.
3198
a59add0c
AA
31992014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3200
3201 * gdb.ada/cond_lang/foo.c (callme): Add return type.
3202 * gdb.base/call-sc.c (zed): Likewise.
3203 * gdb.base/checkpoint.c (main): Likewise.
3204 * gdb.base/dump.c (main): Likewise.
3205 * gdb.base/gcore.c (main): Likewise.
3206 * gdb.base/huge.c (main): Likewise.
3207 * gdb.base/multi-forks.c (main): Likewise.
3208 * gdb.base/pr10179-a.c (main): Likewise.
3209 * gdb.base/savedregs.c (main): Likewise.
3210 * gdb.base/sigaltstack.c (main): Likewise.
3211 * gdb.base/siginfo.c (main): Likewise.
3212 * gdb.base/structs.c (zed): Likewise.
3213 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
3214 * gdb.mi/mi-syn-frame.c (main): Likewise.
3215 * gdb.mi/until.c (foo, main): Likewise.
3216 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
3217 * gdb.base/solib-weak.c (foo): Declare.
3218 * gdb.base/attach-twice.c: Include stdio.h.
3219 * gdb.base/weaklib1.c: Likewise.
3220 * gdb.base/weaklib2.c: Likewise.
3221 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
3222 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
3223 unistd.h.
3224 * gdb.base/attach-pie-misread.c: Include stdlib.h.
3225 * gdb.mi/mi-exit-code.c: Likewise.
3226 * gdb.base/break-interp-lib.c: Include string.h.
3227 * gdb.base/coremaker.c: Likewise.
3228 * gdb.base/testenv.c: Likewise.
3229 * gdb.python/py-finish-breakpoint.c: Likewise.
3230 * gdb.base/inferior-died.c: Include sys/wait.h.
3231 * gdb.base/fileio.c: Include time.h.
3232 * gdb.base/async-shell.c: Include unistd.h.
3233 * gdb.base/dprintf-non-stop.c: Likewise.
3234 * gdb.base/info-os.c: Likewise.
3235 * gdb.mi/mi-console.c: Likewise.
3236 * gdb.mi/watch-nonstop.c: Likewise.
3237 * gdb.python/py-events.c: Likewise.
3238 * gdb.base/async.c (baz): Move up before its invocation.
3239 * gdb.base/code_elim2.c (my_global_func): Likewise.
3240 * gdb.base/skip-solib-lib.c (multiply): Likewise.
3241 * gdb.base/advance.c (func2): Likewise.
3242
3b5d5997
AA
32432014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3244
3245 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
3246 variant.
3247 * gdb.base/annota3.c: Likewise.
3248 * gdb.base/async.c: Likewise.
3249 * gdb.base/average.c: Likewise.
3250 * gdb.base/call-ar-st.c: Likewise.
3251 * gdb.base/call-rt-st.c: Likewise.
3252 * gdb.base/call-sc.c: Likewise.
3253 * gdb.base/call-strs.c: Likewise.
3254 * gdb.base/ending-run.c: Likewise.
3255 * gdb.base/execd-prog.c: Likewise.
3256 * gdb.base/exprs.c: Likewise.
3257 * gdb.base/foll-exec.c: Likewise.
3258 * gdb.base/foll-fork.c: Likewise.
3259 * gdb.base/foll-vfork.c: Likewise.
3260 * gdb.base/funcargs.c: Likewise.
3261 * gdb.base/gcore.c: Likewise.
3262 * gdb.base/jump.c: Likewise.
3263 * gdb.base/langs0.c: Likewise.
3264 * gdb.base/langs1.c: Likewise.
3265 * gdb.base/langs2.c: Likewise.
3266 * gdb.base/mips_pro.c: Likewise.
3267 * gdb.base/nodebug.c: Likewise.
3268 * gdb.base/opaque0.c: Likewise.
3269 * gdb.base/opaque1.c: Likewise.
3270 * gdb.base/recurse.c: Likewise.
3271 * gdb.base/run.c: Likewise.
3272 * gdb.base/scope0.c: Likewise.
3273 * gdb.base/scope1.c: Likewise.
3274 * gdb.base/setshow.c: Likewise.
3275 * gdb.base/setvar.c: Likewise.
3276 * gdb.base/shmain.c: Likewise.
3277 * gdb.base/shr1.c: Likewise.
3278 * gdb.base/shr2.c: Likewise.
3279 * gdb.base/sigall.c: Likewise.
3280 * gdb.base/signals.c: Likewise.
3281 * gdb.base/so-indr-cl.c: Likewise.
3282 * gdb.base/solib2.c: Likewise.
3283 * gdb.base/structs.c: Likewise.
3284 * gdb.base/sum.c: Likewise.
3285 * gdb.base/vforked-prog.c: Likewise.
3286 * gdb.base/watchpoint.c: Likewise.
3287 * gdb.reverse/shr2.c: Likewise.
3288 * gdb.reverse/until-reverse.c: Likewise.
3289 * gdb.reverse/ur1.c: Likewise.
3290 * gdb.reverse/watch-reverse.c: Likewise.
3291
066a77c5
AA
32922014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3293
3294 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
3295 variant.
3296 * gdb.base/sepdebug.exp: Drop references to removed code.
3297
4f204ea5
AA
32982014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3299
3300 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
3301 variant. Preserve original line numbering.
3302 * gdb.base/list1.c: Likewise.
3303
3b377a3a
AA
33042014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3305
3306 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
3307 variant.
3308 * gdb.base/break1.c: Likewise.
3309 * gdb.base/break.exp: Drop references to removed code.
3310
e444df73
AA
33112014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3312
3313 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
3314 variant.
3315
8008f2a7
AA
33162014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3317
3318 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
3319
a5a06887
AA
33202014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3321
3322 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
3323 logic into perform_all_tests() and invoke it with and without
3324 function header prototypes.
3325 (do_function_calls): Remove conditional XFAIL for PR 5318.
3326 (rerun_and_prepare): Remove duplicate code.
3327 (perform_all_tests): New. Main logic moved here.
3328
44dba9b9
AA
33292014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3330
3331 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
3332 code guarded by #ifdef NO_PROTOTYPES.
3333 (t_double_many_args): Likewise.
3334 (DEF_FUNC_MANY_ARGS_1): Likewise.
3335 (DEF_FUNC_VALUES_1): Likewise.
3336 (t_structs_ldc): Renamed from t_structs_fc in conditional code
3337 guarded by #ifdef PROTOTYPES.
3338
d1fbcd56
AA
33392014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3340
3341 * gdb.mi/mi-console.c: Add eye-catcher.
3342 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
3343 instead of literal line number.
3344
b0e59b8f
AA
33452014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3346
3347 * gdb.base/shr2.c: Add eye-catcher.
3348 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
3349 line number.
3350
78f98cca
AA
33512014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3352
3353 * gdb.base/jump.c: Add eye-catchers.
3354 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
3355 numbers.
3356
58fa2af0
AA
33572014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3358
3359 * gdb.base/execd-prog.c: Add eye-catchers.
3360 * gdb.base/foll-exec.c: Likewise.
3361 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
3362 line numbers.
3363
04e5059b
AA
33642014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3365
3366 * gdb.base/ending-run.c: Add eye-catchers.
3367 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
3368 literal line numbers.
3369
dbfdb174
AA
33702014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3371
3372 * gdb.base/call-rt-st.c: Add eye-catchers.
3373 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
3374 literal line numbers.
3375
888a2ade
AA
33762014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3377
3378 * gdb.base/call-ar-st.c: Add eye-catchers.
3379 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
3380 literal line numbers.
3381
6acc2dde
AA
33822014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3383
3384 * gdb.base/average.c: Add eye-catchers.
3385 * gdb.base/sum.c: Likewise.
3386 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
3387 regexps dynamically.
3388
9ecfcd1d
AA
33892014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3390
3391 * gdb.base/solib1.c: Add eye-catchers.
3392 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
3393 literal line numbers.
3394
78708b7c
PA
33952014-11-12 Pedro Alves <palves@redhat.com>
3396
3397 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
3398 leader has exited.
3399
af48d08f
PA
34002014-11-12 Pedro Alves <palves@redhat.com>
3401
3402 * gdb.arch/i386-bp_permanent.c: New file.
3403 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
3404 (srcfile): Set to i386-bp_permanent.c.
3405 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
3406 that stepi does not execute the 'leave' instruction, instead of
3407 testing it does execute.
3408 * gdb.base/bp-permanent.c: New file.
3409 * gdb.base/bp-permanent.exp: New file.
3410
af3768e9
DE
34112014-11-10 Doug Evans <xdje42@gmail.com>
3412
3413 PR symtab/17564
3414 * gdb.base/symtab-search-order.exp: New file.
3415 * gdb.base/symtab-search-order.c: New file.
3416 * gdb.base/symtab-search-order-1.c: New file.
3417 * gdb.base/symtab-search-order-shlib-1.c: New file.
3418
9de00a4a
PA
34192014-11-07 Pedro Alves <palves@redhat.com>
3420
3421 PR gdb/17511
3422 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
3423 i?86-*-linux*.
3424
e0f52461
SC
34252014-11-03 Siva Chandra Reddy <sivachandra@google.com>
3426
3427 PR c++/17494
3428 * gdb.cp/pr17494.cc: New file.
3429 * gdb.cp/pr17494.exp: New file.
3430
6ce8c980
YQ
34312014-11-02 Yao Qi <yao@codesourcery.com>
3432
3433 * gdb.python/python.exp: Get working directory and match the
3434 output of "set extended-prompt \\w " with it.
3435
02be9a71
DE
34362014-10-30 Doug Evans <dje@google.com>
3437
3438 * gdb.python/py-objfile.exp: Add tests for setting random attributes
3439 in objfiles.
3440 * gdb.python/py-progspace.exp: Add tests for setting random attributes
3441 in progspaces.
3442
3bdff46b
LM
34432014-10-30 Janis Johnson <janisjo@codesourcery.com>
3444
3445 * gdb.base/fullpath-expand.exp: Skip for a remote host.
3446 * gdb.base/realname-expand.exp: Likewise.
3447 * gdb.linespec/macro-relative.exp: Likewise.
3448
ab917dfb
PA
34492014-10-29 Pedro Alves <palves@redhat.com>
3450
3451 PR gdb/17408
3452 * gdb.threads/schedlock.c (some_function): New function.
3453 (call_function): New global.
3454 (MAYBE_CALL_SOME_FUNCTION): New macro.
3455 (thread_function): Call it.
3456 * gdb.threads/schedlock.exp (get_args): Add description parameter,
3457 and use it instead of a global counter. Adjust all callers.
3458 (get_current_thread): Use "find current thread" for test message
3459 here rather than having all callers pass down the same string.
3460 (goto_loop): New procedure, factored out from ...
3461 (my_continue): ... this.
3462 (step_ten_loops): Change parameter from test message to command to
3463 use. Adjust.
3464 (list_count): Delete global.
3465 (check_result): New procedure, factored out from duplicate top
3466 level code.
3467 (continue tests): Wrap in with_test_prefix.
3468 (test_step): New procedure, factored out from duplicate top level
3469 code.
3470 (top level): Test "step" in combination with all scheduler-locking
3471 modes. Test "next" in combination with all scheduler-locking
3472 modes, and in combination with stepping over a function call or
3473 not.
3474 * gdb.threads/next-bp-other-thread.c: New file.
3475 * gdb.threads/next-bp-other-thread.exp: New file.
3476
d3d4baed
PA
34772014-10-29 Pedro Alves <palves@redhat.com>
3478
3479 PR python/17372
3480 * gdb.python/python.exp: Test a multi-line command that spawns
3481 interactive Python.
3482 * gdb.base/multi-line-starts-subshell.exp: New file.
3483
563e8d85
YQ
34842014-10-29 Yao Qi <yao@codesourcery.com>
3485
3486 * gdb.base/fileio.exp: Make directories on host.
3487
0ea4d52e
YQ
34882014-10-29 Yao Qi <yao@codesourcery.com>
3489
3490 * gdb.base/fileio.c (test_write): Close the file.
3491
7f5ef605
PA
34922014-10-28 Pedro Alves <palves@redhat.com>
3493
3494 PR gdb/12623
3495 * gdb.base/sigstep.c (no_handler): New global.
3496 (main): If 'no_handler is true, set the signal handlers to
3497 SIG_IGN.
3498 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
3499 with_sw_watch and no_handler parameters. Handle them.
3500 (top level) <stepping over handler when stopped at a breakpoint
3501 test>: Add a test axis for testing with a software watchpoint, and
3502 another for testing with the signal handler set to SIG_IGN.
3503 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
3504 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
3505
abbdbd03
PA
35062014-10-28 Pedro Alves <palves@redhat.com>
3507
3508 PR gdb/17511
3509 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
3510 * gdb.base/sigstep.exp (other_handler_location): New global.
3511 (advance): Support stepping into the signal handler, and running
3512 commands while in the handler.
3513 (in_handler_map): New global.
3514 (top level): In the advance test, add combinations for getting
3515 into the handler with stepping commands, and for running commands
3516 in the handler. Add comment descripting the advancei tests.
3517
1df4399f
PA
35182014-10-28 Pedro Alves <palves@redhat.com>
3519
3520 * gdb.base/sigstep.exp: Use build_executable instead of
3521 prepare_for_testing.
3522 (top level): Move code that starts GDB, runs to main and creates a
3523 display to ...
3524 (restart): ... this new procedure.
3525 (top level): Move backtrace from signal handler test to ...
3526 (validate_backtrace): ... this new procedure.
3527 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
3528 with_test_prefix. Always restart GDB.
3529 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
3530 with_test_prefix. Always restart GDB. No need to delete
3531 breakpoints after the test.
3532 (test_skip_handler): Remove prefix parameter.
3533 (skip_over_handler, breakpoint_to_handler)
3534 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
3535 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
3536 restart GDB. No need to delete breakpoints after the test.
3537 (top level): Use foreach to call the test procedures with
3538 different commands.
3539
a5b6e449
PA
35402014-10-28 Pedro Alves <palves@redhat.com>
3541
3542 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
3543 instead of GNATS numbers.
3544 * gdb.base/sigbpt.exp: Likewise.
3545 * gdb.base/siginfo.exp: Likewise.
3546 * gdb.base/sigstep.exp: Likewise.
3547
e5f8a7cc
PA
35482014-10-27 Pedro Alves <palves@redhat.com>
3549
3550 * gdb.base/sigstep.c (dummy): New global.
3551 (main): Issue a couple writes to the new global.
3552 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
3553 procedures.
3554 (skip_over_handler): Use test_skip_handler.
3555 (top level): Call skip_over_handler for stepi and nexti too.
3556 (breakpoint_over_handler): Use test_skip_handler.
3557 (top level): Call breakpoint_over_handler for stepi and nexti too.
3558
763905a3
YQ
35592014-10-27 Yao Qi <yao@codesourcery.com>
3560
3561 * gdb.trace/tfile.c (adjust_function_address)
3562 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
3563 function descriptor.
3564
6f259a23
DB
35652014-10-24 Don Breazeal <donb@codesourcery.com>
3566
3567 * gdb.base/foll-fork.exp (test_follow_fork,
3568 catch_fork_child_follow): Check for updated fork messages emitted
3569 from infrun.c.
3570 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
3571 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
3572 vfork_and_exec_child_follow_through_step): Check for updated vfork
3573 messages emitted from infrun.c.
3574
09dd9a69
PA
35752014-10-24 Pedro Alves <palves@redhat.com>
3576
3577 * gdb.base/corefile.exp: Remove references to ultrix.
3578 * gdb.base/interrupt.exp: Likewise.
3579 * gdb.base/whatis.exp: Likewise.
3580 * gdb.gdb/selftest.exp: Likewise.
3581 * gdb.threads/manythreads.exp: Likewise.
3582 * gdb.threads/print-threads.exp: Likewise.
3583 * gdb.threads/pthreads.exp:: Likewise.
3584 * gdb.threads/schedlock.exp: Likewise.
3585
3433cfa5
SC
35862014-10-24 Siva Chandra Reddy <sivachandra@google.com>
3587
3588 * gdb.cp/non-trivial-retval.cc: Add a test case.
3589 * gdb.cp/non-trivial-retval.exp: Add a test.
3590
092f880b
YQ
35912014-10-20 Yao Qi <yao@codesourcery.com>
3592
3593 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
3594 * gdb.python/py-objfile-script-gdb.py: New file.
3595 * gdb.python/py-objfile-script.exp: Update reference to
3596 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
3597 of remote_download. Remove the dest file.
3598
acbdb7f3
YQ
35992014-10-20 Yao Qi <yao@codesourcery.com>
3600
3601 * gdb.base/checkpoint.exp: Don't remove file copied on host.
3602 * gdb.base/step-line.exp: Likewise.
3603 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3604 * gdb.dwarf2/dw2-basic.exp: Likewise.
3605 * gdb.dwarf2/dw2-compressed.exp: Likewise.
3606 * gdb.dwarf2/dw2-filename.exp: Likewise.
3607 * gdb.dwarf2/dw2-intercu.exp: Likewise.
3608 * gdb.dwarf2/dw2-intermix.exp: Likewise.
3609 * gdb.dwarf2/dw2-producer.exp: Likewise.
3610 * gdb.dwarf2/mac-fileno.exp: Likewise.
3611 * gdb.python/py-frame-args.exp: Likewise.
3612 * gdb.python/py-framefilter.exp: Likewise.
3613 * gdb.python/py-mi.exp: Likewise.
3614 * gdb.python/py-objfile-script.exp: Likewise
3615 * gdb.python/py-pp-integral.exp: Likewise.
3616 * gdb.python/py-pp-re-notag.exp: Likewise.
3617 * gdb.python/py-prettyprint.exp: Likewise.
3618 * gdb.python/py-section-script.exp: Likewise.
3619 * gdb.python/py-typeprint.exp: Likewise.
3620 * gdb.python/py-xmethods.exp: Likewise.
3621 * gdb.stabs/weird.exp: Likewise.
3622 * gdb.xml/tdesc-regs.exp: Likewise.
3623
bd286a29
KCY
36242014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
3625
3626 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
3627 (out_cu): Use addr_len for the size of addresses.
3628 (out_line): Likewise. Size DW_LNE_set_address instruction
3629 according to addr_len.
3630 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
3631 (FUNC): Add START_INSNS to definition.
3632
673dc4a0
YQ
36332014-10-18 Yao Qi <yao@codesourcery.com>
3634
3635 * gdb.base/argv0-symlink.exp: Check argv[0] value if
3636 gdb_has_argv0 return true.
3637 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
3638 check [target_info exists noargs], check [gdb_has_argv0]
3639 instead.
3640 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
3641 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
3642 procedures.
3643
4ffbba72
DE
36442014-10-17 Doug Evans <dje@google.com>
3645
3646 * gdb.python/py-events.exp: Update expected output for clear_objfiles
3647 event.
3648 * gdb.python/py-events.py: Add clear_objfiles event.
3649
d096d8c1
DE
36502014-10-17 Doug Evans <dje@google.com>
3651
3652 * gdb.python/py-objfile.exp: Test progspace attribute.
3653
a80db015
LM
36542014-10-17 Luis Machado <lgustavo@codesourcery.com>
3655
3656 * gdb.guile/scm-breakpoint.exp: Do not assume any
3657 directory separators when matching source file paths.
3658 * gdb.python/py-breakpoint.exp: Likewise.
3659 * gdb.reverse/break-precsave.exp: Likewise.
3660 * gdb.reverse/break-reverse.exp: Likewise.
3661 * gdb.reverse/consecutive-precsave.exp: Likewise.
3662 * gdb.reverse/finish-precsave.exp: Likewise.
3663 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
3664 * gdb.reverse/finish-reverse.exp: Likewise.
3665 * gdb.reverse/i386-precsave.exp: Likewise.
3666 * gdb.reverse/i387-env-reverse.exp: Likewise.
3667 * gdb.reverse/i387-stack-reverse.exp: Likewise.
3668 * gdb.reverse/machinestate-precsave.exp: Likewise.
3669 * gdb.reverse/machinestate.exp: Likewise.
3670 * gdb.reverse/sigall-precsave.exp: Likewise.
3671 * gdb.reverse/solib-precsave.exp: Likewise.
3672 * gdb.reverse/step-precsave.exp: Likewise.
3673 * gdb.reverse/until-precsave.exp: Likewise.
3674 * gdb.reverse/watch-precsave.exp: Likewise.
3675 * gdb.reverse/watch-reverse.exp: Likewise.
3676
b22089ab
YQ
36772014-10-17 Yao Qi <yao@codesourcery.com>
3678
3679 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
3680 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
3681
6c4486e6
PA
36822014-10-17 Pedro Alves <palves@redhat.com>
3683
3684 PR gdb/17471
3685 * gdb.base/bg-execution-repeat.c: New file.
3686 * gdb.base/bg-execution-repeat.exp: New file.
3687
0ff33695
PA
36882014-10-17 Pedro Alves <palves@redhat.com>
3689
3690 PR gdb/17300
3691 * gdb.base/continue-all-already-running.c: New file.
3692 * gdb.base/continue-all-already-running.exp: New file.
3693
6fdebc3d
PA
36942014-10-17 Pedro Alves <palves@redhat.com>
3695
3696 PR gdb/17472
3697 * gdb.base/annota-input-while-running.c: New file.
3698 * gdb.base/annota-input-while-running.exp: New file.
3699
32a8097b
PA
37002014-10-17 Pedro Alves <palves@redhat.com>
3701
3702 * gdb.base/callfuncs.exp: emove references to osf.
3703 * gdb.base/sigall.exp: Likewise.
3704 * gdb.gdb/selftest.exp: Likewise.
3705 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
3706 * gdb.mi/non-stop.c: Likewise.
3707 * gdb.mi/pthreads.c: Likewise.
3708 * gdb.reverse/sigall-precsave.exp: Likewise.
3709 * gdb.reverse/sigall-reverse.exp: Likewise.
3710 * gdb.threads/pthreads.c: Likewise.
3711 * gdb.threads/pthreads.exp: Likewise.
3712
7a3517ff
YQ
37132014-10-17 Yao Qi <yao@codesourcery.com>
3714
3715 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
3716 check 'target_info exists noargs'.
3717 (test_command_prompt_position): Likewise.
3718 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
3719 Remove "set args".
3720 (progvar_simple_while_test): Likewise.
3721 (progvar_complex_if_while_test): Likewise.
3722 (if_while_breakpoint_command_test): Likewise.
3723 (infrun_breakpoint_command_test): Likewise.
3724 (breakpoint_command_test): Likewise.
3725 (watchpoint_command_test): Likewise.
3726 (bp_deleted_in_command_test): Likewise.
3727 (temporary_breakpoint_commands): Likewise.
3728
bb99c472
YQ
37292014-10-16 Yao Qi <yao@codesourcery.com>
3730
3731 * gdb.base/remotetimeout.exp: Remove noargs checking.
3732
7c16b83e
PA
37332014-10-15 Pedro Alves <palves@redhat.com>
3734
3735 PR breakpoints/9649
3736 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
3737 * gdb.base/breakpoint-in-ro-region.exp
3738 (probe_target_hardware_step): New procedure.
3739 (top level): Probe hardware stepping and hardware breakpoint
3740 support. Test stepping through a read-only region, with both
3741 "breakpoint auto-hw" on and off and both "always-inserted" on and
3742 off.
3743
35a49624
IB
37442014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
3745
3746 * gdb.dlang/demangle.exp: Update for demangling changes.
3747
2d1c107c
SC
37482014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3749
3750 * gdb.cp/non-trivial-retval.cc: Add new test cases.
3751 * gdb.cp/non-trivial-retval.exp: Add new tests.
3752
778811d5
SC
37532014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3754
3755 PR c++/13403
3756 PR c++/15154
3757 * gdb.cp/non-trivial-retval.cc: New file.
3758 * gdb.cp/non-trivial-retval.exp: New file.
3759
10c5f0a8
YQ
37602014-10-15 Yao Qi <yao@codesourcery.com>
3761
3762 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
3763 remote host.
3764
65d7b369
YQ
37652014-10-15 Yao Qi <yao@codesourcery.com>
3766
3767 * gdb.python/py-symbol.exp: Match file base name if host is
3768 remote, otherwise match file name with dir name.
3769 * gdb.python/py-symtab.exp: Likewise.
3770 * gdb.python/python.exp: Likewise.
3771
46dc1394
YQ
37722014-10-15 Yao Qi <yao@codesourcery.com>
3773
3774 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
3775 pattern.
3776 * gdb.python/py-symtab.exp: Likewise.
3777 * gdb.python/python.exp: Remove trailing ".*". Fix typo
3778 locationn.
3779
c40cc657
JB
37802014-10-14 Joel Brobecker <brobecker@adacore.com>
3781
3782 * gdb.ada/addr_arith: New testcase.
3783
2abf49e1
MR
37842014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
3785
3786 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
3787 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
3788 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
3789 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
3790
f7088df3
SDJ
37912014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
3792
3793 * gdb.arch/stap-eval-lang-ada.S: Likewise.
3794 * gdb.arch/stap-eval-lang-ada.c: Likewise.
3795 * gdb.arch/stap-eval-lang-ada.exp: New file.
3796
4dc06805
YQ
37972014-10-14 Yao Qi <yao@codesourcery.com>
3798
3799 * gdb.mi/mi-var-child.c (nothing1): New function.
3800 (nothing2): New function.
3801 (do_children_tests): Set function pointers by nothing1 and
3802 nothing2.
3803 * gdb.mi/mi-var-child.exp: Step over new added statements.
3804 Update test to match the new output.
3805 * gdb.mi/var-cmd.c (nothing1): New function.
3806 (nothing2): New function.
3807 (do_children_tests): Set function pointers by nothing1 and
3808 nothing2.
3809 * gdb.mi/mi-var-display.exp: Update test to match output.
3810 Step to the line specified by $line_dct_nothing.
3811 Increase the number of lines to step.
3812
46a93de2
YQ
38132014-10-14 Yao Qi <yao@codesourcery.com>
3814
3815 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
3816 tests.
3817 * gdb.mi/mi2-var-child.exp: Likewise.
3818
14ea52ee
DE
38192014-10-13 Doug Evans <dje@google.com>
3820
3821 * gdb.python/py-objfile.exp: Change name of file name test.
3822
e5c6e92b
DE
38232014-10-13 Doug Evans <dje@google.com>
3824
3825 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
3826 from the start of the CU.
3827
c780cc2f
JK
38282014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3829 Yao Qi <yao@codesourcery.com>
3830
3831 Fix "save breakpoints" for "catch" command.
3832 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
3833 Remove -nonewline. Match also the added "main" line.
3834
99894e11
JK
38352014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3836
3837 Fix "save breakpoints" for "disable $bpnum" command.
3838 * gdb.base/save-bp.c (main): Add label.
3839 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
3840
6e1ac5a3
JK
38412014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3842
3843 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
3844
754dd2b0
YQ
38452014-10-11 Yao Qi <yao@codesourcery.com>
3846
3847 * gdb.server/server-kill.exp: Execute command
3848 "set remote trace-status-packet on" before "tstatus".
3849
f90183d7
YQ
38502014-10-11 Yao Qi <yao@codesourcery.com>
3851
3852 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
3853 (main): Call getppid.
3854 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
3855 and continue to it. Read variable "server_pid".
3856
bf40a607
YQ
38572014-10-11 Yao Qi <yao@codesourcery.com>
3858
3859 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
3860
052ca370
YQ
38612014-10-11 Yao Qi <yao@codesourcery.com>
3862
3863 * gdb.threads/thread-find.exp: Don't execute command
3864 "info threads".
3865 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
3866 * gdb.threads/linux-dp.exp: Don't check the condition
3867 $threads_created equals to zero.
3868
3831839c
PA
38692014-10-10 Pedro Alves <palves@redhat.com>
3870
3871 * gdb.base/bigcore.exp: Remove references to IRIX.
3872 * gdb.base/funcargs.exp: Likewise.
3873 * gdb.base/interrupt.exp: Likewise.
3874 * gdb.base/mips_pro.exp: Likewise.
3875 * gdb.base/nodebug.exp: Likewise.
3876 * gdb.base/setvar.exp: Likewise.
3877 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
3878
8b9a549d
PA
38792014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3880 Pedro Alves <palves@redhat.com>
3881
3882 PR symtab/14466
3883 * gdb.base/vdso-warning.c: New file.
3884 * gdb.base/vdso-warning.exp: New file.
3885
d48ba5e8
DE
38862014-10-02 Doug Evans <dje@google.com>
3887
3888 * gdb.base/structs.c (main): Don't run forever.
3889
2278c276
PA
38902014-10-02 Pedro Alves <palves@redhat.com>
3891
3892 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
3893 (top level) <stop threads 1, stop threads 2>: Use it.
3894
b57bacec
PA
38952014-10-02 Pedro Alves <palves@redhat.com>
3896
3897 * gdb.threads/break-while-running.exp (test): Add new
3898 'update_thread_list' argument. Skip "info threads" if false.
3899 (top level): Add new 'update_thread_list' axis.
3900
13fd3ff3
PA
39012014-10-02 Pedro Alves <palves@redhat.com>
3902
3903 PR breakpoints/17431
3904 * gdb.base/execl-update-breakpoints.c: New file.
3905 * gdb.base/execl-update-breakpoints.exp: New file.
3906
0fec99e8
PA
39072014-10-01 Pedro Alves <palves@redhat.com>
3908
3909 * gdb.base/breakpoint-in-ro-region.c: New file.
3910 * gdb.base/breakpoint-in-ro-region.exp: New file.
3911
2ddf4301
SM
39122014-10-01 Simon Marchi <simon.marchi@ericsson.com>
3913
3914 * gdb.mi/mi-exit-code.exp: New file.
3915 * gdb.mi/mi-exit-code.c: New file.
3916
6a5f3f43
YQ
39172014-09-30 Yao Qi <yao@codesourcery.com>
3918
3919 * lib/prelink-support.exp (build_executable_own_libs): Error if
3920 the target isn't native.
3921
345bcc73
YQ
39222014-09-30 Yao Qi <yao@codesourcery.com>
3923
3924 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
3925 false.
3926
a25a5a45
PA
39272014-09-22 Pedro Alves <palves@redhat.com>
3928
3929 * gdb.threads/break-while-running.exp: New file.
3930 * gdb.threads/break-while-running.c: New file.
3931
00ba3162
YQ
39322014-09-19 Yao Qi <yao@codesourcery.com>
3933
3934 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
3935 Invoke test. Restart GDB with --readnow and invoke test again.
3936
c3b7b696
YQ
39372014-09-19 Yao Qi <yao@codesourcery.com>
3938
3939 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
3940 proc set_breakpoint_on_gcd_function. Invoke
3941 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
3942 invoke set_breakpoint_on_gcd_function again.
3943
2b4fd423
DE
39442014-09-18 Doug Evans <dje@google.com>
3945
3946 * gdb.dwarf2/symtab-producer.exp: New file.
3947
a5947601
SDJ
39482014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
3949
3950 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
3951 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
3952 * gdb.base/global-var-nested-by-dso.c: Likewise.
3953 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3954
91c19059
SDJ
39552014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
3956 Pedro Alves <palves@redhat.com>
3957
3958 * gdb.base/watch-bitfields.exp: Pass string other than test file
3959 name to prepare_for_testing.
3960 (watch): New procedure.
3961 (expect_watchpoint): Use with_test_prefix.
3962 (top level): Factor out tests to ...
3963 (test_watch_location, test_regular_watch): ... these new
3964 procedures, and use with_test_prefix and gdb_continue_to_end.
3965
bb9d5f81
PP
39662014-09-16 Patrick Palka <patrick@parcs.ath.cx>
3967
3968 PR breakpoints/12526
3969 * gdb.base/watch-bitfields.exp: New file.
3970 * gdb.base/watch-bitfields.c: New file.
3971
635856f5
PA
39722014-09-16 Pedro Alves <palves@redhat.com>
3973
3974 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
3975 software and hardware addresses, not software address against
3976 itself.
3977
7280ceea
PA
39782014-09-16 Pedro Alves <palves@redhat.com>
3979
3980 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
3981 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
3982
428b16bd
PA
39832014-09-16 Pedro Alves <palves@redhat.com>
3984
3985 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
3986 files.
3987 * gdb.base/a2-run.exp: Remove all code guarded by istarget
3988 "*-*-vxworks*" throughout.
3989 * gdb.base/break.exp: Likewise.
3990 * gdb.base/default.exp: Likewise.
3991 * gdb.base/scope.exp: Likewise.
3992 * gdb.base/sepdebug.exp: Likewise.
3993 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
3994 throughout.
3995 * gdb.base/run.c: Likewise.
3996 * gdb.base/sepdebug.c: Likewise.
3997 * gdb.hp/gdb.aCC/run.c: Likewise.
3998 * gdb.reverse/until-reverse.c: Likewise.
3999 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
4000
666d413c
YQ
40012014-09-16 Yao Qi <yao@codesourcery.com>
4002
4003 * boards/local-remote-host-native.exp: New file.
4004
57cbd724
DE
40052014-09-14 Doug Evans <xdje42@gmail.com>
4006
4007 * gdb.threads/queue-signal.c (thread_count): New variable.
4008 (thread_count_mutex, thread_count_condvar): New variables.
4009 (incr_thread_count, wait_all_threads_running): New functions.
4010 (main): Wait for all threads to be in their thread functions.
4011
81219e53
DE
40122014-09-13 Doug Evans <xdje42@gmail.com>
4013
4014 * gdb.threads/queue-signal.c: New file.
4015 * gdb.threads/queue-signal.exp: New file.
4016
3714cea7
DE
40172014-09-13 Doug Evans <xdje42@gmail.com>
4018
4019 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
4020 be consistent with what default_gdb_init uses.
4021 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
4022 the plain text of the prompt. Add some logging printfs.
4023 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
4024
fa43b1d7
PA
40252014-09-12 Pedro Alves <palves@redhat.com>
4026
4027 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
4028 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
4029 * gdb.arch/i386-size-overlap.exp: Likewise.
4030 * gdb.arch/i386-size.exp: Likewise.
4031 * gdb.arch/i386-unwind.exp: Likewise.
4032 * gdb.base/a2-run.exp: Likewise.
4033 * gdb.base/break.exp: Likewise.
4034 * gdb.base/charset.exp: Likewise.
4035 * gdb.base/chng-syms.exp: Likewise.
4036 * gdb.base/commands.exp: Likewise.
4037 * gdb.base/dbx.exp: Likewise.
4038 * gdb.base/find.exp: Likewise.
4039 * gdb.base/funcargs.exp: Likewise.
4040 * gdb.base/jit-simple.exp: Likewise.
4041 * gdb.base/reread.exp: Likewise.
4042 * gdb.base/sepdebug.exp: Likewise.
4043 * gdb.base/step-bt.exp: Likewise.
4044 * gdb.cp/mb-inline.exp: Likewise.
4045 * gdb.cp/mb-templates.exp: Likewise.
4046 * gdb.objc/basicclass.exp: Likewise.
4047 * gdb.threads/killed.exp: Likewise.
4048
9d9bf2df
EBM
40492014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4050
4051 PR tdep/17379
4052 * gdb.arch/powerpc-stackless.S: New file.
4053 * gdb.arch/powerpc-stackless.exp: New file.
4054
1cf2f1b0
JK
40552014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4056
4057 * gdb.base/attach.c: Include unistd.h.
4058 (main): Call alarm. Add label postloop.
4059 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
4060 gdb_breakpoint, gdb_continue_to_breakpoint.
4061 (test_command_line_attach_run): Kill ${testpid} in one exit path.
4062
98880d46
PA
40632014-09-11 Pedro Alves <palves@redhat.com>
4064
4065 PR gdb/17347
4066 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
4067 * gdb.base/attach.exp (test_command_line_attach_run): New
4068 procedure.
4069 (top level): Call it.
4070
4c92ff2c
PA
40712014-09-11 Pedro Alves <palves@redhat.com>
4072
4073 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
4074 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
4075 (do_command_attach_tests): Use spawn_wait_for_attach.
4076 * gdb.base/solib-overlap.exp: Likewise.
4077 * gdb.multi/multi-attach.exp: Likewise.
4078 * gdb.python/py-prompt.exp: Likewise.
4079 * gdb.python/py-sync-interp.exp: Likewise.
4080 * gdb.server/ext-attach.exp: Likewise.
4081
3adc1a7d
GKB
40822014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
4083
4084 * gdb.fortran/array-element.exp: Remove unexpected "continue"
4085 command in testcase. Simplify testcase.
4086
96334934
JB
40872014-09-10 Joel Brobecker <brobecker@adacore.com>
4088
4089 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
4090
eb479039
JB
40912014-09-10 Joel Brobecker <brobecker@adacore.com>
4092
4093 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
4094
deede10c
JB
40952014-09-10 Joel Brobecker <brobecker@adacore.com>
4096
4097 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
4098
7828a5f5
JB
40992014-09-10 Joel Brobecker <brobecker@adacore.com>
4100
4101 * gdb.dwarf2/dynarr-ptr.c: New file.
4102 * gdb.dwarf2/dynarr-ptr.exp: New file.
4103
33aeebcf
MR
41042014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4105
4106 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
4107 of 30 rather than hardcoding 120 for a slow test case. Take the
4108 `gdb,timeout' target setting into account for this calculation.
4109 Don't extend the timeout for the test cases that don't need it.
4110
7b415901
MR
41112014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4112
4113 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
4114 a factor of 2 for a slow test case. Take the `gdb,timeout'
4115 target setting into account for this calculation.
4116 * gdb.reverse/until-precsave.exp: Increase the timeout by
4117 a factor of 15 and 3 respectively rather than adding 120
4118 for a pair of slow test cases. Take the `gdb,timeout'
4119 target setting into account for this calculation.
4120
4a40f85a
MR
41212014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4122
4123 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
4124 timeout, don't pass one down to gdb_expect.
4125 (gdb_expect): Rework timeout selection.
4126
09635af7
MR
41272014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4128
4129 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
4130 exception on timeout.
4131 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
4132 (gdbserver_start_extended): Catch any `gdbserver_start' error
4133 exceptions.
4134 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
4135 * lib/mi-support.exp (mi_gdb_target_load): Catch any
4136 `gdbserver_gdb_load' error exceptions.
4137
2bdd10b7
MR
41382014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4139
4140 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
4141 120 on waiting for the TCP socket to open.
4142
316935f0
DE
41432014-09-09 Doug Evans <xdje42@gmail.com>
4144
4145 * gdb.base/default.exp (show_conv_list): Add _caller_is,
4146 _caller_matches, _any_caller_is, _any_caller_matches.
4147
83740597
DE
41482014-09-09 Doug Evans <xdje42@gmail.com>
4149
4150 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
4151
4c122fc3
YQ
41522014-09-09 Yao Qi <yao@codesourcery.com>
4153
4154 * gdb.mi/mi-var-display.exp: Set print symbol off.
4155
a9f116cb
GKB
41562014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
4157
4158 PR gdb/17035
4159 * gdb.base/commands.exp: Add tests to verify user-defined
4160 commands with empty bodies.
4161 * gdb.python/py-cmd.exp: Test that we don't show user-defined
4162 python commands in `show user command`.
4163 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
4164 scheme commands in `show user command`.
4165
c75bd3a2
JK
41662014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4167
4168 PR python/17355
4169 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
4170 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
4171 * gdb.python/py-framefilter-invalidarg.exp: New file.
4172 * gdb.python/py-framefilter-invalidarg.py: New file.
4173
faa42425
DE
41742014-09-06 Doug Evans <xdje42@gmail.com>
4175
4176 PR 15276
4177 * gdb.python/py-caller-is.c: New file.
4178 * gdb.python/py-caller-is.exp: New file.
4179
474ca4f6
SDJ
41802014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
4181
4182 PR gdb/17235
4183 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
4184 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
4185
eb0b0463
SDJ
41862014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
4187
4188 PR fortran/17237
4189 * gdb.fortran/print-formatted.exp: New file.
4190 * gdb.fortran/print-formatted.f90: Likewise.
4191
5f3b99cf
SS
41922014-09-03 Sasha Smundak <asmundak@google.com>
4193
4194 * gdb.python/py-frame.exp: Test Frame.read_register.
4195
7d793aa9
SDJ
41962014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
4197
4198 PR python/16699
4199 * gdb.python/py-completion.exp: New file.
4200 * gdb.python/py-completion.py: Likewise.
4201
fb0576e9
DE
42022014-08-28 Doug Evans <dje@google.com>
4203
4204 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
4205 eax,etc. are live with values set by gdb and thus the compiler can't
4206 use them.
4207 * gdb.arch/i386-pseudo.c (main): Ditto.
4208
ee92b0dd
DE
42092014-08-27 Doug Evans <dje@google.com>
4210
4211 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
4212
6649db35
DE
42132014-08-25 Doug Evans <dje@google.com>
4214
4215 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
4216 (main): Ditto.
4217
564b7600
DE
42182014-08-25 Doug Evans <dje@google.com>
4219
4220 * gdb.threads/thread-execl.exp: #include <stdio.h>.
4221
3881fb67
YQ
42222014-08-24 Yao Qi <yao@codesourcery.com>
4223
4224 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
4225 symbol off.
4226 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
4227
a05a36a5
DE
42282014-08-22 Doug Evans <dje@google.com>
4229
4230 PR 17276
4231 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
4232 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
4233 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
4234
7c343b48
YQ
42352014-08-22 Yao Qi <yao@codesourcery.com>
4236
4237 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
4238 * gdb.python/py-finish-breakpoint2.exp: Likewise.
4239 * gdb.python/python.exp: Likewise. Use .py file on the host
4240 instead of the build.
4241
22fd09ae
JK
42422014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4243
4244 * gdb.threads/gcore-stale-thread.c: New file.
4245 * gdb.threads/gcore-stale-thread.exp: New file.
4246
a8454a7c
PA
42472014-08-21 Pedro Alves <palves@redhat.com>
4248
4249 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
4250 * gdb.base/gcore-relro-pie.exp: Likewise.
4251 * gdb.base/gcore-relro.exp: Likewise.
4252 * gdb.base/gcore.exp: Likewise.
4253 * gdb.base/print-symbol-loading.exp: Likewise.
4254 * gdb.threads/gcore-thread.exp: Likewise.
4255 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
4256
2a31c623
PA
42572014-08-20 Pedro Alves <palves@redhat.com>
4258 Jan Kratochvil <jan.kratochvil@redhat.com>
4259
4260 * Makefile.in (EXTRA_RULES, CC): New variables, get from
4261 configure.
4262 (EXPECT): Handle READ1 being set.
4263 (all): Depend on EXTRA_RULES.
4264 (check-read1, expect-read1, read1.so, read1): New rules.
4265 * README (Testsuite Parameters): Document the READ1 make variable.
4266 (Race detection): New section.
4267 * configure: Regenerate.
4268 * configure.ac: If build==host==target, and running under a
4269 GNU/glibc system, add read1 to the extra Makefile rules.
4270 (EXTRA_RULES): AC_SUBST it.
4271 * lib/read1.c: New file.
4272
d36430db
JB
42732014-08-20 Joel Brobecker <brobecker@adacore.com>
4274
4275 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
4276 the handling of variables declared as a typedef to an array
4277 which a DW_AT_data_location attribute.
4278
9a0dc9e3
PA
42792014-08-19 Andrew Burgess <aburgess@broadcom.com>
4280 Pedro Alves <palves@redhat.com>
4281
4282 PR symtab/14604
4283 PR symtab/14605
4284 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
4285 gdb_test.
4286
0718a8da
PA
42872014-08-19 Pedro Alves <palves@redhat.com>
4288
4289 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
4290
13b448cd
YQ
42912014-08-19 Yao Qi <yao@codesourcery.com>
4292
4293 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
4294 right line.
4295
1cbf5077
DB
42962014-08-18 David Blaikie <dblaikie@gmail.com>
4297
4298 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
4299
bf0fae19
JB
43002014-08-18 Joel Brobecker <brobecker@adacore.com>
4301
4302 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
4303 attribute in array range.
4304
3c8c5dcc
JB
43052014-08-18 Joel Brobecker <brobecker@adacore.com>
4306
4307 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
4308
e66d4446
SC
43092014-08-15 Siva Chandra Reddy <sivachandra@google.com>
4310
4311 PR c++/17132
4312 * gdb.cp/pr17132.cc: New file.
4313 * gdb.cp/pr17132.exp: New file.
4314
940df408
SC
43152014-08-15 Siva Chandra Reddy <sivachandra@google.com>
4316
4317 * gdb.python/py-xmethods.py (A_getarrayind)
4318 (E_method_char_worker.__call__, E_method_int_worker.__call__):
4319 Use 'print' with function call syntax.
4320 (E_method_matcher.match): Fix tab vs space indentation mixup.
4321
ebcc6c3a
YQ
43222014-08-15 Yao Qi <yao@codesourcery.com>
4323
4324 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
4325 false.
4326
775e0f04
YQ
43272014-08-15 Yao Qi <yao@codesourcery.com>
4328
4329 * gdb.cp/casts.exp: Set print symbol off.
4330 * gdb.cp/class2.exp: Likewise.
4331 * gdb.cp/overload.exp: Likewise.
4332 * gdb.cp/templates.exp: Likewise.
4333
d769e349
DE
43342014-08-11 Doug Evans <dje@google.com>
4335
4336 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
4337 (test_load_shlib): Update.
4338
20c6f1e1
YQ
43392014-08-09 Yao Qi <yao@codesourcery.com>
4340
4341 * gdb.base/display.exp: Invoke is_address_zero_readable.
4342 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
4343 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4344 * gdb.base/hbreak-unmapped.exp: Return if
4345 is_address_zero_readable returns true.
4346 * gdb.base/signest.exp: Likewise.
4347 * gdb.base/signull.exp: Likewise.
4348 * gdb.base/sigbpt.exp: Likewise.
4349 * gdb.guile/scm-disasm.exp: Do the test if
4350 is_address_zero_readable returns false.
4351 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
4352 * gdb.python/py-arch.exp: Likewise.
4353 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
4354 * lib/gdb.exp (is_address_zero_readable): New proc.
4355
5792e8e3
YQ
43562014-08-09 Yao Qi <yao@codesourcery.com>
4357
4358 PR testsuite/13443
4359 * gdb.mi/mi-var-display.exp: Make test messages unique.
4360
3cecbbbe
TT
43612014-08-04 Tom Tromey <tromey@redhat.com>
4362
4363 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
4364 target 0".
4365
00b51ff5
TT
43662014-08-04 Tom Tromey <tromey@redhat.com>
4367
4368 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
4369 "target_resume".
4370
6908c509
JB
43712014-08-01 Joel Brobecker <brobecker@adacore.com>
4372
4373 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
4374 inner_vla_struct_object_size.
4375 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
4376 as xfail.
4377
cc6563d2
PA
43782014-07-30 Pedro Alves <palves@redhat.com>
4379
4380 * gdb.threads/signal-command-handle-nopass.exp (test): Add
4381 comment.
4382
7e09a223
YQ
43832014-07-29 Yao Qi <yao@codesourcery.com>
4384
4385 PR gdb/17206
4386 * gdb.base/until-nodebug.exp: New.
4387
7ebdbe92
DE
43882014-07-28 Doug Evans <xdje42@gmail.com>
4389
4390 PR guile/17203
4391 * gdb.guile/scm-parameter.exp: Add tests for trying to create
4392 previously existing parameter, and previously ambiguously spelled
4393 parameter.
4394
fdb1adc6
WN
43952014-07-28 Will Newton <will.newton@linaro.org>
4396
4397 * gdb.base/varargs.exp: Remove KFAILs for ARM.
4398
186fcde0
DE
43992014-07-26 Ludovic Courtès <ludo@gnu.org>
4400 Doug Evans <xdje42@gmail.com>
4401
4402 PR guile/17146
4403 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
4404
70509625
PA
44052014-07-25 Pedro Alves <palves@redhat.com>
4406
4407 * gdb.threads/signal-command-handle-nopass.c: New file.
4408 * gdb.threads/signal-command-handle-nopass.exp: New file.
4409 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
4410 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
4411 * gdb.threads/signal-delivered-right-thread.c: New file.
4412 * gdb.threads/signal-delivered-right-thread.exp: New file.
4413
c3f814a1
PA
44142014-07-25 Pedro Alves <palves@redhat.com>
4415
4416 * gdb.base/double-prompt-target-event-error.exp
4417 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
4418 match.
4419 (cancel_pagination_in_target_event): Rework double prompt
4420 detection.
4421 * gdb.base/paginate-after-ctrl-c-running.exp
4422 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
4423 <return>' match.
4424 * gdb.base/paginate-bg-execution.exp
4425 (test_bg_execution_pagination_return)
4426 (test_bg_execution_pagination_cancel): Remove '-notransfer
4427 <return>' matches.
4428 * gdb.base/paginate-execution-startup.exp
4429 (test_fg_execution_pagination_return)
4430 (test_fg_execution_pagination_cancel): Remove '-notransfer
4431 <return>' matches.
4432 * gdb.base/paginate-inferior-exit.exp
4433 (test_paginate_inferior_exited): Remove '-notransfer <return>'
4434 match.
4435 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
4436 * lib/gdb.exp (pagination_prompt): Run text through
4437 string_to_regexp.
4438 (gdb_test_multiple): Match $pagination_prompt instead of
4439 "<return>".
4440 (string_to_regexp): Move to lib/gdb-utils.exp.
4441
e214cf6c
JK
44422014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4443
4444 * gdb.arch/amd64-entry-value-paramref.S: New file.
4445 * gdb.arch/amd64-entry-value-paramref.cc: New file.
4446 * gdb.arch/amd64-entry-value-paramref.exp: New file.
4447 * gdb.arch/amd64-optimout-repeat.S: New file.
4448 * gdb.arch/amd64-optimout-repeat.c: New file.
4449 * gdb.arch/amd64-optimout-repeat.exp: New file.
4450
17d0c5c8
JK
44512014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4452
4453 PR gdb/17170
4454 * gdb.base/statistics.exp: New file.
4455
b8b8facf
DE
44562014-07-17 Doug Evans <dje@google.com>
4457
74b49205 4458 PR gdb/17170
b8b8facf
DE
4459 * gdb.base/maint.exp: Update testing of per-command stats.
4460
1b5d0ab3
PA
44612014-07-16 Pedro Alves <palves@redhat.com>
4462
4463 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
4464 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
4465 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
4466 (tfile_write_buf): New functions.
4467 (add_memory_block): Rewrite using the above.
4468 (adjust_function_address): New function.
4469 (FUNCTION_ADDRESS): New macro.
4470 (write_basic_trace_file): Remove short_x local, and use
4471 tfile_write_16. Change type of func_addr local to unsigned long
4472 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
4473 here. Cast argument of add_memory_block to char pointer.
4474 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
4475 (main): Remove parameters.
4476 * gdb.trace/tfile.exp: Remove nowarnings.
4477
4d974e88
SM
44782014-07-15 Simon Marchi <simon.marchi@ericsson.com>
4479
4480 * gdb.base/debug-expr.exp: Test string evaluation with
4481 "debug expression" on.
4482
41e99568
PA
44832014-07-15 Pedro Alves <palves@redhat.com>
4484
4485 * gdb.base/reread.exp: Use clean_restart.
4486
487d9753
PL
44872014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
4488
4489 * gdb.arch/avr-flash-qualifer.c: New.
4490 * gdb.arch/avr-flash-qualifer.exp: New.
4491
cc1c52ad
PA
44922014-07-14 Pedro Alves <palves@redhat.com>
4493
4494 * gdb.base/paginate-after-ctrl-c-running.c: New file.
4495 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
4496
1e973570
PA
44972014-07-14 Pedro Alves <palves@redhat.com>
4498
4499 * gdb.base/double-prompt-target-event-error.c: New file.
4500 * gdb.base/double-prompt-target-event-error.exp: New file.
4501
93d6eb10
PA
45022014-07-14 Pedro Alves <palves@redhat.com>
4503
4504 PR gdb/17072
4505 * gdb.base/paginate-inferior-exit.c: New file.
4506 * gdb.base/paginate-inferior-exit.exp: New file.
4507
0017922d
PA
45082014-07-14 Pedro Alves <palves@redhat.com>
4509
4510 PR gdb/17072
4511 * gdb.base/paginate-bg-execution.c: New file.
4512 * gdb.base/paginate-bg-execution.exp: New file.
4513
94696ad3
PA
45142014-07-14 Pedro Alves <palves@redhat.com>
4515
4516 PR gdb/17072
4517 * gdb.base/paginate-execution-startup.c: New file.
4518 * gdb.base/paginate-execution-startup.exp: New file.
4519 * lib/gdb.exp (pagination_prompt): New global.
4520 (default_gdb_spawn): New procedure, factored out from
4521 default_gdb_spawn.
4522 (default_gdb_start): Adjust to call default_gdb_spawn.
4523 (gdb_spawn): New procedure.
4524
bd293940
PA
45252014-07-14 Pedro Alves <palves@redhat.com>
4526
4527 * lib/gdb.exp (gdb_assert): New procedure.
4528 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
4529
c933f875
PA
45302014-07-14 Pedro Alves <palves@redhat.com>
4531
4532 * gdb.base/execution-termios.c: New file.
4533 * gdb.base/execution-termios.exp: New file.
4534
d98b7a16
TT
45352014-07-14 Tom Tromey <tromey@redhat.com>
4536
4537 * gdb.cp/vla-cxx.cc: New file.
4538 * gdb.cp/vla-cxx.exp: New file.
4539
548740d6
TT
45402014-07-14 Tom Tromey <tromey@redhat.com>
4541
4542 * gdb.reverse/rerun-prec.c: New file.
4543 * gdb.reverse/rerun-prec.exp: New file.
4544
a25eb028
MR
45452014-07-12 Maciej W. Rozycki <macro@mips.com>
4546 Maciej W. Rozycki <macro@codesourcery.com>
4547
4548 * lib/gdb-utils.exp: New file.
4549 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
4550 inline `gdb_init_command' processing.
4551 (gdb_start_cmd): Likewise.
4552 * lib/mi-support.exp (mi_run_cmd): Likewise.
4553 * README: Document `gdb_init_command' and `gdb_init_commands'.
4554
218c2655
JK
45552014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4556
4557 Fix false FAIL running under a very long directory name.
4558 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
4559 and "set print elements 10000". Twice.
4560
5401fde3
YQ
45612014-07-11 Yao Qi <yao@codesourcery.com>
4562
4563 * gdb.base/exprs.exp: "set print symbol off".
4564
e76126e8
PA
45652014-07-11 Pedro Alves <palves@redhat.com>
4566
4567 * gdb.threads/kill.c: New file.
4568 * gdb.threads/kill.exp: New file.
4569
2d6f0de6
YQ
45702014-07-10 Yao Qi <yao@codesourcery.com>
4571
4572 * gdb.trace/tfile.c (write_basic_trace_file)
4573 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
4574 address written to trace file.
4575
7180e04a
PA
45762014-07-09 Pedro Alves <palves@redhat.com>
4577
4578 * gdb.base/attach-wait-input.exp: New file.
4579 * gdb.base/attach-wait-input.c: New file.
4580
9a9a7608
AB
45812014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4582
4583 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
4584 setting up test structures.
4585 (main): Call new test function.
4586 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
4587 test function, continue into test function and walk test
4588 structures.
4589
161ac41e
YQ
45902014-07-02 Yao Qi <yao@codesourcery.com>
4591
4592 * gdb.trace/entry-values.c: Define labels 'foo_start' and
4593 'bar_start' at the beginning of functions 'foo' and 'bar'
4594 respectively.
4595 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
4596 instead of 'foo' and 'bar'.
4597
1f267ae3
MM
45982014-07-08 Markus Metzger <markus.t.metzger@intel.com>
4599
4600 * gdb.btrace/segv.exp: New.
4601 * gdb.btrace/segv.c: New.
4602
2b239efb
LM
46032014-07-02 Luis Machado <lgustavo@codesourcery.com>
4604
4605 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
4606 instruction.
4607
cf363f18
MW
46082014-06-30 Mark Wielaard <mjw@redhat.com>
4609
4610 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
4611 vulture, vilify, villar): New volatile array constants.
4612 (vindictive, vegetation): New const volatile array constants.
4613 * gdb.base/volatile.exp: Test volatile and const volatile array
4614 types.
4615
aebf9d24
AA
46162014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
4617
4618 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
4619 target lacks support for awatch, rwatch, or hbreak.
4620
b67a2c6f
YQ
46212014-06-27 Yao Qi <yao@codesourcery.com>
4622
4623 * gdb.multi/dummy-frame-restore.exp: New.
4624 * gdb.multi/dummy-frame-restore.c: New.
4625
aef92902
MM
46262014-06-25 Markus Metzger <markus.t.metzger@intel.com>
4627
4628 * gdb.btrace/gcore.exp: New.
4629
8e9db26e
PA
46302014-06-23 Pedro Alves <palves@redhat.com>
4631
4632 * gdb.base/watchpoint-reuse-slot.c: New file.
4633 * gdb.base/watchpoint-reuse-slot.exp: New file.
4634
70afc5b7
SC
46352014-06-23 Siva Chandra Reddy <sivachandra@google.com>
4636
4637 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
4638 progspace's filename in 'info', 'enable' and 'disable' command
4639 tests.
4640
b972bd9c
JK
46412014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4642
4643 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
4644 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
4645 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
4646
125f8a3d
GB
46472014-06-20 Gary Benson <gbenson@redhat.com>
4648
4649 * gdb.arch/i386-avx.exp: Fix include file location.
4650 * gdb.arch/i386-sse.exp: Likewise.
4651
3ed9baed
IB
46522014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
4653
4654 * gdb.dlang/expression.exp: New file.
4655
034f788c
PA
46562014-06-19 Pedro Alves <palves@redhat.com>
4657
4658 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
4659 out from ...
4660 (top level): ... here. Iterate running tests under different
4661 scheduler-locking settings.
4662
45371d0c
LM
46632014-06-18 Luis Machado <lgustavo@codesourcery.com>
4664
4665 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
4666 to DW_FORM_addr and use non-zero addresses.
4667
5d376983
SC
46682014-06-18 Siva Chandra Reddy <sivachandra@google.com>
4669
4670 PR gdb/17017
4671 * gdb.python/py-xmethods.cc: Add global function call counters and
4672 increment them in their respective functions. Remove "cout"
4673 statements.
4674 * gdb.python/py-xmethods.exp: Make tests check the global function
4675 call counters instead of depending on inferior IO.
4676
a1aa2221
LM
46772014-06-18 Don Breazeal <donb@codesourcery.com>
4678
4679 * gdb.base/foll-fork.exp (default_fork_parent_follow):
4680 Deleted procedure.
4681 (explicit_fork_parent_follow): Deleted procedure.
4682 (explicit_fork_child_follow): Deleted procedure.
4683 (test_follow_fork): New procedure.
4684 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 4685 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
4686 procedure calls.
4687
0fc05997
YQ
46882014-06-17 Yao Qi <yao@codesourcery.com>
4689
4690 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
4691 CP1252.
4692
70795c52
LM
46932014-06-17 Luis Machado <lgustavo@codesourcery.com>
4694
4695 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
4696 Initialize ptr and S explicitly.
4697 (skip_type_update_when_not_use_rtti_test): Likewise.
4698
6be47f0c
KS
46992014-06-16 Keith Seitz <keiths@redhat.com>
4700
4701 PR mi/15863
4702 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
4703 the inferior is started.
4704
d03de421
PA
47052014-06-16 Pedro Alves <palves@redhat.com>
4706
4707 * gdb.base/break-main-file-remove-fail.c: New file.
4708 * gdb.base/break-main-file-remove-fail.exp: New file.
4709 * gdb.base/break-unload-file.exp: Use build_executable instead of
4710 prepare_for_testing.
4711 (test_break): New parameter "initial_load". Handle it.
4712 (top level): Add initial_load cmdline/file axis.
4713
f9579b99
TT
47142014-06-12 Tom Tromey <tromey@redhat.com>
4715
4716 * gdb.base/completion.exp: Don't use directory name in test.
4717
3657956b
GB
47182014-06-09 Gary Benson <gbenson@redhat.com>
4719
4720 * gdb.base/sigall.c [Functions to send signals]: Reorder to
4721 separate the always-available ANSI-standard signals from the
4722 signals that require checking.
4723 (main): Likewise.
4724 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
4725 Likewise.
4726 (main): Likewise.
4727
4186eb54
KS
47282014-06-07 Keith Seitz <keiths@redhat.com>
4729
4730 Revert:
4731 PR c++/16253
4732 * gdb.cp/var-tag.cc: New file.
4733 * gdb.cp/var-tag.exp: New file.
4734 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4735 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4736 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4737 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4738
25326a28 47392014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
4740
4741 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
4742
829155c9
PA
47432014-06-06 Pedro Alves <palves@redhat.com>
4744
4745 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
4746 in target debug output instead of looking at RSP packets,
4747 disabling the test on any target that uses hardware stepping.
4748 Update comments.
4749
61c8d22e
PA
47502014-06-06 Pedro Alves <palves@redhat.com>
4751
4752 * gdb.base/break-unload-file.exp: Fix typo.
4753
d9a47287
YQ
47542014-06-06 Yao Qi <yao@codesourcery.com>
4755
4756 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
4757 from "jit_function" to "^jit_function".
4758
e5e01dbf
YQ
47592014-06-06 Yao Qi <yao@codesourcery.com>
4760
4761 * gdb.base/async.c (foo): Add one statement.
4762 * gdb.base/async.exp: Get the next instruction address and
4763 match the output of "nexti" by instruction address. Match
4764 the hex address in the output of "finish".
4765
73ba372c
GB
47662014-06-06 Gary Benson <gbenson@redhat.com>
4767
4768 * gdb.base/call-signals.c: Remove preprocessor conditionals
4769 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
4770 SIGSEGV and SIGTERM.
4771 * gdb.base/sigall.c: Likewise.
4772 * gdb.base/unwindonsignal.c: Likewise.
4773 * gdb.reverse/sigall-reverse.c: Likewise.
4774
831517df
YQ
47752014-06-06 Yao Qi <yao@codesourcery.com>
4776
4777 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
4778 readable, skip the test.
4779
b8b91e98
YQ
47802014-06-06 Yao Qi <yao@codesourcery.com>
4781
4782 * gdb.threads/staticthreads.c (thread_function): Move the line
4783 setting breakpoint on forward.
4784 * gdb.threads/staticthreads.exp: Update comments.
4785
fb934770
LC
47862014-06-05 Ludovic Courtès <ludo@gnu.org>
4787
4788 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
4789 "history-append! type error".
4790
6ef284bd
SM
47912014-06-05 Simon Marchi <simon.marchi@ericsson.com>
4792
4793 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
4794 erroneous dprintf expected input.
4795
a872e241
DE
47962014-06-04 Doug Evans <xdje42@gmail.com>
4797
4798 * gdb.guile/scm-generics.exp: Delete.
4799
16f691fb
DE
48002014-06-04 Doug Evans <xdje42@gmail.com>
4801
4802 * gdb.guile/scm-breakpoint.exp: Update.
4803 Add tests for breakpoint registration.
4804
012370f6
TT
48052014-06-04 Tom Tromey <tromey@redhat.com>
4806
4807 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
4808 VLA-in-union.
4809 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
4810 inner_vla_struct, vla_union types. Initialize objects of those
4811 types and compute their sizes.
4812
9f5a4cef
HZ
48132014-06-04 Nathan Sidwell <nathan@codesourcery.com>
4814 Hui Zhu <hui@codesourcery.com>
4815
4816 * gdb.base/fileio.exp: Add test for shell not available as well as
4817 available.
4818 * gdb.base/fileio.c (test_system): Check for shell twice.
4819
90a45c4d
YQ
48202014-06-04 Yao Qi <yao@codesourcery.com>
4821
4822 * gdb.base/auto-connect-native-target.exp: Remove redundant
4823 space from the regexp pattern.
4824
70017e41
YQ
48252014-06-04 Yao Qi <yao@codesourcery.com>
4826
4827 * gdb.base/default.exp: Replace "child" with "native" in
4828 regexp pattern.
4829
883964a7
SC
48302014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4831
4832 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
4833 * gdb.python/py-xmethods.exp: New tests to test xmethods.
4834 * gdb.python/py-xmethods.py: Python script supporting the
4835 new testcase and tests.
4836
ef370185
JB
48372014-06-03 Joel Brobecker <brobecker@adacore.com>
4838 Pedro Alves <palves@redhat.com>
4839
4840 PR breakpoints/17000
4841 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
4842 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
4843
1e2ccb61
BM
48442014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
4845
4846 * gdb.base/subst.exp: Add tests to verify partial path matching
4847 output.
4848
c6ec5ab2
PA
48492014-06-03 Pedro Alves <palves@redhat.com>
4850
4851 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
4852 target that doesn't use software single-stepping.
4853
835c559f
PA
48542014-06-03 Pedro Alves <palves@redhat.com>
4855
4856 PR breakpoints/17000
4857 * gdb.base/sss-bp-on-user-bp-2.c: New file.
4858 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
4859
06eb1586
DE
48602014-06-02 Doug Evans <xdje42@gmail.com>
4861
4862 * gdb.guile/scm-parameter.exp: New file.
4863
e698b8c4
DE
48642014-06-02 Doug Evans <xdje42@gmail.com>
4865
4866 * gdb.guile/scm-cmd.c: New file.
4867 * gdb.guile/scm-cmd.exp: New file.
4868
ded03782
DE
48692014-06-02 Doug Evans <xdje42@gmail.com>
4870
4871 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
4872 pretty-printer lookup.
4873 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
4874 (make-pp_s-printer): Call it.
4875 (make-pretty-printer-from-dict): New function.
4876 (lookup-pretty-printer-maker-from-dict): New function.
4877 (*pretty-printer*): Simplify.
4878 (make-objfile-pp_s-printer): New function.
4879 (install-objfile-pretty-printers!): New function.
4880 (make-progspace-pp_s-printer): New function.
4881 (install-progspace-pretty-printers!): New function.
4882 * gdb.guile/scm-progspace.c: New file.
4883 * gdb.guile/scm-progspace.exp: New file.
4884
41fac0cf
PA
48852014-06-02 Pedro Alves <palves@redhat.com>
4886
4887 * gdb.base/dprintf-bp-same-addr.c: New file.
4888 * gdb.base/dprintf-bp-same-addr.exp: New file.
4889
96ae5695
EBM
48902014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4891
4892 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
4893 * gdb.arch/powerpc-power.s: Likewise.
4894
da02b3a8
JB
48952014-06-02 Joel Brobecker <brobecker@adacore.com>
4896
4897 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
4898
c72b2e7b
YQ
48992014-06-01 Yao Qi <yao@codesourcery.com>
4900
4901 * gdb.base/watchpoint.exp (test_watch_location): Check null
4902 pointer can be dereferenced. If not, do the test, otherwise
4903 skip it.
4904
53e8a631
AB
49052014-05-30 Andrew Burgess <aburgess@broadcom.com>
4906
4907 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
4908 results.
4909 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
4910
938f0e2f
AB
49112014-05-30 Andrew Burgess <aburgess@broadcom.com>
4912
4913 * gdb.arch/amd64-invalid-stack-middle.S: New file.
4914 * gdb.arch/amd64-invalid-stack-middle.c: New file.
4915 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
4916 * gdb.arch/amd64-invalid-stack-top.c: New file.
4917 * gdb.arch/amd64-invalid-stack-top.exp: New file.
4918
9ba6657a
PA
49192014-05-30 Pedro Alves <palves@redhat.com>
4920
4921 PR breakpoints/17000
4922 * gdb.base/sss-bp-on-user-bp.c: New file.
4923 * gdb.base/sss-bp-on-user-bp.exp: New file.
4924
522c09bf
DB
49252014-05-30 David Blaikie <dblaikie@gmail.com>
4926
4927 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
4928 gnu_inline semantics via attribute.
4929 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
4930 source explicitly specifies the required semantics.
4931
bf4ef81e
MR
49322014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
4933
4934 * gdb.reverse/sigall-reverse.exp: Fix a typo.
4935
329ea579
PA
49362014-05-29 Pedro Alves <palves@redhat.com>
4937 Tom Tromey <tromey@redhat.com>
4938
4939 * gdb.base/async-shell.exp: Don't enable target-async.
4940 * gdb.base/async.exp
4941 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
4942 parameter. Adjust.
4943 (top level): Don't test with "target-async".
4944 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
4945 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
4946 * gdb.base/inferior-died.exp: Don't enable target-async.
4947 * gdb.base/interrupt-noterm.exp: Likewise.
4948 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
4949 * gdb.mi/mi-nonstop-exit.exp: Likewise.
4950 * gdb.mi/mi-nonstop.exp: Likewise.
4951 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
4952 * gdb.mi/mi-nsintrall.exp: Likewise.
4953 * gdb.mi/mi-nsmoribund.exp: Likewise.
4954 * gdb.mi/mi-nsthrexec.exp: Likewise.
4955 * gdb.mi/mi-watch-nonstop.exp: Likewise.
4956 * gdb.multi/watchpoint-multi.exp: Adjust comment.
4957 * gdb.python/py-evsignal.exp: Don't enable target-async.
4958 * gdb.python/py-evthreads.exp: Likewise.
4959 * gdb.python/py-prompt.exp: Likewise.
4960 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
4961 * gdb.server/solib-list.exp: Don't enable target-async.
4962 * gdb.threads/thread-specific-bp.exp: Likewise.
4963 * lib/mi-support.exp: Adjust to use mi-async.
4964
fd664c91
PA
49652014-05-29 Pedro Alves <palves@redhat.com>
4966
4967 PR gdb/13860
4968 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
4969 reason, even in sync mode.
4970
251bde03
PA
49712014-05-29 Pedro Alves <palves@redhat.com>
4972 Hui Zhu <hui@codesourcery.com>
4973
4974 PR PR15693
4975 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
4976 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
4977 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
4978 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
4979
7f3c0343
JB
49802014-05-28 Joel Brobecker <brobecker@adacore.com>
4981
4982 * config/monitor.exp (gdb_target_monitor): Replace use of
4983 "set remotebaud" by "set serial baud".
4984
b2715b27
AW
49852014-05-26 Andy Wingo <wingo@igalia.com>
4986
4987 * gdb.guile/scm-breakpoint.exp:
4988 * gdb.guile/scm-gsmob.exp: Update to use plain old object
4989 properties instead of gdb-object-properties.
4990
498a4489
YQ
49912014-05-26 Yao Qi <yao@codesourcery.com>
4992
4993 * gdb.server/no-thread-db.exp: Specify source file name
4994 explicitly when setting a breakpoint.
4995
589fdceb
MM
49962014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4997
4998 * gdb.btrace/vdso.c: New.
4999 * gdb.btrace/vdso.exp: New.
5000
e9089e05
MM
50012014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5002
5003 * gdb.base/gcore.exp (capture_command_output): Move ...
5004 * lib/gdb.exp (capture_command_output): ... here.
5005
67b5c0c1
MM
50062014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5007
5008 * gdb.btrace/data.exp: Test memory access during btrace replay.
5009
a2199296
SM
50102014-05-22 Simon Marchi <simon.marchi@ericsson.com>
5011
5012 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
5013
17b2616c
PA
50142014-05-21 Pedro Alves <palves@redhat.com>
5015
5016 PR gdb/13860
5017 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
5018 (top level): Test that output related to execution commands is
5019 sent to the console with CLI commands, but not with MI commands.
5020 Test that breakpoint events are always mirrored to the console.
5021 Also expect the new source line to be output after a "next" in
5022 async mode too. Make it a pass/fail test.
5023 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
5024 output.
5025 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
5026
5166082f
PA
50272014-05-21 Pedro Alves <palves@redhat.com>
5028
5029 * gdb.base/list.exp (build_pattern, test_list): New procedures.
5030 Use them to test variations of "list" after reaching a breakpoint.
5031 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
5032 Test "list" with listsize 10 after reaching a breakpoint.
5033 * gdb.python/python.exp (decode_line current location line
5034 number): Adjust expected line number.
5035
2f25d70f
SM
50362014-05-21 Simon Marchi <simon.marchi@ericsson.com>
5037
5038 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
5039 behavior for $args, pass it directly to "run".
5040
ff604a67
MR
50412014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
5042
5043 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
5044 30000 to 65536.
5045
6a3cb8e8
PA
50462014-05-21 Pedro Alves <palves@redhat.com>
5047
5048 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
5049 auto-connect-native-target off".
5050 * gdb.base/auto-connect-native-target.c: New file.
5051 * gdb.base/auto-connect-native-target.exp: New file.
5052
4ebfc96e
PA
50532014-05-21 Pedro Alves <palves@redhat.com>
5054
5055 * gdb.base/default.exp: Test "target native" instead of "target
5056 child".
5057
36d46afb
MW
50582014-05-21 Mark Wielaard <mjw@redhat.com>
5059
5060 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
5061
5876f503
JK
50622014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5063
5064 Fix TLS access for -static -pthread.
5065 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
5066 <HAVE_TLS> (thread_function, main): Initialize it.
5067 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
5068 Add clean_restart.
5069 <$have_tls != "">: Check TLSVAR.
5070
0256a6ac
PA
50712014-05-21 Pedro Alves <palves@redhat.com>
5072
5073 * gdb.base/dcache-line-read-error.c: New.
5074 * gdb.base/dcache-line-read-error.exp: New.
5075
936d2992
PA
50762014-05-20 Pedro Alves <palves@redhat.com>
5077
5078 * gdb.base/compare-sections.c: New file.
5079 * gdb.base/compare-sections.exp: New file.
5080
802e8e6d
PA
50812014-05-20 Pedro Alves <palves@redhat.com>
5082
5083 * gdb.base/break-idempotent.c: New file.
5084 * gdb.base/break-idempotent.exp: New file.
5085
e59fa00f
MM
50862014-05-20 Markus Metzger <markus.t.metzger@intel.com>
5087
5088 * gdb.btrace/nohist.exp: New.
5089
8b696e31
YQ
50902014-05-20 Yao Qi <yao@codesourcery.com>
5091
5092 * lib/gdb.exp (gdb_init): Set timeout if test file is under
5093 gdb.reverse directory and gdb_reverse_timeout exists in board
5094 setting.
5095 * README: Document gdb_reverse_timeout.
5096
73c9764f
YQ
50972014-05-20 Yao Qi <yao@codesourcery.com>
5098
5099 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
5100 'test_file_name'. Treat args as a string instead of a list.
5101 (gdb_init): Rename argument 'args' by 'test_file_name'.
5102
f1f4348a
JK
51032014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5104
5105 * gdb.arch/powerpc-power.exp: New file.
5106 * gdb.arch/powerpc-power.s: New file.
5107
0dbe70ce
DE
51082014-05-16 Doug Evans <dje@google.com>
5109
5110 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
5111 * gdb.base/completion.exp: Check that all expected files exist
5112 before doing file completion.
0dbe70ce 5113
8d551b02
DE
51142014-05-16 Doug Evans <dje@google.com>
5115
5116 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
5117 Update.
5118 (do_syscall_tests_without_xml): Update.
5119
73eb7709
PA
51202014-05-16 Pedro Alves <palves@redhat.com>
5121
5122 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
5123 instead of "unknown output after running".
5124
3fae92fc
YQ
51252014-05-16 Yao Qi <yao@codesourcery.com>
5126
5127 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
5128 file1.txt from host at the end.
5129 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5130
c2b2ccc5
DE
51312014-05-15 Doug Evans <dje@google.com>
5132
5133 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
5134 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
5135 loading file. Add test for TU lookup.
5136
8c217a4b
SM
51372014-05-15 Simon Marchi <simon.marchi@ericsson.com>
5138
5139 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
5140 calling "-exec-arguments" or "set args" before running the
5141 inferior.
5142
3deb39c6
SM
51432014-05-15 Simon Marchi <simon.marchi@ericsson.com>
5144
5145 * lib/mi-support.exp (mi_expect_stop): Expect message for
5146 inferiors that exit with non-zero exit code.
5147
71a79f8c
YQ
51482014-05-14 Yao Qi <yao@codesourcery.com>
5149
5150 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
5151 match absolute path on remote host.
5152 (test_file_list_exec_source_files): Remove "/" from the
5153 pattern.
5154
f23fcd46
YQ
51552014-05-14 Yao Qi <yao@codesourcery.com>
5156
5157 * boards/local-remote-host-notty.exp (${board}_file): New
5158 proc.
5159
9404b58f
KM
51602014-05-07 Kyle McMartin <kyle@redhat.com>
5161
5162 Pushed by Joel Brobecker <brobecker@adacore.com>.
5163 * gdb.arch/aarch64-atomic-inst.c: New file.
5164 * gdb.arch/aarch64-atomic-inst.exp: New file.
5165
5e45f04c
YQ
51662014-05-07 Yao Qi <yao@codesourcery.com>
5167
5168 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
5169 in current context" too.
5170
c888a17d
KS
51712014-05-05 Keith Seitz <keiths@redhat.com>
5172
5173 * gdb.linespec/ls-dollar.exp: Add test for linespec
5174 file:convenience_variable.
5175
290a839c
YQ
51762014-05-05 Yao Qi <yao@codesourcery.com>
5177
5178 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
5179 traceframes into tfile and ctf trace files. Read data from
5180 trace file and test collected data.
5181 (gdb_collect_locals_test): Likewise.
5182 (gdb_unavailable_registers_test): Likewise.
5183 (gdb_unavailable_floats): Likewise.
5184 (gdb_collect_globals_test): Likewise.
5185 (top-level): Append "ctf" to trace_file_targets if GDB
5186 supports.
5187
b5262cd0
YQ
51882014-05-05 Yao Qi <yao@codesourcery.com>
5189
5190 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
5191 code to ...
5192 (gdb_collect_args_test_1): ... it. New proc.
5193 (gdb_collect_locals_test): Move some code to ...
5194 (gdb_collect_locals_test_1): ... it. New proc.
5195 (gdb_unavailable_registers_test): Move some code to ...
5196 (gdb_unavailable_registers_test_1): ... it. New proc.
5197 (gdb_unavailable_floats): Move some code to ...
5198 (gdb_unavailable_floats_1): ... it. New proc.
5199
30a1e6cc
SDJ
52002014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5201
5202 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
5203 probes to test for bitness recognition.
5204 * gdb.arch/amd64-stap-optional-prefix.exp
5205 (test_probe_value_without_reg): New procedure.
5206 Add code to test for different kinds of bitness.
5207
f33da99a
SDJ
52082014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5209
5210 PR breakpoints/16889
5211 * gdb.arch/amd64-stap-optional-prefix.S: New file.
5212 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5213
5b80f00d
PA
52142014-05-01 Pedro Alves <palves@redhat.com>
5215
5216 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
5217 gdb_file_cmd if no file is specified.
5218 * boards/native-extended-gdbserver.exp (gdb_load): Use the
5219 last_loaded_file to set the remote exec-file.
5220
f8c2a73c
PA
52212014-05-01 Pedro Alves <palves@redhat.com>
5222
5223 * boards/local-remote-host.exp: New file.
5224
be6e8ac7
PA
52252014-05-01 Pedro Alves <palves@redhat.com>
5226
5227 * boards/local-remote-host.exp: Rename to ...
5228 * boards/local-remote-host-notty.exp: ... this.
5229
cac0dc8f
JB
52302014-04-28 Joel Brobecker <brobecker@adacore.com>
5231
5232 * gdb.ada/dyn_arrayidx: New testcase.
5233
9730e6cc
YQ
52342014-04-26 Yao Qi <yao@codesourcery.com>
5235
5236 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
5237 and compute the length of function main. Save it in
5238 $main_length.
5239 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
5240 (top-level): Use gdb_compile to compile objects into
5241 executable and restart GDB. Remove invocation to
5242 prepare_for_testing.
5243
7ae1a6a6
PA
52442014-04-25 Simon Marchi <simon.marchi@ericsson.com>
5245 Pedro Alves <palves@redhat.com>
5246
5247 PR server/16255
5248 * gdb.multi/multi-attach.c: New file.
5249 * gdb.multi/multi-attach.exp: New file.
5250
4082afcc
PA
52512014-04-25 Pedro Alves <palves@redhat.com>
5252
5253 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
5254 user.
5255 (top level): Test that "set remote conditional-breakpoints-packet
5256 off" works as intended.
5257 * gdb.base/dprintf.exp: Test that "set remote
5258 breakpoint-commands-packet off" works as intended.
5259 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
5260 New function.
5261 (top level): Call it.
5262 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
5263 remote fast-tracepoints-packet off" works as intended.
5264 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
5265 * lib/gdb.exp (gdb_is_target_remote): ... here.
5266
2abc3f8d
DB
52672014-04-24 David Blaikie <dblaikie@gmail.com>
5268
5269 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
5270 ensure clang would not discard them.
5271 * gdb.base/gdbvars.c: Ditto.
5272 * gdb.base/memattr.c: Ditto.
5273 * gdb.base/whatis.c: Ditto.
5274 * gdb.python/py-prettyprint.c: Ditto.
5275 * gdb.trace/actions.c: Ditto.
5276 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
5277 ensure clang would not discard it.
5278
bfd39632
DB
52792014-04-24 David Blaikie <dblaikie@gmail.com>
5280
5281 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
5282 clang to emit the full definition of type required by the test
5283 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
5284
22842ff6
DB
52852014-04-24 David Blaikie <dblaikie@gmail.com>
5286
5287 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
5288 coax Clang into emitting the definition of the type.
5289 * gdb.cp/pr10728-x.h (y): Ditto.
5290 * gdb.cp/pr10728-y.cc (y): Ditto.
5291
c2e827ad
DB
52922014-04-24 David Blaikie <dblaikie@gmail.com>
5293
5294 * gdb.base/label.exp: XFAIL label related tests under Clang.
5295 * gdb.cp/cplabel.exp: Ditto.
5296 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
5297 under Clang those using labels.
5298
4c2d33e7
YQ
52992014-04-25 Yao Qi <yao@codesourcery.com>
5300
5301 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
5302 double_label.
5303 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
5304 partial_label and double_label.
5305
56083b99
DB
53062014-04-24 David Blaikie <dblaikie@gmail.com>
5307
5308 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
5309
25d4e99d
DB
53102014-04-24 David Blaikie <dblaikie@gmail.com>
5311
5312 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
5313 of the function to work across GCC and Clang.
5314 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
5315 pointer types (const void ** const V void **).
5316
01f9f808
MS
53172014-04-24 Michael Sturm <michael.sturm@mintel.com>
5318 Walfred Tedeschi <walfred.tedeschi@intel.com>
5319
5320 * Makefile.in (EXECUTABLES): Added i386-avx512.
5321 * gdb.arch/i386-avx512.c: New file.
5322 * gdb.arch/i386-avx512.exp: Likewise.
5323
4b48d439
KS
53242014-04-23 Keith Seitz <keiths@redhat.com>
5325
5326 * lib/mi-support.exp (mi_list_breakpoints): Delete.
5327 (mi_make_breakpoint_table): New procedure.
5328 (mi_create_breakpoint): Use mi_make_breakpoint
5329 and return the result.
5330 (mi_make_breakpoint): New procedure.
5331 (mi_build_kv_pairs): New procedure.
5332
5333 * gdb.mi/mi-break.exp: Remove unused globals,
5334 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
5335 All callers updated.
5336 * gdb.mi/mi-dprintf.exp: Use variable to track command
5337 number.
5338 Update all callers of mi_create_breakpoint and use
5339 mi_make_breakpoint_table.
5340 Remove any unused global variables.
5341 * gdb.mi/mi-nonstop.exp: Likewise.
5342 * gdb.mi/mi-nsintrall.exp: Likewise.
5343 * gdb.mi/mi-nsmoribund.exp: Likewise.
5344 * gdb.mi/mi-nsthrexec.exp: Likewise.
5345 * gdb.mi/mi-reverse.exp: Likewise.
5346 * gdb.mi/mi-simplerun.exp: Likewise.
5347 * gdb.mi/mi-stepn.exp: Likewise.
5348 * gdb.mi/mi-syn-frame.exp: Likewise.
5349 * gdb.mi/mi-until.exp: Likewise.
5350 * gdb.mi/mi-var-cp.exp: Likewise.
5351 * gdb.mi/mi-var-display.exp: Likewise.
5352 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
5353 * gdb.mi/mi2-var-child.exp: Likewise.
5354 * gdb.mi/mi-vla-c99.exp: Likewise.
5355 * lib/mi-support.exp: Likewise.
5356
5357 From Ian Lance Taylor <iant@cygnus.com>:
5358 * lib/gdb.exp (parse_args): New procedure.
5359
08351840
PA
53602014-04-23 Pedro Alves <palves@redhat.com>
5361
5362 * gdb.base/break-unload-file.c: New file.
5363 * gdb.base/break-unload-file.exp: New file.
5364 * gdb.base/sym-file-lib.c (baz): New function.
5365 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
5366 field.
5367 (load): Store the segment's mapped size.
5368 (unload): New function.
5369 (unload_shlib): New function.
5370 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
5371 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
5372 set a breakpoint at baz, and call it.
5373 * gdb.base/sym-file.exp: New tests for stale breakpoint
5374 instructions.
5375
076855f9
PA
53762014-04-23 Pedro Alves <palves@redhat.com>
5377
5378 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
5379 * gdb.base/hbreak-in-shr-unsupported.c: New file.
5380 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
5381 * gdb.base/hbreak-unmapped.c: New file.
5382 * gdb.base/hbreak-unmapped.exp: New file.
5383 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
5384 * lib/gdb.exp (gdb_is_target_remote): ... here.
5385
483805cf
PA
53862014-04-22 Pedro Alves <palves@redhat.com>
5387
5388 * gdb.base/consecutive-step-over.c: New file.
5389 * gdb.base/consecutive-step-over.exp: New file.
5390
06d97543
PA
53912014-04-22 Pedro Alves <palves@redhat.com>
5392
5393 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
5394 instead of send_gdb/gdb_expect.
5395
b4429ea2
YQ
53962014-04-22 Yao Qi <yao@codesourcery.com>
5397
5398 * lib/trace-support.exp (generate_tracefile): New procedure.
5399 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
5400 return 0.
5401 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
5402 if generate_tracefile returns 1.
5403
51d48146
PA
54042014-04-18 Tom Tromey <palves@redhat.com>
5405 Pedro alves <tromey@redhat.com>
5406
5407 PR backtrace/15558
5408 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
5409 with a backtrace limit.
5410 * gdb.python/py-frame-inline.exp: Test running to an inline
5411 function with a backtrace limit, and printing the newest frame.
5412 * gdb.python/py-frame-inline.c (main): Call f.
5413
bd1dce5f
MS
54142014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
5415
5416 * gdb.java/jnpe.exp: Drop srcdir from untested path.
5417
40d1a503
MS
54182014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
5419
5420 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
5421 Drop prefix from unsupported source file path.
5422
389b98f7
YQ
54232014-04-17 Yao Qi <yao@codesourcery.com>
5424
5425 * lib/gdb.exp (with_target_charset): New proc.
5426 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
5427 with_target_charset.
5428 (test_print_strings): Likewise.
5429 (test_repeat_bytes): Likewise.
5430 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
5431 for some tests.
5432
22869d73
KS
54332014-04-16 Keith Seitz <keiths@redhat.com>
5434
5435 PR gdb/15827
5436 * gdb.dwarf2/corrupt.c: New file.
5437 * gdb.dwarf2/corrupt.exp: New file.
5438
c4f87ca6
KS
54392014-04-16 Keith Seitz <keiths@redhat.com>
5440
5441 PR c++/16597
5442 * gdb.cp/namelessclass.cc: New file.
5443 * gdb.cp/namelessclass.exp: New file.
5444 * gdb.cp/namelessclass.S: New file.
5445
ab19de87
DE
54462014-04-16 Doug Evans <dje@google.com>
5447
5448 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
5449 Add comment.
5450 (gdbserver_default_get_comm_port): New function.
5451 (gdbserver_start): Check if board file provided
5452 "gdbserver,get_comm_port" and use it if so.
5453 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
5454 (gdb,socketport): Set to "stdio".
5455 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
5456 (stdio_gdbserver_template): Delete.
5457 (${board}_get_remote_address): Update.
5458 (${board}_build_remote_cmd): Delete.
5459 (${board}_get_comm_port): New function.
5460 (${board}_spawn): Update.
5461 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
5462 Delete.
5463 (${board}_get_remote_address): Update.
5464 (${board}_get_comm_port): New function.
5465
fc98a809
AB
54662014-04-16 Andrew Burgess <aburgess@broadcom.com>
5467
5468 * gdb.base/memattr.exp: Improve regexps to handle memory regions
5469 appearing in any order.
5470
87fd9e6e
DE
54712014-04-15 Doug Evans <dje@google.com>
5472
5473 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
5474 uninitialized value of "description".
5475
099fc3ea
KS
54762014-04-15 Keith Seitz <keiths@redhat.com>
5477
5478 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
5479 Remove unused globals.
5480 (test_running_the_program): Likewise.
5481 (test_controlled_execution): Likewise.
5482 (test_controlling_breakpoints): Likewise.
5483 (test_program_termination): Likewise.
5484
5da151d4
KS
54852014-04-15 Keith Seitz <keiths@redhat.com>
5486
5487 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
5488 unused globals.
5489 (test_rbreak_creation_and_listing): Likewise.
5490 (test_ignore_count): Likewise.
5491 (test_error): Likewise.
5492
35e5d2f0
PA
54932014-04-15 Pedro Alves <palves@redhat.com>
5494
5495 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
5496 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
5497 sym-file-loader.c.
5498 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
5499 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
5500 to sym-file-loader.c.
5501 (struct library): Forward declare.
5502 (load_shlib, lookup_function): Change prototypes.
5503 (find_shstrtab, find_strtab, find_shdr, find_symtab)
5504 (translate_offset): Remove declarations.
5505 (get_text_addr): New declaration.
5506 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
5507 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
5508 sym-file-loader.h.
5509 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
5510 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
5511 here from sym-file-loader.h.
5512 (struct library): New structure.
5513 (load_shlib, lookup_function): Change prototypes and adjust to
5514 work with a struct library.
5515 (find_shstrtab, find_strtab, find_shdr, find_symtab)
5516 (translate_offset): Make static.
5517 (get_text_addr): New function.
5518 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
5519
eb4c1710
PA
55202014-04-15 Pedro Alves <palves@redhat.com>
5521
5522 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
5523
2d1baf52
PA
55242014-04-15 Pedro Alves <palves@redhat.com>
5525
5526 * gdb.base/sym-file-loader.c: Include <limits.h>.
5527 (SELF_LINK): New define.
5528 (get_origin): New function.
5529 (load_shlib): Use it.
5530 * gdb.base/sym-file.exp: Don't early return if the target is
5531 remote. Use runto_main, and issue fail is that fails. Use
5532 gdb_load_shlibs.
5533 (shlib_name): Delete.
5534 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
5535
7dd6df01
PA
55362014-04-15 Pedro Alves <palves@redhat.com>
5537
5538 * gdb.base/sym-file.exp: Remove regex characters from test
5539 message. Don't refer to breakpoint numbers in test messages.
5540
b50c8614
KS
55412014-04-14 Keith Seitz <keiths@redhat.com>
5542
5543 PR c++/16253
5544 * gdb.cp/var-tag.cc: New file.
5545 * gdb.cp/var-tag.exp: New file.
5546 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
5547 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
5548 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
5549 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
5550
3d567982
TT
55512014-04-14 Tom Tromey <tromey@redhat.com>
5552
5553 * gdb.cp/classes.exp (test_enums): Handle underlying type.
5554 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
5555 type.
5556 * gdb.cp/enum-class.exp: New file.
5557 * gdb.cp/enum-class.cc: New file.
5558
0626fc76
TT
55592014-04-14 Tom Tromey <tromey@redhat.com>
5560
5561 * gdb.dwarf2/enum-type.exp: New file.
5562
dca325b3
SA
55632014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5564
5565 * gdb.mi/mi-vla-c99.exp: New file.
5566 * gdb.mi/vla.c: New file.
5567
5854b38a
SA
55682014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5569
5570 * gdb.base/vla-datatypes.c: New file.
5571 * gdb.base/vla-datatypes.exp: New file.
5572
463bb957
SA
55732014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5574
5575 * gdb.base/vla-ptr.c: New file.
5576 * gdb.base/vla-ptr.exp: New file.
5577
3dd170be
SA
55782014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5579
5580 * gdb.dwarf2/count.exp: New file.
5581
5ecaaa66
SA
55822014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5583
5584 * gdb.base/vla-sideeffect.c: New file.
5585 * gdb.base/vla-sideeffect.exp: New file.
5586
41f1ada5
DB
55872014-04-14 David Blaikie <dblaikie@gmail.com>
5588
5589 * gdb.mi/non-stop.c: Add return value for non-void function return
5590 statement.
5591 * gdb.threads/staticthreads.c: Ditto.
5592
0be03e84
DE
55932014-04-12 Siva Chandra Reddy <sivachandra@google.com>
5594 Doug Evans <xdje42@gmail.com>
5595
5596 * gdb.guile/scm-value.c: Improve test case.
5597 * gdb.guile/scm-value.exp: Add new test.
5598
f180a1fb
DB
55992014-04-11 David Blaikie <dblaikie@gmail.com>
5600
5601 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
5602 override Clang's default.
5603
6b662e19
JB
56042014-04-11 Joel Brobecker <brobecker@adacore.com>
5605
5606 Revert the following changes (regressions):
5607
5608 * gdb.base/vla-sideeffect.c: New file.
5609 * gdb.base/vla-sideeffect.exp: New file.
5610
5611 * gdb.dwarf2/count.exp: New file.
5612
5613 * gdb.base/vla-multi.c: New file.
5614 * gdb.base/vla-multi.exp: New file.
5615
5616 * gdb.base/vla-ptr.c: New file.
5617 * gdb.base/vla-ptr.exp: New file.
5618
5619 * gdb.base/vla-datatypes.c: New file.
5620 * gdb.base/vla-datatypes.exp: New file.
5621
5622 * gdb.mi/mi-vla-c99.exp: New file.
5623 * gdb.mi/vla.c: New file.
5624
245a5f0b
KS
56252014-04-11 Keith Seitz <keiths@redhat.com>
5626
5627 PR c++/16675
5628 * gdb.cp/cpsizeof.exp: New file.
5629 * gdb.cp/cpsizeof.cc: New file.
5630
58a84dcf
SA
56312014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5632
191a8a90
JB
5633 * gdb.mi/mi-vla-c99.exp: New file.
5634 * gdb.mi/vla.c: New file.
58a84dcf 5635
c8655f75
SA
56362014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5637
5638 * gdb.base/vla-datatypes.c: New file.
5639 * gdb.base/vla-datatypes.exp: New file.
5640
024e13b4
SA
56412014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5642
5643 * gdb.base/vla-ptr.c: New file.
5644 * gdb.base/vla-ptr.exp: New file.
5645
1a237e0e
SA
56462014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5647
5648 * gdb.base/vla-multi.c: New file.
5649 * gdb.base/vla-multi.exp: New file.
5650
504f3432
SA
56512014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5652
5653 * gdb.dwarf2/count.exp: New file.
5654
3bce8237
SA
56552014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5656
191a8a90
JB
5657 * gdb.base/vla-sideeffect.c: New file.
5658 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 5659
322f9c21
YQ
56602014-04-11 Yao Qi <yao@codesourcery.com>
5661
5662 * gdb.base/completion.exp: Check file exists before running tests
5663 on file completion.
5664
d708bcd1
PA
56652014-04-10 Pedro Alves <palves@redhat.com>
5666
5667 * gdb.base/cond-eval-mode.c: New file.
5668 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
5669 prepare_for_testing to build the new file. Check result of
5670 runto_main.
5671 (test_break, test_watch): New procedures.
5672 (top level): Use them.
5673
ae1d2761
PM
56742014-04-08 Pierre Muller <muller@sourceware.org>
5675
5676 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
5677 Ctrl-V use for mingw hosts.
5678
7af389b8
SC
56792014-04-07 Siva Chandra Reddy <sivachandra@google.com>
5680
5681 * gdb.python/py-value.c: Improve test case.
5682 * gdb.python/py-value.exp: Add new test.
5683
5e703181
DE
56842014-04-07 David Blaikie <dblaikie@gmail.com>
5685
5686 * lib/compiler.c: Identify the clang compiler.
5687 * lib/compiler.cc: Ditto.
5688
9810b410
YQ
56892014-04-03 Yao Qi <yao@codesourcery.com>
5690
5691 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
5692
98d1b8dc
AB
56932014-04-01 Anton Blanchard <anton@samba.org>
5694
5695 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
5696 messages unique.
5697
3114cea1
AB
56982014-04-01 Anton Blanchard <anton@samba.org>
5699
5700 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
5701 prepare_for_testing.
5702
62f7182c
AB
57032014-04-01 Anton Blanchard <anton@samba.org>
5704
5705 * gdb.arch/ppc64-atomic-inst.c: Remove.
5706 * gdb.arch/ppc64-atomic-inst.S: New file.
5707 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
5708
770e7fc7
DE
57092014-03-31 Doug Evans <dje@google.com>
5710
5711 * gdb.base/print-symbol-loading-lib.c: New file.
5712 * gdb.base/print-symbol-loading-main.c: New file.
5713 * gdb.base/print-symbol-loading.exp: New file.
5714
46e2bafa
YQ
57152014-03-31 Yao Qi <yao@codesourcery.com>
5716
5717 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
5718
8776cfe9
JB
57192014-03-28 Joel Brobecker <brobecker@adacore.com>
5720
5721 * gdb.ada/mi_dyn_arr: New testcase.
5722
5d1ef361
DE
57232014-03-27 Doug Evans <dje@google.com>
5724
5725 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
5726
b5bee914
YQ
57272014-03-27 Yao Qi <yao@codesourcery.com>
5728
5729 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
5730 if target is nios2-*-*.
5731
0d4d0e77
YQ
57322014-03-26 Yao Qi <yao@codesourcery.com>
5733
5734 * lib/gdb.exp (readline_is_used): New proc.
5735 * gdb.base/completion.exp: Move tests on command complete up.
5736 Skip the rest of tests if readline is not used.
5737 * gdb.ada/complete.exp: Skp the test if readline is not
5738 used.
5739 * gdb.base/filesym.exp: Likewise.
5740 * gdb.base/macscp.exp: Likewise.
5741 * gdb.base/readline-ask.exp: Likewise.
5742 * gdb.base/readline.exp: Likewise.
5743 * gdb.python/py-cmd.exp: Likewise.
5744 * gdb.trace/tfile.exp: Likewise.
5745
29361eee
YQ
57462014-03-26 Yao Qi <yao@codesourcery.com>
5747
5748 * gdb.base/macscp.exp: Fix code format issues.
5749
bc9a5525
UW
57502014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
5751
5752 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
5753 * gdb.asm/powerpc64le.inc: New file.
5754
d3839ede
PA
57552014-03-25 Pedro Alves <palves@redhat.com>
5756 Doug Evans <dje@google.com>
5757
5758 * gdb.base/source-execution.c: New file.
5759 * gdb.base/source-execution.exp: New file.
5760 * gdb.base/source-execution.gdb: New file.
5761
01672a57
DE
57622014-03-24 Doug Evans <dje@google.com>
5763
5764 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
5765 using fission.
5766
88bbeca9
HZ
57672014-03-24 Hui Zhu <hui@codesourcery.com>
5768 Pedro Alves <palves@redhat.com>
5769
5770 PR breakpoints/16101
5771 * gdb.base/dprintf.exp: Use unsupported rather than changing the
5772 test pass/fail messages. Detect missing support for dprintf when
5773 breakpoints are actually inserted.
5774 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
5775 breakpoints are actually inserted.
5776 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
5777 fails.
5778
d2348791
JK
57792014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5780
5781 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
5782
feef67ab
DE
57832014-03-22 Doug Evans <xdje42@gmail.com>
5784
5785 * gdb.python/python.exp (python not supported): Verify multi-line
5786 python command issues an error.
25d743f9 5787 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 5788 guile command issues an error.
feef67ab 5789
ecebef6a
MR
57902014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
5791
5792 * gdb.threads/thread-specific.exp: Handle the lack of usable
5793 $this_breakpoint and $this_thread.
5794
ccdd1909
HZ
57952014-03-21 Hui Zhu <hui@codesourcery.com>
5796
5797 * gdb.base/attach.exp (do_command_attach_tests): New.
5798
beb460e8
PA
57992014-03-20 Tom Tromey <tromey@redhat.com>
5800 Pedro Alves <palves@redhat.com>
5801
5802 PR cli/15718
5803 * gdb.base/condbreak-call-false.c: New file.
5804 * gdb.base/condbreak-call-false.exp: New file.
5805
40acf43a
PA
58062014-03-20 Pedro Alves <palves@redhat.com>
5807
5808 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
5809 Delete.
5810 (block_signals, unblock_signals): Delete.
5811 (child_function_2, main): Remove references to deleted variable
5812 and functions.
5813
9f5e1e02
PA
58142014-03-20 Pedro Alves <palves@redhat.com>
5815
5816 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
5817 Use pthread_kill to signal thread 2.
5818 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5819 Adjust to make the test send itself a signal rather than using the
5820 host's "kill" command.
5821
99619bea
PA
58222014-03-20 Pedro Alves <palves@redhat.com>
5823
5824 * gdb.threads/multiple-step-overs.c: New file.
5825 * gdb.threads/multiple-step-overs.exp: New file.
5826 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5827 Adjust expected infrun debug output.
5828
2adfaa28
PA
58292014-03-20 Pedro Alves <palves@redhat.com>
5830
5831 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
5832 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
5833
31e77af2
PA
58342014-03-20 Pedro Alves <palves@redhat.com>
5835
5836 PR breakpoints/7143
5837 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
5838 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
5839 of gdb_test_multiple.
5840 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
5841 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
5842
b9f437de
PA
58432014-03-20 Pedro Alves <palves@redhat.com>
5844
5845 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
5846 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
5847
05adc73e
PA
58482014-03-19 Pedro Alves <palves@redhat.com>
5849
5850 * gdb.base/async.exp: Remove early return.
5851
6048b950
PA
58522014-03-19 Pedro Alves <palves@redhat.com>
5853
5854 * gdb.base/async.exp (step& tests): Pass explicit test messages.
5855
8bcfb00a
PA
58562014-03-19 Pedro Alves <palves@redhat.com>
5857
5858 * gdb.base/async.exp (test_background): Expect \r\n after
5859 "completed." in the fail pattern.
5860
884e37dc
PA
58612014-03-19 Pedro Alves <palves@redhat.com>
5862
5863 * gdb.base/async.exp (test_background): New procedure.
5864 Use it for all background execution command tests.
5865
148e57e2
PA
58662014-03-19 Pedro Alves <palves@redhat.com>
5867
5868 * gdb.base/async.exp: Use prepare_for_testing.
5869
f48088c7
PA
58702014-03-19 Pedro Alves <palves@redhat.com>
5871
5872 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
5873 the same line.
5874
e2f6c966
PA
58752014-03-19 Pedro Alves <palves@redhat.com>
5876
5877 * gdb.base/async.c (main): Add "jump here" and "until here" line
5878 marker comments.
5879 * gdb.base/async.exp (jump_here): New global.
5880 (jump& test): Use it.
5881 (until_here): New global.
5882 (until& test): Use it.
5883
c30568d4
PA
58842014-03-19 Pedro Alves <palves@redhat.com>
5885
5886 * gdb.base/async.exp: Don't frob gdb_protocol.
5887
0172b6a7
DE
58882014-03-18 Doug Evans <xdje42@gmail.com>
5889
5890 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
5891 Fix spelling of exec-done-display.
5892
06c868a8
JK
58932014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5894
5895 PR gdb/15358
5896 * gdb.base/gdb-sigterm.c: New file.
5897 * gdb.base/gdb-sigterm.exp: New file.
5898
0c7e1a46
PA
58992014-03-18 Pedro Alves <palves@redhat.com>
5900
5901 PR gdb/13860
5902 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
5903 * lib/mi-support.exp (mi_expect_stop): Add special handling for
5904 solib-event.
5905
f7c77d93
JB
59062014-03-17 Joel Brobecker <brobecker@adacore.com>
5907
5908 * gdb.ada/pckd_arr_ren: New testcase.
5909
5a1e8c7a
DE
59102014-03-13 Doug Evans <xdje42@gmail.com>
5911
5912 PR guile/16612
5913 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
5914 collect after discarding symbols.
5915
350e1a76
DE
59162014-03-13 Ludovic Courtès <ludo@gnu.org>
5917 Doug Evans <xdje42@gmail.com>
5918
5919 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
5920 to history survives a gc.
5921
a69900ae
PA
59222014-03-13 Pedro Alves <palves@redhat.com>
5923
5924 * gdb.base/default.exp: Don't test "target procfs".
5925
5db9f0bd
PA
59262014-03-13 Pedro Alves <palves@redhat.com>
5927
5928 * gdb.base/default.exp: Update "target child" and "target procfs"
5929 tests to not expect "Unix".
5930
b3ccfe11
TT
59312014-03-12 Tom Tromey <tromey@redhat.com>
5932
5933 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
5934 New procs. Add target-async tests.
5935 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
5936 Add target-async tests.
5937
646f4417
AA
59382014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5939
5940 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
5941 'func_start' and 'func_end' for the beginning and end of the
5942 function code, respectively.
5943 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
5944 'func_end' instead of 'func' and 'main'.
5945
288c211f
AA
59462014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5947
5948 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
5949 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
5950 generate the debug info assembler source.
5951
e0c0f156
AA
59522014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5953
5954 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
5955 * gdb.dwarf2/arr-subrange.exp: Likewise.
5956 * gdb.dwarf2/dwz.exp: Likewise.
5957 * gdb.dwarf2/method-ptr.exp: Likewise.
5958 * gdb.dwarf2/missing-sig-type.exp: Likewise.
5959 * gdb.dwarf2/subrange.exp: Likewise.
5960 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
5961 * gdb.dwarf2/implptrpiece.exp: Likewise.
5962 * gdb.dwarf2/nostaticblock.exp: Likewise.
5963
0e5c4555
AA
59642014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5965
5966 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
5967 directory to absolute path name arguments.
5968
5ec18f2b
JG
59692014-03-10 Joel Brobecker <brobecker@adacore.com>
5970
5971 * gdb.ada/tagged_access: New testcase.
5972
847fc4f2
MM
59732014-03-07 Markus Metzger <markus.t.metzger@intel.com>
5974
5975 * gdb.btrace/data.exp: Update expected output.
5976
cc3da688
YQ
59772014-03-06 Yao Qi <yao@codesourcery.com>
5978
5979 * gdb.trace/pr16508.exp: New file.
5980
0f26cec1
PA
59812014-03-05 Pedro Alves <palves@redhat.com>
5982
5983 PR gdb/16575
5984 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
5985 procedure.
5986 (top level): Adjust to use it. Add tests that exercise breakpoint
5987 interaction with the code-cache.
5988
7a5a839f
LC
59892014-02-26 Ludovic Courtès <ludo@gnu.org>
5990
5991 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
5992 test for 'history-append!'.
5993
31aa7e4e
JB
59942014-02-26 Joel Brobecker <brobecker@adacore.com>
5995
5996 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
5997 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
5998 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
5999 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
6000 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
6001 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
6002
1b588015
JB
60032014-02-26 Joel Brobecker <brobecker@adacore.com>
6004
6005 * testsuite/gdb.python/py-pp-re-notag.c: New file.
6006 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
6007 * testsuite/gdb.python/py-pp-re-notag.p: New file.
6008
55426c9d
JB
60092014-02-26 Joel Brobecker <brobecker@adacore.com>
6010
6011 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
6012
dc53a7ad
JB
60132014-02-26 Joel Brobecker <brobecker@adacore.com>
6014
6015 * gdb.dwarf2/arr-stride.c: New file.
6016 * gdb.dwarf2/arr-stride.exp: New file.
6017
12ab52e9
PA
60182014-02-26 Pedro Alves <palves@redhat.com>
6019
6020 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
6021 that won't ever trigger. Make sure that GDB reports the correct
6022 breakpoint that caused the stop.
6023
849c862e
JK
60242014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6025
6026 PR gdb/16626
6027 * gdb.base/auto-load-script: New file.
6028 * gdb.base/auto-load.c: New file.
6029 * gdb.base/auto-load.exp: New file.
6030
71b7d793
JK
6031 PR gdb/16626
6032 * gdb.base/auto-load.exp: Fix out-of-srctree run.
6033
e2f0d509
JK
60342014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6035
6036 Fix dw2-icycle.exp -fsanitize=address GDB crash.
6037 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
6038
50cc37c8
DE
60392014-02-24 Doug Evans <dje@google.com>
6040
6041 * lib/gdb.exp (run_on_host): Log error output if program fails.
6042
ea4758f2
PA
60432014-02-21 Pedro Alves <palves@redhat.com>
6044
6045 * gdb.threads/step-after-sr-lock.c: Rename to ...
6046 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
6047 * gdb.threads/step-after-sr-lock.exp: Rename to ...
6048 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6049 ... this.
6050
d7b30f67
SDJ
60512014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
6052
6053 PR tdep/16397
6054 * gdb.arch/amd64-stap-special-operands.exp: New file.
6055 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
6056 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
6057 * gdb.arch/amd64-stap-triplet.S: Likewise.
6058 * gdb.arch/amd64-stap-triplet.c: Likewise.
6059
83deb43f
JB
60602014-02-20 Joel Brobecker <brobecker@adacore.com>
6061
6062 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
6063 in .section pseudo-op.
6064
adde2bff
DE
60652014-02-20 lin zuojian <manjian2006@gmail.com>
6066 Joel Brobecker <brobecker@adacore.com>
6067 Doug Evans <xdje42@gmail.com>
6068
6069 PR symtab/16581
6070 * gdb.dwarf2/dw2-icycle.S: New file.
6071 * gdb.dwarf2/dw2-icycle.c: New file.
6072 * gdb.dwarf2/dw2-icycle.exp: New file.
6073
f7bd0f78
SC
60742014-02-19 Siva Chandra Reddy <sivachandra@google.com>
6075
6076 * gdb.python/py-value-cc.cc: Improve test case to enable testing
6077 operations on gdb.Value objects.
6078 * gdb.python/py-value-cc.exp: Add new test to test operations on
6079 gdb.Value objects.
6080
c17ef0d5
DE
60812014-02-18 Doug Evans <dje@google.com>
6082
6083 * Makefile.in (TESTS): New variable.
6084 (expanded_tests, expanded_tests_or_none): New variables
6085 (check-single): Pass $(expanded_tests_or_none) to runtest.
6086 (check-parallel): Only run tests in $(TESTS) if non-empty.
6087 (check/no-matching-tests-found): New rule.
6088 * README: Document TESTS makefile variable.
6089
5dd3176f
DE
60902014-02-18 Doug Evans <dje@google.com>
6091
6092 * Makefile.in (check-parallel): rm -rf outputs temp.
6093
0b10be4f
JK
60942014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6095
6096 Fix "ERROR: no fileid for" in the testsuite.
6097 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
6098
85f224e7
DE
60992014-02-12 Doug Evans <dje@google.com>
6100
6101 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
6102 (MISCELLANEOUS): New variable.
6103 (clean): rm -rf $(MISCELLANEOUS).
6104 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
6105 dwp live in the same directory as symlinks, with each symlink pointed
6106 to a differently named file in a different directory.
6107
149b30ff
DE
61082014-02-11 Doug Evans <dje@google.com>
6109
6110 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
6111 of Tcl file commands.
6112
1dfdac32
MK
61132014-02-10 Mark Kettenis <kettenis@gnu.org>
6114
6115 * gdb.threads/step-after-sr-lock.exp: Avoid executing
6116 "kill -SIGUSR1 -1".
6117
aa4fb036
JB
61182014-02-10 Joel Brobecker <brobecker@adacore.com>
6119
6120 * gdb.ada/tick_length_array_enum_idx: New testcase.
6121
ed3ef339
DE
61222014-02-10 Doug Evans <xdje42@gmail.com>
6123
6124 * configure.ac (AC_OUTPUT): Add gdb.guile.
6125 * configure: Regenerate.
6126 * lib/gdb-guile.exp: New file.
6127 * lib/gdb.exp (get_target_charset): New function.
6128 * gdb.base/help.exp: Update expected output from "apropos apropos".
6129 * gdb.guile/Makefile.in: New file.
6130 * gdb.guile/guile.exp: New file.
6131 * gdb.guile/scm-arch.c: New file.
6132 * gdb.guile/scm-arch.exp: New file.
6133 * gdb.guile/scm-block.c: New file.
6134 * gdb.guile/scm-block.exp: New file.
6135 * gdb.guile/scm-breakpoint.c: New file.
6136 * gdb.guile/scm-breakpoint.exp: New file.
6137 * gdb.guile/scm-disasm.c: New file.
6138 * gdb.guile/scm-disasm.exp: New file.
6139 * gdb.guile/scm-equal.c: New file.
6140 * gdb.guile/scm-equal.exp: New file.
6141 * gdb.guile/scm-error.exp: New file.
6142 * gdb.guile/scm-error.scm: New file.
6143 * gdb.guile/scm-frame-args.c: New file.
6144 * gdb.guile/scm-frame-args.exp: New file.
6145 * gdb.guile/scm-frame-args.scm: New file.
6146 * gdb.guile/scm-frame-inline.c: New file.
6147 * gdb.guile/scm-frame-inline.exp: New file.
6148 * gdb.guile/scm-frame.c: New file.
6149 * gdb.guile/scm-frame.exp: New file.
6150 * gdb.guile/scm-generics.exp: New file.
6151 * gdb.guile/scm-gsmob.exp: New file.
6152 * gdb.guile/scm-iterator.c: New file.
6153 * gdb.guile/scm-iterator.exp: New file.
6154 * gdb.guile/scm-math.c: New file.
6155 * gdb.guile/scm-math.exp: New file.
6156 * gdb.guile/scm-objfile-script-gdb.in: New file.
6157 * gdb.guile/scm-objfile-script.c: New file.
6158 * gdb.guile/scm-objfile-script.exp: New file.
6159 * gdb.guile/scm-objfile.c: New file.
6160 * gdb.guile/scm-objfile.exp: New file.
6161 * gdb.guile/scm-ports.exp: New file.
6162 * gdb.guile/scm-pretty-print.c: New file.
6163 * gdb.guile/scm-pretty-print.exp: New file.
6164 * gdb.guile/scm-pretty-print.scm: New file.
6165 * gdb.guile/scm-section-script.c: New file.
6166 * gdb.guile/scm-section-script.exp: New file.
6167 * gdb.guile/scm-section-script.scm: New file.
6168 * gdb.guile/scm-symbol.c: New file.
6169 * gdb.guile/scm-symbol.exp: New file.
6170 * gdb.guile/scm-symtab-2.c: New file.
6171 * gdb.guile/scm-symtab.c: New file.
6172 * gdb.guile/scm-symtab.exp: New file.
6173 * gdb.guile/scm-type.c: New file.
6174 * gdb.guile/scm-type.exp: New file.
6175 * gdb.guile/scm-value-cc.cc: New file.
6176 * gdb.guile/scm-value-cc.exp: New file.
6177 * gdb.guile/scm-value.c: New file.
6178 * gdb.guile/scm-value.exp: New file.
6179 * gdb.guile/source2.scm: New file.
6180 * gdb.guile/types-module.cc: New file.
6181 * gdb.guile/types-module.exp: New file.
6182
7026a7c1
YQ
61832014-02-10 Yao Qi <yao@codesourcery.com>
6184
6185 PR testsuite/16543
6186 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
6187 * configure: Regenerated.
6188 * Makefile.in: New file.
6189
6c466447
AS
61902014-02-08 Andreas Schwab <schwab@linux-m68k.org>
6191
6192 * gdb.python/py-framefilter.exp: Fix typo.
6193
6e854735
YQ
61942014-02-08 Yao Qi <yao@codesourcery.com>
6195
6196 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
6197 that no =breakpoint-modified is emitted when breakpoints are
6198 modified through MI commands.
6199
d137e6dc
PA
62002014-02-07 Pedro Alves <pedro@codesourcery.com>
6201 Pedro Alves <palves@redhat.com>
6202
6203 * gdb.threads/step-after-sr-lock.c: New file.
6204 * gdb.threads/step-after-sr-lock.exp: New file.
6205
b5ee5a50
PA
62062014-02-07 Pedro Alves <palves@redhat.com>
6207
6208 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
6209
3c77faf3
JK
62102014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6211
6212 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
6213 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
6214
6dddc817
DE
62152014-02-06 Doug Evans <xdje42@gmail.com>
6216
6217 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
6218 output.
6219
6220 * gdb.gdb/python-interrupts.exp: New file.
6221
de7b2893
YQ
62222014-02-05 Yao Qi <yao@codesourcery.com>
6223
6224 * gdb.trace/report.exp (use_collected_data): Test the output
6225 of "info threads" and "info inferiors".
6226
66d032ac
YQ
62272014-02-05 Yao Qi <yao@codesourcery.com>
6228
6229 Revert this patch:
6230
6231 2013-05-24 Yao Qi <yao@codesourcery.com>
6232
6233 * gdb.trace/tfile.exp: Test inferior and thread.
6234
591a12a1
UW
62352014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6236
6237 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
6238 on a function.
6239 * gdb.base/step-bt.c: Call hello via function pointer to make
6240 sure its first instruction is executed on powerpc64le-linux.
6241
0ff3e01f
UW
62422014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6243
6244 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
6245
084ee545
UW
62462014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6247
6248 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
6249 of the test patterns for use on little-endian systems.
6250
6ed14ff3
UW
62512014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6252
6253 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
6254 (decimal_vector): Fix for little-endian.
6255
401e27fd
JM
62562014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
6257
6258 * gdb.arch/sparc-sysstep.exp: New file.
6259 * gdb.arch/sparc-sysstep.c: Likewise.
6260
6261 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
6262
8b924729
EBM
62632014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6264
6265 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
6266
fb151210
JB
62672014-01-23 Tom Tromey <tromey@redhat.com>
6268
6269 * gdb.ada/array_char_idx: New testcase.
6270
0740f8d8
TT
62712014-01-23 Tom Tromey <tromey@redhat.com>
6272
6273 PR python/16487:
6274 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
6275 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
6276 classes.
6277
21909fa1
TT
62782014-01-23 Tom Tromey <tromey@redhat.com>
6279
6280 PR python/16491:
6281 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
6282 string from an inferior frame.
6283 * gdb.python/py-framefilter-mi.exp: Update.
6284
87ce2a04
DE
62852014-01-22 Doug Evans <dje@google.com>
6286
6287 * gdb.server/server-mon.exp: Add tests for "set debug-format".
6288
237b092b
AA
62892014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6290
6291 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
6292
d674a709
AA
62932014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6294
6295 * gdb.trace/entry-values.exp: Remove excess space character from
6296 regex patterns. Handle s390 call instruction.
6297
20fa3390
AA
62982014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6299
6300 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
6301 define "*_start" label. Make "name" static.
6302 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
6303 ${name} by references to ${name}_start.
6304
78466714
AA
63052014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6306
6307 * gdb.base/info-macros.exp: Remove "debug" from the compile
6308 options.
6309
ec9f644a
IB
63102014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6311
6312 * gdb.dlang/demangle.exp: New file.
6313
94b1b47e
IB
63142014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6315
6316 * gdb.dlang/primitive-types.exp: New file.
6317
7f420862
IB
63182014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6319
6320 * configure.ac: Create gdb.dlang/Makefile.
6321 * configure: Regenerate.
6322 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
6323 * gdb.dlang/Makefile.in: New file.
6324 * lib/d-support.exp: New file.
6325 * lib/gdb.exp (skip_d_tests): New proc.
6326
52834460
MM
63272014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6328
6329 * gdb.btrace/delta.exp: Check reverse stepi.
6330 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
6331 * gdb.btrace/finish.exp: New.
6332 * gdb.btrace/next.exp: New.
6333 * gdb.btrace/nexti.exp: New.
6334 * gdb.btrace/record_goto.c: Add comments.
6335 * gdb.btrace/step.exp: New.
6336 * gdb.btrace/stepi.exp: New.
6337 * gdb.btrace/multi-thread-step.c: New.
6338 * gdb.btrace/multi-thread-step.exp: New.
6339 * gdb.btrace/rn-dl-bind.c: New.
6340 * gdb.btrace/rn-dl-bind.exp: New.
6341 * gdb.btrace/data.c: New.
6342 * gdb.btrace/data.exp: New.
6343 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
6344
6e07b1d2
MM
63452014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6346
6347 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
6348 * gdb.btrace/exception.exp: Update.
6349 * gdb.btrace/instruction_history.exp: Update.
6350 * gdb.btrace/record_goto.exp: Update.
6351 * gdb.btrace/tailcall.exp: Update.
6352 * gdb.btrace/unknown_functions.exp: Update.
6353 * gdb.btrace/delta.exp: New.
6354
0b722aec
MM
63552014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6356
6357 * gdb.btrace/record_goto.exp: Add backtrace test.
6358 * gdb.btrace/tailcall.exp: Add backtrace test.
6359
066ce621
MM
63602014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6361
6362 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
6363 * gdb.btrace/record_goto.c: New.
6364 * gdb.btrace/record_goto.exp: New.
6365 * gdb.btrace/x86-record_goto.S: New.
6366
0688d04e
MM
63672014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6368
6369 * gdb.btrace/function_call_history.exp: Update tests.
6370 * gdb.btrace/instruction_history.exp: Update tests.
6371
8710b709
MM
63722014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6373
6374 * gdb.btrace/function_call_history.exp: Fix expected field
6375 order for "record function-call-history".
6376 Add new tests for "record function-call-history /c".
6377 * gdb.btrace/exception.cc: New.
6378 * gdb.btrace/exception.exp: New.
6379 * gdb.btrace/tailcall.exp: New.
6380 * gdb.btrace/x86-tailcall.S: New.
6381 * gdb.btrace/x86-tailcall.c: New.
6382 * gdb.btrace/unknown_functions.c: New.
6383 * gdb.btrace/unknown_functions.exp: New.
6384 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
6385
5de9129b
MM
63862014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6387
6388 * gdb.btrace/instruction_history.exp: Update.
6389 * gdb.btrace/function_call_history.exp: Update.
6390
23a7fe75
MM
63912014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6392
6393 * gdb.btrace/function_call_history.exp: Fix expected function
6394 trace.
6395 * gdb.btrace/instruction_history.exp: Initialize traced.
6396 Remove traced_functions.
6397
724c7dd8
MM
63982014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6399
6400 * gdb.btrace/function_call_history.exp: Update
6401 * gdb.btrace/instruction_history.exp: Update.
6402
6d78d93b
MM
64032014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6404
6405 * gdb.btrace/enable.exp: Update expected text.
6406
93a360cc
OJ
64072014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
6408
6409 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
6410 bytes.
6411
3772b53f
MR
64122014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
6413
6414 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
6415
596662fa
OJ
64162014-01-15 Omair Javaid <omair.javaid@linaro.org>
6417
6418 * lib/gdb.exp (supports_process_record): Return true for
6419 arm*-linux*. (supports_reverse): Likewise.
6420
b5b08fb4
SC
64212014-01-13 Siva Chandra Reddy <sivachandra@google.com>
6422
6423 PR python/15464
6424 PR python/16113
6425 * gdb.python/py-type.c: Enhance test case.
6426 * gdb.python/py-value-cc.cc: Likewise
6427 * gdb.python/py-type.exp: Add new tests.
6428 * gdb.python/py-value-cc.exp: Likewise
6429
52d7fb13
AA
64302014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
6431 Pedro Alves <palves@redhat.com>
6432
6433 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
6434 Make "name" extern.
6435 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
6436 references to ${name}_start by references to ${name}.
6437
a2cd8cfe
JB
64382014-01-10 Joel Brobecker <brobecker@adacore.com>
6439
6440 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
6441
4e23fced
JB
64422014-01-10 Joel Brobecker <brobecker@adacore.com>
6443
6444 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
6445
c6a9e42c
PA
64462014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
6447 Pedro Alves <palves@redhat.com>
6448
6449 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 6450 mi_gdb_target_load.
c6a9e42c 6451
b7ea362b
PA
64522014-01-08 Pedro Alves <palves@redhat.com>
6453
6454 * gdb.threads/reconnect-signal.c: New file.
6455 * gdb.threads/reconnect-signal.exp: New file.
6456
5e3f4fab
EBM
64572014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6458
6459 * gdb.base/source-dir.exp: New file.
6460
79301218
JB
64612014-01-07 Joel Brobecker <brobecker@adacore.com>
6462
6463 * gdb.ada/mi_interface: New testcase.
6464
8e355c5d
JB
64652014-01-07 Joel Brobecker <brobecker@adacore.com>
6466
6467 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
6468 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
6469 gdb.ada/pp-rec-component/pck.ads: New files.
6470
c0d48811
JB
64712014-01-07 Joel Brobecker <brobecker@adacore.com>
6472
6473 * gdb.python/py-pp-integral.c: New file.
6474 * gdb.python/py-pp-integral.py: New file.
6475 * gdb.python/py-pp-integral.exp: New file.
6476
17b609c3 6477For older changes see ChangeLog-1993-2013.
c906108c 6478\f
8d8cb839
EZ
6479;; Local Variables:
6480;; mode: change-log
6481;; left-margin: 8
6482;; fill-column: 74
6483;; version-control: never
6484;; End:
902f2ccb 6485
32d0add0 6486 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
6487 Copying and distribution of this file, with or without modification,
6488 are permitted provided the copyright notice and this notice are preserved.
This page took 3.200886 seconds and 4 git commands to generate.