Print address map in output of "mt print psymbols"
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
27dc26ab
JK
12015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2
3 * gdb.compile/compile.exp (compile code globalvar): Update expectation
4 for a change by "Mention language in compile error message".
5
bed91f4d
SM
62015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
7
8 PR python/18073
9 * gdb.python/py-type.c (C::a_method): New.
10 (C::a_const_method): New.
11 (C::a_static_method): New.
12 (a_function): New.
13 * gdb.python/py-type.exp (test_fields): Test getting fields
14 from function and method.
15
3f2f83dd
KB
162015-10-21 Keven Boell <keven.boell@intel.com>
17
18 * gdb.fortran/vla-alloc-assoc.exp: New file.
19 * gdb.fortran/vla-datatypes.exp: New file.
20 * gdb.fortran/vla-datatypes.f90: New file.
21 * gdb.fortran/vla-history.exp: New file.
22 * gdb.fortran/vla-ptype-sub.exp: New file.
23 * gdb.fortran/vla-ptype.exp: New file.
24 * gdb.fortran/vla-sizeof.exp: New file.
25 * gdb.fortran/vla-sub.f90: New file.
26 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
27 * gdb.fortran/vla-value-sub-finish.exp: New file.
28 * gdb.fortran/vla-value-sub.exp: New file.
29 * gdb.fortran/vla-value.exp: New file.
30 * gdb.fortran/vla-ptr-info.exp: New file.
31 * gdb.mi/mi-vla-fortran.exp: New file.
32 * gdb.mi/vla.f90: New file.
33
27145d50
SL
342015-10-21 Sandra Loosemore <sandra@codesourcery.com>
35
36 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
37 of hardwired timeout value.
38
5f3ff4f8
JK
392015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
40 Pedro Alves <palves@redhat.com>
41
42 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
43 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
44
bfd09d20
JS
452015-10-19 Josh Stone <jistone@redhat.com>
46
47 * gdb.base/catch-syscall.c: Include <sched.h>.
48 (unknown_syscall): New variable.
49 (main): Trigger a vfork and an unknown syscall.
50 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
51 (unknown_syscall_number): Likewise.
52 (check_call_to_syscall): Accept an optional syscall pattern.
53 (check_return_from_syscall): Likewise.
54 (check_continue): Likewise.
55 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
56 (test_catch_syscall_skipping_return): New test toggling off 'catch
57 syscall' to step over the syscall return, then toggling back on.
58 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
59 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
60 (do_syscall_tests): Call test_catch_syscall_without_args and
61 test_catch_syscall_mid_vfork.
62 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
63 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
64
b32b93c6
AS
652015-10-19 Andrew Stubbs <ams@codesourcery.com>
66
67 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
68 print g_vE): Add new pass patterns.
69 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
70 print various symbol names for vptr fields.
71
9d622bda
AB
722015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
73
74 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
75 results.
76
0fd8ac1c
YQ
772015-10-12 Yao Qi <yao.qi@linaro.org>
78
79 * gdb.arch/disp-step-insn-reloc.exp: New test case.
80
34240514
YQ
812015-10-12 Yao Qi <yao.qi@linaro.org>
82
83 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
84 is aarch64*-*-linux*.
85
8240f442
YQ
862015-10-12 Yao Qi <yao.qi@linaro.org>
87
88 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
89 (can_relocate_bcond_true): ... it.
90 (can_relocate_bcond_false): New function.
91 (foo): Likewise.
92 (can_relocate_bl): Likewise.
93 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
94 can_relocate_bl.
95
2520f728
PMR
962015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
97
98 * gdb.base/nested-addr.c: New file.
99 * gdb.base/nested-addr.exp: New testcase.
100
abcef95a
MM
1012015-10-09 Markus Metzger <markus.t.metzger@intel.com>
102
103 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
104 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
105 its output. Ignore the output of "record goto begin" and instead
106 check that GDB is replaying.
107
145e3ddb
PA
1082015-10-09 Pedro Alves <palves@redhat.com>
109
110 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
111 (top level): Use it in the run with no args test.
112
d5d8c4e1
IB
1132015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
114
115 * gdb.dlang/properties.exp: New file.
116
06e635ef
SL
1172015-10-02 Sandra Loosemore <sandra@codesourcery.com>
118
119 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
120 whether or not address 0x1000 is mapped on the target.
121
e019fd1d
SM
1222015-09-30 Simon Marchi <simon.marchi@ericsson.com>
123
124 * gdb.python/py-type.exp: Do not run tests if binaries fail to
125 build.
126
77ba2a67
MM
1272015-09-30 Markus Metzger <markus.t.metzger@intel.com>
128
129 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
130 instruction-history test.
131
c60eb31f
DE
1322015-09-28 Doug Evans <dje@google.com>
133
134 * gdb.base/gcore.c (array_func): Add reference to static_array.
135
9a3c8263
SM
1362015-09-25 Simon Marchi <simon.marchi@ericsson.com>
137
138 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
139 source line.
140
9720e656
SL
1412015-09-24 Sandra Loosemore <sandra@codesourcery.com>
142
143 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
144 short or char as base type.
145
938d3bf2
SL
1462015-09-23 Sandra Loosemore <sandra@codesourcery.com>
147
148 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
149 to allow any size enum.
150
e6c2c623
PMR
1512015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
152
153 * gdb.ada/array_ptr_renaming.exp: New testcase.
154 * gdb.ada/array_ptr_renaming/foo.adb: New file.
155 * gdb.ada/array_ptr_renaming/pack.ads: New file.
156
06da0f77
PL
1572015-09-21 Pierre Langlois <pierre.langlois@arm.com>
158
159 * gdb.trace/ftrace-lock.c: New file.
160 * gdb.trace/ftrace-lock.exp: New file.
161
4f51c22a
PL
1622015-09-21 Pierre Langlois <pierre.langlois@arm.com>
163
164 * gdb.arch/insn-reloc.c: New file.
165 * gdb.arch/ftrace-insn-reloc.exp: New file.
166
7041adf4
PL
1672015-09-21 Pierre Langlois <pierre.langlois@arm.com>
168
169 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
170 instruction.
171 * gdb.trace/pendshr1.c (pendfunc): Likewise.
172 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
173 * gdb.trace/range-stepping.c: Likewise.
174 * gdb.trace/trace-break.c: Likewise.
175 * gdb.trace/trace-mt.c (thread_function): Likewise.
176 * gdb.trace/ftrace.c (marker): Likewise.
177 * gdb.trace/trace-condition.c (marker): Likewise.
178 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
179 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
180 is_aarch64_target.
181
015d2e7e
DE
1822015-09-18 Doug Evans <xdje42@gmail.com>
183
184 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
185 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
186
26b188a2
SL
1872015-09-18 Sandra Loosemore <sandra@codesourcery.com>
188
189 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
190 the breakpoint.
191
79dc332b
SL
1922015-09-18 Sandra Loosemore <sandra@codesourcery.com>
193
194 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
195 the pending breakpoint. Remove timeout override for "Run till
196 MI pending breakpoint on pendfunc3 on thread 2" test.
197
f57929f2
SL
1982015-09-18 Sandra Loosemore <sandra@codesourcery.com>
199
200 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
201 filename pattern.
202
3f469b17
SL
2032015-09-18 Sandra Loosemore <sandra@codesourcery.com>
204
205 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
206 in breakpoint filename pattern.
207
515b89b3
SL
2082015-09-18 Sandra Loosemore <sandra@codesourcery.com>
209
7800dbe4
SL
210 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
211
2122015-09-18 Sandra Loosemore <sandra@codesourcery.com>
213
515b89b3
SL
214 * gdb.linespec/explicit.exp: Check for readline support for
215 tab-completion tests. Fix obvious typo.
216
d2939ba2
MM
2172015-09-18 Markus Metzger <markus.t.metzger@intel.com>
218
219 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
220 and replay.
221
cbb55fa7
MM
2222015-09-18 Markus Metzger <markus.t.metzger@intel.com>
223
224 * gdb.btrace/non-stop.c: New.
225 * gdb.btrace/non-stop.exp: New.
226
43691ca1
PL
2272015-09-17 Pierre Langlois <pierre.langlois@arm.com>
228 Yao Qi <yao.qi@linaro.org>
229
230 * gdb.trace/trace-condition.c: New file.
231 * gdb.trace/trace-condition.exp: New file.
232
d78908cf
WW
2332015-09-16 Wei-cheng Wang <cole945@gmail.com>
234
235 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
236 for testing bytecode compilation.
237
1ed415e2
PA
2382015-09-16 Pedro Alves <palves@redhat.com>
239 Sandra Loosemore <sandra@codesourcery.com>
240
241 * gdb.threads/non-stop-fair-events.c (timeout): New global.
242 (SECONDS): Redefine.
243 (main): Call pthread_kill and alarm early.
244 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
245 support.
246 (test): If the target can't hardware step and doesn't support
247 displaced stepping, increase the timeout.
248
d136eff5
PA
2492015-09-16 Pedro Alves <palves@redhat.com>
250
251 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
252 (enable_debug): New procedures.
253 (test): Use them. Bail out if waiting for threads fails.
254 (top level): Bail out if a test fails.
255
991f019c
YQ
2562015-09-16 Yao Qi <yao.qi@linaro.org>
257
258 * gdb.asm/asm-source.exp: Set asm-arch for
259 aarch64*-*-* target.
260 * gdb.asm/aarch64.inc: New file.
261
bfca584f
PMR
2622015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
263
264 * gdb.ada/array_of_variable_length.exp: New testcase.
265 * gdb.ada/array_of_variable_length/foo.adb: New file.
266 * gdb.ada/array_of_variable_length/pck.adb: New file.
267 * gdb.ada/array_of_variable_length/pck.ads: New file.
268
b326e587
DE
2692015-09-15 Doug Evans <dje@google.com>
270
271 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
272 of function static local variable.
273
5382cfab
PW
2742015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
275
276 * gdb.threads/tls-so_extern.exp: New test file.
277 * gdb.threads/tls-so_extern.c: New test file.
278 * gdb.threads/tls-so_extern_main.c: New test file.
279
141c5cc4
JK
2802015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
281
282 * gdb.opt/solib-intra-step-lib.c: New file.
283 * gdb.opt/solib-intra-step-main.c: New file.
284 * gdb.opt/solib-intra-step.exp: New file.
285
d15dcecd
PA
2862015-09-15 Pedro Alves <palves@redhat.com>
287
288 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
289 gdb_continue_to_breakpoint instead of gdb_test_multiple.
290
4c2f2a79
PA
2912015-09-14 Pedro Alves <palves@redhat.com>
292
293 * gdb.base/hook-stop-continue.c: Delete.
294 * gdb.base/hook-stop-continue.exp: Delete.
295 * gdb.base/hook-stop-frame.c: Delete.
296 * gdb.base/hook-stop-frame.exp: Delete.
297 * gdb.base/hook-stop.c: New file.
298 * gdb.base/hook-stop.exp: New file.
299
919e6dbe
PMR
3002015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
301
302 * gdb.ada/access_to_packed_array.exp: New testcase.
303 * gdb.ada/access_to_packed_array/foo.adb: New file.
304 * gdb.ada/access_to_packed_array/pack.adb: New file.
305 * gdb.ada/access_to_packed_array/pack.ads: New file.
306
157280a4
MM
3072015-09-14 Markus Metzger <markus.t.metzger@intel.com>
308
309 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
310 buffer size test.
311
2fd33e94
DB
3122015-09-11 Don Breazeal <donb@codesourcery.com>
313
314 * gdb.base/foll-exec.c: Add copyright header. Fix
315 formatting issues.
316 * gdb.base/foll-exec.exp (zap_session): Delete proc.
317 (do_exec_tests): Use clean_restart in place of zap_session,
318 and for test initialization. Fix formatting issues. Use
319 fail in place of perror.
320 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
321 an expect statement to match an expression with output from
322 the program under debug.
323 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
324 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
325 * gdb.threads/non-ldr-exc-2.exp: Likewise.
326 * gdb.threads/non-ldr-exc-3.exp: Likewise.
327 * gdb.threads/non-ldr-exc-4.exp: Likewise.
328
e70b6e8e
DE
3292015-09-09 Doug Evans <dje@google.com>
330
331 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
332
7a551a51
DE
3332015-09-09 Doug Evans <dje@google.com>
334
335 * gdb.base/pie-execl.exp: Fix result test of build_executable.
336
4c666f84
DE
3372015-09-09 Doug Evans <dje@google.com>
338
339 * gdb.base/savedregs.exp: Fix typo.
340
243a9253
PA
3412015-09-09 Pedro Alves <palves@redhat.com>
342
343 * gdb.mi/mi-cli.exp: Add CLI finish tests.
344
c0fa8fbd
SL
3452015-09-08 Sandra Loosemore <sandra@codesourcery.com>
346
347 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
348 command actually switches threads. Give up on remaining
349 tests if target fails to stop at breakpoint.
350
cd7c1778
PMR
3512015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
352
353 * gdb.ada/funcall_char.exp: New testcase.
354 * gdb.ada/funcall_char/foo.adb: New file.
355
dc5c8746
PMR
3562015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
357
358 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
359 expected outputs. Add two testcases for completing ambiguous
360 functions.
361 * gdb.ada/complete/aux_pck.adb: New file.
362 * gdb.ada/complete/aux_pck.ads: New file.
363 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
364 Ambiguous_Func functions.
365 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
366 * gdb.ada/complete/pck.adb: Likewise.
367
4e83a1e7
UW
3682015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
369
370 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
371 failures to run the test program under GDB.
372
8ce74153
LM
3732015-08-26 Luis Machado <lgustavo@codesourcery.com>
374
375 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
376 to C.
377
e9756d52
PP
3782015-08-26 Patrick Palka <patrick@parcs.ath.cx>
379
380 * gdb.base/run-after-attach.exp: New test file.
381 * gdb.base/run-after-attach.c: New test file.
382
8d37573b
DB
3832015-08-26 Don Breazeal <donb@codesourcery.com>
384
385 * gdb.base/foll-exec-2.c: New test program.
386 * gdb.base/foll-exec-2.exp: New test.
387
63e43d3a
PMR
3882015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
389
390 * gdb.base/nested-subp1.exp: New file.
391 * gdb.base/nested-subp1.c: New file.
392 * gdb.base/nested-subp2.exp: New file.
393 * gdb.base/nested-subp2.c: New file.
394 * gdb.base/nested-subp3.exp: New file.
395 * gdb.base/nested-subp3.c: New file.
396
3d40fbb5
PA
3972015-08-24 Pedro Alves <palves@redhat.com>
398
399 * gdb.server/connect-without-multi-process.c: New file.
400 * gdb.server/connect-without-multi-process.exp: New file.
401
4422ac93
LM
4022015-08-24 Luis Machado <lgustavo@codesourcery.com>
403
404 * gdb.opt/inline-markers.c: Make z int.
405
91dddb86
LM
4062015-08-24 Luis Machado <lgustavo@codesourcery.com>
407
408 * gdb.opt/inline-markers.c: Make z volatile.
409
a48847ee
LM
4102015-08-24 Luis Machado <lgustavo@codesourcery.com>
411
412 * gdb.opt/inline-bt.c: New volatile global z.
413 * gdb.opt/inline-cmds.c: Likewise.
414 * gdb.opt/inline-locals.c: Likewise.
415 * gdb.opt/inline-markers.c: New extern global z.
416 (marker): Use z.
417 (inline_fn): Likewise.
418
0ebbc52b
PA
4192015-08-24 Pedro Alves <palves@redhat.com>
420
421 * config/m32r-stub.exp: Remove file.
422 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
423 * gdb.base/call-rt-st.exp: Likewise.
424 * gdb.base/call-strs.exp: Likewise.
425 * gdb.base/default.exp: Remove references to h8300-*-hms and
426 *-*-udi*.
427 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
428
77c365df
AA
4292015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
430
431 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
432 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
433 and "return" use KFAIL when GDB can not read/write the vector
434 return value.
435
4313b8c0
GB
4362015-08-21 Gary Benson <gbenson@redhat.com>
437
438 * gdb.trace/pending.exp: Cope with remote transfer warnings.
439
0e433b32
PA
4402015-08-20 Pedro Alves <palves@redhat.com>
441
442 * gdb.server/solib-list.exp: No longer expect an interior stop in
443 non-stop mode.
444
221e1a37
PA
4452015-08-20 Pedro Alves <palves@redhat.com>
446
447 * gdb.server/connect-stopped-target.c: New file.
448 * gdb.server/connect-stopped-target.exp: New file.
449
40e3ad0e
PA
4502015-08-20 Pedro Alves <palves@redhat.com>
451
452 * gdb.dwarf2/comp-unit-lang.exp: New file.
453 * gdb.dwarf2/comp-unit-lang.c: New file.
454
af39b327
PMR
4552015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
456
457 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
458 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
459
7d45c7c3
KB
4602015-08-19 Kevin Buettner <kevinb@redhat.com>
461
462 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
463 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
464
4d6cceb4
DE
4652015-08-18 Doug Evans <dje@google.com>
466 Adrian Sendroiu <adrian.sendroiu@freescale.com>
467
468 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
469 skip_python_tests. New arg prompt_regexp.
470 (skip_python_tests): New function.
471 * lib/mi-support.exp (mi_skip_python_tests): New function.
472 * gdb.python/py-mi-objfile-gdb.py: New file.
473 * gdb.python/py-mi-objfile.c: New file.
474 * gdb.python/py-mi-objfile.exp: New file.
475
ad89c2aa
KS
4762015-08-17 Keith Seitz <keiths@redhat.com>
477
478 * gdb.linespec/explicit.exp: Move strace test from here ...
479 * gdb.trace/strace.exp: ... to here.
480
e3ae3c43
PP
4812015-08-15 Patrick Palka <patrick@parcs.ath.cx>
482
483 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
484 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
485
604b2636
DE
4862015-08-14 Doug Evans <xdje42@gmail.com>
487
488 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
489 inferior before selecting a new file.
490
6ff0ba5f
DE
4912015-08-14 Doug Evans <xdje42@gmail.com>
492
493 * gdb.mi/mi-disassemble.exp: Update.
494 * gdb.base/disasm-optim.S: New file.
495 * gdb.base/disasm-optim.c: New file.
496 * gdb.base/disasm-optim.h: New file.
497 * gdb.base/disasm-optim.exp: New file.
498
9ca98f92
KS
4992015-08-14 Keith Seitz <keiths@redhat.com>
500
501 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
502 "evaluated-by".
503
52bbc560
JB
5042015-08-13 Joel Brobecker <brobecker@adacore.com>
505
506 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
507
5d8c3ed3
PMR
5082015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
509
510 * gdb.ada/fun_renaming.exp: New testcase.
511 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
512 * gdb.ada/fun_renaming/pack.adb: New file.
513 * gdb.ada/fun_renaming/pack.ads: New file.
514
ea8812bc
KS
5152015-08-12 Keith Seitz <keiths@redhat.com>
516
517 * gdb.base/dso2dso.exp: Pass basename of source file in call to
518 gdb_get_line_number.
519
4dafcdeb
JB
5202015-08-12 Joel Brobecker <brobecker@adacore.com>
521
522 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
523 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
524 gdb.base/dso2dso.exp: New files.
525
5ba32597
SDJ
5262015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
527 Pedro Alves <palves@redhat.com>
528 Keith Seitz <keiths@redhat.com>
529
530 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
531 GDBFLAGS.
532
b6dafabf
PP
5332015-08-12 Patrick Palka <patrick@parcs.ath.cx>
534
535 * gdb.base/gdbhistsize-history.exp
536 (test_histsize_history_setting): Use save_vars.
537 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
538 Use save_vars.
539 (test_no_truncation_of_unlimited_history_file): Use save_vars.
540 * gdb.base/readline.exp: Use save_vars.
541
abe8e607
PP
5422015-08-12 Patrick Palka <patrick@parcs.ath.cx>
543
544 * lib/gdb.exp (save_vars): New proc.
545
629500fa
KS
5462015-08-11 Keith Seitz <keiths@redhat.com>
547
548 * gdb.base/help.exp: Update help_breakpoint_text.
549
eb8c4e2e
KS
5502015-08-11 Keith Seitz <keiths@redhat.com>
551
552 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
553 (at toplevel): Call test_explicit_breakpoints.
554 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
555 breakpoints.
556 * lib/mi-support.exp (mi_make_breakpoint): Add support for
557 breakpoint conditions, "-cond".
558
87f0e720
KS
5592015-08-11 Keith Seitz <keiths@redhat.com>
560
561 * gdb.linespec/3explicit.c: New file.
562 * gdb.linespec/cpexplicit.cc: New file.
563 * gdb.linespec/cpexplicit.exp: New file.
564 * gdb.linespec/explicit.c: New file.
565 * gdb.linespec/explicit.exp: New file.
566 * gdb.linespec/explicit2.c: New file.
567 * gdb.linespec/ls-errs.exp: Add explicit location tests.
568 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
569 before using in the matching pattern.
570 Clarify that `prefix' is a regular expression.
571
f00aae0f
KS
5722015-08-11 Keith Seitz <keiths@redhat.com>
573
574 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
575 test.
576 Add tests for missing ",FMT" and ",".
577
e27852be
DE
5782015-08-10 Doug Evans <dje@google.com>
579 Keith Seitz <keiths@redhat.com>
580
581 PR gdb/17960
582 * gdb.base/completion.exp: Add location completer tests.
583
7f03bd92
PA
5842015-08-07 Pedro Alves <palves@redhat.com>
585
586 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
587 tests here.
588 (top level): Run do_test with and without displaced stepping.
589
3fc8eb30
PA
5902015-08-07 Pedro Alves <palves@redhat.com>
591
592 * gdb.base/valgrind-disp-step.c: New file.
593 * gdb.base/valgrind-disp-step.exp: New file.
594
d4569d7b
PA
5952015-08-07 Pedro Alves <palves@redhat.com>
596
597 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
598 Delete function.
599 (main): Add alarm. Run an infinite loop instead of calling
600 wait_threads.
601 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
602 comment.
603 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
604 Delete function.
605 (main): Add alarm. Run an infinite loop instead of calling
606 wait_threads.
607 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
608 comment.
609
e1316e60
PA
6102015-08-07 Pedro Alves <palves@redhat.com>
611
612 * gdb.base/checkpoint-ns.exp: New file.
613 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
614 standard_testfile.
615
da8c46d2
MM
6162015-08-07 Markus Metzger <markus.t.metzger@intel.com>
617
618 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
619 * gdb.btrace/instruction_history.exp: Update.
620 * gdb.btrace/tsx.exp: New.
621 * gdb.btrace/tsx.c: New.
622
de1c2c52
PA
6232015-08-06 Pedro Alves <palves@redhat.com>
624
625 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
626 increase timeout.
627 * gdb.reverse/until-precsave.exp: Bump timeouts.
628
782e0bf4
PA
6292015-08-06 Pedro Alves <palves@redhat.com>
630
631 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
632
83e97ed0
PA
6332015-08-06 Pedro Alves <palves@redhat.com>
634
635 PR gdb/18749
636 * gdb.threads/process-dies-while-handling-bp.c: New file.
637 * gdb.threads/process-dies-while-handling-bp.exp: New file.
638
863d01bd
PA
6392015-08-06 Pedro Alves <palves@redhat.com>
640
641 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
642 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
643
0a39bb32
PA
6442015-08-05 Pedro Alves <palves@redhat.com>
645
646 * gdb.threads/next-while-other-thread-longjmps.c: New file.
647 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
648
ee2d2b10
SL
6492015-08-03 Sandra Loosemore <sandra@codesourcery.com>
650
651 * gdb.base/bp-permanent.exp: Report test as unsupported if
652 the target cannot stop at the permanent breakpoint.
653
4e1bdb00
DE
6542015-08-03 Doug Evans <dje@google.com>
655
656 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
657 10000.
658
3d338901
DE
6592015-08-03 Doug Evans <dje@google.com>
660
661 * Makefile.in (workers/%.worker, build-perf): New rule.
662 (GDB_PERFTEST_MODE): New variable.
663 (check-perf): Use it.
664 (clean): Clean up gdb.perf parallel build subdirs.
665 * lib/build-piece.exp: New file.
666 * lib/gdb.exp (make_gdb_parallel_path): New function
667 (standard_output_file, standard_temp_file): Call it.
668 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
669 of $GDB_PARALLEL.
670 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
671
af061d3e
DE
6722015-08-03 Doug Evans <dje@google.com>
673
8e1afc81 674 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
675 (LOG_FILE_NAME): New global.
676 (TextReporter.__init__): Initialize self.txt_sum.
677 (TextReporter.report): Add support for multiple data-points.
678 Move report to perftest.sum, put raw data in perftest.log.
679 (TextReporter.start): Open sum and log files.
680 (TextReporter.end): Close sum and log files.
8e1afc81
DE
681 * gdb.perf/lib/perftest/testresult.py
682 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 683
2c8c5d37
PA
6842015-07-31 Pedro Alves <palves@redhat.com>
685
686 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
687 Use spawn_id_get_pid. Wait for spawn id after eof. Use
688 kill_wait_spawned_process instead of explicit "kill -9".
689 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
690 returning a spawn id instead of a pid. Use spawn_id_get_pid and
691 kill_wait_spawned_process.
692 * gdb.base/attach-twice.exp: Likewise.
693 * gdb.base/attach.exp: Likewise.
694 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
695 gdb_test_multiple.
696 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
697 returning a spawn id instead of a pid. Use spawn_id_get_pid and
698 kill_wait_spawned_process.
699 * gdb.base/valgrind-infcall.exp: Likewise.
700 * gdb.multi/multi-attach.exp: Likewise.
701 * gdb.python/py-prompt.exp: Likewise.
702 * gdb.python/py-sync-interp.exp: Likewise.
703 * gdb.server/ext-attach.exp: Likewise.
704 * gdb.threads/attach-into-signal.exp (corefunc): Use
705 spawn_wait_for_attach, spawn_id_get_pid and
706 kill_wait_spawned_process.
707 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
708 spawn_wait_for_attach returning a spawn id instead of a pid. Use
709 spawn_id_get_pid and kill_wait_spawned_process.
710 * gdb.threads/attach-stopped.exp (corefunc): Use
711 spawn_wait_for_attach, spawn_id_get_pid and
712 kill_wait_spawned_process.
713 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
714 Use spawn_id_get_pid. Wait for spawn id after eof. Use
715 kill_wait_spawned_process instead of explicit "kill -9".
716 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
717 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
718 (spawn_wait_for_attach): Use spawn instead of exec to spawn
719 processes. Don't map cygwin/windows pids here. Now returns a
720 spawn id list.
721
032a0fca
SL
7222015-07-30 Sandra Loosemore <sandra@codesourcery.com>
723
724 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
725 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
726 correct patch.
727
61a934ca
SL
7282015-07-30 Sandra Loosemore <sandra@codesourcery.com>
729
730 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
731
4bc4d428
SL
7322015-07-30 Sandra Loosemore <sandra@codesourcery.com>
733
734 Reapply:
735 2014-05-21 Mark Wielaard <mjw@redhat.com>
736
737 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
738
998d452a
PA
7392015-07-30 Pedro Alves <palves@redhat.com>
740
741 * linux-low.c (handle_extended_wait): Set the child's last
742 reported status to TARGET_WAITKIND_STOPPED.
743
69dde7dc
PA
7442015-07-30 Pedro Alves <palves@redhat.com>
745
746 PR threads/18600
747 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
748 only shows inferior 1.
749
4dd63d48
PA
7502015-07-30 Simon Marchi <simon.marchi@ericsson.com>
751 Pedro Alves <palves@redhat.com>
752
753 PR threads/18600
754 * gdb.threads/fork-plus-threads.c: New file.
755 * gdb.threads/fork-plus-threads.exp: New file.
756
d618e4c5
PP
7572015-07-29 Patrick Palka <patrick@parcs.ath.cx>
758
759 * gdb.base/batch-preserve-term-settings.exp
760 (test_terminal_settings_preserved_after_cli_exit): Use
761 send_quit_command.
762
1eef6428
PA
7632015-07-29 Pedro Alves <palves@redhat.com>
764 Don Breazeal <donb@codesourcery.com>
765
766 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
767 output from both inferior_spawn_id and gdb_spawn_id.
768
7da5b897
SDJ
7692015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
770
771 * gdb.threads/attach-into-signal.exp (corefunc): Use
772 with_test_prefix on nested loops, uniquefying the test messages.
773
dac804df
SDJ
7742015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
775
776 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
777 commit.
778
06265e53
PP
7792015-07-29 Patrick Palka <patrick@parcs.ath.cx>
780
781 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
782 New proc.
783 (test_terminal_settings_preserved_after_sigterm): New test.
784
18206ca3
PP
7852015-07-29 Patrick Palka <patrick@parcs.ath.cx>
786
787 * gdb.base/batch-preserve-term-settings.exp
788 (test_terminal_settings_preserved_after_cli_exit): New test.
789
90074d11
PP
7902015-07-29 Patrick Palka <patrick@parcs.ath.cx>
791
792 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
793 manipulation of saved_gdbflags.
794 (test_terminal_settings_preserved): Remove global declaration of
795 the unused variable pagination_prompt. Remove manipulation of
796 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
797 GDBFLAGS.
798
eb1a7902
PA
7992015-07-29 Pedro Alves <palves@redhat.com>
800
801 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
802
8b75dd3b
PA
8032015-07-29 Pedro Alves <palves@redhat.com>
804
805 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
806 at the top.
807
dedad4e3
PA
8082015-07-29 Pedro Alves <palves@redhat.com>
809
810 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
811 (main): Call gdb_unbuffer_output.
812 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
813 (main): Call gdb_unbuffer_output.
814 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
815 (main): Call gdb_unbuffer_output.
816 * gdb.base/call-strs.exp: Adjust to step over the
817 gdb_unbuffer_output call.
818 * gdb.base/catch-gdb-caused-signals.c: Include
819 "../lib/unbuffer_output.c".
820 (main): Call gdb_unbuffer_output.
821 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
822 (main): Call gdb_unbuffer_output.
823 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
824 (main): Call gdb_unbuffer_output.
825 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
826 (main): Call gdb_unbuffer_output.
827 * gdb.base/shlib-call.exp: Adjust to step over the
828 gdb_unbuffer_output call.
829 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
830 (main): Call gdb_unbuffer_output.
831 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
832 (main): Call gdb_unbuffer_output.
833 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
834 (main): Rename to ...
835 (test): ... this.
836 (main): Reimplement.
837 * gdb.base/varargs.exp: Run to test instead of to main.
838 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
839 (main): Call gdb_unbuffer_output.
840
58789a91
PA
8412015-07-29 Pedro Alves <palves@redhat.com>
842
843 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
844 factore out from mi_continue_dprintf. For call-style dprintfs,
845 expect dprintf output out of $inferior_spawn_id.
846 (mi_continue_dprintf): Use mi_expect_dprintf.
847 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
848 (main): Call gdb_unbuffer_output.
849
e8376742
PA
8502015-07-29 Pedro Alves <palves@redhat.com>
851
852 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
853 (default_mi_gdb_start): Set inferior_spawn_id instead of
854 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
855 gdb_spawn_id.
856 (mi_gdb_test): Always expect inferior output from both
857 $inferior_spawn_id and $gdb_spawn_id.
858
08280010
PA
8592015-07-29 Pedro Alves <palves@redhat.com>
860
861 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
862 send_inferior and $inferior_spawn_id.
863
4d30e432
PA
8642015-07-29 Pedro Alves <palves@redhat.com>
865
866 * gdb.gdb/complaints.exp (test_initial_complaints)
867 (test_serial_complaints, test_short_complaints): Use
868 gdb_test_stdio.
869 (test_empty_complaint): Handle $inferior_spawn_id !=
870 $gdb_spawn_id.
871
0d30a335
PA
8722015-07-29 Pedro Alves <palves@redhat.com>
873
874 * gdb.base/varargs.exp: Use gdb_test_stdio.
875
39413b29
PA
8762015-07-29 Pedro Alves <palves@redhat.com>
877
878 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
879
7cb000a9
PA
8802015-07-29 Pedro Alves <palves@redhat.com>
881
882 * gdb.base/ending-run.exp: Use gdb_test_stdio.
883
d7b8ac82
PA
8842015-07-29 Pedro Alves <palves@redhat.com>
885
886 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
887 parameter into two new parameters, "inf_result" and "gdb_result".
888 Expect inferior output and gdb output from $inferior_spawn_id and
889 $gdb_spawn_id, respectively. Adjust all callers.
890
789c3a0c
PA
8912015-07-29 Pedro Alves <palves@redhat.com>
892
893 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
894 of gdb_test_sequence.
895
77e760c3
PA
8962015-07-29 Pedro Alves <palves@redhat.com>
897
898 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
899 (saw_spurious_output): Expect inferior output from
900 $inferior_spawn_id. Use gdb_test_stdio.
901
8396d2cd
PA
9022015-07-29 Pedro Alves <palves@redhat.com>
903
904 * gdb.base/dprintf.exp: Use standard_testfile. Change
905 prepare_for_testing call.
906 (srcfile): Don't set.
907 (restart): New procedure.
908 (test_dprintf): New procecure, use to continue over dprintfs.
909 (test_call, test_agent): New procedures, tests moved here.
910 Restart gdb and recreate dprintfs. Adjust expected output.
911
2051d61f
PA
9122015-07-29 Pedro Alves <palves@redhat.com>
913
914 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
915
452397af
PA
9162015-07-29 Pedro Alves <palves@redhat.com>
917
918 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
919
8aed9555
PA
9202015-07-29 Pedro Alves <palves@redhat.com>
921
922 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
923 gdb_test_stdio.
924
188a61b4
PA
9252015-07-29 Pedro Alves <palves@redhat.com>
926
927 * lib/gdb.exp (gdb_test_stdio): New procedure.
928
12264a45
PA
9292015-07-29 Pedro Alves <palves@redhat.com>
930
931 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
932
23ffc893
PA
9332015-07-29 Pedro Alves <palves@redhat.com>
934
935 * gdb.base/call-signal-resume.exp: Remove check for
936 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
937 * gdb.base/unwindonsignal.exp: Likewise.
938 * gdb.base/call-signals.c (gen_signal): Remove printf call.
939 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
940
65566918
PA
9412015-07-29 Pedro Alves <palves@redhat.com>
942
943 * gdb.base/siginfo-addr.c (pass): New function.
944 (handler): Call it iff si_addr is correct.
945 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
946 Set a breakpoint at "pass" and continue to it.
947
d60a9221
SDJ
9482015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
949
950 * gdb.python/py-objfile.exp: Make some tests have unique names.
951 * gdb.python/py-pp-registration.exp: Likewise.
952
bde40b8f
PA
9532015-07-28 Pedro Alves <palves@redhat.com>
954
955 * gdb.server/server-exec-info.exp: Issue a "disconnect".
956
13e1dec8
SM
9572015-07-27 Simon Marchi <simon.marchi@ericsson.com>
958
959 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
960
da33c9a7
SM
9612015-07-27 Simon Marchi <simon.marchi@ericsson.com>
962
963 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
964
077836f7
PP
9652015-07-27 Patrick Palka <patrick@parcs.ath.cx>
966
967 * gdb.base/gdb-sigterm-2.exp: New test.
968
b8cc7b2e
DE
9692015-07-25 Doug Evans <xdje42@gmail.com>
970
971 Revert:
972 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
973 (workers/%.worker, build-perf): New rule.
974 (GDB_PERFTEST_MODE): New variable.
975 (check-perf): Use it.
976 (clean): Clean up gdb.perf parallel build subdirs.
977 * lib/build-piece.exp: New file.
978 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
979 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
980 name.
981 (standard_temp_file): Ditto.
982 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
983 of $GDB_PARALLEL.
984
c8bd4544
DE
9852015-07-24 Doug Evans <dje@google.com>
986
987 * gdb.perf/lib/perftest/utils.py: New file.
988 * gdb.perf/gm-hello.cc: New file.
989 * gdb.perf/gm-pervasive-typedef.cc: New file.
990 * gdb.perf/gm-pervasive-typedef.h: New file.
991 * gdb.perf/gm-std.cc: New file.
992 * gdb.perf/gm-std.h: New file.
993 * gdb.perf/gm-use-cerr.cc: New file.
994 * gdb.perf/gm-utils.h: New file.
995 * gdb.perf/gmonster-null-lookup.py: New file.
996 * gdb.perf/gmonster-pervasive-typedef.py: New file.
997 * gdb.perf/gmonster-print-cerr.py: New file.
998 * gdb.perf/gmonster-ptype-string.py: New file.
999 * gdb.perf/gmonster-runto-main.py: New file.
1000 * gdb.perf/gmonster-select-file.py: New file.
1001 * gdb.perf/gmonster1-null-lookup.exp: New file.
1002 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
1003 * gdb.perf/gmonster1-print-cerr.exp: New file.
1004 * gdb.perf/gmonster1-ptype-string.exp: New file.
1005 * gdb.perf/gmonster1-runto-main.exp: New file.
1006 * gdb.perf/gmonster1-select-file.exp: New file.
1007 * gdb.perf/gmonster1.cc: New file.
1008 * gdb.perf/gmonster1.exp: New file.
1009 * gdb.perf/gmonster2-null-lookup.exp: New file.
1010 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
1011 * gdb.perf/gmonster2-print-cerr.exp: New file.
1012 * gdb.perf/gmonster2-ptype-string.exp: New file.
1013 * gdb.perf/gmonster2-runto-main.exp: New file.
1014 * gdb.perf/gmonster2-select-file.exp: New file.
1015 * gdb.perf/gmonster2.cc: New file.
1016 * gdb.perf/gmonster2.exp: New file.
1017
6eab34f3
DE
10182015-07-24 Doug Evans <dje@google.com>
1019
1020 * gdb.perf/README: New file.
1021 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
1022 * lib/gen-perf-test.exp: New file.
1023
63738bfd
DE
10242015-07-24 Doug Evans <dje@google.com>
1025
1026 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
1027 (PerfTest::startup): New function.
1028 (PerfTest::run): Return result of calling body.
1029 (PerfTest::assemble): Rewrite.
1030 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
1031 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
1032 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
1033 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
1034 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
1035
7b606f95
DE
10362015-07-24 Doug Evans <dje@google.com>
1037
1038 * lib/gdb.exp (clean_restart): Make executable optional.
1039
a97b16b8
DE
10402015-07-24 Doug Evans <dje@google.com>
1041
1042 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
1043 compiler_info references.
1044 * gdb.cp/temargs.exp: Ditto.
1045 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
1046 (get_compiler_info): Early exit if already computed. Set compiler_info
1047 to "unknown" if there was a problem.
1048 (test_compiler_info): Add function comment. Call get_compiler_info.
1049
35baa57f
DE
10502015-07-24 Doug Evans <dje@google.com>
1051
1052 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
1053 (workers/%.worker, build-perf): New rule.
1054 (GDB_PERFTEST_MODE): New variable.
1055 (check-perf): Use it.
1056 (clean): Clean up gdb.perf parallel build subdirs.
1057 * lib/build-piece.exp: New file.
1058 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
1059 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
1060 name.
1061 (standard_temp_file): Ditto.
1062 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1063 of $GDB_PARALLEL.
1064
6ebea266
DE
10652015-07-24 Doug Evans <dje@google.com>
1066
1067 * lib/future.exp (gdb_default_target_compile): New option
1068 "early_flags".
1069 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
1070 --as-needed.
1071
1e76a7e9
SDJ
10722015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
1073
1074 * gdb.base/catch-syscall.exp: Call gdb_exit before
1075 gdb_skip_xml_test.
1076
5068630a
PA
10772015-07-24 Pedro Alves <palves@redhat.com>
1078
1079 * gdb.python/py-events.exp: Accept output between the stop event
1080 and the prompt.
1081 * gdb.python/py-evsignal.exp: Likewise.
1082 * gdb.python/py-evthreads.exp: Likewise.
1083
77598427
PA
10842015-07-24 Pedro Alves <palves@redhat.com>
1085
1086 PR gdb/18717
1087 * gdb.threads/non-ldr-exit.c: New file.
1088 * gdb.threads/non-ldr-exit.exp: New file.
1089
11e6c98f
YQ
10902015-07-24 Yao Qi <yao.qi@linaro.org>
1091
1092 * gdb.server/ext-wrapper.exp: Test --wrapper option when
1093 restarting process.
1094
51aee833
YQ
10952015-07-24 Yao Qi <yao.qi@linaro.org>
1096
1097 * gdb.server/ext-restart.exp: New file.
1098
8cfe207c
YQ
10992015-07-24 Yao Qi <yao.qi@linaro.org>
1100
1101 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
1102 argument options.
1103 * gdb.server/ext-wrapper.exp: New file.
1104
cc12ce38
DE
11052015-07-23 Doug Evans <dje@google.com>
1106
1107 * gdb.dwarf2/dw2-dummy-cu.S: New file.
1108 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
1109
d0d84780
PMR
11102015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
1111
1112 * gdb.ada/var_arr_typedef.exp: New testcase.
1113 * gdb.ada/var_arr_typedef/pack.adb: New file.
1114 * gdb.ada/var_arr_typedef/pack.ads: New file.
1115 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
1116
8b558f79
JB
11172015-07-20 Joel Brobecker <brobecker@adacore.com>
1118
1119 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
1120
775a3298
JK
11212015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1122
1123 * gdb.arch/i386-biarch-core.exp: Replace istarget
1124 by "complete set gnutarget". Remove expectation for the "core-file"
1125 command.
1126
db1ff28b
JK
11272015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1128
1129 Revert the previous commit:
1130 Tests for validate symbol file using build-id.
1131
0a94970d
JK
11322015-07-15 Aleksandar Ristovski <aristovski@qnx.com
1133
1134 Tests for validate symbol file using build-id.
1135 * gdb.base/solib-mismatch-lib.c: New file.
1136 * gdb.base/solib-mismatch-libmod.c: New file.
1137 * gdb.base/solib-mismatch.c: New file.
1138 * gdb.base/solib-mismatch.exp: New file.
1139
03346981
SL
11402015-07-15 Sandra Loosemore <sandra@codesourcery.com>
1141
1142 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
1143 nios2-*-linux*.
1144 * gdb.base/sigbpt.exp (stepi_out): Likewise.
1145 * gdb.base/siginfo.exp: Likewise.
1146 * gdb.base/sigstep.exp (advance, advancei): Likewise.
1147
42422cc7
PL
11482015-07-15 Pierre Langlois <pierre.langlois@arm.com>
1149
1150 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
1151 Move it to ...
1152 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
1153 ... here.
1154 * gdb.trace/range-stepping.exp: Check that the target supports
1155 range stepping.
1156
cfa68bae
JK
11572015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1158
1159 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
1160
8ffdba26
PA
11612015-07-14 Pedro Alves <palves@redhat.com>
1162
1163 * gdb.base/killed-outside.exp: New file.
1164 * gdb.base/killed-outside.c: New file.
1165
218a5a11
JK
11662015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1167
1168 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
1169 (n at main): New.
1170 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
1171
e03ed3c6
AA
11722015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
1173
1174 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
1175 infcall tests instead of setting up for KFAIL.
1176
485668e5
MM
11772015-07-10 Markus Metzger <markus.t.metzger@intel.com>
1178
1179 * gdb.btrace/record_goto-step.exp: New.
1180
08464196
JK
11812015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1182
1183 PR compile/18484
1184 * gdb.compile/compile.c (struct struct_type): Add volatile to
1185 selffield's type.
1186 * gdb.compile/compile.exp
1187 (compile code struct_object.selffield = &struct_object): Skip further
1188 struct_object tests if this one xfails.
1189
bcf5c1d9
RC
11902015-07-08 Robert O'Callahan <robert@ocallahan.org>
1191
1192 PR exp/18617
1193 * gdb.trace/ax.exp: Add test.
1194
4931af25
YQ
11952015-07-07 Yao Qi <yao.qi@linaro.org>
1196
1197 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
1198 instead of istarget "aarch64*-*-*".
1199 * gdb.arch/aarch64-fp.exp: Likewise.
1200 * gdb.base/float.exp: Likewise.
1201 * gdb.reverse/aarch64.exp: Likewise.
1202 * lib/gdb.exp (is_aarch64_target): New proc.
1203
9fcf688e
YQ
12042015-07-07 Yao Qi <yao.qi@linaro.org>
1205
1206 * lib/gdb.exp (is_aarch32_target): New proc.
1207 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
1208 instead of "istarget "arm*-*-*"".
1209 * gdb.arch/arm-disp-step.exp: Likewise.
1210 * gdb.arch/thumb-bx-pc.exp: Likewise.
1211 * gdb.arch/thumb-prologue.exp: Likewise.
1212 * gdb.arch/thumb-singlestep.exp: Likewise.
1213 * gdb.base/disp-step-syscall.exp: Likewise.
1214 * gdb.base/float.exp: Likewise.
1215
fbd8d50d
YQ
12162015-07-07 Yao Qi <yao.qi@linaro.org>
1217
1218 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
1219 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
1220
71be1fdc
YQ
12212015-07-07 Yao Qi <yao.qi@linaro.org>
1222
1223 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
1224 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
1225 if it exists.
1226 * gdb.multi/multi-arch.exp: Likewise.
1227
3e221d36
SM
12282015-07-07 Simon Marchi <simon.marchi@ericsson.com>
1229
1230 * gdb.python/py-lazy-string.exp: Add missing parentheses to
1231 print.
1232
d441430b
YQ
12332015-07-07 Yao Qi <yao.qi@linaro.org>
1234
1235 * gdb.arch/thumb-singlestep.exp: Do one more single step.
1236
06f810bd
MG
12372015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
1238
1239 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
1240 '[' and ']' characters.
1241
5e61e7c0
IB
12422015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
1243
1244 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1245
28bf096c
PA
12462015-06-29 Pedro Alves <palves@redhat.com>
1247
1248 PR threads/18127
1249 * gdb.threads/hand-call-new-thread.c: New file.
1250 * gdb.threads/hand-call-new-thread.c: New file.
1251
ee93cd5e
KS
12522015-06-26 Keith Seitz <keiths@redhat.com>
1253 Doug Evans <dje@google.com>
1254
1255 PR 16253
1256 * gdb.cp/var-tag-2.cc: New file.
1257 * gdb.cp/var-tag-3.cc: New file.
1258 * gdb.cp/var-tag-4.cc: New file.
1259 * gdb.cp/var-tag.cc: New file.
1260 * gdb.cp/var-tag.exp: New file.
1261
fc637f04
PP
12622015-06-26 Patrick Palka <patrick@parcs.ath.cx>
1263
1264 * gdb.base/history-duplicates.exp: New test.
1265
2e52ae68
PP
12662015-06-26 Patrick Palka <patrick@parcs.ath.cx>
1267
1268 * gdb.base/completion.exp: Test the completion of the "focus"
1269 command.
1270
6e22494e
JK
12712015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1272
1273 * gdb.arch/amd64-prologue-skip.S: New file.
1274 * gdb.arch/amd64-prologue-skip.exp: New file.
1275
bf7b9cd9
SM
12762015-06-25 Simon Marchi <simon.marchi@ericsson.com>
1277
1278 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
1279 is_address_zero_readable check.
1280
201e8dfd
PB
12812015-06-24 Peter Bergner <bergner@vnet.ibm.com>
1282
1283 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
1284 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
1285
5cd867b4
YQ
12862015-06-24 Yao Qi <yao.qi@linaro.org>
1287
1288 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
1289 linux targets.
1290
4d7be007
YQ
12912015-06-24 Yao Qi <yao.qi@linaro.org>
1292
1293 * lib/gdb.exp (supports_get_siginfo_type): New proc.
1294 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
1295 * gdb.base/siginfo-thread.exp: Likewise.
1296
07fcd301
YQ
12972015-06-22 Yao Qi <yao.qi@linaro.org>
1298
1299 * boards/remote-gdbserver-on-localhost.exp: Add comments.
1300
52042a00
YQ
13012015-06-22 Yao Qi <yao.qi@linaro.org>
1302
1303 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
1304 aarch64*-*-*.
1305 (skip_hw_watchpoint_tests): Likewise.
1306
74bd41ce
PP
13072015-06-18 Patrick Palka <patrick@parcs.ath.cx>
1308
1309 * gdb.base/gdbinit-history.exp: Test the interaction between
1310 setting GDBHISTSIZE and setting the history size via .gdbinit.
1311
bc460514
PP
13122015-06-17 Patrick Palka <patrick@parcs.ath.cx>
1313
1314 PR gdb/16999
1315 * gdb.base/gdbhistsize-history.exp: New test.
1316
b58c513b
PP
13172015-06-17 Patrick Palka <patrick@parcs.ath.cx>
1318
1319 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
1320 with GDBHISTSIZE.
1321 * gdb.base/readline.exp: Likewise.
1322
92046791
YQ
13232015-06-17 Yao Qi <yao.qi@linaro.org>
1324
1325 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
1326 line.
1327
2093d2d3
PP
13282015-06-17 Patrick Palka <patrick@parcs.ath.cx>
1329
1330 * gdb.base/gdbinit-history.exp: Add test case to check that
1331 an unlimited history file does not get truncated on exit.
1332
e6c693af
AA
13332015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1334
1335 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
1336 (VECTOR): New macro. Use it...
1337 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
1338 ...for these typedefs.
1339 (int8, char1, int1, double1): New typedefs.
1340 (struct just_int2, struct two_int2): New structures.
1341 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
1342 (add_structvecs, add_singlevecs): New functions.
1343 (main): Call add_some_intvecs twice.
1344 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
1345 the compile and exit upon failure. Try compiling for the "native"
1346 architecture. Test inferior function calls with vector arguments
1347 and vector return value handling with "finish" and "return".
1348
c74f7d1c
JT
13492015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
1350
1351 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
1352 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
1353 PE file.
1354 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
1355
98aa42ee
AT
13562015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
1357
1358 PR breakpoints/16465
1359 * gdb.mi/mi-dprintf-pending.c: New file.
1360 * gdb.mi/mi-dprintf-pending.exp: New test.
1361 * gdb.mi/mi-dprintf-pendshr.c: New file.
1362
7d73c23c 13632015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 1364 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
1365
1366 * gdb.arch/i386-mpx-map.c: New file.
1367 * gdb.arch/i386-mpx-map.exp: New File.
1368
13692015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1370
1371 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
1372 * gdb.arch/i386-mpx.exp: Indentation fixed.
1373
13742015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1375
1376 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
1377 function and improved indentation.
1378 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
1379 gdb_test_multiple. Added additional tests to skip the test.
1380
13812015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1382
1383 * gdb.arch/i386-avx512.c: Change path in include file.
1384 * gdb.arch/i386-avx512.exp: Change include dir path
1385 compilation flag.
1386 * gdb.arch/i386-mpx.c: Change path in include file.
1387 * gdb.arch/i386-mpx.exp: Change include dir path compilation
1388 flag.
1389
d5eba19a
JK
13902015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1391
1392 * gdb.compile/compile-print.exp (compile print *vararray@3)
1393 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
1394
7f361056
JK
13952015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1396
1397 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
1398 (do not keep jit in memory): ... this.
1399 (expect 5): Change it to ...
1400 (expect no 5): ... this.
1401
3b462ec2
SM
14022015-06-02 Simon Marchi <simon.marchi@ericsson.com>
1403
1404 PR gdb/15564
1405 * gdb.mi/mi-detach.exp: New file.
1406
e0619de6
JK
14072015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1408
1409 PR symtab/18392
1410 * gdb.arch/amd64-tailcall-self.S: New file.
1411 * gdb.arch/amd64-tailcall-self.c: New file.
1412 * gdb.arch/amd64-tailcall-self.exp: New file.
1413
e970cb34
DB
14142015-05-28 Don Breazeal <donb@codesourcery.com>
1415
1416 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
1417 tests for remote targets by checking is_target_gdbserver.
1418
b2e2f908
DE
14192015-05-27 Doug Evans <dje@google.com>
1420
1421 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
1422 * gdb.dwarf2/opaque-type-lookup.c: New file.
1423 * gdb.dwarf2/opaque-type-lookup.exp: New file.
1424
82c7be31
DE
14252015-05-26 Doug Evans <dje@google.com>
1426
1427 * gdb.cp/iostream.cc: New file.
1428 * gdb.cp/iostream.exp: New file.
1429
b4f54984
DE
14302015-05-26 Doug Evans <dje@google.com>
1431
1432 * gdb.dwarf2/dw2-op-call.exp: Update.
1433 * gdb.dwarf2/dw4-sig-types.exp: Update.
1434 * gdb.dwarf2/implptr.exp: Update.
1435 * gdb.mi/mi-cmd-param-changed.exp: Update.
1436
4ea6efe9
DE
14372015-05-26 Doug Evans <dje@google.com>
1438
1439 * gdb.python/py-lazy-string.c: New file.
1440 * gdb.python/py-lazy-string.exp: New file.
1441 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
1442 (main): Update. Add estring3.
1443 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
1444 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
1445
f6bb7db3
YQ
14462015-05-26 Omair Javaid <omair.javaid@linaro.org>
1447 Yao Qi <yao.qi@linaro.org>
1448
1449 * gdb.reverse/aarch64.c: New.
1450 * gdb.reverse/aarch64.exp: New.
1451
a81bfbd0
OJ
14522015-05-26 Omair Javaid <omair.javaid@linaro.org>
1453
1454 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
1455 (supports_reverse): Likewise.
1456
158bf1b4
PP
14572015-05-22 Patrick Palka <patrick@parcs.ath.cx>
1458
1459 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1460 Use with_test_prefix.
1461
a0145030
AB
14622015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
1463
1464 * gdb.base/completion.exp: Add test for completion of layout
1465 names.
1466
ebe3b578
AB
14672015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
1468
1469 * lib/gdb.exp (skip_tui_tests): New proc.
1470 * gdb.base/tui-layout.exp: Check skip_tui_tests.
1471
84204ed7
PA
14722015-05-19 Pedro Alves <palves@redhat.com>
1473
1474 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1475 Save the whole env array instead of just HOME. Unset HISTSIZE in
1476 the environment while testing. Restore whole environment
1477 afterwards.
1478
37442ce1
DE
14792015-05-16 Doug Evans <xdje42@gmail.com>
1480
1481 * gdb.guile/scm-ports.c: New file.
1482 * gdb.guile/scm-ports.exp: Add memory port tests.
1483
36de76f9
JK
14842015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1485
1486 * gdb.compile/compile-print.c: New file.
1487 * gdb.compile/compile-print.exp: New file.
1488
3a9558c4
JK
14892015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1490
1491 * gdb.compile/compile-ops.exp: Cast param to void.
1492 * gdb.compile/compile.exp: Complete type for _gdb_expr.
1493 (compile code struct_object.selffield = &struct_object): Add xfail.
1494
aa715135
JG
14952015-05-15 Joel Brobecker <brobecker@adacore.com>
1496
1497 * gdb.ada/arr_enum_with_gap: New testcase.
1498
931e5bc3
JG
14992015-05-15 Joel Brobecker <brobecker@adacore.com>
1500
1501 * gdb.ada/byte_packed_arr: New testcase.
1502
9cd4d857
JB
15032015-05-15 Joel Brobecker <brobecker@adacore.com>
1504
1505 * gdb.ada/pckd_neg: New testcase.
1506
ebfd00d2
PP
15072015-05-13 Patrick Palka <patrick@parcs.ath.cx>
1508
1509 PR gdb/17820
1510 * gdb.base/gdbinit-history.exp: New test.
1511 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
1512 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
1513
4c082a81
SC
15142015-05-09 Siva Chandra Reddy <sivachandra@google.com>
1515
1516 * gdb.python/py-xmethods.cc: Enhance test case.
1517 * gdb.python/py-xmethods.exp: New tests.
1518 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
1519 function.
1520 (B_indexoper): Likewise.
1521 (global_dm_list) : Add new xmethod worker functions.
1522
f7797074
SDJ
15232015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
1524
1525 * gdb.base/coredump-filter.exp: Correctly unset
1526 "coredump_var_addr" array.
1527
a4674e4e
PA
15282015-05-08 Pedro Alves <palves@redhat.com>
1529
1530 * gdb.server/non-existing-program.exp: Unset spawn_id.
1531
df2eb078
SC
15322015-05-08 Siva Chandra Reddy <sivachandra@google.com>
1533
1534 PR python/18291
1535 * gdb.python/py-xmethods.exp: Add tests.
1536
422349a3
YQ
15372015-05-08 Yao Qi <yao.qi@linaro.org>
1538
1539 PR gdb/18208
1540 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
1541 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
1542 function set_coredump_filter, and remove remote_exec call.
1543 Remove argument ipid. Callers update.
1544 (top level): Don't get inferior's PID.
1545
63fc80ce
AA
15462015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
1547
1548 * gdb.base/watch_thread_num.exp: Skip test on targets without
1549 access watchpoints.
1550
80ad801e
PA
15512015-05-06 Pedro Alves <palves@redhat.com>
1552
1553 PR server/18081
1554 * gdb.server/non-existing-program.exp: New file.
1555
0fa7fe50
JB
15562015-05-05 Joel Brobecker <brobecker@adacore.com>
1557
1558 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
1559
3ea89b92
PMR
15602015-05-05 Joel Brobecker <brobecker@adacore.com>
1561
1562 * gdb.ada/out_of_line_in_inlined: New testcase.
1563
87b8eff0
JB
15642015-05-05 Joel Brobecker <brobecker@adacore.com>
1565
1566 * gdb.ada/var_rec_arr: New testcase.
1567
5fccc635
YQ
15682015-04-30 Yao Qi <yao.qi@linaro.org>
1569
1570 * gdb.base/break-idempotent.exp: If
1571 skip_hw_watchpoint_multi_tests returns true, skip the tests
1572 on "rwatch" and "awatch".
1573
42d38f42
YQ
15742015-04-30 Yao Qi <yao.qi@linaro.org>
1575
1576 * gdb.base/relativedebug.exp: Invoke gdb command
1577 "info sharedlibrary", and if libc.so doesn't have debug info,
1578 skip the test.
1579
2ce1cdbf
DE
15802015-04-29 Doug Evans <dje@google.com>
1581
1582 * gdb.python/py-xmethods.exp: Add ptype tests.
1583 * gdb.python/py-xmethods.py (E_method_char_worker): Add
1584 get_result_type method.
1585
f24a38c5
LM
15862015-04-29 Luis Machado <lgustavo@codesourcery.com>
1587
1588 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
1589 the target does not support hardware watchpoints.
1590
ecbf2b3c
LM
15912015-04-29 Luis Machado <lgustavo@codesourcery.com>
1592
1593 * gdb.base/break-always.exp: Abort testing if writing to memory
1594 causes an error.
1595
34f5f757
DE
15962015-04-28 Doug Evans <dje@google.com>
1597
1598 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
1599 * gdb.python/py-pp-registration.exp: ... here. New file.
1600 * gdb.python/py-pp-registration.c: New file.
1601 * gdb.python/py-pp-registration.py: New file.
1602
69b4374a
DE
16032015-04-28 Doug Evans <dje@google.com>
1604
1605 * gdb.python/py-bad-printers.c: New file.
1606 * gdb.python/py-bad-printers.py: New file.
1607 * gdb.python/py-bad-printers.exp: New file.
1608
59fb7612
SS
16092015-04-28 Sasha Smundak <asmundak@google.com>
1610
1611 * gdb.python/py-type.exp: New test.
1612
2631b16a
AW
16132015-04-28 Andy Wingo <wingo@igalia.com>
1614
1615 * gdb.python/py-parameter.exp:
1616 * gdb.guile/scm-parameter.exp: Escape the path that we are
1617 matching against, as it might contain characters that are special
1618 to regular expressions.
1619
460efde1
JB
16202015-04-27 Joel Brobecker <brobecker@adacore.com>
1621
1622 * gdb.ada/rec_comp: New testcase.
1623
2d369d8e
SDJ
16242015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
1625
1626 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
1627 before using it.
1628
cf75d6c3
AB
16292015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
1630
1631 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
1632 new tests for verilog output.
1633
8dbe7ca5
YQ
16342015-04-24 Yao Qi <yao.qi@linaro.org>
1635
1636 * boards/remote-gdbserver-on-localhost.exp: New file.
1637
4ef9fb2f
PA
16382015-04-23 Pedro Alves <palves@redhat.com>
1639
1640 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
1641 $inferior_spawn_id instead of $inferior_spawn_id directly. On
1642 "end of file", remove $inferior_spawn_id from the indirect list.
1643
0a803169
PA
16442015-04-23 Pedro Alves <palves@redhat.com>
1645
1646 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
1647
749ef8f8
PA
16482015-04-23 Pedro Alves <palves@redhat.com>
1649
1650 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
1651 on $any_spawn_id instead of only on $gdb_spawn_id.
1652
8aae4344
PM
16532015-04-21 Pierre Muller <muller@sourceware.org>
1654
1655 PR pascal/17815
1656 * lib/pascal.exp (gpc_compile): Add new option "class".
1657 (fpc_compile): Likewise.
1658 * gdb.pascal/case-insensitive-symbols.pas: New file.
1659 * gdb.pascal/case-insensitive-symbols.exp: New file.
1660
1586c8fb
GB
16612015-04-20 Gary Benson <gbenson@redhat.com>
1662
1663 * gdb.base/attach.exp: Fix three extended remote failures.
1664
1b6e6f5c
GB
16652015-04-17 Gary Benson <gbenson@redhat.com>
1666
1667 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
1668 the main executable over the remote protocol.
1669
e797481d
PA
16702015-04-16 Pedro Alves <palves@redhat.com>
1671
1672 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
1673 a new gdbserver if gdbserver_reconnect_p is set.
1674
1ca99c42
PA
16752015-04-16 Pedro Alves <palves@redhat.com>
1676
1677 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
1678 is set, don't exit gdbserver.
1679
af9fd6f8
AA
16802015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1681
1682 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
1683 appropriate .insn, such that an older assembler can be used.
1684 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
1685 the z/Architecture instruction set on 31-bit targets as well.
1686
04ff1e61
AA
16872015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1688
1689 * gdb.go/handcall.exp: Remove all logic related to the first
1690 breakpoint and rely on go_runto_main instead.
1691 * gdb.go/strings.exp: Likewise.
1692 * gdb.go/unsafe.exp: Likewise.
1693 * gdb.go/hello.exp: Likewise. Also rename the remaining
1694 breakpoint marker to "breakpoint 1".
1695 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
1696 * gdb.go/strings.go: Likewise.
1697 * gdb.go/unsafe.go: Likewise.
1698 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
1699 "set breakpoint 2 here" and rename the remaining breakpoint marker
1700 to "breakpoint 1".
1701
40d2f8d6
SM
17022015-04-15 Simon Marchi <simon.marchi@ericsson.com>
1703
1704 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
1705 if itertools.imap is not present.
1706 * gdb.python/py-objfile.exp: Add parentheses.
1707 * gdb.python/py-type.exp: Same.
1708 * gdb.python/py-unwind-maint.py: Same.
1709
8cbc97c6
YQ
17102015-04-15 Yao Qi <yao.qi@linaro.org>
1711
1712 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
1713 of ":$ptr_size" and set its form explicitly.
1714
45fd756c
YQ
17152015-04-15 Pedro Alves <palves@redhat.com>
1716 Yao Qi <yao.qi@linaro.org>
1717
1718 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
1719 timeout by factor of 4.
1720 (test_regular_watch): Likewise.
1721 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
1722 * gdb.reverse/sigall-reverse.exp: Likewise.
1723 * gdb.reverse/until-precsave.exp: Likewise.
1724 * lib/gdb.exp (with_timeout_factor): New proc.
1725 (gdb_expect): Move some code to ...
1726 (get_largest_timeout): ... here. New procedure.
1727
9e811bc3
LM
17282015-04-14 Luis Machado <lgustavo@codesourcery.com>
1729
1730 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
1731
0ff6fcb2
LM
17322015-04-13 Luis Machado <lgustavo@codesourcery.com>
1733
1734 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
1735 to write to the .text section.
1736
7578d5f7
LM
17372015-04-13 Luis Machado <lgustavo@codesourcery.com>
1738
1739 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
1740 Handle the case of targets that do not provide PID information.
1741
2efe15c4
YQ
17422015-04-13 Yao Qi <yao.qi@linaro.org>
1743
1744 * lib/gdbserver-support.exp (gdb_exit): Catch exception
1745 and use expect instead of gdb_expect.
1746
8cd8f2f8
SDJ
17472015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
1748
1749 * gdb.base/coredump-filter.exp: Rename variable "addr" to
1750 "coredump_var_addr" to avoid naming conflict with other testcases.
1751
9ee41772
PA
17522015-04-10 Pedro Alves <palves@redhat.com>
1753
1754 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
1755 gdb_test_sequence and gdb_assert.
1756
07473109
PA
17572015-04-10 Pedro Alves <palves@redhat.com>
1758
1759 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
1760 test messages that don't include the breakpoint address.
1761
de3db44c
YQ
17622015-04-10 Yao Qi <yao.qi@linaro.org>
1763
1764 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
1765 false for some offset and width combinations which aren't
1766 supported by linux kernel.
1767
c79d856c
PA
17682015-04-10 Pedro Alves <palves@redhat.com>
1769
1770 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
1771 procedure, factored out from ...
1772 (top level): ... here. Add "set displaced-stepping" testing axis.
1773 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
1774 parameter "displaced". Use it.
1775 (top level): Use foreach and add "set displaced-stepping" testing
1776 axis.
1777
ebc90b50
PA
17782015-04-10 Pedro Alves <palves@redhat.com>
1779
1780 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
1781 Remove comment.
1782 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
1783 both the address of the instruction that triggers the watchpoint
1784 and the address of the instruction immediately after, and use
1785 those addresses for the test. Fix comment.
1786
8f572e5c
PA
17872015-04-10 Pedro Alves <palves@redhat.com>
1788
1789 * gdb.base/sigstep.exp (breakpoint_to_handler)
1790 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
1791 Test "backtrace" in handler.
1792 (breakpoint_over_handler): New parameter 'displaced'. Use it.
1793 (top level): Add new "displaced" test axis to
1794 breakpoint_to_handler, breakpoint_to_handler_entry and
1795 breakpoint_over_handler.
1796
8d707a12
PA
17972015-04-10 Pedro Alves <palves@redhat.com>
1798
1799 PR gdb/18216
1800 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
1801
ef713951
YQ
18022015-04-10 Yao Qi <yao.qi@linaro.org>
1803
1804 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
1805 (test_add_rn_pc): New function.
1806 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
1807 (top level): Invoke test_add_rn_pc.
1808
906d60cf
PA
18092015-04-10 Pedro Alves <palves@redhat.com>
1810
1811 PR gdb/13858
1812 * gdb.base/step-over-no-symbols.exp: New file.
1813
f2983cc3
AW
18142015-04-09 Andy Wingo <wingo@igalia.com>
1815
1816 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
1817 after the Python tests.
1818
6d62641c
SDJ
18192015-04-08 Keith Seitz <keiths@redhat.com>
1820
1821 PR python/16699
1822 * gdb.python/py-completion.exp: New tests for completion.
1823 * gdb.python/py-completion.py (CompleteLimit1): New class.
1824 (CompleteLimit2): Likewise.
1825 (CompleteLimit3): Likewise.
1826 (CompleteLimit4): Likewise.
1827 (CompleteLimit5): Likewise.
1828 (CompleteLimit6): Likewise.
1829 (CompleteLimit7): Likewise.
1830
f3770638
PA
18312015-04-08 Pedro Alves <palves@redhat.com>
1832
1833 PR gdb/18214
1834 PR gdb/18216
1835 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
1836 function.
1837 (main): Install it as SIGUSR1 handler.
1838 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
1839 parameter. Always use "setup" as prefix. Toggle "set
1840 displaced-stepping" off/on depending on global. Don't switch to
1841 thread 1 here.
1842 (top level): Add displaced stepping "off/on" test axis. Update
1843 "setup" calls. Wrap each subtest with with_test_prefix. Test
1844 continuing with a queued signal in each thread.
1845
4496bed7
PA
18462015-04-08 Pedro Alves <palves@redhat.com>
1847
1848 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
1849 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
1850 gdb_breakpoint instead of gdb_test that doesn't expect anything.
1851 Return early if running to main fails.
1852 * gdb.trace/while-stepping.exp: Likewise.
1853
b97fde92
PA
18542015-04-07 Pedro Alves <palves@redhat.com>
1855
1856 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
1857 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
1858 interact with inferior program.
1859
f71c18e7
PA
18602015-04-07 Pedro Alves <palves@redhat.com>
1861
1862 * lib/gdb.exp (inferior_spawn_id): New global.
1863 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
1864 spawn id after processing the user code.
1865 (default_gdb_start): Set inferior_spawn_id.
1866 (send_inferior): New procedure.
1867 * lib/gdbserver-support.exp (gdbserver_start): Set
1868 inferior_spawn_id.
1869 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
1870
6423214f
PA
18712015-04-07 Pedro Alves <palves@redhat.com>
1872
1873 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
1874 * lib/gdbserver-support.exp (gdbserver_start): Make
1875 $server_spawn_id global.
1876 (gdbserver_start): Don't wait for gdbserver's spawn id with
1877 expect_background.
1878 (close_gdbserver): New procedure.
1879 (gdb_exit): Rename the default version and reimplement.
1880
71c0ee8c
PA
18812015-04-07 Pedro Alves <palves@redhat.com>
1882
72f4393d 1883 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
1884 append the substituted item, not the original item.
1885
203bc29b
PA
18862015-04-07 Pedro Alves <palves@redhat.com>
1887
1888 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
1889 gdb_expect.
1890
508a3ddf
PA
18912015-04-07 Pedro Alves <palves@redhat.com>
1892
1893 * gdb.base/interrupt.exp: Don't handle the case of the inferior
1894 output appearing once only.
1895
9f6dbe2b
PA
18962015-04-07 Pedro Alves <palves@redhat.com>
1897
1898 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
1899 that doesn't expect anything. Return early if running to main
1900 fails.
1901
337532fa
YQ
19022015-04-07 Yao Qi <yao.qi@linaro.org>
1903
1904 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
1905 (child_function): Call alarm.
1906 (main): Move call to alarm into the loop.
1907 * gdb.threads/non-stop-fair-events.exp: Build program with
1908 -DTIMEOUT=$timeout.
1909
01b622d4
DE
19102015-04-06 Doug Evans <xdje42@gmail.com>
1911
1912 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
1913 Fix dest parameter to board_info.
1914 (fpc_compile): Ditto.
1915 (gdb_compile_pascal): Rename dest arg to destfile.
1916
961f4160
PMR
19172015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
1918
1919 * gdb.ada/funcall_ref.exp: New file.
1920 * gdb.ada/funcall_ref/foo.adb: New file.
1921
cafda597
YQ
19222015-04-02 Yao Qi <yao.qi@linaro.org>
1923
1924 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
1925 is remote.
1926
fed040c6
GB
19272015-04-02 Gary Benson <gbenson@redhat.com>
1928
1929 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
1930
d11916aa
SS
19312015-04-01 Sasha Smundak <asmundak@google.com>
1932
1933 * gdb.python/py-unwind-maint.c: New file.
1934 * gdb.python/py-unwind-maint.exp: New test.
1935 * gdb.python/py-unwind-maint.py: New file.
1936 * gdb.python/py-unwind.c: New file.
1937 * gdb.python/py-unwind.exp: New test.
1938 * gdb.python/py-unwind.py: New test.
1939
a1471180
PA
19402015-04-01 Pedro Alves <palves@redhat.com>
1941
1942 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
1943 to fail instead of non-existent $test.
1944
0bbeccb1
PA
19452015-04-01 Pedro Alves <palves@redhat.com>
1946
1947 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
1948 GDBFLAGS if not empty.
1949
3c724c8c
PMR
19502015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
1951
1952 * gdb.ada/complete.exp: Remove "multi_line".
1953 * gdb.ada/info_exc.exp: Remove "multi_line".
1954 * gdb.ada/packed_tagged.exp: Remove "multi_line".
1955 * gdb.ada/ptype_field.exp: Remove "multi_line".
1956 * gdb.ada/sym_print_name.exp: Remove "multi_line".
1957 * gdb.ada/tagged.exp: Remove "multi_line".
1958 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
1959 [multi_line ...]
1960 * gdb.btrace/delta.exp: Likewise.
1961 * gdb.btrace/exception.exp: Likewise.
1962 * gdb.btrace/function_call_history.exp: Likewise.
1963 * gdb.btrace/instruction_history.exp: Likewise.
1964 * gdb.btrace/nohist.exp: Likewise.
1965 * gdb.btrace/record_goto.exp: Likewise.
1966 * gdb.btrace/segv.exp: Likewise.
1967 * gdb.btrace/stepi.exp: Likewise.
1968 * gdb.btrace/tailcall.exp: Likewise.
1969 * gdb.btrace/unknown_functions.exp: Likewise.
1970 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
1971 * lib/gdb.exp: Add the "multi_line" helper.
1972
4eec2deb
PA
19732015-04-01 Pedro Alves <palves@redhat.com>
1974
1975 * gdb.threads/tid-reuse.c: New file.
1976 * gdb.threads/tid-reuse.exp: New file.
1977
df8411da
SDJ
19782015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
1979
1980 PR corefiles/16092
1981 * gdb.base/coredump-filter.c: New file.
1982 * gdb.base/coredump-filter.exp: Likewise.
1983
6ef37366
PM
19842015-03-27 Petr Machata <pmachata@redhat.com>
1985
1986 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
1987 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
1988 (Dwarf::assemble): Initialize them.
1989 (Dwarf::lines): New function.
1990
7ec911b0
JT
19912015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
1992
1993 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
1994 SYMBOL_PREFIX for x86_64-*-cygwin.
1995
ff908ebf
AW
19962015-03-26 Andy Wingo <wingo@igalia.com>
1997
1998 PR symtab/18148
1999 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
2000 const_value but not a location.
2001 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
2002 location defined in non-main CUs are visible.
2003
6d5f0679
YQ
20042015-03-26 Yao Qi <yao.qi@linaro.org>
2005
2006 PR testsuite/18139
2007 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
2008 Add a line number entry for the same line.
2009 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
2010 Add a line number entry for the same line.
2011
2898689b
YQ
20122015-03-26 Yao Qi <yao.qi@linaro.org>
2013
2014 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
2015 .int 0.
2016 (func): Likewise. Add .Lfunc_1 label.
2017 Use .Lfunc_1 label.
2018 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
2019 .int 0.
2020 (func): Likewise.
2021 Use .Lfunc_1 label.
2022
85180498
YQ
20232015-03-26 Yao Qi <yao.qi@linaro.org>
2024
2025 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
2026 Call gdb_compile instead to compile each .s files without debug
2027 information.
2028
8aa08a8d
YQ
20292015-03-26 Yao Qi <yao.qi@linaro.org>
2030
2031 * gdb.base/savedregs.exp (process_saved_regs): Make
2032 "Saved registers:" optional in the pattern.
2033
66849923
MM
20342015-03-25 Markus Metzger <markus.t.metzger@intel.com>
2035
2036 * gdb.btrace/next.exp: Merged into step.exp.
2037 * gdb.btrace/finish.exp: Merged into step.exp.
2038 * gdb.btrace/nexti.exp: Merged into stepi.exp.
2039 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
2040 "record goto" and checking the exact replay position.
2041 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
2042 check for "Recording format" in "info record" output.
2043 * gdb.btrace/record_goto.exp: Choose test file based on target.
2044 * gdb.btrace/x86-record_goto.S: Renamed into ...
2045 * gdb.btrace/x86_64-record_goto.S: ... this.
2046 * gdb.btrace/i686-record_goto.S: New.
2047 * gdb.btrace/x86-tailcall.S: Renamed into ...
2048 * gdb.btrace/x86_64-tailcall.S: ... this.
2049 * gdb.btrace/i686-tailcall.S: New.
2050 * gdb.btrace/x86-tailcall.c: Renamed into ...
2051 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
2052 separate statements. Update test.
2053 * gdb.btrace/delta.exp: Use record_goto.c as test file.
2054 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
2055 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
2056 * gdb.btrace/tailcall.exp: Choose test file based on target.
2057 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
2058
11cc1b74
MM
20592015-03-25 Markus Metzger <markus.t.metzger@intel.com>
2060
2061 * gdb.btrace/exception.exp: Increase BTS buffer size.
2062
a25d8bf9
PA
20632015-03-24 Pedro Alves <palves@redhat.com>
2064
2065 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
2066
856e7dd6
PA
20672015-03-24 Pedro Alves <palves@redhat.com>
2068
2069 * gdb.threads/schedlock.exp (test_step): No longer expect that
2070 "set scheduler-locking step" with "next" over a function call runs
2071 threads unlocked.
2072
ad235a41
AT
20732015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
2074
2075 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
2076
15630549
AT
20772015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
2078
2079 PR breakpoints/16466
2080 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
2081 * gdb.mi/mi-pending.c (thread_func): New function.
2082 (int main): Add threading support required.
2083 * gdb.mi/mi-pending.exp: Add tests for this issue.
2084 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
2085 (pendfunc2): Remove stdio dependency.
2086 * gdb.mi/mi-pendshr2.c: New file.
2087
693dca06
KS
20882015-03-23 Keith Seitz <keiths@redhat.com>
2089
2090 * gdb.linespec/keywords.c: New file.
2091 * gdb.linespec/keywords.exp: New file.
2092
7e993ebf
KS
20932015-03-23 Keith Seitz <keiths@redhat.com>
2094
2095 PR gdb/18021
2096 * gdb.dwarf2/staticvirtual.exp: New test.
2097
bc23328c
JK
20982015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2099
2100 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
2101 * README: Remove HP-UX and gdb.hp.
2102 (configuration):
2103 * configure: Regenerate.
2104 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
2105 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
2106 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
2107 gdb.hp/gdb.defects/Makefile.
2108 * gdb.hp/Makefile.in: File deleted.
2109 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
2110 * gdb.hp/gdb.aCC/optimize.c: File deleted.
2111 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
2112 * gdb.hp/gdb.aCC/run.c: File deleted.
2113 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
2114 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
2115 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
2116 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
2117 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
2118 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
2119 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
2120 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
2121 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
2122 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
2123 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
2124 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
2125 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
2126 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
2127 * gdb.hp/gdb.base-hp/reg.s: File deleted.
2128 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
2129 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
2130 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
2131 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
2132 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
2133 * gdb.hp/gdb.compat/Makefile.in: File deleted.
2134 * gdb.hp/gdb.compat/average.c: File deleted.
2135 * gdb.hp/gdb.compat/sum.c: File deleted.
2136 * gdb.hp/gdb.compat/xdb.c: File deleted.
2137 * gdb.hp/gdb.compat/xdb0.c: File deleted.
2138 * gdb.hp/gdb.compat/xdb0.h: File deleted.
2139 * gdb.hp/gdb.compat/xdb1.c: File deleted.
2140 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
2141 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
2142 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
2143 * gdb.hp/gdb.defects/Makefile.in: File deleted.
2144 * gdb.hp/gdb.defects/bs14602.c: File deleted.
2145 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
2146 * gdb.hp/gdb.defects/solib-d.c: File deleted.
2147 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
2148 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
2149 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
2150 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
2151 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
2152 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
2153 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
2154 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
2155 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
2156 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
2157 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
2158 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
2159 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
2160 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
2161 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
2162 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
2163 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
2164 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
2165 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
2166 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
2167 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
2168 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
2169 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
2170 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
2171 * gdb.hp/tools/odump: File deleted.
2172
8bf3b159
PA
21732015-03-19 Pedro Alves <palves@redhat.com>
2174
2175 * gdb.threads/continue-pending-status.exp (saw_thread_2)
2176 (saw_thread_3): New globals.
2177 (top level): Increment them when an event for the corresponding
2178 thread is seen.
2179 (no thread starvation): New test.
2180
eb54c8bf
PA
21812015-03-19 Pedro Alves <palves@redhat.com>
2182
2183 * gdb.threads/continue-pending-status.c: New file.
2184 * gdb.threads/continue-pending-status.exp: New file.
2185
32d2e5d6
PA
21862015-03-18 Pedro Alves <palves@redhat.com>
2187
2188 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
2189 Use gdb_is_target_remote instead of is_remote. Use
2190 gdb_test_multiple instead of gdb_expect. Exit early if
2191 gdb_test_multiple hits its internal matches. Tighten stepi tests
2192 expected output. Fail on exit with any signal, instead of just
2193 SIGILL.
2194
f68f11b7
YQ
21952015-03-18 Yao Qi <yao.qi@linaro.org>
2196
2197 PR tdep/18107
2198 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
2199 variable.
2200 * gdb.base/catch-syscall.exp: Don't skip it on
2201 aarch64*-*-linux* target. Remove elements in all_syscalls.
2202 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
2203 target.
2204 (setup_all_syscalls): New proc.
2205
ca5fd19b
YQ
22062015-03-16 Yao Qi <yao.qi@linaro.org>
2207
2208 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
2209 (top level): Skip tests if valid_addr_p returns false for
2210 $cmd1 or $cmd2.
2211
85642ba0
AW
22122015-03-11 Andy Wingo <wingo@igalia.com>
2213
2214 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
2215
e03f9645
YQ
22162015-03-11 Yao Qi <yao.qi@linaro.org>
2217
2218 * gdb.base/catch-syscall.exp: Fix typo in comments.
2219
5d0962b2
YQ
22202015-03-11 Yao Qi <yao.qi@linaro.org>
2221
2222 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
2223
b2df3cef
PA
22242015-03-09 Pedro Alves <palves@redhat.com>
2225
2226 * dg-extract-results.py: Delete.
2227
ef878e53
PA
22282015-03-09 Pedro Alves <palves@redhat.com>
2229
2230 Merge dg-extract-results.sh from GCC upstream (r218843).
2231
2232 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
2233 * dg-extract-results.sh: Use --text with grep to avoid issues with
2234 binary files. Fall back to cat -v, if that doesn't work.
2235
9494d219
PA
22362015-03-05 Pedro Alves <palves@redhat.com>
2237
2238 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
2239
a8d9763a
SM
22402015-03-04 Simon Marchi <simon.marchi@ericsson.com>
2241
2242 * lib/mi-support.exp (mi_expect_interrupt): Accept
2243 alternative event for when in all-stop mode.
2244
be9957b8
PA
22452015-03-04 Pedro Alves <palves@redhat.com>
2246
2247 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
2248
d57be0f4 22492015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
2250
2251 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
2252
c214c7cf
AA
22532015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
2254
2255 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
2256 regexps for GDB's current line display, accept a hex address
2257 preceding the line number.
2258
6d74a497
AA
22592015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
2260
2261 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
2262 the 'arch1' variable for "s390*-linux*" targets.
2263
511aee7c
PA
22642015-03-04 Pedro Alves <palves@redhat.com>
2265
2266 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
2267 (main): Pass missing retval argument to pthread_join call.
2268
95e50b27
PA
22692015-03-02 Pedro Alves <palves@redhat.com>
2270
2271 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
2272 (top level): Call do_test with non-stop as well.
2273
28054d69
PA
22742015-03-02 Pedro Alves <palves@redhat.com>
2275
2276 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
2277 -1.
2278
4fa5d7b4
AA
22792015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
2280
2281 * gdb.arch/s390-vregs.exp: New test.
2282 * gdb.arch/s390-vregs.S: New file.
2283
97c18565
PA
22842015-02-27 Pedro Alves <palves@redhat.com>
2285
2286 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
2287 call to catch_command_errors.
2288 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
2289 catch_command_errors.
2290
a37bfa30
PA
22912015-02-27 Pedro Alves <palves@redhat.com>
2292
2293 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
2294 "true" for boolean result.
2295 * gdb.gdb/selftest.exp (test_with_self): Also accept full
2296 prototype of main.
2297
6f98576f
PA
22982015-02-27 Pedro Alves <palves@redhat.com>
2299
2300 * lib/unbuffer_output.c: New file.
2301 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
2302 (main): Call gdb_unbuffer_output.
2303
eba5ab56
YQ
23042015-02-27 Yao Qi <yao.qi@linaro.org>
2305
2306 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
2307 target.
2308
0def5aaa
DE
23092015-02-26 Doug Evans <dje@google.com>
2310
2311 * gdb.cp/class2.cc (Dbase, D): New classes.
2312 (main): New local delta.
2313 * gdb.cp/class2.exp: Test printing delta.
2314 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
2315 (dynbar): New global.
2316 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
2317
081a1c2c
JK
23182015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2319
2320 * gdb.compile/compile-ifunc.c: New file.
2321 * gdb.compile/compile-ifunc.exp: New file.
2322
2f41223f
AT
23232015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
2324
2325 * gdb.base/structs.exp: Check for correct struct on finish.
2326
03eddd80
YQ
23272015-02-26 Yao Qi <yao.qi@linaro.org>
2328
2329 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
2330 is zero.
2331
80c57053
JK
23322015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2333
2334 * gdb.arch/cordic.ko.bz2: New file.
2335 * gdb.arch/cordic.ko.debug.bz2: New file.
2336 * gdb.arch/ppc64-symtab-cordic.exp: New file.
2337
21613c12
YQ
23382015-02-25 Yao Qi <yao.qi@linaro.org>
2339
2340 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
2341 aarch64*-*-* target.
2342
d8b901ed
PA
23432015-02-23 Pedro Alves <palves@redhat.com>
2344
2345 * lib/gdb.exp (delete_breakpoints): Rewrite using
2346 gdb_test_multiple.
2347
e5b85ead
PA
23482015-02-23 Pedro Alves <palves@redhat.com>
2349
2350 * gdb.base/info-os.c: Include stdlib.h.
2351
85c3a371
DE
23522015-02-22 Doug Evans <xdje42@gmail.com>
2353
2354 PR symtab/17855
2355 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
2356 is read after symbols have been re-read.
2357 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
2358 * gdb.ada/exec_changed/second.adb (Second): Ditto.
2359
96553a0c
DE
23602015-02-21 Doug Evans <dje@google.com>
2361
2362 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
2363
97a0c697
JK
23642015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2365
2366 PR corefiles/17808
2367 * gdb.arch/i386-biarch-core.core.bz2: New file.
2368 * gdb.arch/i386-biarch-core.exp: New file.
2369
a47cd6e9
PA
23702015-02-21 Pedro Alves <palves@redhat.com>
2371
2372 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
2373 runto_main fails.
2374
c5facdc4
PA
23752015-02-20 Pedro Alves <palves@redhat.com>
2376
2377 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
2378 info probes.
2379
2db9a427
PA
23802015-02-20 Pedro Alves <palves@redhat.com>
2381
2382 * gdb.threads/multi-create-ns-info-thr.exp: New file.
2383
60fb7e9e
PA
23842015-02-20 Pedro Alves <palves@redhat.com>
2385
2386 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
2387 clean_restart before gdb_target_supports_trace.
2388
5c5019c2
PA
23892015-02-20 Pedro Alves <palves@redhat.com>
2390
2391 PR threads/18006
2392 * gdb.threads/clone-thread_db.c: New file.
2393 * gdb.threads/clone-thread_db.exp: New file.
2394
c9587f88
AT
23952015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
2396
2397 PR breakpoints/16812
2398 * gdb.base/catch-gdb-caused-signals.c: New file.
2399 * gdb.base/catch-gdb-caused-signals.exp: New file.
2400
f6a88844
JM
24012015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
2402
2403 * configure: Regenerated.
2404 * configure.ac: Use GDB_AC_TRANSFORM.
2405 * aclocal.m4: sinclude ../transform.m4.
2406
497c491b
JM
24072015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2408
2409 * lib/dtrace.exp: New file.
2410 * gdb.base/dtrace-probe.exp: Likewise.
2411 * gdb.base/dtrace-probe.d: Likewise.
2412 * gdb.base/dtrace-probe.c: Likewise.
2413 * lib/pdtrace.in: Likewise.
2414 * configure.ac: Output variables with the transformed names of
2415 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
2416 * configure: Regenerated.
2417
03e98035
JM
24182015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2419
2420 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
2421 expected message when trying to access $_probe_* convenience
2422 variables while not on a probe.
2423
63cc30e9
JK
24242015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2425
2426 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
2427
0703599a
PA
24282015-02-11 Pedro Alves <pedro@codesourcery.com>
2429
2430 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
2431 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
2432
7e60a48e
DE
24332015-02-10 Doug Evans <xdje42@gmail.com>
2434
2435 * lib/gdb.exp (gdb_load): Always return a result.
2436
01b088bc
PA
24372015-02-10 Pedro Alves <palves@redhat.com>
2438
2439 * gdb.threads/signal-sigtrap.c: New file.
2440 * gdb.threads/signal-sigtrap.exp: New file.
2441
b05ec7a5
AT
24422015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
2443
2444 * gdb.trace/no-attach-trace.c: New file.
2445 * gdb.trace/no-attach-trace.exp: New file.
2446
a2c2acaf
MW
24472015-02-09 Mark Wielaard <mjw@redhat.com>
2448
2449 * gdb.dwarf2/atomic.c: New file.
2450 * gdb.dwarf2/atomic-type.exp: Likewise.
2451
31fd9caa
MM
24522015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2453
2454 * gdb.btrace/buffer-size.exp: Update "info record" output.
2455 * gdb.btrace/delta.exp: Update "info record" output.
2456 * gdb.btrace/enable.exp: Update "info record" output.
2457 * gdb.btrace/finish.exp: Update "info record" output.
2458 * gdb.btrace/instruction_history.exp: Update "info record" output.
2459 * gdb.btrace/next.exp: Update "info record" output.
2460 * gdb.btrace/nexti.exp: Update "info record" output.
2461 * gdb.btrace/step.exp: Update "info record" output.
2462 * gdb.btrace/stepi.exp: Update "info record" output.
2463 * gdb.btrace/nohist.exp: Update "info record" output.
2464
d33501a5
MM
24652015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2466
2467 * gdb.btrace/buffer-size: New.
2468
f4abbc16
MM
24692015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2470
2471 * gdb.btrace/delta.exp: Update "info record" output.
2472 * gdb.btrace/enable.exp: Update "info record" output.
2473 * gdb.btrace/finish.exp: Update "info record" output.
2474 * gdb.btrace/instruction_history.exp: Update "info record" output.
2475 * gdb.btrace/next.exp: Update "info record" output.
2476 * gdb.btrace/nexti.exp: Update "info record" output.
2477 * gdb.btrace/step.exp: Update "info record" output.
2478 * gdb.btrace/stepi.exp: Update "info record" output.
2479 * gdb.btrace/nohist.exp: Update "info record" output.
2480
b9d61307
SM
24812015-02-06 Simon Marchi <simon.marchi@ericsson.com>
2482
2483 PR gdb/15678
2484 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
2485
e584fdbc
PA
24862015-02-06 Pedro Alves <palves@redhat.com>
2487
2488 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
2489 macro.
2490 (seconds_left, again): New globals.
2491 (main): Wait seconds_left in a 1-second sleep loop instead of
2492 sleeping 180 seconds. If 'again' is set, reset the seconds
2493 counter.
2494 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
2495 'again' in the inferior before detaching. Print the seconds left.
2496 (options): New global.
2497 (top level): Build program with -DTIMEOUT=$timeout.
2498
77f41761
PA
24992015-02-06 Pedro Alves <palves@redhat.com>
2500
2501 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
2502 determine how many seconds to pass to 'alarm'.
2503 * gdb.base/gdb-sigterm.exp (top level): Build program with
2504 -DTIMEOUT=$timeout.
2505 (do_test): Return success/failure indication. Add more verbose
2506 logging. Don't fail if 200 single steps are seen. Instead, fail
2507 when the test times out.
2508 (passes): New global.
2509 (top level): Break the testing loop if testing fails on any
2510 iteration. Use gdb_assert.
2511
b9394193
DB
25122015-02-04 Don Breazeal <donb@codesourcery.com>
2513
2514 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
2515 and initialize them.
2516 (ipc_cleanup): New function.
2517 (main): Don't declare shmid, semid, and msqid. Add a call to
2518 atexit so that we call ipc_cleanup on exit.
2519
42d9e528
PA
25202015-02-04 Pedro Alves <palves@redhat.com>
2521
2522 * boards/native-extended-gdbserver.exp: Remove any target variant
2523 specifications from the board name before clearing the isremote
2524 flag from board_info.
2525
ae6ae975
DE
25262015-01-31 Doug Evans <xdje42@gmail.com>
2527
2528 * gdb.base/maint.exp <maint print type argc>: Update expected output.
2529
cfb069a8
GB
25302015-01-31 Gary Benson <gbenson@redhat.com>
2531
2532 * gdb.base/completion.exp: Disable completion limiting for
2533 existing tests. Add new tests to check completion limiting.
2534 * gdb.linespec/ls-errs.exp: Disable completion limiting.
2535
5dd31d79
DE
25362015-01-31 Doug Evans <xdje42@gmail.com>
2537
2538 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
2539
9f050062
DE
25402015-01-31 Doug Evans <xdje42@gmail.com>
2541
2542 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
2543 entries. Duplicate file section script entries.
2544 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
2545 inlined entries. Add test for safe-path rejection.
2546 * gdb.python/py-section-script.c: Add duplicate inlined section script
2547 entries. Duplicate file section script entries.
2548 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
2549 inlined entries. Add test for safe-path rejection.
2550
df25ebbd
JB
25512015-01-29 Joel Brobecker <brobecker@adacore.com>
2552
2553 * gdb.ada/disc_arr_bound: New testcase.
2554
4a0ca9ec
JB
25552015-01-29 Joel Brobecker <brobecker@adacore.com>
2556
2557 * gdb.ada/mi_var_array: New testcase.
2558
3a8b707a
DE
25592015-01-27 Doug Evans <dje@google.com>
2560
2561 * gdb.python/py-objfile.exp: Add tests for objfile.username.
2562 Add test for objfile.filename, objfile.username after objfile
2563 has been unloaded.
2564
f8313f6e
JB
25652015-01-26 Joel Brobecker <brobecker@adacore.com>
2566
2567 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
2568 the second test to print the name attribute of value
2569 returned by the call to gdb.lookup_type, and adjust
2570 the expected output accordingly.
2571
37bc665e
MW
25722015-01-25 Mark Wielaard <mjw@redhat.com>
2573
2574 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
2575 * gdb.base/disp-step-fork.c: Include unistd.h.
2576 * gdb.base/siginfo-obj.c: Include stdio.h.
2577 * gdb.base/siginfo-thread.c: Likewise.
2578 * gdb.mi/non-stop.c: Include unistd.h.
2579 * gdb.mi/nsthrexec.c: Include stdio.h.
2580 * gdb.mi/pthreads.c: Include unistd.h.
2581 * gdb.modula2/unbounded1.c (main): Declare returns int.
2582 * gdb.reverse/consecutive-reverse.c: Likewise.
2583 * gdb.threads/create-fail.c: Include unistd.h.
2584 * gdb.threads/killed.c: Likewise.
2585 * gdb.threads/linux-dp.c: Likewise.
2586 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
2587 * gdb.threads/non-ldr-exc-2.c: Likewise.
2588 * gdb.threads/non-ldr-exc-3.c: Likewise.
2589 * gdb.threads/non-ldr-exc-4.c: Likewise.
2590 * gdb.threads/pthreads.c: Include unistd.h.
2591 (main): Declare returns int.
2592 * gdb.threads/tls-main.c (foo): New declaration.
2593 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
2594
f7e5394d
SM
25952015-01-23 Simon Marchi <simon.marchi@ericsson.com>
2596
2597 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
2598 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
2599
743649fd
MW
26002015-01-15 Mark Wielaard <mjw@redhat.com>
2601
2602 * gdb.base/noreturn-return.c: New file.
2603 * gdb.base/noreturn-return.exp: New file.
2604 * gdb.base/noreturn-finish.c: New file.
2605 * gdb.base/noreturn-finish.exp: New file.
2606
198297aa
PA
26072015-01-23 Pedro Alves <palves@redhat.com>
2608
2609 * gdb.threads/continue-pending-after-query.c: New file.
2610 * gdb.threads/continue-pending-after-query.exp: New file.
2611
717cf30c
AG
26122015-01-22 Anders Granlund <anders.granlund@ericsson.com>
2613 Simon Marchi <simon.marchi@ericsson.com>
2614
2615 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
2616 * gdb.base/valgrind-db-attach.exp: Same.
2617 * gdb.base/valgrind-infcall.exp: Same.
2618 * lib/mi-support.exp (default_mi_gdb_start): Same.
2619 * lib/prompt.exp (default_prompt_gdb_start): Same.
2620 * lib/gdb.exp (default_gdb_spawn): Same.
2621 (gdb_interact): New.
2622
2623
4b62a76e
JK
26242015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2625
2626 * gdb.compile/compile.exp (pointer to jit function): New test.
2627
b4cdae6f
WW
26282015-01-17 Wei-cheng Wang <cole945@gmail.com>
2629
2630 * lib/gdb.exp (supports_process_record): Return true for
2631 powerpc*-*-linux*.
2632 (supports_reverse): Likewise.
2633
d221e7ef
DB
26342015-01-15 Don Breazeal <donb@codesourcery.com>
2635
2636 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
2637 instead of checking whether the target board is remote and
2638 use spawn_wait_for_attach instead of exec/sleep.
2639 * gdb.base/attach-twice.exp: Likewise.
2640
bafffb51
JB
26412015-01-15 Joel Brobecker <brobecker@adacore.com>
2642
2643 * gdb.ada/var_arr_attrs: New testcase.
2644
5589af0e
PA
26452015-01-14 Pedro Alves <palves@redhat.com>
2646 Joel Brobecker <brobecker@adacore.com>
2647
2648 PR gdb/17525
2649 * gdb.base/bp-cmds-execution-x-script.c: New file.
2650 * gdb.base/bp-cmds-execution-x-script.exp: New file.
2651 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
2652
6c400b59
PA
26532015-01-14 Pedro Alves <palves@redhat.com>
2654
2655 PR cli/17828
2656 * gdb.base/batch-preserve-term-settings.c: New file.
2657 * gdb.base/batch-preserve-term-settings.exp: New file.
2658
e02c96a7
DE
26592015-01-13 Doug Evans <dje@google.com>
2660
2661 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
2662 binary.
2663
576fd14c
JB
26642015-01-13 Joel Brobecker <brobecker@adacore.com>
2665
2666 * Makefile.in (clean mostlyclean): Do not delete *.py.
2667
04dccad0
JB
26682015-01-13 Joel Brobecker <brobecker@adacore.com>
2669
2670 * gdb.python/py-lookup-type.exp: New file.
2671
3d230f71
PA
26722015-01-12 Pedro Alves <palves@redhat.com>
2673
2674 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
2675 restore GDBFLAGS before returning.
2676
7e67715d
JK
26772015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2678
2679 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
2680 is_amd64_regs_target and is_x86_like_target.
2681
f2e0d4b4
DE
26822015-01-11 Doug Evans <xdje42@gmail.com>
2683
2684 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
2685 is given without an explicit form.
2686 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
2687 attributes.
2688 * gdb.dwarf/corrupt.exp: Ditto.
2689 * gdb.dwarf2/enum-type.exp: Ditto.
2690 * gdb.trace/entry-values.exp: Ditto.
2691 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
2692
439250fb
DE
26932015-01-11 Doug Evans <xdje42@gmail.com>
2694
2695 PR gdb/15830
2696 * gdb.base/maint.exp: Remove references to "maint demangle".
2697 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
2698 Add tests for explicitly specifying language to demangle.
2699 * gdb.dlang/demangle.exp: Ditto.
2700
ede9f622
PA
27012015-01-09 Pedro Alves <palves@redhat.com>
2702
2703 * gdb.threads/non-stop-fair-events.c: New file.
2704 * gdb.threads/non-stop-fair-events.exp: New file.
2705
a7b796db
PA
27062015-01-09 Pedro Alves <palves@redhat.com>
2707
2708 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
2709 the global scope. Set a breakpoint after all threads are started
2710 rather than stepping over two source lines. Expect the prompt.
2711 * gdb.base/watch_thread_num.c (threads_started_barrier): New
2712 global.
2713 (NUM): Now 15.
2714 (main): Use threads_started_barrier to wait for all threads to
2715 start. Main thread no longer calls thread_function. Exit after
2716 180 seconds.
2717 (loop): New function.
2718 (thread_function): Wait on threads_started_barrier barrier. Call
2719 'loop' at each iteration.
2720 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
2721 threads have started, instead of hardcoding number of "next"
2722 steps. Use an access watchpoint instead of a write watchpoint.
2723
9665ffdd
PA
27242015-01-09 Pedro Alves <palves@redhat.com>
2725
2726 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
2727 (thread_func): Wait on barrier.
2728 (main): Wait for all threads to start before stopping GDB.
2729 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
2730 global.
2731 (thread1_func, thread2_func): Wait on barrier.
2732 (main): Wait for all threads to start before stopping GDB.
2733 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
2734 New global.
2735 (thread1_func, thread2_func): Wait on barrier.
2736 (main): Wait for all threads to start before stopping GDB.
2737
c945a99f
PA
27382015-01-09 Pedro Alves <palves@redhat.com>
2739
2740 * gdb.threads/attach-many-short-lived-threads.c: New file.
2741 * gdb.threads/attach-many-short-lived-threads.exp: New file.
2742
c1a747c1
PA
27432014-01-09 Pedro Alves <palves@redhat.com>
2744
2745 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
2746 instead of to thread 2.
2747 * gdb.threads/signal-command-multiple-signals-pending.c (main):
2748 Add barrier around each pthread_create call instead of around all
2749 calls.
2750 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
2751 Set a break on thread_function and have the child threads hit it
2752 one at at a time.
2753
60b3033e
PA
27542015-01-09 Pedro Alves <palves@redhat.com>
2755
2756 * lib/gdb.exp (can_spawn_for_attach): New procedure.
2757 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
2758 false.
2759 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
2760 checking whether the target board is remote.
2761 * gdb.multi/multi-attach.exp: Likewise.
2762 * gdb.python/py-sync-interp.exp: Likewise.
2763 * gdb.server/ext-attach.exp: Likewise.
2764 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
2765 tests that need to attach, instead of checking whether the target
2766 board is remote at the top of the file.
2767
acc018ac
YQ
27682015-01-08 Yao Qi <yao@codesourcery.com>
2769
2770 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
2771
50a18af8
JK
27722015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2773
2774 Fix testcase compilation.
2775 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
2776
8503d6e1
JB
27772015-01-06 Joel Brobecker <brobecker@adacore.com>
2778
2779 * gdb.python/py-type.exp: Add a couple test about empty
2780 array creation, and negative-length array creation.
2781
cc73dbcc
DE
27822015-01-02 Doug Evans <xdje42@gmail.com>
2783
2784 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
2785
0300bbc7
DE
27862015-01-02 Doug Evans <dje@google.com>
2787
2788 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
2789
9d85a0ec
YQ
27902014-12-29 Yao Qi <yao@codesourcery.com>
2791
2792 * gdb.trace/entry-values.exp: Update comments. Rename variable
2793 bar_call_foo to returned_from_foo.
2794
87186c6a
MMN
27952014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
2796
2797 PR gdb/17394
2798 * gdb.linespec/break-asm-file.c: New file.
2799 * gdb.linespec/break-asm-file.exp: New file.
2800 * gdb.linespec/break-asm-file0.s: New file.
2801 * gdb.linespec/break-asm-file1.s: New file.
2802
1bab7383
YQ
28032014-12-18 Nigel Stephens <nigel@mips.com>
2804 Maciej W. Rozycki <macro@codesourcery.com>
2805
2806 * gdb.base/float.exp: Handle the new output from "info float" on
2807 MIPS targets.
2808
1bc1068a
JK
28092014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2810
2811 Fix MinGW compilation.
2812 * gdb.compile/compile-ops.exp: Update untested message if
2813 !skip_compile_feature_tests.
2814 * gdb.compile/compile-setjmp.exp: Likewise.
2815 * gdb.compile/compile-tls.exp: Likewise.
2816 * gdb.compile/compile.exp: Likewise.
2817 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
2818 supported on this host".
2819
b6615d10
DE
28202014-12-16 Doug Evans <xdje42@gmail.com>
2821
2822 * boards/stabs.exp: New file.
2823
25dda427
AA
28242014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
2825
2826 * gdb.base/completion.exp: Adjust to format changes of "maint
2827 print user-registers".
2828
bf330350
CU
28292014-12-16 Catalin Udma <catalin.udma@freescale.com>
2830
2831 PR server/17457
2832 * gdb.arch/aarch64-fp.c: New file.
2833 * gdb.arch/aarch64-fp.exp: New file.
2834
395cf596
SDJ
28352014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
2836
2837 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
2838 r210637, r210913, r211666, r215400, r215817).
2839
2840 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
2841 * dg-extract-results.py: New file.
2842 * dg-extract-results.sh: Use it if the environment seems
2843 suitable.
2844
2845 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
2846
2847 * dg-extract-results.py (parse_run): Handle warnings that
2848 are printed before a test harness is run.
2849
2850 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
2851
2852 * dg-extract-results.py (Named): Remove __cmp__ method.
2853 (output_variation): Use a key to sort variation.harnesses.
2854
2855 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
2856
2857 * dg-extract-results.py: For Python 3, force sys.stdout to
2858 handle surrogate escape sequences.
2859 (safe_open): New function.
2860 (output_segment, main): Use it.
2861
2862 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
2863
2864 * dg-extract-results.py (Prog.result_re): Include options
2865 in test name.
2866
2867 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
2868
2869 * dg-extract-results.py (output_variation): Always sort if
2870 do_sum.
2871
e882ef3c
SM
28722014-12-15 Simon Marchi <simon.marchi@ericsson.com>
2873
2874 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
2875 as long as we get pagination notifications.
2876
4992aa20
JM
28772014-12-15 Jason Merrill <jason@redhat.com>
2878
2879 * Makefile.in (check-gdb.%): Restore.
2880 * README: Mention it.
2881
c1b5a1a6
JB
28822014-12-13 Joel Brobecker <brobecker@adacore.com>
2883
2884 * gdb.ada/str_uninit: New testcase.
2885
5537b577
JK
28862014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2887
2888 PR symtab/17642
2889 * gdb.base/vla-stub-define.c: New file.
2890 * gdb.base/vla-stub.c: New file.
2891 * gdb.base/vla-stub.exp: New file.
2892
bb2ec1b3
TT
28932014-12-12 Phil Muldoon <pmuldoon@redhat.com>
2894 Jan Kratochvil <jan.kratochvil@redhat.com>
2895 Tom Tromey <tromey@redhat.com>
2896
2897 * configure.ac: Add gdb.compile/.
2898 * configure: Regenerate.
2899 * gdb.compile/Makefile.in: New file.
2900 * gdb.compile/compile-ops.exp: New file.
2901 * gdb.compile/compile-ops.c: New file.
2902 * gdb.compile/compile-tls.c: New file.
2903 * gdb.compile/compile-tls.exp: New file.
2904 * gdb.compile/compile-constvar.S: New file.
2905 * gdb.compile/compile-constvar.c: New file.
2906 * gdb.compile/compile-mod.c: New file.
2907 * gdb.compile/compile-nodebug.c: New file.
2908 * gdb.compile/compile-setjmp-mod.c: New file.
2909 * gdb.compile/compile-setjmp.c: New file.
2910 * gdb.compile/compile-setjmp.exp: New file.
2911 * gdb.compile/compile-shlib.c: New file.
2912 * gdb.compile/compile.c: New file.
2913 * gdb.compile/compile.exp: New file.
2914 * lib/gdb.exp (skip_compile_feature_tests): New proc.
2915
4ff709eb
TT
29162014-12-12 Tom Tromey <tromey@redhat.com>
2917
2918 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
2919 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
2920
6dddd6a5
DE
29212014-12-12 Doug Evans <dje@google.com>
2922
2923 * lib/gdb-python.exp (get_python_valueof): New function.
2924 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
2925
71c24708
AA
29262014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2927
2928 * gdb.base/completion.exp: Add test for completion of "info
2929 registers ".
2930
3e29f34a
MR
29312014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
2932
2933 * gdb.base/func-ptrs.c: New file.
2934 * gdb.base/func-ptrs.exp: New file.
2935
fc126975
SM
29362014-12-10 Simon Marchi <simon.marchi@ericsson.com>
2937
2938 PR breakpoints/17012
2939 * gdb.base/dprintf-detach.c: New file.
2940 * gdb.base/dprintf-detach.exp: New file.
2941
0a46d518
SM
29422014-12-10 Simon Marchi <simon.marchi@ericsson.com>
2943
2944 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
2945 * lib/gdb.exp (target_is_gdbserver): New procedure.
2946
a0be3e44
DE
29472014-12-08 Doug Evans <dje@google.com>
2948
2949 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
2950
df1b803a
YQ
29512014-12-05 Yao Qi <yao@codesourcery.com>
2952
2953 * gdb.guile/scm-error.exp: Remove the third argument to
2954 gdb_remote_download.
2955 * gdb.guile/scm-frame-args.exp: Likewise.
2956 * gdb.guile/scm-section-script.exp: Likewise.
2957
ddb9f679
YQ
29582014-12-05 Yao Qi <yao@codesourcery.com>
2959
2960 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
2961
86e4ed39
DE
29622014-12-04 Doug Evans <dje@google.com>
2963
2964 * gdb.python/py-objfile.exp: Add tests for
2965 objfile.add_separate_debug_file.
2966
7c50a931
DE
29672014-12-04 Doug Evans <dje@google.com>
2968
2969 * lib/gdb.exp (get_build_id): New function.
2970 (build_id_debug_filename_get): Rewrite to use it.
2971 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
2972
621661e3
MR
29732014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
2974
2975 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
2976 `method(long)', not just 0x0.
2977 * gdb.cp/nsalias.exp: Align code labels to 4.
2978 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
2979 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
2980 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
2981 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
2982 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
2983 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
2984
29f0c3b7
DE
29852014-12-02 Doug Evans <dje@google.com>
2986
e1e061e7 2987 PR symtab/17602
29f0c3b7 2988 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 2989 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
2990 * gdb.cp/anon-ns.exp: Update.
2991
162078c8
NB
29922014-12-02 Nick Bull <nicholaspbull@gmail.com>
2993
2994 * gdb.python/py-events.py (inferior_call_handler): New.
2995 (register_changed_handler, memory_changed_handler): New.
2996 (test_events.invoke): Register new handlers.
2997 * gdb.python/py-events.exp: Add tests for inferior call,
2998 memory_changed and register_changed events.
2999
fdb09caf
AA
30002014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3001
3002 * gdb.base/execl-update-breakpoints.exp: Specify the link address
3003 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
3004 if the linker doesn't understand this.
3005
55cfb2c4
SM
30062014-12-01 Simon Marchi <simon.marchi@ericsson.com>
3007
3008 * gdb.python/python.exp: Change expected reply to help().
3009
9e8cd6df
YQ
30102014-12-01 Yao Qi <yao@codesourcery.com>
3011
3012 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
3013 AC_CONFIG_SUBDIRS(gdb.gdbtk).
3014 * configure: Re-generated.
3015
6c659fc2
SC
30162014-11-28 Siva Chandra Reddy <sivachandra@google.com>
3017
3018 * gdb.cp/chained-calls.cc: New file.
3019 * gdb.cp/chained-calls.exp: New file.
3020 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
3021
d7fc3181
SM
30222014-11-28 Simon Marchi <simon.marchi@ericsson.com>
3023
3024 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
3025 * gdb.dwarf2/symtab-producer.exp: Same.
3026 * gdb.gdb/python-interrupts.exp: Same.
3027 * gdb.gdb/python-selftest.exp: Same.
3028 * gdb.python/py-linetable.exp: Same.
3029 * gdb.python/py-type.exp: Same.
3030 * gdb.python/py-value-cc.exp: Same.
3031 * gdb.python/py-value.exp: Same.
3032
10e79639
YQ
30332014-11-28 Yao Qi <yao@codesourcery.com>
3034
3035 * gdb.base/break-probes.exp: Match library name prefixed with
3036 sysroot.
3037
f28a0564
SM
30382014-11-27 Simon Marchi <simon.marchi@ericsson.com>
3039
3040 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
3041 test expected output. Add parentheses for the call to print.
3042 Remove L suffix from integers.
3043
3fe1ce1d
DE
30442014-11-26 Doug Evans <dje@google.com>
3045
3046 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
3047
84429e27
YQ
30482014-11-22 Yao Qi <yao@codesourcery.com>
3049
3050 * gdb.trace/entry-values.c: Remove asms.
3051 (foo): Add foo_label.
3052 (bar): Add bar_label.
3053 * gdb.trace/entry-values.exp: Remove code computing foo's
3054 length and bar's length.
3055 (Dwarf::assemble): Invoke function_range for bar and use
3056 MACRO_AT_func for foo.
3057
26741859
YQ
30582014-11-22 Yao Qi <yao@codesourcery.com>
3059
3060 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
3061 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
3062 Use .Lgcc43_procstart instead of gcc43.
3063
45e44d27
JB
30642014-11-21 Joel Brobecker <brobecker@adacore.com>
3065
3066 * gdb.ada/n_arr_bound: New testcase.
3067
458c8db8
SDJ
30682014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
3069
3070 PR breakpoints/10737
3071 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
3072 test_catch_syscall_multi_arch.
3073 (test_catch_syscall_multi_arch): New function.
3074
43f3e411
DE
30752014-11-20 Doug Evans <xdje42@gmail.com>
3076
3077 * gdb.base/maint.exp: Update expected output.
3078
0d7b2549
AA
30792014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3080
3081 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
3082 4-byte instruction on S390.
3083
8908fca5
JB
30842014-11-19 Joel Brobecker <brobecker@adacore.com>
3085
3086 * gdb.ada/arr_arr: New testcase.
3087
4a46959e
JB
30882014-11-19 Joel Brobecker <brobecker@adacore.com>
3089
3090 * gdb.ada/pkd_arr_elem: New Testcase.
3091
470e2f4e
LM
30922014-11-18 Luis Machado <lgustavo@codesourcery.com>
3093
3094 * gdb.reverse/break-precsave: Expect completion message for
3095 core file reads.
3096 * gdb.reverse/consecutive-precsave.exp: Likewise.
3097 * gdb.reverse/finish-precsave.exp: Likewise.
3098 * gdb.reverse/i386-precsave.exp: Likewise.
3099 * gdb.reverse/machinestate-precsave.exp: Likewise.
3100 * gdb.reverse/sigall-precsave.exp: Likewise.
3101 * gdb.reverse/solib-precsave.exp: Likewise.
3102 * gdb.reverse/step-precsave.exp: Likewise.
3103 * gdb.reverse/until-precsave.exp: Likewise.
3104 * gdb.reverse/watch-precsave.exp: Likewise.
3105
a267f3ad
AA
31062014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3107
3108 * gdb.base/bp-permanent.c: Include unistd.h.
3109 * gdb.python/py-framefilter-mi.c (main): Add return type.
3110 * gdb.python/py-framefilter.c (main): Likewise.
3111 * gdb.trace/actions-changed.c (main): Likewise.
3112
12084a9a
AA
31132014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3114
3115 * gdb.mi/until.c: Add eye-catchers.
3116 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
3117 line numbers.
3118
dc7e1a77
AA
31192014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3120
3121 * gdb.base/condbreak.exp: Drop references to removed non-prototype
3122 function header variants in break1.c.
3123 * gdb.base/ena-dis-br.exp: Likewise.
3124 * gdb.base/hbreak2.exp: Likewise.
3125 * gdb.reverse/until-precsave.exp: Drop references to removed
3126 non-prototype function header variants in ur1.c.
3127 * gdb.reverse/until-reverse.exp: Likewise.
3128
41c77605
PM
31292014-11-17 Petr Machata <pmachata@redhat.com>
3130
3131 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
3132 ${_cu_offset_size} bytes abbrev offset.
3133
34248c3a
DE
31342014-11-15 Doug Evans <xdje42@gmail.com>
3135
3136 PR symtab/17559
3137 * gdb.base/line-symtabs.exp: New file.
3138 * gdb.base/line-symtabs.c: New file.
3139 * gdb.base/line-symtabs.h: New file.
3140
646da059
YQ
31412014-11-14 Yao Qi <yao@codesourcery.com>
3142
3143 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
3144 (func): Add label func_label.
3145 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
3146 Replace low_pc and high_pc with MACRO_AT_range.
3147 Replace name, low_pc and high_pc with MACRO_AT_func.
3148
9301ebe6
YQ
31492014-11-14 Yao Qi <yao@codesourcery.com>
3150
3151 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
3152 Replace name, low_pc and high_pc with MACRO_AT_func.
3153
f166b542
YQ
31542014-11-14 Yao Qi <yao@codesourcery.com>
3155
3156 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
3157 produce debug information.
3158 * gdb.dwarf2/implptr-optimized-out.S: Removed.
3159
0f6e71e3
YQ
31602014-11-14 Yao Qi <yao@codesourcery.com>
3161
3162 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
3163 object and get function length.
3164 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
3165 with MACRO_AT_func.
3166 (top-level): Replace gdb_compile and clean_restart with
3167 prepare_for_testing.
3168 * gdb.dwarf2/main.c (main): Add label main_label.
3169
876c4df9
YQ
31702014-11-14 Yao Qi <yao@codesourcery.com>
3171
3172 * lib/dwarf.exp (function_range): New procedure.
3173 (Dwarf::_handle_macro_at_func): New procedure.
3174 (Dwarf::_handle_macro_at_range): New procedure.
3175 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
3176
02ad9cf1
YQ
31772014-11-14 Yao Qi <yao@codesourcery.com>
3178
3179 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
3180 (_handle_attribute): New procedure.
3181
a59add0c
AA
31822014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3183
3184 * gdb.ada/cond_lang/foo.c (callme): Add return type.
3185 * gdb.base/call-sc.c (zed): Likewise.
3186 * gdb.base/checkpoint.c (main): Likewise.
3187 * gdb.base/dump.c (main): Likewise.
3188 * gdb.base/gcore.c (main): Likewise.
3189 * gdb.base/huge.c (main): Likewise.
3190 * gdb.base/multi-forks.c (main): Likewise.
3191 * gdb.base/pr10179-a.c (main): Likewise.
3192 * gdb.base/savedregs.c (main): Likewise.
3193 * gdb.base/sigaltstack.c (main): Likewise.
3194 * gdb.base/siginfo.c (main): Likewise.
3195 * gdb.base/structs.c (zed): Likewise.
3196 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
3197 * gdb.mi/mi-syn-frame.c (main): Likewise.
3198 * gdb.mi/until.c (foo, main): Likewise.
3199 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
3200 * gdb.base/solib-weak.c (foo): Declare.
3201 * gdb.base/attach-twice.c: Include stdio.h.
3202 * gdb.base/weaklib1.c: Likewise.
3203 * gdb.base/weaklib2.c: Likewise.
3204 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
3205 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
3206 unistd.h.
3207 * gdb.base/attach-pie-misread.c: Include stdlib.h.
3208 * gdb.mi/mi-exit-code.c: Likewise.
3209 * gdb.base/break-interp-lib.c: Include string.h.
3210 * gdb.base/coremaker.c: Likewise.
3211 * gdb.base/testenv.c: Likewise.
3212 * gdb.python/py-finish-breakpoint.c: Likewise.
3213 * gdb.base/inferior-died.c: Include sys/wait.h.
3214 * gdb.base/fileio.c: Include time.h.
3215 * gdb.base/async-shell.c: Include unistd.h.
3216 * gdb.base/dprintf-non-stop.c: Likewise.
3217 * gdb.base/info-os.c: Likewise.
3218 * gdb.mi/mi-console.c: Likewise.
3219 * gdb.mi/watch-nonstop.c: Likewise.
3220 * gdb.python/py-events.c: Likewise.
3221 * gdb.base/async.c (baz): Move up before its invocation.
3222 * gdb.base/code_elim2.c (my_global_func): Likewise.
3223 * gdb.base/skip-solib-lib.c (multiply): Likewise.
3224 * gdb.base/advance.c (func2): Likewise.
3225
3b5d5997
AA
32262014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3227
3228 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
3229 variant.
3230 * gdb.base/annota3.c: Likewise.
3231 * gdb.base/async.c: Likewise.
3232 * gdb.base/average.c: Likewise.
3233 * gdb.base/call-ar-st.c: Likewise.
3234 * gdb.base/call-rt-st.c: Likewise.
3235 * gdb.base/call-sc.c: Likewise.
3236 * gdb.base/call-strs.c: Likewise.
3237 * gdb.base/ending-run.c: Likewise.
3238 * gdb.base/execd-prog.c: Likewise.
3239 * gdb.base/exprs.c: Likewise.
3240 * gdb.base/foll-exec.c: Likewise.
3241 * gdb.base/foll-fork.c: Likewise.
3242 * gdb.base/foll-vfork.c: Likewise.
3243 * gdb.base/funcargs.c: Likewise.
3244 * gdb.base/gcore.c: Likewise.
3245 * gdb.base/jump.c: Likewise.
3246 * gdb.base/langs0.c: Likewise.
3247 * gdb.base/langs1.c: Likewise.
3248 * gdb.base/langs2.c: Likewise.
3249 * gdb.base/mips_pro.c: Likewise.
3250 * gdb.base/nodebug.c: Likewise.
3251 * gdb.base/opaque0.c: Likewise.
3252 * gdb.base/opaque1.c: Likewise.
3253 * gdb.base/recurse.c: Likewise.
3254 * gdb.base/run.c: Likewise.
3255 * gdb.base/scope0.c: Likewise.
3256 * gdb.base/scope1.c: Likewise.
3257 * gdb.base/setshow.c: Likewise.
3258 * gdb.base/setvar.c: Likewise.
3259 * gdb.base/shmain.c: Likewise.
3260 * gdb.base/shr1.c: Likewise.
3261 * gdb.base/shr2.c: Likewise.
3262 * gdb.base/sigall.c: Likewise.
3263 * gdb.base/signals.c: Likewise.
3264 * gdb.base/so-indr-cl.c: Likewise.
3265 * gdb.base/solib2.c: Likewise.
3266 * gdb.base/structs.c: Likewise.
3267 * gdb.base/sum.c: Likewise.
3268 * gdb.base/vforked-prog.c: Likewise.
3269 * gdb.base/watchpoint.c: Likewise.
3270 * gdb.reverse/shr2.c: Likewise.
3271 * gdb.reverse/until-reverse.c: Likewise.
3272 * gdb.reverse/ur1.c: Likewise.
3273 * gdb.reverse/watch-reverse.c: Likewise.
3274
066a77c5
AA
32752014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3276
3277 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
3278 variant.
3279 * gdb.base/sepdebug.exp: Drop references to removed code.
3280
4f204ea5
AA
32812014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3282
3283 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
3284 variant. Preserve original line numbering.
3285 * gdb.base/list1.c: Likewise.
3286
3b377a3a
AA
32872014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3288
3289 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
3290 variant.
3291 * gdb.base/break1.c: Likewise.
3292 * gdb.base/break.exp: Drop references to removed code.
3293
e444df73
AA
32942014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3295
3296 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
3297 variant.
3298
8008f2a7
AA
32992014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3300
3301 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
3302
a5a06887
AA
33032014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3304
3305 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
3306 logic into perform_all_tests() and invoke it with and without
3307 function header prototypes.
3308 (do_function_calls): Remove conditional XFAIL for PR 5318.
3309 (rerun_and_prepare): Remove duplicate code.
3310 (perform_all_tests): New. Main logic moved here.
3311
44dba9b9
AA
33122014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3313
3314 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
3315 code guarded by #ifdef NO_PROTOTYPES.
3316 (t_double_many_args): Likewise.
3317 (DEF_FUNC_MANY_ARGS_1): Likewise.
3318 (DEF_FUNC_VALUES_1): Likewise.
3319 (t_structs_ldc): Renamed from t_structs_fc in conditional code
3320 guarded by #ifdef PROTOTYPES.
3321
d1fbcd56
AA
33222014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3323
3324 * gdb.mi/mi-console.c: Add eye-catcher.
3325 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
3326 instead of literal line number.
3327
b0e59b8f
AA
33282014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3329
3330 * gdb.base/shr2.c: Add eye-catcher.
3331 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
3332 line number.
3333
78f98cca
AA
33342014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3335
3336 * gdb.base/jump.c: Add eye-catchers.
3337 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
3338 numbers.
3339
58fa2af0
AA
33402014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3341
3342 * gdb.base/execd-prog.c: Add eye-catchers.
3343 * gdb.base/foll-exec.c: Likewise.
3344 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
3345 line numbers.
3346
04e5059b
AA
33472014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3348
3349 * gdb.base/ending-run.c: Add eye-catchers.
3350 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
3351 literal line numbers.
3352
dbfdb174
AA
33532014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3354
3355 * gdb.base/call-rt-st.c: Add eye-catchers.
3356 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
3357 literal line numbers.
3358
888a2ade
AA
33592014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3360
3361 * gdb.base/call-ar-st.c: Add eye-catchers.
3362 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
3363 literal line numbers.
3364
6acc2dde
AA
33652014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3366
3367 * gdb.base/average.c: Add eye-catchers.
3368 * gdb.base/sum.c: Likewise.
3369 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
3370 regexps dynamically.
3371
9ecfcd1d
AA
33722014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3373
3374 * gdb.base/solib1.c: Add eye-catchers.
3375 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
3376 literal line numbers.
3377
78708b7c
PA
33782014-11-12 Pedro Alves <palves@redhat.com>
3379
3380 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
3381 leader has exited.
3382
af48d08f
PA
33832014-11-12 Pedro Alves <palves@redhat.com>
3384
3385 * gdb.arch/i386-bp_permanent.c: New file.
3386 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
3387 (srcfile): Set to i386-bp_permanent.c.
3388 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
3389 that stepi does not execute the 'leave' instruction, instead of
3390 testing it does execute.
3391 * gdb.base/bp-permanent.c: New file.
3392 * gdb.base/bp-permanent.exp: New file.
3393
af3768e9
DE
33942014-11-10 Doug Evans <xdje42@gmail.com>
3395
3396 PR symtab/17564
3397 * gdb.base/symtab-search-order.exp: New file.
3398 * gdb.base/symtab-search-order.c: New file.
3399 * gdb.base/symtab-search-order-1.c: New file.
3400 * gdb.base/symtab-search-order-shlib-1.c: New file.
3401
9de00a4a
PA
34022014-11-07 Pedro Alves <palves@redhat.com>
3403
3404 PR gdb/17511
3405 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
3406 i?86-*-linux*.
3407
e0f52461
SC
34082014-11-03 Siva Chandra Reddy <sivachandra@google.com>
3409
3410 PR c++/17494
3411 * gdb.cp/pr17494.cc: New file.
3412 * gdb.cp/pr17494.exp: New file.
3413
6ce8c980
YQ
34142014-11-02 Yao Qi <yao@codesourcery.com>
3415
3416 * gdb.python/python.exp: Get working directory and match the
3417 output of "set extended-prompt \\w " with it.
3418
02be9a71
DE
34192014-10-30 Doug Evans <dje@google.com>
3420
3421 * gdb.python/py-objfile.exp: Add tests for setting random attributes
3422 in objfiles.
3423 * gdb.python/py-progspace.exp: Add tests for setting random attributes
3424 in progspaces.
3425
3bdff46b
LM
34262014-10-30 Janis Johnson <janisjo@codesourcery.com>
3427
3428 * gdb.base/fullpath-expand.exp: Skip for a remote host.
3429 * gdb.base/realname-expand.exp: Likewise.
3430 * gdb.linespec/macro-relative.exp: Likewise.
3431
ab917dfb
PA
34322014-10-29 Pedro Alves <palves@redhat.com>
3433
3434 PR gdb/17408
3435 * gdb.threads/schedlock.c (some_function): New function.
3436 (call_function): New global.
3437 (MAYBE_CALL_SOME_FUNCTION): New macro.
3438 (thread_function): Call it.
3439 * gdb.threads/schedlock.exp (get_args): Add description parameter,
3440 and use it instead of a global counter. Adjust all callers.
3441 (get_current_thread): Use "find current thread" for test message
3442 here rather than having all callers pass down the same string.
3443 (goto_loop): New procedure, factored out from ...
3444 (my_continue): ... this.
3445 (step_ten_loops): Change parameter from test message to command to
3446 use. Adjust.
3447 (list_count): Delete global.
3448 (check_result): New procedure, factored out from duplicate top
3449 level code.
3450 (continue tests): Wrap in with_test_prefix.
3451 (test_step): New procedure, factored out from duplicate top level
3452 code.
3453 (top level): Test "step" in combination with all scheduler-locking
3454 modes. Test "next" in combination with all scheduler-locking
3455 modes, and in combination with stepping over a function call or
3456 not.
3457 * gdb.threads/next-bp-other-thread.c: New file.
3458 * gdb.threads/next-bp-other-thread.exp: New file.
3459
d3d4baed
PA
34602014-10-29 Pedro Alves <palves@redhat.com>
3461
3462 PR python/17372
3463 * gdb.python/python.exp: Test a multi-line command that spawns
3464 interactive Python.
3465 * gdb.base/multi-line-starts-subshell.exp: New file.
3466
563e8d85
YQ
34672014-10-29 Yao Qi <yao@codesourcery.com>
3468
3469 * gdb.base/fileio.exp: Make directories on host.
3470
0ea4d52e
YQ
34712014-10-29 Yao Qi <yao@codesourcery.com>
3472
3473 * gdb.base/fileio.c (test_write): Close the file.
3474
7f5ef605
PA
34752014-10-28 Pedro Alves <palves@redhat.com>
3476
3477 PR gdb/12623
3478 * gdb.base/sigstep.c (no_handler): New global.
3479 (main): If 'no_handler is true, set the signal handlers to
3480 SIG_IGN.
3481 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
3482 with_sw_watch and no_handler parameters. Handle them.
3483 (top level) <stepping over handler when stopped at a breakpoint
3484 test>: Add a test axis for testing with a software watchpoint, and
3485 another for testing with the signal handler set to SIG_IGN.
3486 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
3487 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
3488
abbdbd03
PA
34892014-10-28 Pedro Alves <palves@redhat.com>
3490
3491 PR gdb/17511
3492 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
3493 * gdb.base/sigstep.exp (other_handler_location): New global.
3494 (advance): Support stepping into the signal handler, and running
3495 commands while in the handler.
3496 (in_handler_map): New global.
3497 (top level): In the advance test, add combinations for getting
3498 into the handler with stepping commands, and for running commands
3499 in the handler. Add comment descripting the advancei tests.
3500
1df4399f
PA
35012014-10-28 Pedro Alves <palves@redhat.com>
3502
3503 * gdb.base/sigstep.exp: Use build_executable instead of
3504 prepare_for_testing.
3505 (top level): Move code that starts GDB, runs to main and creates a
3506 display to ...
3507 (restart): ... this new procedure.
3508 (top level): Move backtrace from signal handler test to ...
3509 (validate_backtrace): ... this new procedure.
3510 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
3511 with_test_prefix. Always restart GDB.
3512 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
3513 with_test_prefix. Always restart GDB. No need to delete
3514 breakpoints after the test.
3515 (test_skip_handler): Remove prefix parameter.
3516 (skip_over_handler, breakpoint_to_handler)
3517 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
3518 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
3519 restart GDB. No need to delete breakpoints after the test.
3520 (top level): Use foreach to call the test procedures with
3521 different commands.
3522
a5b6e449
PA
35232014-10-28 Pedro Alves <palves@redhat.com>
3524
3525 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
3526 instead of GNATS numbers.
3527 * gdb.base/sigbpt.exp: Likewise.
3528 * gdb.base/siginfo.exp: Likewise.
3529 * gdb.base/sigstep.exp: Likewise.
3530
e5f8a7cc
PA
35312014-10-27 Pedro Alves <palves@redhat.com>
3532
3533 * gdb.base/sigstep.c (dummy): New global.
3534 (main): Issue a couple writes to the new global.
3535 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
3536 procedures.
3537 (skip_over_handler): Use test_skip_handler.
3538 (top level): Call skip_over_handler for stepi and nexti too.
3539 (breakpoint_over_handler): Use test_skip_handler.
3540 (top level): Call breakpoint_over_handler for stepi and nexti too.
3541
763905a3
YQ
35422014-10-27 Yao Qi <yao@codesourcery.com>
3543
3544 * gdb.trace/tfile.c (adjust_function_address)
3545 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
3546 function descriptor.
3547
6f259a23
DB
35482014-10-24 Don Breazeal <donb@codesourcery.com>
3549
3550 * gdb.base/foll-fork.exp (test_follow_fork,
3551 catch_fork_child_follow): Check for updated fork messages emitted
3552 from infrun.c.
3553 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
3554 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
3555 vfork_and_exec_child_follow_through_step): Check for updated vfork
3556 messages emitted from infrun.c.
3557
09dd9a69
PA
35582014-10-24 Pedro Alves <palves@redhat.com>
3559
3560 * gdb.base/corefile.exp: Remove references to ultrix.
3561 * gdb.base/interrupt.exp: Likewise.
3562 * gdb.base/whatis.exp: Likewise.
3563 * gdb.gdb/selftest.exp: Likewise.
3564 * gdb.threads/manythreads.exp: Likewise.
3565 * gdb.threads/print-threads.exp: Likewise.
3566 * gdb.threads/pthreads.exp:: Likewise.
3567 * gdb.threads/schedlock.exp: Likewise.
3568
3433cfa5
SC
35692014-10-24 Siva Chandra Reddy <sivachandra@google.com>
3570
3571 * gdb.cp/non-trivial-retval.cc: Add a test case.
3572 * gdb.cp/non-trivial-retval.exp: Add a test.
3573
092f880b
YQ
35742014-10-20 Yao Qi <yao@codesourcery.com>
3575
3576 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
3577 * gdb.python/py-objfile-script-gdb.py: New file.
3578 * gdb.python/py-objfile-script.exp: Update reference to
3579 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
3580 of remote_download. Remove the dest file.
3581
acbdb7f3
YQ
35822014-10-20 Yao Qi <yao@codesourcery.com>
3583
3584 * gdb.base/checkpoint.exp: Don't remove file copied on host.
3585 * gdb.base/step-line.exp: Likewise.
3586 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3587 * gdb.dwarf2/dw2-basic.exp: Likewise.
3588 * gdb.dwarf2/dw2-compressed.exp: Likewise.
3589 * gdb.dwarf2/dw2-filename.exp: Likewise.
3590 * gdb.dwarf2/dw2-intercu.exp: Likewise.
3591 * gdb.dwarf2/dw2-intermix.exp: Likewise.
3592 * gdb.dwarf2/dw2-producer.exp: Likewise.
3593 * gdb.dwarf2/mac-fileno.exp: Likewise.
3594 * gdb.python/py-frame-args.exp: Likewise.
3595 * gdb.python/py-framefilter.exp: Likewise.
3596 * gdb.python/py-mi.exp: Likewise.
3597 * gdb.python/py-objfile-script.exp: Likewise
3598 * gdb.python/py-pp-integral.exp: Likewise.
3599 * gdb.python/py-pp-re-notag.exp: Likewise.
3600 * gdb.python/py-prettyprint.exp: Likewise.
3601 * gdb.python/py-section-script.exp: Likewise.
3602 * gdb.python/py-typeprint.exp: Likewise.
3603 * gdb.python/py-xmethods.exp: Likewise.
3604 * gdb.stabs/weird.exp: Likewise.
3605 * gdb.xml/tdesc-regs.exp: Likewise.
3606
bd286a29
KCY
36072014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
3608
3609 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
3610 (out_cu): Use addr_len for the size of addresses.
3611 (out_line): Likewise. Size DW_LNE_set_address instruction
3612 according to addr_len.
3613 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
3614 (FUNC): Add START_INSNS to definition.
3615
673dc4a0
YQ
36162014-10-18 Yao Qi <yao@codesourcery.com>
3617
3618 * gdb.base/argv0-symlink.exp: Check argv[0] value if
3619 gdb_has_argv0 return true.
3620 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
3621 check [target_info exists noargs], check [gdb_has_argv0]
3622 instead.
3623 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
3624 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
3625 procedures.
3626
4ffbba72
DE
36272014-10-17 Doug Evans <dje@google.com>
3628
3629 * gdb.python/py-events.exp: Update expected output for clear_objfiles
3630 event.
3631 * gdb.python/py-events.py: Add clear_objfiles event.
3632
d096d8c1
DE
36332014-10-17 Doug Evans <dje@google.com>
3634
3635 * gdb.python/py-objfile.exp: Test progspace attribute.
3636
a80db015
LM
36372014-10-17 Luis Machado <lgustavo@codesourcery.com>
3638
3639 * gdb.guile/scm-breakpoint.exp: Do not assume any
3640 directory separators when matching source file paths.
3641 * gdb.python/py-breakpoint.exp: Likewise.
3642 * gdb.reverse/break-precsave.exp: Likewise.
3643 * gdb.reverse/break-reverse.exp: Likewise.
3644 * gdb.reverse/consecutive-precsave.exp: Likewise.
3645 * gdb.reverse/finish-precsave.exp: Likewise.
3646 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
3647 * gdb.reverse/finish-reverse.exp: Likewise.
3648 * gdb.reverse/i386-precsave.exp: Likewise.
3649 * gdb.reverse/i387-env-reverse.exp: Likewise.
3650 * gdb.reverse/i387-stack-reverse.exp: Likewise.
3651 * gdb.reverse/machinestate-precsave.exp: Likewise.
3652 * gdb.reverse/machinestate.exp: Likewise.
3653 * gdb.reverse/sigall-precsave.exp: Likewise.
3654 * gdb.reverse/solib-precsave.exp: Likewise.
3655 * gdb.reverse/step-precsave.exp: Likewise.
3656 * gdb.reverse/until-precsave.exp: Likewise.
3657 * gdb.reverse/watch-precsave.exp: Likewise.
3658 * gdb.reverse/watch-reverse.exp: Likewise.
3659
b22089ab
YQ
36602014-10-17 Yao Qi <yao@codesourcery.com>
3661
3662 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
3663 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
3664
6c4486e6
PA
36652014-10-17 Pedro Alves <palves@redhat.com>
3666
3667 PR gdb/17471
3668 * gdb.base/bg-execution-repeat.c: New file.
3669 * gdb.base/bg-execution-repeat.exp: New file.
3670
0ff33695
PA
36712014-10-17 Pedro Alves <palves@redhat.com>
3672
3673 PR gdb/17300
3674 * gdb.base/continue-all-already-running.c: New file.
3675 * gdb.base/continue-all-already-running.exp: New file.
3676
6fdebc3d
PA
36772014-10-17 Pedro Alves <palves@redhat.com>
3678
3679 PR gdb/17472
3680 * gdb.base/annota-input-while-running.c: New file.
3681 * gdb.base/annota-input-while-running.exp: New file.
3682
32a8097b
PA
36832014-10-17 Pedro Alves <palves@redhat.com>
3684
3685 * gdb.base/callfuncs.exp: emove references to osf.
3686 * gdb.base/sigall.exp: Likewise.
3687 * gdb.gdb/selftest.exp: Likewise.
3688 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
3689 * gdb.mi/non-stop.c: Likewise.
3690 * gdb.mi/pthreads.c: Likewise.
3691 * gdb.reverse/sigall-precsave.exp: Likewise.
3692 * gdb.reverse/sigall-reverse.exp: Likewise.
3693 * gdb.threads/pthreads.c: Likewise.
3694 * gdb.threads/pthreads.exp: Likewise.
3695
7a3517ff
YQ
36962014-10-17 Yao Qi <yao@codesourcery.com>
3697
3698 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
3699 check 'target_info exists noargs'.
3700 (test_command_prompt_position): Likewise.
3701 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
3702 Remove "set args".
3703 (progvar_simple_while_test): Likewise.
3704 (progvar_complex_if_while_test): Likewise.
3705 (if_while_breakpoint_command_test): Likewise.
3706 (infrun_breakpoint_command_test): Likewise.
3707 (breakpoint_command_test): Likewise.
3708 (watchpoint_command_test): Likewise.
3709 (bp_deleted_in_command_test): Likewise.
3710 (temporary_breakpoint_commands): Likewise.
3711
bb99c472
YQ
37122014-10-16 Yao Qi <yao@codesourcery.com>
3713
3714 * gdb.base/remotetimeout.exp: Remove noargs checking.
3715
7c16b83e
PA
37162014-10-15 Pedro Alves <palves@redhat.com>
3717
3718 PR breakpoints/9649
3719 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
3720 * gdb.base/breakpoint-in-ro-region.exp
3721 (probe_target_hardware_step): New procedure.
3722 (top level): Probe hardware stepping and hardware breakpoint
3723 support. Test stepping through a read-only region, with both
3724 "breakpoint auto-hw" on and off and both "always-inserted" on and
3725 off.
3726
35a49624
IB
37272014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
3728
3729 * gdb.dlang/demangle.exp: Update for demangling changes.
3730
2d1c107c
SC
37312014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3732
3733 * gdb.cp/non-trivial-retval.cc: Add new test cases.
3734 * gdb.cp/non-trivial-retval.exp: Add new tests.
3735
778811d5
SC
37362014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3737
3738 PR c++/13403
3739 PR c++/15154
3740 * gdb.cp/non-trivial-retval.cc: New file.
3741 * gdb.cp/non-trivial-retval.exp: New file.
3742
10c5f0a8
YQ
37432014-10-15 Yao Qi <yao@codesourcery.com>
3744
3745 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
3746 remote host.
3747
65d7b369
YQ
37482014-10-15 Yao Qi <yao@codesourcery.com>
3749
3750 * gdb.python/py-symbol.exp: Match file base name if host is
3751 remote, otherwise match file name with dir name.
3752 * gdb.python/py-symtab.exp: Likewise.
3753 * gdb.python/python.exp: Likewise.
3754
46dc1394
YQ
37552014-10-15 Yao Qi <yao@codesourcery.com>
3756
3757 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
3758 pattern.
3759 * gdb.python/py-symtab.exp: Likewise.
3760 * gdb.python/python.exp: Remove trailing ".*". Fix typo
3761 locationn.
3762
c40cc657
JB
37632014-10-14 Joel Brobecker <brobecker@adacore.com>
3764
3765 * gdb.ada/addr_arith: New testcase.
3766
2abf49e1
MR
37672014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
3768
3769 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
3770 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
3771 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
3772 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
3773
f7088df3
SDJ
37742014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
3775
3776 * gdb.arch/stap-eval-lang-ada.S: Likewise.
3777 * gdb.arch/stap-eval-lang-ada.c: Likewise.
3778 * gdb.arch/stap-eval-lang-ada.exp: New file.
3779
4dc06805
YQ
37802014-10-14 Yao Qi <yao@codesourcery.com>
3781
3782 * gdb.mi/mi-var-child.c (nothing1): New function.
3783 (nothing2): New function.
3784 (do_children_tests): Set function pointers by nothing1 and
3785 nothing2.
3786 * gdb.mi/mi-var-child.exp: Step over new added statements.
3787 Update test to match the new output.
3788 * gdb.mi/var-cmd.c (nothing1): New function.
3789 (nothing2): New function.
3790 (do_children_tests): Set function pointers by nothing1 and
3791 nothing2.
3792 * gdb.mi/mi-var-display.exp: Update test to match output.
3793 Step to the line specified by $line_dct_nothing.
3794 Increase the number of lines to step.
3795
46a93de2
YQ
37962014-10-14 Yao Qi <yao@codesourcery.com>
3797
3798 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
3799 tests.
3800 * gdb.mi/mi2-var-child.exp: Likewise.
3801
14ea52ee
DE
38022014-10-13 Doug Evans <dje@google.com>
3803
3804 * gdb.python/py-objfile.exp: Change name of file name test.
3805
e5c6e92b
DE
38062014-10-13 Doug Evans <dje@google.com>
3807
3808 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
3809 from the start of the CU.
3810
c780cc2f
JK
38112014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3812 Yao Qi <yao@codesourcery.com>
3813
3814 Fix "save breakpoints" for "catch" command.
3815 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
3816 Remove -nonewline. Match also the added "main" line.
3817
99894e11
JK
38182014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3819
3820 Fix "save breakpoints" for "disable $bpnum" command.
3821 * gdb.base/save-bp.c (main): Add label.
3822 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
3823
6e1ac5a3
JK
38242014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3825
3826 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
3827
754dd2b0
YQ
38282014-10-11 Yao Qi <yao@codesourcery.com>
3829
3830 * gdb.server/server-kill.exp: Execute command
3831 "set remote trace-status-packet on" before "tstatus".
3832
f90183d7
YQ
38332014-10-11 Yao Qi <yao@codesourcery.com>
3834
3835 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
3836 (main): Call getppid.
3837 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
3838 and continue to it. Read variable "server_pid".
3839
bf40a607
YQ
38402014-10-11 Yao Qi <yao@codesourcery.com>
3841
3842 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
3843
052ca370
YQ
38442014-10-11 Yao Qi <yao@codesourcery.com>
3845
3846 * gdb.threads/thread-find.exp: Don't execute command
3847 "info threads".
3848 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
3849 * gdb.threads/linux-dp.exp: Don't check the condition
3850 $threads_created equals to zero.
3851
3831839c
PA
38522014-10-10 Pedro Alves <palves@redhat.com>
3853
3854 * gdb.base/bigcore.exp: Remove references to IRIX.
3855 * gdb.base/funcargs.exp: Likewise.
3856 * gdb.base/interrupt.exp: Likewise.
3857 * gdb.base/mips_pro.exp: Likewise.
3858 * gdb.base/nodebug.exp: Likewise.
3859 * gdb.base/setvar.exp: Likewise.
3860 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
3861
8b9a549d
PA
38622014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3863 Pedro Alves <palves@redhat.com>
3864
3865 PR symtab/14466
3866 * gdb.base/vdso-warning.c: New file.
3867 * gdb.base/vdso-warning.exp: New file.
3868
d48ba5e8
DE
38692014-10-02 Doug Evans <dje@google.com>
3870
3871 * gdb.base/structs.c (main): Don't run forever.
3872
2278c276
PA
38732014-10-02 Pedro Alves <palves@redhat.com>
3874
3875 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
3876 (top level) <stop threads 1, stop threads 2>: Use it.
3877
b57bacec
PA
38782014-10-02 Pedro Alves <palves@redhat.com>
3879
3880 * gdb.threads/break-while-running.exp (test): Add new
3881 'update_thread_list' argument. Skip "info threads" if false.
3882 (top level): Add new 'update_thread_list' axis.
3883
13fd3ff3
PA
38842014-10-02 Pedro Alves <palves@redhat.com>
3885
3886 PR breakpoints/17431
3887 * gdb.base/execl-update-breakpoints.c: New file.
3888 * gdb.base/execl-update-breakpoints.exp: New file.
3889
0fec99e8
PA
38902014-10-01 Pedro Alves <palves@redhat.com>
3891
3892 * gdb.base/breakpoint-in-ro-region.c: New file.
3893 * gdb.base/breakpoint-in-ro-region.exp: New file.
3894
2ddf4301
SM
38952014-10-01 Simon Marchi <simon.marchi@ericsson.com>
3896
3897 * gdb.mi/mi-exit-code.exp: New file.
3898 * gdb.mi/mi-exit-code.c: New file.
3899
6a5f3f43
YQ
39002014-09-30 Yao Qi <yao@codesourcery.com>
3901
3902 * lib/prelink-support.exp (build_executable_own_libs): Error if
3903 the target isn't native.
3904
345bcc73
YQ
39052014-09-30 Yao Qi <yao@codesourcery.com>
3906
3907 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
3908 false.
3909
a25a5a45
PA
39102014-09-22 Pedro Alves <palves@redhat.com>
3911
3912 * gdb.threads/break-while-running.exp: New file.
3913 * gdb.threads/break-while-running.c: New file.
3914
00ba3162
YQ
39152014-09-19 Yao Qi <yao@codesourcery.com>
3916
3917 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
3918 Invoke test. Restart GDB with --readnow and invoke test again.
3919
c3b7b696
YQ
39202014-09-19 Yao Qi <yao@codesourcery.com>
3921
3922 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
3923 proc set_breakpoint_on_gcd_function. Invoke
3924 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
3925 invoke set_breakpoint_on_gcd_function again.
3926
2b4fd423
DE
39272014-09-18 Doug Evans <dje@google.com>
3928
3929 * gdb.dwarf2/symtab-producer.exp: New file.
3930
a5947601
SDJ
39312014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
3932
3933 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
3934 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
3935 * gdb.base/global-var-nested-by-dso.c: Likewise.
3936 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3937
91c19059
SDJ
39382014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
3939 Pedro Alves <palves@redhat.com>
3940
3941 * gdb.base/watch-bitfields.exp: Pass string other than test file
3942 name to prepare_for_testing.
3943 (watch): New procedure.
3944 (expect_watchpoint): Use with_test_prefix.
3945 (top level): Factor out tests to ...
3946 (test_watch_location, test_regular_watch): ... these new
3947 procedures, and use with_test_prefix and gdb_continue_to_end.
3948
bb9d5f81
PP
39492014-09-16 Patrick Palka <patrick@parcs.ath.cx>
3950
3951 PR breakpoints/12526
3952 * gdb.base/watch-bitfields.exp: New file.
3953 * gdb.base/watch-bitfields.c: New file.
3954
635856f5
PA
39552014-09-16 Pedro Alves <palves@redhat.com>
3956
3957 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
3958 software and hardware addresses, not software address against
3959 itself.
3960
7280ceea
PA
39612014-09-16 Pedro Alves <palves@redhat.com>
3962
3963 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
3964 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
3965
428b16bd
PA
39662014-09-16 Pedro Alves <palves@redhat.com>
3967
3968 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
3969 files.
3970 * gdb.base/a2-run.exp: Remove all code guarded by istarget
3971 "*-*-vxworks*" throughout.
3972 * gdb.base/break.exp: Likewise.
3973 * gdb.base/default.exp: Likewise.
3974 * gdb.base/scope.exp: Likewise.
3975 * gdb.base/sepdebug.exp: Likewise.
3976 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
3977 throughout.
3978 * gdb.base/run.c: Likewise.
3979 * gdb.base/sepdebug.c: Likewise.
3980 * gdb.hp/gdb.aCC/run.c: Likewise.
3981 * gdb.reverse/until-reverse.c: Likewise.
3982 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
3983
666d413c
YQ
39842014-09-16 Yao Qi <yao@codesourcery.com>
3985
3986 * boards/local-remote-host-native.exp: New file.
3987
57cbd724
DE
39882014-09-14 Doug Evans <xdje42@gmail.com>
3989
3990 * gdb.threads/queue-signal.c (thread_count): New variable.
3991 (thread_count_mutex, thread_count_condvar): New variables.
3992 (incr_thread_count, wait_all_threads_running): New functions.
3993 (main): Wait for all threads to be in their thread functions.
3994
81219e53
DE
39952014-09-13 Doug Evans <xdje42@gmail.com>
3996
3997 * gdb.threads/queue-signal.c: New file.
3998 * gdb.threads/queue-signal.exp: New file.
3999
3714cea7
DE
40002014-09-13 Doug Evans <xdje42@gmail.com>
4001
4002 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
4003 be consistent with what default_gdb_init uses.
4004 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
4005 the plain text of the prompt. Add some logging printfs.
4006 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
4007
fa43b1d7
PA
40082014-09-12 Pedro Alves <palves@redhat.com>
4009
4010 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
4011 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
4012 * gdb.arch/i386-size-overlap.exp: Likewise.
4013 * gdb.arch/i386-size.exp: Likewise.
4014 * gdb.arch/i386-unwind.exp: Likewise.
4015 * gdb.base/a2-run.exp: Likewise.
4016 * gdb.base/break.exp: Likewise.
4017 * gdb.base/charset.exp: Likewise.
4018 * gdb.base/chng-syms.exp: Likewise.
4019 * gdb.base/commands.exp: Likewise.
4020 * gdb.base/dbx.exp: Likewise.
4021 * gdb.base/find.exp: Likewise.
4022 * gdb.base/funcargs.exp: Likewise.
4023 * gdb.base/jit-simple.exp: Likewise.
4024 * gdb.base/reread.exp: Likewise.
4025 * gdb.base/sepdebug.exp: Likewise.
4026 * gdb.base/step-bt.exp: Likewise.
4027 * gdb.cp/mb-inline.exp: Likewise.
4028 * gdb.cp/mb-templates.exp: Likewise.
4029 * gdb.objc/basicclass.exp: Likewise.
4030 * gdb.threads/killed.exp: Likewise.
4031
9d9bf2df
EBM
40322014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4033
4034 PR tdep/17379
4035 * gdb.arch/powerpc-stackless.S: New file.
4036 * gdb.arch/powerpc-stackless.exp: New file.
4037
1cf2f1b0
JK
40382014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4039
4040 * gdb.base/attach.c: Include unistd.h.
4041 (main): Call alarm. Add label postloop.
4042 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
4043 gdb_breakpoint, gdb_continue_to_breakpoint.
4044 (test_command_line_attach_run): Kill ${testpid} in one exit path.
4045
98880d46
PA
40462014-09-11 Pedro Alves <palves@redhat.com>
4047
4048 PR gdb/17347
4049 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
4050 * gdb.base/attach.exp (test_command_line_attach_run): New
4051 procedure.
4052 (top level): Call it.
4053
4c92ff2c
PA
40542014-09-11 Pedro Alves <palves@redhat.com>
4055
4056 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
4057 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
4058 (do_command_attach_tests): Use spawn_wait_for_attach.
4059 * gdb.base/solib-overlap.exp: Likewise.
4060 * gdb.multi/multi-attach.exp: Likewise.
4061 * gdb.python/py-prompt.exp: Likewise.
4062 * gdb.python/py-sync-interp.exp: Likewise.
4063 * gdb.server/ext-attach.exp: Likewise.
4064
3adc1a7d
GKB
40652014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
4066
4067 * gdb.fortran/array-element.exp: Remove unexpected "continue"
4068 command in testcase. Simplify testcase.
4069
96334934
JB
40702014-09-10 Joel Brobecker <brobecker@adacore.com>
4071
4072 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
4073
eb479039
JB
40742014-09-10 Joel Brobecker <brobecker@adacore.com>
4075
4076 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
4077
deede10c
JB
40782014-09-10 Joel Brobecker <brobecker@adacore.com>
4079
4080 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
4081
7828a5f5
JB
40822014-09-10 Joel Brobecker <brobecker@adacore.com>
4083
4084 * gdb.dwarf2/dynarr-ptr.c: New file.
4085 * gdb.dwarf2/dynarr-ptr.exp: New file.
4086
33aeebcf
MR
40872014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4088
4089 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
4090 of 30 rather than hardcoding 120 for a slow test case. Take the
4091 `gdb,timeout' target setting into account for this calculation.
4092 Don't extend the timeout for the test cases that don't need it.
4093
7b415901
MR
40942014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4095
4096 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
4097 a factor of 2 for a slow test case. Take the `gdb,timeout'
4098 target setting into account for this calculation.
4099 * gdb.reverse/until-precsave.exp: Increase the timeout by
4100 a factor of 15 and 3 respectively rather than adding 120
4101 for a pair of slow test cases. Take the `gdb,timeout'
4102 target setting into account for this calculation.
4103
4a40f85a
MR
41042014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4105
4106 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
4107 timeout, don't pass one down to gdb_expect.
4108 (gdb_expect): Rework timeout selection.
4109
09635af7
MR
41102014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4111
4112 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
4113 exception on timeout.
4114 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
4115 (gdbserver_start_extended): Catch any `gdbserver_start' error
4116 exceptions.
4117 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
4118 * lib/mi-support.exp (mi_gdb_target_load): Catch any
4119 `gdbserver_gdb_load' error exceptions.
4120
2bdd10b7
MR
41212014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4122
4123 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
4124 120 on waiting for the TCP socket to open.
4125
316935f0
DE
41262014-09-09 Doug Evans <xdje42@gmail.com>
4127
4128 * gdb.base/default.exp (show_conv_list): Add _caller_is,
4129 _caller_matches, _any_caller_is, _any_caller_matches.
4130
83740597
DE
41312014-09-09 Doug Evans <xdje42@gmail.com>
4132
4133 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
4134
4c122fc3
YQ
41352014-09-09 Yao Qi <yao@codesourcery.com>
4136
4137 * gdb.mi/mi-var-display.exp: Set print symbol off.
4138
a9f116cb
GKB
41392014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
4140
4141 PR gdb/17035
4142 * gdb.base/commands.exp: Add tests to verify user-defined
4143 commands with empty bodies.
4144 * gdb.python/py-cmd.exp: Test that we don't show user-defined
4145 python commands in `show user command`.
4146 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
4147 scheme commands in `show user command`.
4148
c75bd3a2
JK
41492014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4150
4151 PR python/17355
4152 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
4153 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
4154 * gdb.python/py-framefilter-invalidarg.exp: New file.
4155 * gdb.python/py-framefilter-invalidarg.py: New file.
4156
faa42425
DE
41572014-09-06 Doug Evans <xdje42@gmail.com>
4158
4159 PR 15276
4160 * gdb.python/py-caller-is.c: New file.
4161 * gdb.python/py-caller-is.exp: New file.
4162
474ca4f6
SDJ
41632014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
4164
4165 PR gdb/17235
4166 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
4167 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
4168
eb0b0463
SDJ
41692014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
4170
4171 PR fortran/17237
4172 * gdb.fortran/print-formatted.exp: New file.
4173 * gdb.fortran/print-formatted.f90: Likewise.
4174
5f3b99cf
SS
41752014-09-03 Sasha Smundak <asmundak@google.com>
4176
4177 * gdb.python/py-frame.exp: Test Frame.read_register.
4178
7d793aa9
SDJ
41792014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
4180
4181 PR python/16699
4182 * gdb.python/py-completion.exp: New file.
4183 * gdb.python/py-completion.py: Likewise.
4184
fb0576e9
DE
41852014-08-28 Doug Evans <dje@google.com>
4186
4187 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
4188 eax,etc. are live with values set by gdb and thus the compiler can't
4189 use them.
4190 * gdb.arch/i386-pseudo.c (main): Ditto.
4191
ee92b0dd
DE
41922014-08-27 Doug Evans <dje@google.com>
4193
4194 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
4195
6649db35
DE
41962014-08-25 Doug Evans <dje@google.com>
4197
4198 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
4199 (main): Ditto.
4200
564b7600
DE
42012014-08-25 Doug Evans <dje@google.com>
4202
4203 * gdb.threads/thread-execl.exp: #include <stdio.h>.
4204
3881fb67
YQ
42052014-08-24 Yao Qi <yao@codesourcery.com>
4206
4207 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
4208 symbol off.
4209 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
4210
a05a36a5
DE
42112014-08-22 Doug Evans <dje@google.com>
4212
4213 PR 17276
4214 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
4215 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
4216 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
4217
7c343b48
YQ
42182014-08-22 Yao Qi <yao@codesourcery.com>
4219
4220 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
4221 * gdb.python/py-finish-breakpoint2.exp: Likewise.
4222 * gdb.python/python.exp: Likewise. Use .py file on the host
4223 instead of the build.
4224
22fd09ae
JK
42252014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4226
4227 * gdb.threads/gcore-stale-thread.c: New file.
4228 * gdb.threads/gcore-stale-thread.exp: New file.
4229
a8454a7c
PA
42302014-08-21 Pedro Alves <palves@redhat.com>
4231
4232 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
4233 * gdb.base/gcore-relro-pie.exp: Likewise.
4234 * gdb.base/gcore-relro.exp: Likewise.
4235 * gdb.base/gcore.exp: Likewise.
4236 * gdb.base/print-symbol-loading.exp: Likewise.
4237 * gdb.threads/gcore-thread.exp: Likewise.
4238 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
4239
2a31c623
PA
42402014-08-20 Pedro Alves <palves@redhat.com>
4241 Jan Kratochvil <jan.kratochvil@redhat.com>
4242
4243 * Makefile.in (EXTRA_RULES, CC): New variables, get from
4244 configure.
4245 (EXPECT): Handle READ1 being set.
4246 (all): Depend on EXTRA_RULES.
4247 (check-read1, expect-read1, read1.so, read1): New rules.
4248 * README (Testsuite Parameters): Document the READ1 make variable.
4249 (Race detection): New section.
4250 * configure: Regenerate.
4251 * configure.ac: If build==host==target, and running under a
4252 GNU/glibc system, add read1 to the extra Makefile rules.
4253 (EXTRA_RULES): AC_SUBST it.
4254 * lib/read1.c: New file.
4255
d36430db
JB
42562014-08-20 Joel Brobecker <brobecker@adacore.com>
4257
4258 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
4259 the handling of variables declared as a typedef to an array
4260 which a DW_AT_data_location attribute.
4261
9a0dc9e3
PA
42622014-08-19 Andrew Burgess <aburgess@broadcom.com>
4263 Pedro Alves <palves@redhat.com>
4264
4265 PR symtab/14604
4266 PR symtab/14605
4267 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
4268 gdb_test.
4269
0718a8da
PA
42702014-08-19 Pedro Alves <palves@redhat.com>
4271
4272 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
4273
13b448cd
YQ
42742014-08-19 Yao Qi <yao@codesourcery.com>
4275
4276 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
4277 right line.
4278
1cbf5077
DB
42792014-08-18 David Blaikie <dblaikie@gmail.com>
4280
4281 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
4282
bf0fae19
JB
42832014-08-18 Joel Brobecker <brobecker@adacore.com>
4284
4285 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
4286 attribute in array range.
4287
3c8c5dcc
JB
42882014-08-18 Joel Brobecker <brobecker@adacore.com>
4289
4290 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
4291
e66d4446
SC
42922014-08-15 Siva Chandra Reddy <sivachandra@google.com>
4293
4294 PR c++/17132
4295 * gdb.cp/pr17132.cc: New file.
4296 * gdb.cp/pr17132.exp: New file.
4297
940df408
SC
42982014-08-15 Siva Chandra Reddy <sivachandra@google.com>
4299
4300 * gdb.python/py-xmethods.py (A_getarrayind)
4301 (E_method_char_worker.__call__, E_method_int_worker.__call__):
4302 Use 'print' with function call syntax.
4303 (E_method_matcher.match): Fix tab vs space indentation mixup.
4304
ebcc6c3a
YQ
43052014-08-15 Yao Qi <yao@codesourcery.com>
4306
4307 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
4308 false.
4309
775e0f04
YQ
43102014-08-15 Yao Qi <yao@codesourcery.com>
4311
4312 * gdb.cp/casts.exp: Set print symbol off.
4313 * gdb.cp/class2.exp: Likewise.
4314 * gdb.cp/overload.exp: Likewise.
4315 * gdb.cp/templates.exp: Likewise.
4316
d769e349
DE
43172014-08-11 Doug Evans <dje@google.com>
4318
4319 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
4320 (test_load_shlib): Update.
4321
20c6f1e1
YQ
43222014-08-09 Yao Qi <yao@codesourcery.com>
4323
4324 * gdb.base/display.exp: Invoke is_address_zero_readable.
4325 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
4326 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4327 * gdb.base/hbreak-unmapped.exp: Return if
4328 is_address_zero_readable returns true.
4329 * gdb.base/signest.exp: Likewise.
4330 * gdb.base/signull.exp: Likewise.
4331 * gdb.base/sigbpt.exp: Likewise.
4332 * gdb.guile/scm-disasm.exp: Do the test if
4333 is_address_zero_readable returns false.
4334 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
4335 * gdb.python/py-arch.exp: Likewise.
4336 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
4337 * lib/gdb.exp (is_address_zero_readable): New proc.
4338
5792e8e3
YQ
43392014-08-09 Yao Qi <yao@codesourcery.com>
4340
4341 PR testsuite/13443
4342 * gdb.mi/mi-var-display.exp: Make test messages unique.
4343
3cecbbbe
TT
43442014-08-04 Tom Tromey <tromey@redhat.com>
4345
4346 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
4347 target 0".
4348
00b51ff5
TT
43492014-08-04 Tom Tromey <tromey@redhat.com>
4350
4351 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
4352 "target_resume".
4353
6908c509
JB
43542014-08-01 Joel Brobecker <brobecker@adacore.com>
4355
4356 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
4357 inner_vla_struct_object_size.
4358 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
4359 as xfail.
4360
cc6563d2
PA
43612014-07-30 Pedro Alves <palves@redhat.com>
4362
4363 * gdb.threads/signal-command-handle-nopass.exp (test): Add
4364 comment.
4365
7e09a223
YQ
43662014-07-29 Yao Qi <yao@codesourcery.com>
4367
4368 PR gdb/17206
4369 * gdb.base/until-nodebug.exp: New.
4370
7ebdbe92
DE
43712014-07-28 Doug Evans <xdje42@gmail.com>
4372
4373 PR guile/17203
4374 * gdb.guile/scm-parameter.exp: Add tests for trying to create
4375 previously existing parameter, and previously ambiguously spelled
4376 parameter.
4377
fdb1adc6
WN
43782014-07-28 Will Newton <will.newton@linaro.org>
4379
4380 * gdb.base/varargs.exp: Remove KFAILs for ARM.
4381
186fcde0
DE
43822014-07-26 Ludovic Courtès <ludo@gnu.org>
4383 Doug Evans <xdje42@gmail.com>
4384
4385 PR guile/17146
4386 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
4387
70509625
PA
43882014-07-25 Pedro Alves <palves@redhat.com>
4389
4390 * gdb.threads/signal-command-handle-nopass.c: New file.
4391 * gdb.threads/signal-command-handle-nopass.exp: New file.
4392 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
4393 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
4394 * gdb.threads/signal-delivered-right-thread.c: New file.
4395 * gdb.threads/signal-delivered-right-thread.exp: New file.
4396
c3f814a1
PA
43972014-07-25 Pedro Alves <palves@redhat.com>
4398
4399 * gdb.base/double-prompt-target-event-error.exp
4400 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
4401 match.
4402 (cancel_pagination_in_target_event): Rework double prompt
4403 detection.
4404 * gdb.base/paginate-after-ctrl-c-running.exp
4405 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
4406 <return>' match.
4407 * gdb.base/paginate-bg-execution.exp
4408 (test_bg_execution_pagination_return)
4409 (test_bg_execution_pagination_cancel): Remove '-notransfer
4410 <return>' matches.
4411 * gdb.base/paginate-execution-startup.exp
4412 (test_fg_execution_pagination_return)
4413 (test_fg_execution_pagination_cancel): Remove '-notransfer
4414 <return>' matches.
4415 * gdb.base/paginate-inferior-exit.exp
4416 (test_paginate_inferior_exited): Remove '-notransfer <return>'
4417 match.
4418 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
4419 * lib/gdb.exp (pagination_prompt): Run text through
4420 string_to_regexp.
4421 (gdb_test_multiple): Match $pagination_prompt instead of
4422 "<return>".
4423 (string_to_regexp): Move to lib/gdb-utils.exp.
4424
e214cf6c
JK
44252014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4426
4427 * gdb.arch/amd64-entry-value-paramref.S: New file.
4428 * gdb.arch/amd64-entry-value-paramref.cc: New file.
4429 * gdb.arch/amd64-entry-value-paramref.exp: New file.
4430 * gdb.arch/amd64-optimout-repeat.S: New file.
4431 * gdb.arch/amd64-optimout-repeat.c: New file.
4432 * gdb.arch/amd64-optimout-repeat.exp: New file.
4433
17d0c5c8
JK
44342014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4435
4436 PR gdb/17170
4437 * gdb.base/statistics.exp: New file.
4438
b8b8facf
DE
44392014-07-17 Doug Evans <dje@google.com>
4440
74b49205 4441 PR gdb/17170
b8b8facf
DE
4442 * gdb.base/maint.exp: Update testing of per-command stats.
4443
1b5d0ab3
PA
44442014-07-16 Pedro Alves <palves@redhat.com>
4445
4446 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
4447 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
4448 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
4449 (tfile_write_buf): New functions.
4450 (add_memory_block): Rewrite using the above.
4451 (adjust_function_address): New function.
4452 (FUNCTION_ADDRESS): New macro.
4453 (write_basic_trace_file): Remove short_x local, and use
4454 tfile_write_16. Change type of func_addr local to unsigned long
4455 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
4456 here. Cast argument of add_memory_block to char pointer.
4457 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
4458 (main): Remove parameters.
4459 * gdb.trace/tfile.exp: Remove nowarnings.
4460
4d974e88
SM
44612014-07-15 Simon Marchi <simon.marchi@ericsson.com>
4462
4463 * gdb.base/debug-expr.exp: Test string evaluation with
4464 "debug expression" on.
4465
41e99568
PA
44662014-07-15 Pedro Alves <palves@redhat.com>
4467
4468 * gdb.base/reread.exp: Use clean_restart.
4469
487d9753
PL
44702014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
4471
4472 * gdb.arch/avr-flash-qualifer.c: New.
4473 * gdb.arch/avr-flash-qualifer.exp: New.
4474
cc1c52ad
PA
44752014-07-14 Pedro Alves <palves@redhat.com>
4476
4477 * gdb.base/paginate-after-ctrl-c-running.c: New file.
4478 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
4479
1e973570
PA
44802014-07-14 Pedro Alves <palves@redhat.com>
4481
4482 * gdb.base/double-prompt-target-event-error.c: New file.
4483 * gdb.base/double-prompt-target-event-error.exp: New file.
4484
93d6eb10
PA
44852014-07-14 Pedro Alves <palves@redhat.com>
4486
4487 PR gdb/17072
4488 * gdb.base/paginate-inferior-exit.c: New file.
4489 * gdb.base/paginate-inferior-exit.exp: New file.
4490
0017922d
PA
44912014-07-14 Pedro Alves <palves@redhat.com>
4492
4493 PR gdb/17072
4494 * gdb.base/paginate-bg-execution.c: New file.
4495 * gdb.base/paginate-bg-execution.exp: New file.
4496
94696ad3
PA
44972014-07-14 Pedro Alves <palves@redhat.com>
4498
4499 PR gdb/17072
4500 * gdb.base/paginate-execution-startup.c: New file.
4501 * gdb.base/paginate-execution-startup.exp: New file.
4502 * lib/gdb.exp (pagination_prompt): New global.
4503 (default_gdb_spawn): New procedure, factored out from
4504 default_gdb_spawn.
4505 (default_gdb_start): Adjust to call default_gdb_spawn.
4506 (gdb_spawn): New procedure.
4507
bd293940
PA
45082014-07-14 Pedro Alves <palves@redhat.com>
4509
4510 * lib/gdb.exp (gdb_assert): New procedure.
4511 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
4512
c933f875
PA
45132014-07-14 Pedro Alves <palves@redhat.com>
4514
4515 * gdb.base/execution-termios.c: New file.
4516 * gdb.base/execution-termios.exp: New file.
4517
d98b7a16
TT
45182014-07-14 Tom Tromey <tromey@redhat.com>
4519
4520 * gdb.cp/vla-cxx.cc: New file.
4521 * gdb.cp/vla-cxx.exp: New file.
4522
548740d6
TT
45232014-07-14 Tom Tromey <tromey@redhat.com>
4524
4525 * gdb.reverse/rerun-prec.c: New file.
4526 * gdb.reverse/rerun-prec.exp: New file.
4527
a25eb028
MR
45282014-07-12 Maciej W. Rozycki <macro@mips.com>
4529 Maciej W. Rozycki <macro@codesourcery.com>
4530
4531 * lib/gdb-utils.exp: New file.
4532 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
4533 inline `gdb_init_command' processing.
4534 (gdb_start_cmd): Likewise.
4535 * lib/mi-support.exp (mi_run_cmd): Likewise.
4536 * README: Document `gdb_init_command' and `gdb_init_commands'.
4537
218c2655
JK
45382014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4539
4540 Fix false FAIL running under a very long directory name.
4541 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
4542 and "set print elements 10000". Twice.
4543
5401fde3
YQ
45442014-07-11 Yao Qi <yao@codesourcery.com>
4545
4546 * gdb.base/exprs.exp: "set print symbol off".
4547
e76126e8
PA
45482014-07-11 Pedro Alves <palves@redhat.com>
4549
4550 * gdb.threads/kill.c: New file.
4551 * gdb.threads/kill.exp: New file.
4552
2d6f0de6
YQ
45532014-07-10 Yao Qi <yao@codesourcery.com>
4554
4555 * gdb.trace/tfile.c (write_basic_trace_file)
4556 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
4557 address written to trace file.
4558
7180e04a
PA
45592014-07-09 Pedro Alves <palves@redhat.com>
4560
4561 * gdb.base/attach-wait-input.exp: New file.
4562 * gdb.base/attach-wait-input.c: New file.
4563
9a9a7608
AB
45642014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4565
4566 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
4567 setting up test structures.
4568 (main): Call new test function.
4569 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
4570 test function, continue into test function and walk test
4571 structures.
4572
161ac41e
YQ
45732014-07-02 Yao Qi <yao@codesourcery.com>
4574
4575 * gdb.trace/entry-values.c: Define labels 'foo_start' and
4576 'bar_start' at the beginning of functions 'foo' and 'bar'
4577 respectively.
4578 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
4579 instead of 'foo' and 'bar'.
4580
1f267ae3
MM
45812014-07-08 Markus Metzger <markus.t.metzger@intel.com>
4582
4583 * gdb.btrace/segv.exp: New.
4584 * gdb.btrace/segv.c: New.
4585
2b239efb
LM
45862014-07-02 Luis Machado <lgustavo@codesourcery.com>
4587
4588 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
4589 instruction.
4590
cf363f18
MW
45912014-06-30 Mark Wielaard <mjw@redhat.com>
4592
4593 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
4594 vulture, vilify, villar): New volatile array constants.
4595 (vindictive, vegetation): New const volatile array constants.
4596 * gdb.base/volatile.exp: Test volatile and const volatile array
4597 types.
4598
aebf9d24
AA
45992014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
4600
4601 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
4602 target lacks support for awatch, rwatch, or hbreak.
4603
b67a2c6f
YQ
46042014-06-27 Yao Qi <yao@codesourcery.com>
4605
4606 * gdb.multi/dummy-frame-restore.exp: New.
4607 * gdb.multi/dummy-frame-restore.c: New.
4608
aef92902
MM
46092014-06-25 Markus Metzger <markus.t.metzger@intel.com>
4610
4611 * gdb.btrace/gcore.exp: New.
4612
8e9db26e
PA
46132014-06-23 Pedro Alves <palves@redhat.com>
4614
4615 * gdb.base/watchpoint-reuse-slot.c: New file.
4616 * gdb.base/watchpoint-reuse-slot.exp: New file.
4617
70afc5b7
SC
46182014-06-23 Siva Chandra Reddy <sivachandra@google.com>
4619
4620 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
4621 progspace's filename in 'info', 'enable' and 'disable' command
4622 tests.
4623
b972bd9c
JK
46242014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4625
4626 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
4627 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
4628 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
4629
125f8a3d
GB
46302014-06-20 Gary Benson <gbenson@redhat.com>
4631
4632 * gdb.arch/i386-avx.exp: Fix include file location.
4633 * gdb.arch/i386-sse.exp: Likewise.
4634
3ed9baed
IB
46352014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
4636
4637 * gdb.dlang/expression.exp: New file.
4638
034f788c
PA
46392014-06-19 Pedro Alves <palves@redhat.com>
4640
4641 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
4642 out from ...
4643 (top level): ... here. Iterate running tests under different
4644 scheduler-locking settings.
4645
45371d0c
LM
46462014-06-18 Luis Machado <lgustavo@codesourcery.com>
4647
4648 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
4649 to DW_FORM_addr and use non-zero addresses.
4650
5d376983
SC
46512014-06-18 Siva Chandra Reddy <sivachandra@google.com>
4652
4653 PR gdb/17017
4654 * gdb.python/py-xmethods.cc: Add global function call counters and
4655 increment them in their respective functions. Remove "cout"
4656 statements.
4657 * gdb.python/py-xmethods.exp: Make tests check the global function
4658 call counters instead of depending on inferior IO.
4659
a1aa2221
LM
46602014-06-18 Don Breazeal <donb@codesourcery.com>
4661
4662 * gdb.base/foll-fork.exp (default_fork_parent_follow):
4663 Deleted procedure.
4664 (explicit_fork_parent_follow): Deleted procedure.
4665 (explicit_fork_child_follow): Deleted procedure.
4666 (test_follow_fork): New procedure.
4667 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 4668 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
4669 procedure calls.
4670
0fc05997
YQ
46712014-06-17 Yao Qi <yao@codesourcery.com>
4672
4673 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
4674 CP1252.
4675
70795c52
LM
46762014-06-17 Luis Machado <lgustavo@codesourcery.com>
4677
4678 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
4679 Initialize ptr and S explicitly.
4680 (skip_type_update_when_not_use_rtti_test): Likewise.
4681
6be47f0c
KS
46822014-06-16 Keith Seitz <keiths@redhat.com>
4683
4684 PR mi/15863
4685 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
4686 the inferior is started.
4687
d03de421
PA
46882014-06-16 Pedro Alves <palves@redhat.com>
4689
4690 * gdb.base/break-main-file-remove-fail.c: New file.
4691 * gdb.base/break-main-file-remove-fail.exp: New file.
4692 * gdb.base/break-unload-file.exp: Use build_executable instead of
4693 prepare_for_testing.
4694 (test_break): New parameter "initial_load". Handle it.
4695 (top level): Add initial_load cmdline/file axis.
4696
f9579b99
TT
46972014-06-12 Tom Tromey <tromey@redhat.com>
4698
4699 * gdb.base/completion.exp: Don't use directory name in test.
4700
3657956b
GB
47012014-06-09 Gary Benson <gbenson@redhat.com>
4702
4703 * gdb.base/sigall.c [Functions to send signals]: Reorder to
4704 separate the always-available ANSI-standard signals from the
4705 signals that require checking.
4706 (main): Likewise.
4707 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
4708 Likewise.
4709 (main): Likewise.
4710
4186eb54
KS
47112014-06-07 Keith Seitz <keiths@redhat.com>
4712
4713 Revert:
4714 PR c++/16253
4715 * gdb.cp/var-tag.cc: New file.
4716 * gdb.cp/var-tag.exp: New file.
4717 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4718 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4719 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4720 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4721
25326a28 47222014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
4723
4724 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
4725
829155c9
PA
47262014-06-06 Pedro Alves <palves@redhat.com>
4727
4728 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
4729 in target debug output instead of looking at RSP packets,
4730 disabling the test on any target that uses hardware stepping.
4731 Update comments.
4732
61c8d22e
PA
47332014-06-06 Pedro Alves <palves@redhat.com>
4734
4735 * gdb.base/break-unload-file.exp: Fix typo.
4736
d9a47287
YQ
47372014-06-06 Yao Qi <yao@codesourcery.com>
4738
4739 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
4740 from "jit_function" to "^jit_function".
4741
e5e01dbf
YQ
47422014-06-06 Yao Qi <yao@codesourcery.com>
4743
4744 * gdb.base/async.c (foo): Add one statement.
4745 * gdb.base/async.exp: Get the next instruction address and
4746 match the output of "nexti" by instruction address. Match
4747 the hex address in the output of "finish".
4748
73ba372c
GB
47492014-06-06 Gary Benson <gbenson@redhat.com>
4750
4751 * gdb.base/call-signals.c: Remove preprocessor conditionals
4752 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
4753 SIGSEGV and SIGTERM.
4754 * gdb.base/sigall.c: Likewise.
4755 * gdb.base/unwindonsignal.c: Likewise.
4756 * gdb.reverse/sigall-reverse.c: Likewise.
4757
831517df
YQ
47582014-06-06 Yao Qi <yao@codesourcery.com>
4759
4760 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
4761 readable, skip the test.
4762
b8b91e98
YQ
47632014-06-06 Yao Qi <yao@codesourcery.com>
4764
4765 * gdb.threads/staticthreads.c (thread_function): Move the line
4766 setting breakpoint on forward.
4767 * gdb.threads/staticthreads.exp: Update comments.
4768
fb934770
LC
47692014-06-05 Ludovic Courtès <ludo@gnu.org>
4770
4771 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
4772 "history-append! type error".
4773
6ef284bd
SM
47742014-06-05 Simon Marchi <simon.marchi@ericsson.com>
4775
4776 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
4777 erroneous dprintf expected input.
4778
a872e241
DE
47792014-06-04 Doug Evans <xdje42@gmail.com>
4780
4781 * gdb.guile/scm-generics.exp: Delete.
4782
16f691fb
DE
47832014-06-04 Doug Evans <xdje42@gmail.com>
4784
4785 * gdb.guile/scm-breakpoint.exp: Update.
4786 Add tests for breakpoint registration.
4787
012370f6
TT
47882014-06-04 Tom Tromey <tromey@redhat.com>
4789
4790 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
4791 VLA-in-union.
4792 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
4793 inner_vla_struct, vla_union types. Initialize objects of those
4794 types and compute their sizes.
4795
9f5a4cef
HZ
47962014-06-04 Nathan Sidwell <nathan@codesourcery.com>
4797 Hui Zhu <hui@codesourcery.com>
4798
4799 * gdb.base/fileio.exp: Add test for shell not available as well as
4800 available.
4801 * gdb.base/fileio.c (test_system): Check for shell twice.
4802
90a45c4d
YQ
48032014-06-04 Yao Qi <yao@codesourcery.com>
4804
4805 * gdb.base/auto-connect-native-target.exp: Remove redundant
4806 space from the regexp pattern.
4807
70017e41
YQ
48082014-06-04 Yao Qi <yao@codesourcery.com>
4809
4810 * gdb.base/default.exp: Replace "child" with "native" in
4811 regexp pattern.
4812
883964a7
SC
48132014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4814
4815 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
4816 * gdb.python/py-xmethods.exp: New tests to test xmethods.
4817 * gdb.python/py-xmethods.py: Python script supporting the
4818 new testcase and tests.
4819
ef370185
JB
48202014-06-03 Joel Brobecker <brobecker@adacore.com>
4821 Pedro Alves <palves@redhat.com>
4822
4823 PR breakpoints/17000
4824 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
4825 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
4826
1e2ccb61
BM
48272014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
4828
4829 * gdb.base/subst.exp: Add tests to verify partial path matching
4830 output.
4831
c6ec5ab2
PA
48322014-06-03 Pedro Alves <palves@redhat.com>
4833
4834 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
4835 target that doesn't use software single-stepping.
4836
835c559f
PA
48372014-06-03 Pedro Alves <palves@redhat.com>
4838
4839 PR breakpoints/17000
4840 * gdb.base/sss-bp-on-user-bp-2.c: New file.
4841 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
4842
06eb1586
DE
48432014-06-02 Doug Evans <xdje42@gmail.com>
4844
4845 * gdb.guile/scm-parameter.exp: New file.
4846
e698b8c4
DE
48472014-06-02 Doug Evans <xdje42@gmail.com>
4848
4849 * gdb.guile/scm-cmd.c: New file.
4850 * gdb.guile/scm-cmd.exp: New file.
4851
ded03782
DE
48522014-06-02 Doug Evans <xdje42@gmail.com>
4853
4854 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
4855 pretty-printer lookup.
4856 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
4857 (make-pp_s-printer): Call it.
4858 (make-pretty-printer-from-dict): New function.
4859 (lookup-pretty-printer-maker-from-dict): New function.
4860 (*pretty-printer*): Simplify.
4861 (make-objfile-pp_s-printer): New function.
4862 (install-objfile-pretty-printers!): New function.
4863 (make-progspace-pp_s-printer): New function.
4864 (install-progspace-pretty-printers!): New function.
4865 * gdb.guile/scm-progspace.c: New file.
4866 * gdb.guile/scm-progspace.exp: New file.
4867
41fac0cf
PA
48682014-06-02 Pedro Alves <palves@redhat.com>
4869
4870 * gdb.base/dprintf-bp-same-addr.c: New file.
4871 * gdb.base/dprintf-bp-same-addr.exp: New file.
4872
96ae5695
EBM
48732014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4874
4875 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
4876 * gdb.arch/powerpc-power.s: Likewise.
4877
da02b3a8
JB
48782014-06-02 Joel Brobecker <brobecker@adacore.com>
4879
4880 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
4881
c72b2e7b
YQ
48822014-06-01 Yao Qi <yao@codesourcery.com>
4883
4884 * gdb.base/watchpoint.exp (test_watch_location): Check null
4885 pointer can be dereferenced. If not, do the test, otherwise
4886 skip it.
4887
53e8a631
AB
48882014-05-30 Andrew Burgess <aburgess@broadcom.com>
4889
4890 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
4891 results.
4892 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
4893
938f0e2f
AB
48942014-05-30 Andrew Burgess <aburgess@broadcom.com>
4895
4896 * gdb.arch/amd64-invalid-stack-middle.S: New file.
4897 * gdb.arch/amd64-invalid-stack-middle.c: New file.
4898 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
4899 * gdb.arch/amd64-invalid-stack-top.c: New file.
4900 * gdb.arch/amd64-invalid-stack-top.exp: New file.
4901
9ba6657a
PA
49022014-05-30 Pedro Alves <palves@redhat.com>
4903
4904 PR breakpoints/17000
4905 * gdb.base/sss-bp-on-user-bp.c: New file.
4906 * gdb.base/sss-bp-on-user-bp.exp: New file.
4907
522c09bf
DB
49082014-05-30 David Blaikie <dblaikie@gmail.com>
4909
4910 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
4911 gnu_inline semantics via attribute.
4912 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
4913 source explicitly specifies the required semantics.
4914
bf4ef81e
MR
49152014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
4916
4917 * gdb.reverse/sigall-reverse.exp: Fix a typo.
4918
329ea579
PA
49192014-05-29 Pedro Alves <palves@redhat.com>
4920 Tom Tromey <tromey@redhat.com>
4921
4922 * gdb.base/async-shell.exp: Don't enable target-async.
4923 * gdb.base/async.exp
4924 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
4925 parameter. Adjust.
4926 (top level): Don't test with "target-async".
4927 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
4928 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
4929 * gdb.base/inferior-died.exp: Don't enable target-async.
4930 * gdb.base/interrupt-noterm.exp: Likewise.
4931 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
4932 * gdb.mi/mi-nonstop-exit.exp: Likewise.
4933 * gdb.mi/mi-nonstop.exp: Likewise.
4934 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
4935 * gdb.mi/mi-nsintrall.exp: Likewise.
4936 * gdb.mi/mi-nsmoribund.exp: Likewise.
4937 * gdb.mi/mi-nsthrexec.exp: Likewise.
4938 * gdb.mi/mi-watch-nonstop.exp: Likewise.
4939 * gdb.multi/watchpoint-multi.exp: Adjust comment.
4940 * gdb.python/py-evsignal.exp: Don't enable target-async.
4941 * gdb.python/py-evthreads.exp: Likewise.
4942 * gdb.python/py-prompt.exp: Likewise.
4943 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
4944 * gdb.server/solib-list.exp: Don't enable target-async.
4945 * gdb.threads/thread-specific-bp.exp: Likewise.
4946 * lib/mi-support.exp: Adjust to use mi-async.
4947
fd664c91
PA
49482014-05-29 Pedro Alves <palves@redhat.com>
4949
4950 PR gdb/13860
4951 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
4952 reason, even in sync mode.
4953
251bde03
PA
49542014-05-29 Pedro Alves <palves@redhat.com>
4955 Hui Zhu <hui@codesourcery.com>
4956
4957 PR PR15693
4958 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
4959 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
4960 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
4961 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
4962
7f3c0343
JB
49632014-05-28 Joel Brobecker <brobecker@adacore.com>
4964
4965 * config/monitor.exp (gdb_target_monitor): Replace use of
4966 "set remotebaud" by "set serial baud".
4967
b2715b27
AW
49682014-05-26 Andy Wingo <wingo@igalia.com>
4969
4970 * gdb.guile/scm-breakpoint.exp:
4971 * gdb.guile/scm-gsmob.exp: Update to use plain old object
4972 properties instead of gdb-object-properties.
4973
498a4489
YQ
49742014-05-26 Yao Qi <yao@codesourcery.com>
4975
4976 * gdb.server/no-thread-db.exp: Specify source file name
4977 explicitly when setting a breakpoint.
4978
589fdceb
MM
49792014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4980
4981 * gdb.btrace/vdso.c: New.
4982 * gdb.btrace/vdso.exp: New.
4983
e9089e05
MM
49842014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4985
4986 * gdb.base/gcore.exp (capture_command_output): Move ...
4987 * lib/gdb.exp (capture_command_output): ... here.
4988
67b5c0c1
MM
49892014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4990
4991 * gdb.btrace/data.exp: Test memory access during btrace replay.
4992
a2199296
SM
49932014-05-22 Simon Marchi <simon.marchi@ericsson.com>
4994
4995 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
4996
17b2616c
PA
49972014-05-21 Pedro Alves <palves@redhat.com>
4998
4999 PR gdb/13860
5000 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
5001 (top level): Test that output related to execution commands is
5002 sent to the console with CLI commands, but not with MI commands.
5003 Test that breakpoint events are always mirrored to the console.
5004 Also expect the new source line to be output after a "next" in
5005 async mode too. Make it a pass/fail test.
5006 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
5007 output.
5008 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
5009
5166082f
PA
50102014-05-21 Pedro Alves <palves@redhat.com>
5011
5012 * gdb.base/list.exp (build_pattern, test_list): New procedures.
5013 Use them to test variations of "list" after reaching a breakpoint.
5014 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
5015 Test "list" with listsize 10 after reaching a breakpoint.
5016 * gdb.python/python.exp (decode_line current location line
5017 number): Adjust expected line number.
5018
2f25d70f
SM
50192014-05-21 Simon Marchi <simon.marchi@ericsson.com>
5020
5021 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
5022 behavior for $args, pass it directly to "run".
5023
ff604a67
MR
50242014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
5025
5026 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
5027 30000 to 65536.
5028
6a3cb8e8
PA
50292014-05-21 Pedro Alves <palves@redhat.com>
5030
5031 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
5032 auto-connect-native-target off".
5033 * gdb.base/auto-connect-native-target.c: New file.
5034 * gdb.base/auto-connect-native-target.exp: New file.
5035
4ebfc96e
PA
50362014-05-21 Pedro Alves <palves@redhat.com>
5037
5038 * gdb.base/default.exp: Test "target native" instead of "target
5039 child".
5040
36d46afb
MW
50412014-05-21 Mark Wielaard <mjw@redhat.com>
5042
5043 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
5044
5876f503
JK
50452014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5046
5047 Fix TLS access for -static -pthread.
5048 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
5049 <HAVE_TLS> (thread_function, main): Initialize it.
5050 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
5051 Add clean_restart.
5052 <$have_tls != "">: Check TLSVAR.
5053
0256a6ac
PA
50542014-05-21 Pedro Alves <palves@redhat.com>
5055
5056 * gdb.base/dcache-line-read-error.c: New.
5057 * gdb.base/dcache-line-read-error.exp: New.
5058
936d2992
PA
50592014-05-20 Pedro Alves <palves@redhat.com>
5060
5061 * gdb.base/compare-sections.c: New file.
5062 * gdb.base/compare-sections.exp: New file.
5063
802e8e6d
PA
50642014-05-20 Pedro Alves <palves@redhat.com>
5065
5066 * gdb.base/break-idempotent.c: New file.
5067 * gdb.base/break-idempotent.exp: New file.
5068
e59fa00f
MM
50692014-05-20 Markus Metzger <markus.t.metzger@intel.com>
5070
5071 * gdb.btrace/nohist.exp: New.
5072
8b696e31
YQ
50732014-05-20 Yao Qi <yao@codesourcery.com>
5074
5075 * lib/gdb.exp (gdb_init): Set timeout if test file is under
5076 gdb.reverse directory and gdb_reverse_timeout exists in board
5077 setting.
5078 * README: Document gdb_reverse_timeout.
5079
73c9764f
YQ
50802014-05-20 Yao Qi <yao@codesourcery.com>
5081
5082 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
5083 'test_file_name'. Treat args as a string instead of a list.
5084 (gdb_init): Rename argument 'args' by 'test_file_name'.
5085
f1f4348a
JK
50862014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5087
5088 * gdb.arch/powerpc-power.exp: New file.
5089 * gdb.arch/powerpc-power.s: New file.
5090
0dbe70ce
DE
50912014-05-16 Doug Evans <dje@google.com>
5092
5093 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
5094 * gdb.base/completion.exp: Check that all expected files exist
5095 before doing file completion.
0dbe70ce 5096
8d551b02
DE
50972014-05-16 Doug Evans <dje@google.com>
5098
5099 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
5100 Update.
5101 (do_syscall_tests_without_xml): Update.
5102
73eb7709
PA
51032014-05-16 Pedro Alves <palves@redhat.com>
5104
5105 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
5106 instead of "unknown output after running".
5107
3fae92fc
YQ
51082014-05-16 Yao Qi <yao@codesourcery.com>
5109
5110 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
5111 file1.txt from host at the end.
5112 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5113
c2b2ccc5
DE
51142014-05-15 Doug Evans <dje@google.com>
5115
5116 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
5117 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
5118 loading file. Add test for TU lookup.
5119
8c217a4b
SM
51202014-05-15 Simon Marchi <simon.marchi@ericsson.com>
5121
5122 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
5123 calling "-exec-arguments" or "set args" before running the
5124 inferior.
5125
3deb39c6
SM
51262014-05-15 Simon Marchi <simon.marchi@ericsson.com>
5127
5128 * lib/mi-support.exp (mi_expect_stop): Expect message for
5129 inferiors that exit with non-zero exit code.
5130
71a79f8c
YQ
51312014-05-14 Yao Qi <yao@codesourcery.com>
5132
5133 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
5134 match absolute path on remote host.
5135 (test_file_list_exec_source_files): Remove "/" from the
5136 pattern.
5137
f23fcd46
YQ
51382014-05-14 Yao Qi <yao@codesourcery.com>
5139
5140 * boards/local-remote-host-notty.exp (${board}_file): New
5141 proc.
5142
9404b58f
KM
51432014-05-07 Kyle McMartin <kyle@redhat.com>
5144
5145 Pushed by Joel Brobecker <brobecker@adacore.com>.
5146 * gdb.arch/aarch64-atomic-inst.c: New file.
5147 * gdb.arch/aarch64-atomic-inst.exp: New file.
5148
5e45f04c
YQ
51492014-05-07 Yao Qi <yao@codesourcery.com>
5150
5151 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
5152 in current context" too.
5153
c888a17d
KS
51542014-05-05 Keith Seitz <keiths@redhat.com>
5155
5156 * gdb.linespec/ls-dollar.exp: Add test for linespec
5157 file:convenience_variable.
5158
290a839c
YQ
51592014-05-05 Yao Qi <yao@codesourcery.com>
5160
5161 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
5162 traceframes into tfile and ctf trace files. Read data from
5163 trace file and test collected data.
5164 (gdb_collect_locals_test): Likewise.
5165 (gdb_unavailable_registers_test): Likewise.
5166 (gdb_unavailable_floats): Likewise.
5167 (gdb_collect_globals_test): Likewise.
5168 (top-level): Append "ctf" to trace_file_targets if GDB
5169 supports.
5170
b5262cd0
YQ
51712014-05-05 Yao Qi <yao@codesourcery.com>
5172
5173 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
5174 code to ...
5175 (gdb_collect_args_test_1): ... it. New proc.
5176 (gdb_collect_locals_test): Move some code to ...
5177 (gdb_collect_locals_test_1): ... it. New proc.
5178 (gdb_unavailable_registers_test): Move some code to ...
5179 (gdb_unavailable_registers_test_1): ... it. New proc.
5180 (gdb_unavailable_floats): Move some code to ...
5181 (gdb_unavailable_floats_1): ... it. New proc.
5182
30a1e6cc
SDJ
51832014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5184
5185 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
5186 probes to test for bitness recognition.
5187 * gdb.arch/amd64-stap-optional-prefix.exp
5188 (test_probe_value_without_reg): New procedure.
5189 Add code to test for different kinds of bitness.
5190
f33da99a
SDJ
51912014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5192
5193 PR breakpoints/16889
5194 * gdb.arch/amd64-stap-optional-prefix.S: New file.
5195 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5196
5b80f00d
PA
51972014-05-01 Pedro Alves <palves@redhat.com>
5198
5199 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
5200 gdb_file_cmd if no file is specified.
5201 * boards/native-extended-gdbserver.exp (gdb_load): Use the
5202 last_loaded_file to set the remote exec-file.
5203
f8c2a73c
PA
52042014-05-01 Pedro Alves <palves@redhat.com>
5205
5206 * boards/local-remote-host.exp: New file.
5207
be6e8ac7
PA
52082014-05-01 Pedro Alves <palves@redhat.com>
5209
5210 * boards/local-remote-host.exp: Rename to ...
5211 * boards/local-remote-host-notty.exp: ... this.
5212
cac0dc8f
JB
52132014-04-28 Joel Brobecker <brobecker@adacore.com>
5214
5215 * gdb.ada/dyn_arrayidx: New testcase.
5216
9730e6cc
YQ
52172014-04-26 Yao Qi <yao@codesourcery.com>
5218
5219 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
5220 and compute the length of function main. Save it in
5221 $main_length.
5222 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
5223 (top-level): Use gdb_compile to compile objects into
5224 executable and restart GDB. Remove invocation to
5225 prepare_for_testing.
5226
7ae1a6a6
PA
52272014-04-25 Simon Marchi <simon.marchi@ericsson.com>
5228 Pedro Alves <palves@redhat.com>
5229
5230 PR server/16255
5231 * gdb.multi/multi-attach.c: New file.
5232 * gdb.multi/multi-attach.exp: New file.
5233
4082afcc
PA
52342014-04-25 Pedro Alves <palves@redhat.com>
5235
5236 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
5237 user.
5238 (top level): Test that "set remote conditional-breakpoints-packet
5239 off" works as intended.
5240 * gdb.base/dprintf.exp: Test that "set remote
5241 breakpoint-commands-packet off" works as intended.
5242 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
5243 New function.
5244 (top level): Call it.
5245 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
5246 remote fast-tracepoints-packet off" works as intended.
5247 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
5248 * lib/gdb.exp (gdb_is_target_remote): ... here.
5249
2abc3f8d
DB
52502014-04-24 David Blaikie <dblaikie@gmail.com>
5251
5252 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
5253 ensure clang would not discard them.
5254 * gdb.base/gdbvars.c: Ditto.
5255 * gdb.base/memattr.c: Ditto.
5256 * gdb.base/whatis.c: Ditto.
5257 * gdb.python/py-prettyprint.c: Ditto.
5258 * gdb.trace/actions.c: Ditto.
5259 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
5260 ensure clang would not discard it.
5261
bfd39632
DB
52622014-04-24 David Blaikie <dblaikie@gmail.com>
5263
5264 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
5265 clang to emit the full definition of type required by the test
5266 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
5267
22842ff6
DB
52682014-04-24 David Blaikie <dblaikie@gmail.com>
5269
5270 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
5271 coax Clang into emitting the definition of the type.
5272 * gdb.cp/pr10728-x.h (y): Ditto.
5273 * gdb.cp/pr10728-y.cc (y): Ditto.
5274
c2e827ad
DB
52752014-04-24 David Blaikie <dblaikie@gmail.com>
5276
5277 * gdb.base/label.exp: XFAIL label related tests under Clang.
5278 * gdb.cp/cplabel.exp: Ditto.
5279 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
5280 under Clang those using labels.
5281
4c2d33e7
YQ
52822014-04-25 Yao Qi <yao@codesourcery.com>
5283
5284 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
5285 double_label.
5286 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
5287 partial_label and double_label.
5288
56083b99
DB
52892014-04-24 David Blaikie <dblaikie@gmail.com>
5290
5291 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
5292
25d4e99d
DB
52932014-04-24 David Blaikie <dblaikie@gmail.com>
5294
5295 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
5296 of the function to work across GCC and Clang.
5297 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
5298 pointer types (const void ** const V void **).
5299
01f9f808
MS
53002014-04-24 Michael Sturm <michael.sturm@mintel.com>
5301 Walfred Tedeschi <walfred.tedeschi@intel.com>
5302
5303 * Makefile.in (EXECUTABLES): Added i386-avx512.
5304 * gdb.arch/i386-avx512.c: New file.
5305 * gdb.arch/i386-avx512.exp: Likewise.
5306
4b48d439
KS
53072014-04-23 Keith Seitz <keiths@redhat.com>
5308
5309 * lib/mi-support.exp (mi_list_breakpoints): Delete.
5310 (mi_make_breakpoint_table): New procedure.
5311 (mi_create_breakpoint): Use mi_make_breakpoint
5312 and return the result.
5313 (mi_make_breakpoint): New procedure.
5314 (mi_build_kv_pairs): New procedure.
5315
5316 * gdb.mi/mi-break.exp: Remove unused globals,
5317 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
5318 All callers updated.
5319 * gdb.mi/mi-dprintf.exp: Use variable to track command
5320 number.
5321 Update all callers of mi_create_breakpoint and use
5322 mi_make_breakpoint_table.
5323 Remove any unused global variables.
5324 * gdb.mi/mi-nonstop.exp: Likewise.
5325 * gdb.mi/mi-nsintrall.exp: Likewise.
5326 * gdb.mi/mi-nsmoribund.exp: Likewise.
5327 * gdb.mi/mi-nsthrexec.exp: Likewise.
5328 * gdb.mi/mi-reverse.exp: Likewise.
5329 * gdb.mi/mi-simplerun.exp: Likewise.
5330 * gdb.mi/mi-stepn.exp: Likewise.
5331 * gdb.mi/mi-syn-frame.exp: Likewise.
5332 * gdb.mi/mi-until.exp: Likewise.
5333 * gdb.mi/mi-var-cp.exp: Likewise.
5334 * gdb.mi/mi-var-display.exp: Likewise.
5335 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
5336 * gdb.mi/mi2-var-child.exp: Likewise.
5337 * gdb.mi/mi-vla-c99.exp: Likewise.
5338 * lib/mi-support.exp: Likewise.
5339
5340 From Ian Lance Taylor <iant@cygnus.com>:
5341 * lib/gdb.exp (parse_args): New procedure.
5342
08351840
PA
53432014-04-23 Pedro Alves <palves@redhat.com>
5344
5345 * gdb.base/break-unload-file.c: New file.
5346 * gdb.base/break-unload-file.exp: New file.
5347 * gdb.base/sym-file-lib.c (baz): New function.
5348 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
5349 field.
5350 (load): Store the segment's mapped size.
5351 (unload): New function.
5352 (unload_shlib): New function.
5353 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
5354 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
5355 set a breakpoint at baz, and call it.
5356 * gdb.base/sym-file.exp: New tests for stale breakpoint
5357 instructions.
5358
076855f9
PA
53592014-04-23 Pedro Alves <palves@redhat.com>
5360
5361 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
5362 * gdb.base/hbreak-in-shr-unsupported.c: New file.
5363 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
5364 * gdb.base/hbreak-unmapped.c: New file.
5365 * gdb.base/hbreak-unmapped.exp: New file.
5366 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
5367 * lib/gdb.exp (gdb_is_target_remote): ... here.
5368
483805cf
PA
53692014-04-22 Pedro Alves <palves@redhat.com>
5370
5371 * gdb.base/consecutive-step-over.c: New file.
5372 * gdb.base/consecutive-step-over.exp: New file.
5373
06d97543
PA
53742014-04-22 Pedro Alves <palves@redhat.com>
5375
5376 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
5377 instead of send_gdb/gdb_expect.
5378
b4429ea2
YQ
53792014-04-22 Yao Qi <yao@codesourcery.com>
5380
5381 * lib/trace-support.exp (generate_tracefile): New procedure.
5382 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
5383 return 0.
5384 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
5385 if generate_tracefile returns 1.
5386
51d48146
PA
53872014-04-18 Tom Tromey <palves@redhat.com>
5388 Pedro alves <tromey@redhat.com>
5389
5390 PR backtrace/15558
5391 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
5392 with a backtrace limit.
5393 * gdb.python/py-frame-inline.exp: Test running to an inline
5394 function with a backtrace limit, and printing the newest frame.
5395 * gdb.python/py-frame-inline.c (main): Call f.
5396
bd1dce5f
MS
53972014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
5398
5399 * gdb.java/jnpe.exp: Drop srcdir from untested path.
5400
40d1a503
MS
54012014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
5402
5403 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
5404 Drop prefix from unsupported source file path.
5405
389b98f7
YQ
54062014-04-17 Yao Qi <yao@codesourcery.com>
5407
5408 * lib/gdb.exp (with_target_charset): New proc.
5409 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
5410 with_target_charset.
5411 (test_print_strings): Likewise.
5412 (test_repeat_bytes): Likewise.
5413 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
5414 for some tests.
5415
22869d73
KS
54162014-04-16 Keith Seitz <keiths@redhat.com>
5417
5418 PR gdb/15827
5419 * gdb.dwarf2/corrupt.c: New file.
5420 * gdb.dwarf2/corrupt.exp: New file.
5421
c4f87ca6
KS
54222014-04-16 Keith Seitz <keiths@redhat.com>
5423
5424 PR c++/16597
5425 * gdb.cp/namelessclass.cc: New file.
5426 * gdb.cp/namelessclass.exp: New file.
5427 * gdb.cp/namelessclass.S: New file.
5428
ab19de87
DE
54292014-04-16 Doug Evans <dje@google.com>
5430
5431 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
5432 Add comment.
5433 (gdbserver_default_get_comm_port): New function.
5434 (gdbserver_start): Check if board file provided
5435 "gdbserver,get_comm_port" and use it if so.
5436 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
5437 (gdb,socketport): Set to "stdio".
5438 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
5439 (stdio_gdbserver_template): Delete.
5440 (${board}_get_remote_address): Update.
5441 (${board}_build_remote_cmd): Delete.
5442 (${board}_get_comm_port): New function.
5443 (${board}_spawn): Update.
5444 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
5445 Delete.
5446 (${board}_get_remote_address): Update.
5447 (${board}_get_comm_port): New function.
5448
fc98a809
AB
54492014-04-16 Andrew Burgess <aburgess@broadcom.com>
5450
5451 * gdb.base/memattr.exp: Improve regexps to handle memory regions
5452 appearing in any order.
5453
87fd9e6e
DE
54542014-04-15 Doug Evans <dje@google.com>
5455
5456 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
5457 uninitialized value of "description".
5458
099fc3ea
KS
54592014-04-15 Keith Seitz <keiths@redhat.com>
5460
5461 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
5462 Remove unused globals.
5463 (test_running_the_program): Likewise.
5464 (test_controlled_execution): Likewise.
5465 (test_controlling_breakpoints): Likewise.
5466 (test_program_termination): Likewise.
5467
5da151d4
KS
54682014-04-15 Keith Seitz <keiths@redhat.com>
5469
5470 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
5471 unused globals.
5472 (test_rbreak_creation_and_listing): Likewise.
5473 (test_ignore_count): Likewise.
5474 (test_error): Likewise.
5475
35e5d2f0
PA
54762014-04-15 Pedro Alves <palves@redhat.com>
5477
5478 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
5479 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
5480 sym-file-loader.c.
5481 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
5482 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
5483 to sym-file-loader.c.
5484 (struct library): Forward declare.
5485 (load_shlib, lookup_function): Change prototypes.
5486 (find_shstrtab, find_strtab, find_shdr, find_symtab)
5487 (translate_offset): Remove declarations.
5488 (get_text_addr): New declaration.
5489 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
5490 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
5491 sym-file-loader.h.
5492 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
5493 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
5494 here from sym-file-loader.h.
5495 (struct library): New structure.
5496 (load_shlib, lookup_function): Change prototypes and adjust to
5497 work with a struct library.
5498 (find_shstrtab, find_strtab, find_shdr, find_symtab)
5499 (translate_offset): Make static.
5500 (get_text_addr): New function.
5501 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
5502
eb4c1710
PA
55032014-04-15 Pedro Alves <palves@redhat.com>
5504
5505 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
5506
2d1baf52
PA
55072014-04-15 Pedro Alves <palves@redhat.com>
5508
5509 * gdb.base/sym-file-loader.c: Include <limits.h>.
5510 (SELF_LINK): New define.
5511 (get_origin): New function.
5512 (load_shlib): Use it.
5513 * gdb.base/sym-file.exp: Don't early return if the target is
5514 remote. Use runto_main, and issue fail is that fails. Use
5515 gdb_load_shlibs.
5516 (shlib_name): Delete.
5517 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
5518
7dd6df01
PA
55192014-04-15 Pedro Alves <palves@redhat.com>
5520
5521 * gdb.base/sym-file.exp: Remove regex characters from test
5522 message. Don't refer to breakpoint numbers in test messages.
5523
b50c8614
KS
55242014-04-14 Keith Seitz <keiths@redhat.com>
5525
5526 PR c++/16253
5527 * gdb.cp/var-tag.cc: New file.
5528 * gdb.cp/var-tag.exp: New file.
5529 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
5530 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
5531 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
5532 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
5533
3d567982
TT
55342014-04-14 Tom Tromey <tromey@redhat.com>
5535
5536 * gdb.cp/classes.exp (test_enums): Handle underlying type.
5537 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
5538 type.
5539 * gdb.cp/enum-class.exp: New file.
5540 * gdb.cp/enum-class.cc: New file.
5541
0626fc76
TT
55422014-04-14 Tom Tromey <tromey@redhat.com>
5543
5544 * gdb.dwarf2/enum-type.exp: New file.
5545
dca325b3
SA
55462014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5547
5548 * gdb.mi/mi-vla-c99.exp: New file.
5549 * gdb.mi/vla.c: New file.
5550
5854b38a
SA
55512014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5552
5553 * gdb.base/vla-datatypes.c: New file.
5554 * gdb.base/vla-datatypes.exp: New file.
5555
463bb957
SA
55562014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5557
5558 * gdb.base/vla-ptr.c: New file.
5559 * gdb.base/vla-ptr.exp: New file.
5560
3dd170be
SA
55612014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5562
5563 * gdb.dwarf2/count.exp: New file.
5564
5ecaaa66
SA
55652014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5566
5567 * gdb.base/vla-sideeffect.c: New file.
5568 * gdb.base/vla-sideeffect.exp: New file.
5569
41f1ada5
DB
55702014-04-14 David Blaikie <dblaikie@gmail.com>
5571
5572 * gdb.mi/non-stop.c: Add return value for non-void function return
5573 statement.
5574 * gdb.threads/staticthreads.c: Ditto.
5575
0be03e84
DE
55762014-04-12 Siva Chandra Reddy <sivachandra@google.com>
5577 Doug Evans <xdje42@gmail.com>
5578
5579 * gdb.guile/scm-value.c: Improve test case.
5580 * gdb.guile/scm-value.exp: Add new test.
5581
f180a1fb
DB
55822014-04-11 David Blaikie <dblaikie@gmail.com>
5583
5584 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
5585 override Clang's default.
5586
6b662e19
JB
55872014-04-11 Joel Brobecker <brobecker@adacore.com>
5588
5589 Revert the following changes (regressions):
5590
5591 * gdb.base/vla-sideeffect.c: New file.
5592 * gdb.base/vla-sideeffect.exp: New file.
5593
5594 * gdb.dwarf2/count.exp: New file.
5595
5596 * gdb.base/vla-multi.c: New file.
5597 * gdb.base/vla-multi.exp: New file.
5598
5599 * gdb.base/vla-ptr.c: New file.
5600 * gdb.base/vla-ptr.exp: New file.
5601
5602 * gdb.base/vla-datatypes.c: New file.
5603 * gdb.base/vla-datatypes.exp: New file.
5604
5605 * gdb.mi/mi-vla-c99.exp: New file.
5606 * gdb.mi/vla.c: New file.
5607
245a5f0b
KS
56082014-04-11 Keith Seitz <keiths@redhat.com>
5609
5610 PR c++/16675
5611 * gdb.cp/cpsizeof.exp: New file.
5612 * gdb.cp/cpsizeof.cc: New file.
5613
58a84dcf
SA
56142014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5615
191a8a90
JB
5616 * gdb.mi/mi-vla-c99.exp: New file.
5617 * gdb.mi/vla.c: New file.
58a84dcf 5618
c8655f75
SA
56192014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5620
5621 * gdb.base/vla-datatypes.c: New file.
5622 * gdb.base/vla-datatypes.exp: New file.
5623
024e13b4
SA
56242014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5625
5626 * gdb.base/vla-ptr.c: New file.
5627 * gdb.base/vla-ptr.exp: New file.
5628
1a237e0e
SA
56292014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5630
5631 * gdb.base/vla-multi.c: New file.
5632 * gdb.base/vla-multi.exp: New file.
5633
504f3432
SA
56342014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5635
5636 * gdb.dwarf2/count.exp: New file.
5637
3bce8237
SA
56382014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5639
191a8a90
JB
5640 * gdb.base/vla-sideeffect.c: New file.
5641 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 5642
322f9c21
YQ
56432014-04-11 Yao Qi <yao@codesourcery.com>
5644
5645 * gdb.base/completion.exp: Check file exists before running tests
5646 on file completion.
5647
d708bcd1
PA
56482014-04-10 Pedro Alves <palves@redhat.com>
5649
5650 * gdb.base/cond-eval-mode.c: New file.
5651 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
5652 prepare_for_testing to build the new file. Check result of
5653 runto_main.
5654 (test_break, test_watch): New procedures.
5655 (top level): Use them.
5656
ae1d2761
PM
56572014-04-08 Pierre Muller <muller@sourceware.org>
5658
5659 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
5660 Ctrl-V use for mingw hosts.
5661
7af389b8
SC
56622014-04-07 Siva Chandra Reddy <sivachandra@google.com>
5663
5664 * gdb.python/py-value.c: Improve test case.
5665 * gdb.python/py-value.exp: Add new test.
5666
5e703181
DE
56672014-04-07 David Blaikie <dblaikie@gmail.com>
5668
5669 * lib/compiler.c: Identify the clang compiler.
5670 * lib/compiler.cc: Ditto.
5671
9810b410
YQ
56722014-04-03 Yao Qi <yao@codesourcery.com>
5673
5674 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
5675
98d1b8dc
AB
56762014-04-01 Anton Blanchard <anton@samba.org>
5677
5678 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
5679 messages unique.
5680
3114cea1
AB
56812014-04-01 Anton Blanchard <anton@samba.org>
5682
5683 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
5684 prepare_for_testing.
5685
62f7182c
AB
56862014-04-01 Anton Blanchard <anton@samba.org>
5687
5688 * gdb.arch/ppc64-atomic-inst.c: Remove.
5689 * gdb.arch/ppc64-atomic-inst.S: New file.
5690 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
5691
770e7fc7
DE
56922014-03-31 Doug Evans <dje@google.com>
5693
5694 * gdb.base/print-symbol-loading-lib.c: New file.
5695 * gdb.base/print-symbol-loading-main.c: New file.
5696 * gdb.base/print-symbol-loading.exp: New file.
5697
46e2bafa
YQ
56982014-03-31 Yao Qi <yao@codesourcery.com>
5699
5700 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
5701
8776cfe9
JB
57022014-03-28 Joel Brobecker <brobecker@adacore.com>
5703
5704 * gdb.ada/mi_dyn_arr: New testcase.
5705
5d1ef361
DE
57062014-03-27 Doug Evans <dje@google.com>
5707
5708 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
5709
b5bee914
YQ
57102014-03-27 Yao Qi <yao@codesourcery.com>
5711
5712 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
5713 if target is nios2-*-*.
5714
0d4d0e77
YQ
57152014-03-26 Yao Qi <yao@codesourcery.com>
5716
5717 * lib/gdb.exp (readline_is_used): New proc.
5718 * gdb.base/completion.exp: Move tests on command complete up.
5719 Skip the rest of tests if readline is not used.
5720 * gdb.ada/complete.exp: Skp the test if readline is not
5721 used.
5722 * gdb.base/filesym.exp: Likewise.
5723 * gdb.base/macscp.exp: Likewise.
5724 * gdb.base/readline-ask.exp: Likewise.
5725 * gdb.base/readline.exp: Likewise.
5726 * gdb.python/py-cmd.exp: Likewise.
5727 * gdb.trace/tfile.exp: Likewise.
5728
29361eee
YQ
57292014-03-26 Yao Qi <yao@codesourcery.com>
5730
5731 * gdb.base/macscp.exp: Fix code format issues.
5732
bc9a5525
UW
57332014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
5734
5735 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
5736 * gdb.asm/powerpc64le.inc: New file.
5737
d3839ede
PA
57382014-03-25 Pedro Alves <palves@redhat.com>
5739 Doug Evans <dje@google.com>
5740
5741 * gdb.base/source-execution.c: New file.
5742 * gdb.base/source-execution.exp: New file.
5743 * gdb.base/source-execution.gdb: New file.
5744
01672a57
DE
57452014-03-24 Doug Evans <dje@google.com>
5746
5747 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
5748 using fission.
5749
88bbeca9
HZ
57502014-03-24 Hui Zhu <hui@codesourcery.com>
5751 Pedro Alves <palves@redhat.com>
5752
5753 PR breakpoints/16101
5754 * gdb.base/dprintf.exp: Use unsupported rather than changing the
5755 test pass/fail messages. Detect missing support for dprintf when
5756 breakpoints are actually inserted.
5757 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
5758 breakpoints are actually inserted.
5759 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
5760 fails.
5761
d2348791
JK
57622014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5763
5764 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
5765
feef67ab
DE
57662014-03-22 Doug Evans <xdje42@gmail.com>
5767
5768 * gdb.python/python.exp (python not supported): Verify multi-line
5769 python command issues an error.
25d743f9 5770 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 5771 guile command issues an error.
feef67ab 5772
ecebef6a
MR
57732014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
5774
5775 * gdb.threads/thread-specific.exp: Handle the lack of usable
5776 $this_breakpoint and $this_thread.
5777
ccdd1909
HZ
57782014-03-21 Hui Zhu <hui@codesourcery.com>
5779
5780 * gdb.base/attach.exp (do_command_attach_tests): New.
5781
beb460e8
PA
57822014-03-20 Tom Tromey <tromey@redhat.com>
5783 Pedro Alves <palves@redhat.com>
5784
5785 PR cli/15718
5786 * gdb.base/condbreak-call-false.c: New file.
5787 * gdb.base/condbreak-call-false.exp: New file.
5788
40acf43a
PA
57892014-03-20 Pedro Alves <palves@redhat.com>
5790
5791 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
5792 Delete.
5793 (block_signals, unblock_signals): Delete.
5794 (child_function_2, main): Remove references to deleted variable
5795 and functions.
5796
9f5e1e02
PA
57972014-03-20 Pedro Alves <palves@redhat.com>
5798
5799 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
5800 Use pthread_kill to signal thread 2.
5801 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5802 Adjust to make the test send itself a signal rather than using the
5803 host's "kill" command.
5804
99619bea
PA
58052014-03-20 Pedro Alves <palves@redhat.com>
5806
5807 * gdb.threads/multiple-step-overs.c: New file.
5808 * gdb.threads/multiple-step-overs.exp: New file.
5809 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5810 Adjust expected infrun debug output.
5811
2adfaa28
PA
58122014-03-20 Pedro Alves <palves@redhat.com>
5813
5814 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
5815 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
5816
31e77af2
PA
58172014-03-20 Pedro Alves <palves@redhat.com>
5818
5819 PR breakpoints/7143
5820 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
5821 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
5822 of gdb_test_multiple.
5823 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
5824 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
5825
b9f437de
PA
58262014-03-20 Pedro Alves <palves@redhat.com>
5827
5828 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
5829 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
5830
05adc73e
PA
58312014-03-19 Pedro Alves <palves@redhat.com>
5832
5833 * gdb.base/async.exp: Remove early return.
5834
6048b950
PA
58352014-03-19 Pedro Alves <palves@redhat.com>
5836
5837 * gdb.base/async.exp (step& tests): Pass explicit test messages.
5838
8bcfb00a
PA
58392014-03-19 Pedro Alves <palves@redhat.com>
5840
5841 * gdb.base/async.exp (test_background): Expect \r\n after
5842 "completed." in the fail pattern.
5843
884e37dc
PA
58442014-03-19 Pedro Alves <palves@redhat.com>
5845
5846 * gdb.base/async.exp (test_background): New procedure.
5847 Use it for all background execution command tests.
5848
148e57e2
PA
58492014-03-19 Pedro Alves <palves@redhat.com>
5850
5851 * gdb.base/async.exp: Use prepare_for_testing.
5852
f48088c7
PA
58532014-03-19 Pedro Alves <palves@redhat.com>
5854
5855 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
5856 the same line.
5857
e2f6c966
PA
58582014-03-19 Pedro Alves <palves@redhat.com>
5859
5860 * gdb.base/async.c (main): Add "jump here" and "until here" line
5861 marker comments.
5862 * gdb.base/async.exp (jump_here): New global.
5863 (jump& test): Use it.
5864 (until_here): New global.
5865 (until& test): Use it.
5866
c30568d4
PA
58672014-03-19 Pedro Alves <palves@redhat.com>
5868
5869 * gdb.base/async.exp: Don't frob gdb_protocol.
5870
0172b6a7
DE
58712014-03-18 Doug Evans <xdje42@gmail.com>
5872
5873 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
5874 Fix spelling of exec-done-display.
5875
06c868a8
JK
58762014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5877
5878 PR gdb/15358
5879 * gdb.base/gdb-sigterm.c: New file.
5880 * gdb.base/gdb-sigterm.exp: New file.
5881
0c7e1a46
PA
58822014-03-18 Pedro Alves <palves@redhat.com>
5883
5884 PR gdb/13860
5885 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
5886 * lib/mi-support.exp (mi_expect_stop): Add special handling for
5887 solib-event.
5888
f7c77d93
JB
58892014-03-17 Joel Brobecker <brobecker@adacore.com>
5890
5891 * gdb.ada/pckd_arr_ren: New testcase.
5892
5a1e8c7a
DE
58932014-03-13 Doug Evans <xdje42@gmail.com>
5894
5895 PR guile/16612
5896 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
5897 collect after discarding symbols.
5898
350e1a76
DE
58992014-03-13 Ludovic Courtès <ludo@gnu.org>
5900 Doug Evans <xdje42@gmail.com>
5901
5902 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
5903 to history survives a gc.
5904
a69900ae
PA
59052014-03-13 Pedro Alves <palves@redhat.com>
5906
5907 * gdb.base/default.exp: Don't test "target procfs".
5908
5db9f0bd
PA
59092014-03-13 Pedro Alves <palves@redhat.com>
5910
5911 * gdb.base/default.exp: Update "target child" and "target procfs"
5912 tests to not expect "Unix".
5913
b3ccfe11
TT
59142014-03-12 Tom Tromey <tromey@redhat.com>
5915
5916 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
5917 New procs. Add target-async tests.
5918 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
5919 Add target-async tests.
5920
646f4417
AA
59212014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5922
5923 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
5924 'func_start' and 'func_end' for the beginning and end of the
5925 function code, respectively.
5926 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
5927 'func_end' instead of 'func' and 'main'.
5928
288c211f
AA
59292014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5930
5931 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
5932 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
5933 generate the debug info assembler source.
5934
e0c0f156
AA
59352014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5936
5937 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
5938 * gdb.dwarf2/arr-subrange.exp: Likewise.
5939 * gdb.dwarf2/dwz.exp: Likewise.
5940 * gdb.dwarf2/method-ptr.exp: Likewise.
5941 * gdb.dwarf2/missing-sig-type.exp: Likewise.
5942 * gdb.dwarf2/subrange.exp: Likewise.
5943 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
5944 * gdb.dwarf2/implptrpiece.exp: Likewise.
5945 * gdb.dwarf2/nostaticblock.exp: Likewise.
5946
0e5c4555
AA
59472014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5948
5949 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
5950 directory to absolute path name arguments.
5951
5ec18f2b
JG
59522014-03-10 Joel Brobecker <brobecker@adacore.com>
5953
5954 * gdb.ada/tagged_access: New testcase.
5955
847fc4f2
MM
59562014-03-07 Markus Metzger <markus.t.metzger@intel.com>
5957
5958 * gdb.btrace/data.exp: Update expected output.
5959
cc3da688
YQ
59602014-03-06 Yao Qi <yao@codesourcery.com>
5961
5962 * gdb.trace/pr16508.exp: New file.
5963
0f26cec1
PA
59642014-03-05 Pedro Alves <palves@redhat.com>
5965
5966 PR gdb/16575
5967 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
5968 procedure.
5969 (top level): Adjust to use it. Add tests that exercise breakpoint
5970 interaction with the code-cache.
5971
7a5a839f
LC
59722014-02-26 Ludovic Courtès <ludo@gnu.org>
5973
5974 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
5975 test for 'history-append!'.
5976
31aa7e4e
JB
59772014-02-26 Joel Brobecker <brobecker@adacore.com>
5978
5979 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
5980 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
5981 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
5982 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
5983 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
5984 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
5985
1b588015
JB
59862014-02-26 Joel Brobecker <brobecker@adacore.com>
5987
5988 * testsuite/gdb.python/py-pp-re-notag.c: New file.
5989 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
5990 * testsuite/gdb.python/py-pp-re-notag.p: New file.
5991
55426c9d
JB
59922014-02-26 Joel Brobecker <brobecker@adacore.com>
5993
5994 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
5995
dc53a7ad
JB
59962014-02-26 Joel Brobecker <brobecker@adacore.com>
5997
5998 * gdb.dwarf2/arr-stride.c: New file.
5999 * gdb.dwarf2/arr-stride.exp: New file.
6000
12ab52e9
PA
60012014-02-26 Pedro Alves <palves@redhat.com>
6002
6003 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
6004 that won't ever trigger. Make sure that GDB reports the correct
6005 breakpoint that caused the stop.
6006
849c862e
JK
60072014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6008
6009 PR gdb/16626
6010 * gdb.base/auto-load-script: New file.
6011 * gdb.base/auto-load.c: New file.
6012 * gdb.base/auto-load.exp: New file.
6013
71b7d793
JK
6014 PR gdb/16626
6015 * gdb.base/auto-load.exp: Fix out-of-srctree run.
6016
e2f0d509
JK
60172014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6018
6019 Fix dw2-icycle.exp -fsanitize=address GDB crash.
6020 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
6021
50cc37c8
DE
60222014-02-24 Doug Evans <dje@google.com>
6023
6024 * lib/gdb.exp (run_on_host): Log error output if program fails.
6025
ea4758f2
PA
60262014-02-21 Pedro Alves <palves@redhat.com>
6027
6028 * gdb.threads/step-after-sr-lock.c: Rename to ...
6029 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
6030 * gdb.threads/step-after-sr-lock.exp: Rename to ...
6031 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6032 ... this.
6033
d7b30f67
SDJ
60342014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
6035
6036 PR tdep/16397
6037 * gdb.arch/amd64-stap-special-operands.exp: New file.
6038 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
6039 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
6040 * gdb.arch/amd64-stap-triplet.S: Likewise.
6041 * gdb.arch/amd64-stap-triplet.c: Likewise.
6042
83deb43f
JB
60432014-02-20 Joel Brobecker <brobecker@adacore.com>
6044
6045 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
6046 in .section pseudo-op.
6047
adde2bff
DE
60482014-02-20 lin zuojian <manjian2006@gmail.com>
6049 Joel Brobecker <brobecker@adacore.com>
6050 Doug Evans <xdje42@gmail.com>
6051
6052 PR symtab/16581
6053 * gdb.dwarf2/dw2-icycle.S: New file.
6054 * gdb.dwarf2/dw2-icycle.c: New file.
6055 * gdb.dwarf2/dw2-icycle.exp: New file.
6056
f7bd0f78
SC
60572014-02-19 Siva Chandra Reddy <sivachandra@google.com>
6058
6059 * gdb.python/py-value-cc.cc: Improve test case to enable testing
6060 operations on gdb.Value objects.
6061 * gdb.python/py-value-cc.exp: Add new test to test operations on
6062 gdb.Value objects.
6063
c17ef0d5
DE
60642014-02-18 Doug Evans <dje@google.com>
6065
6066 * Makefile.in (TESTS): New variable.
6067 (expanded_tests, expanded_tests_or_none): New variables
6068 (check-single): Pass $(expanded_tests_or_none) to runtest.
6069 (check-parallel): Only run tests in $(TESTS) if non-empty.
6070 (check/no-matching-tests-found): New rule.
6071 * README: Document TESTS makefile variable.
6072
5dd3176f
DE
60732014-02-18 Doug Evans <dje@google.com>
6074
6075 * Makefile.in (check-parallel): rm -rf outputs temp.
6076
0b10be4f
JK
60772014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6078
6079 Fix "ERROR: no fileid for" in the testsuite.
6080 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
6081
85f224e7
DE
60822014-02-12 Doug Evans <dje@google.com>
6083
6084 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
6085 (MISCELLANEOUS): New variable.
6086 (clean): rm -rf $(MISCELLANEOUS).
6087 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
6088 dwp live in the same directory as symlinks, with each symlink pointed
6089 to a differently named file in a different directory.
6090
149b30ff
DE
60912014-02-11 Doug Evans <dje@google.com>
6092
6093 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
6094 of Tcl file commands.
6095
1dfdac32
MK
60962014-02-10 Mark Kettenis <kettenis@gnu.org>
6097
6098 * gdb.threads/step-after-sr-lock.exp: Avoid executing
6099 "kill -SIGUSR1 -1".
6100
aa4fb036
JB
61012014-02-10 Joel Brobecker <brobecker@adacore.com>
6102
6103 * gdb.ada/tick_length_array_enum_idx: New testcase.
6104
ed3ef339
DE
61052014-02-10 Doug Evans <xdje42@gmail.com>
6106
6107 * configure.ac (AC_OUTPUT): Add gdb.guile.
6108 * configure: Regenerate.
6109 * lib/gdb-guile.exp: New file.
6110 * lib/gdb.exp (get_target_charset): New function.
6111 * gdb.base/help.exp: Update expected output from "apropos apropos".
6112 * gdb.guile/Makefile.in: New file.
6113 * gdb.guile/guile.exp: New file.
6114 * gdb.guile/scm-arch.c: New file.
6115 * gdb.guile/scm-arch.exp: New file.
6116 * gdb.guile/scm-block.c: New file.
6117 * gdb.guile/scm-block.exp: New file.
6118 * gdb.guile/scm-breakpoint.c: New file.
6119 * gdb.guile/scm-breakpoint.exp: New file.
6120 * gdb.guile/scm-disasm.c: New file.
6121 * gdb.guile/scm-disasm.exp: New file.
6122 * gdb.guile/scm-equal.c: New file.
6123 * gdb.guile/scm-equal.exp: New file.
6124 * gdb.guile/scm-error.exp: New file.
6125 * gdb.guile/scm-error.scm: New file.
6126 * gdb.guile/scm-frame-args.c: New file.
6127 * gdb.guile/scm-frame-args.exp: New file.
6128 * gdb.guile/scm-frame-args.scm: New file.
6129 * gdb.guile/scm-frame-inline.c: New file.
6130 * gdb.guile/scm-frame-inline.exp: New file.
6131 * gdb.guile/scm-frame.c: New file.
6132 * gdb.guile/scm-frame.exp: New file.
6133 * gdb.guile/scm-generics.exp: New file.
6134 * gdb.guile/scm-gsmob.exp: New file.
6135 * gdb.guile/scm-iterator.c: New file.
6136 * gdb.guile/scm-iterator.exp: New file.
6137 * gdb.guile/scm-math.c: New file.
6138 * gdb.guile/scm-math.exp: New file.
6139 * gdb.guile/scm-objfile-script-gdb.in: New file.
6140 * gdb.guile/scm-objfile-script.c: New file.
6141 * gdb.guile/scm-objfile-script.exp: New file.
6142 * gdb.guile/scm-objfile.c: New file.
6143 * gdb.guile/scm-objfile.exp: New file.
6144 * gdb.guile/scm-ports.exp: New file.
6145 * gdb.guile/scm-pretty-print.c: New file.
6146 * gdb.guile/scm-pretty-print.exp: New file.
6147 * gdb.guile/scm-pretty-print.scm: New file.
6148 * gdb.guile/scm-section-script.c: New file.
6149 * gdb.guile/scm-section-script.exp: New file.
6150 * gdb.guile/scm-section-script.scm: New file.
6151 * gdb.guile/scm-symbol.c: New file.
6152 * gdb.guile/scm-symbol.exp: New file.
6153 * gdb.guile/scm-symtab-2.c: New file.
6154 * gdb.guile/scm-symtab.c: New file.
6155 * gdb.guile/scm-symtab.exp: New file.
6156 * gdb.guile/scm-type.c: New file.
6157 * gdb.guile/scm-type.exp: New file.
6158 * gdb.guile/scm-value-cc.cc: New file.
6159 * gdb.guile/scm-value-cc.exp: New file.
6160 * gdb.guile/scm-value.c: New file.
6161 * gdb.guile/scm-value.exp: New file.
6162 * gdb.guile/source2.scm: New file.
6163 * gdb.guile/types-module.cc: New file.
6164 * gdb.guile/types-module.exp: New file.
6165
7026a7c1
YQ
61662014-02-10 Yao Qi <yao@codesourcery.com>
6167
6168 PR testsuite/16543
6169 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
6170 * configure: Regenerated.
6171 * Makefile.in: New file.
6172
6c466447
AS
61732014-02-08 Andreas Schwab <schwab@linux-m68k.org>
6174
6175 * gdb.python/py-framefilter.exp: Fix typo.
6176
6e854735
YQ
61772014-02-08 Yao Qi <yao@codesourcery.com>
6178
6179 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
6180 that no =breakpoint-modified is emitted when breakpoints are
6181 modified through MI commands.
6182
d137e6dc
PA
61832014-02-07 Pedro Alves <pedro@codesourcery.com>
6184 Pedro Alves <palves@redhat.com>
6185
6186 * gdb.threads/step-after-sr-lock.c: New file.
6187 * gdb.threads/step-after-sr-lock.exp: New file.
6188
b5ee5a50
PA
61892014-02-07 Pedro Alves <palves@redhat.com>
6190
6191 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
6192
3c77faf3
JK
61932014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6194
6195 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
6196 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
6197
6dddc817
DE
61982014-02-06 Doug Evans <xdje42@gmail.com>
6199
6200 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
6201 output.
6202
6203 * gdb.gdb/python-interrupts.exp: New file.
6204
de7b2893
YQ
62052014-02-05 Yao Qi <yao@codesourcery.com>
6206
6207 * gdb.trace/report.exp (use_collected_data): Test the output
6208 of "info threads" and "info inferiors".
6209
66d032ac
YQ
62102014-02-05 Yao Qi <yao@codesourcery.com>
6211
6212 Revert this patch:
6213
6214 2013-05-24 Yao Qi <yao@codesourcery.com>
6215
6216 * gdb.trace/tfile.exp: Test inferior and thread.
6217
591a12a1
UW
62182014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6219
6220 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
6221 on a function.
6222 * gdb.base/step-bt.c: Call hello via function pointer to make
6223 sure its first instruction is executed on powerpc64le-linux.
6224
0ff3e01f
UW
62252014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6226
6227 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
6228
084ee545
UW
62292014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6230
6231 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
6232 of the test patterns for use on little-endian systems.
6233
6ed14ff3
UW
62342014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6235
6236 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
6237 (decimal_vector): Fix for little-endian.
6238
401e27fd
JM
62392014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
6240
6241 * gdb.arch/sparc-sysstep.exp: New file.
6242 * gdb.arch/sparc-sysstep.c: Likewise.
6243
6244 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
6245
8b924729
EBM
62462014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6247
6248 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
6249
fb151210
JB
62502014-01-23 Tom Tromey <tromey@redhat.com>
6251
6252 * gdb.ada/array_char_idx: New testcase.
6253
0740f8d8
TT
62542014-01-23 Tom Tromey <tromey@redhat.com>
6255
6256 PR python/16487:
6257 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
6258 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
6259 classes.
6260
21909fa1
TT
62612014-01-23 Tom Tromey <tromey@redhat.com>
6262
6263 PR python/16491:
6264 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
6265 string from an inferior frame.
6266 * gdb.python/py-framefilter-mi.exp: Update.
6267
87ce2a04
DE
62682014-01-22 Doug Evans <dje@google.com>
6269
6270 * gdb.server/server-mon.exp: Add tests for "set debug-format".
6271
237b092b
AA
62722014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6273
6274 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
6275
d674a709
AA
62762014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6277
6278 * gdb.trace/entry-values.exp: Remove excess space character from
6279 regex patterns. Handle s390 call instruction.
6280
20fa3390
AA
62812014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6282
6283 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
6284 define "*_start" label. Make "name" static.
6285 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
6286 ${name} by references to ${name}_start.
6287
78466714
AA
62882014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6289
6290 * gdb.base/info-macros.exp: Remove "debug" from the compile
6291 options.
6292
ec9f644a
IB
62932014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6294
6295 * gdb.dlang/demangle.exp: New file.
6296
94b1b47e
IB
62972014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6298
6299 * gdb.dlang/primitive-types.exp: New file.
6300
7f420862
IB
63012014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6302
6303 * configure.ac: Create gdb.dlang/Makefile.
6304 * configure: Regenerate.
6305 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
6306 * gdb.dlang/Makefile.in: New file.
6307 * lib/d-support.exp: New file.
6308 * lib/gdb.exp (skip_d_tests): New proc.
6309
52834460
MM
63102014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6311
6312 * gdb.btrace/delta.exp: Check reverse stepi.
6313 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
6314 * gdb.btrace/finish.exp: New.
6315 * gdb.btrace/next.exp: New.
6316 * gdb.btrace/nexti.exp: New.
6317 * gdb.btrace/record_goto.c: Add comments.
6318 * gdb.btrace/step.exp: New.
6319 * gdb.btrace/stepi.exp: New.
6320 * gdb.btrace/multi-thread-step.c: New.
6321 * gdb.btrace/multi-thread-step.exp: New.
6322 * gdb.btrace/rn-dl-bind.c: New.
6323 * gdb.btrace/rn-dl-bind.exp: New.
6324 * gdb.btrace/data.c: New.
6325 * gdb.btrace/data.exp: New.
6326 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
6327
6e07b1d2
MM
63282014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6329
6330 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
6331 * gdb.btrace/exception.exp: Update.
6332 * gdb.btrace/instruction_history.exp: Update.
6333 * gdb.btrace/record_goto.exp: Update.
6334 * gdb.btrace/tailcall.exp: Update.
6335 * gdb.btrace/unknown_functions.exp: Update.
6336 * gdb.btrace/delta.exp: New.
6337
0b722aec
MM
63382014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6339
6340 * gdb.btrace/record_goto.exp: Add backtrace test.
6341 * gdb.btrace/tailcall.exp: Add backtrace test.
6342
066ce621
MM
63432014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6344
6345 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
6346 * gdb.btrace/record_goto.c: New.
6347 * gdb.btrace/record_goto.exp: New.
6348 * gdb.btrace/x86-record_goto.S: New.
6349
0688d04e
MM
63502014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6351
6352 * gdb.btrace/function_call_history.exp: Update tests.
6353 * gdb.btrace/instruction_history.exp: Update tests.
6354
8710b709
MM
63552014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6356
6357 * gdb.btrace/function_call_history.exp: Fix expected field
6358 order for "record function-call-history".
6359 Add new tests for "record function-call-history /c".
6360 * gdb.btrace/exception.cc: New.
6361 * gdb.btrace/exception.exp: New.
6362 * gdb.btrace/tailcall.exp: New.
6363 * gdb.btrace/x86-tailcall.S: New.
6364 * gdb.btrace/x86-tailcall.c: New.
6365 * gdb.btrace/unknown_functions.c: New.
6366 * gdb.btrace/unknown_functions.exp: New.
6367 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
6368
5de9129b
MM
63692014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6370
6371 * gdb.btrace/instruction_history.exp: Update.
6372 * gdb.btrace/function_call_history.exp: Update.
6373
23a7fe75
MM
63742014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6375
6376 * gdb.btrace/function_call_history.exp: Fix expected function
6377 trace.
6378 * gdb.btrace/instruction_history.exp: Initialize traced.
6379 Remove traced_functions.
6380
724c7dd8
MM
63812014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6382
6383 * gdb.btrace/function_call_history.exp: Update
6384 * gdb.btrace/instruction_history.exp: Update.
6385
6d78d93b
MM
63862014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6387
6388 * gdb.btrace/enable.exp: Update expected text.
6389
93a360cc
OJ
63902014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
6391
6392 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
6393 bytes.
6394
3772b53f
MR
63952014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
6396
6397 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
6398
596662fa
OJ
63992014-01-15 Omair Javaid <omair.javaid@linaro.org>
6400
6401 * lib/gdb.exp (supports_process_record): Return true for
6402 arm*-linux*. (supports_reverse): Likewise.
6403
b5b08fb4
SC
64042014-01-13 Siva Chandra Reddy <sivachandra@google.com>
6405
6406 PR python/15464
6407 PR python/16113
6408 * gdb.python/py-type.c: Enhance test case.
6409 * gdb.python/py-value-cc.cc: Likewise
6410 * gdb.python/py-type.exp: Add new tests.
6411 * gdb.python/py-value-cc.exp: Likewise
6412
52d7fb13
AA
64132014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
6414 Pedro Alves <palves@redhat.com>
6415
6416 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
6417 Make "name" extern.
6418 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
6419 references to ${name}_start by references to ${name}.
6420
a2cd8cfe
JB
64212014-01-10 Joel Brobecker <brobecker@adacore.com>
6422
6423 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
6424
4e23fced
JB
64252014-01-10 Joel Brobecker <brobecker@adacore.com>
6426
6427 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
6428
c6a9e42c
PA
64292014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
6430 Pedro Alves <palves@redhat.com>
6431
6432 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 6433 mi_gdb_target_load.
c6a9e42c 6434
b7ea362b
PA
64352014-01-08 Pedro Alves <palves@redhat.com>
6436
6437 * gdb.threads/reconnect-signal.c: New file.
6438 * gdb.threads/reconnect-signal.exp: New file.
6439
5e3f4fab
EBM
64402014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6441
6442 * gdb.base/source-dir.exp: New file.
6443
79301218
JB
64442014-01-07 Joel Brobecker <brobecker@adacore.com>
6445
6446 * gdb.ada/mi_interface: New testcase.
6447
8e355c5d
JB
64482014-01-07 Joel Brobecker <brobecker@adacore.com>
6449
6450 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
6451 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
6452 gdb.ada/pp-rec-component/pck.ads: New files.
6453
c0d48811
JB
64542014-01-07 Joel Brobecker <brobecker@adacore.com>
6455
6456 * gdb.python/py-pp-integral.c: New file.
6457 * gdb.python/py-pp-integral.py: New file.
6458 * gdb.python/py-pp-integral.exp: New file.
6459
17b609c3 6460For older changes see ChangeLog-1993-2013.
c906108c 6461\f
8d8cb839
EZ
6462;; Local Variables:
6463;; mode: change-log
6464;; left-margin: 8
6465;; fill-column: 74
6466;; version-control: never
6467;; End:
902f2ccb 6468
32d0add0 6469 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
6470 Copying and distribution of this file, with or without modification,
6471 are permitted provided the copyright notice and this notice are preserved.
This page took 3.120438 seconds and 4 git commands to generate.