gdb/testsuite/gdb.trace: Deduplicate pcreg/spreg/fpreg.
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
6e7675a7
MK
12015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2
3 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
4 in front.
5 * gdb.trace/change-loc.exp: Use global pcreg definition.
6 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
7 * gdb.trace/entry-values.exp: Use global spreg definition, add $
8 in front.
9 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
10 * gdb.trace/pending.exp: Likewise.
11 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
12 * gdb.trace/trace-break.exp: Likewise.
13 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
14 in front.
15 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
16 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
17 in front.
18 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
19
dddc0e16
JB
202015-11-09 Joel Brobecker <brobecker@adacore.com>
21
22 * gdb.ada/fin_fun_out: New testcase.
23
c6f0b406
KB
242015-11-07 Kevin Buettner <kevinb@redhat.com>
25
26 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
27 value associated with DW_AT_byte_size.
28 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
29 constants for DW_AT_byte_size, DW_AT_lower_bound, and
30 DW_AT_upper_bound.
31
f01dcfd9
KB
322015-11-07 Kevin Buettner <kevinb@redhat.com>
33
34 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
35 (gdb_target_symbol_prefix_flags): Define in terms of _asm
36 version.
37 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
38 gdb.dwarf2/dw2-canonicalize-type.exp,
39 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
40 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
41 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
42 provided by gdb_target_symbol_prefix_flags_asm.
43 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
44 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
45 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
46 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
47 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
48 macros where needed). Use this macro for symbols which require
49 the prefix provided by SYMBOL_PREFIX.
50
2223449a
KB
512015-11-05 Kevin Buettner <kevinb@redhat.com>
52
53 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
54 New procs.
55 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
56 representing expressions, of more than one list element.
57 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
58 to prepend linker symbol prefix to f.
59 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
60 table_1 and table_2.
61 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
62 Likewise, for f and g.
63 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
64 for ptr.
65 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
66 for main.
67 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
68 table_1_ptr and table_2_ptr.
69
6f2f1a3a
JK
702015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
71 Joel Brobecker <brobecker@adacore.com>
72
73 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
74
566c56c9
MK
752015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
76
77 * gdb.reverse/s390-mvcle.c: New test.
78 * gdb.reverse/s390-mvcle.exp: New file.
79 * lib/gdb.exp: Enable reverse tests on s390*-linux.
80
d5f0636b
MK
812015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
82
83 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
84
7ad8b86c
MK
852015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
86
87 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
88 reaching marker2.
89 * gdb.reverse/getresuid-reverse.exp: Likewise.
90 * gdb.reverse/pipe-reverse.exp: Likewise.
91 * gdb.reverse/readv-reverse.exp: Likewise.
92 * gdb.reverse/recvmsg-reverse.exp: Likewise.
93 * gdb.reverse/time-reverse.exp: Likewise.
94 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
95
4081c0f1
YQ
962015-10-30 Yao Qi <yao.qi@linaro.org>
97
98 * gdb.threads/wp-replication.c (watch_count_done): Remove.
99 (empty_cycle): Remove.
100 (main): Don't call empty_cycle. Don't use watch_count_done.
101 * gdb.threads/wp-replication.exp: Don't set breakpoint on
102 empty_cycle. Rewrite the code counting HW watchpoints.
103
452b4ba5
MK
1042015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
105
106 * gdb.reverse/fstatat-reverse.c: New test.
107 * gdb.reverse/fstatat-reverse.exp: New file.
108 * gdb.reverse/getresuid-reverse.c: New test.
109 * gdb.reverse/getresuid-reverse.exp: New file.
110 * gdb.reverse/pipe-reverse.c: New test.
111 * gdb.reverse/pipe-reverse.exp: New file.
112 * gdb.reverse/readv-reverse.c: New test.
113 * gdb.reverse/readv-reverse.exp: New file.
114 * gdb.reverse/recvmsg-reverse.c: New test.
115 * gdb.reverse/recvmsg-reverse.exp: New file.
116 * gdb.reverse/time-reverse.c: New test.
117 * gdb.reverse/time-reverse.exp: New file.
118 * gdb.reverse/waitpid-reverse.c: New test.
119 * gdb.reverse/waitpid-reverse.exp: New file.
120
5e2e7507
JK
1212015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
122
123 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
124
0fde2c53
DE
1252015-10-26 Doug Evans <dje@google.com>
126
127 PR symtab/17391
128 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
129 * gdb.dwarf2/bad-regnum.c: New file.
130 * gdb.dwarf2/bad-regnum.exp: New file.
131
1a70ae97
DE
1322015-10-26 Doug Evans <dje@google.com>
133
134 PR python/18938
135 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
136 file.
137
27dc26ab
JK
1382015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
139
140 * gdb.compile/compile.exp (compile code globalvar): Update expectation
141 for a change by "Mention language in compile error message".
142
bed91f4d
SM
1432015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
144
145 PR python/18073
146 * gdb.python/py-type.c (C::a_method): New.
147 (C::a_const_method): New.
148 (C::a_static_method): New.
149 (a_function): New.
150 * gdb.python/py-type.exp (test_fields): Test getting fields
151 from function and method.
152
3f2f83dd
KB
1532015-10-21 Keven Boell <keven.boell@intel.com>
154
155 * gdb.fortran/vla-alloc-assoc.exp: New file.
156 * gdb.fortran/vla-datatypes.exp: New file.
157 * gdb.fortran/vla-datatypes.f90: New file.
158 * gdb.fortran/vla-history.exp: New file.
159 * gdb.fortran/vla-ptype-sub.exp: New file.
160 * gdb.fortran/vla-ptype.exp: New file.
161 * gdb.fortran/vla-sizeof.exp: New file.
162 * gdb.fortran/vla-sub.f90: New file.
163 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
164 * gdb.fortran/vla-value-sub-finish.exp: New file.
165 * gdb.fortran/vla-value-sub.exp: New file.
166 * gdb.fortran/vla-value.exp: New file.
167 * gdb.fortran/vla-ptr-info.exp: New file.
168 * gdb.mi/mi-vla-fortran.exp: New file.
169 * gdb.mi/vla.f90: New file.
170
27145d50
SL
1712015-10-21 Sandra Loosemore <sandra@codesourcery.com>
172
173 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
174 of hardwired timeout value.
175
5f3ff4f8
JK
1762015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
177 Pedro Alves <palves@redhat.com>
178
179 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
180 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
181
bfd09d20
JS
1822015-10-19 Josh Stone <jistone@redhat.com>
183
184 * gdb.base/catch-syscall.c: Include <sched.h>.
185 (unknown_syscall): New variable.
186 (main): Trigger a vfork and an unknown syscall.
187 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
188 (unknown_syscall_number): Likewise.
189 (check_call_to_syscall): Accept an optional syscall pattern.
190 (check_return_from_syscall): Likewise.
191 (check_continue): Likewise.
192 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
193 (test_catch_syscall_skipping_return): New test toggling off 'catch
194 syscall' to step over the syscall return, then toggling back on.
195 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
196 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
197 (do_syscall_tests): Call test_catch_syscall_without_args and
198 test_catch_syscall_mid_vfork.
199 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
200 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
201
b32b93c6
AS
2022015-10-19 Andrew Stubbs <ams@codesourcery.com>
203
204 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
205 print g_vE): Add new pass patterns.
206 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
207 print various symbol names for vptr fields.
208
9d622bda
AB
2092015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
210
211 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
212 results.
213
0fd8ac1c
YQ
2142015-10-12 Yao Qi <yao.qi@linaro.org>
215
216 * gdb.arch/disp-step-insn-reloc.exp: New test case.
217
34240514
YQ
2182015-10-12 Yao Qi <yao.qi@linaro.org>
219
220 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
221 is aarch64*-*-linux*.
222
8240f442
YQ
2232015-10-12 Yao Qi <yao.qi@linaro.org>
224
225 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
226 (can_relocate_bcond_true): ... it.
227 (can_relocate_bcond_false): New function.
228 (foo): Likewise.
229 (can_relocate_bl): Likewise.
230 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
231 can_relocate_bl.
232
2520f728
PMR
2332015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
234
235 * gdb.base/nested-addr.c: New file.
236 * gdb.base/nested-addr.exp: New testcase.
237
abcef95a
MM
2382015-10-09 Markus Metzger <markus.t.metzger@intel.com>
239
240 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
241 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
242 its output. Ignore the output of "record goto begin" and instead
243 check that GDB is replaying.
244
145e3ddb
PA
2452015-10-09 Pedro Alves <palves@redhat.com>
246
247 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
248 (top level): Use it in the run with no args test.
249
d5d8c4e1
IB
2502015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
251
252 * gdb.dlang/properties.exp: New file.
253
06e635ef
SL
2542015-10-02 Sandra Loosemore <sandra@codesourcery.com>
255
256 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
257 whether or not address 0x1000 is mapped on the target.
258
e019fd1d
SM
2592015-09-30 Simon Marchi <simon.marchi@ericsson.com>
260
261 * gdb.python/py-type.exp: Do not run tests if binaries fail to
262 build.
263
77ba2a67
MM
2642015-09-30 Markus Metzger <markus.t.metzger@intel.com>
265
266 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
267 instruction-history test.
268
c60eb31f
DE
2692015-09-28 Doug Evans <dje@google.com>
270
271 * gdb.base/gcore.c (array_func): Add reference to static_array.
272
9a3c8263
SM
2732015-09-25 Simon Marchi <simon.marchi@ericsson.com>
274
275 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
276 source line.
277
9720e656
SL
2782015-09-24 Sandra Loosemore <sandra@codesourcery.com>
279
280 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
281 short or char as base type.
282
938d3bf2
SL
2832015-09-23 Sandra Loosemore <sandra@codesourcery.com>
284
285 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
286 to allow any size enum.
287
e6c2c623
PMR
2882015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
289
290 * gdb.ada/array_ptr_renaming.exp: New testcase.
291 * gdb.ada/array_ptr_renaming/foo.adb: New file.
292 * gdb.ada/array_ptr_renaming/pack.ads: New file.
293
06da0f77
PL
2942015-09-21 Pierre Langlois <pierre.langlois@arm.com>
295
296 * gdb.trace/ftrace-lock.c: New file.
297 * gdb.trace/ftrace-lock.exp: New file.
298
4f51c22a
PL
2992015-09-21 Pierre Langlois <pierre.langlois@arm.com>
300
301 * gdb.arch/insn-reloc.c: New file.
302 * gdb.arch/ftrace-insn-reloc.exp: New file.
303
7041adf4
PL
3042015-09-21 Pierre Langlois <pierre.langlois@arm.com>
305
306 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
307 instruction.
308 * gdb.trace/pendshr1.c (pendfunc): Likewise.
309 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
310 * gdb.trace/range-stepping.c: Likewise.
311 * gdb.trace/trace-break.c: Likewise.
312 * gdb.trace/trace-mt.c (thread_function): Likewise.
313 * gdb.trace/ftrace.c (marker): Likewise.
314 * gdb.trace/trace-condition.c (marker): Likewise.
315 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
316 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
317 is_aarch64_target.
318
015d2e7e
DE
3192015-09-18 Doug Evans <xdje42@gmail.com>
320
321 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
322 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
323
26b188a2
SL
3242015-09-18 Sandra Loosemore <sandra@codesourcery.com>
325
326 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
327 the breakpoint.
328
79dc332b
SL
3292015-09-18 Sandra Loosemore <sandra@codesourcery.com>
330
331 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
332 the pending breakpoint. Remove timeout override for "Run till
333 MI pending breakpoint on pendfunc3 on thread 2" test.
334
f57929f2
SL
3352015-09-18 Sandra Loosemore <sandra@codesourcery.com>
336
337 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
338 filename pattern.
339
3f469b17
SL
3402015-09-18 Sandra Loosemore <sandra@codesourcery.com>
341
342 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
343 in breakpoint filename pattern.
344
515b89b3
SL
3452015-09-18 Sandra Loosemore <sandra@codesourcery.com>
346
7800dbe4
SL
347 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
348
3492015-09-18 Sandra Loosemore <sandra@codesourcery.com>
350
515b89b3
SL
351 * gdb.linespec/explicit.exp: Check for readline support for
352 tab-completion tests. Fix obvious typo.
353
d2939ba2
MM
3542015-09-18 Markus Metzger <markus.t.metzger@intel.com>
355
356 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
357 and replay.
358
cbb55fa7
MM
3592015-09-18 Markus Metzger <markus.t.metzger@intel.com>
360
361 * gdb.btrace/non-stop.c: New.
362 * gdb.btrace/non-stop.exp: New.
363
43691ca1
PL
3642015-09-17 Pierre Langlois <pierre.langlois@arm.com>
365 Yao Qi <yao.qi@linaro.org>
366
367 * gdb.trace/trace-condition.c: New file.
368 * gdb.trace/trace-condition.exp: New file.
369
d78908cf
WW
3702015-09-16 Wei-cheng Wang <cole945@gmail.com>
371
372 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
373 for testing bytecode compilation.
374
1ed415e2
PA
3752015-09-16 Pedro Alves <palves@redhat.com>
376 Sandra Loosemore <sandra@codesourcery.com>
377
378 * gdb.threads/non-stop-fair-events.c (timeout): New global.
379 (SECONDS): Redefine.
380 (main): Call pthread_kill and alarm early.
381 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
382 support.
383 (test): If the target can't hardware step and doesn't support
384 displaced stepping, increase the timeout.
385
d136eff5
PA
3862015-09-16 Pedro Alves <palves@redhat.com>
387
388 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
389 (enable_debug): New procedures.
390 (test): Use them. Bail out if waiting for threads fails.
391 (top level): Bail out if a test fails.
392
991f019c
YQ
3932015-09-16 Yao Qi <yao.qi@linaro.org>
394
395 * gdb.asm/asm-source.exp: Set asm-arch for
396 aarch64*-*-* target.
397 * gdb.asm/aarch64.inc: New file.
398
bfca584f
PMR
3992015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
400
401 * gdb.ada/array_of_variable_length.exp: New testcase.
402 * gdb.ada/array_of_variable_length/foo.adb: New file.
403 * gdb.ada/array_of_variable_length/pck.adb: New file.
404 * gdb.ada/array_of_variable_length/pck.ads: New file.
405
b326e587
DE
4062015-09-15 Doug Evans <dje@google.com>
407
408 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
409 of function static local variable.
410
5382cfab
PW
4112015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
412
413 * gdb.threads/tls-so_extern.exp: New test file.
414 * gdb.threads/tls-so_extern.c: New test file.
415 * gdb.threads/tls-so_extern_main.c: New test file.
416
141c5cc4
JK
4172015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
418
419 * gdb.opt/solib-intra-step-lib.c: New file.
420 * gdb.opt/solib-intra-step-main.c: New file.
421 * gdb.opt/solib-intra-step.exp: New file.
422
d15dcecd
PA
4232015-09-15 Pedro Alves <palves@redhat.com>
424
425 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
426 gdb_continue_to_breakpoint instead of gdb_test_multiple.
427
4c2f2a79
PA
4282015-09-14 Pedro Alves <palves@redhat.com>
429
430 * gdb.base/hook-stop-continue.c: Delete.
431 * gdb.base/hook-stop-continue.exp: Delete.
432 * gdb.base/hook-stop-frame.c: Delete.
433 * gdb.base/hook-stop-frame.exp: Delete.
434 * gdb.base/hook-stop.c: New file.
435 * gdb.base/hook-stop.exp: New file.
436
919e6dbe
PMR
4372015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
438
439 * gdb.ada/access_to_packed_array.exp: New testcase.
440 * gdb.ada/access_to_packed_array/foo.adb: New file.
441 * gdb.ada/access_to_packed_array/pack.adb: New file.
442 * gdb.ada/access_to_packed_array/pack.ads: New file.
443
157280a4
MM
4442015-09-14 Markus Metzger <markus.t.metzger@intel.com>
445
446 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
447 buffer size test.
448
2fd33e94
DB
4492015-09-11 Don Breazeal <donb@codesourcery.com>
450
451 * gdb.base/foll-exec.c: Add copyright header. Fix
452 formatting issues.
453 * gdb.base/foll-exec.exp (zap_session): Delete proc.
454 (do_exec_tests): Use clean_restart in place of zap_session,
455 and for test initialization. Fix formatting issues. Use
456 fail in place of perror.
457 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
458 an expect statement to match an expression with output from
459 the program under debug.
460 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
461 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
462 * gdb.threads/non-ldr-exc-2.exp: Likewise.
463 * gdb.threads/non-ldr-exc-3.exp: Likewise.
464 * gdb.threads/non-ldr-exc-4.exp: Likewise.
465
e70b6e8e
DE
4662015-09-09 Doug Evans <dje@google.com>
467
468 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
469
7a551a51
DE
4702015-09-09 Doug Evans <dje@google.com>
471
472 * gdb.base/pie-execl.exp: Fix result test of build_executable.
473
4c666f84
DE
4742015-09-09 Doug Evans <dje@google.com>
475
476 * gdb.base/savedregs.exp: Fix typo.
477
243a9253
PA
4782015-09-09 Pedro Alves <palves@redhat.com>
479
480 * gdb.mi/mi-cli.exp: Add CLI finish tests.
481
c0fa8fbd
SL
4822015-09-08 Sandra Loosemore <sandra@codesourcery.com>
483
484 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
485 command actually switches threads. Give up on remaining
486 tests if target fails to stop at breakpoint.
487
cd7c1778
PMR
4882015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
489
490 * gdb.ada/funcall_char.exp: New testcase.
491 * gdb.ada/funcall_char/foo.adb: New file.
492
dc5c8746
PMR
4932015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
494
495 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
496 expected outputs. Add two testcases for completing ambiguous
497 functions.
498 * gdb.ada/complete/aux_pck.adb: New file.
499 * gdb.ada/complete/aux_pck.ads: New file.
500 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
501 Ambiguous_Func functions.
502 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
503 * gdb.ada/complete/pck.adb: Likewise.
504
4e83a1e7
UW
5052015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
506
507 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
508 failures to run the test program under GDB.
509
8ce74153
LM
5102015-08-26 Luis Machado <lgustavo@codesourcery.com>
511
512 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
513 to C.
514
e9756d52
PP
5152015-08-26 Patrick Palka <patrick@parcs.ath.cx>
516
517 * gdb.base/run-after-attach.exp: New test file.
518 * gdb.base/run-after-attach.c: New test file.
519
8d37573b
DB
5202015-08-26 Don Breazeal <donb@codesourcery.com>
521
522 * gdb.base/foll-exec-2.c: New test program.
523 * gdb.base/foll-exec-2.exp: New test.
524
63e43d3a
PMR
5252015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
526
527 * gdb.base/nested-subp1.exp: New file.
528 * gdb.base/nested-subp1.c: New file.
529 * gdb.base/nested-subp2.exp: New file.
530 * gdb.base/nested-subp2.c: New file.
531 * gdb.base/nested-subp3.exp: New file.
532 * gdb.base/nested-subp3.c: New file.
533
3d40fbb5
PA
5342015-08-24 Pedro Alves <palves@redhat.com>
535
536 * gdb.server/connect-without-multi-process.c: New file.
537 * gdb.server/connect-without-multi-process.exp: New file.
538
4422ac93
LM
5392015-08-24 Luis Machado <lgustavo@codesourcery.com>
540
541 * gdb.opt/inline-markers.c: Make z int.
542
91dddb86
LM
5432015-08-24 Luis Machado <lgustavo@codesourcery.com>
544
545 * gdb.opt/inline-markers.c: Make z volatile.
546
a48847ee
LM
5472015-08-24 Luis Machado <lgustavo@codesourcery.com>
548
549 * gdb.opt/inline-bt.c: New volatile global z.
550 * gdb.opt/inline-cmds.c: Likewise.
551 * gdb.opt/inline-locals.c: Likewise.
552 * gdb.opt/inline-markers.c: New extern global z.
553 (marker): Use z.
554 (inline_fn): Likewise.
555
0ebbc52b
PA
5562015-08-24 Pedro Alves <palves@redhat.com>
557
558 * config/m32r-stub.exp: Remove file.
559 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
560 * gdb.base/call-rt-st.exp: Likewise.
561 * gdb.base/call-strs.exp: Likewise.
562 * gdb.base/default.exp: Remove references to h8300-*-hms and
563 *-*-udi*.
564 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
565
77c365df
AA
5662015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
567
568 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
569 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
570 and "return" use KFAIL when GDB can not read/write the vector
571 return value.
572
4313b8c0
GB
5732015-08-21 Gary Benson <gbenson@redhat.com>
574
575 * gdb.trace/pending.exp: Cope with remote transfer warnings.
576
0e433b32
PA
5772015-08-20 Pedro Alves <palves@redhat.com>
578
579 * gdb.server/solib-list.exp: No longer expect an interior stop in
580 non-stop mode.
581
221e1a37
PA
5822015-08-20 Pedro Alves <palves@redhat.com>
583
584 * gdb.server/connect-stopped-target.c: New file.
585 * gdb.server/connect-stopped-target.exp: New file.
586
40e3ad0e
PA
5872015-08-20 Pedro Alves <palves@redhat.com>
588
589 * gdb.dwarf2/comp-unit-lang.exp: New file.
590 * gdb.dwarf2/comp-unit-lang.c: New file.
591
af39b327
PMR
5922015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
593
594 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
595 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
596
7d45c7c3
KB
5972015-08-19 Kevin Buettner <kevinb@redhat.com>
598
599 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
600 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
601
4d6cceb4
DE
6022015-08-18 Doug Evans <dje@google.com>
603 Adrian Sendroiu <adrian.sendroiu@freescale.com>
604
605 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
606 skip_python_tests. New arg prompt_regexp.
607 (skip_python_tests): New function.
608 * lib/mi-support.exp (mi_skip_python_tests): New function.
609 * gdb.python/py-mi-objfile-gdb.py: New file.
610 * gdb.python/py-mi-objfile.c: New file.
611 * gdb.python/py-mi-objfile.exp: New file.
612
ad89c2aa
KS
6132015-08-17 Keith Seitz <keiths@redhat.com>
614
615 * gdb.linespec/explicit.exp: Move strace test from here ...
616 * gdb.trace/strace.exp: ... to here.
617
e3ae3c43
PP
6182015-08-15 Patrick Palka <patrick@parcs.ath.cx>
619
620 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
621 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
622
604b2636
DE
6232015-08-14 Doug Evans <xdje42@gmail.com>
624
625 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
626 inferior before selecting a new file.
627
6ff0ba5f
DE
6282015-08-14 Doug Evans <xdje42@gmail.com>
629
630 * gdb.mi/mi-disassemble.exp: Update.
631 * gdb.base/disasm-optim.S: New file.
632 * gdb.base/disasm-optim.c: New file.
633 * gdb.base/disasm-optim.h: New file.
634 * gdb.base/disasm-optim.exp: New file.
635
9ca98f92
KS
6362015-08-14 Keith Seitz <keiths@redhat.com>
637
638 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
639 "evaluated-by".
640
52bbc560
JB
6412015-08-13 Joel Brobecker <brobecker@adacore.com>
642
643 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
644
5d8c3ed3
PMR
6452015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
646
647 * gdb.ada/fun_renaming.exp: New testcase.
648 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
649 * gdb.ada/fun_renaming/pack.adb: New file.
650 * gdb.ada/fun_renaming/pack.ads: New file.
651
ea8812bc
KS
6522015-08-12 Keith Seitz <keiths@redhat.com>
653
654 * gdb.base/dso2dso.exp: Pass basename of source file in call to
655 gdb_get_line_number.
656
4dafcdeb
JB
6572015-08-12 Joel Brobecker <brobecker@adacore.com>
658
659 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
660 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
661 gdb.base/dso2dso.exp: New files.
662
5ba32597
SDJ
6632015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
664 Pedro Alves <palves@redhat.com>
665 Keith Seitz <keiths@redhat.com>
666
667 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
668 GDBFLAGS.
669
b6dafabf
PP
6702015-08-12 Patrick Palka <patrick@parcs.ath.cx>
671
672 * gdb.base/gdbhistsize-history.exp
673 (test_histsize_history_setting): Use save_vars.
674 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
675 Use save_vars.
676 (test_no_truncation_of_unlimited_history_file): Use save_vars.
677 * gdb.base/readline.exp: Use save_vars.
678
abe8e607
PP
6792015-08-12 Patrick Palka <patrick@parcs.ath.cx>
680
681 * lib/gdb.exp (save_vars): New proc.
682
629500fa
KS
6832015-08-11 Keith Seitz <keiths@redhat.com>
684
685 * gdb.base/help.exp: Update help_breakpoint_text.
686
eb8c4e2e
KS
6872015-08-11 Keith Seitz <keiths@redhat.com>
688
689 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
690 (at toplevel): Call test_explicit_breakpoints.
691 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
692 breakpoints.
693 * lib/mi-support.exp (mi_make_breakpoint): Add support for
694 breakpoint conditions, "-cond".
695
87f0e720
KS
6962015-08-11 Keith Seitz <keiths@redhat.com>
697
698 * gdb.linespec/3explicit.c: New file.
699 * gdb.linespec/cpexplicit.cc: New file.
700 * gdb.linespec/cpexplicit.exp: New file.
701 * gdb.linespec/explicit.c: New file.
702 * gdb.linespec/explicit.exp: New file.
703 * gdb.linespec/explicit2.c: New file.
704 * gdb.linespec/ls-errs.exp: Add explicit location tests.
705 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
706 before using in the matching pattern.
707 Clarify that `prefix' is a regular expression.
708
f00aae0f
KS
7092015-08-11 Keith Seitz <keiths@redhat.com>
710
711 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
712 test.
713 Add tests for missing ",FMT" and ",".
714
e27852be
DE
7152015-08-10 Doug Evans <dje@google.com>
716 Keith Seitz <keiths@redhat.com>
717
718 PR gdb/17960
719 * gdb.base/completion.exp: Add location completer tests.
720
7f03bd92
PA
7212015-08-07 Pedro Alves <palves@redhat.com>
722
723 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
724 tests here.
725 (top level): Run do_test with and without displaced stepping.
726
3fc8eb30
PA
7272015-08-07 Pedro Alves <palves@redhat.com>
728
729 * gdb.base/valgrind-disp-step.c: New file.
730 * gdb.base/valgrind-disp-step.exp: New file.
731
d4569d7b
PA
7322015-08-07 Pedro Alves <palves@redhat.com>
733
734 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
735 Delete function.
736 (main): Add alarm. Run an infinite loop instead of calling
737 wait_threads.
738 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
739 comment.
740 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
741 Delete function.
742 (main): Add alarm. Run an infinite loop instead of calling
743 wait_threads.
744 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
745 comment.
746
e1316e60
PA
7472015-08-07 Pedro Alves <palves@redhat.com>
748
749 * gdb.base/checkpoint-ns.exp: New file.
750 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
751 standard_testfile.
752
da8c46d2
MM
7532015-08-07 Markus Metzger <markus.t.metzger@intel.com>
754
755 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
756 * gdb.btrace/instruction_history.exp: Update.
757 * gdb.btrace/tsx.exp: New.
758 * gdb.btrace/tsx.c: New.
759
de1c2c52
PA
7602015-08-06 Pedro Alves <palves@redhat.com>
761
762 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
763 increase timeout.
764 * gdb.reverse/until-precsave.exp: Bump timeouts.
765
782e0bf4
PA
7662015-08-06 Pedro Alves <palves@redhat.com>
767
768 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
769
83e97ed0
PA
7702015-08-06 Pedro Alves <palves@redhat.com>
771
772 PR gdb/18749
773 * gdb.threads/process-dies-while-handling-bp.c: New file.
774 * gdb.threads/process-dies-while-handling-bp.exp: New file.
775
863d01bd
PA
7762015-08-06 Pedro Alves <palves@redhat.com>
777
778 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
779 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
780
0a39bb32
PA
7812015-08-05 Pedro Alves <palves@redhat.com>
782
783 * gdb.threads/next-while-other-thread-longjmps.c: New file.
784 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
785
ee2d2b10
SL
7862015-08-03 Sandra Loosemore <sandra@codesourcery.com>
787
788 * gdb.base/bp-permanent.exp: Report test as unsupported if
789 the target cannot stop at the permanent breakpoint.
790
4e1bdb00
DE
7912015-08-03 Doug Evans <dje@google.com>
792
793 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
794 10000.
795
3d338901
DE
7962015-08-03 Doug Evans <dje@google.com>
797
798 * Makefile.in (workers/%.worker, build-perf): New rule.
799 (GDB_PERFTEST_MODE): New variable.
800 (check-perf): Use it.
801 (clean): Clean up gdb.perf parallel build subdirs.
802 * lib/build-piece.exp: New file.
803 * lib/gdb.exp (make_gdb_parallel_path): New function
804 (standard_output_file, standard_temp_file): Call it.
805 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
806 of $GDB_PARALLEL.
807 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
808
af061d3e
DE
8092015-08-03 Doug Evans <dje@google.com>
810
8e1afc81 811 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
812 (LOG_FILE_NAME): New global.
813 (TextReporter.__init__): Initialize self.txt_sum.
814 (TextReporter.report): Add support for multiple data-points.
815 Move report to perftest.sum, put raw data in perftest.log.
816 (TextReporter.start): Open sum and log files.
817 (TextReporter.end): Close sum and log files.
8e1afc81
DE
818 * gdb.perf/lib/perftest/testresult.py
819 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 820
2c8c5d37
PA
8212015-07-31 Pedro Alves <palves@redhat.com>
822
823 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
824 Use spawn_id_get_pid. Wait for spawn id after eof. Use
825 kill_wait_spawned_process instead of explicit "kill -9".
826 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
827 returning a spawn id instead of a pid. Use spawn_id_get_pid and
828 kill_wait_spawned_process.
829 * gdb.base/attach-twice.exp: Likewise.
830 * gdb.base/attach.exp: Likewise.
831 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
832 gdb_test_multiple.
833 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
834 returning a spawn id instead of a pid. Use spawn_id_get_pid and
835 kill_wait_spawned_process.
836 * gdb.base/valgrind-infcall.exp: Likewise.
837 * gdb.multi/multi-attach.exp: Likewise.
838 * gdb.python/py-prompt.exp: Likewise.
839 * gdb.python/py-sync-interp.exp: Likewise.
840 * gdb.server/ext-attach.exp: Likewise.
841 * gdb.threads/attach-into-signal.exp (corefunc): Use
842 spawn_wait_for_attach, spawn_id_get_pid and
843 kill_wait_spawned_process.
844 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
845 spawn_wait_for_attach returning a spawn id instead of a pid. Use
846 spawn_id_get_pid and kill_wait_spawned_process.
847 * gdb.threads/attach-stopped.exp (corefunc): Use
848 spawn_wait_for_attach, spawn_id_get_pid and
849 kill_wait_spawned_process.
850 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
851 Use spawn_id_get_pid. Wait for spawn id after eof. Use
852 kill_wait_spawned_process instead of explicit "kill -9".
853 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
854 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
855 (spawn_wait_for_attach): Use spawn instead of exec to spawn
856 processes. Don't map cygwin/windows pids here. Now returns a
857 spawn id list.
858
032a0fca
SL
8592015-07-30 Sandra Loosemore <sandra@codesourcery.com>
860
861 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
862 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
863 correct patch.
864
61a934ca
SL
8652015-07-30 Sandra Loosemore <sandra@codesourcery.com>
866
867 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
868
4bc4d428
SL
8692015-07-30 Sandra Loosemore <sandra@codesourcery.com>
870
871 Reapply:
872 2014-05-21 Mark Wielaard <mjw@redhat.com>
873
874 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
875
998d452a
PA
8762015-07-30 Pedro Alves <palves@redhat.com>
877
878 * linux-low.c (handle_extended_wait): Set the child's last
879 reported status to TARGET_WAITKIND_STOPPED.
880
69dde7dc
PA
8812015-07-30 Pedro Alves <palves@redhat.com>
882
883 PR threads/18600
884 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
885 only shows inferior 1.
886
4dd63d48
PA
8872015-07-30 Simon Marchi <simon.marchi@ericsson.com>
888 Pedro Alves <palves@redhat.com>
889
890 PR threads/18600
891 * gdb.threads/fork-plus-threads.c: New file.
892 * gdb.threads/fork-plus-threads.exp: New file.
893
d618e4c5
PP
8942015-07-29 Patrick Palka <patrick@parcs.ath.cx>
895
896 * gdb.base/batch-preserve-term-settings.exp
897 (test_terminal_settings_preserved_after_cli_exit): Use
898 send_quit_command.
899
1eef6428
PA
9002015-07-29 Pedro Alves <palves@redhat.com>
901 Don Breazeal <donb@codesourcery.com>
902
903 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
904 output from both inferior_spawn_id and gdb_spawn_id.
905
7da5b897
SDJ
9062015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
907
908 * gdb.threads/attach-into-signal.exp (corefunc): Use
909 with_test_prefix on nested loops, uniquefying the test messages.
910
dac804df
SDJ
9112015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
912
913 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
914 commit.
915
06265e53
PP
9162015-07-29 Patrick Palka <patrick@parcs.ath.cx>
917
918 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
919 New proc.
920 (test_terminal_settings_preserved_after_sigterm): New test.
921
18206ca3
PP
9222015-07-29 Patrick Palka <patrick@parcs.ath.cx>
923
924 * gdb.base/batch-preserve-term-settings.exp
925 (test_terminal_settings_preserved_after_cli_exit): New test.
926
90074d11
PP
9272015-07-29 Patrick Palka <patrick@parcs.ath.cx>
928
929 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
930 manipulation of saved_gdbflags.
931 (test_terminal_settings_preserved): Remove global declaration of
932 the unused variable pagination_prompt. Remove manipulation of
933 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
934 GDBFLAGS.
935
eb1a7902
PA
9362015-07-29 Pedro Alves <palves@redhat.com>
937
938 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
939
8b75dd3b
PA
9402015-07-29 Pedro Alves <palves@redhat.com>
941
942 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
943 at the top.
944
dedad4e3
PA
9452015-07-29 Pedro Alves <palves@redhat.com>
946
947 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
948 (main): Call gdb_unbuffer_output.
949 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
950 (main): Call gdb_unbuffer_output.
951 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
952 (main): Call gdb_unbuffer_output.
953 * gdb.base/call-strs.exp: Adjust to step over the
954 gdb_unbuffer_output call.
955 * gdb.base/catch-gdb-caused-signals.c: Include
956 "../lib/unbuffer_output.c".
957 (main): Call gdb_unbuffer_output.
958 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
959 (main): Call gdb_unbuffer_output.
960 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
961 (main): Call gdb_unbuffer_output.
962 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
963 (main): Call gdb_unbuffer_output.
964 * gdb.base/shlib-call.exp: Adjust to step over the
965 gdb_unbuffer_output call.
966 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
967 (main): Call gdb_unbuffer_output.
968 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
969 (main): Call gdb_unbuffer_output.
970 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
971 (main): Rename to ...
972 (test): ... this.
973 (main): Reimplement.
974 * gdb.base/varargs.exp: Run to test instead of to main.
975 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
976 (main): Call gdb_unbuffer_output.
977
58789a91
PA
9782015-07-29 Pedro Alves <palves@redhat.com>
979
980 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
981 factore out from mi_continue_dprintf. For call-style dprintfs,
982 expect dprintf output out of $inferior_spawn_id.
983 (mi_continue_dprintf): Use mi_expect_dprintf.
984 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
985 (main): Call gdb_unbuffer_output.
986
e8376742
PA
9872015-07-29 Pedro Alves <palves@redhat.com>
988
989 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
990 (default_mi_gdb_start): Set inferior_spawn_id instead of
991 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
992 gdb_spawn_id.
993 (mi_gdb_test): Always expect inferior output from both
994 $inferior_spawn_id and $gdb_spawn_id.
995
08280010
PA
9962015-07-29 Pedro Alves <palves@redhat.com>
997
998 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
999 send_inferior and $inferior_spawn_id.
1000
4d30e432
PA
10012015-07-29 Pedro Alves <palves@redhat.com>
1002
1003 * gdb.gdb/complaints.exp (test_initial_complaints)
1004 (test_serial_complaints, test_short_complaints): Use
1005 gdb_test_stdio.
1006 (test_empty_complaint): Handle $inferior_spawn_id !=
1007 $gdb_spawn_id.
1008
0d30a335
PA
10092015-07-29 Pedro Alves <palves@redhat.com>
1010
1011 * gdb.base/varargs.exp: Use gdb_test_stdio.
1012
39413b29
PA
10132015-07-29 Pedro Alves <palves@redhat.com>
1014
1015 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
1016
7cb000a9
PA
10172015-07-29 Pedro Alves <palves@redhat.com>
1018
1019 * gdb.base/ending-run.exp: Use gdb_test_stdio.
1020
d7b8ac82
PA
10212015-07-29 Pedro Alves <palves@redhat.com>
1022
1023 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
1024 parameter into two new parameters, "inf_result" and "gdb_result".
1025 Expect inferior output and gdb output from $inferior_spawn_id and
1026 $gdb_spawn_id, respectively. Adjust all callers.
1027
789c3a0c
PA
10282015-07-29 Pedro Alves <palves@redhat.com>
1029
1030 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
1031 of gdb_test_sequence.
1032
77e760c3
PA
10332015-07-29 Pedro Alves <palves@redhat.com>
1034
1035 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
1036 (saw_spurious_output): Expect inferior output from
1037 $inferior_spawn_id. Use gdb_test_stdio.
1038
8396d2cd
PA
10392015-07-29 Pedro Alves <palves@redhat.com>
1040
1041 * gdb.base/dprintf.exp: Use standard_testfile. Change
1042 prepare_for_testing call.
1043 (srcfile): Don't set.
1044 (restart): New procedure.
1045 (test_dprintf): New procecure, use to continue over dprintfs.
1046 (test_call, test_agent): New procedures, tests moved here.
1047 Restart gdb and recreate dprintfs. Adjust expected output.
1048
2051d61f
PA
10492015-07-29 Pedro Alves <palves@redhat.com>
1050
1051 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
1052
452397af
PA
10532015-07-29 Pedro Alves <palves@redhat.com>
1054
1055 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
1056
8aed9555
PA
10572015-07-29 Pedro Alves <palves@redhat.com>
1058
1059 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
1060 gdb_test_stdio.
1061
188a61b4
PA
10622015-07-29 Pedro Alves <palves@redhat.com>
1063
1064 * lib/gdb.exp (gdb_test_stdio): New procedure.
1065
12264a45
PA
10662015-07-29 Pedro Alves <palves@redhat.com>
1067
1068 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
1069
23ffc893
PA
10702015-07-29 Pedro Alves <palves@redhat.com>
1071
1072 * gdb.base/call-signal-resume.exp: Remove check for
1073 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
1074 * gdb.base/unwindonsignal.exp: Likewise.
1075 * gdb.base/call-signals.c (gen_signal): Remove printf call.
1076 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
1077
65566918
PA
10782015-07-29 Pedro Alves <palves@redhat.com>
1079
1080 * gdb.base/siginfo-addr.c (pass): New function.
1081 (handler): Call it iff si_addr is correct.
1082 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
1083 Set a breakpoint at "pass" and continue to it.
1084
d60a9221
SDJ
10852015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
1086
1087 * gdb.python/py-objfile.exp: Make some tests have unique names.
1088 * gdb.python/py-pp-registration.exp: Likewise.
1089
bde40b8f
PA
10902015-07-28 Pedro Alves <palves@redhat.com>
1091
1092 * gdb.server/server-exec-info.exp: Issue a "disconnect".
1093
13e1dec8
SM
10942015-07-27 Simon Marchi <simon.marchi@ericsson.com>
1095
1096 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
1097
da33c9a7
SM
10982015-07-27 Simon Marchi <simon.marchi@ericsson.com>
1099
1100 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
1101
077836f7
PP
11022015-07-27 Patrick Palka <patrick@parcs.ath.cx>
1103
1104 * gdb.base/gdb-sigterm-2.exp: New test.
1105
b8cc7b2e
DE
11062015-07-25 Doug Evans <xdje42@gmail.com>
1107
1108 Revert:
1109 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
1110 (workers/%.worker, build-perf): New rule.
1111 (GDB_PERFTEST_MODE): New variable.
1112 (check-perf): Use it.
1113 (clean): Clean up gdb.perf parallel build subdirs.
1114 * lib/build-piece.exp: New file.
1115 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
1116 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
1117 name.
1118 (standard_temp_file): Ditto.
1119 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1120 of $GDB_PARALLEL.
1121
c8bd4544
DE
11222015-07-24 Doug Evans <dje@google.com>
1123
1124 * gdb.perf/lib/perftest/utils.py: New file.
1125 * gdb.perf/gm-hello.cc: New file.
1126 * gdb.perf/gm-pervasive-typedef.cc: New file.
1127 * gdb.perf/gm-pervasive-typedef.h: New file.
1128 * gdb.perf/gm-std.cc: New file.
1129 * gdb.perf/gm-std.h: New file.
1130 * gdb.perf/gm-use-cerr.cc: New file.
1131 * gdb.perf/gm-utils.h: New file.
1132 * gdb.perf/gmonster-null-lookup.py: New file.
1133 * gdb.perf/gmonster-pervasive-typedef.py: New file.
1134 * gdb.perf/gmonster-print-cerr.py: New file.
1135 * gdb.perf/gmonster-ptype-string.py: New file.
1136 * gdb.perf/gmonster-runto-main.py: New file.
1137 * gdb.perf/gmonster-select-file.py: New file.
1138 * gdb.perf/gmonster1-null-lookup.exp: New file.
1139 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
1140 * gdb.perf/gmonster1-print-cerr.exp: New file.
1141 * gdb.perf/gmonster1-ptype-string.exp: New file.
1142 * gdb.perf/gmonster1-runto-main.exp: New file.
1143 * gdb.perf/gmonster1-select-file.exp: New file.
1144 * gdb.perf/gmonster1.cc: New file.
1145 * gdb.perf/gmonster1.exp: New file.
1146 * gdb.perf/gmonster2-null-lookup.exp: New file.
1147 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
1148 * gdb.perf/gmonster2-print-cerr.exp: New file.
1149 * gdb.perf/gmonster2-ptype-string.exp: New file.
1150 * gdb.perf/gmonster2-runto-main.exp: New file.
1151 * gdb.perf/gmonster2-select-file.exp: New file.
1152 * gdb.perf/gmonster2.cc: New file.
1153 * gdb.perf/gmonster2.exp: New file.
1154
6eab34f3
DE
11552015-07-24 Doug Evans <dje@google.com>
1156
1157 * gdb.perf/README: New file.
1158 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
1159 * lib/gen-perf-test.exp: New file.
1160
63738bfd
DE
11612015-07-24 Doug Evans <dje@google.com>
1162
1163 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
1164 (PerfTest::startup): New function.
1165 (PerfTest::run): Return result of calling body.
1166 (PerfTest::assemble): Rewrite.
1167 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
1168 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
1169 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
1170 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
1171 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
1172
7b606f95
DE
11732015-07-24 Doug Evans <dje@google.com>
1174
1175 * lib/gdb.exp (clean_restart): Make executable optional.
1176
a97b16b8
DE
11772015-07-24 Doug Evans <dje@google.com>
1178
1179 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
1180 compiler_info references.
1181 * gdb.cp/temargs.exp: Ditto.
1182 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
1183 (get_compiler_info): Early exit if already computed. Set compiler_info
1184 to "unknown" if there was a problem.
1185 (test_compiler_info): Add function comment. Call get_compiler_info.
1186
35baa57f
DE
11872015-07-24 Doug Evans <dje@google.com>
1188
1189 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
1190 (workers/%.worker, build-perf): New rule.
1191 (GDB_PERFTEST_MODE): New variable.
1192 (check-perf): Use it.
1193 (clean): Clean up gdb.perf parallel build subdirs.
1194 * lib/build-piece.exp: New file.
1195 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
1196 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
1197 name.
1198 (standard_temp_file): Ditto.
1199 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1200 of $GDB_PARALLEL.
1201
6ebea266
DE
12022015-07-24 Doug Evans <dje@google.com>
1203
1204 * lib/future.exp (gdb_default_target_compile): New option
1205 "early_flags".
1206 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
1207 --as-needed.
1208
1e76a7e9
SDJ
12092015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
1210
1211 * gdb.base/catch-syscall.exp: Call gdb_exit before
1212 gdb_skip_xml_test.
1213
5068630a
PA
12142015-07-24 Pedro Alves <palves@redhat.com>
1215
1216 * gdb.python/py-events.exp: Accept output between the stop event
1217 and the prompt.
1218 * gdb.python/py-evsignal.exp: Likewise.
1219 * gdb.python/py-evthreads.exp: Likewise.
1220
77598427
PA
12212015-07-24 Pedro Alves <palves@redhat.com>
1222
1223 PR gdb/18717
1224 * gdb.threads/non-ldr-exit.c: New file.
1225 * gdb.threads/non-ldr-exit.exp: New file.
1226
11e6c98f
YQ
12272015-07-24 Yao Qi <yao.qi@linaro.org>
1228
1229 * gdb.server/ext-wrapper.exp: Test --wrapper option when
1230 restarting process.
1231
51aee833
YQ
12322015-07-24 Yao Qi <yao.qi@linaro.org>
1233
1234 * gdb.server/ext-restart.exp: New file.
1235
8cfe207c
YQ
12362015-07-24 Yao Qi <yao.qi@linaro.org>
1237
1238 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
1239 argument options.
1240 * gdb.server/ext-wrapper.exp: New file.
1241
cc12ce38
DE
12422015-07-23 Doug Evans <dje@google.com>
1243
1244 * gdb.dwarf2/dw2-dummy-cu.S: New file.
1245 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
1246
d0d84780
PMR
12472015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
1248
1249 * gdb.ada/var_arr_typedef.exp: New testcase.
1250 * gdb.ada/var_arr_typedef/pack.adb: New file.
1251 * gdb.ada/var_arr_typedef/pack.ads: New file.
1252 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
1253
8b558f79
JB
12542015-07-20 Joel Brobecker <brobecker@adacore.com>
1255
1256 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
1257
775a3298
JK
12582015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1259
1260 * gdb.arch/i386-biarch-core.exp: Replace istarget
1261 by "complete set gnutarget". Remove expectation for the "core-file"
1262 command.
1263
db1ff28b
JK
12642015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1265
1266 Revert the previous commit:
1267 Tests for validate symbol file using build-id.
1268
0a94970d
JK
12692015-07-15 Aleksandar Ristovski <aristovski@qnx.com
1270
1271 Tests for validate symbol file using build-id.
1272 * gdb.base/solib-mismatch-lib.c: New file.
1273 * gdb.base/solib-mismatch-libmod.c: New file.
1274 * gdb.base/solib-mismatch.c: New file.
1275 * gdb.base/solib-mismatch.exp: New file.
1276
03346981
SL
12772015-07-15 Sandra Loosemore <sandra@codesourcery.com>
1278
1279 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
1280 nios2-*-linux*.
1281 * gdb.base/sigbpt.exp (stepi_out): Likewise.
1282 * gdb.base/siginfo.exp: Likewise.
1283 * gdb.base/sigstep.exp (advance, advancei): Likewise.
1284
42422cc7
PL
12852015-07-15 Pierre Langlois <pierre.langlois@arm.com>
1286
1287 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
1288 Move it to ...
1289 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
1290 ... here.
1291 * gdb.trace/range-stepping.exp: Check that the target supports
1292 range stepping.
1293
cfa68bae
JK
12942015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1295
1296 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
1297
8ffdba26
PA
12982015-07-14 Pedro Alves <palves@redhat.com>
1299
1300 * gdb.base/killed-outside.exp: New file.
1301 * gdb.base/killed-outside.c: New file.
1302
218a5a11
JK
13032015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1304
1305 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
1306 (n at main): New.
1307 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
1308
e03ed3c6
AA
13092015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
1310
1311 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
1312 infcall tests instead of setting up for KFAIL.
1313
485668e5
MM
13142015-07-10 Markus Metzger <markus.t.metzger@intel.com>
1315
1316 * gdb.btrace/record_goto-step.exp: New.
1317
08464196
JK
13182015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1319
1320 PR compile/18484
1321 * gdb.compile/compile.c (struct struct_type): Add volatile to
1322 selffield's type.
1323 * gdb.compile/compile.exp
1324 (compile code struct_object.selffield = &struct_object): Skip further
1325 struct_object tests if this one xfails.
1326
bcf5c1d9
RC
13272015-07-08 Robert O'Callahan <robert@ocallahan.org>
1328
1329 PR exp/18617
1330 * gdb.trace/ax.exp: Add test.
1331
4931af25
YQ
13322015-07-07 Yao Qi <yao.qi@linaro.org>
1333
1334 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
1335 instead of istarget "aarch64*-*-*".
1336 * gdb.arch/aarch64-fp.exp: Likewise.
1337 * gdb.base/float.exp: Likewise.
1338 * gdb.reverse/aarch64.exp: Likewise.
1339 * lib/gdb.exp (is_aarch64_target): New proc.
1340
9fcf688e
YQ
13412015-07-07 Yao Qi <yao.qi@linaro.org>
1342
1343 * lib/gdb.exp (is_aarch32_target): New proc.
1344 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
1345 instead of "istarget "arm*-*-*"".
1346 * gdb.arch/arm-disp-step.exp: Likewise.
1347 * gdb.arch/thumb-bx-pc.exp: Likewise.
1348 * gdb.arch/thumb-prologue.exp: Likewise.
1349 * gdb.arch/thumb-singlestep.exp: Likewise.
1350 * gdb.base/disp-step-syscall.exp: Likewise.
1351 * gdb.base/float.exp: Likewise.
1352
fbd8d50d
YQ
13532015-07-07 Yao Qi <yao.qi@linaro.org>
1354
1355 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
1356 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
1357
71be1fdc
YQ
13582015-07-07 Yao Qi <yao.qi@linaro.org>
1359
1360 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
1361 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
1362 if it exists.
1363 * gdb.multi/multi-arch.exp: Likewise.
1364
3e221d36
SM
13652015-07-07 Simon Marchi <simon.marchi@ericsson.com>
1366
1367 * gdb.python/py-lazy-string.exp: Add missing parentheses to
1368 print.
1369
d441430b
YQ
13702015-07-07 Yao Qi <yao.qi@linaro.org>
1371
1372 * gdb.arch/thumb-singlestep.exp: Do one more single step.
1373
06f810bd
MG
13742015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
1375
1376 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
1377 '[' and ']' characters.
1378
5e61e7c0
IB
13792015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
1380
1381 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1382
28bf096c
PA
13832015-06-29 Pedro Alves <palves@redhat.com>
1384
1385 PR threads/18127
1386 * gdb.threads/hand-call-new-thread.c: New file.
1387 * gdb.threads/hand-call-new-thread.c: New file.
1388
ee93cd5e
KS
13892015-06-26 Keith Seitz <keiths@redhat.com>
1390 Doug Evans <dje@google.com>
1391
1392 PR 16253
1393 * gdb.cp/var-tag-2.cc: New file.
1394 * gdb.cp/var-tag-3.cc: New file.
1395 * gdb.cp/var-tag-4.cc: New file.
1396 * gdb.cp/var-tag.cc: New file.
1397 * gdb.cp/var-tag.exp: New file.
1398
fc637f04
PP
13992015-06-26 Patrick Palka <patrick@parcs.ath.cx>
1400
1401 * gdb.base/history-duplicates.exp: New test.
1402
2e52ae68
PP
14032015-06-26 Patrick Palka <patrick@parcs.ath.cx>
1404
1405 * gdb.base/completion.exp: Test the completion of the "focus"
1406 command.
1407
6e22494e
JK
14082015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1409
1410 * gdb.arch/amd64-prologue-skip.S: New file.
1411 * gdb.arch/amd64-prologue-skip.exp: New file.
1412
bf7b9cd9
SM
14132015-06-25 Simon Marchi <simon.marchi@ericsson.com>
1414
1415 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
1416 is_address_zero_readable check.
1417
201e8dfd
PB
14182015-06-24 Peter Bergner <bergner@vnet.ibm.com>
1419
1420 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
1421 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
1422
5cd867b4
YQ
14232015-06-24 Yao Qi <yao.qi@linaro.org>
1424
1425 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
1426 linux targets.
1427
4d7be007
YQ
14282015-06-24 Yao Qi <yao.qi@linaro.org>
1429
1430 * lib/gdb.exp (supports_get_siginfo_type): New proc.
1431 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
1432 * gdb.base/siginfo-thread.exp: Likewise.
1433
07fcd301
YQ
14342015-06-22 Yao Qi <yao.qi@linaro.org>
1435
1436 * boards/remote-gdbserver-on-localhost.exp: Add comments.
1437
52042a00
YQ
14382015-06-22 Yao Qi <yao.qi@linaro.org>
1439
1440 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
1441 aarch64*-*-*.
1442 (skip_hw_watchpoint_tests): Likewise.
1443
74bd41ce
PP
14442015-06-18 Patrick Palka <patrick@parcs.ath.cx>
1445
1446 * gdb.base/gdbinit-history.exp: Test the interaction between
1447 setting GDBHISTSIZE and setting the history size via .gdbinit.
1448
bc460514
PP
14492015-06-17 Patrick Palka <patrick@parcs.ath.cx>
1450
1451 PR gdb/16999
1452 * gdb.base/gdbhistsize-history.exp: New test.
1453
b58c513b
PP
14542015-06-17 Patrick Palka <patrick@parcs.ath.cx>
1455
1456 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
1457 with GDBHISTSIZE.
1458 * gdb.base/readline.exp: Likewise.
1459
92046791
YQ
14602015-06-17 Yao Qi <yao.qi@linaro.org>
1461
1462 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
1463 line.
1464
2093d2d3
PP
14652015-06-17 Patrick Palka <patrick@parcs.ath.cx>
1466
1467 * gdb.base/gdbinit-history.exp: Add test case to check that
1468 an unlimited history file does not get truncated on exit.
1469
e6c693af
AA
14702015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1471
1472 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
1473 (VECTOR): New macro. Use it...
1474 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
1475 ...for these typedefs.
1476 (int8, char1, int1, double1): New typedefs.
1477 (struct just_int2, struct two_int2): New structures.
1478 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
1479 (add_structvecs, add_singlevecs): New functions.
1480 (main): Call add_some_intvecs twice.
1481 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
1482 the compile and exit upon failure. Try compiling for the "native"
1483 architecture. Test inferior function calls with vector arguments
1484 and vector return value handling with "finish" and "return".
1485
c74f7d1c
JT
14862015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
1487
1488 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
1489 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
1490 PE file.
1491 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
1492
98aa42ee
AT
14932015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
1494
1495 PR breakpoints/16465
1496 * gdb.mi/mi-dprintf-pending.c: New file.
1497 * gdb.mi/mi-dprintf-pending.exp: New test.
1498 * gdb.mi/mi-dprintf-pendshr.c: New file.
1499
7d73c23c 15002015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 1501 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
1502
1503 * gdb.arch/i386-mpx-map.c: New file.
1504 * gdb.arch/i386-mpx-map.exp: New File.
1505
15062015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1507
1508 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
1509 * gdb.arch/i386-mpx.exp: Indentation fixed.
1510
15112015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1512
1513 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
1514 function and improved indentation.
1515 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
1516 gdb_test_multiple. Added additional tests to skip the test.
1517
15182015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1519
1520 * gdb.arch/i386-avx512.c: Change path in include file.
1521 * gdb.arch/i386-avx512.exp: Change include dir path
1522 compilation flag.
1523 * gdb.arch/i386-mpx.c: Change path in include file.
1524 * gdb.arch/i386-mpx.exp: Change include dir path compilation
1525 flag.
1526
d5eba19a
JK
15272015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1528
1529 * gdb.compile/compile-print.exp (compile print *vararray@3)
1530 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
1531
7f361056
JK
15322015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1533
1534 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
1535 (do not keep jit in memory): ... this.
1536 (expect 5): Change it to ...
1537 (expect no 5): ... this.
1538
3b462ec2
SM
15392015-06-02 Simon Marchi <simon.marchi@ericsson.com>
1540
1541 PR gdb/15564
1542 * gdb.mi/mi-detach.exp: New file.
1543
e0619de6
JK
15442015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1545
1546 PR symtab/18392
1547 * gdb.arch/amd64-tailcall-self.S: New file.
1548 * gdb.arch/amd64-tailcall-self.c: New file.
1549 * gdb.arch/amd64-tailcall-self.exp: New file.
1550
e970cb34
DB
15512015-05-28 Don Breazeal <donb@codesourcery.com>
1552
1553 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
1554 tests for remote targets by checking is_target_gdbserver.
1555
b2e2f908
DE
15562015-05-27 Doug Evans <dje@google.com>
1557
1558 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
1559 * gdb.dwarf2/opaque-type-lookup.c: New file.
1560 * gdb.dwarf2/opaque-type-lookup.exp: New file.
1561
82c7be31
DE
15622015-05-26 Doug Evans <dje@google.com>
1563
1564 * gdb.cp/iostream.cc: New file.
1565 * gdb.cp/iostream.exp: New file.
1566
b4f54984
DE
15672015-05-26 Doug Evans <dje@google.com>
1568
1569 * gdb.dwarf2/dw2-op-call.exp: Update.
1570 * gdb.dwarf2/dw4-sig-types.exp: Update.
1571 * gdb.dwarf2/implptr.exp: Update.
1572 * gdb.mi/mi-cmd-param-changed.exp: Update.
1573
4ea6efe9
DE
15742015-05-26 Doug Evans <dje@google.com>
1575
1576 * gdb.python/py-lazy-string.c: New file.
1577 * gdb.python/py-lazy-string.exp: New file.
1578 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
1579 (main): Update. Add estring3.
1580 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
1581 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
1582
f6bb7db3
YQ
15832015-05-26 Omair Javaid <omair.javaid@linaro.org>
1584 Yao Qi <yao.qi@linaro.org>
1585
1586 * gdb.reverse/aarch64.c: New.
1587 * gdb.reverse/aarch64.exp: New.
1588
a81bfbd0
OJ
15892015-05-26 Omair Javaid <omair.javaid@linaro.org>
1590
1591 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
1592 (supports_reverse): Likewise.
1593
158bf1b4
PP
15942015-05-22 Patrick Palka <patrick@parcs.ath.cx>
1595
1596 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1597 Use with_test_prefix.
1598
a0145030
AB
15992015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
1600
1601 * gdb.base/completion.exp: Add test for completion of layout
1602 names.
1603
ebe3b578
AB
16042015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
1605
1606 * lib/gdb.exp (skip_tui_tests): New proc.
1607 * gdb.base/tui-layout.exp: Check skip_tui_tests.
1608
84204ed7
PA
16092015-05-19 Pedro Alves <palves@redhat.com>
1610
1611 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1612 Save the whole env array instead of just HOME. Unset HISTSIZE in
1613 the environment while testing. Restore whole environment
1614 afterwards.
1615
37442ce1
DE
16162015-05-16 Doug Evans <xdje42@gmail.com>
1617
1618 * gdb.guile/scm-ports.c: New file.
1619 * gdb.guile/scm-ports.exp: Add memory port tests.
1620
36de76f9
JK
16212015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1622
1623 * gdb.compile/compile-print.c: New file.
1624 * gdb.compile/compile-print.exp: New file.
1625
3a9558c4
JK
16262015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1627
1628 * gdb.compile/compile-ops.exp: Cast param to void.
1629 * gdb.compile/compile.exp: Complete type for _gdb_expr.
1630 (compile code struct_object.selffield = &struct_object): Add xfail.
1631
aa715135
JG
16322015-05-15 Joel Brobecker <brobecker@adacore.com>
1633
1634 * gdb.ada/arr_enum_with_gap: New testcase.
1635
931e5bc3
JG
16362015-05-15 Joel Brobecker <brobecker@adacore.com>
1637
1638 * gdb.ada/byte_packed_arr: New testcase.
1639
9cd4d857
JB
16402015-05-15 Joel Brobecker <brobecker@adacore.com>
1641
1642 * gdb.ada/pckd_neg: New testcase.
1643
ebfd00d2
PP
16442015-05-13 Patrick Palka <patrick@parcs.ath.cx>
1645
1646 PR gdb/17820
1647 * gdb.base/gdbinit-history.exp: New test.
1648 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
1649 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
1650
4c082a81
SC
16512015-05-09 Siva Chandra Reddy <sivachandra@google.com>
1652
1653 * gdb.python/py-xmethods.cc: Enhance test case.
1654 * gdb.python/py-xmethods.exp: New tests.
1655 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
1656 function.
1657 (B_indexoper): Likewise.
1658 (global_dm_list) : Add new xmethod worker functions.
1659
f7797074
SDJ
16602015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
1661
1662 * gdb.base/coredump-filter.exp: Correctly unset
1663 "coredump_var_addr" array.
1664
a4674e4e
PA
16652015-05-08 Pedro Alves <palves@redhat.com>
1666
1667 * gdb.server/non-existing-program.exp: Unset spawn_id.
1668
df2eb078
SC
16692015-05-08 Siva Chandra Reddy <sivachandra@google.com>
1670
1671 PR python/18291
1672 * gdb.python/py-xmethods.exp: Add tests.
1673
422349a3
YQ
16742015-05-08 Yao Qi <yao.qi@linaro.org>
1675
1676 PR gdb/18208
1677 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
1678 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
1679 function set_coredump_filter, and remove remote_exec call.
1680 Remove argument ipid. Callers update.
1681 (top level): Don't get inferior's PID.
1682
63fc80ce
AA
16832015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
1684
1685 * gdb.base/watch_thread_num.exp: Skip test on targets without
1686 access watchpoints.
1687
80ad801e
PA
16882015-05-06 Pedro Alves <palves@redhat.com>
1689
1690 PR server/18081
1691 * gdb.server/non-existing-program.exp: New file.
1692
0fa7fe50
JB
16932015-05-05 Joel Brobecker <brobecker@adacore.com>
1694
1695 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
1696
3ea89b92
PMR
16972015-05-05 Joel Brobecker <brobecker@adacore.com>
1698
1699 * gdb.ada/out_of_line_in_inlined: New testcase.
1700
87b8eff0
JB
17012015-05-05 Joel Brobecker <brobecker@adacore.com>
1702
1703 * gdb.ada/var_rec_arr: New testcase.
1704
5fccc635
YQ
17052015-04-30 Yao Qi <yao.qi@linaro.org>
1706
1707 * gdb.base/break-idempotent.exp: If
1708 skip_hw_watchpoint_multi_tests returns true, skip the tests
1709 on "rwatch" and "awatch".
1710
42d38f42
YQ
17112015-04-30 Yao Qi <yao.qi@linaro.org>
1712
1713 * gdb.base/relativedebug.exp: Invoke gdb command
1714 "info sharedlibrary", and if libc.so doesn't have debug info,
1715 skip the test.
1716
2ce1cdbf
DE
17172015-04-29 Doug Evans <dje@google.com>
1718
1719 * gdb.python/py-xmethods.exp: Add ptype tests.
1720 * gdb.python/py-xmethods.py (E_method_char_worker): Add
1721 get_result_type method.
1722
f24a38c5
LM
17232015-04-29 Luis Machado <lgustavo@codesourcery.com>
1724
1725 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
1726 the target does not support hardware watchpoints.
1727
ecbf2b3c
LM
17282015-04-29 Luis Machado <lgustavo@codesourcery.com>
1729
1730 * gdb.base/break-always.exp: Abort testing if writing to memory
1731 causes an error.
1732
34f5f757
DE
17332015-04-28 Doug Evans <dje@google.com>
1734
1735 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
1736 * gdb.python/py-pp-registration.exp: ... here. New file.
1737 * gdb.python/py-pp-registration.c: New file.
1738 * gdb.python/py-pp-registration.py: New file.
1739
69b4374a
DE
17402015-04-28 Doug Evans <dje@google.com>
1741
1742 * gdb.python/py-bad-printers.c: New file.
1743 * gdb.python/py-bad-printers.py: New file.
1744 * gdb.python/py-bad-printers.exp: New file.
1745
59fb7612
SS
17462015-04-28 Sasha Smundak <asmundak@google.com>
1747
1748 * gdb.python/py-type.exp: New test.
1749
2631b16a
AW
17502015-04-28 Andy Wingo <wingo@igalia.com>
1751
1752 * gdb.python/py-parameter.exp:
1753 * gdb.guile/scm-parameter.exp: Escape the path that we are
1754 matching against, as it might contain characters that are special
1755 to regular expressions.
1756
460efde1
JB
17572015-04-27 Joel Brobecker <brobecker@adacore.com>
1758
1759 * gdb.ada/rec_comp: New testcase.
1760
2d369d8e
SDJ
17612015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
1762
1763 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
1764 before using it.
1765
cf75d6c3
AB
17662015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
1767
1768 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
1769 new tests for verilog output.
1770
8dbe7ca5
YQ
17712015-04-24 Yao Qi <yao.qi@linaro.org>
1772
1773 * boards/remote-gdbserver-on-localhost.exp: New file.
1774
4ef9fb2f
PA
17752015-04-23 Pedro Alves <palves@redhat.com>
1776
1777 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
1778 $inferior_spawn_id instead of $inferior_spawn_id directly. On
1779 "end of file", remove $inferior_spawn_id from the indirect list.
1780
0a803169
PA
17812015-04-23 Pedro Alves <palves@redhat.com>
1782
1783 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
1784
749ef8f8
PA
17852015-04-23 Pedro Alves <palves@redhat.com>
1786
1787 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
1788 on $any_spawn_id instead of only on $gdb_spawn_id.
1789
8aae4344
PM
17902015-04-21 Pierre Muller <muller@sourceware.org>
1791
1792 PR pascal/17815
1793 * lib/pascal.exp (gpc_compile): Add new option "class".
1794 (fpc_compile): Likewise.
1795 * gdb.pascal/case-insensitive-symbols.pas: New file.
1796 * gdb.pascal/case-insensitive-symbols.exp: New file.
1797
1586c8fb
GB
17982015-04-20 Gary Benson <gbenson@redhat.com>
1799
1800 * gdb.base/attach.exp: Fix three extended remote failures.
1801
1b6e6f5c
GB
18022015-04-17 Gary Benson <gbenson@redhat.com>
1803
1804 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
1805 the main executable over the remote protocol.
1806
e797481d
PA
18072015-04-16 Pedro Alves <palves@redhat.com>
1808
1809 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
1810 a new gdbserver if gdbserver_reconnect_p is set.
1811
1ca99c42
PA
18122015-04-16 Pedro Alves <palves@redhat.com>
1813
1814 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
1815 is set, don't exit gdbserver.
1816
af9fd6f8
AA
18172015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1818
1819 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
1820 appropriate .insn, such that an older assembler can be used.
1821 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
1822 the z/Architecture instruction set on 31-bit targets as well.
1823
04ff1e61
AA
18242015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1825
1826 * gdb.go/handcall.exp: Remove all logic related to the first
1827 breakpoint and rely on go_runto_main instead.
1828 * gdb.go/strings.exp: Likewise.
1829 * gdb.go/unsafe.exp: Likewise.
1830 * gdb.go/hello.exp: Likewise. Also rename the remaining
1831 breakpoint marker to "breakpoint 1".
1832 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
1833 * gdb.go/strings.go: Likewise.
1834 * gdb.go/unsafe.go: Likewise.
1835 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
1836 "set breakpoint 2 here" and rename the remaining breakpoint marker
1837 to "breakpoint 1".
1838
40d2f8d6
SM
18392015-04-15 Simon Marchi <simon.marchi@ericsson.com>
1840
1841 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
1842 if itertools.imap is not present.
1843 * gdb.python/py-objfile.exp: Add parentheses.
1844 * gdb.python/py-type.exp: Same.
1845 * gdb.python/py-unwind-maint.py: Same.
1846
8cbc97c6
YQ
18472015-04-15 Yao Qi <yao.qi@linaro.org>
1848
1849 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
1850 of ":$ptr_size" and set its form explicitly.
1851
45fd756c
YQ
18522015-04-15 Pedro Alves <palves@redhat.com>
1853 Yao Qi <yao.qi@linaro.org>
1854
1855 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
1856 timeout by factor of 4.
1857 (test_regular_watch): Likewise.
1858 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
1859 * gdb.reverse/sigall-reverse.exp: Likewise.
1860 * gdb.reverse/until-precsave.exp: Likewise.
1861 * lib/gdb.exp (with_timeout_factor): New proc.
1862 (gdb_expect): Move some code to ...
1863 (get_largest_timeout): ... here. New procedure.
1864
9e811bc3
LM
18652015-04-14 Luis Machado <lgustavo@codesourcery.com>
1866
1867 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
1868
0ff6fcb2
LM
18692015-04-13 Luis Machado <lgustavo@codesourcery.com>
1870
1871 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
1872 to write to the .text section.
1873
7578d5f7
LM
18742015-04-13 Luis Machado <lgustavo@codesourcery.com>
1875
1876 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
1877 Handle the case of targets that do not provide PID information.
1878
2efe15c4
YQ
18792015-04-13 Yao Qi <yao.qi@linaro.org>
1880
1881 * lib/gdbserver-support.exp (gdb_exit): Catch exception
1882 and use expect instead of gdb_expect.
1883
8cd8f2f8
SDJ
18842015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
1885
1886 * gdb.base/coredump-filter.exp: Rename variable "addr" to
1887 "coredump_var_addr" to avoid naming conflict with other testcases.
1888
9ee41772
PA
18892015-04-10 Pedro Alves <palves@redhat.com>
1890
1891 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
1892 gdb_test_sequence and gdb_assert.
1893
07473109
PA
18942015-04-10 Pedro Alves <palves@redhat.com>
1895
1896 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
1897 test messages that don't include the breakpoint address.
1898
de3db44c
YQ
18992015-04-10 Yao Qi <yao.qi@linaro.org>
1900
1901 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
1902 false for some offset and width combinations which aren't
1903 supported by linux kernel.
1904
c79d856c
PA
19052015-04-10 Pedro Alves <palves@redhat.com>
1906
1907 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
1908 procedure, factored out from ...
1909 (top level): ... here. Add "set displaced-stepping" testing axis.
1910 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
1911 parameter "displaced". Use it.
1912 (top level): Use foreach and add "set displaced-stepping" testing
1913 axis.
1914
ebc90b50
PA
19152015-04-10 Pedro Alves <palves@redhat.com>
1916
1917 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
1918 Remove comment.
1919 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
1920 both the address of the instruction that triggers the watchpoint
1921 and the address of the instruction immediately after, and use
1922 those addresses for the test. Fix comment.
1923
8f572e5c
PA
19242015-04-10 Pedro Alves <palves@redhat.com>
1925
1926 * gdb.base/sigstep.exp (breakpoint_to_handler)
1927 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
1928 Test "backtrace" in handler.
1929 (breakpoint_over_handler): New parameter 'displaced'. Use it.
1930 (top level): Add new "displaced" test axis to
1931 breakpoint_to_handler, breakpoint_to_handler_entry and
1932 breakpoint_over_handler.
1933
8d707a12
PA
19342015-04-10 Pedro Alves <palves@redhat.com>
1935
1936 PR gdb/18216
1937 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
1938
ef713951
YQ
19392015-04-10 Yao Qi <yao.qi@linaro.org>
1940
1941 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
1942 (test_add_rn_pc): New function.
1943 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
1944 (top level): Invoke test_add_rn_pc.
1945
906d60cf
PA
19462015-04-10 Pedro Alves <palves@redhat.com>
1947
1948 PR gdb/13858
1949 * gdb.base/step-over-no-symbols.exp: New file.
1950
f2983cc3
AW
19512015-04-09 Andy Wingo <wingo@igalia.com>
1952
1953 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
1954 after the Python tests.
1955
6d62641c
SDJ
19562015-04-08 Keith Seitz <keiths@redhat.com>
1957
1958 PR python/16699
1959 * gdb.python/py-completion.exp: New tests for completion.
1960 * gdb.python/py-completion.py (CompleteLimit1): New class.
1961 (CompleteLimit2): Likewise.
1962 (CompleteLimit3): Likewise.
1963 (CompleteLimit4): Likewise.
1964 (CompleteLimit5): Likewise.
1965 (CompleteLimit6): Likewise.
1966 (CompleteLimit7): Likewise.
1967
f3770638
PA
19682015-04-08 Pedro Alves <palves@redhat.com>
1969
1970 PR gdb/18214
1971 PR gdb/18216
1972 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
1973 function.
1974 (main): Install it as SIGUSR1 handler.
1975 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
1976 parameter. Always use "setup" as prefix. Toggle "set
1977 displaced-stepping" off/on depending on global. Don't switch to
1978 thread 1 here.
1979 (top level): Add displaced stepping "off/on" test axis. Update
1980 "setup" calls. Wrap each subtest with with_test_prefix. Test
1981 continuing with a queued signal in each thread.
1982
4496bed7
PA
19832015-04-08 Pedro Alves <palves@redhat.com>
1984
1985 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
1986 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
1987 gdb_breakpoint instead of gdb_test that doesn't expect anything.
1988 Return early if running to main fails.
1989 * gdb.trace/while-stepping.exp: Likewise.
1990
b97fde92
PA
19912015-04-07 Pedro Alves <palves@redhat.com>
1992
1993 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
1994 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
1995 interact with inferior program.
1996
f71c18e7
PA
19972015-04-07 Pedro Alves <palves@redhat.com>
1998
1999 * lib/gdb.exp (inferior_spawn_id): New global.
2000 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
2001 spawn id after processing the user code.
2002 (default_gdb_start): Set inferior_spawn_id.
2003 (send_inferior): New procedure.
2004 * lib/gdbserver-support.exp (gdbserver_start): Set
2005 inferior_spawn_id.
2006 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
2007
6423214f
PA
20082015-04-07 Pedro Alves <palves@redhat.com>
2009
2010 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
2011 * lib/gdbserver-support.exp (gdbserver_start): Make
2012 $server_spawn_id global.
2013 (gdbserver_start): Don't wait for gdbserver's spawn id with
2014 expect_background.
2015 (close_gdbserver): New procedure.
2016 (gdb_exit): Rename the default version and reimplement.
2017
71c0ee8c
PA
20182015-04-07 Pedro Alves <palves@redhat.com>
2019
72f4393d 2020 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
2021 append the substituted item, not the original item.
2022
203bc29b
PA
20232015-04-07 Pedro Alves <palves@redhat.com>
2024
2025 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
2026 gdb_expect.
2027
508a3ddf
PA
20282015-04-07 Pedro Alves <palves@redhat.com>
2029
2030 * gdb.base/interrupt.exp: Don't handle the case of the inferior
2031 output appearing once only.
2032
9f6dbe2b
PA
20332015-04-07 Pedro Alves <palves@redhat.com>
2034
2035 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
2036 that doesn't expect anything. Return early if running to main
2037 fails.
2038
337532fa
YQ
20392015-04-07 Yao Qi <yao.qi@linaro.org>
2040
2041 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
2042 (child_function): Call alarm.
2043 (main): Move call to alarm into the loop.
2044 * gdb.threads/non-stop-fair-events.exp: Build program with
2045 -DTIMEOUT=$timeout.
2046
01b622d4
DE
20472015-04-06 Doug Evans <xdje42@gmail.com>
2048
2049 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
2050 Fix dest parameter to board_info.
2051 (fpc_compile): Ditto.
2052 (gdb_compile_pascal): Rename dest arg to destfile.
2053
961f4160
PMR
20542015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
2055
2056 * gdb.ada/funcall_ref.exp: New file.
2057 * gdb.ada/funcall_ref/foo.adb: New file.
2058
cafda597
YQ
20592015-04-02 Yao Qi <yao.qi@linaro.org>
2060
2061 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
2062 is remote.
2063
fed040c6
GB
20642015-04-02 Gary Benson <gbenson@redhat.com>
2065
2066 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
2067
d11916aa
SS
20682015-04-01 Sasha Smundak <asmundak@google.com>
2069
2070 * gdb.python/py-unwind-maint.c: New file.
2071 * gdb.python/py-unwind-maint.exp: New test.
2072 * gdb.python/py-unwind-maint.py: New file.
2073 * gdb.python/py-unwind.c: New file.
2074 * gdb.python/py-unwind.exp: New test.
2075 * gdb.python/py-unwind.py: New test.
2076
a1471180
PA
20772015-04-01 Pedro Alves <palves@redhat.com>
2078
2079 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
2080 to fail instead of non-existent $test.
2081
0bbeccb1
PA
20822015-04-01 Pedro Alves <palves@redhat.com>
2083
2084 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
2085 GDBFLAGS if not empty.
2086
3c724c8c
PMR
20872015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
2088
2089 * gdb.ada/complete.exp: Remove "multi_line".
2090 * gdb.ada/info_exc.exp: Remove "multi_line".
2091 * gdb.ada/packed_tagged.exp: Remove "multi_line".
2092 * gdb.ada/ptype_field.exp: Remove "multi_line".
2093 * gdb.ada/sym_print_name.exp: Remove "multi_line".
2094 * gdb.ada/tagged.exp: Remove "multi_line".
2095 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
2096 [multi_line ...]
2097 * gdb.btrace/delta.exp: Likewise.
2098 * gdb.btrace/exception.exp: Likewise.
2099 * gdb.btrace/function_call_history.exp: Likewise.
2100 * gdb.btrace/instruction_history.exp: Likewise.
2101 * gdb.btrace/nohist.exp: Likewise.
2102 * gdb.btrace/record_goto.exp: Likewise.
2103 * gdb.btrace/segv.exp: Likewise.
2104 * gdb.btrace/stepi.exp: Likewise.
2105 * gdb.btrace/tailcall.exp: Likewise.
2106 * gdb.btrace/unknown_functions.exp: Likewise.
2107 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
2108 * lib/gdb.exp: Add the "multi_line" helper.
2109
4eec2deb
PA
21102015-04-01 Pedro Alves <palves@redhat.com>
2111
2112 * gdb.threads/tid-reuse.c: New file.
2113 * gdb.threads/tid-reuse.exp: New file.
2114
df8411da
SDJ
21152015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
2116
2117 PR corefiles/16092
2118 * gdb.base/coredump-filter.c: New file.
2119 * gdb.base/coredump-filter.exp: Likewise.
2120
6ef37366
PM
21212015-03-27 Petr Machata <pmachata@redhat.com>
2122
2123 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
2124 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
2125 (Dwarf::assemble): Initialize them.
2126 (Dwarf::lines): New function.
2127
7ec911b0
JT
21282015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
2129
2130 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
2131 SYMBOL_PREFIX for x86_64-*-cygwin.
2132
ff908ebf
AW
21332015-03-26 Andy Wingo <wingo@igalia.com>
2134
2135 PR symtab/18148
2136 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
2137 const_value but not a location.
2138 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
2139 location defined in non-main CUs are visible.
2140
6d5f0679
YQ
21412015-03-26 Yao Qi <yao.qi@linaro.org>
2142
2143 PR testsuite/18139
2144 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
2145 Add a line number entry for the same line.
2146 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
2147 Add a line number entry for the same line.
2148
2898689b
YQ
21492015-03-26 Yao Qi <yao.qi@linaro.org>
2150
2151 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
2152 .int 0.
2153 (func): Likewise. Add .Lfunc_1 label.
2154 Use .Lfunc_1 label.
2155 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
2156 .int 0.
2157 (func): Likewise.
2158 Use .Lfunc_1 label.
2159
85180498
YQ
21602015-03-26 Yao Qi <yao.qi@linaro.org>
2161
2162 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
2163 Call gdb_compile instead to compile each .s files without debug
2164 information.
2165
8aa08a8d
YQ
21662015-03-26 Yao Qi <yao.qi@linaro.org>
2167
2168 * gdb.base/savedregs.exp (process_saved_regs): Make
2169 "Saved registers:" optional in the pattern.
2170
66849923
MM
21712015-03-25 Markus Metzger <markus.t.metzger@intel.com>
2172
2173 * gdb.btrace/next.exp: Merged into step.exp.
2174 * gdb.btrace/finish.exp: Merged into step.exp.
2175 * gdb.btrace/nexti.exp: Merged into stepi.exp.
2176 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
2177 "record goto" and checking the exact replay position.
2178 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
2179 check for "Recording format" in "info record" output.
2180 * gdb.btrace/record_goto.exp: Choose test file based on target.
2181 * gdb.btrace/x86-record_goto.S: Renamed into ...
2182 * gdb.btrace/x86_64-record_goto.S: ... this.
2183 * gdb.btrace/i686-record_goto.S: New.
2184 * gdb.btrace/x86-tailcall.S: Renamed into ...
2185 * gdb.btrace/x86_64-tailcall.S: ... this.
2186 * gdb.btrace/i686-tailcall.S: New.
2187 * gdb.btrace/x86-tailcall.c: Renamed into ...
2188 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
2189 separate statements. Update test.
2190 * gdb.btrace/delta.exp: Use record_goto.c as test file.
2191 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
2192 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
2193 * gdb.btrace/tailcall.exp: Choose test file based on target.
2194 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
2195
11cc1b74
MM
21962015-03-25 Markus Metzger <markus.t.metzger@intel.com>
2197
2198 * gdb.btrace/exception.exp: Increase BTS buffer size.
2199
a25d8bf9
PA
22002015-03-24 Pedro Alves <palves@redhat.com>
2201
2202 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
2203
856e7dd6
PA
22042015-03-24 Pedro Alves <palves@redhat.com>
2205
2206 * gdb.threads/schedlock.exp (test_step): No longer expect that
2207 "set scheduler-locking step" with "next" over a function call runs
2208 threads unlocked.
2209
ad235a41
AT
22102015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
2211
2212 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
2213
15630549
AT
22142015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
2215
2216 PR breakpoints/16466
2217 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
2218 * gdb.mi/mi-pending.c (thread_func): New function.
2219 (int main): Add threading support required.
2220 * gdb.mi/mi-pending.exp: Add tests for this issue.
2221 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
2222 (pendfunc2): Remove stdio dependency.
2223 * gdb.mi/mi-pendshr2.c: New file.
2224
693dca06
KS
22252015-03-23 Keith Seitz <keiths@redhat.com>
2226
2227 * gdb.linespec/keywords.c: New file.
2228 * gdb.linespec/keywords.exp: New file.
2229
7e993ebf
KS
22302015-03-23 Keith Seitz <keiths@redhat.com>
2231
2232 PR gdb/18021
2233 * gdb.dwarf2/staticvirtual.exp: New test.
2234
bc23328c
JK
22352015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2236
2237 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
2238 * README: Remove HP-UX and gdb.hp.
2239 (configuration):
2240 * configure: Regenerate.
2241 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
2242 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
2243 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
2244 gdb.hp/gdb.defects/Makefile.
2245 * gdb.hp/Makefile.in: File deleted.
2246 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
2247 * gdb.hp/gdb.aCC/optimize.c: File deleted.
2248 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
2249 * gdb.hp/gdb.aCC/run.c: File deleted.
2250 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
2251 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
2252 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
2253 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
2254 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
2255 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
2256 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
2257 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
2258 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
2259 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
2260 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
2261 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
2262 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
2263 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
2264 * gdb.hp/gdb.base-hp/reg.s: File deleted.
2265 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
2266 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
2267 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
2268 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
2269 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
2270 * gdb.hp/gdb.compat/Makefile.in: File deleted.
2271 * gdb.hp/gdb.compat/average.c: File deleted.
2272 * gdb.hp/gdb.compat/sum.c: File deleted.
2273 * gdb.hp/gdb.compat/xdb.c: File deleted.
2274 * gdb.hp/gdb.compat/xdb0.c: File deleted.
2275 * gdb.hp/gdb.compat/xdb0.h: File deleted.
2276 * gdb.hp/gdb.compat/xdb1.c: File deleted.
2277 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
2278 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
2279 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
2280 * gdb.hp/gdb.defects/Makefile.in: File deleted.
2281 * gdb.hp/gdb.defects/bs14602.c: File deleted.
2282 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
2283 * gdb.hp/gdb.defects/solib-d.c: File deleted.
2284 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
2285 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
2286 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
2287 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
2288 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
2289 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
2290 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
2291 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
2292 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
2293 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
2294 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
2295 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
2296 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
2297 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
2298 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
2299 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
2300 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
2301 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
2302 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
2303 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
2304 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
2305 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
2306 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
2307 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
2308 * gdb.hp/tools/odump: File deleted.
2309
8bf3b159
PA
23102015-03-19 Pedro Alves <palves@redhat.com>
2311
2312 * gdb.threads/continue-pending-status.exp (saw_thread_2)
2313 (saw_thread_3): New globals.
2314 (top level): Increment them when an event for the corresponding
2315 thread is seen.
2316 (no thread starvation): New test.
2317
eb54c8bf
PA
23182015-03-19 Pedro Alves <palves@redhat.com>
2319
2320 * gdb.threads/continue-pending-status.c: New file.
2321 * gdb.threads/continue-pending-status.exp: New file.
2322
32d2e5d6
PA
23232015-03-18 Pedro Alves <palves@redhat.com>
2324
2325 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
2326 Use gdb_is_target_remote instead of is_remote. Use
2327 gdb_test_multiple instead of gdb_expect. Exit early if
2328 gdb_test_multiple hits its internal matches. Tighten stepi tests
2329 expected output. Fail on exit with any signal, instead of just
2330 SIGILL.
2331
f68f11b7
YQ
23322015-03-18 Yao Qi <yao.qi@linaro.org>
2333
2334 PR tdep/18107
2335 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
2336 variable.
2337 * gdb.base/catch-syscall.exp: Don't skip it on
2338 aarch64*-*-linux* target. Remove elements in all_syscalls.
2339 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
2340 target.
2341 (setup_all_syscalls): New proc.
2342
ca5fd19b
YQ
23432015-03-16 Yao Qi <yao.qi@linaro.org>
2344
2345 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
2346 (top level): Skip tests if valid_addr_p returns false for
2347 $cmd1 or $cmd2.
2348
85642ba0
AW
23492015-03-11 Andy Wingo <wingo@igalia.com>
2350
2351 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
2352
e03f9645
YQ
23532015-03-11 Yao Qi <yao.qi@linaro.org>
2354
2355 * gdb.base/catch-syscall.exp: Fix typo in comments.
2356
5d0962b2
YQ
23572015-03-11 Yao Qi <yao.qi@linaro.org>
2358
2359 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
2360
b2df3cef
PA
23612015-03-09 Pedro Alves <palves@redhat.com>
2362
2363 * dg-extract-results.py: Delete.
2364
ef878e53
PA
23652015-03-09 Pedro Alves <palves@redhat.com>
2366
2367 Merge dg-extract-results.sh from GCC upstream (r218843).
2368
2369 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
2370 * dg-extract-results.sh: Use --text with grep to avoid issues with
2371 binary files. Fall back to cat -v, if that doesn't work.
2372
9494d219
PA
23732015-03-05 Pedro Alves <palves@redhat.com>
2374
2375 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
2376
a8d9763a
SM
23772015-03-04 Simon Marchi <simon.marchi@ericsson.com>
2378
2379 * lib/mi-support.exp (mi_expect_interrupt): Accept
2380 alternative event for when in all-stop mode.
2381
be9957b8
PA
23822015-03-04 Pedro Alves <palves@redhat.com>
2383
2384 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
2385
d57be0f4 23862015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
2387
2388 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
2389
c214c7cf
AA
23902015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
2391
2392 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
2393 regexps for GDB's current line display, accept a hex address
2394 preceding the line number.
2395
6d74a497
AA
23962015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
2397
2398 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
2399 the 'arch1' variable for "s390*-linux*" targets.
2400
511aee7c
PA
24012015-03-04 Pedro Alves <palves@redhat.com>
2402
2403 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
2404 (main): Pass missing retval argument to pthread_join call.
2405
95e50b27
PA
24062015-03-02 Pedro Alves <palves@redhat.com>
2407
2408 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
2409 (top level): Call do_test with non-stop as well.
2410
28054d69
PA
24112015-03-02 Pedro Alves <palves@redhat.com>
2412
2413 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
2414 -1.
2415
4fa5d7b4
AA
24162015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
2417
2418 * gdb.arch/s390-vregs.exp: New test.
2419 * gdb.arch/s390-vregs.S: New file.
2420
97c18565
PA
24212015-02-27 Pedro Alves <palves@redhat.com>
2422
2423 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
2424 call to catch_command_errors.
2425 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
2426 catch_command_errors.
2427
a37bfa30
PA
24282015-02-27 Pedro Alves <palves@redhat.com>
2429
2430 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
2431 "true" for boolean result.
2432 * gdb.gdb/selftest.exp (test_with_self): Also accept full
2433 prototype of main.
2434
6f98576f
PA
24352015-02-27 Pedro Alves <palves@redhat.com>
2436
2437 * lib/unbuffer_output.c: New file.
2438 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
2439 (main): Call gdb_unbuffer_output.
2440
eba5ab56
YQ
24412015-02-27 Yao Qi <yao.qi@linaro.org>
2442
2443 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
2444 target.
2445
0def5aaa
DE
24462015-02-26 Doug Evans <dje@google.com>
2447
2448 * gdb.cp/class2.cc (Dbase, D): New classes.
2449 (main): New local delta.
2450 * gdb.cp/class2.exp: Test printing delta.
2451 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
2452 (dynbar): New global.
2453 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
2454
081a1c2c
JK
24552015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2456
2457 * gdb.compile/compile-ifunc.c: New file.
2458 * gdb.compile/compile-ifunc.exp: New file.
2459
2f41223f
AT
24602015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
2461
2462 * gdb.base/structs.exp: Check for correct struct on finish.
2463
03eddd80
YQ
24642015-02-26 Yao Qi <yao.qi@linaro.org>
2465
2466 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
2467 is zero.
2468
80c57053
JK
24692015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2470
2471 * gdb.arch/cordic.ko.bz2: New file.
2472 * gdb.arch/cordic.ko.debug.bz2: New file.
2473 * gdb.arch/ppc64-symtab-cordic.exp: New file.
2474
21613c12
YQ
24752015-02-25 Yao Qi <yao.qi@linaro.org>
2476
2477 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
2478 aarch64*-*-* target.
2479
d8b901ed
PA
24802015-02-23 Pedro Alves <palves@redhat.com>
2481
2482 * lib/gdb.exp (delete_breakpoints): Rewrite using
2483 gdb_test_multiple.
2484
e5b85ead
PA
24852015-02-23 Pedro Alves <palves@redhat.com>
2486
2487 * gdb.base/info-os.c: Include stdlib.h.
2488
85c3a371
DE
24892015-02-22 Doug Evans <xdje42@gmail.com>
2490
2491 PR symtab/17855
2492 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
2493 is read after symbols have been re-read.
2494 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
2495 * gdb.ada/exec_changed/second.adb (Second): Ditto.
2496
96553a0c
DE
24972015-02-21 Doug Evans <dje@google.com>
2498
2499 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
2500
97a0c697
JK
25012015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2502
2503 PR corefiles/17808
2504 * gdb.arch/i386-biarch-core.core.bz2: New file.
2505 * gdb.arch/i386-biarch-core.exp: New file.
2506
a47cd6e9
PA
25072015-02-21 Pedro Alves <palves@redhat.com>
2508
2509 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
2510 runto_main fails.
2511
c5facdc4
PA
25122015-02-20 Pedro Alves <palves@redhat.com>
2513
2514 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
2515 info probes.
2516
2db9a427
PA
25172015-02-20 Pedro Alves <palves@redhat.com>
2518
2519 * gdb.threads/multi-create-ns-info-thr.exp: New file.
2520
60fb7e9e
PA
25212015-02-20 Pedro Alves <palves@redhat.com>
2522
2523 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
2524 clean_restart before gdb_target_supports_trace.
2525
5c5019c2
PA
25262015-02-20 Pedro Alves <palves@redhat.com>
2527
2528 PR threads/18006
2529 * gdb.threads/clone-thread_db.c: New file.
2530 * gdb.threads/clone-thread_db.exp: New file.
2531
c9587f88
AT
25322015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
2533
2534 PR breakpoints/16812
2535 * gdb.base/catch-gdb-caused-signals.c: New file.
2536 * gdb.base/catch-gdb-caused-signals.exp: New file.
2537
f6a88844
JM
25382015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
2539
2540 * configure: Regenerated.
2541 * configure.ac: Use GDB_AC_TRANSFORM.
2542 * aclocal.m4: sinclude ../transform.m4.
2543
497c491b
JM
25442015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2545
2546 * lib/dtrace.exp: New file.
2547 * gdb.base/dtrace-probe.exp: Likewise.
2548 * gdb.base/dtrace-probe.d: Likewise.
2549 * gdb.base/dtrace-probe.c: Likewise.
2550 * lib/pdtrace.in: Likewise.
2551 * configure.ac: Output variables with the transformed names of
2552 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
2553 * configure: Regenerated.
2554
03e98035
JM
25552015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2556
2557 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
2558 expected message when trying to access $_probe_* convenience
2559 variables while not on a probe.
2560
63cc30e9
JK
25612015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2562
2563 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
2564
0703599a
PA
25652015-02-11 Pedro Alves <pedro@codesourcery.com>
2566
2567 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
2568 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
2569
7e60a48e
DE
25702015-02-10 Doug Evans <xdje42@gmail.com>
2571
2572 * lib/gdb.exp (gdb_load): Always return a result.
2573
01b088bc
PA
25742015-02-10 Pedro Alves <palves@redhat.com>
2575
2576 * gdb.threads/signal-sigtrap.c: New file.
2577 * gdb.threads/signal-sigtrap.exp: New file.
2578
b05ec7a5
AT
25792015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
2580
2581 * gdb.trace/no-attach-trace.c: New file.
2582 * gdb.trace/no-attach-trace.exp: New file.
2583
a2c2acaf
MW
25842015-02-09 Mark Wielaard <mjw@redhat.com>
2585
2586 * gdb.dwarf2/atomic.c: New file.
2587 * gdb.dwarf2/atomic-type.exp: Likewise.
2588
31fd9caa
MM
25892015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2590
2591 * gdb.btrace/buffer-size.exp: Update "info record" output.
2592 * gdb.btrace/delta.exp: Update "info record" output.
2593 * gdb.btrace/enable.exp: Update "info record" output.
2594 * gdb.btrace/finish.exp: Update "info record" output.
2595 * gdb.btrace/instruction_history.exp: Update "info record" output.
2596 * gdb.btrace/next.exp: Update "info record" output.
2597 * gdb.btrace/nexti.exp: Update "info record" output.
2598 * gdb.btrace/step.exp: Update "info record" output.
2599 * gdb.btrace/stepi.exp: Update "info record" output.
2600 * gdb.btrace/nohist.exp: Update "info record" output.
2601
d33501a5
MM
26022015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2603
2604 * gdb.btrace/buffer-size: New.
2605
f4abbc16
MM
26062015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2607
2608 * gdb.btrace/delta.exp: Update "info record" output.
2609 * gdb.btrace/enable.exp: Update "info record" output.
2610 * gdb.btrace/finish.exp: Update "info record" output.
2611 * gdb.btrace/instruction_history.exp: Update "info record" output.
2612 * gdb.btrace/next.exp: Update "info record" output.
2613 * gdb.btrace/nexti.exp: Update "info record" output.
2614 * gdb.btrace/step.exp: Update "info record" output.
2615 * gdb.btrace/stepi.exp: Update "info record" output.
2616 * gdb.btrace/nohist.exp: Update "info record" output.
2617
b9d61307
SM
26182015-02-06 Simon Marchi <simon.marchi@ericsson.com>
2619
2620 PR gdb/15678
2621 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
2622
e584fdbc
PA
26232015-02-06 Pedro Alves <palves@redhat.com>
2624
2625 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
2626 macro.
2627 (seconds_left, again): New globals.
2628 (main): Wait seconds_left in a 1-second sleep loop instead of
2629 sleeping 180 seconds. If 'again' is set, reset the seconds
2630 counter.
2631 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
2632 'again' in the inferior before detaching. Print the seconds left.
2633 (options): New global.
2634 (top level): Build program with -DTIMEOUT=$timeout.
2635
77f41761
PA
26362015-02-06 Pedro Alves <palves@redhat.com>
2637
2638 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
2639 determine how many seconds to pass to 'alarm'.
2640 * gdb.base/gdb-sigterm.exp (top level): Build program with
2641 -DTIMEOUT=$timeout.
2642 (do_test): Return success/failure indication. Add more verbose
2643 logging. Don't fail if 200 single steps are seen. Instead, fail
2644 when the test times out.
2645 (passes): New global.
2646 (top level): Break the testing loop if testing fails on any
2647 iteration. Use gdb_assert.
2648
b9394193
DB
26492015-02-04 Don Breazeal <donb@codesourcery.com>
2650
2651 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
2652 and initialize them.
2653 (ipc_cleanup): New function.
2654 (main): Don't declare shmid, semid, and msqid. Add a call to
2655 atexit so that we call ipc_cleanup on exit.
2656
42d9e528
PA
26572015-02-04 Pedro Alves <palves@redhat.com>
2658
2659 * boards/native-extended-gdbserver.exp: Remove any target variant
2660 specifications from the board name before clearing the isremote
2661 flag from board_info.
2662
ae6ae975
DE
26632015-01-31 Doug Evans <xdje42@gmail.com>
2664
2665 * gdb.base/maint.exp <maint print type argc>: Update expected output.
2666
cfb069a8
GB
26672015-01-31 Gary Benson <gbenson@redhat.com>
2668
2669 * gdb.base/completion.exp: Disable completion limiting for
2670 existing tests. Add new tests to check completion limiting.
2671 * gdb.linespec/ls-errs.exp: Disable completion limiting.
2672
5dd31d79
DE
26732015-01-31 Doug Evans <xdje42@gmail.com>
2674
2675 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
2676
9f050062
DE
26772015-01-31 Doug Evans <xdje42@gmail.com>
2678
2679 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
2680 entries. Duplicate file section script entries.
2681 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
2682 inlined entries. Add test for safe-path rejection.
2683 * gdb.python/py-section-script.c: Add duplicate inlined section script
2684 entries. Duplicate file section script entries.
2685 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
2686 inlined entries. Add test for safe-path rejection.
2687
df25ebbd
JB
26882015-01-29 Joel Brobecker <brobecker@adacore.com>
2689
2690 * gdb.ada/disc_arr_bound: New testcase.
2691
4a0ca9ec
JB
26922015-01-29 Joel Brobecker <brobecker@adacore.com>
2693
2694 * gdb.ada/mi_var_array: New testcase.
2695
3a8b707a
DE
26962015-01-27 Doug Evans <dje@google.com>
2697
2698 * gdb.python/py-objfile.exp: Add tests for objfile.username.
2699 Add test for objfile.filename, objfile.username after objfile
2700 has been unloaded.
2701
f8313f6e
JB
27022015-01-26 Joel Brobecker <brobecker@adacore.com>
2703
2704 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
2705 the second test to print the name attribute of value
2706 returned by the call to gdb.lookup_type, and adjust
2707 the expected output accordingly.
2708
37bc665e
MW
27092015-01-25 Mark Wielaard <mjw@redhat.com>
2710
2711 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
2712 * gdb.base/disp-step-fork.c: Include unistd.h.
2713 * gdb.base/siginfo-obj.c: Include stdio.h.
2714 * gdb.base/siginfo-thread.c: Likewise.
2715 * gdb.mi/non-stop.c: Include unistd.h.
2716 * gdb.mi/nsthrexec.c: Include stdio.h.
2717 * gdb.mi/pthreads.c: Include unistd.h.
2718 * gdb.modula2/unbounded1.c (main): Declare returns int.
2719 * gdb.reverse/consecutive-reverse.c: Likewise.
2720 * gdb.threads/create-fail.c: Include unistd.h.
2721 * gdb.threads/killed.c: Likewise.
2722 * gdb.threads/linux-dp.c: Likewise.
2723 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
2724 * gdb.threads/non-ldr-exc-2.c: Likewise.
2725 * gdb.threads/non-ldr-exc-3.c: Likewise.
2726 * gdb.threads/non-ldr-exc-4.c: Likewise.
2727 * gdb.threads/pthreads.c: Include unistd.h.
2728 (main): Declare returns int.
2729 * gdb.threads/tls-main.c (foo): New declaration.
2730 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
2731
f7e5394d
SM
27322015-01-23 Simon Marchi <simon.marchi@ericsson.com>
2733
2734 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
2735 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
2736
743649fd
MW
27372015-01-15 Mark Wielaard <mjw@redhat.com>
2738
2739 * gdb.base/noreturn-return.c: New file.
2740 * gdb.base/noreturn-return.exp: New file.
2741 * gdb.base/noreturn-finish.c: New file.
2742 * gdb.base/noreturn-finish.exp: New file.
2743
198297aa
PA
27442015-01-23 Pedro Alves <palves@redhat.com>
2745
2746 * gdb.threads/continue-pending-after-query.c: New file.
2747 * gdb.threads/continue-pending-after-query.exp: New file.
2748
717cf30c
AG
27492015-01-22 Anders Granlund <anders.granlund@ericsson.com>
2750 Simon Marchi <simon.marchi@ericsson.com>
2751
2752 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
2753 * gdb.base/valgrind-db-attach.exp: Same.
2754 * gdb.base/valgrind-infcall.exp: Same.
2755 * lib/mi-support.exp (default_mi_gdb_start): Same.
2756 * lib/prompt.exp (default_prompt_gdb_start): Same.
2757 * lib/gdb.exp (default_gdb_spawn): Same.
2758 (gdb_interact): New.
2759
2760
4b62a76e
JK
27612015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2762
2763 * gdb.compile/compile.exp (pointer to jit function): New test.
2764
b4cdae6f
WW
27652015-01-17 Wei-cheng Wang <cole945@gmail.com>
2766
2767 * lib/gdb.exp (supports_process_record): Return true for
2768 powerpc*-*-linux*.
2769 (supports_reverse): Likewise.
2770
d221e7ef
DB
27712015-01-15 Don Breazeal <donb@codesourcery.com>
2772
2773 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
2774 instead of checking whether the target board is remote and
2775 use spawn_wait_for_attach instead of exec/sleep.
2776 * gdb.base/attach-twice.exp: Likewise.
2777
bafffb51
JB
27782015-01-15 Joel Brobecker <brobecker@adacore.com>
2779
2780 * gdb.ada/var_arr_attrs: New testcase.
2781
5589af0e
PA
27822015-01-14 Pedro Alves <palves@redhat.com>
2783 Joel Brobecker <brobecker@adacore.com>
2784
2785 PR gdb/17525
2786 * gdb.base/bp-cmds-execution-x-script.c: New file.
2787 * gdb.base/bp-cmds-execution-x-script.exp: New file.
2788 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
2789
6c400b59
PA
27902015-01-14 Pedro Alves <palves@redhat.com>
2791
2792 PR cli/17828
2793 * gdb.base/batch-preserve-term-settings.c: New file.
2794 * gdb.base/batch-preserve-term-settings.exp: New file.
2795
e02c96a7
DE
27962015-01-13 Doug Evans <dje@google.com>
2797
2798 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
2799 binary.
2800
576fd14c
JB
28012015-01-13 Joel Brobecker <brobecker@adacore.com>
2802
2803 * Makefile.in (clean mostlyclean): Do not delete *.py.
2804
04dccad0
JB
28052015-01-13 Joel Brobecker <brobecker@adacore.com>
2806
2807 * gdb.python/py-lookup-type.exp: New file.
2808
3d230f71
PA
28092015-01-12 Pedro Alves <palves@redhat.com>
2810
2811 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
2812 restore GDBFLAGS before returning.
2813
7e67715d
JK
28142015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2815
2816 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
2817 is_amd64_regs_target and is_x86_like_target.
2818
f2e0d4b4
DE
28192015-01-11 Doug Evans <xdje42@gmail.com>
2820
2821 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
2822 is given without an explicit form.
2823 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
2824 attributes.
2825 * gdb.dwarf/corrupt.exp: Ditto.
2826 * gdb.dwarf2/enum-type.exp: Ditto.
2827 * gdb.trace/entry-values.exp: Ditto.
2828 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
2829
439250fb
DE
28302015-01-11 Doug Evans <xdje42@gmail.com>
2831
2832 PR gdb/15830
2833 * gdb.base/maint.exp: Remove references to "maint demangle".
2834 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
2835 Add tests for explicitly specifying language to demangle.
2836 * gdb.dlang/demangle.exp: Ditto.
2837
ede9f622
PA
28382015-01-09 Pedro Alves <palves@redhat.com>
2839
2840 * gdb.threads/non-stop-fair-events.c: New file.
2841 * gdb.threads/non-stop-fair-events.exp: New file.
2842
a7b796db
PA
28432015-01-09 Pedro Alves <palves@redhat.com>
2844
2845 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
2846 the global scope. Set a breakpoint after all threads are started
2847 rather than stepping over two source lines. Expect the prompt.
2848 * gdb.base/watch_thread_num.c (threads_started_barrier): New
2849 global.
2850 (NUM): Now 15.
2851 (main): Use threads_started_barrier to wait for all threads to
2852 start. Main thread no longer calls thread_function. Exit after
2853 180 seconds.
2854 (loop): New function.
2855 (thread_function): Wait on threads_started_barrier barrier. Call
2856 'loop' at each iteration.
2857 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
2858 threads have started, instead of hardcoding number of "next"
2859 steps. Use an access watchpoint instead of a write watchpoint.
2860
9665ffdd
PA
28612015-01-09 Pedro Alves <palves@redhat.com>
2862
2863 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
2864 (thread_func): Wait on barrier.
2865 (main): Wait for all threads to start before stopping GDB.
2866 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
2867 global.
2868 (thread1_func, thread2_func): Wait on barrier.
2869 (main): Wait for all threads to start before stopping GDB.
2870 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
2871 New global.
2872 (thread1_func, thread2_func): Wait on barrier.
2873 (main): Wait for all threads to start before stopping GDB.
2874
c945a99f
PA
28752015-01-09 Pedro Alves <palves@redhat.com>
2876
2877 * gdb.threads/attach-many-short-lived-threads.c: New file.
2878 * gdb.threads/attach-many-short-lived-threads.exp: New file.
2879
c1a747c1
PA
28802014-01-09 Pedro Alves <palves@redhat.com>
2881
2882 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
2883 instead of to thread 2.
2884 * gdb.threads/signal-command-multiple-signals-pending.c (main):
2885 Add barrier around each pthread_create call instead of around all
2886 calls.
2887 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
2888 Set a break on thread_function and have the child threads hit it
2889 one at at a time.
2890
60b3033e
PA
28912015-01-09 Pedro Alves <palves@redhat.com>
2892
2893 * lib/gdb.exp (can_spawn_for_attach): New procedure.
2894 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
2895 false.
2896 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
2897 checking whether the target board is remote.
2898 * gdb.multi/multi-attach.exp: Likewise.
2899 * gdb.python/py-sync-interp.exp: Likewise.
2900 * gdb.server/ext-attach.exp: Likewise.
2901 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
2902 tests that need to attach, instead of checking whether the target
2903 board is remote at the top of the file.
2904
acc018ac
YQ
29052015-01-08 Yao Qi <yao@codesourcery.com>
2906
2907 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
2908
50a18af8
JK
29092015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2910
2911 Fix testcase compilation.
2912 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
2913
8503d6e1
JB
29142015-01-06 Joel Brobecker <brobecker@adacore.com>
2915
2916 * gdb.python/py-type.exp: Add a couple test about empty
2917 array creation, and negative-length array creation.
2918
cc73dbcc
DE
29192015-01-02 Doug Evans <xdje42@gmail.com>
2920
2921 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
2922
0300bbc7
DE
29232015-01-02 Doug Evans <dje@google.com>
2924
2925 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
2926
9d85a0ec
YQ
29272014-12-29 Yao Qi <yao@codesourcery.com>
2928
2929 * gdb.trace/entry-values.exp: Update comments. Rename variable
2930 bar_call_foo to returned_from_foo.
2931
87186c6a
MMN
29322014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
2933
2934 PR gdb/17394
2935 * gdb.linespec/break-asm-file.c: New file.
2936 * gdb.linespec/break-asm-file.exp: New file.
2937 * gdb.linespec/break-asm-file0.s: New file.
2938 * gdb.linespec/break-asm-file1.s: New file.
2939
1bab7383
YQ
29402014-12-18 Nigel Stephens <nigel@mips.com>
2941 Maciej W. Rozycki <macro@codesourcery.com>
2942
2943 * gdb.base/float.exp: Handle the new output from "info float" on
2944 MIPS targets.
2945
1bc1068a
JK
29462014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2947
2948 Fix MinGW compilation.
2949 * gdb.compile/compile-ops.exp: Update untested message if
2950 !skip_compile_feature_tests.
2951 * gdb.compile/compile-setjmp.exp: Likewise.
2952 * gdb.compile/compile-tls.exp: Likewise.
2953 * gdb.compile/compile.exp: Likewise.
2954 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
2955 supported on this host".
2956
b6615d10
DE
29572014-12-16 Doug Evans <xdje42@gmail.com>
2958
2959 * boards/stabs.exp: New file.
2960
25dda427
AA
29612014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
2962
2963 * gdb.base/completion.exp: Adjust to format changes of "maint
2964 print user-registers".
2965
bf330350
CU
29662014-12-16 Catalin Udma <catalin.udma@freescale.com>
2967
2968 PR server/17457
2969 * gdb.arch/aarch64-fp.c: New file.
2970 * gdb.arch/aarch64-fp.exp: New file.
2971
395cf596
SDJ
29722014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
2973
2974 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
2975 r210637, r210913, r211666, r215400, r215817).
2976
2977 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
2978 * dg-extract-results.py: New file.
2979 * dg-extract-results.sh: Use it if the environment seems
2980 suitable.
2981
2982 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
2983
2984 * dg-extract-results.py (parse_run): Handle warnings that
2985 are printed before a test harness is run.
2986
2987 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
2988
2989 * dg-extract-results.py (Named): Remove __cmp__ method.
2990 (output_variation): Use a key to sort variation.harnesses.
2991
2992 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
2993
2994 * dg-extract-results.py: For Python 3, force sys.stdout to
2995 handle surrogate escape sequences.
2996 (safe_open): New function.
2997 (output_segment, main): Use it.
2998
2999 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
3000
3001 * dg-extract-results.py (Prog.result_re): Include options
3002 in test name.
3003
3004 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
3005
3006 * dg-extract-results.py (output_variation): Always sort if
3007 do_sum.
3008
e882ef3c
SM
30092014-12-15 Simon Marchi <simon.marchi@ericsson.com>
3010
3011 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
3012 as long as we get pagination notifications.
3013
4992aa20
JM
30142014-12-15 Jason Merrill <jason@redhat.com>
3015
3016 * Makefile.in (check-gdb.%): Restore.
3017 * README: Mention it.
3018
c1b5a1a6
JB
30192014-12-13 Joel Brobecker <brobecker@adacore.com>
3020
3021 * gdb.ada/str_uninit: New testcase.
3022
5537b577
JK
30232014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3024
3025 PR symtab/17642
3026 * gdb.base/vla-stub-define.c: New file.
3027 * gdb.base/vla-stub.c: New file.
3028 * gdb.base/vla-stub.exp: New file.
3029
bb2ec1b3
TT
30302014-12-12 Phil Muldoon <pmuldoon@redhat.com>
3031 Jan Kratochvil <jan.kratochvil@redhat.com>
3032 Tom Tromey <tromey@redhat.com>
3033
3034 * configure.ac: Add gdb.compile/.
3035 * configure: Regenerate.
3036 * gdb.compile/Makefile.in: New file.
3037 * gdb.compile/compile-ops.exp: New file.
3038 * gdb.compile/compile-ops.c: New file.
3039 * gdb.compile/compile-tls.c: New file.
3040 * gdb.compile/compile-tls.exp: New file.
3041 * gdb.compile/compile-constvar.S: New file.
3042 * gdb.compile/compile-constvar.c: New file.
3043 * gdb.compile/compile-mod.c: New file.
3044 * gdb.compile/compile-nodebug.c: New file.
3045 * gdb.compile/compile-setjmp-mod.c: New file.
3046 * gdb.compile/compile-setjmp.c: New file.
3047 * gdb.compile/compile-setjmp.exp: New file.
3048 * gdb.compile/compile-shlib.c: New file.
3049 * gdb.compile/compile.c: New file.
3050 * gdb.compile/compile.exp: New file.
3051 * lib/gdb.exp (skip_compile_feature_tests): New proc.
3052
4ff709eb
TT
30532014-12-12 Tom Tromey <tromey@redhat.com>
3054
3055 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
3056 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
3057
6dddd6a5
DE
30582014-12-12 Doug Evans <dje@google.com>
3059
3060 * lib/gdb-python.exp (get_python_valueof): New function.
3061 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
3062
71c24708
AA
30632014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3064
3065 * gdb.base/completion.exp: Add test for completion of "info
3066 registers ".
3067
3e29f34a
MR
30682014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
3069
3070 * gdb.base/func-ptrs.c: New file.
3071 * gdb.base/func-ptrs.exp: New file.
3072
fc126975
SM
30732014-12-10 Simon Marchi <simon.marchi@ericsson.com>
3074
3075 PR breakpoints/17012
3076 * gdb.base/dprintf-detach.c: New file.
3077 * gdb.base/dprintf-detach.exp: New file.
3078
0a46d518
SM
30792014-12-10 Simon Marchi <simon.marchi@ericsson.com>
3080
3081 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
3082 * lib/gdb.exp (target_is_gdbserver): New procedure.
3083
a0be3e44
DE
30842014-12-08 Doug Evans <dje@google.com>
3085
3086 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
3087
df1b803a
YQ
30882014-12-05 Yao Qi <yao@codesourcery.com>
3089
3090 * gdb.guile/scm-error.exp: Remove the third argument to
3091 gdb_remote_download.
3092 * gdb.guile/scm-frame-args.exp: Likewise.
3093 * gdb.guile/scm-section-script.exp: Likewise.
3094
ddb9f679
YQ
30952014-12-05 Yao Qi <yao@codesourcery.com>
3096
3097 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
3098
86e4ed39
DE
30992014-12-04 Doug Evans <dje@google.com>
3100
3101 * gdb.python/py-objfile.exp: Add tests for
3102 objfile.add_separate_debug_file.
3103
7c50a931
DE
31042014-12-04 Doug Evans <dje@google.com>
3105
3106 * lib/gdb.exp (get_build_id): New function.
3107 (build_id_debug_filename_get): Rewrite to use it.
3108 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
3109
621661e3
MR
31102014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
3111
3112 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
3113 `method(long)', not just 0x0.
3114 * gdb.cp/nsalias.exp: Align code labels to 4.
3115 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
3116 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
3117 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
3118 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
3119 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
3120 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
3121
29f0c3b7
DE
31222014-12-02 Doug Evans <dje@google.com>
3123
e1e061e7 3124 PR symtab/17602
29f0c3b7 3125 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 3126 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
3127 * gdb.cp/anon-ns.exp: Update.
3128
162078c8
NB
31292014-12-02 Nick Bull <nicholaspbull@gmail.com>
3130
3131 * gdb.python/py-events.py (inferior_call_handler): New.
3132 (register_changed_handler, memory_changed_handler): New.
3133 (test_events.invoke): Register new handlers.
3134 * gdb.python/py-events.exp: Add tests for inferior call,
3135 memory_changed and register_changed events.
3136
fdb09caf
AA
31372014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3138
3139 * gdb.base/execl-update-breakpoints.exp: Specify the link address
3140 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
3141 if the linker doesn't understand this.
3142
55cfb2c4
SM
31432014-12-01 Simon Marchi <simon.marchi@ericsson.com>
3144
3145 * gdb.python/python.exp: Change expected reply to help().
3146
9e8cd6df
YQ
31472014-12-01 Yao Qi <yao@codesourcery.com>
3148
3149 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
3150 AC_CONFIG_SUBDIRS(gdb.gdbtk).
3151 * configure: Re-generated.
3152
6c659fc2
SC
31532014-11-28 Siva Chandra Reddy <sivachandra@google.com>
3154
3155 * gdb.cp/chained-calls.cc: New file.
3156 * gdb.cp/chained-calls.exp: New file.
3157 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
3158
d7fc3181
SM
31592014-11-28 Simon Marchi <simon.marchi@ericsson.com>
3160
3161 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
3162 * gdb.dwarf2/symtab-producer.exp: Same.
3163 * gdb.gdb/python-interrupts.exp: Same.
3164 * gdb.gdb/python-selftest.exp: Same.
3165 * gdb.python/py-linetable.exp: Same.
3166 * gdb.python/py-type.exp: Same.
3167 * gdb.python/py-value-cc.exp: Same.
3168 * gdb.python/py-value.exp: Same.
3169
10e79639
YQ
31702014-11-28 Yao Qi <yao@codesourcery.com>
3171
3172 * gdb.base/break-probes.exp: Match library name prefixed with
3173 sysroot.
3174
f28a0564
SM
31752014-11-27 Simon Marchi <simon.marchi@ericsson.com>
3176
3177 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
3178 test expected output. Add parentheses for the call to print.
3179 Remove L suffix from integers.
3180
3fe1ce1d
DE
31812014-11-26 Doug Evans <dje@google.com>
3182
3183 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
3184
84429e27
YQ
31852014-11-22 Yao Qi <yao@codesourcery.com>
3186
3187 * gdb.trace/entry-values.c: Remove asms.
3188 (foo): Add foo_label.
3189 (bar): Add bar_label.
3190 * gdb.trace/entry-values.exp: Remove code computing foo's
3191 length and bar's length.
3192 (Dwarf::assemble): Invoke function_range for bar and use
3193 MACRO_AT_func for foo.
3194
26741859
YQ
31952014-11-22 Yao Qi <yao@codesourcery.com>
3196
3197 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
3198 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
3199 Use .Lgcc43_procstart instead of gcc43.
3200
45e44d27
JB
32012014-11-21 Joel Brobecker <brobecker@adacore.com>
3202
3203 * gdb.ada/n_arr_bound: New testcase.
3204
458c8db8
SDJ
32052014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
3206
3207 PR breakpoints/10737
3208 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
3209 test_catch_syscall_multi_arch.
3210 (test_catch_syscall_multi_arch): New function.
3211
43f3e411
DE
32122014-11-20 Doug Evans <xdje42@gmail.com>
3213
3214 * gdb.base/maint.exp: Update expected output.
3215
0d7b2549
AA
32162014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3217
3218 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
3219 4-byte instruction on S390.
3220
8908fca5
JB
32212014-11-19 Joel Brobecker <brobecker@adacore.com>
3222
3223 * gdb.ada/arr_arr: New testcase.
3224
4a46959e
JB
32252014-11-19 Joel Brobecker <brobecker@adacore.com>
3226
3227 * gdb.ada/pkd_arr_elem: New Testcase.
3228
470e2f4e
LM
32292014-11-18 Luis Machado <lgustavo@codesourcery.com>
3230
3231 * gdb.reverse/break-precsave: Expect completion message for
3232 core file reads.
3233 * gdb.reverse/consecutive-precsave.exp: Likewise.
3234 * gdb.reverse/finish-precsave.exp: Likewise.
3235 * gdb.reverse/i386-precsave.exp: Likewise.
3236 * gdb.reverse/machinestate-precsave.exp: Likewise.
3237 * gdb.reverse/sigall-precsave.exp: Likewise.
3238 * gdb.reverse/solib-precsave.exp: Likewise.
3239 * gdb.reverse/step-precsave.exp: Likewise.
3240 * gdb.reverse/until-precsave.exp: Likewise.
3241 * gdb.reverse/watch-precsave.exp: Likewise.
3242
a267f3ad
AA
32432014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3244
3245 * gdb.base/bp-permanent.c: Include unistd.h.
3246 * gdb.python/py-framefilter-mi.c (main): Add return type.
3247 * gdb.python/py-framefilter.c (main): Likewise.
3248 * gdb.trace/actions-changed.c (main): Likewise.
3249
12084a9a
AA
32502014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3251
3252 * gdb.mi/until.c: Add eye-catchers.
3253 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
3254 line numbers.
3255
dc7e1a77
AA
32562014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3257
3258 * gdb.base/condbreak.exp: Drop references to removed non-prototype
3259 function header variants in break1.c.
3260 * gdb.base/ena-dis-br.exp: Likewise.
3261 * gdb.base/hbreak2.exp: Likewise.
3262 * gdb.reverse/until-precsave.exp: Drop references to removed
3263 non-prototype function header variants in ur1.c.
3264 * gdb.reverse/until-reverse.exp: Likewise.
3265
41c77605
PM
32662014-11-17 Petr Machata <pmachata@redhat.com>
3267
3268 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
3269 ${_cu_offset_size} bytes abbrev offset.
3270
34248c3a
DE
32712014-11-15 Doug Evans <xdje42@gmail.com>
3272
3273 PR symtab/17559
3274 * gdb.base/line-symtabs.exp: New file.
3275 * gdb.base/line-symtabs.c: New file.
3276 * gdb.base/line-symtabs.h: New file.
3277
646da059
YQ
32782014-11-14 Yao Qi <yao@codesourcery.com>
3279
3280 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
3281 (func): Add label func_label.
3282 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
3283 Replace low_pc and high_pc with MACRO_AT_range.
3284 Replace name, low_pc and high_pc with MACRO_AT_func.
3285
9301ebe6
YQ
32862014-11-14 Yao Qi <yao@codesourcery.com>
3287
3288 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
3289 Replace name, low_pc and high_pc with MACRO_AT_func.
3290
f166b542
YQ
32912014-11-14 Yao Qi <yao@codesourcery.com>
3292
3293 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
3294 produce debug information.
3295 * gdb.dwarf2/implptr-optimized-out.S: Removed.
3296
0f6e71e3
YQ
32972014-11-14 Yao Qi <yao@codesourcery.com>
3298
3299 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
3300 object and get function length.
3301 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
3302 with MACRO_AT_func.
3303 (top-level): Replace gdb_compile and clean_restart with
3304 prepare_for_testing.
3305 * gdb.dwarf2/main.c (main): Add label main_label.
3306
876c4df9
YQ
33072014-11-14 Yao Qi <yao@codesourcery.com>
3308
3309 * lib/dwarf.exp (function_range): New procedure.
3310 (Dwarf::_handle_macro_at_func): New procedure.
3311 (Dwarf::_handle_macro_at_range): New procedure.
3312 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
3313
02ad9cf1
YQ
33142014-11-14 Yao Qi <yao@codesourcery.com>
3315
3316 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
3317 (_handle_attribute): New procedure.
3318
a59add0c
AA
33192014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3320
3321 * gdb.ada/cond_lang/foo.c (callme): Add return type.
3322 * gdb.base/call-sc.c (zed): Likewise.
3323 * gdb.base/checkpoint.c (main): Likewise.
3324 * gdb.base/dump.c (main): Likewise.
3325 * gdb.base/gcore.c (main): Likewise.
3326 * gdb.base/huge.c (main): Likewise.
3327 * gdb.base/multi-forks.c (main): Likewise.
3328 * gdb.base/pr10179-a.c (main): Likewise.
3329 * gdb.base/savedregs.c (main): Likewise.
3330 * gdb.base/sigaltstack.c (main): Likewise.
3331 * gdb.base/siginfo.c (main): Likewise.
3332 * gdb.base/structs.c (zed): Likewise.
3333 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
3334 * gdb.mi/mi-syn-frame.c (main): Likewise.
3335 * gdb.mi/until.c (foo, main): Likewise.
3336 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
3337 * gdb.base/solib-weak.c (foo): Declare.
3338 * gdb.base/attach-twice.c: Include stdio.h.
3339 * gdb.base/weaklib1.c: Likewise.
3340 * gdb.base/weaklib2.c: Likewise.
3341 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
3342 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
3343 unistd.h.
3344 * gdb.base/attach-pie-misread.c: Include stdlib.h.
3345 * gdb.mi/mi-exit-code.c: Likewise.
3346 * gdb.base/break-interp-lib.c: Include string.h.
3347 * gdb.base/coremaker.c: Likewise.
3348 * gdb.base/testenv.c: Likewise.
3349 * gdb.python/py-finish-breakpoint.c: Likewise.
3350 * gdb.base/inferior-died.c: Include sys/wait.h.
3351 * gdb.base/fileio.c: Include time.h.
3352 * gdb.base/async-shell.c: Include unistd.h.
3353 * gdb.base/dprintf-non-stop.c: Likewise.
3354 * gdb.base/info-os.c: Likewise.
3355 * gdb.mi/mi-console.c: Likewise.
3356 * gdb.mi/watch-nonstop.c: Likewise.
3357 * gdb.python/py-events.c: Likewise.
3358 * gdb.base/async.c (baz): Move up before its invocation.
3359 * gdb.base/code_elim2.c (my_global_func): Likewise.
3360 * gdb.base/skip-solib-lib.c (multiply): Likewise.
3361 * gdb.base/advance.c (func2): Likewise.
3362
3b5d5997
AA
33632014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3364
3365 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
3366 variant.
3367 * gdb.base/annota3.c: Likewise.
3368 * gdb.base/async.c: Likewise.
3369 * gdb.base/average.c: Likewise.
3370 * gdb.base/call-ar-st.c: Likewise.
3371 * gdb.base/call-rt-st.c: Likewise.
3372 * gdb.base/call-sc.c: Likewise.
3373 * gdb.base/call-strs.c: Likewise.
3374 * gdb.base/ending-run.c: Likewise.
3375 * gdb.base/execd-prog.c: Likewise.
3376 * gdb.base/exprs.c: Likewise.
3377 * gdb.base/foll-exec.c: Likewise.
3378 * gdb.base/foll-fork.c: Likewise.
3379 * gdb.base/foll-vfork.c: Likewise.
3380 * gdb.base/funcargs.c: Likewise.
3381 * gdb.base/gcore.c: Likewise.
3382 * gdb.base/jump.c: Likewise.
3383 * gdb.base/langs0.c: Likewise.
3384 * gdb.base/langs1.c: Likewise.
3385 * gdb.base/langs2.c: Likewise.
3386 * gdb.base/mips_pro.c: Likewise.
3387 * gdb.base/nodebug.c: Likewise.
3388 * gdb.base/opaque0.c: Likewise.
3389 * gdb.base/opaque1.c: Likewise.
3390 * gdb.base/recurse.c: Likewise.
3391 * gdb.base/run.c: Likewise.
3392 * gdb.base/scope0.c: Likewise.
3393 * gdb.base/scope1.c: Likewise.
3394 * gdb.base/setshow.c: Likewise.
3395 * gdb.base/setvar.c: Likewise.
3396 * gdb.base/shmain.c: Likewise.
3397 * gdb.base/shr1.c: Likewise.
3398 * gdb.base/shr2.c: Likewise.
3399 * gdb.base/sigall.c: Likewise.
3400 * gdb.base/signals.c: Likewise.
3401 * gdb.base/so-indr-cl.c: Likewise.
3402 * gdb.base/solib2.c: Likewise.
3403 * gdb.base/structs.c: Likewise.
3404 * gdb.base/sum.c: Likewise.
3405 * gdb.base/vforked-prog.c: Likewise.
3406 * gdb.base/watchpoint.c: Likewise.
3407 * gdb.reverse/shr2.c: Likewise.
3408 * gdb.reverse/until-reverse.c: Likewise.
3409 * gdb.reverse/ur1.c: Likewise.
3410 * gdb.reverse/watch-reverse.c: Likewise.
3411
066a77c5
AA
34122014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3413
3414 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
3415 variant.
3416 * gdb.base/sepdebug.exp: Drop references to removed code.
3417
4f204ea5
AA
34182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3419
3420 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
3421 variant. Preserve original line numbering.
3422 * gdb.base/list1.c: Likewise.
3423
3b377a3a
AA
34242014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3425
3426 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
3427 variant.
3428 * gdb.base/break1.c: Likewise.
3429 * gdb.base/break.exp: Drop references to removed code.
3430
e444df73
AA
34312014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3432
3433 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
3434 variant.
3435
8008f2a7
AA
34362014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3437
3438 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
3439
a5a06887
AA
34402014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3441
3442 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
3443 logic into perform_all_tests() and invoke it with and without
3444 function header prototypes.
3445 (do_function_calls): Remove conditional XFAIL for PR 5318.
3446 (rerun_and_prepare): Remove duplicate code.
3447 (perform_all_tests): New. Main logic moved here.
3448
44dba9b9
AA
34492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3450
3451 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
3452 code guarded by #ifdef NO_PROTOTYPES.
3453 (t_double_many_args): Likewise.
3454 (DEF_FUNC_MANY_ARGS_1): Likewise.
3455 (DEF_FUNC_VALUES_1): Likewise.
3456 (t_structs_ldc): Renamed from t_structs_fc in conditional code
3457 guarded by #ifdef PROTOTYPES.
3458
d1fbcd56
AA
34592014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3460
3461 * gdb.mi/mi-console.c: Add eye-catcher.
3462 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
3463 instead of literal line number.
3464
b0e59b8f
AA
34652014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3466
3467 * gdb.base/shr2.c: Add eye-catcher.
3468 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
3469 line number.
3470
78f98cca
AA
34712014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3472
3473 * gdb.base/jump.c: Add eye-catchers.
3474 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
3475 numbers.
3476
58fa2af0
AA
34772014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3478
3479 * gdb.base/execd-prog.c: Add eye-catchers.
3480 * gdb.base/foll-exec.c: Likewise.
3481 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
3482 line numbers.
3483
04e5059b
AA
34842014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3485
3486 * gdb.base/ending-run.c: Add eye-catchers.
3487 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
3488 literal line numbers.
3489
dbfdb174
AA
34902014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3491
3492 * gdb.base/call-rt-st.c: Add eye-catchers.
3493 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
3494 literal line numbers.
3495
888a2ade
AA
34962014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3497
3498 * gdb.base/call-ar-st.c: Add eye-catchers.
3499 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
3500 literal line numbers.
3501
6acc2dde
AA
35022014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3503
3504 * gdb.base/average.c: Add eye-catchers.
3505 * gdb.base/sum.c: Likewise.
3506 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
3507 regexps dynamically.
3508
9ecfcd1d
AA
35092014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3510
3511 * gdb.base/solib1.c: Add eye-catchers.
3512 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
3513 literal line numbers.
3514
78708b7c
PA
35152014-11-12 Pedro Alves <palves@redhat.com>
3516
3517 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
3518 leader has exited.
3519
af48d08f
PA
35202014-11-12 Pedro Alves <palves@redhat.com>
3521
3522 * gdb.arch/i386-bp_permanent.c: New file.
3523 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
3524 (srcfile): Set to i386-bp_permanent.c.
3525 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
3526 that stepi does not execute the 'leave' instruction, instead of
3527 testing it does execute.
3528 * gdb.base/bp-permanent.c: New file.
3529 * gdb.base/bp-permanent.exp: New file.
3530
af3768e9
DE
35312014-11-10 Doug Evans <xdje42@gmail.com>
3532
3533 PR symtab/17564
3534 * gdb.base/symtab-search-order.exp: New file.
3535 * gdb.base/symtab-search-order.c: New file.
3536 * gdb.base/symtab-search-order-1.c: New file.
3537 * gdb.base/symtab-search-order-shlib-1.c: New file.
3538
9de00a4a
PA
35392014-11-07 Pedro Alves <palves@redhat.com>
3540
3541 PR gdb/17511
3542 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
3543 i?86-*-linux*.
3544
e0f52461
SC
35452014-11-03 Siva Chandra Reddy <sivachandra@google.com>
3546
3547 PR c++/17494
3548 * gdb.cp/pr17494.cc: New file.
3549 * gdb.cp/pr17494.exp: New file.
3550
6ce8c980
YQ
35512014-11-02 Yao Qi <yao@codesourcery.com>
3552
3553 * gdb.python/python.exp: Get working directory and match the
3554 output of "set extended-prompt \\w " with it.
3555
02be9a71
DE
35562014-10-30 Doug Evans <dje@google.com>
3557
3558 * gdb.python/py-objfile.exp: Add tests for setting random attributes
3559 in objfiles.
3560 * gdb.python/py-progspace.exp: Add tests for setting random attributes
3561 in progspaces.
3562
3bdff46b
LM
35632014-10-30 Janis Johnson <janisjo@codesourcery.com>
3564
3565 * gdb.base/fullpath-expand.exp: Skip for a remote host.
3566 * gdb.base/realname-expand.exp: Likewise.
3567 * gdb.linespec/macro-relative.exp: Likewise.
3568
ab917dfb
PA
35692014-10-29 Pedro Alves <palves@redhat.com>
3570
3571 PR gdb/17408
3572 * gdb.threads/schedlock.c (some_function): New function.
3573 (call_function): New global.
3574 (MAYBE_CALL_SOME_FUNCTION): New macro.
3575 (thread_function): Call it.
3576 * gdb.threads/schedlock.exp (get_args): Add description parameter,
3577 and use it instead of a global counter. Adjust all callers.
3578 (get_current_thread): Use "find current thread" for test message
3579 here rather than having all callers pass down the same string.
3580 (goto_loop): New procedure, factored out from ...
3581 (my_continue): ... this.
3582 (step_ten_loops): Change parameter from test message to command to
3583 use. Adjust.
3584 (list_count): Delete global.
3585 (check_result): New procedure, factored out from duplicate top
3586 level code.
3587 (continue tests): Wrap in with_test_prefix.
3588 (test_step): New procedure, factored out from duplicate top level
3589 code.
3590 (top level): Test "step" in combination with all scheduler-locking
3591 modes. Test "next" in combination with all scheduler-locking
3592 modes, and in combination with stepping over a function call or
3593 not.
3594 * gdb.threads/next-bp-other-thread.c: New file.
3595 * gdb.threads/next-bp-other-thread.exp: New file.
3596
d3d4baed
PA
35972014-10-29 Pedro Alves <palves@redhat.com>
3598
3599 PR python/17372
3600 * gdb.python/python.exp: Test a multi-line command that spawns
3601 interactive Python.
3602 * gdb.base/multi-line-starts-subshell.exp: New file.
3603
563e8d85
YQ
36042014-10-29 Yao Qi <yao@codesourcery.com>
3605
3606 * gdb.base/fileio.exp: Make directories on host.
3607
0ea4d52e
YQ
36082014-10-29 Yao Qi <yao@codesourcery.com>
3609
3610 * gdb.base/fileio.c (test_write): Close the file.
3611
7f5ef605
PA
36122014-10-28 Pedro Alves <palves@redhat.com>
3613
3614 PR gdb/12623
3615 * gdb.base/sigstep.c (no_handler): New global.
3616 (main): If 'no_handler is true, set the signal handlers to
3617 SIG_IGN.
3618 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
3619 with_sw_watch and no_handler parameters. Handle them.
3620 (top level) <stepping over handler when stopped at a breakpoint
3621 test>: Add a test axis for testing with a software watchpoint, and
3622 another for testing with the signal handler set to SIG_IGN.
3623 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
3624 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
3625
abbdbd03
PA
36262014-10-28 Pedro Alves <palves@redhat.com>
3627
3628 PR gdb/17511
3629 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
3630 * gdb.base/sigstep.exp (other_handler_location): New global.
3631 (advance): Support stepping into the signal handler, and running
3632 commands while in the handler.
3633 (in_handler_map): New global.
3634 (top level): In the advance test, add combinations for getting
3635 into the handler with stepping commands, and for running commands
3636 in the handler. Add comment descripting the advancei tests.
3637
1df4399f
PA
36382014-10-28 Pedro Alves <palves@redhat.com>
3639
3640 * gdb.base/sigstep.exp: Use build_executable instead of
3641 prepare_for_testing.
3642 (top level): Move code that starts GDB, runs to main and creates a
3643 display to ...
3644 (restart): ... this new procedure.
3645 (top level): Move backtrace from signal handler test to ...
3646 (validate_backtrace): ... this new procedure.
3647 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
3648 with_test_prefix. Always restart GDB.
3649 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
3650 with_test_prefix. Always restart GDB. No need to delete
3651 breakpoints after the test.
3652 (test_skip_handler): Remove prefix parameter.
3653 (skip_over_handler, breakpoint_to_handler)
3654 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
3655 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
3656 restart GDB. No need to delete breakpoints after the test.
3657 (top level): Use foreach to call the test procedures with
3658 different commands.
3659
a5b6e449
PA
36602014-10-28 Pedro Alves <palves@redhat.com>
3661
3662 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
3663 instead of GNATS numbers.
3664 * gdb.base/sigbpt.exp: Likewise.
3665 * gdb.base/siginfo.exp: Likewise.
3666 * gdb.base/sigstep.exp: Likewise.
3667
e5f8a7cc
PA
36682014-10-27 Pedro Alves <palves@redhat.com>
3669
3670 * gdb.base/sigstep.c (dummy): New global.
3671 (main): Issue a couple writes to the new global.
3672 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
3673 procedures.
3674 (skip_over_handler): Use test_skip_handler.
3675 (top level): Call skip_over_handler for stepi and nexti too.
3676 (breakpoint_over_handler): Use test_skip_handler.
3677 (top level): Call breakpoint_over_handler for stepi and nexti too.
3678
763905a3
YQ
36792014-10-27 Yao Qi <yao@codesourcery.com>
3680
3681 * gdb.trace/tfile.c (adjust_function_address)
3682 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
3683 function descriptor.
3684
6f259a23
DB
36852014-10-24 Don Breazeal <donb@codesourcery.com>
3686
3687 * gdb.base/foll-fork.exp (test_follow_fork,
3688 catch_fork_child_follow): Check for updated fork messages emitted
3689 from infrun.c.
3690 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
3691 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
3692 vfork_and_exec_child_follow_through_step): Check for updated vfork
3693 messages emitted from infrun.c.
3694
09dd9a69
PA
36952014-10-24 Pedro Alves <palves@redhat.com>
3696
3697 * gdb.base/corefile.exp: Remove references to ultrix.
3698 * gdb.base/interrupt.exp: Likewise.
3699 * gdb.base/whatis.exp: Likewise.
3700 * gdb.gdb/selftest.exp: Likewise.
3701 * gdb.threads/manythreads.exp: Likewise.
3702 * gdb.threads/print-threads.exp: Likewise.
3703 * gdb.threads/pthreads.exp:: Likewise.
3704 * gdb.threads/schedlock.exp: Likewise.
3705
3433cfa5
SC
37062014-10-24 Siva Chandra Reddy <sivachandra@google.com>
3707
3708 * gdb.cp/non-trivial-retval.cc: Add a test case.
3709 * gdb.cp/non-trivial-retval.exp: Add a test.
3710
092f880b
YQ
37112014-10-20 Yao Qi <yao@codesourcery.com>
3712
3713 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
3714 * gdb.python/py-objfile-script-gdb.py: New file.
3715 * gdb.python/py-objfile-script.exp: Update reference to
3716 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
3717 of remote_download. Remove the dest file.
3718
acbdb7f3
YQ
37192014-10-20 Yao Qi <yao@codesourcery.com>
3720
3721 * gdb.base/checkpoint.exp: Don't remove file copied on host.
3722 * gdb.base/step-line.exp: Likewise.
3723 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3724 * gdb.dwarf2/dw2-basic.exp: Likewise.
3725 * gdb.dwarf2/dw2-compressed.exp: Likewise.
3726 * gdb.dwarf2/dw2-filename.exp: Likewise.
3727 * gdb.dwarf2/dw2-intercu.exp: Likewise.
3728 * gdb.dwarf2/dw2-intermix.exp: Likewise.
3729 * gdb.dwarf2/dw2-producer.exp: Likewise.
3730 * gdb.dwarf2/mac-fileno.exp: Likewise.
3731 * gdb.python/py-frame-args.exp: Likewise.
3732 * gdb.python/py-framefilter.exp: Likewise.
3733 * gdb.python/py-mi.exp: Likewise.
3734 * gdb.python/py-objfile-script.exp: Likewise
3735 * gdb.python/py-pp-integral.exp: Likewise.
3736 * gdb.python/py-pp-re-notag.exp: Likewise.
3737 * gdb.python/py-prettyprint.exp: Likewise.
3738 * gdb.python/py-section-script.exp: Likewise.
3739 * gdb.python/py-typeprint.exp: Likewise.
3740 * gdb.python/py-xmethods.exp: Likewise.
3741 * gdb.stabs/weird.exp: Likewise.
3742 * gdb.xml/tdesc-regs.exp: Likewise.
3743
bd286a29
KCY
37442014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
3745
3746 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
3747 (out_cu): Use addr_len for the size of addresses.
3748 (out_line): Likewise. Size DW_LNE_set_address instruction
3749 according to addr_len.
3750 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
3751 (FUNC): Add START_INSNS to definition.
3752
673dc4a0
YQ
37532014-10-18 Yao Qi <yao@codesourcery.com>
3754
3755 * gdb.base/argv0-symlink.exp: Check argv[0] value if
3756 gdb_has_argv0 return true.
3757 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
3758 check [target_info exists noargs], check [gdb_has_argv0]
3759 instead.
3760 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
3761 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
3762 procedures.
3763
4ffbba72
DE
37642014-10-17 Doug Evans <dje@google.com>
3765
3766 * gdb.python/py-events.exp: Update expected output for clear_objfiles
3767 event.
3768 * gdb.python/py-events.py: Add clear_objfiles event.
3769
d096d8c1
DE
37702014-10-17 Doug Evans <dje@google.com>
3771
3772 * gdb.python/py-objfile.exp: Test progspace attribute.
3773
a80db015
LM
37742014-10-17 Luis Machado <lgustavo@codesourcery.com>
3775
3776 * gdb.guile/scm-breakpoint.exp: Do not assume any
3777 directory separators when matching source file paths.
3778 * gdb.python/py-breakpoint.exp: Likewise.
3779 * gdb.reverse/break-precsave.exp: Likewise.
3780 * gdb.reverse/break-reverse.exp: Likewise.
3781 * gdb.reverse/consecutive-precsave.exp: Likewise.
3782 * gdb.reverse/finish-precsave.exp: Likewise.
3783 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
3784 * gdb.reverse/finish-reverse.exp: Likewise.
3785 * gdb.reverse/i386-precsave.exp: Likewise.
3786 * gdb.reverse/i387-env-reverse.exp: Likewise.
3787 * gdb.reverse/i387-stack-reverse.exp: Likewise.
3788 * gdb.reverse/machinestate-precsave.exp: Likewise.
3789 * gdb.reverse/machinestate.exp: Likewise.
3790 * gdb.reverse/sigall-precsave.exp: Likewise.
3791 * gdb.reverse/solib-precsave.exp: Likewise.
3792 * gdb.reverse/step-precsave.exp: Likewise.
3793 * gdb.reverse/until-precsave.exp: Likewise.
3794 * gdb.reverse/watch-precsave.exp: Likewise.
3795 * gdb.reverse/watch-reverse.exp: Likewise.
3796
b22089ab
YQ
37972014-10-17 Yao Qi <yao@codesourcery.com>
3798
3799 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
3800 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
3801
6c4486e6
PA
38022014-10-17 Pedro Alves <palves@redhat.com>
3803
3804 PR gdb/17471
3805 * gdb.base/bg-execution-repeat.c: New file.
3806 * gdb.base/bg-execution-repeat.exp: New file.
3807
0ff33695
PA
38082014-10-17 Pedro Alves <palves@redhat.com>
3809
3810 PR gdb/17300
3811 * gdb.base/continue-all-already-running.c: New file.
3812 * gdb.base/continue-all-already-running.exp: New file.
3813
6fdebc3d
PA
38142014-10-17 Pedro Alves <palves@redhat.com>
3815
3816 PR gdb/17472
3817 * gdb.base/annota-input-while-running.c: New file.
3818 * gdb.base/annota-input-while-running.exp: New file.
3819
32a8097b
PA
38202014-10-17 Pedro Alves <palves@redhat.com>
3821
3822 * gdb.base/callfuncs.exp: emove references to osf.
3823 * gdb.base/sigall.exp: Likewise.
3824 * gdb.gdb/selftest.exp: Likewise.
3825 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
3826 * gdb.mi/non-stop.c: Likewise.
3827 * gdb.mi/pthreads.c: Likewise.
3828 * gdb.reverse/sigall-precsave.exp: Likewise.
3829 * gdb.reverse/sigall-reverse.exp: Likewise.
3830 * gdb.threads/pthreads.c: Likewise.
3831 * gdb.threads/pthreads.exp: Likewise.
3832
7a3517ff
YQ
38332014-10-17 Yao Qi <yao@codesourcery.com>
3834
3835 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
3836 check 'target_info exists noargs'.
3837 (test_command_prompt_position): Likewise.
3838 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
3839 Remove "set args".
3840 (progvar_simple_while_test): Likewise.
3841 (progvar_complex_if_while_test): Likewise.
3842 (if_while_breakpoint_command_test): Likewise.
3843 (infrun_breakpoint_command_test): Likewise.
3844 (breakpoint_command_test): Likewise.
3845 (watchpoint_command_test): Likewise.
3846 (bp_deleted_in_command_test): Likewise.
3847 (temporary_breakpoint_commands): Likewise.
3848
bb99c472
YQ
38492014-10-16 Yao Qi <yao@codesourcery.com>
3850
3851 * gdb.base/remotetimeout.exp: Remove noargs checking.
3852
7c16b83e
PA
38532014-10-15 Pedro Alves <palves@redhat.com>
3854
3855 PR breakpoints/9649
3856 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
3857 * gdb.base/breakpoint-in-ro-region.exp
3858 (probe_target_hardware_step): New procedure.
3859 (top level): Probe hardware stepping and hardware breakpoint
3860 support. Test stepping through a read-only region, with both
3861 "breakpoint auto-hw" on and off and both "always-inserted" on and
3862 off.
3863
35a49624
IB
38642014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
3865
3866 * gdb.dlang/demangle.exp: Update for demangling changes.
3867
2d1c107c
SC
38682014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3869
3870 * gdb.cp/non-trivial-retval.cc: Add new test cases.
3871 * gdb.cp/non-trivial-retval.exp: Add new tests.
3872
778811d5
SC
38732014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3874
3875 PR c++/13403
3876 PR c++/15154
3877 * gdb.cp/non-trivial-retval.cc: New file.
3878 * gdb.cp/non-trivial-retval.exp: New file.
3879
10c5f0a8
YQ
38802014-10-15 Yao Qi <yao@codesourcery.com>
3881
3882 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
3883 remote host.
3884
65d7b369
YQ
38852014-10-15 Yao Qi <yao@codesourcery.com>
3886
3887 * gdb.python/py-symbol.exp: Match file base name if host is
3888 remote, otherwise match file name with dir name.
3889 * gdb.python/py-symtab.exp: Likewise.
3890 * gdb.python/python.exp: Likewise.
3891
46dc1394
YQ
38922014-10-15 Yao Qi <yao@codesourcery.com>
3893
3894 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
3895 pattern.
3896 * gdb.python/py-symtab.exp: Likewise.
3897 * gdb.python/python.exp: Remove trailing ".*". Fix typo
3898 locationn.
3899
c40cc657
JB
39002014-10-14 Joel Brobecker <brobecker@adacore.com>
3901
3902 * gdb.ada/addr_arith: New testcase.
3903
2abf49e1
MR
39042014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
3905
3906 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
3907 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
3908 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
3909 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
3910
f7088df3
SDJ
39112014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
3912
3913 * gdb.arch/stap-eval-lang-ada.S: Likewise.
3914 * gdb.arch/stap-eval-lang-ada.c: Likewise.
3915 * gdb.arch/stap-eval-lang-ada.exp: New file.
3916
4dc06805
YQ
39172014-10-14 Yao Qi <yao@codesourcery.com>
3918
3919 * gdb.mi/mi-var-child.c (nothing1): New function.
3920 (nothing2): New function.
3921 (do_children_tests): Set function pointers by nothing1 and
3922 nothing2.
3923 * gdb.mi/mi-var-child.exp: Step over new added statements.
3924 Update test to match the new output.
3925 * gdb.mi/var-cmd.c (nothing1): New function.
3926 (nothing2): New function.
3927 (do_children_tests): Set function pointers by nothing1 and
3928 nothing2.
3929 * gdb.mi/mi-var-display.exp: Update test to match output.
3930 Step to the line specified by $line_dct_nothing.
3931 Increase the number of lines to step.
3932
46a93de2
YQ
39332014-10-14 Yao Qi <yao@codesourcery.com>
3934
3935 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
3936 tests.
3937 * gdb.mi/mi2-var-child.exp: Likewise.
3938
14ea52ee
DE
39392014-10-13 Doug Evans <dje@google.com>
3940
3941 * gdb.python/py-objfile.exp: Change name of file name test.
3942
e5c6e92b
DE
39432014-10-13 Doug Evans <dje@google.com>
3944
3945 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
3946 from the start of the CU.
3947
c780cc2f
JK
39482014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3949 Yao Qi <yao@codesourcery.com>
3950
3951 Fix "save breakpoints" for "catch" command.
3952 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
3953 Remove -nonewline. Match also the added "main" line.
3954
99894e11
JK
39552014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3956
3957 Fix "save breakpoints" for "disable $bpnum" command.
3958 * gdb.base/save-bp.c (main): Add label.
3959 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
3960
6e1ac5a3
JK
39612014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3962
3963 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
3964
754dd2b0
YQ
39652014-10-11 Yao Qi <yao@codesourcery.com>
3966
3967 * gdb.server/server-kill.exp: Execute command
3968 "set remote trace-status-packet on" before "tstatus".
3969
f90183d7
YQ
39702014-10-11 Yao Qi <yao@codesourcery.com>
3971
3972 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
3973 (main): Call getppid.
3974 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
3975 and continue to it. Read variable "server_pid".
3976
bf40a607
YQ
39772014-10-11 Yao Qi <yao@codesourcery.com>
3978
3979 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
3980
052ca370
YQ
39812014-10-11 Yao Qi <yao@codesourcery.com>
3982
3983 * gdb.threads/thread-find.exp: Don't execute command
3984 "info threads".
3985 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
3986 * gdb.threads/linux-dp.exp: Don't check the condition
3987 $threads_created equals to zero.
3988
3831839c
PA
39892014-10-10 Pedro Alves <palves@redhat.com>
3990
3991 * gdb.base/bigcore.exp: Remove references to IRIX.
3992 * gdb.base/funcargs.exp: Likewise.
3993 * gdb.base/interrupt.exp: Likewise.
3994 * gdb.base/mips_pro.exp: Likewise.
3995 * gdb.base/nodebug.exp: Likewise.
3996 * gdb.base/setvar.exp: Likewise.
3997 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
3998
8b9a549d
PA
39992014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4000 Pedro Alves <palves@redhat.com>
4001
4002 PR symtab/14466
4003 * gdb.base/vdso-warning.c: New file.
4004 * gdb.base/vdso-warning.exp: New file.
4005
d48ba5e8
DE
40062014-10-02 Doug Evans <dje@google.com>
4007
4008 * gdb.base/structs.c (main): Don't run forever.
4009
2278c276
PA
40102014-10-02 Pedro Alves <palves@redhat.com>
4011
4012 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
4013 (top level) <stop threads 1, stop threads 2>: Use it.
4014
b57bacec
PA
40152014-10-02 Pedro Alves <palves@redhat.com>
4016
4017 * gdb.threads/break-while-running.exp (test): Add new
4018 'update_thread_list' argument. Skip "info threads" if false.
4019 (top level): Add new 'update_thread_list' axis.
4020
13fd3ff3
PA
40212014-10-02 Pedro Alves <palves@redhat.com>
4022
4023 PR breakpoints/17431
4024 * gdb.base/execl-update-breakpoints.c: New file.
4025 * gdb.base/execl-update-breakpoints.exp: New file.
4026
0fec99e8
PA
40272014-10-01 Pedro Alves <palves@redhat.com>
4028
4029 * gdb.base/breakpoint-in-ro-region.c: New file.
4030 * gdb.base/breakpoint-in-ro-region.exp: New file.
4031
2ddf4301
SM
40322014-10-01 Simon Marchi <simon.marchi@ericsson.com>
4033
4034 * gdb.mi/mi-exit-code.exp: New file.
4035 * gdb.mi/mi-exit-code.c: New file.
4036
6a5f3f43
YQ
40372014-09-30 Yao Qi <yao@codesourcery.com>
4038
4039 * lib/prelink-support.exp (build_executable_own_libs): Error if
4040 the target isn't native.
4041
345bcc73
YQ
40422014-09-30 Yao Qi <yao@codesourcery.com>
4043
4044 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
4045 false.
4046
a25a5a45
PA
40472014-09-22 Pedro Alves <palves@redhat.com>
4048
4049 * gdb.threads/break-while-running.exp: New file.
4050 * gdb.threads/break-while-running.c: New file.
4051
00ba3162
YQ
40522014-09-19 Yao Qi <yao@codesourcery.com>
4053
4054 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
4055 Invoke test. Restart GDB with --readnow and invoke test again.
4056
c3b7b696
YQ
40572014-09-19 Yao Qi <yao@codesourcery.com>
4058
4059 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
4060 proc set_breakpoint_on_gcd_function. Invoke
4061 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
4062 invoke set_breakpoint_on_gcd_function again.
4063
2b4fd423
DE
40642014-09-18 Doug Evans <dje@google.com>
4065
4066 * gdb.dwarf2/symtab-producer.exp: New file.
4067
a5947601
SDJ
40682014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
4069
4070 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
4071 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
4072 * gdb.base/global-var-nested-by-dso.c: Likewise.
4073 * gdb.base/global-var-nested-by-dso.exp: Likewise.
4074
91c19059
SDJ
40752014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
4076 Pedro Alves <palves@redhat.com>
4077
4078 * gdb.base/watch-bitfields.exp: Pass string other than test file
4079 name to prepare_for_testing.
4080 (watch): New procedure.
4081 (expect_watchpoint): Use with_test_prefix.
4082 (top level): Factor out tests to ...
4083 (test_watch_location, test_regular_watch): ... these new
4084 procedures, and use with_test_prefix and gdb_continue_to_end.
4085
bb9d5f81
PP
40862014-09-16 Patrick Palka <patrick@parcs.ath.cx>
4087
4088 PR breakpoints/12526
4089 * gdb.base/watch-bitfields.exp: New file.
4090 * gdb.base/watch-bitfields.c: New file.
4091
635856f5
PA
40922014-09-16 Pedro Alves <palves@redhat.com>
4093
4094 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
4095 software and hardware addresses, not software address against
4096 itself.
4097
7280ceea
PA
40982014-09-16 Pedro Alves <palves@redhat.com>
4099
4100 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
4101 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
4102
428b16bd
PA
41032014-09-16 Pedro Alves <palves@redhat.com>
4104
4105 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
4106 files.
4107 * gdb.base/a2-run.exp: Remove all code guarded by istarget
4108 "*-*-vxworks*" throughout.
4109 * gdb.base/break.exp: Likewise.
4110 * gdb.base/default.exp: Likewise.
4111 * gdb.base/scope.exp: Likewise.
4112 * gdb.base/sepdebug.exp: Likewise.
4113 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
4114 throughout.
4115 * gdb.base/run.c: Likewise.
4116 * gdb.base/sepdebug.c: Likewise.
4117 * gdb.hp/gdb.aCC/run.c: Likewise.
4118 * gdb.reverse/until-reverse.c: Likewise.
4119 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
4120
666d413c
YQ
41212014-09-16 Yao Qi <yao@codesourcery.com>
4122
4123 * boards/local-remote-host-native.exp: New file.
4124
57cbd724
DE
41252014-09-14 Doug Evans <xdje42@gmail.com>
4126
4127 * gdb.threads/queue-signal.c (thread_count): New variable.
4128 (thread_count_mutex, thread_count_condvar): New variables.
4129 (incr_thread_count, wait_all_threads_running): New functions.
4130 (main): Wait for all threads to be in their thread functions.
4131
81219e53
DE
41322014-09-13 Doug Evans <xdje42@gmail.com>
4133
4134 * gdb.threads/queue-signal.c: New file.
4135 * gdb.threads/queue-signal.exp: New file.
4136
3714cea7
DE
41372014-09-13 Doug Evans <xdje42@gmail.com>
4138
4139 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
4140 be consistent with what default_gdb_init uses.
4141 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
4142 the plain text of the prompt. Add some logging printfs.
4143 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
4144
fa43b1d7
PA
41452014-09-12 Pedro Alves <palves@redhat.com>
4146
4147 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
4148 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
4149 * gdb.arch/i386-size-overlap.exp: Likewise.
4150 * gdb.arch/i386-size.exp: Likewise.
4151 * gdb.arch/i386-unwind.exp: Likewise.
4152 * gdb.base/a2-run.exp: Likewise.
4153 * gdb.base/break.exp: Likewise.
4154 * gdb.base/charset.exp: Likewise.
4155 * gdb.base/chng-syms.exp: Likewise.
4156 * gdb.base/commands.exp: Likewise.
4157 * gdb.base/dbx.exp: Likewise.
4158 * gdb.base/find.exp: Likewise.
4159 * gdb.base/funcargs.exp: Likewise.
4160 * gdb.base/jit-simple.exp: Likewise.
4161 * gdb.base/reread.exp: Likewise.
4162 * gdb.base/sepdebug.exp: Likewise.
4163 * gdb.base/step-bt.exp: Likewise.
4164 * gdb.cp/mb-inline.exp: Likewise.
4165 * gdb.cp/mb-templates.exp: Likewise.
4166 * gdb.objc/basicclass.exp: Likewise.
4167 * gdb.threads/killed.exp: Likewise.
4168
9d9bf2df
EBM
41692014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4170
4171 PR tdep/17379
4172 * gdb.arch/powerpc-stackless.S: New file.
4173 * gdb.arch/powerpc-stackless.exp: New file.
4174
1cf2f1b0
JK
41752014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4176
4177 * gdb.base/attach.c: Include unistd.h.
4178 (main): Call alarm. Add label postloop.
4179 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
4180 gdb_breakpoint, gdb_continue_to_breakpoint.
4181 (test_command_line_attach_run): Kill ${testpid} in one exit path.
4182
98880d46
PA
41832014-09-11 Pedro Alves <palves@redhat.com>
4184
4185 PR gdb/17347
4186 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
4187 * gdb.base/attach.exp (test_command_line_attach_run): New
4188 procedure.
4189 (top level): Call it.
4190
4c92ff2c
PA
41912014-09-11 Pedro Alves <palves@redhat.com>
4192
4193 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
4194 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
4195 (do_command_attach_tests): Use spawn_wait_for_attach.
4196 * gdb.base/solib-overlap.exp: Likewise.
4197 * gdb.multi/multi-attach.exp: Likewise.
4198 * gdb.python/py-prompt.exp: Likewise.
4199 * gdb.python/py-sync-interp.exp: Likewise.
4200 * gdb.server/ext-attach.exp: Likewise.
4201
3adc1a7d
GKB
42022014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
4203
4204 * gdb.fortran/array-element.exp: Remove unexpected "continue"
4205 command in testcase. Simplify testcase.
4206
96334934
JB
42072014-09-10 Joel Brobecker <brobecker@adacore.com>
4208
4209 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
4210
eb479039
JB
42112014-09-10 Joel Brobecker <brobecker@adacore.com>
4212
4213 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
4214
deede10c
JB
42152014-09-10 Joel Brobecker <brobecker@adacore.com>
4216
4217 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
4218
7828a5f5
JB
42192014-09-10 Joel Brobecker <brobecker@adacore.com>
4220
4221 * gdb.dwarf2/dynarr-ptr.c: New file.
4222 * gdb.dwarf2/dynarr-ptr.exp: New file.
4223
33aeebcf
MR
42242014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4225
4226 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
4227 of 30 rather than hardcoding 120 for a slow test case. Take the
4228 `gdb,timeout' target setting into account for this calculation.
4229 Don't extend the timeout for the test cases that don't need it.
4230
7b415901
MR
42312014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4232
4233 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
4234 a factor of 2 for a slow test case. Take the `gdb,timeout'
4235 target setting into account for this calculation.
4236 * gdb.reverse/until-precsave.exp: Increase the timeout by
4237 a factor of 15 and 3 respectively rather than adding 120
4238 for a pair of slow test cases. Take the `gdb,timeout'
4239 target setting into account for this calculation.
4240
4a40f85a
MR
42412014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4242
4243 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
4244 timeout, don't pass one down to gdb_expect.
4245 (gdb_expect): Rework timeout selection.
4246
09635af7
MR
42472014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4248
4249 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
4250 exception on timeout.
4251 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
4252 (gdbserver_start_extended): Catch any `gdbserver_start' error
4253 exceptions.
4254 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
4255 * lib/mi-support.exp (mi_gdb_target_load): Catch any
4256 `gdbserver_gdb_load' error exceptions.
4257
2bdd10b7
MR
42582014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4259
4260 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
4261 120 on waiting for the TCP socket to open.
4262
316935f0
DE
42632014-09-09 Doug Evans <xdje42@gmail.com>
4264
4265 * gdb.base/default.exp (show_conv_list): Add _caller_is,
4266 _caller_matches, _any_caller_is, _any_caller_matches.
4267
83740597
DE
42682014-09-09 Doug Evans <xdje42@gmail.com>
4269
4270 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
4271
4c122fc3
YQ
42722014-09-09 Yao Qi <yao@codesourcery.com>
4273
4274 * gdb.mi/mi-var-display.exp: Set print symbol off.
4275
a9f116cb
GKB
42762014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
4277
4278 PR gdb/17035
4279 * gdb.base/commands.exp: Add tests to verify user-defined
4280 commands with empty bodies.
4281 * gdb.python/py-cmd.exp: Test that we don't show user-defined
4282 python commands in `show user command`.
4283 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
4284 scheme commands in `show user command`.
4285
c75bd3a2
JK
42862014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4287
4288 PR python/17355
4289 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
4290 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
4291 * gdb.python/py-framefilter-invalidarg.exp: New file.
4292 * gdb.python/py-framefilter-invalidarg.py: New file.
4293
faa42425
DE
42942014-09-06 Doug Evans <xdje42@gmail.com>
4295
4296 PR 15276
4297 * gdb.python/py-caller-is.c: New file.
4298 * gdb.python/py-caller-is.exp: New file.
4299
474ca4f6
SDJ
43002014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
4301
4302 PR gdb/17235
4303 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
4304 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
4305
eb0b0463
SDJ
43062014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
4307
4308 PR fortran/17237
4309 * gdb.fortran/print-formatted.exp: New file.
4310 * gdb.fortran/print-formatted.f90: Likewise.
4311
5f3b99cf
SS
43122014-09-03 Sasha Smundak <asmundak@google.com>
4313
4314 * gdb.python/py-frame.exp: Test Frame.read_register.
4315
7d793aa9
SDJ
43162014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
4317
4318 PR python/16699
4319 * gdb.python/py-completion.exp: New file.
4320 * gdb.python/py-completion.py: Likewise.
4321
fb0576e9
DE
43222014-08-28 Doug Evans <dje@google.com>
4323
4324 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
4325 eax,etc. are live with values set by gdb and thus the compiler can't
4326 use them.
4327 * gdb.arch/i386-pseudo.c (main): Ditto.
4328
ee92b0dd
DE
43292014-08-27 Doug Evans <dje@google.com>
4330
4331 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
4332
6649db35
DE
43332014-08-25 Doug Evans <dje@google.com>
4334
4335 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
4336 (main): Ditto.
4337
564b7600
DE
43382014-08-25 Doug Evans <dje@google.com>
4339
4340 * gdb.threads/thread-execl.exp: #include <stdio.h>.
4341
3881fb67
YQ
43422014-08-24 Yao Qi <yao@codesourcery.com>
4343
4344 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
4345 symbol off.
4346 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
4347
a05a36a5
DE
43482014-08-22 Doug Evans <dje@google.com>
4349
4350 PR 17276
4351 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
4352 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
4353 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
4354
7c343b48
YQ
43552014-08-22 Yao Qi <yao@codesourcery.com>
4356
4357 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
4358 * gdb.python/py-finish-breakpoint2.exp: Likewise.
4359 * gdb.python/python.exp: Likewise. Use .py file on the host
4360 instead of the build.
4361
22fd09ae
JK
43622014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4363
4364 * gdb.threads/gcore-stale-thread.c: New file.
4365 * gdb.threads/gcore-stale-thread.exp: New file.
4366
a8454a7c
PA
43672014-08-21 Pedro Alves <palves@redhat.com>
4368
4369 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
4370 * gdb.base/gcore-relro-pie.exp: Likewise.
4371 * gdb.base/gcore-relro.exp: Likewise.
4372 * gdb.base/gcore.exp: Likewise.
4373 * gdb.base/print-symbol-loading.exp: Likewise.
4374 * gdb.threads/gcore-thread.exp: Likewise.
4375 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
4376
2a31c623
PA
43772014-08-20 Pedro Alves <palves@redhat.com>
4378 Jan Kratochvil <jan.kratochvil@redhat.com>
4379
4380 * Makefile.in (EXTRA_RULES, CC): New variables, get from
4381 configure.
4382 (EXPECT): Handle READ1 being set.
4383 (all): Depend on EXTRA_RULES.
4384 (check-read1, expect-read1, read1.so, read1): New rules.
4385 * README (Testsuite Parameters): Document the READ1 make variable.
4386 (Race detection): New section.
4387 * configure: Regenerate.
4388 * configure.ac: If build==host==target, and running under a
4389 GNU/glibc system, add read1 to the extra Makefile rules.
4390 (EXTRA_RULES): AC_SUBST it.
4391 * lib/read1.c: New file.
4392
d36430db
JB
43932014-08-20 Joel Brobecker <brobecker@adacore.com>
4394
4395 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
4396 the handling of variables declared as a typedef to an array
4397 which a DW_AT_data_location attribute.
4398
9a0dc9e3
PA
43992014-08-19 Andrew Burgess <aburgess@broadcom.com>
4400 Pedro Alves <palves@redhat.com>
4401
4402 PR symtab/14604
4403 PR symtab/14605
4404 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
4405 gdb_test.
4406
0718a8da
PA
44072014-08-19 Pedro Alves <palves@redhat.com>
4408
4409 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
4410
13b448cd
YQ
44112014-08-19 Yao Qi <yao@codesourcery.com>
4412
4413 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
4414 right line.
4415
1cbf5077
DB
44162014-08-18 David Blaikie <dblaikie@gmail.com>
4417
4418 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
4419
bf0fae19
JB
44202014-08-18 Joel Brobecker <brobecker@adacore.com>
4421
4422 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
4423 attribute in array range.
4424
3c8c5dcc
JB
44252014-08-18 Joel Brobecker <brobecker@adacore.com>
4426
4427 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
4428
e66d4446
SC
44292014-08-15 Siva Chandra Reddy <sivachandra@google.com>
4430
4431 PR c++/17132
4432 * gdb.cp/pr17132.cc: New file.
4433 * gdb.cp/pr17132.exp: New file.
4434
940df408
SC
44352014-08-15 Siva Chandra Reddy <sivachandra@google.com>
4436
4437 * gdb.python/py-xmethods.py (A_getarrayind)
4438 (E_method_char_worker.__call__, E_method_int_worker.__call__):
4439 Use 'print' with function call syntax.
4440 (E_method_matcher.match): Fix tab vs space indentation mixup.
4441
ebcc6c3a
YQ
44422014-08-15 Yao Qi <yao@codesourcery.com>
4443
4444 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
4445 false.
4446
775e0f04
YQ
44472014-08-15 Yao Qi <yao@codesourcery.com>
4448
4449 * gdb.cp/casts.exp: Set print symbol off.
4450 * gdb.cp/class2.exp: Likewise.
4451 * gdb.cp/overload.exp: Likewise.
4452 * gdb.cp/templates.exp: Likewise.
4453
d769e349
DE
44542014-08-11 Doug Evans <dje@google.com>
4455
4456 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
4457 (test_load_shlib): Update.
4458
20c6f1e1
YQ
44592014-08-09 Yao Qi <yao@codesourcery.com>
4460
4461 * gdb.base/display.exp: Invoke is_address_zero_readable.
4462 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
4463 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4464 * gdb.base/hbreak-unmapped.exp: Return if
4465 is_address_zero_readable returns true.
4466 * gdb.base/signest.exp: Likewise.
4467 * gdb.base/signull.exp: Likewise.
4468 * gdb.base/sigbpt.exp: Likewise.
4469 * gdb.guile/scm-disasm.exp: Do the test if
4470 is_address_zero_readable returns false.
4471 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
4472 * gdb.python/py-arch.exp: Likewise.
4473 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
4474 * lib/gdb.exp (is_address_zero_readable): New proc.
4475
5792e8e3
YQ
44762014-08-09 Yao Qi <yao@codesourcery.com>
4477
4478 PR testsuite/13443
4479 * gdb.mi/mi-var-display.exp: Make test messages unique.
4480
3cecbbbe
TT
44812014-08-04 Tom Tromey <tromey@redhat.com>
4482
4483 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
4484 target 0".
4485
00b51ff5
TT
44862014-08-04 Tom Tromey <tromey@redhat.com>
4487
4488 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
4489 "target_resume".
4490
6908c509
JB
44912014-08-01 Joel Brobecker <brobecker@adacore.com>
4492
4493 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
4494 inner_vla_struct_object_size.
4495 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
4496 as xfail.
4497
cc6563d2
PA
44982014-07-30 Pedro Alves <palves@redhat.com>
4499
4500 * gdb.threads/signal-command-handle-nopass.exp (test): Add
4501 comment.
4502
7e09a223
YQ
45032014-07-29 Yao Qi <yao@codesourcery.com>
4504
4505 PR gdb/17206
4506 * gdb.base/until-nodebug.exp: New.
4507
7ebdbe92
DE
45082014-07-28 Doug Evans <xdje42@gmail.com>
4509
4510 PR guile/17203
4511 * gdb.guile/scm-parameter.exp: Add tests for trying to create
4512 previously existing parameter, and previously ambiguously spelled
4513 parameter.
4514
fdb1adc6
WN
45152014-07-28 Will Newton <will.newton@linaro.org>
4516
4517 * gdb.base/varargs.exp: Remove KFAILs for ARM.
4518
186fcde0
DE
45192014-07-26 Ludovic Courtès <ludo@gnu.org>
4520 Doug Evans <xdje42@gmail.com>
4521
4522 PR guile/17146
4523 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
4524
70509625
PA
45252014-07-25 Pedro Alves <palves@redhat.com>
4526
4527 * gdb.threads/signal-command-handle-nopass.c: New file.
4528 * gdb.threads/signal-command-handle-nopass.exp: New file.
4529 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
4530 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
4531 * gdb.threads/signal-delivered-right-thread.c: New file.
4532 * gdb.threads/signal-delivered-right-thread.exp: New file.
4533
c3f814a1
PA
45342014-07-25 Pedro Alves <palves@redhat.com>
4535
4536 * gdb.base/double-prompt-target-event-error.exp
4537 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
4538 match.
4539 (cancel_pagination_in_target_event): Rework double prompt
4540 detection.
4541 * gdb.base/paginate-after-ctrl-c-running.exp
4542 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
4543 <return>' match.
4544 * gdb.base/paginate-bg-execution.exp
4545 (test_bg_execution_pagination_return)
4546 (test_bg_execution_pagination_cancel): Remove '-notransfer
4547 <return>' matches.
4548 * gdb.base/paginate-execution-startup.exp
4549 (test_fg_execution_pagination_return)
4550 (test_fg_execution_pagination_cancel): Remove '-notransfer
4551 <return>' matches.
4552 * gdb.base/paginate-inferior-exit.exp
4553 (test_paginate_inferior_exited): Remove '-notransfer <return>'
4554 match.
4555 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
4556 * lib/gdb.exp (pagination_prompt): Run text through
4557 string_to_regexp.
4558 (gdb_test_multiple): Match $pagination_prompt instead of
4559 "<return>".
4560 (string_to_regexp): Move to lib/gdb-utils.exp.
4561
e214cf6c
JK
45622014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4563
4564 * gdb.arch/amd64-entry-value-paramref.S: New file.
4565 * gdb.arch/amd64-entry-value-paramref.cc: New file.
4566 * gdb.arch/amd64-entry-value-paramref.exp: New file.
4567 * gdb.arch/amd64-optimout-repeat.S: New file.
4568 * gdb.arch/amd64-optimout-repeat.c: New file.
4569 * gdb.arch/amd64-optimout-repeat.exp: New file.
4570
17d0c5c8
JK
45712014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4572
4573 PR gdb/17170
4574 * gdb.base/statistics.exp: New file.
4575
b8b8facf
DE
45762014-07-17 Doug Evans <dje@google.com>
4577
74b49205 4578 PR gdb/17170
b8b8facf
DE
4579 * gdb.base/maint.exp: Update testing of per-command stats.
4580
1b5d0ab3
PA
45812014-07-16 Pedro Alves <palves@redhat.com>
4582
4583 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
4584 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
4585 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
4586 (tfile_write_buf): New functions.
4587 (add_memory_block): Rewrite using the above.
4588 (adjust_function_address): New function.
4589 (FUNCTION_ADDRESS): New macro.
4590 (write_basic_trace_file): Remove short_x local, and use
4591 tfile_write_16. Change type of func_addr local to unsigned long
4592 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
4593 here. Cast argument of add_memory_block to char pointer.
4594 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
4595 (main): Remove parameters.
4596 * gdb.trace/tfile.exp: Remove nowarnings.
4597
4d974e88
SM
45982014-07-15 Simon Marchi <simon.marchi@ericsson.com>
4599
4600 * gdb.base/debug-expr.exp: Test string evaluation with
4601 "debug expression" on.
4602
41e99568
PA
46032014-07-15 Pedro Alves <palves@redhat.com>
4604
4605 * gdb.base/reread.exp: Use clean_restart.
4606
487d9753
PL
46072014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
4608
4609 * gdb.arch/avr-flash-qualifer.c: New.
4610 * gdb.arch/avr-flash-qualifer.exp: New.
4611
cc1c52ad
PA
46122014-07-14 Pedro Alves <palves@redhat.com>
4613
4614 * gdb.base/paginate-after-ctrl-c-running.c: New file.
4615 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
4616
1e973570
PA
46172014-07-14 Pedro Alves <palves@redhat.com>
4618
4619 * gdb.base/double-prompt-target-event-error.c: New file.
4620 * gdb.base/double-prompt-target-event-error.exp: New file.
4621
93d6eb10
PA
46222014-07-14 Pedro Alves <palves@redhat.com>
4623
4624 PR gdb/17072
4625 * gdb.base/paginate-inferior-exit.c: New file.
4626 * gdb.base/paginate-inferior-exit.exp: New file.
4627
0017922d
PA
46282014-07-14 Pedro Alves <palves@redhat.com>
4629
4630 PR gdb/17072
4631 * gdb.base/paginate-bg-execution.c: New file.
4632 * gdb.base/paginate-bg-execution.exp: New file.
4633
94696ad3
PA
46342014-07-14 Pedro Alves <palves@redhat.com>
4635
4636 PR gdb/17072
4637 * gdb.base/paginate-execution-startup.c: New file.
4638 * gdb.base/paginate-execution-startup.exp: New file.
4639 * lib/gdb.exp (pagination_prompt): New global.
4640 (default_gdb_spawn): New procedure, factored out from
4641 default_gdb_spawn.
4642 (default_gdb_start): Adjust to call default_gdb_spawn.
4643 (gdb_spawn): New procedure.
4644
bd293940
PA
46452014-07-14 Pedro Alves <palves@redhat.com>
4646
4647 * lib/gdb.exp (gdb_assert): New procedure.
4648 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
4649
c933f875
PA
46502014-07-14 Pedro Alves <palves@redhat.com>
4651
4652 * gdb.base/execution-termios.c: New file.
4653 * gdb.base/execution-termios.exp: New file.
4654
d98b7a16
TT
46552014-07-14 Tom Tromey <tromey@redhat.com>
4656
4657 * gdb.cp/vla-cxx.cc: New file.
4658 * gdb.cp/vla-cxx.exp: New file.
4659
548740d6
TT
46602014-07-14 Tom Tromey <tromey@redhat.com>
4661
4662 * gdb.reverse/rerun-prec.c: New file.
4663 * gdb.reverse/rerun-prec.exp: New file.
4664
a25eb028
MR
46652014-07-12 Maciej W. Rozycki <macro@mips.com>
4666 Maciej W. Rozycki <macro@codesourcery.com>
4667
4668 * lib/gdb-utils.exp: New file.
4669 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
4670 inline `gdb_init_command' processing.
4671 (gdb_start_cmd): Likewise.
4672 * lib/mi-support.exp (mi_run_cmd): Likewise.
4673 * README: Document `gdb_init_command' and `gdb_init_commands'.
4674
218c2655
JK
46752014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4676
4677 Fix false FAIL running under a very long directory name.
4678 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
4679 and "set print elements 10000". Twice.
4680
5401fde3
YQ
46812014-07-11 Yao Qi <yao@codesourcery.com>
4682
4683 * gdb.base/exprs.exp: "set print symbol off".
4684
e76126e8
PA
46852014-07-11 Pedro Alves <palves@redhat.com>
4686
4687 * gdb.threads/kill.c: New file.
4688 * gdb.threads/kill.exp: New file.
4689
2d6f0de6
YQ
46902014-07-10 Yao Qi <yao@codesourcery.com>
4691
4692 * gdb.trace/tfile.c (write_basic_trace_file)
4693 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
4694 address written to trace file.
4695
7180e04a
PA
46962014-07-09 Pedro Alves <palves@redhat.com>
4697
4698 * gdb.base/attach-wait-input.exp: New file.
4699 * gdb.base/attach-wait-input.c: New file.
4700
9a9a7608
AB
47012014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4702
4703 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
4704 setting up test structures.
4705 (main): Call new test function.
4706 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
4707 test function, continue into test function and walk test
4708 structures.
4709
161ac41e
YQ
47102014-07-02 Yao Qi <yao@codesourcery.com>
4711
4712 * gdb.trace/entry-values.c: Define labels 'foo_start' and
4713 'bar_start' at the beginning of functions 'foo' and 'bar'
4714 respectively.
4715 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
4716 instead of 'foo' and 'bar'.
4717
1f267ae3
MM
47182014-07-08 Markus Metzger <markus.t.metzger@intel.com>
4719
4720 * gdb.btrace/segv.exp: New.
4721 * gdb.btrace/segv.c: New.
4722
2b239efb
LM
47232014-07-02 Luis Machado <lgustavo@codesourcery.com>
4724
4725 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
4726 instruction.
4727
cf363f18
MW
47282014-06-30 Mark Wielaard <mjw@redhat.com>
4729
4730 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
4731 vulture, vilify, villar): New volatile array constants.
4732 (vindictive, vegetation): New const volatile array constants.
4733 * gdb.base/volatile.exp: Test volatile and const volatile array
4734 types.
4735
aebf9d24
AA
47362014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
4737
4738 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
4739 target lacks support for awatch, rwatch, or hbreak.
4740
b67a2c6f
YQ
47412014-06-27 Yao Qi <yao@codesourcery.com>
4742
4743 * gdb.multi/dummy-frame-restore.exp: New.
4744 * gdb.multi/dummy-frame-restore.c: New.
4745
aef92902
MM
47462014-06-25 Markus Metzger <markus.t.metzger@intel.com>
4747
4748 * gdb.btrace/gcore.exp: New.
4749
8e9db26e
PA
47502014-06-23 Pedro Alves <palves@redhat.com>
4751
4752 * gdb.base/watchpoint-reuse-slot.c: New file.
4753 * gdb.base/watchpoint-reuse-slot.exp: New file.
4754
70afc5b7
SC
47552014-06-23 Siva Chandra Reddy <sivachandra@google.com>
4756
4757 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
4758 progspace's filename in 'info', 'enable' and 'disable' command
4759 tests.
4760
b972bd9c
JK
47612014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4762
4763 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
4764 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
4765 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
4766
125f8a3d
GB
47672014-06-20 Gary Benson <gbenson@redhat.com>
4768
4769 * gdb.arch/i386-avx.exp: Fix include file location.
4770 * gdb.arch/i386-sse.exp: Likewise.
4771
3ed9baed
IB
47722014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
4773
4774 * gdb.dlang/expression.exp: New file.
4775
034f788c
PA
47762014-06-19 Pedro Alves <palves@redhat.com>
4777
4778 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
4779 out from ...
4780 (top level): ... here. Iterate running tests under different
4781 scheduler-locking settings.
4782
45371d0c
LM
47832014-06-18 Luis Machado <lgustavo@codesourcery.com>
4784
4785 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
4786 to DW_FORM_addr and use non-zero addresses.
4787
5d376983
SC
47882014-06-18 Siva Chandra Reddy <sivachandra@google.com>
4789
4790 PR gdb/17017
4791 * gdb.python/py-xmethods.cc: Add global function call counters and
4792 increment them in their respective functions. Remove "cout"
4793 statements.
4794 * gdb.python/py-xmethods.exp: Make tests check the global function
4795 call counters instead of depending on inferior IO.
4796
a1aa2221
LM
47972014-06-18 Don Breazeal <donb@codesourcery.com>
4798
4799 * gdb.base/foll-fork.exp (default_fork_parent_follow):
4800 Deleted procedure.
4801 (explicit_fork_parent_follow): Deleted procedure.
4802 (explicit_fork_child_follow): Deleted procedure.
4803 (test_follow_fork): New procedure.
4804 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 4805 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
4806 procedure calls.
4807
0fc05997
YQ
48082014-06-17 Yao Qi <yao@codesourcery.com>
4809
4810 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
4811 CP1252.
4812
70795c52
LM
48132014-06-17 Luis Machado <lgustavo@codesourcery.com>
4814
4815 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
4816 Initialize ptr and S explicitly.
4817 (skip_type_update_when_not_use_rtti_test): Likewise.
4818
6be47f0c
KS
48192014-06-16 Keith Seitz <keiths@redhat.com>
4820
4821 PR mi/15863
4822 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
4823 the inferior is started.
4824
d03de421
PA
48252014-06-16 Pedro Alves <palves@redhat.com>
4826
4827 * gdb.base/break-main-file-remove-fail.c: New file.
4828 * gdb.base/break-main-file-remove-fail.exp: New file.
4829 * gdb.base/break-unload-file.exp: Use build_executable instead of
4830 prepare_for_testing.
4831 (test_break): New parameter "initial_load". Handle it.
4832 (top level): Add initial_load cmdline/file axis.
4833
f9579b99
TT
48342014-06-12 Tom Tromey <tromey@redhat.com>
4835
4836 * gdb.base/completion.exp: Don't use directory name in test.
4837
3657956b
GB
48382014-06-09 Gary Benson <gbenson@redhat.com>
4839
4840 * gdb.base/sigall.c [Functions to send signals]: Reorder to
4841 separate the always-available ANSI-standard signals from the
4842 signals that require checking.
4843 (main): Likewise.
4844 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
4845 Likewise.
4846 (main): Likewise.
4847
4186eb54
KS
48482014-06-07 Keith Seitz <keiths@redhat.com>
4849
4850 Revert:
4851 PR c++/16253
4852 * gdb.cp/var-tag.cc: New file.
4853 * gdb.cp/var-tag.exp: New file.
4854 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4855 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4856 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4857 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4858
25326a28 48592014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
4860
4861 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
4862
829155c9
PA
48632014-06-06 Pedro Alves <palves@redhat.com>
4864
4865 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
4866 in target debug output instead of looking at RSP packets,
4867 disabling the test on any target that uses hardware stepping.
4868 Update comments.
4869
61c8d22e
PA
48702014-06-06 Pedro Alves <palves@redhat.com>
4871
4872 * gdb.base/break-unload-file.exp: Fix typo.
4873
d9a47287
YQ
48742014-06-06 Yao Qi <yao@codesourcery.com>
4875
4876 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
4877 from "jit_function" to "^jit_function".
4878
e5e01dbf
YQ
48792014-06-06 Yao Qi <yao@codesourcery.com>
4880
4881 * gdb.base/async.c (foo): Add one statement.
4882 * gdb.base/async.exp: Get the next instruction address and
4883 match the output of "nexti" by instruction address. Match
4884 the hex address in the output of "finish".
4885
73ba372c
GB
48862014-06-06 Gary Benson <gbenson@redhat.com>
4887
4888 * gdb.base/call-signals.c: Remove preprocessor conditionals
4889 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
4890 SIGSEGV and SIGTERM.
4891 * gdb.base/sigall.c: Likewise.
4892 * gdb.base/unwindonsignal.c: Likewise.
4893 * gdb.reverse/sigall-reverse.c: Likewise.
4894
831517df
YQ
48952014-06-06 Yao Qi <yao@codesourcery.com>
4896
4897 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
4898 readable, skip the test.
4899
b8b91e98
YQ
49002014-06-06 Yao Qi <yao@codesourcery.com>
4901
4902 * gdb.threads/staticthreads.c (thread_function): Move the line
4903 setting breakpoint on forward.
4904 * gdb.threads/staticthreads.exp: Update comments.
4905
fb934770
LC
49062014-06-05 Ludovic Courtès <ludo@gnu.org>
4907
4908 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
4909 "history-append! type error".
4910
6ef284bd
SM
49112014-06-05 Simon Marchi <simon.marchi@ericsson.com>
4912
4913 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
4914 erroneous dprintf expected input.
4915
a872e241
DE
49162014-06-04 Doug Evans <xdje42@gmail.com>
4917
4918 * gdb.guile/scm-generics.exp: Delete.
4919
16f691fb
DE
49202014-06-04 Doug Evans <xdje42@gmail.com>
4921
4922 * gdb.guile/scm-breakpoint.exp: Update.
4923 Add tests for breakpoint registration.
4924
012370f6
TT
49252014-06-04 Tom Tromey <tromey@redhat.com>
4926
4927 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
4928 VLA-in-union.
4929 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
4930 inner_vla_struct, vla_union types. Initialize objects of those
4931 types and compute their sizes.
4932
9f5a4cef
HZ
49332014-06-04 Nathan Sidwell <nathan@codesourcery.com>
4934 Hui Zhu <hui@codesourcery.com>
4935
4936 * gdb.base/fileio.exp: Add test for shell not available as well as
4937 available.
4938 * gdb.base/fileio.c (test_system): Check for shell twice.
4939
90a45c4d
YQ
49402014-06-04 Yao Qi <yao@codesourcery.com>
4941
4942 * gdb.base/auto-connect-native-target.exp: Remove redundant
4943 space from the regexp pattern.
4944
70017e41
YQ
49452014-06-04 Yao Qi <yao@codesourcery.com>
4946
4947 * gdb.base/default.exp: Replace "child" with "native" in
4948 regexp pattern.
4949
883964a7
SC
49502014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4951
4952 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
4953 * gdb.python/py-xmethods.exp: New tests to test xmethods.
4954 * gdb.python/py-xmethods.py: Python script supporting the
4955 new testcase and tests.
4956
ef370185
JB
49572014-06-03 Joel Brobecker <brobecker@adacore.com>
4958 Pedro Alves <palves@redhat.com>
4959
4960 PR breakpoints/17000
4961 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
4962 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
4963
1e2ccb61
BM
49642014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
4965
4966 * gdb.base/subst.exp: Add tests to verify partial path matching
4967 output.
4968
c6ec5ab2
PA
49692014-06-03 Pedro Alves <palves@redhat.com>
4970
4971 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
4972 target that doesn't use software single-stepping.
4973
835c559f
PA
49742014-06-03 Pedro Alves <palves@redhat.com>
4975
4976 PR breakpoints/17000
4977 * gdb.base/sss-bp-on-user-bp-2.c: New file.
4978 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
4979
06eb1586
DE
49802014-06-02 Doug Evans <xdje42@gmail.com>
4981
4982 * gdb.guile/scm-parameter.exp: New file.
4983
e698b8c4
DE
49842014-06-02 Doug Evans <xdje42@gmail.com>
4985
4986 * gdb.guile/scm-cmd.c: New file.
4987 * gdb.guile/scm-cmd.exp: New file.
4988
ded03782
DE
49892014-06-02 Doug Evans <xdje42@gmail.com>
4990
4991 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
4992 pretty-printer lookup.
4993 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
4994 (make-pp_s-printer): Call it.
4995 (make-pretty-printer-from-dict): New function.
4996 (lookup-pretty-printer-maker-from-dict): New function.
4997 (*pretty-printer*): Simplify.
4998 (make-objfile-pp_s-printer): New function.
4999 (install-objfile-pretty-printers!): New function.
5000 (make-progspace-pp_s-printer): New function.
5001 (install-progspace-pretty-printers!): New function.
5002 * gdb.guile/scm-progspace.c: New file.
5003 * gdb.guile/scm-progspace.exp: New file.
5004
41fac0cf
PA
50052014-06-02 Pedro Alves <palves@redhat.com>
5006
5007 * gdb.base/dprintf-bp-same-addr.c: New file.
5008 * gdb.base/dprintf-bp-same-addr.exp: New file.
5009
96ae5695
EBM
50102014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5011
5012 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
5013 * gdb.arch/powerpc-power.s: Likewise.
5014
da02b3a8
JB
50152014-06-02 Joel Brobecker <brobecker@adacore.com>
5016
5017 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
5018
c72b2e7b
YQ
50192014-06-01 Yao Qi <yao@codesourcery.com>
5020
5021 * gdb.base/watchpoint.exp (test_watch_location): Check null
5022 pointer can be dereferenced. If not, do the test, otherwise
5023 skip it.
5024
53e8a631
AB
50252014-05-30 Andrew Burgess <aburgess@broadcom.com>
5026
5027 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
5028 results.
5029 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
5030
938f0e2f
AB
50312014-05-30 Andrew Burgess <aburgess@broadcom.com>
5032
5033 * gdb.arch/amd64-invalid-stack-middle.S: New file.
5034 * gdb.arch/amd64-invalid-stack-middle.c: New file.
5035 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
5036 * gdb.arch/amd64-invalid-stack-top.c: New file.
5037 * gdb.arch/amd64-invalid-stack-top.exp: New file.
5038
9ba6657a
PA
50392014-05-30 Pedro Alves <palves@redhat.com>
5040
5041 PR breakpoints/17000
5042 * gdb.base/sss-bp-on-user-bp.c: New file.
5043 * gdb.base/sss-bp-on-user-bp.exp: New file.
5044
522c09bf
DB
50452014-05-30 David Blaikie <dblaikie@gmail.com>
5046
5047 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
5048 gnu_inline semantics via attribute.
5049 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
5050 source explicitly specifies the required semantics.
5051
bf4ef81e
MR
50522014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
5053
5054 * gdb.reverse/sigall-reverse.exp: Fix a typo.
5055
329ea579
PA
50562014-05-29 Pedro Alves <palves@redhat.com>
5057 Tom Tromey <tromey@redhat.com>
5058
5059 * gdb.base/async-shell.exp: Don't enable target-async.
5060 * gdb.base/async.exp
5061 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
5062 parameter. Adjust.
5063 (top level): Don't test with "target-async".
5064 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
5065 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
5066 * gdb.base/inferior-died.exp: Don't enable target-async.
5067 * gdb.base/interrupt-noterm.exp: Likewise.
5068 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
5069 * gdb.mi/mi-nonstop-exit.exp: Likewise.
5070 * gdb.mi/mi-nonstop.exp: Likewise.
5071 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
5072 * gdb.mi/mi-nsintrall.exp: Likewise.
5073 * gdb.mi/mi-nsmoribund.exp: Likewise.
5074 * gdb.mi/mi-nsthrexec.exp: Likewise.
5075 * gdb.mi/mi-watch-nonstop.exp: Likewise.
5076 * gdb.multi/watchpoint-multi.exp: Adjust comment.
5077 * gdb.python/py-evsignal.exp: Don't enable target-async.
5078 * gdb.python/py-evthreads.exp: Likewise.
5079 * gdb.python/py-prompt.exp: Likewise.
5080 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
5081 * gdb.server/solib-list.exp: Don't enable target-async.
5082 * gdb.threads/thread-specific-bp.exp: Likewise.
5083 * lib/mi-support.exp: Adjust to use mi-async.
5084
fd664c91
PA
50852014-05-29 Pedro Alves <palves@redhat.com>
5086
5087 PR gdb/13860
5088 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
5089 reason, even in sync mode.
5090
251bde03
PA
50912014-05-29 Pedro Alves <palves@redhat.com>
5092 Hui Zhu <hui@codesourcery.com>
5093
5094 PR PR15693
5095 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
5096 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
5097 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
5098 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
5099
7f3c0343
JB
51002014-05-28 Joel Brobecker <brobecker@adacore.com>
5101
5102 * config/monitor.exp (gdb_target_monitor): Replace use of
5103 "set remotebaud" by "set serial baud".
5104
b2715b27
AW
51052014-05-26 Andy Wingo <wingo@igalia.com>
5106
5107 * gdb.guile/scm-breakpoint.exp:
5108 * gdb.guile/scm-gsmob.exp: Update to use plain old object
5109 properties instead of gdb-object-properties.
5110
498a4489
YQ
51112014-05-26 Yao Qi <yao@codesourcery.com>
5112
5113 * gdb.server/no-thread-db.exp: Specify source file name
5114 explicitly when setting a breakpoint.
5115
589fdceb
MM
51162014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5117
5118 * gdb.btrace/vdso.c: New.
5119 * gdb.btrace/vdso.exp: New.
5120
e9089e05
MM
51212014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5122
5123 * gdb.base/gcore.exp (capture_command_output): Move ...
5124 * lib/gdb.exp (capture_command_output): ... here.
5125
67b5c0c1
MM
51262014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5127
5128 * gdb.btrace/data.exp: Test memory access during btrace replay.
5129
a2199296
SM
51302014-05-22 Simon Marchi <simon.marchi@ericsson.com>
5131
5132 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
5133
17b2616c
PA
51342014-05-21 Pedro Alves <palves@redhat.com>
5135
5136 PR gdb/13860
5137 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
5138 (top level): Test that output related to execution commands is
5139 sent to the console with CLI commands, but not with MI commands.
5140 Test that breakpoint events are always mirrored to the console.
5141 Also expect the new source line to be output after a "next" in
5142 async mode too. Make it a pass/fail test.
5143 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
5144 output.
5145 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
5146
5166082f
PA
51472014-05-21 Pedro Alves <palves@redhat.com>
5148
5149 * gdb.base/list.exp (build_pattern, test_list): New procedures.
5150 Use them to test variations of "list" after reaching a breakpoint.
5151 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
5152 Test "list" with listsize 10 after reaching a breakpoint.
5153 * gdb.python/python.exp (decode_line current location line
5154 number): Adjust expected line number.
5155
2f25d70f
SM
51562014-05-21 Simon Marchi <simon.marchi@ericsson.com>
5157
5158 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
5159 behavior for $args, pass it directly to "run".
5160
ff604a67
MR
51612014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
5162
5163 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
5164 30000 to 65536.
5165
6a3cb8e8
PA
51662014-05-21 Pedro Alves <palves@redhat.com>
5167
5168 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
5169 auto-connect-native-target off".
5170 * gdb.base/auto-connect-native-target.c: New file.
5171 * gdb.base/auto-connect-native-target.exp: New file.
5172
4ebfc96e
PA
51732014-05-21 Pedro Alves <palves@redhat.com>
5174
5175 * gdb.base/default.exp: Test "target native" instead of "target
5176 child".
5177
36d46afb
MW
51782014-05-21 Mark Wielaard <mjw@redhat.com>
5179
5180 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
5181
5876f503
JK
51822014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5183
5184 Fix TLS access for -static -pthread.
5185 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
5186 <HAVE_TLS> (thread_function, main): Initialize it.
5187 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
5188 Add clean_restart.
5189 <$have_tls != "">: Check TLSVAR.
5190
0256a6ac
PA
51912014-05-21 Pedro Alves <palves@redhat.com>
5192
5193 * gdb.base/dcache-line-read-error.c: New.
5194 * gdb.base/dcache-line-read-error.exp: New.
5195
936d2992
PA
51962014-05-20 Pedro Alves <palves@redhat.com>
5197
5198 * gdb.base/compare-sections.c: New file.
5199 * gdb.base/compare-sections.exp: New file.
5200
802e8e6d
PA
52012014-05-20 Pedro Alves <palves@redhat.com>
5202
5203 * gdb.base/break-idempotent.c: New file.
5204 * gdb.base/break-idempotent.exp: New file.
5205
e59fa00f
MM
52062014-05-20 Markus Metzger <markus.t.metzger@intel.com>
5207
5208 * gdb.btrace/nohist.exp: New.
5209
8b696e31
YQ
52102014-05-20 Yao Qi <yao@codesourcery.com>
5211
5212 * lib/gdb.exp (gdb_init): Set timeout if test file is under
5213 gdb.reverse directory and gdb_reverse_timeout exists in board
5214 setting.
5215 * README: Document gdb_reverse_timeout.
5216
73c9764f
YQ
52172014-05-20 Yao Qi <yao@codesourcery.com>
5218
5219 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
5220 'test_file_name'. Treat args as a string instead of a list.
5221 (gdb_init): Rename argument 'args' by 'test_file_name'.
5222
f1f4348a
JK
52232014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5224
5225 * gdb.arch/powerpc-power.exp: New file.
5226 * gdb.arch/powerpc-power.s: New file.
5227
0dbe70ce
DE
52282014-05-16 Doug Evans <dje@google.com>
5229
5230 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
5231 * gdb.base/completion.exp: Check that all expected files exist
5232 before doing file completion.
0dbe70ce 5233
8d551b02
DE
52342014-05-16 Doug Evans <dje@google.com>
5235
5236 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
5237 Update.
5238 (do_syscall_tests_without_xml): Update.
5239
73eb7709
PA
52402014-05-16 Pedro Alves <palves@redhat.com>
5241
5242 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
5243 instead of "unknown output after running".
5244
3fae92fc
YQ
52452014-05-16 Yao Qi <yao@codesourcery.com>
5246
5247 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
5248 file1.txt from host at the end.
5249 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5250
c2b2ccc5
DE
52512014-05-15 Doug Evans <dje@google.com>
5252
5253 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
5254 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
5255 loading file. Add test for TU lookup.
5256
8c217a4b
SM
52572014-05-15 Simon Marchi <simon.marchi@ericsson.com>
5258
5259 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
5260 calling "-exec-arguments" or "set args" before running the
5261 inferior.
5262
3deb39c6
SM
52632014-05-15 Simon Marchi <simon.marchi@ericsson.com>
5264
5265 * lib/mi-support.exp (mi_expect_stop): Expect message for
5266 inferiors that exit with non-zero exit code.
5267
71a79f8c
YQ
52682014-05-14 Yao Qi <yao@codesourcery.com>
5269
5270 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
5271 match absolute path on remote host.
5272 (test_file_list_exec_source_files): Remove "/" from the
5273 pattern.
5274
f23fcd46
YQ
52752014-05-14 Yao Qi <yao@codesourcery.com>
5276
5277 * boards/local-remote-host-notty.exp (${board}_file): New
5278 proc.
5279
9404b58f
KM
52802014-05-07 Kyle McMartin <kyle@redhat.com>
5281
5282 Pushed by Joel Brobecker <brobecker@adacore.com>.
5283 * gdb.arch/aarch64-atomic-inst.c: New file.
5284 * gdb.arch/aarch64-atomic-inst.exp: New file.
5285
5e45f04c
YQ
52862014-05-07 Yao Qi <yao@codesourcery.com>
5287
5288 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
5289 in current context" too.
5290
c888a17d
KS
52912014-05-05 Keith Seitz <keiths@redhat.com>
5292
5293 * gdb.linespec/ls-dollar.exp: Add test for linespec
5294 file:convenience_variable.
5295
290a839c
YQ
52962014-05-05 Yao Qi <yao@codesourcery.com>
5297
5298 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
5299 traceframes into tfile and ctf trace files. Read data from
5300 trace file and test collected data.
5301 (gdb_collect_locals_test): Likewise.
5302 (gdb_unavailable_registers_test): Likewise.
5303 (gdb_unavailable_floats): Likewise.
5304 (gdb_collect_globals_test): Likewise.
5305 (top-level): Append "ctf" to trace_file_targets if GDB
5306 supports.
5307
b5262cd0
YQ
53082014-05-05 Yao Qi <yao@codesourcery.com>
5309
5310 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
5311 code to ...
5312 (gdb_collect_args_test_1): ... it. New proc.
5313 (gdb_collect_locals_test): Move some code to ...
5314 (gdb_collect_locals_test_1): ... it. New proc.
5315 (gdb_unavailable_registers_test): Move some code to ...
5316 (gdb_unavailable_registers_test_1): ... it. New proc.
5317 (gdb_unavailable_floats): Move some code to ...
5318 (gdb_unavailable_floats_1): ... it. New proc.
5319
30a1e6cc
SDJ
53202014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5321
5322 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
5323 probes to test for bitness recognition.
5324 * gdb.arch/amd64-stap-optional-prefix.exp
5325 (test_probe_value_without_reg): New procedure.
5326 Add code to test for different kinds of bitness.
5327
f33da99a
SDJ
53282014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5329
5330 PR breakpoints/16889
5331 * gdb.arch/amd64-stap-optional-prefix.S: New file.
5332 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5333
5b80f00d
PA
53342014-05-01 Pedro Alves <palves@redhat.com>
5335
5336 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
5337 gdb_file_cmd if no file is specified.
5338 * boards/native-extended-gdbserver.exp (gdb_load): Use the
5339 last_loaded_file to set the remote exec-file.
5340
f8c2a73c
PA
53412014-05-01 Pedro Alves <palves@redhat.com>
5342
5343 * boards/local-remote-host.exp: New file.
5344
be6e8ac7
PA
53452014-05-01 Pedro Alves <palves@redhat.com>
5346
5347 * boards/local-remote-host.exp: Rename to ...
5348 * boards/local-remote-host-notty.exp: ... this.
5349
cac0dc8f
JB
53502014-04-28 Joel Brobecker <brobecker@adacore.com>
5351
5352 * gdb.ada/dyn_arrayidx: New testcase.
5353
9730e6cc
YQ
53542014-04-26 Yao Qi <yao@codesourcery.com>
5355
5356 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
5357 and compute the length of function main. Save it in
5358 $main_length.
5359 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
5360 (top-level): Use gdb_compile to compile objects into
5361 executable and restart GDB. Remove invocation to
5362 prepare_for_testing.
5363
7ae1a6a6
PA
53642014-04-25 Simon Marchi <simon.marchi@ericsson.com>
5365 Pedro Alves <palves@redhat.com>
5366
5367 PR server/16255
5368 * gdb.multi/multi-attach.c: New file.
5369 * gdb.multi/multi-attach.exp: New file.
5370
4082afcc
PA
53712014-04-25 Pedro Alves <palves@redhat.com>
5372
5373 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
5374 user.
5375 (top level): Test that "set remote conditional-breakpoints-packet
5376 off" works as intended.
5377 * gdb.base/dprintf.exp: Test that "set remote
5378 breakpoint-commands-packet off" works as intended.
5379 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
5380 New function.
5381 (top level): Call it.
5382 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
5383 remote fast-tracepoints-packet off" works as intended.
5384 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
5385 * lib/gdb.exp (gdb_is_target_remote): ... here.
5386
2abc3f8d
DB
53872014-04-24 David Blaikie <dblaikie@gmail.com>
5388
5389 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
5390 ensure clang would not discard them.
5391 * gdb.base/gdbvars.c: Ditto.
5392 * gdb.base/memattr.c: Ditto.
5393 * gdb.base/whatis.c: Ditto.
5394 * gdb.python/py-prettyprint.c: Ditto.
5395 * gdb.trace/actions.c: Ditto.
5396 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
5397 ensure clang would not discard it.
5398
bfd39632
DB
53992014-04-24 David Blaikie <dblaikie@gmail.com>
5400
5401 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
5402 clang to emit the full definition of type required by the test
5403 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
5404
22842ff6
DB
54052014-04-24 David Blaikie <dblaikie@gmail.com>
5406
5407 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
5408 coax Clang into emitting the definition of the type.
5409 * gdb.cp/pr10728-x.h (y): Ditto.
5410 * gdb.cp/pr10728-y.cc (y): Ditto.
5411
c2e827ad
DB
54122014-04-24 David Blaikie <dblaikie@gmail.com>
5413
5414 * gdb.base/label.exp: XFAIL label related tests under Clang.
5415 * gdb.cp/cplabel.exp: Ditto.
5416 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
5417 under Clang those using labels.
5418
4c2d33e7
YQ
54192014-04-25 Yao Qi <yao@codesourcery.com>
5420
5421 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
5422 double_label.
5423 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
5424 partial_label and double_label.
5425
56083b99
DB
54262014-04-24 David Blaikie <dblaikie@gmail.com>
5427
5428 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
5429
25d4e99d
DB
54302014-04-24 David Blaikie <dblaikie@gmail.com>
5431
5432 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
5433 of the function to work across GCC and Clang.
5434 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
5435 pointer types (const void ** const V void **).
5436
01f9f808
MS
54372014-04-24 Michael Sturm <michael.sturm@mintel.com>
5438 Walfred Tedeschi <walfred.tedeschi@intel.com>
5439
5440 * Makefile.in (EXECUTABLES): Added i386-avx512.
5441 * gdb.arch/i386-avx512.c: New file.
5442 * gdb.arch/i386-avx512.exp: Likewise.
5443
4b48d439
KS
54442014-04-23 Keith Seitz <keiths@redhat.com>
5445
5446 * lib/mi-support.exp (mi_list_breakpoints): Delete.
5447 (mi_make_breakpoint_table): New procedure.
5448 (mi_create_breakpoint): Use mi_make_breakpoint
5449 and return the result.
5450 (mi_make_breakpoint): New procedure.
5451 (mi_build_kv_pairs): New procedure.
5452
5453 * gdb.mi/mi-break.exp: Remove unused globals,
5454 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
5455 All callers updated.
5456 * gdb.mi/mi-dprintf.exp: Use variable to track command
5457 number.
5458 Update all callers of mi_create_breakpoint and use
5459 mi_make_breakpoint_table.
5460 Remove any unused global variables.
5461 * gdb.mi/mi-nonstop.exp: Likewise.
5462 * gdb.mi/mi-nsintrall.exp: Likewise.
5463 * gdb.mi/mi-nsmoribund.exp: Likewise.
5464 * gdb.mi/mi-nsthrexec.exp: Likewise.
5465 * gdb.mi/mi-reverse.exp: Likewise.
5466 * gdb.mi/mi-simplerun.exp: Likewise.
5467 * gdb.mi/mi-stepn.exp: Likewise.
5468 * gdb.mi/mi-syn-frame.exp: Likewise.
5469 * gdb.mi/mi-until.exp: Likewise.
5470 * gdb.mi/mi-var-cp.exp: Likewise.
5471 * gdb.mi/mi-var-display.exp: Likewise.
5472 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
5473 * gdb.mi/mi2-var-child.exp: Likewise.
5474 * gdb.mi/mi-vla-c99.exp: Likewise.
5475 * lib/mi-support.exp: Likewise.
5476
5477 From Ian Lance Taylor <iant@cygnus.com>:
5478 * lib/gdb.exp (parse_args): New procedure.
5479
08351840
PA
54802014-04-23 Pedro Alves <palves@redhat.com>
5481
5482 * gdb.base/break-unload-file.c: New file.
5483 * gdb.base/break-unload-file.exp: New file.
5484 * gdb.base/sym-file-lib.c (baz): New function.
5485 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
5486 field.
5487 (load): Store the segment's mapped size.
5488 (unload): New function.
5489 (unload_shlib): New function.
5490 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
5491 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
5492 set a breakpoint at baz, and call it.
5493 * gdb.base/sym-file.exp: New tests for stale breakpoint
5494 instructions.
5495
076855f9
PA
54962014-04-23 Pedro Alves <palves@redhat.com>
5497
5498 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
5499 * gdb.base/hbreak-in-shr-unsupported.c: New file.
5500 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
5501 * gdb.base/hbreak-unmapped.c: New file.
5502 * gdb.base/hbreak-unmapped.exp: New file.
5503 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
5504 * lib/gdb.exp (gdb_is_target_remote): ... here.
5505
483805cf
PA
55062014-04-22 Pedro Alves <palves@redhat.com>
5507
5508 * gdb.base/consecutive-step-over.c: New file.
5509 * gdb.base/consecutive-step-over.exp: New file.
5510
06d97543
PA
55112014-04-22 Pedro Alves <palves@redhat.com>
5512
5513 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
5514 instead of send_gdb/gdb_expect.
5515
b4429ea2
YQ
55162014-04-22 Yao Qi <yao@codesourcery.com>
5517
5518 * lib/trace-support.exp (generate_tracefile): New procedure.
5519 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
5520 return 0.
5521 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
5522 if generate_tracefile returns 1.
5523
51d48146
PA
55242014-04-18 Tom Tromey <palves@redhat.com>
5525 Pedro alves <tromey@redhat.com>
5526
5527 PR backtrace/15558
5528 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
5529 with a backtrace limit.
5530 * gdb.python/py-frame-inline.exp: Test running to an inline
5531 function with a backtrace limit, and printing the newest frame.
5532 * gdb.python/py-frame-inline.c (main): Call f.
5533
bd1dce5f
MS
55342014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
5535
5536 * gdb.java/jnpe.exp: Drop srcdir from untested path.
5537
40d1a503
MS
55382014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
5539
5540 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
5541 Drop prefix from unsupported source file path.
5542
389b98f7
YQ
55432014-04-17 Yao Qi <yao@codesourcery.com>
5544
5545 * lib/gdb.exp (with_target_charset): New proc.
5546 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
5547 with_target_charset.
5548 (test_print_strings): Likewise.
5549 (test_repeat_bytes): Likewise.
5550 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
5551 for some tests.
5552
22869d73
KS
55532014-04-16 Keith Seitz <keiths@redhat.com>
5554
5555 PR gdb/15827
5556 * gdb.dwarf2/corrupt.c: New file.
5557 * gdb.dwarf2/corrupt.exp: New file.
5558
c4f87ca6
KS
55592014-04-16 Keith Seitz <keiths@redhat.com>
5560
5561 PR c++/16597
5562 * gdb.cp/namelessclass.cc: New file.
5563 * gdb.cp/namelessclass.exp: New file.
5564 * gdb.cp/namelessclass.S: New file.
5565
ab19de87
DE
55662014-04-16 Doug Evans <dje@google.com>
5567
5568 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
5569 Add comment.
5570 (gdbserver_default_get_comm_port): New function.
5571 (gdbserver_start): Check if board file provided
5572 "gdbserver,get_comm_port" and use it if so.
5573 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
5574 (gdb,socketport): Set to "stdio".
5575 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
5576 (stdio_gdbserver_template): Delete.
5577 (${board}_get_remote_address): Update.
5578 (${board}_build_remote_cmd): Delete.
5579 (${board}_get_comm_port): New function.
5580 (${board}_spawn): Update.
5581 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
5582 Delete.
5583 (${board}_get_remote_address): Update.
5584 (${board}_get_comm_port): New function.
5585
fc98a809
AB
55862014-04-16 Andrew Burgess <aburgess@broadcom.com>
5587
5588 * gdb.base/memattr.exp: Improve regexps to handle memory regions
5589 appearing in any order.
5590
87fd9e6e
DE
55912014-04-15 Doug Evans <dje@google.com>
5592
5593 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
5594 uninitialized value of "description".
5595
099fc3ea
KS
55962014-04-15 Keith Seitz <keiths@redhat.com>
5597
5598 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
5599 Remove unused globals.
5600 (test_running_the_program): Likewise.
5601 (test_controlled_execution): Likewise.
5602 (test_controlling_breakpoints): Likewise.
5603 (test_program_termination): Likewise.
5604
5da151d4
KS
56052014-04-15 Keith Seitz <keiths@redhat.com>
5606
5607 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
5608 unused globals.
5609 (test_rbreak_creation_and_listing): Likewise.
5610 (test_ignore_count): Likewise.
5611 (test_error): Likewise.
5612
35e5d2f0
PA
56132014-04-15 Pedro Alves <palves@redhat.com>
5614
5615 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
5616 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
5617 sym-file-loader.c.
5618 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
5619 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
5620 to sym-file-loader.c.
5621 (struct library): Forward declare.
5622 (load_shlib, lookup_function): Change prototypes.
5623 (find_shstrtab, find_strtab, find_shdr, find_symtab)
5624 (translate_offset): Remove declarations.
5625 (get_text_addr): New declaration.
5626 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
5627 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
5628 sym-file-loader.h.
5629 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
5630 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
5631 here from sym-file-loader.h.
5632 (struct library): New structure.
5633 (load_shlib, lookup_function): Change prototypes and adjust to
5634 work with a struct library.
5635 (find_shstrtab, find_strtab, find_shdr, find_symtab)
5636 (translate_offset): Make static.
5637 (get_text_addr): New function.
5638 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
5639
eb4c1710
PA
56402014-04-15 Pedro Alves <palves@redhat.com>
5641
5642 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
5643
2d1baf52
PA
56442014-04-15 Pedro Alves <palves@redhat.com>
5645
5646 * gdb.base/sym-file-loader.c: Include <limits.h>.
5647 (SELF_LINK): New define.
5648 (get_origin): New function.
5649 (load_shlib): Use it.
5650 * gdb.base/sym-file.exp: Don't early return if the target is
5651 remote. Use runto_main, and issue fail is that fails. Use
5652 gdb_load_shlibs.
5653 (shlib_name): Delete.
5654 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
5655
7dd6df01
PA
56562014-04-15 Pedro Alves <palves@redhat.com>
5657
5658 * gdb.base/sym-file.exp: Remove regex characters from test
5659 message. Don't refer to breakpoint numbers in test messages.
5660
b50c8614
KS
56612014-04-14 Keith Seitz <keiths@redhat.com>
5662
5663 PR c++/16253
5664 * gdb.cp/var-tag.cc: New file.
5665 * gdb.cp/var-tag.exp: New file.
5666 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
5667 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
5668 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
5669 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
5670
3d567982
TT
56712014-04-14 Tom Tromey <tromey@redhat.com>
5672
5673 * gdb.cp/classes.exp (test_enums): Handle underlying type.
5674 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
5675 type.
5676 * gdb.cp/enum-class.exp: New file.
5677 * gdb.cp/enum-class.cc: New file.
5678
0626fc76
TT
56792014-04-14 Tom Tromey <tromey@redhat.com>
5680
5681 * gdb.dwarf2/enum-type.exp: New file.
5682
dca325b3
SA
56832014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5684
5685 * gdb.mi/mi-vla-c99.exp: New file.
5686 * gdb.mi/vla.c: New file.
5687
5854b38a
SA
56882014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5689
5690 * gdb.base/vla-datatypes.c: New file.
5691 * gdb.base/vla-datatypes.exp: New file.
5692
463bb957
SA
56932014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5694
5695 * gdb.base/vla-ptr.c: New file.
5696 * gdb.base/vla-ptr.exp: New file.
5697
3dd170be
SA
56982014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5699
5700 * gdb.dwarf2/count.exp: New file.
5701
5ecaaa66
SA
57022014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5703
5704 * gdb.base/vla-sideeffect.c: New file.
5705 * gdb.base/vla-sideeffect.exp: New file.
5706
41f1ada5
DB
57072014-04-14 David Blaikie <dblaikie@gmail.com>
5708
5709 * gdb.mi/non-stop.c: Add return value for non-void function return
5710 statement.
5711 * gdb.threads/staticthreads.c: Ditto.
5712
0be03e84
DE
57132014-04-12 Siva Chandra Reddy <sivachandra@google.com>
5714 Doug Evans <xdje42@gmail.com>
5715
5716 * gdb.guile/scm-value.c: Improve test case.
5717 * gdb.guile/scm-value.exp: Add new test.
5718
f180a1fb
DB
57192014-04-11 David Blaikie <dblaikie@gmail.com>
5720
5721 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
5722 override Clang's default.
5723
6b662e19
JB
57242014-04-11 Joel Brobecker <brobecker@adacore.com>
5725
5726 Revert the following changes (regressions):
5727
5728 * gdb.base/vla-sideeffect.c: New file.
5729 * gdb.base/vla-sideeffect.exp: New file.
5730
5731 * gdb.dwarf2/count.exp: New file.
5732
5733 * gdb.base/vla-multi.c: New file.
5734 * gdb.base/vla-multi.exp: New file.
5735
5736 * gdb.base/vla-ptr.c: New file.
5737 * gdb.base/vla-ptr.exp: New file.
5738
5739 * gdb.base/vla-datatypes.c: New file.
5740 * gdb.base/vla-datatypes.exp: New file.
5741
5742 * gdb.mi/mi-vla-c99.exp: New file.
5743 * gdb.mi/vla.c: New file.
5744
245a5f0b
KS
57452014-04-11 Keith Seitz <keiths@redhat.com>
5746
5747 PR c++/16675
5748 * gdb.cp/cpsizeof.exp: New file.
5749 * gdb.cp/cpsizeof.cc: New file.
5750
58a84dcf
SA
57512014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5752
191a8a90
JB
5753 * gdb.mi/mi-vla-c99.exp: New file.
5754 * gdb.mi/vla.c: New file.
58a84dcf 5755
c8655f75
SA
57562014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5757
5758 * gdb.base/vla-datatypes.c: New file.
5759 * gdb.base/vla-datatypes.exp: New file.
5760
024e13b4
SA
57612014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5762
5763 * gdb.base/vla-ptr.c: New file.
5764 * gdb.base/vla-ptr.exp: New file.
5765
1a237e0e
SA
57662014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5767
5768 * gdb.base/vla-multi.c: New file.
5769 * gdb.base/vla-multi.exp: New file.
5770
504f3432
SA
57712014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5772
5773 * gdb.dwarf2/count.exp: New file.
5774
3bce8237
SA
57752014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5776
191a8a90
JB
5777 * gdb.base/vla-sideeffect.c: New file.
5778 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 5779
322f9c21
YQ
57802014-04-11 Yao Qi <yao@codesourcery.com>
5781
5782 * gdb.base/completion.exp: Check file exists before running tests
5783 on file completion.
5784
d708bcd1
PA
57852014-04-10 Pedro Alves <palves@redhat.com>
5786
5787 * gdb.base/cond-eval-mode.c: New file.
5788 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
5789 prepare_for_testing to build the new file. Check result of
5790 runto_main.
5791 (test_break, test_watch): New procedures.
5792 (top level): Use them.
5793
ae1d2761
PM
57942014-04-08 Pierre Muller <muller@sourceware.org>
5795
5796 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
5797 Ctrl-V use for mingw hosts.
5798
7af389b8
SC
57992014-04-07 Siva Chandra Reddy <sivachandra@google.com>
5800
5801 * gdb.python/py-value.c: Improve test case.
5802 * gdb.python/py-value.exp: Add new test.
5803
5e703181
DE
58042014-04-07 David Blaikie <dblaikie@gmail.com>
5805
5806 * lib/compiler.c: Identify the clang compiler.
5807 * lib/compiler.cc: Ditto.
5808
9810b410
YQ
58092014-04-03 Yao Qi <yao@codesourcery.com>
5810
5811 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
5812
98d1b8dc
AB
58132014-04-01 Anton Blanchard <anton@samba.org>
5814
5815 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
5816 messages unique.
5817
3114cea1
AB
58182014-04-01 Anton Blanchard <anton@samba.org>
5819
5820 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
5821 prepare_for_testing.
5822
62f7182c
AB
58232014-04-01 Anton Blanchard <anton@samba.org>
5824
5825 * gdb.arch/ppc64-atomic-inst.c: Remove.
5826 * gdb.arch/ppc64-atomic-inst.S: New file.
5827 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
5828
770e7fc7
DE
58292014-03-31 Doug Evans <dje@google.com>
5830
5831 * gdb.base/print-symbol-loading-lib.c: New file.
5832 * gdb.base/print-symbol-loading-main.c: New file.
5833 * gdb.base/print-symbol-loading.exp: New file.
5834
46e2bafa
YQ
58352014-03-31 Yao Qi <yao@codesourcery.com>
5836
5837 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
5838
8776cfe9
JB
58392014-03-28 Joel Brobecker <brobecker@adacore.com>
5840
5841 * gdb.ada/mi_dyn_arr: New testcase.
5842
5d1ef361
DE
58432014-03-27 Doug Evans <dje@google.com>
5844
5845 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
5846
b5bee914
YQ
58472014-03-27 Yao Qi <yao@codesourcery.com>
5848
5849 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
5850 if target is nios2-*-*.
5851
0d4d0e77
YQ
58522014-03-26 Yao Qi <yao@codesourcery.com>
5853
5854 * lib/gdb.exp (readline_is_used): New proc.
5855 * gdb.base/completion.exp: Move tests on command complete up.
5856 Skip the rest of tests if readline is not used.
5857 * gdb.ada/complete.exp: Skp the test if readline is not
5858 used.
5859 * gdb.base/filesym.exp: Likewise.
5860 * gdb.base/macscp.exp: Likewise.
5861 * gdb.base/readline-ask.exp: Likewise.
5862 * gdb.base/readline.exp: Likewise.
5863 * gdb.python/py-cmd.exp: Likewise.
5864 * gdb.trace/tfile.exp: Likewise.
5865
29361eee
YQ
58662014-03-26 Yao Qi <yao@codesourcery.com>
5867
5868 * gdb.base/macscp.exp: Fix code format issues.
5869
bc9a5525
UW
58702014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
5871
5872 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
5873 * gdb.asm/powerpc64le.inc: New file.
5874
d3839ede
PA
58752014-03-25 Pedro Alves <palves@redhat.com>
5876 Doug Evans <dje@google.com>
5877
5878 * gdb.base/source-execution.c: New file.
5879 * gdb.base/source-execution.exp: New file.
5880 * gdb.base/source-execution.gdb: New file.
5881
01672a57
DE
58822014-03-24 Doug Evans <dje@google.com>
5883
5884 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
5885 using fission.
5886
88bbeca9
HZ
58872014-03-24 Hui Zhu <hui@codesourcery.com>
5888 Pedro Alves <palves@redhat.com>
5889
5890 PR breakpoints/16101
5891 * gdb.base/dprintf.exp: Use unsupported rather than changing the
5892 test pass/fail messages. Detect missing support for dprintf when
5893 breakpoints are actually inserted.
5894 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
5895 breakpoints are actually inserted.
5896 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
5897 fails.
5898
d2348791
JK
58992014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5900
5901 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
5902
feef67ab
DE
59032014-03-22 Doug Evans <xdje42@gmail.com>
5904
5905 * gdb.python/python.exp (python not supported): Verify multi-line
5906 python command issues an error.
25d743f9 5907 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 5908 guile command issues an error.
feef67ab 5909
ecebef6a
MR
59102014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
5911
5912 * gdb.threads/thread-specific.exp: Handle the lack of usable
5913 $this_breakpoint and $this_thread.
5914
ccdd1909
HZ
59152014-03-21 Hui Zhu <hui@codesourcery.com>
5916
5917 * gdb.base/attach.exp (do_command_attach_tests): New.
5918
beb460e8
PA
59192014-03-20 Tom Tromey <tromey@redhat.com>
5920 Pedro Alves <palves@redhat.com>
5921
5922 PR cli/15718
5923 * gdb.base/condbreak-call-false.c: New file.
5924 * gdb.base/condbreak-call-false.exp: New file.
5925
40acf43a
PA
59262014-03-20 Pedro Alves <palves@redhat.com>
5927
5928 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
5929 Delete.
5930 (block_signals, unblock_signals): Delete.
5931 (child_function_2, main): Remove references to deleted variable
5932 and functions.
5933
9f5e1e02
PA
59342014-03-20 Pedro Alves <palves@redhat.com>
5935
5936 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
5937 Use pthread_kill to signal thread 2.
5938 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5939 Adjust to make the test send itself a signal rather than using the
5940 host's "kill" command.
5941
99619bea
PA
59422014-03-20 Pedro Alves <palves@redhat.com>
5943
5944 * gdb.threads/multiple-step-overs.c: New file.
5945 * gdb.threads/multiple-step-overs.exp: New file.
5946 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5947 Adjust expected infrun debug output.
5948
2adfaa28
PA
59492014-03-20 Pedro Alves <palves@redhat.com>
5950
5951 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
5952 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
5953
31e77af2
PA
59542014-03-20 Pedro Alves <palves@redhat.com>
5955
5956 PR breakpoints/7143
5957 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
5958 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
5959 of gdb_test_multiple.
5960 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
5961 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
5962
b9f437de
PA
59632014-03-20 Pedro Alves <palves@redhat.com>
5964
5965 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
5966 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
5967
05adc73e
PA
59682014-03-19 Pedro Alves <palves@redhat.com>
5969
5970 * gdb.base/async.exp: Remove early return.
5971
6048b950
PA
59722014-03-19 Pedro Alves <palves@redhat.com>
5973
5974 * gdb.base/async.exp (step& tests): Pass explicit test messages.
5975
8bcfb00a
PA
59762014-03-19 Pedro Alves <palves@redhat.com>
5977
5978 * gdb.base/async.exp (test_background): Expect \r\n after
5979 "completed." in the fail pattern.
5980
884e37dc
PA
59812014-03-19 Pedro Alves <palves@redhat.com>
5982
5983 * gdb.base/async.exp (test_background): New procedure.
5984 Use it for all background execution command tests.
5985
148e57e2
PA
59862014-03-19 Pedro Alves <palves@redhat.com>
5987
5988 * gdb.base/async.exp: Use prepare_for_testing.
5989
f48088c7
PA
59902014-03-19 Pedro Alves <palves@redhat.com>
5991
5992 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
5993 the same line.
5994
e2f6c966
PA
59952014-03-19 Pedro Alves <palves@redhat.com>
5996
5997 * gdb.base/async.c (main): Add "jump here" and "until here" line
5998 marker comments.
5999 * gdb.base/async.exp (jump_here): New global.
6000 (jump& test): Use it.
6001 (until_here): New global.
6002 (until& test): Use it.
6003
c30568d4
PA
60042014-03-19 Pedro Alves <palves@redhat.com>
6005
6006 * gdb.base/async.exp: Don't frob gdb_protocol.
6007
0172b6a7
DE
60082014-03-18 Doug Evans <xdje42@gmail.com>
6009
6010 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
6011 Fix spelling of exec-done-display.
6012
06c868a8
JK
60132014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6014
6015 PR gdb/15358
6016 * gdb.base/gdb-sigterm.c: New file.
6017 * gdb.base/gdb-sigterm.exp: New file.
6018
0c7e1a46
PA
60192014-03-18 Pedro Alves <palves@redhat.com>
6020
6021 PR gdb/13860
6022 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
6023 * lib/mi-support.exp (mi_expect_stop): Add special handling for
6024 solib-event.
6025
f7c77d93
JB
60262014-03-17 Joel Brobecker <brobecker@adacore.com>
6027
6028 * gdb.ada/pckd_arr_ren: New testcase.
6029
5a1e8c7a
DE
60302014-03-13 Doug Evans <xdje42@gmail.com>
6031
6032 PR guile/16612
6033 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
6034 collect after discarding symbols.
6035
350e1a76
DE
60362014-03-13 Ludovic Courtès <ludo@gnu.org>
6037 Doug Evans <xdje42@gmail.com>
6038
6039 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
6040 to history survives a gc.
6041
a69900ae
PA
60422014-03-13 Pedro Alves <palves@redhat.com>
6043
6044 * gdb.base/default.exp: Don't test "target procfs".
6045
5db9f0bd
PA
60462014-03-13 Pedro Alves <palves@redhat.com>
6047
6048 * gdb.base/default.exp: Update "target child" and "target procfs"
6049 tests to not expect "Unix".
6050
b3ccfe11
TT
60512014-03-12 Tom Tromey <tromey@redhat.com>
6052
6053 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
6054 New procs. Add target-async tests.
6055 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
6056 Add target-async tests.
6057
646f4417
AA
60582014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6059
6060 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
6061 'func_start' and 'func_end' for the beginning and end of the
6062 function code, respectively.
6063 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
6064 'func_end' instead of 'func' and 'main'.
6065
288c211f
AA
60662014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6067
6068 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
6069 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
6070 generate the debug info assembler source.
6071
e0c0f156
AA
60722014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6073
6074 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
6075 * gdb.dwarf2/arr-subrange.exp: Likewise.
6076 * gdb.dwarf2/dwz.exp: Likewise.
6077 * gdb.dwarf2/method-ptr.exp: Likewise.
6078 * gdb.dwarf2/missing-sig-type.exp: Likewise.
6079 * gdb.dwarf2/subrange.exp: Likewise.
6080 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
6081 * gdb.dwarf2/implptrpiece.exp: Likewise.
6082 * gdb.dwarf2/nostaticblock.exp: Likewise.
6083
0e5c4555
AA
60842014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6085
6086 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
6087 directory to absolute path name arguments.
6088
5ec18f2b
JG
60892014-03-10 Joel Brobecker <brobecker@adacore.com>
6090
6091 * gdb.ada/tagged_access: New testcase.
6092
847fc4f2
MM
60932014-03-07 Markus Metzger <markus.t.metzger@intel.com>
6094
6095 * gdb.btrace/data.exp: Update expected output.
6096
cc3da688
YQ
60972014-03-06 Yao Qi <yao@codesourcery.com>
6098
6099 * gdb.trace/pr16508.exp: New file.
6100
0f26cec1
PA
61012014-03-05 Pedro Alves <palves@redhat.com>
6102
6103 PR gdb/16575
6104 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
6105 procedure.
6106 (top level): Adjust to use it. Add tests that exercise breakpoint
6107 interaction with the code-cache.
6108
7a5a839f
LC
61092014-02-26 Ludovic Courtès <ludo@gnu.org>
6110
6111 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
6112 test for 'history-append!'.
6113
31aa7e4e
JB
61142014-02-26 Joel Brobecker <brobecker@adacore.com>
6115
6116 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
6117 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
6118 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
6119 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
6120 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
6121 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
6122
1b588015
JB
61232014-02-26 Joel Brobecker <brobecker@adacore.com>
6124
6125 * testsuite/gdb.python/py-pp-re-notag.c: New file.
6126 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
6127 * testsuite/gdb.python/py-pp-re-notag.p: New file.
6128
55426c9d
JB
61292014-02-26 Joel Brobecker <brobecker@adacore.com>
6130
6131 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
6132
dc53a7ad
JB
61332014-02-26 Joel Brobecker <brobecker@adacore.com>
6134
6135 * gdb.dwarf2/arr-stride.c: New file.
6136 * gdb.dwarf2/arr-stride.exp: New file.
6137
12ab52e9
PA
61382014-02-26 Pedro Alves <palves@redhat.com>
6139
6140 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
6141 that won't ever trigger. Make sure that GDB reports the correct
6142 breakpoint that caused the stop.
6143
849c862e
JK
61442014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6145
6146 PR gdb/16626
6147 * gdb.base/auto-load-script: New file.
6148 * gdb.base/auto-load.c: New file.
6149 * gdb.base/auto-load.exp: New file.
6150
71b7d793
JK
6151 PR gdb/16626
6152 * gdb.base/auto-load.exp: Fix out-of-srctree run.
6153
e2f0d509
JK
61542014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6155
6156 Fix dw2-icycle.exp -fsanitize=address GDB crash.
6157 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
6158
50cc37c8
DE
61592014-02-24 Doug Evans <dje@google.com>
6160
6161 * lib/gdb.exp (run_on_host): Log error output if program fails.
6162
ea4758f2
PA
61632014-02-21 Pedro Alves <palves@redhat.com>
6164
6165 * gdb.threads/step-after-sr-lock.c: Rename to ...
6166 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
6167 * gdb.threads/step-after-sr-lock.exp: Rename to ...
6168 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6169 ... this.
6170
d7b30f67
SDJ
61712014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
6172
6173 PR tdep/16397
6174 * gdb.arch/amd64-stap-special-operands.exp: New file.
6175 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
6176 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
6177 * gdb.arch/amd64-stap-triplet.S: Likewise.
6178 * gdb.arch/amd64-stap-triplet.c: Likewise.
6179
83deb43f
JB
61802014-02-20 Joel Brobecker <brobecker@adacore.com>
6181
6182 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
6183 in .section pseudo-op.
6184
adde2bff
DE
61852014-02-20 lin zuojian <manjian2006@gmail.com>
6186 Joel Brobecker <brobecker@adacore.com>
6187 Doug Evans <xdje42@gmail.com>
6188
6189 PR symtab/16581
6190 * gdb.dwarf2/dw2-icycle.S: New file.
6191 * gdb.dwarf2/dw2-icycle.c: New file.
6192 * gdb.dwarf2/dw2-icycle.exp: New file.
6193
f7bd0f78
SC
61942014-02-19 Siva Chandra Reddy <sivachandra@google.com>
6195
6196 * gdb.python/py-value-cc.cc: Improve test case to enable testing
6197 operations on gdb.Value objects.
6198 * gdb.python/py-value-cc.exp: Add new test to test operations on
6199 gdb.Value objects.
6200
c17ef0d5
DE
62012014-02-18 Doug Evans <dje@google.com>
6202
6203 * Makefile.in (TESTS): New variable.
6204 (expanded_tests, expanded_tests_or_none): New variables
6205 (check-single): Pass $(expanded_tests_or_none) to runtest.
6206 (check-parallel): Only run tests in $(TESTS) if non-empty.
6207 (check/no-matching-tests-found): New rule.
6208 * README: Document TESTS makefile variable.
6209
5dd3176f
DE
62102014-02-18 Doug Evans <dje@google.com>
6211
6212 * Makefile.in (check-parallel): rm -rf outputs temp.
6213
0b10be4f
JK
62142014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6215
6216 Fix "ERROR: no fileid for" in the testsuite.
6217 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
6218
85f224e7
DE
62192014-02-12 Doug Evans <dje@google.com>
6220
6221 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
6222 (MISCELLANEOUS): New variable.
6223 (clean): rm -rf $(MISCELLANEOUS).
6224 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
6225 dwp live in the same directory as symlinks, with each symlink pointed
6226 to a differently named file in a different directory.
6227
149b30ff
DE
62282014-02-11 Doug Evans <dje@google.com>
6229
6230 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
6231 of Tcl file commands.
6232
1dfdac32
MK
62332014-02-10 Mark Kettenis <kettenis@gnu.org>
6234
6235 * gdb.threads/step-after-sr-lock.exp: Avoid executing
6236 "kill -SIGUSR1 -1".
6237
aa4fb036
JB
62382014-02-10 Joel Brobecker <brobecker@adacore.com>
6239
6240 * gdb.ada/tick_length_array_enum_idx: New testcase.
6241
ed3ef339
DE
62422014-02-10 Doug Evans <xdje42@gmail.com>
6243
6244 * configure.ac (AC_OUTPUT): Add gdb.guile.
6245 * configure: Regenerate.
6246 * lib/gdb-guile.exp: New file.
6247 * lib/gdb.exp (get_target_charset): New function.
6248 * gdb.base/help.exp: Update expected output from "apropos apropos".
6249 * gdb.guile/Makefile.in: New file.
6250 * gdb.guile/guile.exp: New file.
6251 * gdb.guile/scm-arch.c: New file.
6252 * gdb.guile/scm-arch.exp: New file.
6253 * gdb.guile/scm-block.c: New file.
6254 * gdb.guile/scm-block.exp: New file.
6255 * gdb.guile/scm-breakpoint.c: New file.
6256 * gdb.guile/scm-breakpoint.exp: New file.
6257 * gdb.guile/scm-disasm.c: New file.
6258 * gdb.guile/scm-disasm.exp: New file.
6259 * gdb.guile/scm-equal.c: New file.
6260 * gdb.guile/scm-equal.exp: New file.
6261 * gdb.guile/scm-error.exp: New file.
6262 * gdb.guile/scm-error.scm: New file.
6263 * gdb.guile/scm-frame-args.c: New file.
6264 * gdb.guile/scm-frame-args.exp: New file.
6265 * gdb.guile/scm-frame-args.scm: New file.
6266 * gdb.guile/scm-frame-inline.c: New file.
6267 * gdb.guile/scm-frame-inline.exp: New file.
6268 * gdb.guile/scm-frame.c: New file.
6269 * gdb.guile/scm-frame.exp: New file.
6270 * gdb.guile/scm-generics.exp: New file.
6271 * gdb.guile/scm-gsmob.exp: New file.
6272 * gdb.guile/scm-iterator.c: New file.
6273 * gdb.guile/scm-iterator.exp: New file.
6274 * gdb.guile/scm-math.c: New file.
6275 * gdb.guile/scm-math.exp: New file.
6276 * gdb.guile/scm-objfile-script-gdb.in: New file.
6277 * gdb.guile/scm-objfile-script.c: New file.
6278 * gdb.guile/scm-objfile-script.exp: New file.
6279 * gdb.guile/scm-objfile.c: New file.
6280 * gdb.guile/scm-objfile.exp: New file.
6281 * gdb.guile/scm-ports.exp: New file.
6282 * gdb.guile/scm-pretty-print.c: New file.
6283 * gdb.guile/scm-pretty-print.exp: New file.
6284 * gdb.guile/scm-pretty-print.scm: New file.
6285 * gdb.guile/scm-section-script.c: New file.
6286 * gdb.guile/scm-section-script.exp: New file.
6287 * gdb.guile/scm-section-script.scm: New file.
6288 * gdb.guile/scm-symbol.c: New file.
6289 * gdb.guile/scm-symbol.exp: New file.
6290 * gdb.guile/scm-symtab-2.c: New file.
6291 * gdb.guile/scm-symtab.c: New file.
6292 * gdb.guile/scm-symtab.exp: New file.
6293 * gdb.guile/scm-type.c: New file.
6294 * gdb.guile/scm-type.exp: New file.
6295 * gdb.guile/scm-value-cc.cc: New file.
6296 * gdb.guile/scm-value-cc.exp: New file.
6297 * gdb.guile/scm-value.c: New file.
6298 * gdb.guile/scm-value.exp: New file.
6299 * gdb.guile/source2.scm: New file.
6300 * gdb.guile/types-module.cc: New file.
6301 * gdb.guile/types-module.exp: New file.
6302
7026a7c1
YQ
63032014-02-10 Yao Qi <yao@codesourcery.com>
6304
6305 PR testsuite/16543
6306 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
6307 * configure: Regenerated.
6308 * Makefile.in: New file.
6309
6c466447
AS
63102014-02-08 Andreas Schwab <schwab@linux-m68k.org>
6311
6312 * gdb.python/py-framefilter.exp: Fix typo.
6313
6e854735
YQ
63142014-02-08 Yao Qi <yao@codesourcery.com>
6315
6316 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
6317 that no =breakpoint-modified is emitted when breakpoints are
6318 modified through MI commands.
6319
d137e6dc
PA
63202014-02-07 Pedro Alves <pedro@codesourcery.com>
6321 Pedro Alves <palves@redhat.com>
6322
6323 * gdb.threads/step-after-sr-lock.c: New file.
6324 * gdb.threads/step-after-sr-lock.exp: New file.
6325
b5ee5a50
PA
63262014-02-07 Pedro Alves <palves@redhat.com>
6327
6328 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
6329
3c77faf3
JK
63302014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6331
6332 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
6333 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
6334
6dddc817
DE
63352014-02-06 Doug Evans <xdje42@gmail.com>
6336
6337 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
6338 output.
6339
6340 * gdb.gdb/python-interrupts.exp: New file.
6341
de7b2893
YQ
63422014-02-05 Yao Qi <yao@codesourcery.com>
6343
6344 * gdb.trace/report.exp (use_collected_data): Test the output
6345 of "info threads" and "info inferiors".
6346
66d032ac
YQ
63472014-02-05 Yao Qi <yao@codesourcery.com>
6348
6349 Revert this patch:
6350
6351 2013-05-24 Yao Qi <yao@codesourcery.com>
6352
6353 * gdb.trace/tfile.exp: Test inferior and thread.
6354
591a12a1
UW
63552014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6356
6357 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
6358 on a function.
6359 * gdb.base/step-bt.c: Call hello via function pointer to make
6360 sure its first instruction is executed on powerpc64le-linux.
6361
0ff3e01f
UW
63622014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6363
6364 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
6365
084ee545
UW
63662014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6367
6368 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
6369 of the test patterns for use on little-endian systems.
6370
6ed14ff3
UW
63712014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6372
6373 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
6374 (decimal_vector): Fix for little-endian.
6375
401e27fd
JM
63762014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
6377
6378 * gdb.arch/sparc-sysstep.exp: New file.
6379 * gdb.arch/sparc-sysstep.c: Likewise.
6380
6381 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
6382
8b924729
EBM
63832014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6384
6385 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
6386
fb151210
JB
63872014-01-23 Tom Tromey <tromey@redhat.com>
6388
6389 * gdb.ada/array_char_idx: New testcase.
6390
0740f8d8
TT
63912014-01-23 Tom Tromey <tromey@redhat.com>
6392
6393 PR python/16487:
6394 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
6395 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
6396 classes.
6397
21909fa1
TT
63982014-01-23 Tom Tromey <tromey@redhat.com>
6399
6400 PR python/16491:
6401 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
6402 string from an inferior frame.
6403 * gdb.python/py-framefilter-mi.exp: Update.
6404
87ce2a04
DE
64052014-01-22 Doug Evans <dje@google.com>
6406
6407 * gdb.server/server-mon.exp: Add tests for "set debug-format".
6408
237b092b
AA
64092014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6410
6411 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
6412
d674a709
AA
64132014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6414
6415 * gdb.trace/entry-values.exp: Remove excess space character from
6416 regex patterns. Handle s390 call instruction.
6417
20fa3390
AA
64182014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6419
6420 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
6421 define "*_start" label. Make "name" static.
6422 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
6423 ${name} by references to ${name}_start.
6424
78466714
AA
64252014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6426
6427 * gdb.base/info-macros.exp: Remove "debug" from the compile
6428 options.
6429
ec9f644a
IB
64302014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6431
6432 * gdb.dlang/demangle.exp: New file.
6433
94b1b47e
IB
64342014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6435
6436 * gdb.dlang/primitive-types.exp: New file.
6437
7f420862
IB
64382014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6439
6440 * configure.ac: Create gdb.dlang/Makefile.
6441 * configure: Regenerate.
6442 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
6443 * gdb.dlang/Makefile.in: New file.
6444 * lib/d-support.exp: New file.
6445 * lib/gdb.exp (skip_d_tests): New proc.
6446
52834460
MM
64472014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6448
6449 * gdb.btrace/delta.exp: Check reverse stepi.
6450 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
6451 * gdb.btrace/finish.exp: New.
6452 * gdb.btrace/next.exp: New.
6453 * gdb.btrace/nexti.exp: New.
6454 * gdb.btrace/record_goto.c: Add comments.
6455 * gdb.btrace/step.exp: New.
6456 * gdb.btrace/stepi.exp: New.
6457 * gdb.btrace/multi-thread-step.c: New.
6458 * gdb.btrace/multi-thread-step.exp: New.
6459 * gdb.btrace/rn-dl-bind.c: New.
6460 * gdb.btrace/rn-dl-bind.exp: New.
6461 * gdb.btrace/data.c: New.
6462 * gdb.btrace/data.exp: New.
6463 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
6464
6e07b1d2
MM
64652014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6466
6467 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
6468 * gdb.btrace/exception.exp: Update.
6469 * gdb.btrace/instruction_history.exp: Update.
6470 * gdb.btrace/record_goto.exp: Update.
6471 * gdb.btrace/tailcall.exp: Update.
6472 * gdb.btrace/unknown_functions.exp: Update.
6473 * gdb.btrace/delta.exp: New.
6474
0b722aec
MM
64752014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6476
6477 * gdb.btrace/record_goto.exp: Add backtrace test.
6478 * gdb.btrace/tailcall.exp: Add backtrace test.
6479
066ce621
MM
64802014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6481
6482 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
6483 * gdb.btrace/record_goto.c: New.
6484 * gdb.btrace/record_goto.exp: New.
6485 * gdb.btrace/x86-record_goto.S: New.
6486
0688d04e
MM
64872014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6488
6489 * gdb.btrace/function_call_history.exp: Update tests.
6490 * gdb.btrace/instruction_history.exp: Update tests.
6491
8710b709
MM
64922014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6493
6494 * gdb.btrace/function_call_history.exp: Fix expected field
6495 order for "record function-call-history".
6496 Add new tests for "record function-call-history /c".
6497 * gdb.btrace/exception.cc: New.
6498 * gdb.btrace/exception.exp: New.
6499 * gdb.btrace/tailcall.exp: New.
6500 * gdb.btrace/x86-tailcall.S: New.
6501 * gdb.btrace/x86-tailcall.c: New.
6502 * gdb.btrace/unknown_functions.c: New.
6503 * gdb.btrace/unknown_functions.exp: New.
6504 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
6505
5de9129b
MM
65062014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6507
6508 * gdb.btrace/instruction_history.exp: Update.
6509 * gdb.btrace/function_call_history.exp: Update.
6510
23a7fe75
MM
65112014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6512
6513 * gdb.btrace/function_call_history.exp: Fix expected function
6514 trace.
6515 * gdb.btrace/instruction_history.exp: Initialize traced.
6516 Remove traced_functions.
6517
724c7dd8
MM
65182014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6519
6520 * gdb.btrace/function_call_history.exp: Update
6521 * gdb.btrace/instruction_history.exp: Update.
6522
6d78d93b
MM
65232014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6524
6525 * gdb.btrace/enable.exp: Update expected text.
6526
93a360cc
OJ
65272014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
6528
6529 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
6530 bytes.
6531
3772b53f
MR
65322014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
6533
6534 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
6535
596662fa
OJ
65362014-01-15 Omair Javaid <omair.javaid@linaro.org>
6537
6538 * lib/gdb.exp (supports_process_record): Return true for
6539 arm*-linux*. (supports_reverse): Likewise.
6540
b5b08fb4
SC
65412014-01-13 Siva Chandra Reddy <sivachandra@google.com>
6542
6543 PR python/15464
6544 PR python/16113
6545 * gdb.python/py-type.c: Enhance test case.
6546 * gdb.python/py-value-cc.cc: Likewise
6547 * gdb.python/py-type.exp: Add new tests.
6548 * gdb.python/py-value-cc.exp: Likewise
6549
52d7fb13
AA
65502014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
6551 Pedro Alves <palves@redhat.com>
6552
6553 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
6554 Make "name" extern.
6555 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
6556 references to ${name}_start by references to ${name}.
6557
a2cd8cfe
JB
65582014-01-10 Joel Brobecker <brobecker@adacore.com>
6559
6560 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
6561
4e23fced
JB
65622014-01-10 Joel Brobecker <brobecker@adacore.com>
6563
6564 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
6565
c6a9e42c
PA
65662014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
6567 Pedro Alves <palves@redhat.com>
6568
6569 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 6570 mi_gdb_target_load.
c6a9e42c 6571
b7ea362b
PA
65722014-01-08 Pedro Alves <palves@redhat.com>
6573
6574 * gdb.threads/reconnect-signal.c: New file.
6575 * gdb.threads/reconnect-signal.exp: New file.
6576
5e3f4fab
EBM
65772014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6578
6579 * gdb.base/source-dir.exp: New file.
6580
79301218
JB
65812014-01-07 Joel Brobecker <brobecker@adacore.com>
6582
6583 * gdb.ada/mi_interface: New testcase.
6584
8e355c5d
JB
65852014-01-07 Joel Brobecker <brobecker@adacore.com>
6586
6587 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
6588 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
6589 gdb.ada/pp-rec-component/pck.ads: New files.
6590
c0d48811
JB
65912014-01-07 Joel Brobecker <brobecker@adacore.com>
6592
6593 * gdb.python/py-pp-integral.c: New file.
6594 * gdb.python/py-pp-integral.py: New file.
6595 * gdb.python/py-pp-integral.exp: New file.
6596
17b609c3 6597For older changes see ChangeLog-1993-2013.
c906108c 6598\f
8d8cb839
EZ
6599;; Local Variables:
6600;; mode: change-log
6601;; left-margin: 8
6602;; fill-column: 74
6603;; version-control: never
6604;; End:
902f2ccb 6605
32d0add0 6606 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
6607 Copying and distribution of this file, with or without modification,
6608 are permitted provided the copyright notice and this notice are preserved.
This page took 2.610088 seconds and 4 git commands to generate.