Re-apply change for handling non-local references in nested functions.
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
bed91f4d
SM
12015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2
3 PR python/18073
4 * gdb.python/py-type.c (C::a_method): New.
5 (C::a_const_method): New.
6 (C::a_static_method): New.
7 (a_function): New.
8 * gdb.python/py-type.exp (test_fields): Test getting fields
9 from function and method.
10
3f2f83dd
KB
112015-10-21 Keven Boell <keven.boell@intel.com>
12
13 * gdb.fortran/vla-alloc-assoc.exp: New file.
14 * gdb.fortran/vla-datatypes.exp: New file.
15 * gdb.fortran/vla-datatypes.f90: New file.
16 * gdb.fortran/vla-history.exp: New file.
17 * gdb.fortran/vla-ptype-sub.exp: New file.
18 * gdb.fortran/vla-ptype.exp: New file.
19 * gdb.fortran/vla-sizeof.exp: New file.
20 * gdb.fortran/vla-sub.f90: New file.
21 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
22 * gdb.fortran/vla-value-sub-finish.exp: New file.
23 * gdb.fortran/vla-value-sub.exp: New file.
24 * gdb.fortran/vla-value.exp: New file.
25 * gdb.fortran/vla-ptr-info.exp: New file.
26 * gdb.mi/mi-vla-fortran.exp: New file.
27 * gdb.mi/vla.f90: New file.
28
27145d50
SL
292015-10-21 Sandra Loosemore <sandra@codesourcery.com>
30
31 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
32 of hardwired timeout value.
33
5f3ff4f8
JK
342015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
35 Pedro Alves <palves@redhat.com>
36
37 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
38 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
39
bfd09d20
JS
402015-10-19 Josh Stone <jistone@redhat.com>
41
42 * gdb.base/catch-syscall.c: Include <sched.h>.
43 (unknown_syscall): New variable.
44 (main): Trigger a vfork and an unknown syscall.
45 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
46 (unknown_syscall_number): Likewise.
47 (check_call_to_syscall): Accept an optional syscall pattern.
48 (check_return_from_syscall): Likewise.
49 (check_continue): Likewise.
50 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
51 (test_catch_syscall_skipping_return): New test toggling off 'catch
52 syscall' to step over the syscall return, then toggling back on.
53 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
54 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
55 (do_syscall_tests): Call test_catch_syscall_without_args and
56 test_catch_syscall_mid_vfork.
57 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
58 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
59
b32b93c6
AS
602015-10-19 Andrew Stubbs <ams@codesourcery.com>
61
62 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
63 print g_vE): Add new pass patterns.
64 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
65 print various symbol names for vptr fields.
66
9d622bda
AB
672015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
68
69 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
70 results.
71
0fd8ac1c
YQ
722015-10-12 Yao Qi <yao.qi@linaro.org>
73
74 * gdb.arch/disp-step-insn-reloc.exp: New test case.
75
34240514
YQ
762015-10-12 Yao Qi <yao.qi@linaro.org>
77
78 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
79 is aarch64*-*-linux*.
80
8240f442
YQ
812015-10-12 Yao Qi <yao.qi@linaro.org>
82
83 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
84 (can_relocate_bcond_true): ... it.
85 (can_relocate_bcond_false): New function.
86 (foo): Likewise.
87 (can_relocate_bl): Likewise.
88 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
89 can_relocate_bl.
90
2520f728
PMR
912015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
92
93 * gdb.base/nested-addr.c: New file.
94 * gdb.base/nested-addr.exp: New testcase.
95
abcef95a
MM
962015-10-09 Markus Metzger <markus.t.metzger@intel.com>
97
98 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
99 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
100 its output. Ignore the output of "record goto begin" and instead
101 check that GDB is replaying.
102
145e3ddb
PA
1032015-10-09 Pedro Alves <palves@redhat.com>
104
105 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
106 (top level): Use it in the run with no args test.
107
d5d8c4e1
IB
1082015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
109
110 * gdb.dlang/properties.exp: New file.
111
06e635ef
SL
1122015-10-02 Sandra Loosemore <sandra@codesourcery.com>
113
114 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
115 whether or not address 0x1000 is mapped on the target.
116
e019fd1d
SM
1172015-09-30 Simon Marchi <simon.marchi@ericsson.com>
118
119 * gdb.python/py-type.exp: Do not run tests if binaries fail to
120 build.
121
77ba2a67
MM
1222015-09-30 Markus Metzger <markus.t.metzger@intel.com>
123
124 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
125 instruction-history test.
126
c60eb31f
DE
1272015-09-28 Doug Evans <dje@google.com>
128
129 * gdb.base/gcore.c (array_func): Add reference to static_array.
130
9a3c8263
SM
1312015-09-25 Simon Marchi <simon.marchi@ericsson.com>
132
133 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
134 source line.
135
9720e656
SL
1362015-09-24 Sandra Loosemore <sandra@codesourcery.com>
137
138 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
139 short or char as base type.
140
938d3bf2
SL
1412015-09-23 Sandra Loosemore <sandra@codesourcery.com>
142
143 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
144 to allow any size enum.
145
e6c2c623
PMR
1462015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
147
148 * gdb.ada/array_ptr_renaming.exp: New testcase.
149 * gdb.ada/array_ptr_renaming/foo.adb: New file.
150 * gdb.ada/array_ptr_renaming/pack.ads: New file.
151
06da0f77
PL
1522015-09-21 Pierre Langlois <pierre.langlois@arm.com>
153
154 * gdb.trace/ftrace-lock.c: New file.
155 * gdb.trace/ftrace-lock.exp: New file.
156
4f51c22a
PL
1572015-09-21 Pierre Langlois <pierre.langlois@arm.com>
158
159 * gdb.arch/insn-reloc.c: New file.
160 * gdb.arch/ftrace-insn-reloc.exp: New file.
161
7041adf4
PL
1622015-09-21 Pierre Langlois <pierre.langlois@arm.com>
163
164 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
165 instruction.
166 * gdb.trace/pendshr1.c (pendfunc): Likewise.
167 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
168 * gdb.trace/range-stepping.c: Likewise.
169 * gdb.trace/trace-break.c: Likewise.
170 * gdb.trace/trace-mt.c (thread_function): Likewise.
171 * gdb.trace/ftrace.c (marker): Likewise.
172 * gdb.trace/trace-condition.c (marker): Likewise.
173 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
174 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
175 is_aarch64_target.
176
015d2e7e
DE
1772015-09-18 Doug Evans <xdje42@gmail.com>
178
179 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
180 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
181
26b188a2
SL
1822015-09-18 Sandra Loosemore <sandra@codesourcery.com>
183
184 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
185 the breakpoint.
186
79dc332b
SL
1872015-09-18 Sandra Loosemore <sandra@codesourcery.com>
188
189 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
190 the pending breakpoint. Remove timeout override for "Run till
191 MI pending breakpoint on pendfunc3 on thread 2" test.
192
f57929f2
SL
1932015-09-18 Sandra Loosemore <sandra@codesourcery.com>
194
195 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
196 filename pattern.
197
3f469b17
SL
1982015-09-18 Sandra Loosemore <sandra@codesourcery.com>
199
200 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
201 in breakpoint filename pattern.
202
515b89b3
SL
2032015-09-18 Sandra Loosemore <sandra@codesourcery.com>
204
7800dbe4
SL
205 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
206
2072015-09-18 Sandra Loosemore <sandra@codesourcery.com>
208
515b89b3
SL
209 * gdb.linespec/explicit.exp: Check for readline support for
210 tab-completion tests. Fix obvious typo.
211
d2939ba2
MM
2122015-09-18 Markus Metzger <markus.t.metzger@intel.com>
213
214 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
215 and replay.
216
cbb55fa7
MM
2172015-09-18 Markus Metzger <markus.t.metzger@intel.com>
218
219 * gdb.btrace/non-stop.c: New.
220 * gdb.btrace/non-stop.exp: New.
221
43691ca1
PL
2222015-09-17 Pierre Langlois <pierre.langlois@arm.com>
223 Yao Qi <yao.qi@linaro.org>
224
225 * gdb.trace/trace-condition.c: New file.
226 * gdb.trace/trace-condition.exp: New file.
227
d78908cf
WW
2282015-09-16 Wei-cheng Wang <cole945@gmail.com>
229
230 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
231 for testing bytecode compilation.
232
1ed415e2
PA
2332015-09-16 Pedro Alves <palves@redhat.com>
234 Sandra Loosemore <sandra@codesourcery.com>
235
236 * gdb.threads/non-stop-fair-events.c (timeout): New global.
237 (SECONDS): Redefine.
238 (main): Call pthread_kill and alarm early.
239 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
240 support.
241 (test): If the target can't hardware step and doesn't support
242 displaced stepping, increase the timeout.
243
d136eff5
PA
2442015-09-16 Pedro Alves <palves@redhat.com>
245
246 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
247 (enable_debug): New procedures.
248 (test): Use them. Bail out if waiting for threads fails.
249 (top level): Bail out if a test fails.
250
991f019c
YQ
2512015-09-16 Yao Qi <yao.qi@linaro.org>
252
253 * gdb.asm/asm-source.exp: Set asm-arch for
254 aarch64*-*-* target.
255 * gdb.asm/aarch64.inc: New file.
256
bfca584f
PMR
2572015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
258
259 * gdb.ada/array_of_variable_length.exp: New testcase.
260 * gdb.ada/array_of_variable_length/foo.adb: New file.
261 * gdb.ada/array_of_variable_length/pck.adb: New file.
262 * gdb.ada/array_of_variable_length/pck.ads: New file.
263
b326e587
DE
2642015-09-15 Doug Evans <dje@google.com>
265
266 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
267 of function static local variable.
268
5382cfab
PW
2692015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
270
271 * gdb.threads/tls-so_extern.exp: New test file.
272 * gdb.threads/tls-so_extern.c: New test file.
273 * gdb.threads/tls-so_extern_main.c: New test file.
274
141c5cc4
JK
2752015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
276
277 * gdb.opt/solib-intra-step-lib.c: New file.
278 * gdb.opt/solib-intra-step-main.c: New file.
279 * gdb.opt/solib-intra-step.exp: New file.
280
d15dcecd
PA
2812015-09-15 Pedro Alves <palves@redhat.com>
282
283 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
284 gdb_continue_to_breakpoint instead of gdb_test_multiple.
285
4c2f2a79
PA
2862015-09-14 Pedro Alves <palves@redhat.com>
287
288 * gdb.base/hook-stop-continue.c: Delete.
289 * gdb.base/hook-stop-continue.exp: Delete.
290 * gdb.base/hook-stop-frame.c: Delete.
291 * gdb.base/hook-stop-frame.exp: Delete.
292 * gdb.base/hook-stop.c: New file.
293 * gdb.base/hook-stop.exp: New file.
294
919e6dbe
PMR
2952015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
296
297 * gdb.ada/access_to_packed_array.exp: New testcase.
298 * gdb.ada/access_to_packed_array/foo.adb: New file.
299 * gdb.ada/access_to_packed_array/pack.adb: New file.
300 * gdb.ada/access_to_packed_array/pack.ads: New file.
301
157280a4
MM
3022015-09-14 Markus Metzger <markus.t.metzger@intel.com>
303
304 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
305 buffer size test.
306
2fd33e94
DB
3072015-09-11 Don Breazeal <donb@codesourcery.com>
308
309 * gdb.base/foll-exec.c: Add copyright header. Fix
310 formatting issues.
311 * gdb.base/foll-exec.exp (zap_session): Delete proc.
312 (do_exec_tests): Use clean_restart in place of zap_session,
313 and for test initialization. Fix formatting issues. Use
314 fail in place of perror.
315 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
316 an expect statement to match an expression with output from
317 the program under debug.
318 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
319 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
320 * gdb.threads/non-ldr-exc-2.exp: Likewise.
321 * gdb.threads/non-ldr-exc-3.exp: Likewise.
322 * gdb.threads/non-ldr-exc-4.exp: Likewise.
323
e70b6e8e
DE
3242015-09-09 Doug Evans <dje@google.com>
325
326 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
327
7a551a51
DE
3282015-09-09 Doug Evans <dje@google.com>
329
330 * gdb.base/pie-execl.exp: Fix result test of build_executable.
331
4c666f84
DE
3322015-09-09 Doug Evans <dje@google.com>
333
334 * gdb.base/savedregs.exp: Fix typo.
335
243a9253
PA
3362015-09-09 Pedro Alves <palves@redhat.com>
337
338 * gdb.mi/mi-cli.exp: Add CLI finish tests.
339
c0fa8fbd
SL
3402015-09-08 Sandra Loosemore <sandra@codesourcery.com>
341
342 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
343 command actually switches threads. Give up on remaining
344 tests if target fails to stop at breakpoint.
345
cd7c1778
PMR
3462015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
347
348 * gdb.ada/funcall_char.exp: New testcase.
349 * gdb.ada/funcall_char/foo.adb: New file.
350
dc5c8746
PMR
3512015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
352
353 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
354 expected outputs. Add two testcases for completing ambiguous
355 functions.
356 * gdb.ada/complete/aux_pck.adb: New file.
357 * gdb.ada/complete/aux_pck.ads: New file.
358 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
359 Ambiguous_Func functions.
360 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
361 * gdb.ada/complete/pck.adb: Likewise.
362
4e83a1e7
UW
3632015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
364
365 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
366 failures to run the test program under GDB.
367
8ce74153
LM
3682015-08-26 Luis Machado <lgustavo@codesourcery.com>
369
370 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
371 to C.
372
e9756d52
PP
3732015-08-26 Patrick Palka <patrick@parcs.ath.cx>
374
375 * gdb.base/run-after-attach.exp: New test file.
376 * gdb.base/run-after-attach.c: New test file.
377
8d37573b
DB
3782015-08-26 Don Breazeal <donb@codesourcery.com>
379
380 * gdb.base/foll-exec-2.c: New test program.
381 * gdb.base/foll-exec-2.exp: New test.
382
63e43d3a
PMR
3832015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
384
385 * gdb.base/nested-subp1.exp: New file.
386 * gdb.base/nested-subp1.c: New file.
387 * gdb.base/nested-subp2.exp: New file.
388 * gdb.base/nested-subp2.c: New file.
389 * gdb.base/nested-subp3.exp: New file.
390 * gdb.base/nested-subp3.c: New file.
391
3d40fbb5
PA
3922015-08-24 Pedro Alves <palves@redhat.com>
393
394 * gdb.server/connect-without-multi-process.c: New file.
395 * gdb.server/connect-without-multi-process.exp: New file.
396
4422ac93
LM
3972015-08-24 Luis Machado <lgustavo@codesourcery.com>
398
399 * gdb.opt/inline-markers.c: Make z int.
400
91dddb86
LM
4012015-08-24 Luis Machado <lgustavo@codesourcery.com>
402
403 * gdb.opt/inline-markers.c: Make z volatile.
404
a48847ee
LM
4052015-08-24 Luis Machado <lgustavo@codesourcery.com>
406
407 * gdb.opt/inline-bt.c: New volatile global z.
408 * gdb.opt/inline-cmds.c: Likewise.
409 * gdb.opt/inline-locals.c: Likewise.
410 * gdb.opt/inline-markers.c: New extern global z.
411 (marker): Use z.
412 (inline_fn): Likewise.
413
0ebbc52b
PA
4142015-08-24 Pedro Alves <palves@redhat.com>
415
416 * config/m32r-stub.exp: Remove file.
417 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
418 * gdb.base/call-rt-st.exp: Likewise.
419 * gdb.base/call-strs.exp: Likewise.
420 * gdb.base/default.exp: Remove references to h8300-*-hms and
421 *-*-udi*.
422 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
423
77c365df
AA
4242015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
425
426 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
427 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
428 and "return" use KFAIL when GDB can not read/write the vector
429 return value.
430
4313b8c0
GB
4312015-08-21 Gary Benson <gbenson@redhat.com>
432
433 * gdb.trace/pending.exp: Cope with remote transfer warnings.
434
0e433b32
PA
4352015-08-20 Pedro Alves <palves@redhat.com>
436
437 * gdb.server/solib-list.exp: No longer expect an interior stop in
438 non-stop mode.
439
221e1a37
PA
4402015-08-20 Pedro Alves <palves@redhat.com>
441
442 * gdb.server/connect-stopped-target.c: New file.
443 * gdb.server/connect-stopped-target.exp: New file.
444
40e3ad0e
PA
4452015-08-20 Pedro Alves <palves@redhat.com>
446
447 * gdb.dwarf2/comp-unit-lang.exp: New file.
448 * gdb.dwarf2/comp-unit-lang.c: New file.
449
af39b327
PMR
4502015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
451
452 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
453 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
454
7d45c7c3
KB
4552015-08-19 Kevin Buettner <kevinb@redhat.com>
456
457 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
458 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
459
4d6cceb4
DE
4602015-08-18 Doug Evans <dje@google.com>
461 Adrian Sendroiu <adrian.sendroiu@freescale.com>
462
463 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
464 skip_python_tests. New arg prompt_regexp.
465 (skip_python_tests): New function.
466 * lib/mi-support.exp (mi_skip_python_tests): New function.
467 * gdb.python/py-mi-objfile-gdb.py: New file.
468 * gdb.python/py-mi-objfile.c: New file.
469 * gdb.python/py-mi-objfile.exp: New file.
470
ad89c2aa
KS
4712015-08-17 Keith Seitz <keiths@redhat.com>
472
473 * gdb.linespec/explicit.exp: Move strace test from here ...
474 * gdb.trace/strace.exp: ... to here.
475
e3ae3c43
PP
4762015-08-15 Patrick Palka <patrick@parcs.ath.cx>
477
478 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
479 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
480
604b2636
DE
4812015-08-14 Doug Evans <xdje42@gmail.com>
482
483 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
484 inferior before selecting a new file.
485
6ff0ba5f
DE
4862015-08-14 Doug Evans <xdje42@gmail.com>
487
488 * gdb.mi/mi-disassemble.exp: Update.
489 * gdb.base/disasm-optim.S: New file.
490 * gdb.base/disasm-optim.c: New file.
491 * gdb.base/disasm-optim.h: New file.
492 * gdb.base/disasm-optim.exp: New file.
493
9ca98f92
KS
4942015-08-14 Keith Seitz <keiths@redhat.com>
495
496 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
497 "evaluated-by".
498
52bbc560
JB
4992015-08-13 Joel Brobecker <brobecker@adacore.com>
500
501 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
502
5d8c3ed3
PMR
5032015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
504
505 * gdb.ada/fun_renaming.exp: New testcase.
506 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
507 * gdb.ada/fun_renaming/pack.adb: New file.
508 * gdb.ada/fun_renaming/pack.ads: New file.
509
ea8812bc
KS
5102015-08-12 Keith Seitz <keiths@redhat.com>
511
512 * gdb.base/dso2dso.exp: Pass basename of source file in call to
513 gdb_get_line_number.
514
4dafcdeb
JB
5152015-08-12 Joel Brobecker <brobecker@adacore.com>
516
517 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
518 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
519 gdb.base/dso2dso.exp: New files.
520
5ba32597
SDJ
5212015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
522 Pedro Alves <palves@redhat.com>
523 Keith Seitz <keiths@redhat.com>
524
525 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
526 GDBFLAGS.
527
b6dafabf
PP
5282015-08-12 Patrick Palka <patrick@parcs.ath.cx>
529
530 * gdb.base/gdbhistsize-history.exp
531 (test_histsize_history_setting): Use save_vars.
532 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
533 Use save_vars.
534 (test_no_truncation_of_unlimited_history_file): Use save_vars.
535 * gdb.base/readline.exp: Use save_vars.
536
abe8e607
PP
5372015-08-12 Patrick Palka <patrick@parcs.ath.cx>
538
539 * lib/gdb.exp (save_vars): New proc.
540
629500fa
KS
5412015-08-11 Keith Seitz <keiths@redhat.com>
542
543 * gdb.base/help.exp: Update help_breakpoint_text.
544
eb8c4e2e
KS
5452015-08-11 Keith Seitz <keiths@redhat.com>
546
547 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
548 (at toplevel): Call test_explicit_breakpoints.
549 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
550 breakpoints.
551 * lib/mi-support.exp (mi_make_breakpoint): Add support for
552 breakpoint conditions, "-cond".
553
87f0e720
KS
5542015-08-11 Keith Seitz <keiths@redhat.com>
555
556 * gdb.linespec/3explicit.c: New file.
557 * gdb.linespec/cpexplicit.cc: New file.
558 * gdb.linespec/cpexplicit.exp: New file.
559 * gdb.linespec/explicit.c: New file.
560 * gdb.linespec/explicit.exp: New file.
561 * gdb.linespec/explicit2.c: New file.
562 * gdb.linespec/ls-errs.exp: Add explicit location tests.
563 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
564 before using in the matching pattern.
565 Clarify that `prefix' is a regular expression.
566
f00aae0f
KS
5672015-08-11 Keith Seitz <keiths@redhat.com>
568
569 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
570 test.
571 Add tests for missing ",FMT" and ",".
572
e27852be
DE
5732015-08-10 Doug Evans <dje@google.com>
574 Keith Seitz <keiths@redhat.com>
575
576 PR gdb/17960
577 * gdb.base/completion.exp: Add location completer tests.
578
7f03bd92
PA
5792015-08-07 Pedro Alves <palves@redhat.com>
580
581 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
582 tests here.
583 (top level): Run do_test with and without displaced stepping.
584
3fc8eb30
PA
5852015-08-07 Pedro Alves <palves@redhat.com>
586
587 * gdb.base/valgrind-disp-step.c: New file.
588 * gdb.base/valgrind-disp-step.exp: New file.
589
d4569d7b
PA
5902015-08-07 Pedro Alves <palves@redhat.com>
591
592 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
593 Delete function.
594 (main): Add alarm. Run an infinite loop instead of calling
595 wait_threads.
596 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
597 comment.
598 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
599 Delete function.
600 (main): Add alarm. Run an infinite loop instead of calling
601 wait_threads.
602 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
603 comment.
604
e1316e60
PA
6052015-08-07 Pedro Alves <palves@redhat.com>
606
607 * gdb.base/checkpoint-ns.exp: New file.
608 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
609 standard_testfile.
610
da8c46d2
MM
6112015-08-07 Markus Metzger <markus.t.metzger@intel.com>
612
613 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
614 * gdb.btrace/instruction_history.exp: Update.
615 * gdb.btrace/tsx.exp: New.
616 * gdb.btrace/tsx.c: New.
617
de1c2c52
PA
6182015-08-06 Pedro Alves <palves@redhat.com>
619
620 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
621 increase timeout.
622 * gdb.reverse/until-precsave.exp: Bump timeouts.
623
782e0bf4
PA
6242015-08-06 Pedro Alves <palves@redhat.com>
625
626 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
627
83e97ed0
PA
6282015-08-06 Pedro Alves <palves@redhat.com>
629
630 PR gdb/18749
631 * gdb.threads/process-dies-while-handling-bp.c: New file.
632 * gdb.threads/process-dies-while-handling-bp.exp: New file.
633
863d01bd
PA
6342015-08-06 Pedro Alves <palves@redhat.com>
635
636 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
637 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
638
0a39bb32
PA
6392015-08-05 Pedro Alves <palves@redhat.com>
640
641 * gdb.threads/next-while-other-thread-longjmps.c: New file.
642 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
643
ee2d2b10
SL
6442015-08-03 Sandra Loosemore <sandra@codesourcery.com>
645
646 * gdb.base/bp-permanent.exp: Report test as unsupported if
647 the target cannot stop at the permanent breakpoint.
648
4e1bdb00
DE
6492015-08-03 Doug Evans <dje@google.com>
650
651 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
652 10000.
653
3d338901
DE
6542015-08-03 Doug Evans <dje@google.com>
655
656 * Makefile.in (workers/%.worker, build-perf): New rule.
657 (GDB_PERFTEST_MODE): New variable.
658 (check-perf): Use it.
659 (clean): Clean up gdb.perf parallel build subdirs.
660 * lib/build-piece.exp: New file.
661 * lib/gdb.exp (make_gdb_parallel_path): New function
662 (standard_output_file, standard_temp_file): Call it.
663 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
664 of $GDB_PARALLEL.
665 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
666
af061d3e
DE
6672015-08-03 Doug Evans <dje@google.com>
668
8e1afc81 669 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
670 (LOG_FILE_NAME): New global.
671 (TextReporter.__init__): Initialize self.txt_sum.
672 (TextReporter.report): Add support for multiple data-points.
673 Move report to perftest.sum, put raw data in perftest.log.
674 (TextReporter.start): Open sum and log files.
675 (TextReporter.end): Close sum and log files.
8e1afc81
DE
676 * gdb.perf/lib/perftest/testresult.py
677 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 678
2c8c5d37
PA
6792015-07-31 Pedro Alves <palves@redhat.com>
680
681 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
682 Use spawn_id_get_pid. Wait for spawn id after eof. Use
683 kill_wait_spawned_process instead of explicit "kill -9".
684 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
685 returning a spawn id instead of a pid. Use spawn_id_get_pid and
686 kill_wait_spawned_process.
687 * gdb.base/attach-twice.exp: Likewise.
688 * gdb.base/attach.exp: Likewise.
689 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
690 gdb_test_multiple.
691 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
692 returning a spawn id instead of a pid. Use spawn_id_get_pid and
693 kill_wait_spawned_process.
694 * gdb.base/valgrind-infcall.exp: Likewise.
695 * gdb.multi/multi-attach.exp: Likewise.
696 * gdb.python/py-prompt.exp: Likewise.
697 * gdb.python/py-sync-interp.exp: Likewise.
698 * gdb.server/ext-attach.exp: Likewise.
699 * gdb.threads/attach-into-signal.exp (corefunc): Use
700 spawn_wait_for_attach, spawn_id_get_pid and
701 kill_wait_spawned_process.
702 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
703 spawn_wait_for_attach returning a spawn id instead of a pid. Use
704 spawn_id_get_pid and kill_wait_spawned_process.
705 * gdb.threads/attach-stopped.exp (corefunc): Use
706 spawn_wait_for_attach, spawn_id_get_pid and
707 kill_wait_spawned_process.
708 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
709 Use spawn_id_get_pid. Wait for spawn id after eof. Use
710 kill_wait_spawned_process instead of explicit "kill -9".
711 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
712 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
713 (spawn_wait_for_attach): Use spawn instead of exec to spawn
714 processes. Don't map cygwin/windows pids here. Now returns a
715 spawn id list.
716
032a0fca
SL
7172015-07-30 Sandra Loosemore <sandra@codesourcery.com>
718
719 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
720 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
721 correct patch.
722
61a934ca
SL
7232015-07-30 Sandra Loosemore <sandra@codesourcery.com>
724
725 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
726
4bc4d428
SL
7272015-07-30 Sandra Loosemore <sandra@codesourcery.com>
728
729 Reapply:
730 2014-05-21 Mark Wielaard <mjw@redhat.com>
731
732 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
733
998d452a
PA
7342015-07-30 Pedro Alves <palves@redhat.com>
735
736 * linux-low.c (handle_extended_wait): Set the child's last
737 reported status to TARGET_WAITKIND_STOPPED.
738
69dde7dc
PA
7392015-07-30 Pedro Alves <palves@redhat.com>
740
741 PR threads/18600
742 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
743 only shows inferior 1.
744
4dd63d48
PA
7452015-07-30 Simon Marchi <simon.marchi@ericsson.com>
746 Pedro Alves <palves@redhat.com>
747
748 PR threads/18600
749 * gdb.threads/fork-plus-threads.c: New file.
750 * gdb.threads/fork-plus-threads.exp: New file.
751
d618e4c5
PP
7522015-07-29 Patrick Palka <patrick@parcs.ath.cx>
753
754 * gdb.base/batch-preserve-term-settings.exp
755 (test_terminal_settings_preserved_after_cli_exit): Use
756 send_quit_command.
757
1eef6428
PA
7582015-07-29 Pedro Alves <palves@redhat.com>
759 Don Breazeal <donb@codesourcery.com>
760
761 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
762 output from both inferior_spawn_id and gdb_spawn_id.
763
7da5b897
SDJ
7642015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
765
766 * gdb.threads/attach-into-signal.exp (corefunc): Use
767 with_test_prefix on nested loops, uniquefying the test messages.
768
dac804df
SDJ
7692015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
770
771 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
772 commit.
773
06265e53
PP
7742015-07-29 Patrick Palka <patrick@parcs.ath.cx>
775
776 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
777 New proc.
778 (test_terminal_settings_preserved_after_sigterm): New test.
779
18206ca3
PP
7802015-07-29 Patrick Palka <patrick@parcs.ath.cx>
781
782 * gdb.base/batch-preserve-term-settings.exp
783 (test_terminal_settings_preserved_after_cli_exit): New test.
784
90074d11
PP
7852015-07-29 Patrick Palka <patrick@parcs.ath.cx>
786
787 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
788 manipulation of saved_gdbflags.
789 (test_terminal_settings_preserved): Remove global declaration of
790 the unused variable pagination_prompt. Remove manipulation of
791 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
792 GDBFLAGS.
793
eb1a7902
PA
7942015-07-29 Pedro Alves <palves@redhat.com>
795
796 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
797
8b75dd3b
PA
7982015-07-29 Pedro Alves <palves@redhat.com>
799
800 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
801 at the top.
802
dedad4e3
PA
8032015-07-29 Pedro Alves <palves@redhat.com>
804
805 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
806 (main): Call gdb_unbuffer_output.
807 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
808 (main): Call gdb_unbuffer_output.
809 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
810 (main): Call gdb_unbuffer_output.
811 * gdb.base/call-strs.exp: Adjust to step over the
812 gdb_unbuffer_output call.
813 * gdb.base/catch-gdb-caused-signals.c: Include
814 "../lib/unbuffer_output.c".
815 (main): Call gdb_unbuffer_output.
816 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
817 (main): Call gdb_unbuffer_output.
818 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
819 (main): Call gdb_unbuffer_output.
820 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
821 (main): Call gdb_unbuffer_output.
822 * gdb.base/shlib-call.exp: Adjust to step over the
823 gdb_unbuffer_output call.
824 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
825 (main): Call gdb_unbuffer_output.
826 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
827 (main): Call gdb_unbuffer_output.
828 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
829 (main): Rename to ...
830 (test): ... this.
831 (main): Reimplement.
832 * gdb.base/varargs.exp: Run to test instead of to main.
833 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
834 (main): Call gdb_unbuffer_output.
835
58789a91
PA
8362015-07-29 Pedro Alves <palves@redhat.com>
837
838 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
839 factore out from mi_continue_dprintf. For call-style dprintfs,
840 expect dprintf output out of $inferior_spawn_id.
841 (mi_continue_dprintf): Use mi_expect_dprintf.
842 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
843 (main): Call gdb_unbuffer_output.
844
e8376742
PA
8452015-07-29 Pedro Alves <palves@redhat.com>
846
847 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
848 (default_mi_gdb_start): Set inferior_spawn_id instead of
849 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
850 gdb_spawn_id.
851 (mi_gdb_test): Always expect inferior output from both
852 $inferior_spawn_id and $gdb_spawn_id.
853
08280010
PA
8542015-07-29 Pedro Alves <palves@redhat.com>
855
856 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
857 send_inferior and $inferior_spawn_id.
858
4d30e432
PA
8592015-07-29 Pedro Alves <palves@redhat.com>
860
861 * gdb.gdb/complaints.exp (test_initial_complaints)
862 (test_serial_complaints, test_short_complaints): Use
863 gdb_test_stdio.
864 (test_empty_complaint): Handle $inferior_spawn_id !=
865 $gdb_spawn_id.
866
0d30a335
PA
8672015-07-29 Pedro Alves <palves@redhat.com>
868
869 * gdb.base/varargs.exp: Use gdb_test_stdio.
870
39413b29
PA
8712015-07-29 Pedro Alves <palves@redhat.com>
872
873 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
874
7cb000a9
PA
8752015-07-29 Pedro Alves <palves@redhat.com>
876
877 * gdb.base/ending-run.exp: Use gdb_test_stdio.
878
d7b8ac82
PA
8792015-07-29 Pedro Alves <palves@redhat.com>
880
881 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
882 parameter into two new parameters, "inf_result" and "gdb_result".
883 Expect inferior output and gdb output from $inferior_spawn_id and
884 $gdb_spawn_id, respectively. Adjust all callers.
885
789c3a0c
PA
8862015-07-29 Pedro Alves <palves@redhat.com>
887
888 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
889 of gdb_test_sequence.
890
77e760c3
PA
8912015-07-29 Pedro Alves <palves@redhat.com>
892
893 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
894 (saw_spurious_output): Expect inferior output from
895 $inferior_spawn_id. Use gdb_test_stdio.
896
8396d2cd
PA
8972015-07-29 Pedro Alves <palves@redhat.com>
898
899 * gdb.base/dprintf.exp: Use standard_testfile. Change
900 prepare_for_testing call.
901 (srcfile): Don't set.
902 (restart): New procedure.
903 (test_dprintf): New procecure, use to continue over dprintfs.
904 (test_call, test_agent): New procedures, tests moved here.
905 Restart gdb and recreate dprintfs. Adjust expected output.
906
2051d61f
PA
9072015-07-29 Pedro Alves <palves@redhat.com>
908
909 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
910
452397af
PA
9112015-07-29 Pedro Alves <palves@redhat.com>
912
913 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
914
8aed9555
PA
9152015-07-29 Pedro Alves <palves@redhat.com>
916
917 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
918 gdb_test_stdio.
919
188a61b4
PA
9202015-07-29 Pedro Alves <palves@redhat.com>
921
922 * lib/gdb.exp (gdb_test_stdio): New procedure.
923
12264a45
PA
9242015-07-29 Pedro Alves <palves@redhat.com>
925
926 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
927
23ffc893
PA
9282015-07-29 Pedro Alves <palves@redhat.com>
929
930 * gdb.base/call-signal-resume.exp: Remove check for
931 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
932 * gdb.base/unwindonsignal.exp: Likewise.
933 * gdb.base/call-signals.c (gen_signal): Remove printf call.
934 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
935
65566918
PA
9362015-07-29 Pedro Alves <palves@redhat.com>
937
938 * gdb.base/siginfo-addr.c (pass): New function.
939 (handler): Call it iff si_addr is correct.
940 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
941 Set a breakpoint at "pass" and continue to it.
942
d60a9221
SDJ
9432015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
944
945 * gdb.python/py-objfile.exp: Make some tests have unique names.
946 * gdb.python/py-pp-registration.exp: Likewise.
947
bde40b8f
PA
9482015-07-28 Pedro Alves <palves@redhat.com>
949
950 * gdb.server/server-exec-info.exp: Issue a "disconnect".
951
13e1dec8
SM
9522015-07-27 Simon Marchi <simon.marchi@ericsson.com>
953
954 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
955
da33c9a7
SM
9562015-07-27 Simon Marchi <simon.marchi@ericsson.com>
957
958 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
959
077836f7
PP
9602015-07-27 Patrick Palka <patrick@parcs.ath.cx>
961
962 * gdb.base/gdb-sigterm-2.exp: New test.
963
b8cc7b2e
DE
9642015-07-25 Doug Evans <xdje42@gmail.com>
965
966 Revert:
967 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
968 (workers/%.worker, build-perf): New rule.
969 (GDB_PERFTEST_MODE): New variable.
970 (check-perf): Use it.
971 (clean): Clean up gdb.perf parallel build subdirs.
972 * lib/build-piece.exp: New file.
973 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
974 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
975 name.
976 (standard_temp_file): Ditto.
977 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
978 of $GDB_PARALLEL.
979
c8bd4544
DE
9802015-07-24 Doug Evans <dje@google.com>
981
982 * gdb.perf/lib/perftest/utils.py: New file.
983 * gdb.perf/gm-hello.cc: New file.
984 * gdb.perf/gm-pervasive-typedef.cc: New file.
985 * gdb.perf/gm-pervasive-typedef.h: New file.
986 * gdb.perf/gm-std.cc: New file.
987 * gdb.perf/gm-std.h: New file.
988 * gdb.perf/gm-use-cerr.cc: New file.
989 * gdb.perf/gm-utils.h: New file.
990 * gdb.perf/gmonster-null-lookup.py: New file.
991 * gdb.perf/gmonster-pervasive-typedef.py: New file.
992 * gdb.perf/gmonster-print-cerr.py: New file.
993 * gdb.perf/gmonster-ptype-string.py: New file.
994 * gdb.perf/gmonster-runto-main.py: New file.
995 * gdb.perf/gmonster-select-file.py: New file.
996 * gdb.perf/gmonster1-null-lookup.exp: New file.
997 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
998 * gdb.perf/gmonster1-print-cerr.exp: New file.
999 * gdb.perf/gmonster1-ptype-string.exp: New file.
1000 * gdb.perf/gmonster1-runto-main.exp: New file.
1001 * gdb.perf/gmonster1-select-file.exp: New file.
1002 * gdb.perf/gmonster1.cc: New file.
1003 * gdb.perf/gmonster1.exp: New file.
1004 * gdb.perf/gmonster2-null-lookup.exp: New file.
1005 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
1006 * gdb.perf/gmonster2-print-cerr.exp: New file.
1007 * gdb.perf/gmonster2-ptype-string.exp: New file.
1008 * gdb.perf/gmonster2-runto-main.exp: New file.
1009 * gdb.perf/gmonster2-select-file.exp: New file.
1010 * gdb.perf/gmonster2.cc: New file.
1011 * gdb.perf/gmonster2.exp: New file.
1012
6eab34f3
DE
10132015-07-24 Doug Evans <dje@google.com>
1014
1015 * gdb.perf/README: New file.
1016 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
1017 * lib/gen-perf-test.exp: New file.
1018
63738bfd
DE
10192015-07-24 Doug Evans <dje@google.com>
1020
1021 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
1022 (PerfTest::startup): New function.
1023 (PerfTest::run): Return result of calling body.
1024 (PerfTest::assemble): Rewrite.
1025 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
1026 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
1027 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
1028 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
1029 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
1030
7b606f95
DE
10312015-07-24 Doug Evans <dje@google.com>
1032
1033 * lib/gdb.exp (clean_restart): Make executable optional.
1034
a97b16b8
DE
10352015-07-24 Doug Evans <dje@google.com>
1036
1037 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
1038 compiler_info references.
1039 * gdb.cp/temargs.exp: Ditto.
1040 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
1041 (get_compiler_info): Early exit if already computed. Set compiler_info
1042 to "unknown" if there was a problem.
1043 (test_compiler_info): Add function comment. Call get_compiler_info.
1044
35baa57f
DE
10452015-07-24 Doug Evans <dje@google.com>
1046
1047 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
1048 (workers/%.worker, build-perf): New rule.
1049 (GDB_PERFTEST_MODE): New variable.
1050 (check-perf): Use it.
1051 (clean): Clean up gdb.perf parallel build subdirs.
1052 * lib/build-piece.exp: New file.
1053 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
1054 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
1055 name.
1056 (standard_temp_file): Ditto.
1057 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1058 of $GDB_PARALLEL.
1059
6ebea266
DE
10602015-07-24 Doug Evans <dje@google.com>
1061
1062 * lib/future.exp (gdb_default_target_compile): New option
1063 "early_flags".
1064 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
1065 --as-needed.
1066
1e76a7e9
SDJ
10672015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
1068
1069 * gdb.base/catch-syscall.exp: Call gdb_exit before
1070 gdb_skip_xml_test.
1071
5068630a
PA
10722015-07-24 Pedro Alves <palves@redhat.com>
1073
1074 * gdb.python/py-events.exp: Accept output between the stop event
1075 and the prompt.
1076 * gdb.python/py-evsignal.exp: Likewise.
1077 * gdb.python/py-evthreads.exp: Likewise.
1078
77598427
PA
10792015-07-24 Pedro Alves <palves@redhat.com>
1080
1081 PR gdb/18717
1082 * gdb.threads/non-ldr-exit.c: New file.
1083 * gdb.threads/non-ldr-exit.exp: New file.
1084
11e6c98f
YQ
10852015-07-24 Yao Qi <yao.qi@linaro.org>
1086
1087 * gdb.server/ext-wrapper.exp: Test --wrapper option when
1088 restarting process.
1089
51aee833
YQ
10902015-07-24 Yao Qi <yao.qi@linaro.org>
1091
1092 * gdb.server/ext-restart.exp: New file.
1093
8cfe207c
YQ
10942015-07-24 Yao Qi <yao.qi@linaro.org>
1095
1096 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
1097 argument options.
1098 * gdb.server/ext-wrapper.exp: New file.
1099
cc12ce38
DE
11002015-07-23 Doug Evans <dje@google.com>
1101
1102 * gdb.dwarf2/dw2-dummy-cu.S: New file.
1103 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
1104
d0d84780
PMR
11052015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
1106
1107 * gdb.ada/var_arr_typedef.exp: New testcase.
1108 * gdb.ada/var_arr_typedef/pack.adb: New file.
1109 * gdb.ada/var_arr_typedef/pack.ads: New file.
1110 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
1111
8b558f79
JB
11122015-07-20 Joel Brobecker <brobecker@adacore.com>
1113
1114 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
1115
775a3298
JK
11162015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1117
1118 * gdb.arch/i386-biarch-core.exp: Replace istarget
1119 by "complete set gnutarget". Remove expectation for the "core-file"
1120 command.
1121
db1ff28b
JK
11222015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1123
1124 Revert the previous commit:
1125 Tests for validate symbol file using build-id.
1126
0a94970d
JK
11272015-07-15 Aleksandar Ristovski <aristovski@qnx.com
1128
1129 Tests for validate symbol file using build-id.
1130 * gdb.base/solib-mismatch-lib.c: New file.
1131 * gdb.base/solib-mismatch-libmod.c: New file.
1132 * gdb.base/solib-mismatch.c: New file.
1133 * gdb.base/solib-mismatch.exp: New file.
1134
03346981
SL
11352015-07-15 Sandra Loosemore <sandra@codesourcery.com>
1136
1137 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
1138 nios2-*-linux*.
1139 * gdb.base/sigbpt.exp (stepi_out): Likewise.
1140 * gdb.base/siginfo.exp: Likewise.
1141 * gdb.base/sigstep.exp (advance, advancei): Likewise.
1142
42422cc7
PL
11432015-07-15 Pierre Langlois <pierre.langlois@arm.com>
1144
1145 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
1146 Move it to ...
1147 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
1148 ... here.
1149 * gdb.trace/range-stepping.exp: Check that the target supports
1150 range stepping.
1151
cfa68bae
JK
11522015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1153
1154 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
1155
8ffdba26
PA
11562015-07-14 Pedro Alves <palves@redhat.com>
1157
1158 * gdb.base/killed-outside.exp: New file.
1159 * gdb.base/killed-outside.c: New file.
1160
218a5a11
JK
11612015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1162
1163 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
1164 (n at main): New.
1165 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
1166
e03ed3c6
AA
11672015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
1168
1169 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
1170 infcall tests instead of setting up for KFAIL.
1171
485668e5
MM
11722015-07-10 Markus Metzger <markus.t.metzger@intel.com>
1173
1174 * gdb.btrace/record_goto-step.exp: New.
1175
08464196
JK
11762015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1177
1178 PR compile/18484
1179 * gdb.compile/compile.c (struct struct_type): Add volatile to
1180 selffield's type.
1181 * gdb.compile/compile.exp
1182 (compile code struct_object.selffield = &struct_object): Skip further
1183 struct_object tests if this one xfails.
1184
bcf5c1d9
RC
11852015-07-08 Robert O'Callahan <robert@ocallahan.org>
1186
1187 PR exp/18617
1188 * gdb.trace/ax.exp: Add test.
1189
4931af25
YQ
11902015-07-07 Yao Qi <yao.qi@linaro.org>
1191
1192 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
1193 instead of istarget "aarch64*-*-*".
1194 * gdb.arch/aarch64-fp.exp: Likewise.
1195 * gdb.base/float.exp: Likewise.
1196 * gdb.reverse/aarch64.exp: Likewise.
1197 * lib/gdb.exp (is_aarch64_target): New proc.
1198
9fcf688e
YQ
11992015-07-07 Yao Qi <yao.qi@linaro.org>
1200
1201 * lib/gdb.exp (is_aarch32_target): New proc.
1202 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
1203 instead of "istarget "arm*-*-*"".
1204 * gdb.arch/arm-disp-step.exp: Likewise.
1205 * gdb.arch/thumb-bx-pc.exp: Likewise.
1206 * gdb.arch/thumb-prologue.exp: Likewise.
1207 * gdb.arch/thumb-singlestep.exp: Likewise.
1208 * gdb.base/disp-step-syscall.exp: Likewise.
1209 * gdb.base/float.exp: Likewise.
1210
fbd8d50d
YQ
12112015-07-07 Yao Qi <yao.qi@linaro.org>
1212
1213 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
1214 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
1215
71be1fdc
YQ
12162015-07-07 Yao Qi <yao.qi@linaro.org>
1217
1218 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
1219 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
1220 if it exists.
1221 * gdb.multi/multi-arch.exp: Likewise.
1222
3e221d36
SM
12232015-07-07 Simon Marchi <simon.marchi@ericsson.com>
1224
1225 * gdb.python/py-lazy-string.exp: Add missing parentheses to
1226 print.
1227
d441430b
YQ
12282015-07-07 Yao Qi <yao.qi@linaro.org>
1229
1230 * gdb.arch/thumb-singlestep.exp: Do one more single step.
1231
06f810bd
MG
12322015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
1233
1234 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
1235 '[' and ']' characters.
1236
5e61e7c0
IB
12372015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
1238
1239 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1240
28bf096c
PA
12412015-06-29 Pedro Alves <palves@redhat.com>
1242
1243 PR threads/18127
1244 * gdb.threads/hand-call-new-thread.c: New file.
1245 * gdb.threads/hand-call-new-thread.c: New file.
1246
ee93cd5e
KS
12472015-06-26 Keith Seitz <keiths@redhat.com>
1248 Doug Evans <dje@google.com>
1249
1250 PR 16253
1251 * gdb.cp/var-tag-2.cc: New file.
1252 * gdb.cp/var-tag-3.cc: New file.
1253 * gdb.cp/var-tag-4.cc: New file.
1254 * gdb.cp/var-tag.cc: New file.
1255 * gdb.cp/var-tag.exp: New file.
1256
fc637f04
PP
12572015-06-26 Patrick Palka <patrick@parcs.ath.cx>
1258
1259 * gdb.base/history-duplicates.exp: New test.
1260
2e52ae68
PP
12612015-06-26 Patrick Palka <patrick@parcs.ath.cx>
1262
1263 * gdb.base/completion.exp: Test the completion of the "focus"
1264 command.
1265
6e22494e
JK
12662015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1267
1268 * gdb.arch/amd64-prologue-skip.S: New file.
1269 * gdb.arch/amd64-prologue-skip.exp: New file.
1270
bf7b9cd9
SM
12712015-06-25 Simon Marchi <simon.marchi@ericsson.com>
1272
1273 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
1274 is_address_zero_readable check.
1275
201e8dfd
PB
12762015-06-24 Peter Bergner <bergner@vnet.ibm.com>
1277
1278 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
1279 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
1280
5cd867b4
YQ
12812015-06-24 Yao Qi <yao.qi@linaro.org>
1282
1283 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
1284 linux targets.
1285
4d7be007
YQ
12862015-06-24 Yao Qi <yao.qi@linaro.org>
1287
1288 * lib/gdb.exp (supports_get_siginfo_type): New proc.
1289 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
1290 * gdb.base/siginfo-thread.exp: Likewise.
1291
07fcd301
YQ
12922015-06-22 Yao Qi <yao.qi@linaro.org>
1293
1294 * boards/remote-gdbserver-on-localhost.exp: Add comments.
1295
52042a00
YQ
12962015-06-22 Yao Qi <yao.qi@linaro.org>
1297
1298 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
1299 aarch64*-*-*.
1300 (skip_hw_watchpoint_tests): Likewise.
1301
74bd41ce
PP
13022015-06-18 Patrick Palka <patrick@parcs.ath.cx>
1303
1304 * gdb.base/gdbinit-history.exp: Test the interaction between
1305 setting GDBHISTSIZE and setting the history size via .gdbinit.
1306
bc460514
PP
13072015-06-17 Patrick Palka <patrick@parcs.ath.cx>
1308
1309 PR gdb/16999
1310 * gdb.base/gdbhistsize-history.exp: New test.
1311
b58c513b
PP
13122015-06-17 Patrick Palka <patrick@parcs.ath.cx>
1313
1314 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
1315 with GDBHISTSIZE.
1316 * gdb.base/readline.exp: Likewise.
1317
92046791
YQ
13182015-06-17 Yao Qi <yao.qi@linaro.org>
1319
1320 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
1321 line.
1322
2093d2d3
PP
13232015-06-17 Patrick Palka <patrick@parcs.ath.cx>
1324
1325 * gdb.base/gdbinit-history.exp: Add test case to check that
1326 an unlimited history file does not get truncated on exit.
1327
e6c693af
AA
13282015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1329
1330 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
1331 (VECTOR): New macro. Use it...
1332 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
1333 ...for these typedefs.
1334 (int8, char1, int1, double1): New typedefs.
1335 (struct just_int2, struct two_int2): New structures.
1336 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
1337 (add_structvecs, add_singlevecs): New functions.
1338 (main): Call add_some_intvecs twice.
1339 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
1340 the compile and exit upon failure. Try compiling for the "native"
1341 architecture. Test inferior function calls with vector arguments
1342 and vector return value handling with "finish" and "return".
1343
c74f7d1c
JT
13442015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
1345
1346 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
1347 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
1348 PE file.
1349 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
1350
98aa42ee
AT
13512015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
1352
1353 PR breakpoints/16465
1354 * gdb.mi/mi-dprintf-pending.c: New file.
1355 * gdb.mi/mi-dprintf-pending.exp: New test.
1356 * gdb.mi/mi-dprintf-pendshr.c: New file.
1357
7d73c23c 13582015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 1359 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
1360
1361 * gdb.arch/i386-mpx-map.c: New file.
1362 * gdb.arch/i386-mpx-map.exp: New File.
1363
13642015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1365
1366 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
1367 * gdb.arch/i386-mpx.exp: Indentation fixed.
1368
13692015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1370
1371 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
1372 function and improved indentation.
1373 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
1374 gdb_test_multiple. Added additional tests to skip the test.
1375
13762015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1377
1378 * gdb.arch/i386-avx512.c: Change path in include file.
1379 * gdb.arch/i386-avx512.exp: Change include dir path
1380 compilation flag.
1381 * gdb.arch/i386-mpx.c: Change path in include file.
1382 * gdb.arch/i386-mpx.exp: Change include dir path compilation
1383 flag.
1384
d5eba19a
JK
13852015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1386
1387 * gdb.compile/compile-print.exp (compile print *vararray@3)
1388 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
1389
7f361056
JK
13902015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1391
1392 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
1393 (do not keep jit in memory): ... this.
1394 (expect 5): Change it to ...
1395 (expect no 5): ... this.
1396
3b462ec2
SM
13972015-06-02 Simon Marchi <simon.marchi@ericsson.com>
1398
1399 PR gdb/15564
1400 * gdb.mi/mi-detach.exp: New file.
1401
e0619de6
JK
14022015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1403
1404 PR symtab/18392
1405 * gdb.arch/amd64-tailcall-self.S: New file.
1406 * gdb.arch/amd64-tailcall-self.c: New file.
1407 * gdb.arch/amd64-tailcall-self.exp: New file.
1408
e970cb34
DB
14092015-05-28 Don Breazeal <donb@codesourcery.com>
1410
1411 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
1412 tests for remote targets by checking is_target_gdbserver.
1413
b2e2f908
DE
14142015-05-27 Doug Evans <dje@google.com>
1415
1416 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
1417 * gdb.dwarf2/opaque-type-lookup.c: New file.
1418 * gdb.dwarf2/opaque-type-lookup.exp: New file.
1419
82c7be31
DE
14202015-05-26 Doug Evans <dje@google.com>
1421
1422 * gdb.cp/iostream.cc: New file.
1423 * gdb.cp/iostream.exp: New file.
1424
b4f54984
DE
14252015-05-26 Doug Evans <dje@google.com>
1426
1427 * gdb.dwarf2/dw2-op-call.exp: Update.
1428 * gdb.dwarf2/dw4-sig-types.exp: Update.
1429 * gdb.dwarf2/implptr.exp: Update.
1430 * gdb.mi/mi-cmd-param-changed.exp: Update.
1431
4ea6efe9
DE
14322015-05-26 Doug Evans <dje@google.com>
1433
1434 * gdb.python/py-lazy-string.c: New file.
1435 * gdb.python/py-lazy-string.exp: New file.
1436 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
1437 (main): Update. Add estring3.
1438 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
1439 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
1440
f6bb7db3
YQ
14412015-05-26 Omair Javaid <omair.javaid@linaro.org>
1442 Yao Qi <yao.qi@linaro.org>
1443
1444 * gdb.reverse/aarch64.c: New.
1445 * gdb.reverse/aarch64.exp: New.
1446
a81bfbd0
OJ
14472015-05-26 Omair Javaid <omair.javaid@linaro.org>
1448
1449 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
1450 (supports_reverse): Likewise.
1451
158bf1b4
PP
14522015-05-22 Patrick Palka <patrick@parcs.ath.cx>
1453
1454 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1455 Use with_test_prefix.
1456
a0145030
AB
14572015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
1458
1459 * gdb.base/completion.exp: Add test for completion of layout
1460 names.
1461
ebe3b578
AB
14622015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
1463
1464 * lib/gdb.exp (skip_tui_tests): New proc.
1465 * gdb.base/tui-layout.exp: Check skip_tui_tests.
1466
84204ed7
PA
14672015-05-19 Pedro Alves <palves@redhat.com>
1468
1469 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1470 Save the whole env array instead of just HOME. Unset HISTSIZE in
1471 the environment while testing. Restore whole environment
1472 afterwards.
1473
37442ce1
DE
14742015-05-16 Doug Evans <xdje42@gmail.com>
1475
1476 * gdb.guile/scm-ports.c: New file.
1477 * gdb.guile/scm-ports.exp: Add memory port tests.
1478
36de76f9
JK
14792015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1480
1481 * gdb.compile/compile-print.c: New file.
1482 * gdb.compile/compile-print.exp: New file.
1483
3a9558c4
JK
14842015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1485
1486 * gdb.compile/compile-ops.exp: Cast param to void.
1487 * gdb.compile/compile.exp: Complete type for _gdb_expr.
1488 (compile code struct_object.selffield = &struct_object): Add xfail.
1489
aa715135
JG
14902015-05-15 Joel Brobecker <brobecker@adacore.com>
1491
1492 * gdb.ada/arr_enum_with_gap: New testcase.
1493
931e5bc3
JG
14942015-05-15 Joel Brobecker <brobecker@adacore.com>
1495
1496 * gdb.ada/byte_packed_arr: New testcase.
1497
9cd4d857
JB
14982015-05-15 Joel Brobecker <brobecker@adacore.com>
1499
1500 * gdb.ada/pckd_neg: New testcase.
1501
ebfd00d2
PP
15022015-05-13 Patrick Palka <patrick@parcs.ath.cx>
1503
1504 PR gdb/17820
1505 * gdb.base/gdbinit-history.exp: New test.
1506 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
1507 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
1508
4c082a81
SC
15092015-05-09 Siva Chandra Reddy <sivachandra@google.com>
1510
1511 * gdb.python/py-xmethods.cc: Enhance test case.
1512 * gdb.python/py-xmethods.exp: New tests.
1513 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
1514 function.
1515 (B_indexoper): Likewise.
1516 (global_dm_list) : Add new xmethod worker functions.
1517
f7797074
SDJ
15182015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
1519
1520 * gdb.base/coredump-filter.exp: Correctly unset
1521 "coredump_var_addr" array.
1522
a4674e4e
PA
15232015-05-08 Pedro Alves <palves@redhat.com>
1524
1525 * gdb.server/non-existing-program.exp: Unset spawn_id.
1526
df2eb078
SC
15272015-05-08 Siva Chandra Reddy <sivachandra@google.com>
1528
1529 PR python/18291
1530 * gdb.python/py-xmethods.exp: Add tests.
1531
422349a3
YQ
15322015-05-08 Yao Qi <yao.qi@linaro.org>
1533
1534 PR gdb/18208
1535 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
1536 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
1537 function set_coredump_filter, and remove remote_exec call.
1538 Remove argument ipid. Callers update.
1539 (top level): Don't get inferior's PID.
1540
63fc80ce
AA
15412015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
1542
1543 * gdb.base/watch_thread_num.exp: Skip test on targets without
1544 access watchpoints.
1545
80ad801e
PA
15462015-05-06 Pedro Alves <palves@redhat.com>
1547
1548 PR server/18081
1549 * gdb.server/non-existing-program.exp: New file.
1550
0fa7fe50
JB
15512015-05-05 Joel Brobecker <brobecker@adacore.com>
1552
1553 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
1554
3ea89b92
PMR
15552015-05-05 Joel Brobecker <brobecker@adacore.com>
1556
1557 * gdb.ada/out_of_line_in_inlined: New testcase.
1558
87b8eff0
JB
15592015-05-05 Joel Brobecker <brobecker@adacore.com>
1560
1561 * gdb.ada/var_rec_arr: New testcase.
1562
5fccc635
YQ
15632015-04-30 Yao Qi <yao.qi@linaro.org>
1564
1565 * gdb.base/break-idempotent.exp: If
1566 skip_hw_watchpoint_multi_tests returns true, skip the tests
1567 on "rwatch" and "awatch".
1568
42d38f42
YQ
15692015-04-30 Yao Qi <yao.qi@linaro.org>
1570
1571 * gdb.base/relativedebug.exp: Invoke gdb command
1572 "info sharedlibrary", and if libc.so doesn't have debug info,
1573 skip the test.
1574
2ce1cdbf
DE
15752015-04-29 Doug Evans <dje@google.com>
1576
1577 * gdb.python/py-xmethods.exp: Add ptype tests.
1578 * gdb.python/py-xmethods.py (E_method_char_worker): Add
1579 get_result_type method.
1580
f24a38c5
LM
15812015-04-29 Luis Machado <lgustavo@codesourcery.com>
1582
1583 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
1584 the target does not support hardware watchpoints.
1585
ecbf2b3c
LM
15862015-04-29 Luis Machado <lgustavo@codesourcery.com>
1587
1588 * gdb.base/break-always.exp: Abort testing if writing to memory
1589 causes an error.
1590
34f5f757
DE
15912015-04-28 Doug Evans <dje@google.com>
1592
1593 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
1594 * gdb.python/py-pp-registration.exp: ... here. New file.
1595 * gdb.python/py-pp-registration.c: New file.
1596 * gdb.python/py-pp-registration.py: New file.
1597
69b4374a
DE
15982015-04-28 Doug Evans <dje@google.com>
1599
1600 * gdb.python/py-bad-printers.c: New file.
1601 * gdb.python/py-bad-printers.py: New file.
1602 * gdb.python/py-bad-printers.exp: New file.
1603
59fb7612
SS
16042015-04-28 Sasha Smundak <asmundak@google.com>
1605
1606 * gdb.python/py-type.exp: New test.
1607
2631b16a
AW
16082015-04-28 Andy Wingo <wingo@igalia.com>
1609
1610 * gdb.python/py-parameter.exp:
1611 * gdb.guile/scm-parameter.exp: Escape the path that we are
1612 matching against, as it might contain characters that are special
1613 to regular expressions.
1614
460efde1
JB
16152015-04-27 Joel Brobecker <brobecker@adacore.com>
1616
1617 * gdb.ada/rec_comp: New testcase.
1618
2d369d8e
SDJ
16192015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
1620
1621 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
1622 before using it.
1623
cf75d6c3
AB
16242015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
1625
1626 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
1627 new tests for verilog output.
1628
8dbe7ca5
YQ
16292015-04-24 Yao Qi <yao.qi@linaro.org>
1630
1631 * boards/remote-gdbserver-on-localhost.exp: New file.
1632
4ef9fb2f
PA
16332015-04-23 Pedro Alves <palves@redhat.com>
1634
1635 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
1636 $inferior_spawn_id instead of $inferior_spawn_id directly. On
1637 "end of file", remove $inferior_spawn_id from the indirect list.
1638
0a803169
PA
16392015-04-23 Pedro Alves <palves@redhat.com>
1640
1641 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
1642
749ef8f8
PA
16432015-04-23 Pedro Alves <palves@redhat.com>
1644
1645 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
1646 on $any_spawn_id instead of only on $gdb_spawn_id.
1647
8aae4344
PM
16482015-04-21 Pierre Muller <muller@sourceware.org>
1649
1650 PR pascal/17815
1651 * lib/pascal.exp (gpc_compile): Add new option "class".
1652 (fpc_compile): Likewise.
1653 * gdb.pascal/case-insensitive-symbols.pas: New file.
1654 * gdb.pascal/case-insensitive-symbols.exp: New file.
1655
1586c8fb
GB
16562015-04-20 Gary Benson <gbenson@redhat.com>
1657
1658 * gdb.base/attach.exp: Fix three extended remote failures.
1659
1b6e6f5c
GB
16602015-04-17 Gary Benson <gbenson@redhat.com>
1661
1662 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
1663 the main executable over the remote protocol.
1664
e797481d
PA
16652015-04-16 Pedro Alves <palves@redhat.com>
1666
1667 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
1668 a new gdbserver if gdbserver_reconnect_p is set.
1669
1ca99c42
PA
16702015-04-16 Pedro Alves <palves@redhat.com>
1671
1672 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
1673 is set, don't exit gdbserver.
1674
af9fd6f8
AA
16752015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1676
1677 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
1678 appropriate .insn, such that an older assembler can be used.
1679 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
1680 the z/Architecture instruction set on 31-bit targets as well.
1681
04ff1e61
AA
16822015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1683
1684 * gdb.go/handcall.exp: Remove all logic related to the first
1685 breakpoint and rely on go_runto_main instead.
1686 * gdb.go/strings.exp: Likewise.
1687 * gdb.go/unsafe.exp: Likewise.
1688 * gdb.go/hello.exp: Likewise. Also rename the remaining
1689 breakpoint marker to "breakpoint 1".
1690 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
1691 * gdb.go/strings.go: Likewise.
1692 * gdb.go/unsafe.go: Likewise.
1693 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
1694 "set breakpoint 2 here" and rename the remaining breakpoint marker
1695 to "breakpoint 1".
1696
40d2f8d6
SM
16972015-04-15 Simon Marchi <simon.marchi@ericsson.com>
1698
1699 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
1700 if itertools.imap is not present.
1701 * gdb.python/py-objfile.exp: Add parentheses.
1702 * gdb.python/py-type.exp: Same.
1703 * gdb.python/py-unwind-maint.py: Same.
1704
8cbc97c6
YQ
17052015-04-15 Yao Qi <yao.qi@linaro.org>
1706
1707 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
1708 of ":$ptr_size" and set its form explicitly.
1709
45fd756c
YQ
17102015-04-15 Pedro Alves <palves@redhat.com>
1711 Yao Qi <yao.qi@linaro.org>
1712
1713 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
1714 timeout by factor of 4.
1715 (test_regular_watch): Likewise.
1716 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
1717 * gdb.reverse/sigall-reverse.exp: Likewise.
1718 * gdb.reverse/until-precsave.exp: Likewise.
1719 * lib/gdb.exp (with_timeout_factor): New proc.
1720 (gdb_expect): Move some code to ...
1721 (get_largest_timeout): ... here. New procedure.
1722
9e811bc3
LM
17232015-04-14 Luis Machado <lgustavo@codesourcery.com>
1724
1725 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
1726
0ff6fcb2
LM
17272015-04-13 Luis Machado <lgustavo@codesourcery.com>
1728
1729 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
1730 to write to the .text section.
1731
7578d5f7
LM
17322015-04-13 Luis Machado <lgustavo@codesourcery.com>
1733
1734 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
1735 Handle the case of targets that do not provide PID information.
1736
2efe15c4
YQ
17372015-04-13 Yao Qi <yao.qi@linaro.org>
1738
1739 * lib/gdbserver-support.exp (gdb_exit): Catch exception
1740 and use expect instead of gdb_expect.
1741
8cd8f2f8
SDJ
17422015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
1743
1744 * gdb.base/coredump-filter.exp: Rename variable "addr" to
1745 "coredump_var_addr" to avoid naming conflict with other testcases.
1746
9ee41772
PA
17472015-04-10 Pedro Alves <palves@redhat.com>
1748
1749 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
1750 gdb_test_sequence and gdb_assert.
1751
07473109
PA
17522015-04-10 Pedro Alves <palves@redhat.com>
1753
1754 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
1755 test messages that don't include the breakpoint address.
1756
de3db44c
YQ
17572015-04-10 Yao Qi <yao.qi@linaro.org>
1758
1759 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
1760 false for some offset and width combinations which aren't
1761 supported by linux kernel.
1762
c79d856c
PA
17632015-04-10 Pedro Alves <palves@redhat.com>
1764
1765 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
1766 procedure, factored out from ...
1767 (top level): ... here. Add "set displaced-stepping" testing axis.
1768 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
1769 parameter "displaced". Use it.
1770 (top level): Use foreach and add "set displaced-stepping" testing
1771 axis.
1772
ebc90b50
PA
17732015-04-10 Pedro Alves <palves@redhat.com>
1774
1775 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
1776 Remove comment.
1777 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
1778 both the address of the instruction that triggers the watchpoint
1779 and the address of the instruction immediately after, and use
1780 those addresses for the test. Fix comment.
1781
8f572e5c
PA
17822015-04-10 Pedro Alves <palves@redhat.com>
1783
1784 * gdb.base/sigstep.exp (breakpoint_to_handler)
1785 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
1786 Test "backtrace" in handler.
1787 (breakpoint_over_handler): New parameter 'displaced'. Use it.
1788 (top level): Add new "displaced" test axis to
1789 breakpoint_to_handler, breakpoint_to_handler_entry and
1790 breakpoint_over_handler.
1791
8d707a12
PA
17922015-04-10 Pedro Alves <palves@redhat.com>
1793
1794 PR gdb/18216
1795 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
1796
ef713951
YQ
17972015-04-10 Yao Qi <yao.qi@linaro.org>
1798
1799 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
1800 (test_add_rn_pc): New function.
1801 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
1802 (top level): Invoke test_add_rn_pc.
1803
906d60cf
PA
18042015-04-10 Pedro Alves <palves@redhat.com>
1805
1806 PR gdb/13858
1807 * gdb.base/step-over-no-symbols.exp: New file.
1808
f2983cc3
AW
18092015-04-09 Andy Wingo <wingo@igalia.com>
1810
1811 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
1812 after the Python tests.
1813
6d62641c
SDJ
18142015-04-08 Keith Seitz <keiths@redhat.com>
1815
1816 PR python/16699
1817 * gdb.python/py-completion.exp: New tests for completion.
1818 * gdb.python/py-completion.py (CompleteLimit1): New class.
1819 (CompleteLimit2): Likewise.
1820 (CompleteLimit3): Likewise.
1821 (CompleteLimit4): Likewise.
1822 (CompleteLimit5): Likewise.
1823 (CompleteLimit6): Likewise.
1824 (CompleteLimit7): Likewise.
1825
f3770638
PA
18262015-04-08 Pedro Alves <palves@redhat.com>
1827
1828 PR gdb/18214
1829 PR gdb/18216
1830 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
1831 function.
1832 (main): Install it as SIGUSR1 handler.
1833 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
1834 parameter. Always use "setup" as prefix. Toggle "set
1835 displaced-stepping" off/on depending on global. Don't switch to
1836 thread 1 here.
1837 (top level): Add displaced stepping "off/on" test axis. Update
1838 "setup" calls. Wrap each subtest with with_test_prefix. Test
1839 continuing with a queued signal in each thread.
1840
4496bed7
PA
18412015-04-08 Pedro Alves <palves@redhat.com>
1842
1843 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
1844 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
1845 gdb_breakpoint instead of gdb_test that doesn't expect anything.
1846 Return early if running to main fails.
1847 * gdb.trace/while-stepping.exp: Likewise.
1848
b97fde92
PA
18492015-04-07 Pedro Alves <palves@redhat.com>
1850
1851 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
1852 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
1853 interact with inferior program.
1854
f71c18e7
PA
18552015-04-07 Pedro Alves <palves@redhat.com>
1856
1857 * lib/gdb.exp (inferior_spawn_id): New global.
1858 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
1859 spawn id after processing the user code.
1860 (default_gdb_start): Set inferior_spawn_id.
1861 (send_inferior): New procedure.
1862 * lib/gdbserver-support.exp (gdbserver_start): Set
1863 inferior_spawn_id.
1864 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
1865
6423214f
PA
18662015-04-07 Pedro Alves <palves@redhat.com>
1867
1868 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
1869 * lib/gdbserver-support.exp (gdbserver_start): Make
1870 $server_spawn_id global.
1871 (gdbserver_start): Don't wait for gdbserver's spawn id with
1872 expect_background.
1873 (close_gdbserver): New procedure.
1874 (gdb_exit): Rename the default version and reimplement.
1875
71c0ee8c
PA
18762015-04-07 Pedro Alves <palves@redhat.com>
1877
72f4393d 1878 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
1879 append the substituted item, not the original item.
1880
203bc29b
PA
18812015-04-07 Pedro Alves <palves@redhat.com>
1882
1883 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
1884 gdb_expect.
1885
508a3ddf
PA
18862015-04-07 Pedro Alves <palves@redhat.com>
1887
1888 * gdb.base/interrupt.exp: Don't handle the case of the inferior
1889 output appearing once only.
1890
9f6dbe2b
PA
18912015-04-07 Pedro Alves <palves@redhat.com>
1892
1893 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
1894 that doesn't expect anything. Return early if running to main
1895 fails.
1896
337532fa
YQ
18972015-04-07 Yao Qi <yao.qi@linaro.org>
1898
1899 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
1900 (child_function): Call alarm.
1901 (main): Move call to alarm into the loop.
1902 * gdb.threads/non-stop-fair-events.exp: Build program with
1903 -DTIMEOUT=$timeout.
1904
01b622d4
DE
19052015-04-06 Doug Evans <xdje42@gmail.com>
1906
1907 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
1908 Fix dest parameter to board_info.
1909 (fpc_compile): Ditto.
1910 (gdb_compile_pascal): Rename dest arg to destfile.
1911
961f4160
PMR
19122015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
1913
1914 * gdb.ada/funcall_ref.exp: New file.
1915 * gdb.ada/funcall_ref/foo.adb: New file.
1916
cafda597
YQ
19172015-04-02 Yao Qi <yao.qi@linaro.org>
1918
1919 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
1920 is remote.
1921
fed040c6
GB
19222015-04-02 Gary Benson <gbenson@redhat.com>
1923
1924 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
1925
d11916aa
SS
19262015-04-01 Sasha Smundak <asmundak@google.com>
1927
1928 * gdb.python/py-unwind-maint.c: New file.
1929 * gdb.python/py-unwind-maint.exp: New test.
1930 * gdb.python/py-unwind-maint.py: New file.
1931 * gdb.python/py-unwind.c: New file.
1932 * gdb.python/py-unwind.exp: New test.
1933 * gdb.python/py-unwind.py: New test.
1934
a1471180
PA
19352015-04-01 Pedro Alves <palves@redhat.com>
1936
1937 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
1938 to fail instead of non-existent $test.
1939
0bbeccb1
PA
19402015-04-01 Pedro Alves <palves@redhat.com>
1941
1942 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
1943 GDBFLAGS if not empty.
1944
3c724c8c
PMR
19452015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
1946
1947 * gdb.ada/complete.exp: Remove "multi_line".
1948 * gdb.ada/info_exc.exp: Remove "multi_line".
1949 * gdb.ada/packed_tagged.exp: Remove "multi_line".
1950 * gdb.ada/ptype_field.exp: Remove "multi_line".
1951 * gdb.ada/sym_print_name.exp: Remove "multi_line".
1952 * gdb.ada/tagged.exp: Remove "multi_line".
1953 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
1954 [multi_line ...]
1955 * gdb.btrace/delta.exp: Likewise.
1956 * gdb.btrace/exception.exp: Likewise.
1957 * gdb.btrace/function_call_history.exp: Likewise.
1958 * gdb.btrace/instruction_history.exp: Likewise.
1959 * gdb.btrace/nohist.exp: Likewise.
1960 * gdb.btrace/record_goto.exp: Likewise.
1961 * gdb.btrace/segv.exp: Likewise.
1962 * gdb.btrace/stepi.exp: Likewise.
1963 * gdb.btrace/tailcall.exp: Likewise.
1964 * gdb.btrace/unknown_functions.exp: Likewise.
1965 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
1966 * lib/gdb.exp: Add the "multi_line" helper.
1967
4eec2deb
PA
19682015-04-01 Pedro Alves <palves@redhat.com>
1969
1970 * gdb.threads/tid-reuse.c: New file.
1971 * gdb.threads/tid-reuse.exp: New file.
1972
df8411da
SDJ
19732015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
1974
1975 PR corefiles/16092
1976 * gdb.base/coredump-filter.c: New file.
1977 * gdb.base/coredump-filter.exp: Likewise.
1978
6ef37366
PM
19792015-03-27 Petr Machata <pmachata@redhat.com>
1980
1981 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
1982 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
1983 (Dwarf::assemble): Initialize them.
1984 (Dwarf::lines): New function.
1985
7ec911b0
JT
19862015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
1987
1988 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
1989 SYMBOL_PREFIX for x86_64-*-cygwin.
1990
ff908ebf
AW
19912015-03-26 Andy Wingo <wingo@igalia.com>
1992
1993 PR symtab/18148
1994 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
1995 const_value but not a location.
1996 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
1997 location defined in non-main CUs are visible.
1998
6d5f0679
YQ
19992015-03-26 Yao Qi <yao.qi@linaro.org>
2000
2001 PR testsuite/18139
2002 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
2003 Add a line number entry for the same line.
2004 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
2005 Add a line number entry for the same line.
2006
2898689b
YQ
20072015-03-26 Yao Qi <yao.qi@linaro.org>
2008
2009 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
2010 .int 0.
2011 (func): Likewise. Add .Lfunc_1 label.
2012 Use .Lfunc_1 label.
2013 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
2014 .int 0.
2015 (func): Likewise.
2016 Use .Lfunc_1 label.
2017
85180498
YQ
20182015-03-26 Yao Qi <yao.qi@linaro.org>
2019
2020 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
2021 Call gdb_compile instead to compile each .s files without debug
2022 information.
2023
8aa08a8d
YQ
20242015-03-26 Yao Qi <yao.qi@linaro.org>
2025
2026 * gdb.base/savedregs.exp (process_saved_regs): Make
2027 "Saved registers:" optional in the pattern.
2028
66849923
MM
20292015-03-25 Markus Metzger <markus.t.metzger@intel.com>
2030
2031 * gdb.btrace/next.exp: Merged into step.exp.
2032 * gdb.btrace/finish.exp: Merged into step.exp.
2033 * gdb.btrace/nexti.exp: Merged into stepi.exp.
2034 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
2035 "record goto" and checking the exact replay position.
2036 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
2037 check for "Recording format" in "info record" output.
2038 * gdb.btrace/record_goto.exp: Choose test file based on target.
2039 * gdb.btrace/x86-record_goto.S: Renamed into ...
2040 * gdb.btrace/x86_64-record_goto.S: ... this.
2041 * gdb.btrace/i686-record_goto.S: New.
2042 * gdb.btrace/x86-tailcall.S: Renamed into ...
2043 * gdb.btrace/x86_64-tailcall.S: ... this.
2044 * gdb.btrace/i686-tailcall.S: New.
2045 * gdb.btrace/x86-tailcall.c: Renamed into ...
2046 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
2047 separate statements. Update test.
2048 * gdb.btrace/delta.exp: Use record_goto.c as test file.
2049 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
2050 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
2051 * gdb.btrace/tailcall.exp: Choose test file based on target.
2052 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
2053
11cc1b74
MM
20542015-03-25 Markus Metzger <markus.t.metzger@intel.com>
2055
2056 * gdb.btrace/exception.exp: Increase BTS buffer size.
2057
a25d8bf9
PA
20582015-03-24 Pedro Alves <palves@redhat.com>
2059
2060 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
2061
856e7dd6
PA
20622015-03-24 Pedro Alves <palves@redhat.com>
2063
2064 * gdb.threads/schedlock.exp (test_step): No longer expect that
2065 "set scheduler-locking step" with "next" over a function call runs
2066 threads unlocked.
2067
ad235a41
AT
20682015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
2069
2070 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
2071
15630549
AT
20722015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
2073
2074 PR breakpoints/16466
2075 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
2076 * gdb.mi/mi-pending.c (thread_func): New function.
2077 (int main): Add threading support required.
2078 * gdb.mi/mi-pending.exp: Add tests for this issue.
2079 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
2080 (pendfunc2): Remove stdio dependency.
2081 * gdb.mi/mi-pendshr2.c: New file.
2082
693dca06
KS
20832015-03-23 Keith Seitz <keiths@redhat.com>
2084
2085 * gdb.linespec/keywords.c: New file.
2086 * gdb.linespec/keywords.exp: New file.
2087
7e993ebf
KS
20882015-03-23 Keith Seitz <keiths@redhat.com>
2089
2090 PR gdb/18021
2091 * gdb.dwarf2/staticvirtual.exp: New test.
2092
bc23328c
JK
20932015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2094
2095 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
2096 * README: Remove HP-UX and gdb.hp.
2097 (configuration):
2098 * configure: Regenerate.
2099 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
2100 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
2101 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
2102 gdb.hp/gdb.defects/Makefile.
2103 * gdb.hp/Makefile.in: File deleted.
2104 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
2105 * gdb.hp/gdb.aCC/optimize.c: File deleted.
2106 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
2107 * gdb.hp/gdb.aCC/run.c: File deleted.
2108 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
2109 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
2110 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
2111 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
2112 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
2113 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
2114 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
2115 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
2116 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
2117 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
2118 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
2119 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
2120 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
2121 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
2122 * gdb.hp/gdb.base-hp/reg.s: File deleted.
2123 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
2124 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
2125 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
2126 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
2127 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
2128 * gdb.hp/gdb.compat/Makefile.in: File deleted.
2129 * gdb.hp/gdb.compat/average.c: File deleted.
2130 * gdb.hp/gdb.compat/sum.c: File deleted.
2131 * gdb.hp/gdb.compat/xdb.c: File deleted.
2132 * gdb.hp/gdb.compat/xdb0.c: File deleted.
2133 * gdb.hp/gdb.compat/xdb0.h: File deleted.
2134 * gdb.hp/gdb.compat/xdb1.c: File deleted.
2135 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
2136 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
2137 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
2138 * gdb.hp/gdb.defects/Makefile.in: File deleted.
2139 * gdb.hp/gdb.defects/bs14602.c: File deleted.
2140 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
2141 * gdb.hp/gdb.defects/solib-d.c: File deleted.
2142 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
2143 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
2144 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
2145 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
2146 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
2147 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
2148 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
2149 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
2150 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
2151 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
2152 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
2153 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
2154 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
2155 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
2156 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
2157 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
2158 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
2159 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
2160 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
2161 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
2162 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
2163 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
2164 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
2165 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
2166 * gdb.hp/tools/odump: File deleted.
2167
8bf3b159
PA
21682015-03-19 Pedro Alves <palves@redhat.com>
2169
2170 * gdb.threads/continue-pending-status.exp (saw_thread_2)
2171 (saw_thread_3): New globals.
2172 (top level): Increment them when an event for the corresponding
2173 thread is seen.
2174 (no thread starvation): New test.
2175
eb54c8bf
PA
21762015-03-19 Pedro Alves <palves@redhat.com>
2177
2178 * gdb.threads/continue-pending-status.c: New file.
2179 * gdb.threads/continue-pending-status.exp: New file.
2180
32d2e5d6
PA
21812015-03-18 Pedro Alves <palves@redhat.com>
2182
2183 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
2184 Use gdb_is_target_remote instead of is_remote. Use
2185 gdb_test_multiple instead of gdb_expect. Exit early if
2186 gdb_test_multiple hits its internal matches. Tighten stepi tests
2187 expected output. Fail on exit with any signal, instead of just
2188 SIGILL.
2189
f68f11b7
YQ
21902015-03-18 Yao Qi <yao.qi@linaro.org>
2191
2192 PR tdep/18107
2193 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
2194 variable.
2195 * gdb.base/catch-syscall.exp: Don't skip it on
2196 aarch64*-*-linux* target. Remove elements in all_syscalls.
2197 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
2198 target.
2199 (setup_all_syscalls): New proc.
2200
ca5fd19b
YQ
22012015-03-16 Yao Qi <yao.qi@linaro.org>
2202
2203 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
2204 (top level): Skip tests if valid_addr_p returns false for
2205 $cmd1 or $cmd2.
2206
85642ba0
AW
22072015-03-11 Andy Wingo <wingo@igalia.com>
2208
2209 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
2210
e03f9645
YQ
22112015-03-11 Yao Qi <yao.qi@linaro.org>
2212
2213 * gdb.base/catch-syscall.exp: Fix typo in comments.
2214
5d0962b2
YQ
22152015-03-11 Yao Qi <yao.qi@linaro.org>
2216
2217 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
2218
b2df3cef
PA
22192015-03-09 Pedro Alves <palves@redhat.com>
2220
2221 * dg-extract-results.py: Delete.
2222
ef878e53
PA
22232015-03-09 Pedro Alves <palves@redhat.com>
2224
2225 Merge dg-extract-results.sh from GCC upstream (r218843).
2226
2227 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
2228 * dg-extract-results.sh: Use --text with grep to avoid issues with
2229 binary files. Fall back to cat -v, if that doesn't work.
2230
9494d219
PA
22312015-03-05 Pedro Alves <palves@redhat.com>
2232
2233 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
2234
a8d9763a
SM
22352015-03-04 Simon Marchi <simon.marchi@ericsson.com>
2236
2237 * lib/mi-support.exp (mi_expect_interrupt): Accept
2238 alternative event for when in all-stop mode.
2239
be9957b8
PA
22402015-03-04 Pedro Alves <palves@redhat.com>
2241
2242 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
2243
d57be0f4 22442015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
2245
2246 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
2247
c214c7cf
AA
22482015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
2249
2250 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
2251 regexps for GDB's current line display, accept a hex address
2252 preceding the line number.
2253
6d74a497
AA
22542015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
2255
2256 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
2257 the 'arch1' variable for "s390*-linux*" targets.
2258
511aee7c
PA
22592015-03-04 Pedro Alves <palves@redhat.com>
2260
2261 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
2262 (main): Pass missing retval argument to pthread_join call.
2263
95e50b27
PA
22642015-03-02 Pedro Alves <palves@redhat.com>
2265
2266 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
2267 (top level): Call do_test with non-stop as well.
2268
28054d69
PA
22692015-03-02 Pedro Alves <palves@redhat.com>
2270
2271 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
2272 -1.
2273
4fa5d7b4
AA
22742015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
2275
2276 * gdb.arch/s390-vregs.exp: New test.
2277 * gdb.arch/s390-vregs.S: New file.
2278
97c18565
PA
22792015-02-27 Pedro Alves <palves@redhat.com>
2280
2281 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
2282 call to catch_command_errors.
2283 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
2284 catch_command_errors.
2285
a37bfa30
PA
22862015-02-27 Pedro Alves <palves@redhat.com>
2287
2288 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
2289 "true" for boolean result.
2290 * gdb.gdb/selftest.exp (test_with_self): Also accept full
2291 prototype of main.
2292
6f98576f
PA
22932015-02-27 Pedro Alves <palves@redhat.com>
2294
2295 * lib/unbuffer_output.c: New file.
2296 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
2297 (main): Call gdb_unbuffer_output.
2298
eba5ab56
YQ
22992015-02-27 Yao Qi <yao.qi@linaro.org>
2300
2301 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
2302 target.
2303
0def5aaa
DE
23042015-02-26 Doug Evans <dje@google.com>
2305
2306 * gdb.cp/class2.cc (Dbase, D): New classes.
2307 (main): New local delta.
2308 * gdb.cp/class2.exp: Test printing delta.
2309 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
2310 (dynbar): New global.
2311 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
2312
081a1c2c
JK
23132015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2314
2315 * gdb.compile/compile-ifunc.c: New file.
2316 * gdb.compile/compile-ifunc.exp: New file.
2317
2f41223f
AT
23182015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
2319
2320 * gdb.base/structs.exp: Check for correct struct on finish.
2321
03eddd80
YQ
23222015-02-26 Yao Qi <yao.qi@linaro.org>
2323
2324 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
2325 is zero.
2326
80c57053
JK
23272015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2328
2329 * gdb.arch/cordic.ko.bz2: New file.
2330 * gdb.arch/cordic.ko.debug.bz2: New file.
2331 * gdb.arch/ppc64-symtab-cordic.exp: New file.
2332
21613c12
YQ
23332015-02-25 Yao Qi <yao.qi@linaro.org>
2334
2335 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
2336 aarch64*-*-* target.
2337
d8b901ed
PA
23382015-02-23 Pedro Alves <palves@redhat.com>
2339
2340 * lib/gdb.exp (delete_breakpoints): Rewrite using
2341 gdb_test_multiple.
2342
e5b85ead
PA
23432015-02-23 Pedro Alves <palves@redhat.com>
2344
2345 * gdb.base/info-os.c: Include stdlib.h.
2346
85c3a371
DE
23472015-02-22 Doug Evans <xdje42@gmail.com>
2348
2349 PR symtab/17855
2350 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
2351 is read after symbols have been re-read.
2352 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
2353 * gdb.ada/exec_changed/second.adb (Second): Ditto.
2354
96553a0c
DE
23552015-02-21 Doug Evans <dje@google.com>
2356
2357 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
2358
97a0c697
JK
23592015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2360
2361 PR corefiles/17808
2362 * gdb.arch/i386-biarch-core.core.bz2: New file.
2363 * gdb.arch/i386-biarch-core.exp: New file.
2364
a47cd6e9
PA
23652015-02-21 Pedro Alves <palves@redhat.com>
2366
2367 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
2368 runto_main fails.
2369
c5facdc4
PA
23702015-02-20 Pedro Alves <palves@redhat.com>
2371
2372 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
2373 info probes.
2374
2db9a427
PA
23752015-02-20 Pedro Alves <palves@redhat.com>
2376
2377 * gdb.threads/multi-create-ns-info-thr.exp: New file.
2378
60fb7e9e
PA
23792015-02-20 Pedro Alves <palves@redhat.com>
2380
2381 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
2382 clean_restart before gdb_target_supports_trace.
2383
5c5019c2
PA
23842015-02-20 Pedro Alves <palves@redhat.com>
2385
2386 PR threads/18006
2387 * gdb.threads/clone-thread_db.c: New file.
2388 * gdb.threads/clone-thread_db.exp: New file.
2389
c9587f88
AT
23902015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
2391
2392 PR breakpoints/16812
2393 * gdb.base/catch-gdb-caused-signals.c: New file.
2394 * gdb.base/catch-gdb-caused-signals.exp: New file.
2395
f6a88844
JM
23962015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
2397
2398 * configure: Regenerated.
2399 * configure.ac: Use GDB_AC_TRANSFORM.
2400 * aclocal.m4: sinclude ../transform.m4.
2401
497c491b
JM
24022015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2403
2404 * lib/dtrace.exp: New file.
2405 * gdb.base/dtrace-probe.exp: Likewise.
2406 * gdb.base/dtrace-probe.d: Likewise.
2407 * gdb.base/dtrace-probe.c: Likewise.
2408 * lib/pdtrace.in: Likewise.
2409 * configure.ac: Output variables with the transformed names of
2410 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
2411 * configure: Regenerated.
2412
03e98035
JM
24132015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2414
2415 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
2416 expected message when trying to access $_probe_* convenience
2417 variables while not on a probe.
2418
63cc30e9
JK
24192015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2420
2421 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
2422
0703599a
PA
24232015-02-11 Pedro Alves <pedro@codesourcery.com>
2424
2425 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
2426 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
2427
7e60a48e
DE
24282015-02-10 Doug Evans <xdje42@gmail.com>
2429
2430 * lib/gdb.exp (gdb_load): Always return a result.
2431
01b088bc
PA
24322015-02-10 Pedro Alves <palves@redhat.com>
2433
2434 * gdb.threads/signal-sigtrap.c: New file.
2435 * gdb.threads/signal-sigtrap.exp: New file.
2436
b05ec7a5
AT
24372015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
2438
2439 * gdb.trace/no-attach-trace.c: New file.
2440 * gdb.trace/no-attach-trace.exp: New file.
2441
a2c2acaf
MW
24422015-02-09 Mark Wielaard <mjw@redhat.com>
2443
2444 * gdb.dwarf2/atomic.c: New file.
2445 * gdb.dwarf2/atomic-type.exp: Likewise.
2446
31fd9caa
MM
24472015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2448
2449 * gdb.btrace/buffer-size.exp: Update "info record" output.
2450 * gdb.btrace/delta.exp: Update "info record" output.
2451 * gdb.btrace/enable.exp: Update "info record" output.
2452 * gdb.btrace/finish.exp: Update "info record" output.
2453 * gdb.btrace/instruction_history.exp: Update "info record" output.
2454 * gdb.btrace/next.exp: Update "info record" output.
2455 * gdb.btrace/nexti.exp: Update "info record" output.
2456 * gdb.btrace/step.exp: Update "info record" output.
2457 * gdb.btrace/stepi.exp: Update "info record" output.
2458 * gdb.btrace/nohist.exp: Update "info record" output.
2459
d33501a5
MM
24602015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2461
2462 * gdb.btrace/buffer-size: New.
2463
f4abbc16
MM
24642015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2465
2466 * gdb.btrace/delta.exp: Update "info record" output.
2467 * gdb.btrace/enable.exp: Update "info record" output.
2468 * gdb.btrace/finish.exp: Update "info record" output.
2469 * gdb.btrace/instruction_history.exp: Update "info record" output.
2470 * gdb.btrace/next.exp: Update "info record" output.
2471 * gdb.btrace/nexti.exp: Update "info record" output.
2472 * gdb.btrace/step.exp: Update "info record" output.
2473 * gdb.btrace/stepi.exp: Update "info record" output.
2474 * gdb.btrace/nohist.exp: Update "info record" output.
2475
b9d61307
SM
24762015-02-06 Simon Marchi <simon.marchi@ericsson.com>
2477
2478 PR gdb/15678
2479 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
2480
e584fdbc
PA
24812015-02-06 Pedro Alves <palves@redhat.com>
2482
2483 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
2484 macro.
2485 (seconds_left, again): New globals.
2486 (main): Wait seconds_left in a 1-second sleep loop instead of
2487 sleeping 180 seconds. If 'again' is set, reset the seconds
2488 counter.
2489 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
2490 'again' in the inferior before detaching. Print the seconds left.
2491 (options): New global.
2492 (top level): Build program with -DTIMEOUT=$timeout.
2493
77f41761
PA
24942015-02-06 Pedro Alves <palves@redhat.com>
2495
2496 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
2497 determine how many seconds to pass to 'alarm'.
2498 * gdb.base/gdb-sigterm.exp (top level): Build program with
2499 -DTIMEOUT=$timeout.
2500 (do_test): Return success/failure indication. Add more verbose
2501 logging. Don't fail if 200 single steps are seen. Instead, fail
2502 when the test times out.
2503 (passes): New global.
2504 (top level): Break the testing loop if testing fails on any
2505 iteration. Use gdb_assert.
2506
b9394193
DB
25072015-02-04 Don Breazeal <donb@codesourcery.com>
2508
2509 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
2510 and initialize them.
2511 (ipc_cleanup): New function.
2512 (main): Don't declare shmid, semid, and msqid. Add a call to
2513 atexit so that we call ipc_cleanup on exit.
2514
42d9e528
PA
25152015-02-04 Pedro Alves <palves@redhat.com>
2516
2517 * boards/native-extended-gdbserver.exp: Remove any target variant
2518 specifications from the board name before clearing the isremote
2519 flag from board_info.
2520
ae6ae975
DE
25212015-01-31 Doug Evans <xdje42@gmail.com>
2522
2523 * gdb.base/maint.exp <maint print type argc>: Update expected output.
2524
cfb069a8
GB
25252015-01-31 Gary Benson <gbenson@redhat.com>
2526
2527 * gdb.base/completion.exp: Disable completion limiting for
2528 existing tests. Add new tests to check completion limiting.
2529 * gdb.linespec/ls-errs.exp: Disable completion limiting.
2530
5dd31d79
DE
25312015-01-31 Doug Evans <xdje42@gmail.com>
2532
2533 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
2534
9f050062
DE
25352015-01-31 Doug Evans <xdje42@gmail.com>
2536
2537 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
2538 entries. Duplicate file section script entries.
2539 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
2540 inlined entries. Add test for safe-path rejection.
2541 * gdb.python/py-section-script.c: Add duplicate inlined section script
2542 entries. Duplicate file section script entries.
2543 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
2544 inlined entries. Add test for safe-path rejection.
2545
df25ebbd
JB
25462015-01-29 Joel Brobecker <brobecker@adacore.com>
2547
2548 * gdb.ada/disc_arr_bound: New testcase.
2549
4a0ca9ec
JB
25502015-01-29 Joel Brobecker <brobecker@adacore.com>
2551
2552 * gdb.ada/mi_var_array: New testcase.
2553
3a8b707a
DE
25542015-01-27 Doug Evans <dje@google.com>
2555
2556 * gdb.python/py-objfile.exp: Add tests for objfile.username.
2557 Add test for objfile.filename, objfile.username after objfile
2558 has been unloaded.
2559
f8313f6e
JB
25602015-01-26 Joel Brobecker <brobecker@adacore.com>
2561
2562 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
2563 the second test to print the name attribute of value
2564 returned by the call to gdb.lookup_type, and adjust
2565 the expected output accordingly.
2566
37bc665e
MW
25672015-01-25 Mark Wielaard <mjw@redhat.com>
2568
2569 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
2570 * gdb.base/disp-step-fork.c: Include unistd.h.
2571 * gdb.base/siginfo-obj.c: Include stdio.h.
2572 * gdb.base/siginfo-thread.c: Likewise.
2573 * gdb.mi/non-stop.c: Include unistd.h.
2574 * gdb.mi/nsthrexec.c: Include stdio.h.
2575 * gdb.mi/pthreads.c: Include unistd.h.
2576 * gdb.modula2/unbounded1.c (main): Declare returns int.
2577 * gdb.reverse/consecutive-reverse.c: Likewise.
2578 * gdb.threads/create-fail.c: Include unistd.h.
2579 * gdb.threads/killed.c: Likewise.
2580 * gdb.threads/linux-dp.c: Likewise.
2581 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
2582 * gdb.threads/non-ldr-exc-2.c: Likewise.
2583 * gdb.threads/non-ldr-exc-3.c: Likewise.
2584 * gdb.threads/non-ldr-exc-4.c: Likewise.
2585 * gdb.threads/pthreads.c: Include unistd.h.
2586 (main): Declare returns int.
2587 * gdb.threads/tls-main.c (foo): New declaration.
2588 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
2589
f7e5394d
SM
25902015-01-23 Simon Marchi <simon.marchi@ericsson.com>
2591
2592 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
2593 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
2594
743649fd
MW
25952015-01-15 Mark Wielaard <mjw@redhat.com>
2596
2597 * gdb.base/noreturn-return.c: New file.
2598 * gdb.base/noreturn-return.exp: New file.
2599 * gdb.base/noreturn-finish.c: New file.
2600 * gdb.base/noreturn-finish.exp: New file.
2601
198297aa
PA
26022015-01-23 Pedro Alves <palves@redhat.com>
2603
2604 * gdb.threads/continue-pending-after-query.c: New file.
2605 * gdb.threads/continue-pending-after-query.exp: New file.
2606
717cf30c
AG
26072015-01-22 Anders Granlund <anders.granlund@ericsson.com>
2608 Simon Marchi <simon.marchi@ericsson.com>
2609
2610 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
2611 * gdb.base/valgrind-db-attach.exp: Same.
2612 * gdb.base/valgrind-infcall.exp: Same.
2613 * lib/mi-support.exp (default_mi_gdb_start): Same.
2614 * lib/prompt.exp (default_prompt_gdb_start): Same.
2615 * lib/gdb.exp (default_gdb_spawn): Same.
2616 (gdb_interact): New.
2617
2618
4b62a76e
JK
26192015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2620
2621 * gdb.compile/compile.exp (pointer to jit function): New test.
2622
b4cdae6f
WW
26232015-01-17 Wei-cheng Wang <cole945@gmail.com>
2624
2625 * lib/gdb.exp (supports_process_record): Return true for
2626 powerpc*-*-linux*.
2627 (supports_reverse): Likewise.
2628
d221e7ef
DB
26292015-01-15 Don Breazeal <donb@codesourcery.com>
2630
2631 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
2632 instead of checking whether the target board is remote and
2633 use spawn_wait_for_attach instead of exec/sleep.
2634 * gdb.base/attach-twice.exp: Likewise.
2635
bafffb51
JB
26362015-01-15 Joel Brobecker <brobecker@adacore.com>
2637
2638 * gdb.ada/var_arr_attrs: New testcase.
2639
5589af0e
PA
26402015-01-14 Pedro Alves <palves@redhat.com>
2641 Joel Brobecker <brobecker@adacore.com>
2642
2643 PR gdb/17525
2644 * gdb.base/bp-cmds-execution-x-script.c: New file.
2645 * gdb.base/bp-cmds-execution-x-script.exp: New file.
2646 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
2647
6c400b59
PA
26482015-01-14 Pedro Alves <palves@redhat.com>
2649
2650 PR cli/17828
2651 * gdb.base/batch-preserve-term-settings.c: New file.
2652 * gdb.base/batch-preserve-term-settings.exp: New file.
2653
e02c96a7
DE
26542015-01-13 Doug Evans <dje@google.com>
2655
2656 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
2657 binary.
2658
576fd14c
JB
26592015-01-13 Joel Brobecker <brobecker@adacore.com>
2660
2661 * Makefile.in (clean mostlyclean): Do not delete *.py.
2662
04dccad0
JB
26632015-01-13 Joel Brobecker <brobecker@adacore.com>
2664
2665 * gdb.python/py-lookup-type.exp: New file.
2666
3d230f71
PA
26672015-01-12 Pedro Alves <palves@redhat.com>
2668
2669 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
2670 restore GDBFLAGS before returning.
2671
7e67715d
JK
26722015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2673
2674 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
2675 is_amd64_regs_target and is_x86_like_target.
2676
f2e0d4b4
DE
26772015-01-11 Doug Evans <xdje42@gmail.com>
2678
2679 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
2680 is given without an explicit form.
2681 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
2682 attributes.
2683 * gdb.dwarf/corrupt.exp: Ditto.
2684 * gdb.dwarf2/enum-type.exp: Ditto.
2685 * gdb.trace/entry-values.exp: Ditto.
2686 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
2687
439250fb
DE
26882015-01-11 Doug Evans <xdje42@gmail.com>
2689
2690 PR gdb/15830
2691 * gdb.base/maint.exp: Remove references to "maint demangle".
2692 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
2693 Add tests for explicitly specifying language to demangle.
2694 * gdb.dlang/demangle.exp: Ditto.
2695
ede9f622
PA
26962015-01-09 Pedro Alves <palves@redhat.com>
2697
2698 * gdb.threads/non-stop-fair-events.c: New file.
2699 * gdb.threads/non-stop-fair-events.exp: New file.
2700
a7b796db
PA
27012015-01-09 Pedro Alves <palves@redhat.com>
2702
2703 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
2704 the global scope. Set a breakpoint after all threads are started
2705 rather than stepping over two source lines. Expect the prompt.
2706 * gdb.base/watch_thread_num.c (threads_started_barrier): New
2707 global.
2708 (NUM): Now 15.
2709 (main): Use threads_started_barrier to wait for all threads to
2710 start. Main thread no longer calls thread_function. Exit after
2711 180 seconds.
2712 (loop): New function.
2713 (thread_function): Wait on threads_started_barrier barrier. Call
2714 'loop' at each iteration.
2715 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
2716 threads have started, instead of hardcoding number of "next"
2717 steps. Use an access watchpoint instead of a write watchpoint.
2718
9665ffdd
PA
27192015-01-09 Pedro Alves <palves@redhat.com>
2720
2721 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
2722 (thread_func): Wait on barrier.
2723 (main): Wait for all threads to start before stopping GDB.
2724 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
2725 global.
2726 (thread1_func, thread2_func): Wait on barrier.
2727 (main): Wait for all threads to start before stopping GDB.
2728 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
2729 New global.
2730 (thread1_func, thread2_func): Wait on barrier.
2731 (main): Wait for all threads to start before stopping GDB.
2732
c945a99f
PA
27332015-01-09 Pedro Alves <palves@redhat.com>
2734
2735 * gdb.threads/attach-many-short-lived-threads.c: New file.
2736 * gdb.threads/attach-many-short-lived-threads.exp: New file.
2737
c1a747c1
PA
27382014-01-09 Pedro Alves <palves@redhat.com>
2739
2740 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
2741 instead of to thread 2.
2742 * gdb.threads/signal-command-multiple-signals-pending.c (main):
2743 Add barrier around each pthread_create call instead of around all
2744 calls.
2745 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
2746 Set a break on thread_function and have the child threads hit it
2747 one at at a time.
2748
60b3033e
PA
27492015-01-09 Pedro Alves <palves@redhat.com>
2750
2751 * lib/gdb.exp (can_spawn_for_attach): New procedure.
2752 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
2753 false.
2754 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
2755 checking whether the target board is remote.
2756 * gdb.multi/multi-attach.exp: Likewise.
2757 * gdb.python/py-sync-interp.exp: Likewise.
2758 * gdb.server/ext-attach.exp: Likewise.
2759 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
2760 tests that need to attach, instead of checking whether the target
2761 board is remote at the top of the file.
2762
acc018ac
YQ
27632015-01-08 Yao Qi <yao@codesourcery.com>
2764
2765 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
2766
50a18af8
JK
27672015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2768
2769 Fix testcase compilation.
2770 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
2771
8503d6e1
JB
27722015-01-06 Joel Brobecker <brobecker@adacore.com>
2773
2774 * gdb.python/py-type.exp: Add a couple test about empty
2775 array creation, and negative-length array creation.
2776
cc73dbcc
DE
27772015-01-02 Doug Evans <xdje42@gmail.com>
2778
2779 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
2780
0300bbc7
DE
27812015-01-02 Doug Evans <dje@google.com>
2782
2783 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
2784
9d85a0ec
YQ
27852014-12-29 Yao Qi <yao@codesourcery.com>
2786
2787 * gdb.trace/entry-values.exp: Update comments. Rename variable
2788 bar_call_foo to returned_from_foo.
2789
87186c6a
MMN
27902014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
2791
2792 PR gdb/17394
2793 * gdb.linespec/break-asm-file.c: New file.
2794 * gdb.linespec/break-asm-file.exp: New file.
2795 * gdb.linespec/break-asm-file0.s: New file.
2796 * gdb.linespec/break-asm-file1.s: New file.
2797
1bab7383
YQ
27982014-12-18 Nigel Stephens <nigel@mips.com>
2799 Maciej W. Rozycki <macro@codesourcery.com>
2800
2801 * gdb.base/float.exp: Handle the new output from "info float" on
2802 MIPS targets.
2803
1bc1068a
JK
28042014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2805
2806 Fix MinGW compilation.
2807 * gdb.compile/compile-ops.exp: Update untested message if
2808 !skip_compile_feature_tests.
2809 * gdb.compile/compile-setjmp.exp: Likewise.
2810 * gdb.compile/compile-tls.exp: Likewise.
2811 * gdb.compile/compile.exp: Likewise.
2812 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
2813 supported on this host".
2814
b6615d10
DE
28152014-12-16 Doug Evans <xdje42@gmail.com>
2816
2817 * boards/stabs.exp: New file.
2818
25dda427
AA
28192014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
2820
2821 * gdb.base/completion.exp: Adjust to format changes of "maint
2822 print user-registers".
2823
bf330350
CU
28242014-12-16 Catalin Udma <catalin.udma@freescale.com>
2825
2826 PR server/17457
2827 * gdb.arch/aarch64-fp.c: New file.
2828 * gdb.arch/aarch64-fp.exp: New file.
2829
395cf596
SDJ
28302014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
2831
2832 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
2833 r210637, r210913, r211666, r215400, r215817).
2834
2835 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
2836 * dg-extract-results.py: New file.
2837 * dg-extract-results.sh: Use it if the environment seems
2838 suitable.
2839
2840 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
2841
2842 * dg-extract-results.py (parse_run): Handle warnings that
2843 are printed before a test harness is run.
2844
2845 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
2846
2847 * dg-extract-results.py (Named): Remove __cmp__ method.
2848 (output_variation): Use a key to sort variation.harnesses.
2849
2850 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
2851
2852 * dg-extract-results.py: For Python 3, force sys.stdout to
2853 handle surrogate escape sequences.
2854 (safe_open): New function.
2855 (output_segment, main): Use it.
2856
2857 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
2858
2859 * dg-extract-results.py (Prog.result_re): Include options
2860 in test name.
2861
2862 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
2863
2864 * dg-extract-results.py (output_variation): Always sort if
2865 do_sum.
2866
e882ef3c
SM
28672014-12-15 Simon Marchi <simon.marchi@ericsson.com>
2868
2869 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
2870 as long as we get pagination notifications.
2871
4992aa20
JM
28722014-12-15 Jason Merrill <jason@redhat.com>
2873
2874 * Makefile.in (check-gdb.%): Restore.
2875 * README: Mention it.
2876
c1b5a1a6
JB
28772014-12-13 Joel Brobecker <brobecker@adacore.com>
2878
2879 * gdb.ada/str_uninit: New testcase.
2880
5537b577
JK
28812014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2882
2883 PR symtab/17642
2884 * gdb.base/vla-stub-define.c: New file.
2885 * gdb.base/vla-stub.c: New file.
2886 * gdb.base/vla-stub.exp: New file.
2887
bb2ec1b3
TT
28882014-12-12 Phil Muldoon <pmuldoon@redhat.com>
2889 Jan Kratochvil <jan.kratochvil@redhat.com>
2890 Tom Tromey <tromey@redhat.com>
2891
2892 * configure.ac: Add gdb.compile/.
2893 * configure: Regenerate.
2894 * gdb.compile/Makefile.in: New file.
2895 * gdb.compile/compile-ops.exp: New file.
2896 * gdb.compile/compile-ops.c: New file.
2897 * gdb.compile/compile-tls.c: New file.
2898 * gdb.compile/compile-tls.exp: New file.
2899 * gdb.compile/compile-constvar.S: New file.
2900 * gdb.compile/compile-constvar.c: New file.
2901 * gdb.compile/compile-mod.c: New file.
2902 * gdb.compile/compile-nodebug.c: New file.
2903 * gdb.compile/compile-setjmp-mod.c: New file.
2904 * gdb.compile/compile-setjmp.c: New file.
2905 * gdb.compile/compile-setjmp.exp: New file.
2906 * gdb.compile/compile-shlib.c: New file.
2907 * gdb.compile/compile.c: New file.
2908 * gdb.compile/compile.exp: New file.
2909 * lib/gdb.exp (skip_compile_feature_tests): New proc.
2910
4ff709eb
TT
29112014-12-12 Tom Tromey <tromey@redhat.com>
2912
2913 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
2914 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
2915
6dddd6a5
DE
29162014-12-12 Doug Evans <dje@google.com>
2917
2918 * lib/gdb-python.exp (get_python_valueof): New function.
2919 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
2920
71c24708
AA
29212014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2922
2923 * gdb.base/completion.exp: Add test for completion of "info
2924 registers ".
2925
3e29f34a
MR
29262014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
2927
2928 * gdb.base/func-ptrs.c: New file.
2929 * gdb.base/func-ptrs.exp: New file.
2930
fc126975
SM
29312014-12-10 Simon Marchi <simon.marchi@ericsson.com>
2932
2933 PR breakpoints/17012
2934 * gdb.base/dprintf-detach.c: New file.
2935 * gdb.base/dprintf-detach.exp: New file.
2936
0a46d518
SM
29372014-12-10 Simon Marchi <simon.marchi@ericsson.com>
2938
2939 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
2940 * lib/gdb.exp (target_is_gdbserver): New procedure.
2941
a0be3e44
DE
29422014-12-08 Doug Evans <dje@google.com>
2943
2944 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
2945
df1b803a
YQ
29462014-12-05 Yao Qi <yao@codesourcery.com>
2947
2948 * gdb.guile/scm-error.exp: Remove the third argument to
2949 gdb_remote_download.
2950 * gdb.guile/scm-frame-args.exp: Likewise.
2951 * gdb.guile/scm-section-script.exp: Likewise.
2952
ddb9f679
YQ
29532014-12-05 Yao Qi <yao@codesourcery.com>
2954
2955 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
2956
86e4ed39
DE
29572014-12-04 Doug Evans <dje@google.com>
2958
2959 * gdb.python/py-objfile.exp: Add tests for
2960 objfile.add_separate_debug_file.
2961
7c50a931
DE
29622014-12-04 Doug Evans <dje@google.com>
2963
2964 * lib/gdb.exp (get_build_id): New function.
2965 (build_id_debug_filename_get): Rewrite to use it.
2966 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
2967
621661e3
MR
29682014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
2969
2970 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
2971 `method(long)', not just 0x0.
2972 * gdb.cp/nsalias.exp: Align code labels to 4.
2973 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
2974 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
2975 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
2976 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
2977 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
2978 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
2979
29f0c3b7
DE
29802014-12-02 Doug Evans <dje@google.com>
2981
e1e061e7 2982 PR symtab/17602
29f0c3b7 2983 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 2984 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
2985 * gdb.cp/anon-ns.exp: Update.
2986
162078c8
NB
29872014-12-02 Nick Bull <nicholaspbull@gmail.com>
2988
2989 * gdb.python/py-events.py (inferior_call_handler): New.
2990 (register_changed_handler, memory_changed_handler): New.
2991 (test_events.invoke): Register new handlers.
2992 * gdb.python/py-events.exp: Add tests for inferior call,
2993 memory_changed and register_changed events.
2994
fdb09caf
AA
29952014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
2996
2997 * gdb.base/execl-update-breakpoints.exp: Specify the link address
2998 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
2999 if the linker doesn't understand this.
3000
55cfb2c4
SM
30012014-12-01 Simon Marchi <simon.marchi@ericsson.com>
3002
3003 * gdb.python/python.exp: Change expected reply to help().
3004
9e8cd6df
YQ
30052014-12-01 Yao Qi <yao@codesourcery.com>
3006
3007 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
3008 AC_CONFIG_SUBDIRS(gdb.gdbtk).
3009 * configure: Re-generated.
3010
6c659fc2
SC
30112014-11-28 Siva Chandra Reddy <sivachandra@google.com>
3012
3013 * gdb.cp/chained-calls.cc: New file.
3014 * gdb.cp/chained-calls.exp: New file.
3015 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
3016
d7fc3181
SM
30172014-11-28 Simon Marchi <simon.marchi@ericsson.com>
3018
3019 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
3020 * gdb.dwarf2/symtab-producer.exp: Same.
3021 * gdb.gdb/python-interrupts.exp: Same.
3022 * gdb.gdb/python-selftest.exp: Same.
3023 * gdb.python/py-linetable.exp: Same.
3024 * gdb.python/py-type.exp: Same.
3025 * gdb.python/py-value-cc.exp: Same.
3026 * gdb.python/py-value.exp: Same.
3027
10e79639
YQ
30282014-11-28 Yao Qi <yao@codesourcery.com>
3029
3030 * gdb.base/break-probes.exp: Match library name prefixed with
3031 sysroot.
3032
f28a0564
SM
30332014-11-27 Simon Marchi <simon.marchi@ericsson.com>
3034
3035 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
3036 test expected output. Add parentheses for the call to print.
3037 Remove L suffix from integers.
3038
3fe1ce1d
DE
30392014-11-26 Doug Evans <dje@google.com>
3040
3041 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
3042
84429e27
YQ
30432014-11-22 Yao Qi <yao@codesourcery.com>
3044
3045 * gdb.trace/entry-values.c: Remove asms.
3046 (foo): Add foo_label.
3047 (bar): Add bar_label.
3048 * gdb.trace/entry-values.exp: Remove code computing foo's
3049 length and bar's length.
3050 (Dwarf::assemble): Invoke function_range for bar and use
3051 MACRO_AT_func for foo.
3052
26741859
YQ
30532014-11-22 Yao Qi <yao@codesourcery.com>
3054
3055 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
3056 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
3057 Use .Lgcc43_procstart instead of gcc43.
3058
45e44d27
JB
30592014-11-21 Joel Brobecker <brobecker@adacore.com>
3060
3061 * gdb.ada/n_arr_bound: New testcase.
3062
458c8db8
SDJ
30632014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
3064
3065 PR breakpoints/10737
3066 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
3067 test_catch_syscall_multi_arch.
3068 (test_catch_syscall_multi_arch): New function.
3069
43f3e411
DE
30702014-11-20 Doug Evans <xdje42@gmail.com>
3071
3072 * gdb.base/maint.exp: Update expected output.
3073
0d7b2549
AA
30742014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3075
3076 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
3077 4-byte instruction on S390.
3078
8908fca5
JB
30792014-11-19 Joel Brobecker <brobecker@adacore.com>
3080
3081 * gdb.ada/arr_arr: New testcase.
3082
4a46959e
JB
30832014-11-19 Joel Brobecker <brobecker@adacore.com>
3084
3085 * gdb.ada/pkd_arr_elem: New Testcase.
3086
470e2f4e
LM
30872014-11-18 Luis Machado <lgustavo@codesourcery.com>
3088
3089 * gdb.reverse/break-precsave: Expect completion message for
3090 core file reads.
3091 * gdb.reverse/consecutive-precsave.exp: Likewise.
3092 * gdb.reverse/finish-precsave.exp: Likewise.
3093 * gdb.reverse/i386-precsave.exp: Likewise.
3094 * gdb.reverse/machinestate-precsave.exp: Likewise.
3095 * gdb.reverse/sigall-precsave.exp: Likewise.
3096 * gdb.reverse/solib-precsave.exp: Likewise.
3097 * gdb.reverse/step-precsave.exp: Likewise.
3098 * gdb.reverse/until-precsave.exp: Likewise.
3099 * gdb.reverse/watch-precsave.exp: Likewise.
3100
a267f3ad
AA
31012014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3102
3103 * gdb.base/bp-permanent.c: Include unistd.h.
3104 * gdb.python/py-framefilter-mi.c (main): Add return type.
3105 * gdb.python/py-framefilter.c (main): Likewise.
3106 * gdb.trace/actions-changed.c (main): Likewise.
3107
12084a9a
AA
31082014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3109
3110 * gdb.mi/until.c: Add eye-catchers.
3111 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
3112 line numbers.
3113
dc7e1a77
AA
31142014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3115
3116 * gdb.base/condbreak.exp: Drop references to removed non-prototype
3117 function header variants in break1.c.
3118 * gdb.base/ena-dis-br.exp: Likewise.
3119 * gdb.base/hbreak2.exp: Likewise.
3120 * gdb.reverse/until-precsave.exp: Drop references to removed
3121 non-prototype function header variants in ur1.c.
3122 * gdb.reverse/until-reverse.exp: Likewise.
3123
41c77605
PM
31242014-11-17 Petr Machata <pmachata@redhat.com>
3125
3126 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
3127 ${_cu_offset_size} bytes abbrev offset.
3128
34248c3a
DE
31292014-11-15 Doug Evans <xdje42@gmail.com>
3130
3131 PR symtab/17559
3132 * gdb.base/line-symtabs.exp: New file.
3133 * gdb.base/line-symtabs.c: New file.
3134 * gdb.base/line-symtabs.h: New file.
3135
646da059
YQ
31362014-11-14 Yao Qi <yao@codesourcery.com>
3137
3138 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
3139 (func): Add label func_label.
3140 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
3141 Replace low_pc and high_pc with MACRO_AT_range.
3142 Replace name, low_pc and high_pc with MACRO_AT_func.
3143
9301ebe6
YQ
31442014-11-14 Yao Qi <yao@codesourcery.com>
3145
3146 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
3147 Replace name, low_pc and high_pc with MACRO_AT_func.
3148
f166b542
YQ
31492014-11-14 Yao Qi <yao@codesourcery.com>
3150
3151 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
3152 produce debug information.
3153 * gdb.dwarf2/implptr-optimized-out.S: Removed.
3154
0f6e71e3
YQ
31552014-11-14 Yao Qi <yao@codesourcery.com>
3156
3157 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
3158 object and get function length.
3159 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
3160 with MACRO_AT_func.
3161 (top-level): Replace gdb_compile and clean_restart with
3162 prepare_for_testing.
3163 * gdb.dwarf2/main.c (main): Add label main_label.
3164
876c4df9
YQ
31652014-11-14 Yao Qi <yao@codesourcery.com>
3166
3167 * lib/dwarf.exp (function_range): New procedure.
3168 (Dwarf::_handle_macro_at_func): New procedure.
3169 (Dwarf::_handle_macro_at_range): New procedure.
3170 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
3171
02ad9cf1
YQ
31722014-11-14 Yao Qi <yao@codesourcery.com>
3173
3174 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
3175 (_handle_attribute): New procedure.
3176
a59add0c
AA
31772014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3178
3179 * gdb.ada/cond_lang/foo.c (callme): Add return type.
3180 * gdb.base/call-sc.c (zed): Likewise.
3181 * gdb.base/checkpoint.c (main): Likewise.
3182 * gdb.base/dump.c (main): Likewise.
3183 * gdb.base/gcore.c (main): Likewise.
3184 * gdb.base/huge.c (main): Likewise.
3185 * gdb.base/multi-forks.c (main): Likewise.
3186 * gdb.base/pr10179-a.c (main): Likewise.
3187 * gdb.base/savedregs.c (main): Likewise.
3188 * gdb.base/sigaltstack.c (main): Likewise.
3189 * gdb.base/siginfo.c (main): Likewise.
3190 * gdb.base/structs.c (zed): Likewise.
3191 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
3192 * gdb.mi/mi-syn-frame.c (main): Likewise.
3193 * gdb.mi/until.c (foo, main): Likewise.
3194 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
3195 * gdb.base/solib-weak.c (foo): Declare.
3196 * gdb.base/attach-twice.c: Include stdio.h.
3197 * gdb.base/weaklib1.c: Likewise.
3198 * gdb.base/weaklib2.c: Likewise.
3199 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
3200 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
3201 unistd.h.
3202 * gdb.base/attach-pie-misread.c: Include stdlib.h.
3203 * gdb.mi/mi-exit-code.c: Likewise.
3204 * gdb.base/break-interp-lib.c: Include string.h.
3205 * gdb.base/coremaker.c: Likewise.
3206 * gdb.base/testenv.c: Likewise.
3207 * gdb.python/py-finish-breakpoint.c: Likewise.
3208 * gdb.base/inferior-died.c: Include sys/wait.h.
3209 * gdb.base/fileio.c: Include time.h.
3210 * gdb.base/async-shell.c: Include unistd.h.
3211 * gdb.base/dprintf-non-stop.c: Likewise.
3212 * gdb.base/info-os.c: Likewise.
3213 * gdb.mi/mi-console.c: Likewise.
3214 * gdb.mi/watch-nonstop.c: Likewise.
3215 * gdb.python/py-events.c: Likewise.
3216 * gdb.base/async.c (baz): Move up before its invocation.
3217 * gdb.base/code_elim2.c (my_global_func): Likewise.
3218 * gdb.base/skip-solib-lib.c (multiply): Likewise.
3219 * gdb.base/advance.c (func2): Likewise.
3220
3b5d5997
AA
32212014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3222
3223 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
3224 variant.
3225 * gdb.base/annota3.c: Likewise.
3226 * gdb.base/async.c: Likewise.
3227 * gdb.base/average.c: Likewise.
3228 * gdb.base/call-ar-st.c: Likewise.
3229 * gdb.base/call-rt-st.c: Likewise.
3230 * gdb.base/call-sc.c: Likewise.
3231 * gdb.base/call-strs.c: Likewise.
3232 * gdb.base/ending-run.c: Likewise.
3233 * gdb.base/execd-prog.c: Likewise.
3234 * gdb.base/exprs.c: Likewise.
3235 * gdb.base/foll-exec.c: Likewise.
3236 * gdb.base/foll-fork.c: Likewise.
3237 * gdb.base/foll-vfork.c: Likewise.
3238 * gdb.base/funcargs.c: Likewise.
3239 * gdb.base/gcore.c: Likewise.
3240 * gdb.base/jump.c: Likewise.
3241 * gdb.base/langs0.c: Likewise.
3242 * gdb.base/langs1.c: Likewise.
3243 * gdb.base/langs2.c: Likewise.
3244 * gdb.base/mips_pro.c: Likewise.
3245 * gdb.base/nodebug.c: Likewise.
3246 * gdb.base/opaque0.c: Likewise.
3247 * gdb.base/opaque1.c: Likewise.
3248 * gdb.base/recurse.c: Likewise.
3249 * gdb.base/run.c: Likewise.
3250 * gdb.base/scope0.c: Likewise.
3251 * gdb.base/scope1.c: Likewise.
3252 * gdb.base/setshow.c: Likewise.
3253 * gdb.base/setvar.c: Likewise.
3254 * gdb.base/shmain.c: Likewise.
3255 * gdb.base/shr1.c: Likewise.
3256 * gdb.base/shr2.c: Likewise.
3257 * gdb.base/sigall.c: Likewise.
3258 * gdb.base/signals.c: Likewise.
3259 * gdb.base/so-indr-cl.c: Likewise.
3260 * gdb.base/solib2.c: Likewise.
3261 * gdb.base/structs.c: Likewise.
3262 * gdb.base/sum.c: Likewise.
3263 * gdb.base/vforked-prog.c: Likewise.
3264 * gdb.base/watchpoint.c: Likewise.
3265 * gdb.reverse/shr2.c: Likewise.
3266 * gdb.reverse/until-reverse.c: Likewise.
3267 * gdb.reverse/ur1.c: Likewise.
3268 * gdb.reverse/watch-reverse.c: Likewise.
3269
066a77c5
AA
32702014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3271
3272 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
3273 variant.
3274 * gdb.base/sepdebug.exp: Drop references to removed code.
3275
4f204ea5
AA
32762014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3277
3278 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
3279 variant. Preserve original line numbering.
3280 * gdb.base/list1.c: Likewise.
3281
3b377a3a
AA
32822014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3283
3284 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
3285 variant.
3286 * gdb.base/break1.c: Likewise.
3287 * gdb.base/break.exp: Drop references to removed code.
3288
e444df73
AA
32892014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3290
3291 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
3292 variant.
3293
8008f2a7
AA
32942014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3295
3296 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
3297
a5a06887
AA
32982014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3299
3300 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
3301 logic into perform_all_tests() and invoke it with and without
3302 function header prototypes.
3303 (do_function_calls): Remove conditional XFAIL for PR 5318.
3304 (rerun_and_prepare): Remove duplicate code.
3305 (perform_all_tests): New. Main logic moved here.
3306
44dba9b9
AA
33072014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3308
3309 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
3310 code guarded by #ifdef NO_PROTOTYPES.
3311 (t_double_many_args): Likewise.
3312 (DEF_FUNC_MANY_ARGS_1): Likewise.
3313 (DEF_FUNC_VALUES_1): Likewise.
3314 (t_structs_ldc): Renamed from t_structs_fc in conditional code
3315 guarded by #ifdef PROTOTYPES.
3316
d1fbcd56
AA
33172014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3318
3319 * gdb.mi/mi-console.c: Add eye-catcher.
3320 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
3321 instead of literal line number.
3322
b0e59b8f
AA
33232014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3324
3325 * gdb.base/shr2.c: Add eye-catcher.
3326 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
3327 line number.
3328
78f98cca
AA
33292014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3330
3331 * gdb.base/jump.c: Add eye-catchers.
3332 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
3333 numbers.
3334
58fa2af0
AA
33352014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3336
3337 * gdb.base/execd-prog.c: Add eye-catchers.
3338 * gdb.base/foll-exec.c: Likewise.
3339 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
3340 line numbers.
3341
04e5059b
AA
33422014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3343
3344 * gdb.base/ending-run.c: Add eye-catchers.
3345 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
3346 literal line numbers.
3347
dbfdb174
AA
33482014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3349
3350 * gdb.base/call-rt-st.c: Add eye-catchers.
3351 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
3352 literal line numbers.
3353
888a2ade
AA
33542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3355
3356 * gdb.base/call-ar-st.c: Add eye-catchers.
3357 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
3358 literal line numbers.
3359
6acc2dde
AA
33602014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3361
3362 * gdb.base/average.c: Add eye-catchers.
3363 * gdb.base/sum.c: Likewise.
3364 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
3365 regexps dynamically.
3366
9ecfcd1d
AA
33672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3368
3369 * gdb.base/solib1.c: Add eye-catchers.
3370 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
3371 literal line numbers.
3372
78708b7c
PA
33732014-11-12 Pedro Alves <palves@redhat.com>
3374
3375 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
3376 leader has exited.
3377
af48d08f
PA
33782014-11-12 Pedro Alves <palves@redhat.com>
3379
3380 * gdb.arch/i386-bp_permanent.c: New file.
3381 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
3382 (srcfile): Set to i386-bp_permanent.c.
3383 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
3384 that stepi does not execute the 'leave' instruction, instead of
3385 testing it does execute.
3386 * gdb.base/bp-permanent.c: New file.
3387 * gdb.base/bp-permanent.exp: New file.
3388
af3768e9
DE
33892014-11-10 Doug Evans <xdje42@gmail.com>
3390
3391 PR symtab/17564
3392 * gdb.base/symtab-search-order.exp: New file.
3393 * gdb.base/symtab-search-order.c: New file.
3394 * gdb.base/symtab-search-order-1.c: New file.
3395 * gdb.base/symtab-search-order-shlib-1.c: New file.
3396
9de00a4a
PA
33972014-11-07 Pedro Alves <palves@redhat.com>
3398
3399 PR gdb/17511
3400 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
3401 i?86-*-linux*.
3402
e0f52461
SC
34032014-11-03 Siva Chandra Reddy <sivachandra@google.com>
3404
3405 PR c++/17494
3406 * gdb.cp/pr17494.cc: New file.
3407 * gdb.cp/pr17494.exp: New file.
3408
6ce8c980
YQ
34092014-11-02 Yao Qi <yao@codesourcery.com>
3410
3411 * gdb.python/python.exp: Get working directory and match the
3412 output of "set extended-prompt \\w " with it.
3413
02be9a71
DE
34142014-10-30 Doug Evans <dje@google.com>
3415
3416 * gdb.python/py-objfile.exp: Add tests for setting random attributes
3417 in objfiles.
3418 * gdb.python/py-progspace.exp: Add tests for setting random attributes
3419 in progspaces.
3420
3bdff46b
LM
34212014-10-30 Janis Johnson <janisjo@codesourcery.com>
3422
3423 * gdb.base/fullpath-expand.exp: Skip for a remote host.
3424 * gdb.base/realname-expand.exp: Likewise.
3425 * gdb.linespec/macro-relative.exp: Likewise.
3426
ab917dfb
PA
34272014-10-29 Pedro Alves <palves@redhat.com>
3428
3429 PR gdb/17408
3430 * gdb.threads/schedlock.c (some_function): New function.
3431 (call_function): New global.
3432 (MAYBE_CALL_SOME_FUNCTION): New macro.
3433 (thread_function): Call it.
3434 * gdb.threads/schedlock.exp (get_args): Add description parameter,
3435 and use it instead of a global counter. Adjust all callers.
3436 (get_current_thread): Use "find current thread" for test message
3437 here rather than having all callers pass down the same string.
3438 (goto_loop): New procedure, factored out from ...
3439 (my_continue): ... this.
3440 (step_ten_loops): Change parameter from test message to command to
3441 use. Adjust.
3442 (list_count): Delete global.
3443 (check_result): New procedure, factored out from duplicate top
3444 level code.
3445 (continue tests): Wrap in with_test_prefix.
3446 (test_step): New procedure, factored out from duplicate top level
3447 code.
3448 (top level): Test "step" in combination with all scheduler-locking
3449 modes. Test "next" in combination with all scheduler-locking
3450 modes, and in combination with stepping over a function call or
3451 not.
3452 * gdb.threads/next-bp-other-thread.c: New file.
3453 * gdb.threads/next-bp-other-thread.exp: New file.
3454
d3d4baed
PA
34552014-10-29 Pedro Alves <palves@redhat.com>
3456
3457 PR python/17372
3458 * gdb.python/python.exp: Test a multi-line command that spawns
3459 interactive Python.
3460 * gdb.base/multi-line-starts-subshell.exp: New file.
3461
563e8d85
YQ
34622014-10-29 Yao Qi <yao@codesourcery.com>
3463
3464 * gdb.base/fileio.exp: Make directories on host.
3465
0ea4d52e
YQ
34662014-10-29 Yao Qi <yao@codesourcery.com>
3467
3468 * gdb.base/fileio.c (test_write): Close the file.
3469
7f5ef605
PA
34702014-10-28 Pedro Alves <palves@redhat.com>
3471
3472 PR gdb/12623
3473 * gdb.base/sigstep.c (no_handler): New global.
3474 (main): If 'no_handler is true, set the signal handlers to
3475 SIG_IGN.
3476 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
3477 with_sw_watch and no_handler parameters. Handle them.
3478 (top level) <stepping over handler when stopped at a breakpoint
3479 test>: Add a test axis for testing with a software watchpoint, and
3480 another for testing with the signal handler set to SIG_IGN.
3481 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
3482 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
3483
abbdbd03
PA
34842014-10-28 Pedro Alves <palves@redhat.com>
3485
3486 PR gdb/17511
3487 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
3488 * gdb.base/sigstep.exp (other_handler_location): New global.
3489 (advance): Support stepping into the signal handler, and running
3490 commands while in the handler.
3491 (in_handler_map): New global.
3492 (top level): In the advance test, add combinations for getting
3493 into the handler with stepping commands, and for running commands
3494 in the handler. Add comment descripting the advancei tests.
3495
1df4399f
PA
34962014-10-28 Pedro Alves <palves@redhat.com>
3497
3498 * gdb.base/sigstep.exp: Use build_executable instead of
3499 prepare_for_testing.
3500 (top level): Move code that starts GDB, runs to main and creates a
3501 display to ...
3502 (restart): ... this new procedure.
3503 (top level): Move backtrace from signal handler test to ...
3504 (validate_backtrace): ... this new procedure.
3505 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
3506 with_test_prefix. Always restart GDB.
3507 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
3508 with_test_prefix. Always restart GDB. No need to delete
3509 breakpoints after the test.
3510 (test_skip_handler): Remove prefix parameter.
3511 (skip_over_handler, breakpoint_to_handler)
3512 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
3513 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
3514 restart GDB. No need to delete breakpoints after the test.
3515 (top level): Use foreach to call the test procedures with
3516 different commands.
3517
a5b6e449
PA
35182014-10-28 Pedro Alves <palves@redhat.com>
3519
3520 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
3521 instead of GNATS numbers.
3522 * gdb.base/sigbpt.exp: Likewise.
3523 * gdb.base/siginfo.exp: Likewise.
3524 * gdb.base/sigstep.exp: Likewise.
3525
e5f8a7cc
PA
35262014-10-27 Pedro Alves <palves@redhat.com>
3527
3528 * gdb.base/sigstep.c (dummy): New global.
3529 (main): Issue a couple writes to the new global.
3530 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
3531 procedures.
3532 (skip_over_handler): Use test_skip_handler.
3533 (top level): Call skip_over_handler for stepi and nexti too.
3534 (breakpoint_over_handler): Use test_skip_handler.
3535 (top level): Call breakpoint_over_handler for stepi and nexti too.
3536
763905a3
YQ
35372014-10-27 Yao Qi <yao@codesourcery.com>
3538
3539 * gdb.trace/tfile.c (adjust_function_address)
3540 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
3541 function descriptor.
3542
6f259a23
DB
35432014-10-24 Don Breazeal <donb@codesourcery.com>
3544
3545 * gdb.base/foll-fork.exp (test_follow_fork,
3546 catch_fork_child_follow): Check for updated fork messages emitted
3547 from infrun.c.
3548 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
3549 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
3550 vfork_and_exec_child_follow_through_step): Check for updated vfork
3551 messages emitted from infrun.c.
3552
09dd9a69
PA
35532014-10-24 Pedro Alves <palves@redhat.com>
3554
3555 * gdb.base/corefile.exp: Remove references to ultrix.
3556 * gdb.base/interrupt.exp: Likewise.
3557 * gdb.base/whatis.exp: Likewise.
3558 * gdb.gdb/selftest.exp: Likewise.
3559 * gdb.threads/manythreads.exp: Likewise.
3560 * gdb.threads/print-threads.exp: Likewise.
3561 * gdb.threads/pthreads.exp:: Likewise.
3562 * gdb.threads/schedlock.exp: Likewise.
3563
3433cfa5
SC
35642014-10-24 Siva Chandra Reddy <sivachandra@google.com>
3565
3566 * gdb.cp/non-trivial-retval.cc: Add a test case.
3567 * gdb.cp/non-trivial-retval.exp: Add a test.
3568
092f880b
YQ
35692014-10-20 Yao Qi <yao@codesourcery.com>
3570
3571 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
3572 * gdb.python/py-objfile-script-gdb.py: New file.
3573 * gdb.python/py-objfile-script.exp: Update reference to
3574 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
3575 of remote_download. Remove the dest file.
3576
acbdb7f3
YQ
35772014-10-20 Yao Qi <yao@codesourcery.com>
3578
3579 * gdb.base/checkpoint.exp: Don't remove file copied on host.
3580 * gdb.base/step-line.exp: Likewise.
3581 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3582 * gdb.dwarf2/dw2-basic.exp: Likewise.
3583 * gdb.dwarf2/dw2-compressed.exp: Likewise.
3584 * gdb.dwarf2/dw2-filename.exp: Likewise.
3585 * gdb.dwarf2/dw2-intercu.exp: Likewise.
3586 * gdb.dwarf2/dw2-intermix.exp: Likewise.
3587 * gdb.dwarf2/dw2-producer.exp: Likewise.
3588 * gdb.dwarf2/mac-fileno.exp: Likewise.
3589 * gdb.python/py-frame-args.exp: Likewise.
3590 * gdb.python/py-framefilter.exp: Likewise.
3591 * gdb.python/py-mi.exp: Likewise.
3592 * gdb.python/py-objfile-script.exp: Likewise
3593 * gdb.python/py-pp-integral.exp: Likewise.
3594 * gdb.python/py-pp-re-notag.exp: Likewise.
3595 * gdb.python/py-prettyprint.exp: Likewise.
3596 * gdb.python/py-section-script.exp: Likewise.
3597 * gdb.python/py-typeprint.exp: Likewise.
3598 * gdb.python/py-xmethods.exp: Likewise.
3599 * gdb.stabs/weird.exp: Likewise.
3600 * gdb.xml/tdesc-regs.exp: Likewise.
3601
bd286a29
KCY
36022014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
3603
3604 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
3605 (out_cu): Use addr_len for the size of addresses.
3606 (out_line): Likewise. Size DW_LNE_set_address instruction
3607 according to addr_len.
3608 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
3609 (FUNC): Add START_INSNS to definition.
3610
673dc4a0
YQ
36112014-10-18 Yao Qi <yao@codesourcery.com>
3612
3613 * gdb.base/argv0-symlink.exp: Check argv[0] value if
3614 gdb_has_argv0 return true.
3615 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
3616 check [target_info exists noargs], check [gdb_has_argv0]
3617 instead.
3618 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
3619 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
3620 procedures.
3621
4ffbba72
DE
36222014-10-17 Doug Evans <dje@google.com>
3623
3624 * gdb.python/py-events.exp: Update expected output for clear_objfiles
3625 event.
3626 * gdb.python/py-events.py: Add clear_objfiles event.
3627
d096d8c1
DE
36282014-10-17 Doug Evans <dje@google.com>
3629
3630 * gdb.python/py-objfile.exp: Test progspace attribute.
3631
a80db015
LM
36322014-10-17 Luis Machado <lgustavo@codesourcery.com>
3633
3634 * gdb.guile/scm-breakpoint.exp: Do not assume any
3635 directory separators when matching source file paths.
3636 * gdb.python/py-breakpoint.exp: Likewise.
3637 * gdb.reverse/break-precsave.exp: Likewise.
3638 * gdb.reverse/break-reverse.exp: Likewise.
3639 * gdb.reverse/consecutive-precsave.exp: Likewise.
3640 * gdb.reverse/finish-precsave.exp: Likewise.
3641 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
3642 * gdb.reverse/finish-reverse.exp: Likewise.
3643 * gdb.reverse/i386-precsave.exp: Likewise.
3644 * gdb.reverse/i387-env-reverse.exp: Likewise.
3645 * gdb.reverse/i387-stack-reverse.exp: Likewise.
3646 * gdb.reverse/machinestate-precsave.exp: Likewise.
3647 * gdb.reverse/machinestate.exp: Likewise.
3648 * gdb.reverse/sigall-precsave.exp: Likewise.
3649 * gdb.reverse/solib-precsave.exp: Likewise.
3650 * gdb.reverse/step-precsave.exp: Likewise.
3651 * gdb.reverse/until-precsave.exp: Likewise.
3652 * gdb.reverse/watch-precsave.exp: Likewise.
3653 * gdb.reverse/watch-reverse.exp: Likewise.
3654
b22089ab
YQ
36552014-10-17 Yao Qi <yao@codesourcery.com>
3656
3657 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
3658 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
3659
6c4486e6
PA
36602014-10-17 Pedro Alves <palves@redhat.com>
3661
3662 PR gdb/17471
3663 * gdb.base/bg-execution-repeat.c: New file.
3664 * gdb.base/bg-execution-repeat.exp: New file.
3665
0ff33695
PA
36662014-10-17 Pedro Alves <palves@redhat.com>
3667
3668 PR gdb/17300
3669 * gdb.base/continue-all-already-running.c: New file.
3670 * gdb.base/continue-all-already-running.exp: New file.
3671
6fdebc3d
PA
36722014-10-17 Pedro Alves <palves@redhat.com>
3673
3674 PR gdb/17472
3675 * gdb.base/annota-input-while-running.c: New file.
3676 * gdb.base/annota-input-while-running.exp: New file.
3677
32a8097b
PA
36782014-10-17 Pedro Alves <palves@redhat.com>
3679
3680 * gdb.base/callfuncs.exp: emove references to osf.
3681 * gdb.base/sigall.exp: Likewise.
3682 * gdb.gdb/selftest.exp: Likewise.
3683 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
3684 * gdb.mi/non-stop.c: Likewise.
3685 * gdb.mi/pthreads.c: Likewise.
3686 * gdb.reverse/sigall-precsave.exp: Likewise.
3687 * gdb.reverse/sigall-reverse.exp: Likewise.
3688 * gdb.threads/pthreads.c: Likewise.
3689 * gdb.threads/pthreads.exp: Likewise.
3690
7a3517ff
YQ
36912014-10-17 Yao Qi <yao@codesourcery.com>
3692
3693 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
3694 check 'target_info exists noargs'.
3695 (test_command_prompt_position): Likewise.
3696 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
3697 Remove "set args".
3698 (progvar_simple_while_test): Likewise.
3699 (progvar_complex_if_while_test): Likewise.
3700 (if_while_breakpoint_command_test): Likewise.
3701 (infrun_breakpoint_command_test): Likewise.
3702 (breakpoint_command_test): Likewise.
3703 (watchpoint_command_test): Likewise.
3704 (bp_deleted_in_command_test): Likewise.
3705 (temporary_breakpoint_commands): Likewise.
3706
bb99c472
YQ
37072014-10-16 Yao Qi <yao@codesourcery.com>
3708
3709 * gdb.base/remotetimeout.exp: Remove noargs checking.
3710
7c16b83e
PA
37112014-10-15 Pedro Alves <palves@redhat.com>
3712
3713 PR breakpoints/9649
3714 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
3715 * gdb.base/breakpoint-in-ro-region.exp
3716 (probe_target_hardware_step): New procedure.
3717 (top level): Probe hardware stepping and hardware breakpoint
3718 support. Test stepping through a read-only region, with both
3719 "breakpoint auto-hw" on and off and both "always-inserted" on and
3720 off.
3721
35a49624
IB
37222014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
3723
3724 * gdb.dlang/demangle.exp: Update for demangling changes.
3725
2d1c107c
SC
37262014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3727
3728 * gdb.cp/non-trivial-retval.cc: Add new test cases.
3729 * gdb.cp/non-trivial-retval.exp: Add new tests.
3730
778811d5
SC
37312014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3732
3733 PR c++/13403
3734 PR c++/15154
3735 * gdb.cp/non-trivial-retval.cc: New file.
3736 * gdb.cp/non-trivial-retval.exp: New file.
3737
10c5f0a8
YQ
37382014-10-15 Yao Qi <yao@codesourcery.com>
3739
3740 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
3741 remote host.
3742
65d7b369
YQ
37432014-10-15 Yao Qi <yao@codesourcery.com>
3744
3745 * gdb.python/py-symbol.exp: Match file base name if host is
3746 remote, otherwise match file name with dir name.
3747 * gdb.python/py-symtab.exp: Likewise.
3748 * gdb.python/python.exp: Likewise.
3749
46dc1394
YQ
37502014-10-15 Yao Qi <yao@codesourcery.com>
3751
3752 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
3753 pattern.
3754 * gdb.python/py-symtab.exp: Likewise.
3755 * gdb.python/python.exp: Remove trailing ".*". Fix typo
3756 locationn.
3757
c40cc657
JB
37582014-10-14 Joel Brobecker <brobecker@adacore.com>
3759
3760 * gdb.ada/addr_arith: New testcase.
3761
2abf49e1
MR
37622014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
3763
3764 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
3765 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
3766 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
3767 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
3768
f7088df3
SDJ
37692014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
3770
3771 * gdb.arch/stap-eval-lang-ada.S: Likewise.
3772 * gdb.arch/stap-eval-lang-ada.c: Likewise.
3773 * gdb.arch/stap-eval-lang-ada.exp: New file.
3774
4dc06805
YQ
37752014-10-14 Yao Qi <yao@codesourcery.com>
3776
3777 * gdb.mi/mi-var-child.c (nothing1): New function.
3778 (nothing2): New function.
3779 (do_children_tests): Set function pointers by nothing1 and
3780 nothing2.
3781 * gdb.mi/mi-var-child.exp: Step over new added statements.
3782 Update test to match the new output.
3783 * gdb.mi/var-cmd.c (nothing1): New function.
3784 (nothing2): New function.
3785 (do_children_tests): Set function pointers by nothing1 and
3786 nothing2.
3787 * gdb.mi/mi-var-display.exp: Update test to match output.
3788 Step to the line specified by $line_dct_nothing.
3789 Increase the number of lines to step.
3790
46a93de2
YQ
37912014-10-14 Yao Qi <yao@codesourcery.com>
3792
3793 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
3794 tests.
3795 * gdb.mi/mi2-var-child.exp: Likewise.
3796
14ea52ee
DE
37972014-10-13 Doug Evans <dje@google.com>
3798
3799 * gdb.python/py-objfile.exp: Change name of file name test.
3800
e5c6e92b
DE
38012014-10-13 Doug Evans <dje@google.com>
3802
3803 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
3804 from the start of the CU.
3805
c780cc2f
JK
38062014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3807 Yao Qi <yao@codesourcery.com>
3808
3809 Fix "save breakpoints" for "catch" command.
3810 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
3811 Remove -nonewline. Match also the added "main" line.
3812
99894e11
JK
38132014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3814
3815 Fix "save breakpoints" for "disable $bpnum" command.
3816 * gdb.base/save-bp.c (main): Add label.
3817 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
3818
6e1ac5a3
JK
38192014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3820
3821 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
3822
754dd2b0
YQ
38232014-10-11 Yao Qi <yao@codesourcery.com>
3824
3825 * gdb.server/server-kill.exp: Execute command
3826 "set remote trace-status-packet on" before "tstatus".
3827
f90183d7
YQ
38282014-10-11 Yao Qi <yao@codesourcery.com>
3829
3830 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
3831 (main): Call getppid.
3832 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
3833 and continue to it. Read variable "server_pid".
3834
bf40a607
YQ
38352014-10-11 Yao Qi <yao@codesourcery.com>
3836
3837 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
3838
052ca370
YQ
38392014-10-11 Yao Qi <yao@codesourcery.com>
3840
3841 * gdb.threads/thread-find.exp: Don't execute command
3842 "info threads".
3843 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
3844 * gdb.threads/linux-dp.exp: Don't check the condition
3845 $threads_created equals to zero.
3846
3831839c
PA
38472014-10-10 Pedro Alves <palves@redhat.com>
3848
3849 * gdb.base/bigcore.exp: Remove references to IRIX.
3850 * gdb.base/funcargs.exp: Likewise.
3851 * gdb.base/interrupt.exp: Likewise.
3852 * gdb.base/mips_pro.exp: Likewise.
3853 * gdb.base/nodebug.exp: Likewise.
3854 * gdb.base/setvar.exp: Likewise.
3855 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
3856
8b9a549d
PA
38572014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3858 Pedro Alves <palves@redhat.com>
3859
3860 PR symtab/14466
3861 * gdb.base/vdso-warning.c: New file.
3862 * gdb.base/vdso-warning.exp: New file.
3863
d48ba5e8
DE
38642014-10-02 Doug Evans <dje@google.com>
3865
3866 * gdb.base/structs.c (main): Don't run forever.
3867
2278c276
PA
38682014-10-02 Pedro Alves <palves@redhat.com>
3869
3870 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
3871 (top level) <stop threads 1, stop threads 2>: Use it.
3872
b57bacec
PA
38732014-10-02 Pedro Alves <palves@redhat.com>
3874
3875 * gdb.threads/break-while-running.exp (test): Add new
3876 'update_thread_list' argument. Skip "info threads" if false.
3877 (top level): Add new 'update_thread_list' axis.
3878
13fd3ff3
PA
38792014-10-02 Pedro Alves <palves@redhat.com>
3880
3881 PR breakpoints/17431
3882 * gdb.base/execl-update-breakpoints.c: New file.
3883 * gdb.base/execl-update-breakpoints.exp: New file.
3884
0fec99e8
PA
38852014-10-01 Pedro Alves <palves@redhat.com>
3886
3887 * gdb.base/breakpoint-in-ro-region.c: New file.
3888 * gdb.base/breakpoint-in-ro-region.exp: New file.
3889
2ddf4301
SM
38902014-10-01 Simon Marchi <simon.marchi@ericsson.com>
3891
3892 * gdb.mi/mi-exit-code.exp: New file.
3893 * gdb.mi/mi-exit-code.c: New file.
3894
6a5f3f43
YQ
38952014-09-30 Yao Qi <yao@codesourcery.com>
3896
3897 * lib/prelink-support.exp (build_executable_own_libs): Error if
3898 the target isn't native.
3899
345bcc73
YQ
39002014-09-30 Yao Qi <yao@codesourcery.com>
3901
3902 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
3903 false.
3904
a25a5a45
PA
39052014-09-22 Pedro Alves <palves@redhat.com>
3906
3907 * gdb.threads/break-while-running.exp: New file.
3908 * gdb.threads/break-while-running.c: New file.
3909
00ba3162
YQ
39102014-09-19 Yao Qi <yao@codesourcery.com>
3911
3912 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
3913 Invoke test. Restart GDB with --readnow and invoke test again.
3914
c3b7b696
YQ
39152014-09-19 Yao Qi <yao@codesourcery.com>
3916
3917 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
3918 proc set_breakpoint_on_gcd_function. Invoke
3919 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
3920 invoke set_breakpoint_on_gcd_function again.
3921
2b4fd423
DE
39222014-09-18 Doug Evans <dje@google.com>
3923
3924 * gdb.dwarf2/symtab-producer.exp: New file.
3925
a5947601
SDJ
39262014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
3927
3928 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
3929 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
3930 * gdb.base/global-var-nested-by-dso.c: Likewise.
3931 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3932
91c19059
SDJ
39332014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
3934 Pedro Alves <palves@redhat.com>
3935
3936 * gdb.base/watch-bitfields.exp: Pass string other than test file
3937 name to prepare_for_testing.
3938 (watch): New procedure.
3939 (expect_watchpoint): Use with_test_prefix.
3940 (top level): Factor out tests to ...
3941 (test_watch_location, test_regular_watch): ... these new
3942 procedures, and use with_test_prefix and gdb_continue_to_end.
3943
bb9d5f81
PP
39442014-09-16 Patrick Palka <patrick@parcs.ath.cx>
3945
3946 PR breakpoints/12526
3947 * gdb.base/watch-bitfields.exp: New file.
3948 * gdb.base/watch-bitfields.c: New file.
3949
635856f5
PA
39502014-09-16 Pedro Alves <palves@redhat.com>
3951
3952 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
3953 software and hardware addresses, not software address against
3954 itself.
3955
7280ceea
PA
39562014-09-16 Pedro Alves <palves@redhat.com>
3957
3958 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
3959 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
3960
428b16bd
PA
39612014-09-16 Pedro Alves <palves@redhat.com>
3962
3963 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
3964 files.
3965 * gdb.base/a2-run.exp: Remove all code guarded by istarget
3966 "*-*-vxworks*" throughout.
3967 * gdb.base/break.exp: Likewise.
3968 * gdb.base/default.exp: Likewise.
3969 * gdb.base/scope.exp: Likewise.
3970 * gdb.base/sepdebug.exp: Likewise.
3971 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
3972 throughout.
3973 * gdb.base/run.c: Likewise.
3974 * gdb.base/sepdebug.c: Likewise.
3975 * gdb.hp/gdb.aCC/run.c: Likewise.
3976 * gdb.reverse/until-reverse.c: Likewise.
3977 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
3978
666d413c
YQ
39792014-09-16 Yao Qi <yao@codesourcery.com>
3980
3981 * boards/local-remote-host-native.exp: New file.
3982
57cbd724
DE
39832014-09-14 Doug Evans <xdje42@gmail.com>
3984
3985 * gdb.threads/queue-signal.c (thread_count): New variable.
3986 (thread_count_mutex, thread_count_condvar): New variables.
3987 (incr_thread_count, wait_all_threads_running): New functions.
3988 (main): Wait for all threads to be in their thread functions.
3989
81219e53
DE
39902014-09-13 Doug Evans <xdje42@gmail.com>
3991
3992 * gdb.threads/queue-signal.c: New file.
3993 * gdb.threads/queue-signal.exp: New file.
3994
3714cea7
DE
39952014-09-13 Doug Evans <xdje42@gmail.com>
3996
3997 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
3998 be consistent with what default_gdb_init uses.
3999 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
4000 the plain text of the prompt. Add some logging printfs.
4001 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
4002
fa43b1d7
PA
40032014-09-12 Pedro Alves <palves@redhat.com>
4004
4005 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
4006 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
4007 * gdb.arch/i386-size-overlap.exp: Likewise.
4008 * gdb.arch/i386-size.exp: Likewise.
4009 * gdb.arch/i386-unwind.exp: Likewise.
4010 * gdb.base/a2-run.exp: Likewise.
4011 * gdb.base/break.exp: Likewise.
4012 * gdb.base/charset.exp: Likewise.
4013 * gdb.base/chng-syms.exp: Likewise.
4014 * gdb.base/commands.exp: Likewise.
4015 * gdb.base/dbx.exp: Likewise.
4016 * gdb.base/find.exp: Likewise.
4017 * gdb.base/funcargs.exp: Likewise.
4018 * gdb.base/jit-simple.exp: Likewise.
4019 * gdb.base/reread.exp: Likewise.
4020 * gdb.base/sepdebug.exp: Likewise.
4021 * gdb.base/step-bt.exp: Likewise.
4022 * gdb.cp/mb-inline.exp: Likewise.
4023 * gdb.cp/mb-templates.exp: Likewise.
4024 * gdb.objc/basicclass.exp: Likewise.
4025 * gdb.threads/killed.exp: Likewise.
4026
9d9bf2df
EBM
40272014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4028
4029 PR tdep/17379
4030 * gdb.arch/powerpc-stackless.S: New file.
4031 * gdb.arch/powerpc-stackless.exp: New file.
4032
1cf2f1b0
JK
40332014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4034
4035 * gdb.base/attach.c: Include unistd.h.
4036 (main): Call alarm. Add label postloop.
4037 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
4038 gdb_breakpoint, gdb_continue_to_breakpoint.
4039 (test_command_line_attach_run): Kill ${testpid} in one exit path.
4040
98880d46
PA
40412014-09-11 Pedro Alves <palves@redhat.com>
4042
4043 PR gdb/17347
4044 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
4045 * gdb.base/attach.exp (test_command_line_attach_run): New
4046 procedure.
4047 (top level): Call it.
4048
4c92ff2c
PA
40492014-09-11 Pedro Alves <palves@redhat.com>
4050
4051 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
4052 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
4053 (do_command_attach_tests): Use spawn_wait_for_attach.
4054 * gdb.base/solib-overlap.exp: Likewise.
4055 * gdb.multi/multi-attach.exp: Likewise.
4056 * gdb.python/py-prompt.exp: Likewise.
4057 * gdb.python/py-sync-interp.exp: Likewise.
4058 * gdb.server/ext-attach.exp: Likewise.
4059
3adc1a7d
GKB
40602014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
4061
4062 * gdb.fortran/array-element.exp: Remove unexpected "continue"
4063 command in testcase. Simplify testcase.
4064
96334934
JB
40652014-09-10 Joel Brobecker <brobecker@adacore.com>
4066
4067 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
4068
eb479039
JB
40692014-09-10 Joel Brobecker <brobecker@adacore.com>
4070
4071 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
4072
deede10c
JB
40732014-09-10 Joel Brobecker <brobecker@adacore.com>
4074
4075 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
4076
7828a5f5
JB
40772014-09-10 Joel Brobecker <brobecker@adacore.com>
4078
4079 * gdb.dwarf2/dynarr-ptr.c: New file.
4080 * gdb.dwarf2/dynarr-ptr.exp: New file.
4081
33aeebcf
MR
40822014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4083
4084 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
4085 of 30 rather than hardcoding 120 for a slow test case. Take the
4086 `gdb,timeout' target setting into account for this calculation.
4087 Don't extend the timeout for the test cases that don't need it.
4088
7b415901
MR
40892014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4090
4091 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
4092 a factor of 2 for a slow test case. Take the `gdb,timeout'
4093 target setting into account for this calculation.
4094 * gdb.reverse/until-precsave.exp: Increase the timeout by
4095 a factor of 15 and 3 respectively rather than adding 120
4096 for a pair of slow test cases. Take the `gdb,timeout'
4097 target setting into account for this calculation.
4098
4a40f85a
MR
40992014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4100
4101 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
4102 timeout, don't pass one down to gdb_expect.
4103 (gdb_expect): Rework timeout selection.
4104
09635af7
MR
41052014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4106
4107 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
4108 exception on timeout.
4109 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
4110 (gdbserver_start_extended): Catch any `gdbserver_start' error
4111 exceptions.
4112 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
4113 * lib/mi-support.exp (mi_gdb_target_load): Catch any
4114 `gdbserver_gdb_load' error exceptions.
4115
2bdd10b7
MR
41162014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4117
4118 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
4119 120 on waiting for the TCP socket to open.
4120
316935f0
DE
41212014-09-09 Doug Evans <xdje42@gmail.com>
4122
4123 * gdb.base/default.exp (show_conv_list): Add _caller_is,
4124 _caller_matches, _any_caller_is, _any_caller_matches.
4125
83740597
DE
41262014-09-09 Doug Evans <xdje42@gmail.com>
4127
4128 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
4129
4c122fc3
YQ
41302014-09-09 Yao Qi <yao@codesourcery.com>
4131
4132 * gdb.mi/mi-var-display.exp: Set print symbol off.
4133
a9f116cb
GKB
41342014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
4135
4136 PR gdb/17035
4137 * gdb.base/commands.exp: Add tests to verify user-defined
4138 commands with empty bodies.
4139 * gdb.python/py-cmd.exp: Test that we don't show user-defined
4140 python commands in `show user command`.
4141 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
4142 scheme commands in `show user command`.
4143
c75bd3a2
JK
41442014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4145
4146 PR python/17355
4147 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
4148 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
4149 * gdb.python/py-framefilter-invalidarg.exp: New file.
4150 * gdb.python/py-framefilter-invalidarg.py: New file.
4151
faa42425
DE
41522014-09-06 Doug Evans <xdje42@gmail.com>
4153
4154 PR 15276
4155 * gdb.python/py-caller-is.c: New file.
4156 * gdb.python/py-caller-is.exp: New file.
4157
474ca4f6
SDJ
41582014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
4159
4160 PR gdb/17235
4161 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
4162 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
4163
eb0b0463
SDJ
41642014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
4165
4166 PR fortran/17237
4167 * gdb.fortran/print-formatted.exp: New file.
4168 * gdb.fortran/print-formatted.f90: Likewise.
4169
5f3b99cf
SS
41702014-09-03 Sasha Smundak <asmundak@google.com>
4171
4172 * gdb.python/py-frame.exp: Test Frame.read_register.
4173
7d793aa9
SDJ
41742014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
4175
4176 PR python/16699
4177 * gdb.python/py-completion.exp: New file.
4178 * gdb.python/py-completion.py: Likewise.
4179
fb0576e9
DE
41802014-08-28 Doug Evans <dje@google.com>
4181
4182 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
4183 eax,etc. are live with values set by gdb and thus the compiler can't
4184 use them.
4185 * gdb.arch/i386-pseudo.c (main): Ditto.
4186
ee92b0dd
DE
41872014-08-27 Doug Evans <dje@google.com>
4188
4189 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
4190
6649db35
DE
41912014-08-25 Doug Evans <dje@google.com>
4192
4193 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
4194 (main): Ditto.
4195
564b7600
DE
41962014-08-25 Doug Evans <dje@google.com>
4197
4198 * gdb.threads/thread-execl.exp: #include <stdio.h>.
4199
3881fb67
YQ
42002014-08-24 Yao Qi <yao@codesourcery.com>
4201
4202 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
4203 symbol off.
4204 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
4205
a05a36a5
DE
42062014-08-22 Doug Evans <dje@google.com>
4207
4208 PR 17276
4209 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
4210 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
4211 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
4212
7c343b48
YQ
42132014-08-22 Yao Qi <yao@codesourcery.com>
4214
4215 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
4216 * gdb.python/py-finish-breakpoint2.exp: Likewise.
4217 * gdb.python/python.exp: Likewise. Use .py file on the host
4218 instead of the build.
4219
22fd09ae
JK
42202014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4221
4222 * gdb.threads/gcore-stale-thread.c: New file.
4223 * gdb.threads/gcore-stale-thread.exp: New file.
4224
a8454a7c
PA
42252014-08-21 Pedro Alves <palves@redhat.com>
4226
4227 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
4228 * gdb.base/gcore-relro-pie.exp: Likewise.
4229 * gdb.base/gcore-relro.exp: Likewise.
4230 * gdb.base/gcore.exp: Likewise.
4231 * gdb.base/print-symbol-loading.exp: Likewise.
4232 * gdb.threads/gcore-thread.exp: Likewise.
4233 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
4234
2a31c623
PA
42352014-08-20 Pedro Alves <palves@redhat.com>
4236 Jan Kratochvil <jan.kratochvil@redhat.com>
4237
4238 * Makefile.in (EXTRA_RULES, CC): New variables, get from
4239 configure.
4240 (EXPECT): Handle READ1 being set.
4241 (all): Depend on EXTRA_RULES.
4242 (check-read1, expect-read1, read1.so, read1): New rules.
4243 * README (Testsuite Parameters): Document the READ1 make variable.
4244 (Race detection): New section.
4245 * configure: Regenerate.
4246 * configure.ac: If build==host==target, and running under a
4247 GNU/glibc system, add read1 to the extra Makefile rules.
4248 (EXTRA_RULES): AC_SUBST it.
4249 * lib/read1.c: New file.
4250
d36430db
JB
42512014-08-20 Joel Brobecker <brobecker@adacore.com>
4252
4253 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
4254 the handling of variables declared as a typedef to an array
4255 which a DW_AT_data_location attribute.
4256
9a0dc9e3
PA
42572014-08-19 Andrew Burgess <aburgess@broadcom.com>
4258 Pedro Alves <palves@redhat.com>
4259
4260 PR symtab/14604
4261 PR symtab/14605
4262 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
4263 gdb_test.
4264
0718a8da
PA
42652014-08-19 Pedro Alves <palves@redhat.com>
4266
4267 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
4268
13b448cd
YQ
42692014-08-19 Yao Qi <yao@codesourcery.com>
4270
4271 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
4272 right line.
4273
1cbf5077
DB
42742014-08-18 David Blaikie <dblaikie@gmail.com>
4275
4276 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
4277
bf0fae19
JB
42782014-08-18 Joel Brobecker <brobecker@adacore.com>
4279
4280 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
4281 attribute in array range.
4282
3c8c5dcc
JB
42832014-08-18 Joel Brobecker <brobecker@adacore.com>
4284
4285 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
4286
e66d4446
SC
42872014-08-15 Siva Chandra Reddy <sivachandra@google.com>
4288
4289 PR c++/17132
4290 * gdb.cp/pr17132.cc: New file.
4291 * gdb.cp/pr17132.exp: New file.
4292
940df408
SC
42932014-08-15 Siva Chandra Reddy <sivachandra@google.com>
4294
4295 * gdb.python/py-xmethods.py (A_getarrayind)
4296 (E_method_char_worker.__call__, E_method_int_worker.__call__):
4297 Use 'print' with function call syntax.
4298 (E_method_matcher.match): Fix tab vs space indentation mixup.
4299
ebcc6c3a
YQ
43002014-08-15 Yao Qi <yao@codesourcery.com>
4301
4302 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
4303 false.
4304
775e0f04
YQ
43052014-08-15 Yao Qi <yao@codesourcery.com>
4306
4307 * gdb.cp/casts.exp: Set print symbol off.
4308 * gdb.cp/class2.exp: Likewise.
4309 * gdb.cp/overload.exp: Likewise.
4310 * gdb.cp/templates.exp: Likewise.
4311
d769e349
DE
43122014-08-11 Doug Evans <dje@google.com>
4313
4314 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
4315 (test_load_shlib): Update.
4316
20c6f1e1
YQ
43172014-08-09 Yao Qi <yao@codesourcery.com>
4318
4319 * gdb.base/display.exp: Invoke is_address_zero_readable.
4320 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
4321 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4322 * gdb.base/hbreak-unmapped.exp: Return if
4323 is_address_zero_readable returns true.
4324 * gdb.base/signest.exp: Likewise.
4325 * gdb.base/signull.exp: Likewise.
4326 * gdb.base/sigbpt.exp: Likewise.
4327 * gdb.guile/scm-disasm.exp: Do the test if
4328 is_address_zero_readable returns false.
4329 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
4330 * gdb.python/py-arch.exp: Likewise.
4331 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
4332 * lib/gdb.exp (is_address_zero_readable): New proc.
4333
5792e8e3
YQ
43342014-08-09 Yao Qi <yao@codesourcery.com>
4335
4336 PR testsuite/13443
4337 * gdb.mi/mi-var-display.exp: Make test messages unique.
4338
3cecbbbe
TT
43392014-08-04 Tom Tromey <tromey@redhat.com>
4340
4341 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
4342 target 0".
4343
00b51ff5
TT
43442014-08-04 Tom Tromey <tromey@redhat.com>
4345
4346 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
4347 "target_resume".
4348
6908c509
JB
43492014-08-01 Joel Brobecker <brobecker@adacore.com>
4350
4351 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
4352 inner_vla_struct_object_size.
4353 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
4354 as xfail.
4355
cc6563d2
PA
43562014-07-30 Pedro Alves <palves@redhat.com>
4357
4358 * gdb.threads/signal-command-handle-nopass.exp (test): Add
4359 comment.
4360
7e09a223
YQ
43612014-07-29 Yao Qi <yao@codesourcery.com>
4362
4363 PR gdb/17206
4364 * gdb.base/until-nodebug.exp: New.
4365
7ebdbe92
DE
43662014-07-28 Doug Evans <xdje42@gmail.com>
4367
4368 PR guile/17203
4369 * gdb.guile/scm-parameter.exp: Add tests for trying to create
4370 previously existing parameter, and previously ambiguously spelled
4371 parameter.
4372
fdb1adc6
WN
43732014-07-28 Will Newton <will.newton@linaro.org>
4374
4375 * gdb.base/varargs.exp: Remove KFAILs for ARM.
4376
186fcde0
DE
43772014-07-26 Ludovic Courtès <ludo@gnu.org>
4378 Doug Evans <xdje42@gmail.com>
4379
4380 PR guile/17146
4381 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
4382
70509625
PA
43832014-07-25 Pedro Alves <palves@redhat.com>
4384
4385 * gdb.threads/signal-command-handle-nopass.c: New file.
4386 * gdb.threads/signal-command-handle-nopass.exp: New file.
4387 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
4388 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
4389 * gdb.threads/signal-delivered-right-thread.c: New file.
4390 * gdb.threads/signal-delivered-right-thread.exp: New file.
4391
c3f814a1
PA
43922014-07-25 Pedro Alves <palves@redhat.com>
4393
4394 * gdb.base/double-prompt-target-event-error.exp
4395 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
4396 match.
4397 (cancel_pagination_in_target_event): Rework double prompt
4398 detection.
4399 * gdb.base/paginate-after-ctrl-c-running.exp
4400 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
4401 <return>' match.
4402 * gdb.base/paginate-bg-execution.exp
4403 (test_bg_execution_pagination_return)
4404 (test_bg_execution_pagination_cancel): Remove '-notransfer
4405 <return>' matches.
4406 * gdb.base/paginate-execution-startup.exp
4407 (test_fg_execution_pagination_return)
4408 (test_fg_execution_pagination_cancel): Remove '-notransfer
4409 <return>' matches.
4410 * gdb.base/paginate-inferior-exit.exp
4411 (test_paginate_inferior_exited): Remove '-notransfer <return>'
4412 match.
4413 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
4414 * lib/gdb.exp (pagination_prompt): Run text through
4415 string_to_regexp.
4416 (gdb_test_multiple): Match $pagination_prompt instead of
4417 "<return>".
4418 (string_to_regexp): Move to lib/gdb-utils.exp.
4419
e214cf6c
JK
44202014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4421
4422 * gdb.arch/amd64-entry-value-paramref.S: New file.
4423 * gdb.arch/amd64-entry-value-paramref.cc: New file.
4424 * gdb.arch/amd64-entry-value-paramref.exp: New file.
4425 * gdb.arch/amd64-optimout-repeat.S: New file.
4426 * gdb.arch/amd64-optimout-repeat.c: New file.
4427 * gdb.arch/amd64-optimout-repeat.exp: New file.
4428
17d0c5c8
JK
44292014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4430
4431 PR gdb/17170
4432 * gdb.base/statistics.exp: New file.
4433
b8b8facf
DE
44342014-07-17 Doug Evans <dje@google.com>
4435
74b49205 4436 PR gdb/17170
b8b8facf
DE
4437 * gdb.base/maint.exp: Update testing of per-command stats.
4438
1b5d0ab3
PA
44392014-07-16 Pedro Alves <palves@redhat.com>
4440
4441 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
4442 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
4443 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
4444 (tfile_write_buf): New functions.
4445 (add_memory_block): Rewrite using the above.
4446 (adjust_function_address): New function.
4447 (FUNCTION_ADDRESS): New macro.
4448 (write_basic_trace_file): Remove short_x local, and use
4449 tfile_write_16. Change type of func_addr local to unsigned long
4450 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
4451 here. Cast argument of add_memory_block to char pointer.
4452 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
4453 (main): Remove parameters.
4454 * gdb.trace/tfile.exp: Remove nowarnings.
4455
4d974e88
SM
44562014-07-15 Simon Marchi <simon.marchi@ericsson.com>
4457
4458 * gdb.base/debug-expr.exp: Test string evaluation with
4459 "debug expression" on.
4460
41e99568
PA
44612014-07-15 Pedro Alves <palves@redhat.com>
4462
4463 * gdb.base/reread.exp: Use clean_restart.
4464
487d9753
PL
44652014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
4466
4467 * gdb.arch/avr-flash-qualifer.c: New.
4468 * gdb.arch/avr-flash-qualifer.exp: New.
4469
cc1c52ad
PA
44702014-07-14 Pedro Alves <palves@redhat.com>
4471
4472 * gdb.base/paginate-after-ctrl-c-running.c: New file.
4473 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
4474
1e973570
PA
44752014-07-14 Pedro Alves <palves@redhat.com>
4476
4477 * gdb.base/double-prompt-target-event-error.c: New file.
4478 * gdb.base/double-prompt-target-event-error.exp: New file.
4479
93d6eb10
PA
44802014-07-14 Pedro Alves <palves@redhat.com>
4481
4482 PR gdb/17072
4483 * gdb.base/paginate-inferior-exit.c: New file.
4484 * gdb.base/paginate-inferior-exit.exp: New file.
4485
0017922d
PA
44862014-07-14 Pedro Alves <palves@redhat.com>
4487
4488 PR gdb/17072
4489 * gdb.base/paginate-bg-execution.c: New file.
4490 * gdb.base/paginate-bg-execution.exp: New file.
4491
94696ad3
PA
44922014-07-14 Pedro Alves <palves@redhat.com>
4493
4494 PR gdb/17072
4495 * gdb.base/paginate-execution-startup.c: New file.
4496 * gdb.base/paginate-execution-startup.exp: New file.
4497 * lib/gdb.exp (pagination_prompt): New global.
4498 (default_gdb_spawn): New procedure, factored out from
4499 default_gdb_spawn.
4500 (default_gdb_start): Adjust to call default_gdb_spawn.
4501 (gdb_spawn): New procedure.
4502
bd293940
PA
45032014-07-14 Pedro Alves <palves@redhat.com>
4504
4505 * lib/gdb.exp (gdb_assert): New procedure.
4506 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
4507
c933f875
PA
45082014-07-14 Pedro Alves <palves@redhat.com>
4509
4510 * gdb.base/execution-termios.c: New file.
4511 * gdb.base/execution-termios.exp: New file.
4512
d98b7a16
TT
45132014-07-14 Tom Tromey <tromey@redhat.com>
4514
4515 * gdb.cp/vla-cxx.cc: New file.
4516 * gdb.cp/vla-cxx.exp: New file.
4517
548740d6
TT
45182014-07-14 Tom Tromey <tromey@redhat.com>
4519
4520 * gdb.reverse/rerun-prec.c: New file.
4521 * gdb.reverse/rerun-prec.exp: New file.
4522
a25eb028
MR
45232014-07-12 Maciej W. Rozycki <macro@mips.com>
4524 Maciej W. Rozycki <macro@codesourcery.com>
4525
4526 * lib/gdb-utils.exp: New file.
4527 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
4528 inline `gdb_init_command' processing.
4529 (gdb_start_cmd): Likewise.
4530 * lib/mi-support.exp (mi_run_cmd): Likewise.
4531 * README: Document `gdb_init_command' and `gdb_init_commands'.
4532
218c2655
JK
45332014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4534
4535 Fix false FAIL running under a very long directory name.
4536 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
4537 and "set print elements 10000". Twice.
4538
5401fde3
YQ
45392014-07-11 Yao Qi <yao@codesourcery.com>
4540
4541 * gdb.base/exprs.exp: "set print symbol off".
4542
e76126e8
PA
45432014-07-11 Pedro Alves <palves@redhat.com>
4544
4545 * gdb.threads/kill.c: New file.
4546 * gdb.threads/kill.exp: New file.
4547
2d6f0de6
YQ
45482014-07-10 Yao Qi <yao@codesourcery.com>
4549
4550 * gdb.trace/tfile.c (write_basic_trace_file)
4551 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
4552 address written to trace file.
4553
7180e04a
PA
45542014-07-09 Pedro Alves <palves@redhat.com>
4555
4556 * gdb.base/attach-wait-input.exp: New file.
4557 * gdb.base/attach-wait-input.c: New file.
4558
9a9a7608
AB
45592014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4560
4561 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
4562 setting up test structures.
4563 (main): Call new test function.
4564 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
4565 test function, continue into test function and walk test
4566 structures.
4567
161ac41e
YQ
45682014-07-02 Yao Qi <yao@codesourcery.com>
4569
4570 * gdb.trace/entry-values.c: Define labels 'foo_start' and
4571 'bar_start' at the beginning of functions 'foo' and 'bar'
4572 respectively.
4573 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
4574 instead of 'foo' and 'bar'.
4575
1f267ae3
MM
45762014-07-08 Markus Metzger <markus.t.metzger@intel.com>
4577
4578 * gdb.btrace/segv.exp: New.
4579 * gdb.btrace/segv.c: New.
4580
2b239efb
LM
45812014-07-02 Luis Machado <lgustavo@codesourcery.com>
4582
4583 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
4584 instruction.
4585
cf363f18
MW
45862014-06-30 Mark Wielaard <mjw@redhat.com>
4587
4588 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
4589 vulture, vilify, villar): New volatile array constants.
4590 (vindictive, vegetation): New const volatile array constants.
4591 * gdb.base/volatile.exp: Test volatile and const volatile array
4592 types.
4593
aebf9d24
AA
45942014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
4595
4596 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
4597 target lacks support for awatch, rwatch, or hbreak.
4598
b67a2c6f
YQ
45992014-06-27 Yao Qi <yao@codesourcery.com>
4600
4601 * gdb.multi/dummy-frame-restore.exp: New.
4602 * gdb.multi/dummy-frame-restore.c: New.
4603
aef92902
MM
46042014-06-25 Markus Metzger <markus.t.metzger@intel.com>
4605
4606 * gdb.btrace/gcore.exp: New.
4607
8e9db26e
PA
46082014-06-23 Pedro Alves <palves@redhat.com>
4609
4610 * gdb.base/watchpoint-reuse-slot.c: New file.
4611 * gdb.base/watchpoint-reuse-slot.exp: New file.
4612
70afc5b7
SC
46132014-06-23 Siva Chandra Reddy <sivachandra@google.com>
4614
4615 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
4616 progspace's filename in 'info', 'enable' and 'disable' command
4617 tests.
4618
b972bd9c
JK
46192014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4620
4621 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
4622 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
4623 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
4624
125f8a3d
GB
46252014-06-20 Gary Benson <gbenson@redhat.com>
4626
4627 * gdb.arch/i386-avx.exp: Fix include file location.
4628 * gdb.arch/i386-sse.exp: Likewise.
4629
3ed9baed
IB
46302014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
4631
4632 * gdb.dlang/expression.exp: New file.
4633
034f788c
PA
46342014-06-19 Pedro Alves <palves@redhat.com>
4635
4636 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
4637 out from ...
4638 (top level): ... here. Iterate running tests under different
4639 scheduler-locking settings.
4640
45371d0c
LM
46412014-06-18 Luis Machado <lgustavo@codesourcery.com>
4642
4643 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
4644 to DW_FORM_addr and use non-zero addresses.
4645
5d376983
SC
46462014-06-18 Siva Chandra Reddy <sivachandra@google.com>
4647
4648 PR gdb/17017
4649 * gdb.python/py-xmethods.cc: Add global function call counters and
4650 increment them in their respective functions. Remove "cout"
4651 statements.
4652 * gdb.python/py-xmethods.exp: Make tests check the global function
4653 call counters instead of depending on inferior IO.
4654
a1aa2221
LM
46552014-06-18 Don Breazeal <donb@codesourcery.com>
4656
4657 * gdb.base/foll-fork.exp (default_fork_parent_follow):
4658 Deleted procedure.
4659 (explicit_fork_parent_follow): Deleted procedure.
4660 (explicit_fork_child_follow): Deleted procedure.
4661 (test_follow_fork): New procedure.
4662 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 4663 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
4664 procedure calls.
4665
0fc05997
YQ
46662014-06-17 Yao Qi <yao@codesourcery.com>
4667
4668 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
4669 CP1252.
4670
70795c52
LM
46712014-06-17 Luis Machado <lgustavo@codesourcery.com>
4672
4673 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
4674 Initialize ptr and S explicitly.
4675 (skip_type_update_when_not_use_rtti_test): Likewise.
4676
6be47f0c
KS
46772014-06-16 Keith Seitz <keiths@redhat.com>
4678
4679 PR mi/15863
4680 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
4681 the inferior is started.
4682
d03de421
PA
46832014-06-16 Pedro Alves <palves@redhat.com>
4684
4685 * gdb.base/break-main-file-remove-fail.c: New file.
4686 * gdb.base/break-main-file-remove-fail.exp: New file.
4687 * gdb.base/break-unload-file.exp: Use build_executable instead of
4688 prepare_for_testing.
4689 (test_break): New parameter "initial_load". Handle it.
4690 (top level): Add initial_load cmdline/file axis.
4691
f9579b99
TT
46922014-06-12 Tom Tromey <tromey@redhat.com>
4693
4694 * gdb.base/completion.exp: Don't use directory name in test.
4695
3657956b
GB
46962014-06-09 Gary Benson <gbenson@redhat.com>
4697
4698 * gdb.base/sigall.c [Functions to send signals]: Reorder to
4699 separate the always-available ANSI-standard signals from the
4700 signals that require checking.
4701 (main): Likewise.
4702 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
4703 Likewise.
4704 (main): Likewise.
4705
4186eb54
KS
47062014-06-07 Keith Seitz <keiths@redhat.com>
4707
4708 Revert:
4709 PR c++/16253
4710 * gdb.cp/var-tag.cc: New file.
4711 * gdb.cp/var-tag.exp: New file.
4712 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4713 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4714 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4715 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4716
25326a28 47172014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
4718
4719 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
4720
829155c9
PA
47212014-06-06 Pedro Alves <palves@redhat.com>
4722
4723 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
4724 in target debug output instead of looking at RSP packets,
4725 disabling the test on any target that uses hardware stepping.
4726 Update comments.
4727
61c8d22e
PA
47282014-06-06 Pedro Alves <palves@redhat.com>
4729
4730 * gdb.base/break-unload-file.exp: Fix typo.
4731
d9a47287
YQ
47322014-06-06 Yao Qi <yao@codesourcery.com>
4733
4734 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
4735 from "jit_function" to "^jit_function".
4736
e5e01dbf
YQ
47372014-06-06 Yao Qi <yao@codesourcery.com>
4738
4739 * gdb.base/async.c (foo): Add one statement.
4740 * gdb.base/async.exp: Get the next instruction address and
4741 match the output of "nexti" by instruction address. Match
4742 the hex address in the output of "finish".
4743
73ba372c
GB
47442014-06-06 Gary Benson <gbenson@redhat.com>
4745
4746 * gdb.base/call-signals.c: Remove preprocessor conditionals
4747 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
4748 SIGSEGV and SIGTERM.
4749 * gdb.base/sigall.c: Likewise.
4750 * gdb.base/unwindonsignal.c: Likewise.
4751 * gdb.reverse/sigall-reverse.c: Likewise.
4752
831517df
YQ
47532014-06-06 Yao Qi <yao@codesourcery.com>
4754
4755 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
4756 readable, skip the test.
4757
b8b91e98
YQ
47582014-06-06 Yao Qi <yao@codesourcery.com>
4759
4760 * gdb.threads/staticthreads.c (thread_function): Move the line
4761 setting breakpoint on forward.
4762 * gdb.threads/staticthreads.exp: Update comments.
4763
fb934770
LC
47642014-06-05 Ludovic Courtès <ludo@gnu.org>
4765
4766 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
4767 "history-append! type error".
4768
6ef284bd
SM
47692014-06-05 Simon Marchi <simon.marchi@ericsson.com>
4770
4771 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
4772 erroneous dprintf expected input.
4773
a872e241
DE
47742014-06-04 Doug Evans <xdje42@gmail.com>
4775
4776 * gdb.guile/scm-generics.exp: Delete.
4777
16f691fb
DE
47782014-06-04 Doug Evans <xdje42@gmail.com>
4779
4780 * gdb.guile/scm-breakpoint.exp: Update.
4781 Add tests for breakpoint registration.
4782
012370f6
TT
47832014-06-04 Tom Tromey <tromey@redhat.com>
4784
4785 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
4786 VLA-in-union.
4787 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
4788 inner_vla_struct, vla_union types. Initialize objects of those
4789 types and compute their sizes.
4790
9f5a4cef
HZ
47912014-06-04 Nathan Sidwell <nathan@codesourcery.com>
4792 Hui Zhu <hui@codesourcery.com>
4793
4794 * gdb.base/fileio.exp: Add test for shell not available as well as
4795 available.
4796 * gdb.base/fileio.c (test_system): Check for shell twice.
4797
90a45c4d
YQ
47982014-06-04 Yao Qi <yao@codesourcery.com>
4799
4800 * gdb.base/auto-connect-native-target.exp: Remove redundant
4801 space from the regexp pattern.
4802
70017e41
YQ
48032014-06-04 Yao Qi <yao@codesourcery.com>
4804
4805 * gdb.base/default.exp: Replace "child" with "native" in
4806 regexp pattern.
4807
883964a7
SC
48082014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4809
4810 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
4811 * gdb.python/py-xmethods.exp: New tests to test xmethods.
4812 * gdb.python/py-xmethods.py: Python script supporting the
4813 new testcase and tests.
4814
ef370185
JB
48152014-06-03 Joel Brobecker <brobecker@adacore.com>
4816 Pedro Alves <palves@redhat.com>
4817
4818 PR breakpoints/17000
4819 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
4820 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
4821
1e2ccb61
BM
48222014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
4823
4824 * gdb.base/subst.exp: Add tests to verify partial path matching
4825 output.
4826
c6ec5ab2
PA
48272014-06-03 Pedro Alves <palves@redhat.com>
4828
4829 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
4830 target that doesn't use software single-stepping.
4831
835c559f
PA
48322014-06-03 Pedro Alves <palves@redhat.com>
4833
4834 PR breakpoints/17000
4835 * gdb.base/sss-bp-on-user-bp-2.c: New file.
4836 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
4837
06eb1586
DE
48382014-06-02 Doug Evans <xdje42@gmail.com>
4839
4840 * gdb.guile/scm-parameter.exp: New file.
4841
e698b8c4
DE
48422014-06-02 Doug Evans <xdje42@gmail.com>
4843
4844 * gdb.guile/scm-cmd.c: New file.
4845 * gdb.guile/scm-cmd.exp: New file.
4846
ded03782
DE
48472014-06-02 Doug Evans <xdje42@gmail.com>
4848
4849 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
4850 pretty-printer lookup.
4851 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
4852 (make-pp_s-printer): Call it.
4853 (make-pretty-printer-from-dict): New function.
4854 (lookup-pretty-printer-maker-from-dict): New function.
4855 (*pretty-printer*): Simplify.
4856 (make-objfile-pp_s-printer): New function.
4857 (install-objfile-pretty-printers!): New function.
4858 (make-progspace-pp_s-printer): New function.
4859 (install-progspace-pretty-printers!): New function.
4860 * gdb.guile/scm-progspace.c: New file.
4861 * gdb.guile/scm-progspace.exp: New file.
4862
41fac0cf
PA
48632014-06-02 Pedro Alves <palves@redhat.com>
4864
4865 * gdb.base/dprintf-bp-same-addr.c: New file.
4866 * gdb.base/dprintf-bp-same-addr.exp: New file.
4867
96ae5695
EBM
48682014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4869
4870 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
4871 * gdb.arch/powerpc-power.s: Likewise.
4872
da02b3a8
JB
48732014-06-02 Joel Brobecker <brobecker@adacore.com>
4874
4875 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
4876
c72b2e7b
YQ
48772014-06-01 Yao Qi <yao@codesourcery.com>
4878
4879 * gdb.base/watchpoint.exp (test_watch_location): Check null
4880 pointer can be dereferenced. If not, do the test, otherwise
4881 skip it.
4882
53e8a631
AB
48832014-05-30 Andrew Burgess <aburgess@broadcom.com>
4884
4885 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
4886 results.
4887 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
4888
938f0e2f
AB
48892014-05-30 Andrew Burgess <aburgess@broadcom.com>
4890
4891 * gdb.arch/amd64-invalid-stack-middle.S: New file.
4892 * gdb.arch/amd64-invalid-stack-middle.c: New file.
4893 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
4894 * gdb.arch/amd64-invalid-stack-top.c: New file.
4895 * gdb.arch/amd64-invalid-stack-top.exp: New file.
4896
9ba6657a
PA
48972014-05-30 Pedro Alves <palves@redhat.com>
4898
4899 PR breakpoints/17000
4900 * gdb.base/sss-bp-on-user-bp.c: New file.
4901 * gdb.base/sss-bp-on-user-bp.exp: New file.
4902
522c09bf
DB
49032014-05-30 David Blaikie <dblaikie@gmail.com>
4904
4905 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
4906 gnu_inline semantics via attribute.
4907 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
4908 source explicitly specifies the required semantics.
4909
bf4ef81e
MR
49102014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
4911
4912 * gdb.reverse/sigall-reverse.exp: Fix a typo.
4913
329ea579
PA
49142014-05-29 Pedro Alves <palves@redhat.com>
4915 Tom Tromey <tromey@redhat.com>
4916
4917 * gdb.base/async-shell.exp: Don't enable target-async.
4918 * gdb.base/async.exp
4919 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
4920 parameter. Adjust.
4921 (top level): Don't test with "target-async".
4922 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
4923 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
4924 * gdb.base/inferior-died.exp: Don't enable target-async.
4925 * gdb.base/interrupt-noterm.exp: Likewise.
4926 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
4927 * gdb.mi/mi-nonstop-exit.exp: Likewise.
4928 * gdb.mi/mi-nonstop.exp: Likewise.
4929 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
4930 * gdb.mi/mi-nsintrall.exp: Likewise.
4931 * gdb.mi/mi-nsmoribund.exp: Likewise.
4932 * gdb.mi/mi-nsthrexec.exp: Likewise.
4933 * gdb.mi/mi-watch-nonstop.exp: Likewise.
4934 * gdb.multi/watchpoint-multi.exp: Adjust comment.
4935 * gdb.python/py-evsignal.exp: Don't enable target-async.
4936 * gdb.python/py-evthreads.exp: Likewise.
4937 * gdb.python/py-prompt.exp: Likewise.
4938 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
4939 * gdb.server/solib-list.exp: Don't enable target-async.
4940 * gdb.threads/thread-specific-bp.exp: Likewise.
4941 * lib/mi-support.exp: Adjust to use mi-async.
4942
fd664c91
PA
49432014-05-29 Pedro Alves <palves@redhat.com>
4944
4945 PR gdb/13860
4946 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
4947 reason, even in sync mode.
4948
251bde03
PA
49492014-05-29 Pedro Alves <palves@redhat.com>
4950 Hui Zhu <hui@codesourcery.com>
4951
4952 PR PR15693
4953 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
4954 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
4955 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
4956 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
4957
7f3c0343
JB
49582014-05-28 Joel Brobecker <brobecker@adacore.com>
4959
4960 * config/monitor.exp (gdb_target_monitor): Replace use of
4961 "set remotebaud" by "set serial baud".
4962
b2715b27
AW
49632014-05-26 Andy Wingo <wingo@igalia.com>
4964
4965 * gdb.guile/scm-breakpoint.exp:
4966 * gdb.guile/scm-gsmob.exp: Update to use plain old object
4967 properties instead of gdb-object-properties.
4968
498a4489
YQ
49692014-05-26 Yao Qi <yao@codesourcery.com>
4970
4971 * gdb.server/no-thread-db.exp: Specify source file name
4972 explicitly when setting a breakpoint.
4973
589fdceb
MM
49742014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4975
4976 * gdb.btrace/vdso.c: New.
4977 * gdb.btrace/vdso.exp: New.
4978
e9089e05
MM
49792014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4980
4981 * gdb.base/gcore.exp (capture_command_output): Move ...
4982 * lib/gdb.exp (capture_command_output): ... here.
4983
67b5c0c1
MM
49842014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4985
4986 * gdb.btrace/data.exp: Test memory access during btrace replay.
4987
a2199296
SM
49882014-05-22 Simon Marchi <simon.marchi@ericsson.com>
4989
4990 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
4991
17b2616c
PA
49922014-05-21 Pedro Alves <palves@redhat.com>
4993
4994 PR gdb/13860
4995 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
4996 (top level): Test that output related to execution commands is
4997 sent to the console with CLI commands, but not with MI commands.
4998 Test that breakpoint events are always mirrored to the console.
4999 Also expect the new source line to be output after a "next" in
5000 async mode too. Make it a pass/fail test.
5001 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
5002 output.
5003 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
5004
5166082f
PA
50052014-05-21 Pedro Alves <palves@redhat.com>
5006
5007 * gdb.base/list.exp (build_pattern, test_list): New procedures.
5008 Use them to test variations of "list" after reaching a breakpoint.
5009 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
5010 Test "list" with listsize 10 after reaching a breakpoint.
5011 * gdb.python/python.exp (decode_line current location line
5012 number): Adjust expected line number.
5013
2f25d70f
SM
50142014-05-21 Simon Marchi <simon.marchi@ericsson.com>
5015
5016 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
5017 behavior for $args, pass it directly to "run".
5018
ff604a67
MR
50192014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
5020
5021 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
5022 30000 to 65536.
5023
6a3cb8e8
PA
50242014-05-21 Pedro Alves <palves@redhat.com>
5025
5026 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
5027 auto-connect-native-target off".
5028 * gdb.base/auto-connect-native-target.c: New file.
5029 * gdb.base/auto-connect-native-target.exp: New file.
5030
4ebfc96e
PA
50312014-05-21 Pedro Alves <palves@redhat.com>
5032
5033 * gdb.base/default.exp: Test "target native" instead of "target
5034 child".
5035
36d46afb
MW
50362014-05-21 Mark Wielaard <mjw@redhat.com>
5037
5038 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
5039
5876f503
JK
50402014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5041
5042 Fix TLS access for -static -pthread.
5043 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
5044 <HAVE_TLS> (thread_function, main): Initialize it.
5045 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
5046 Add clean_restart.
5047 <$have_tls != "">: Check TLSVAR.
5048
0256a6ac
PA
50492014-05-21 Pedro Alves <palves@redhat.com>
5050
5051 * gdb.base/dcache-line-read-error.c: New.
5052 * gdb.base/dcache-line-read-error.exp: New.
5053
936d2992
PA
50542014-05-20 Pedro Alves <palves@redhat.com>
5055
5056 * gdb.base/compare-sections.c: New file.
5057 * gdb.base/compare-sections.exp: New file.
5058
802e8e6d
PA
50592014-05-20 Pedro Alves <palves@redhat.com>
5060
5061 * gdb.base/break-idempotent.c: New file.
5062 * gdb.base/break-idempotent.exp: New file.
5063
e59fa00f
MM
50642014-05-20 Markus Metzger <markus.t.metzger@intel.com>
5065
5066 * gdb.btrace/nohist.exp: New.
5067
8b696e31
YQ
50682014-05-20 Yao Qi <yao@codesourcery.com>
5069
5070 * lib/gdb.exp (gdb_init): Set timeout if test file is under
5071 gdb.reverse directory and gdb_reverse_timeout exists in board
5072 setting.
5073 * README: Document gdb_reverse_timeout.
5074
73c9764f
YQ
50752014-05-20 Yao Qi <yao@codesourcery.com>
5076
5077 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
5078 'test_file_name'. Treat args as a string instead of a list.
5079 (gdb_init): Rename argument 'args' by 'test_file_name'.
5080
f1f4348a
JK
50812014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5082
5083 * gdb.arch/powerpc-power.exp: New file.
5084 * gdb.arch/powerpc-power.s: New file.
5085
0dbe70ce
DE
50862014-05-16 Doug Evans <dje@google.com>
5087
5088 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
5089 * gdb.base/completion.exp: Check that all expected files exist
5090 before doing file completion.
0dbe70ce 5091
8d551b02
DE
50922014-05-16 Doug Evans <dje@google.com>
5093
5094 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
5095 Update.
5096 (do_syscall_tests_without_xml): Update.
5097
73eb7709
PA
50982014-05-16 Pedro Alves <palves@redhat.com>
5099
5100 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
5101 instead of "unknown output after running".
5102
3fae92fc
YQ
51032014-05-16 Yao Qi <yao@codesourcery.com>
5104
5105 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
5106 file1.txt from host at the end.
5107 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5108
c2b2ccc5
DE
51092014-05-15 Doug Evans <dje@google.com>
5110
5111 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
5112 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
5113 loading file. Add test for TU lookup.
5114
8c217a4b
SM
51152014-05-15 Simon Marchi <simon.marchi@ericsson.com>
5116
5117 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
5118 calling "-exec-arguments" or "set args" before running the
5119 inferior.
5120
3deb39c6
SM
51212014-05-15 Simon Marchi <simon.marchi@ericsson.com>
5122
5123 * lib/mi-support.exp (mi_expect_stop): Expect message for
5124 inferiors that exit with non-zero exit code.
5125
71a79f8c
YQ
51262014-05-14 Yao Qi <yao@codesourcery.com>
5127
5128 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
5129 match absolute path on remote host.
5130 (test_file_list_exec_source_files): Remove "/" from the
5131 pattern.
5132
f23fcd46
YQ
51332014-05-14 Yao Qi <yao@codesourcery.com>
5134
5135 * boards/local-remote-host-notty.exp (${board}_file): New
5136 proc.
5137
9404b58f
KM
51382014-05-07 Kyle McMartin <kyle@redhat.com>
5139
5140 Pushed by Joel Brobecker <brobecker@adacore.com>.
5141 * gdb.arch/aarch64-atomic-inst.c: New file.
5142 * gdb.arch/aarch64-atomic-inst.exp: New file.
5143
5e45f04c
YQ
51442014-05-07 Yao Qi <yao@codesourcery.com>
5145
5146 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
5147 in current context" too.
5148
c888a17d
KS
51492014-05-05 Keith Seitz <keiths@redhat.com>
5150
5151 * gdb.linespec/ls-dollar.exp: Add test for linespec
5152 file:convenience_variable.
5153
290a839c
YQ
51542014-05-05 Yao Qi <yao@codesourcery.com>
5155
5156 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
5157 traceframes into tfile and ctf trace files. Read data from
5158 trace file and test collected data.
5159 (gdb_collect_locals_test): Likewise.
5160 (gdb_unavailable_registers_test): Likewise.
5161 (gdb_unavailable_floats): Likewise.
5162 (gdb_collect_globals_test): Likewise.
5163 (top-level): Append "ctf" to trace_file_targets if GDB
5164 supports.
5165
b5262cd0
YQ
51662014-05-05 Yao Qi <yao@codesourcery.com>
5167
5168 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
5169 code to ...
5170 (gdb_collect_args_test_1): ... it. New proc.
5171 (gdb_collect_locals_test): Move some code to ...
5172 (gdb_collect_locals_test_1): ... it. New proc.
5173 (gdb_unavailable_registers_test): Move some code to ...
5174 (gdb_unavailable_registers_test_1): ... it. New proc.
5175 (gdb_unavailable_floats): Move some code to ...
5176 (gdb_unavailable_floats_1): ... it. New proc.
5177
30a1e6cc
SDJ
51782014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5179
5180 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
5181 probes to test for bitness recognition.
5182 * gdb.arch/amd64-stap-optional-prefix.exp
5183 (test_probe_value_without_reg): New procedure.
5184 Add code to test for different kinds of bitness.
5185
f33da99a
SDJ
51862014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5187
5188 PR breakpoints/16889
5189 * gdb.arch/amd64-stap-optional-prefix.S: New file.
5190 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5191
5b80f00d
PA
51922014-05-01 Pedro Alves <palves@redhat.com>
5193
5194 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
5195 gdb_file_cmd if no file is specified.
5196 * boards/native-extended-gdbserver.exp (gdb_load): Use the
5197 last_loaded_file to set the remote exec-file.
5198
f8c2a73c
PA
51992014-05-01 Pedro Alves <palves@redhat.com>
5200
5201 * boards/local-remote-host.exp: New file.
5202
be6e8ac7
PA
52032014-05-01 Pedro Alves <palves@redhat.com>
5204
5205 * boards/local-remote-host.exp: Rename to ...
5206 * boards/local-remote-host-notty.exp: ... this.
5207
cac0dc8f
JB
52082014-04-28 Joel Brobecker <brobecker@adacore.com>
5209
5210 * gdb.ada/dyn_arrayidx: New testcase.
5211
9730e6cc
YQ
52122014-04-26 Yao Qi <yao@codesourcery.com>
5213
5214 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
5215 and compute the length of function main. Save it in
5216 $main_length.
5217 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
5218 (top-level): Use gdb_compile to compile objects into
5219 executable and restart GDB. Remove invocation to
5220 prepare_for_testing.
5221
7ae1a6a6
PA
52222014-04-25 Simon Marchi <simon.marchi@ericsson.com>
5223 Pedro Alves <palves@redhat.com>
5224
5225 PR server/16255
5226 * gdb.multi/multi-attach.c: New file.
5227 * gdb.multi/multi-attach.exp: New file.
5228
4082afcc
PA
52292014-04-25 Pedro Alves <palves@redhat.com>
5230
5231 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
5232 user.
5233 (top level): Test that "set remote conditional-breakpoints-packet
5234 off" works as intended.
5235 * gdb.base/dprintf.exp: Test that "set remote
5236 breakpoint-commands-packet off" works as intended.
5237 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
5238 New function.
5239 (top level): Call it.
5240 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
5241 remote fast-tracepoints-packet off" works as intended.
5242 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
5243 * lib/gdb.exp (gdb_is_target_remote): ... here.
5244
2abc3f8d
DB
52452014-04-24 David Blaikie <dblaikie@gmail.com>
5246
5247 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
5248 ensure clang would not discard them.
5249 * gdb.base/gdbvars.c: Ditto.
5250 * gdb.base/memattr.c: Ditto.
5251 * gdb.base/whatis.c: Ditto.
5252 * gdb.python/py-prettyprint.c: Ditto.
5253 * gdb.trace/actions.c: Ditto.
5254 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
5255 ensure clang would not discard it.
5256
bfd39632
DB
52572014-04-24 David Blaikie <dblaikie@gmail.com>
5258
5259 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
5260 clang to emit the full definition of type required by the test
5261 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
5262
22842ff6
DB
52632014-04-24 David Blaikie <dblaikie@gmail.com>
5264
5265 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
5266 coax Clang into emitting the definition of the type.
5267 * gdb.cp/pr10728-x.h (y): Ditto.
5268 * gdb.cp/pr10728-y.cc (y): Ditto.
5269
c2e827ad
DB
52702014-04-24 David Blaikie <dblaikie@gmail.com>
5271
5272 * gdb.base/label.exp: XFAIL label related tests under Clang.
5273 * gdb.cp/cplabel.exp: Ditto.
5274 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
5275 under Clang those using labels.
5276
4c2d33e7
YQ
52772014-04-25 Yao Qi <yao@codesourcery.com>
5278
5279 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
5280 double_label.
5281 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
5282 partial_label and double_label.
5283
56083b99
DB
52842014-04-24 David Blaikie <dblaikie@gmail.com>
5285
5286 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
5287
25d4e99d
DB
52882014-04-24 David Blaikie <dblaikie@gmail.com>
5289
5290 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
5291 of the function to work across GCC and Clang.
5292 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
5293 pointer types (const void ** const V void **).
5294
01f9f808
MS
52952014-04-24 Michael Sturm <michael.sturm@mintel.com>
5296 Walfred Tedeschi <walfred.tedeschi@intel.com>
5297
5298 * Makefile.in (EXECUTABLES): Added i386-avx512.
5299 * gdb.arch/i386-avx512.c: New file.
5300 * gdb.arch/i386-avx512.exp: Likewise.
5301
4b48d439
KS
53022014-04-23 Keith Seitz <keiths@redhat.com>
5303
5304 * lib/mi-support.exp (mi_list_breakpoints): Delete.
5305 (mi_make_breakpoint_table): New procedure.
5306 (mi_create_breakpoint): Use mi_make_breakpoint
5307 and return the result.
5308 (mi_make_breakpoint): New procedure.
5309 (mi_build_kv_pairs): New procedure.
5310
5311 * gdb.mi/mi-break.exp: Remove unused globals,
5312 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
5313 All callers updated.
5314 * gdb.mi/mi-dprintf.exp: Use variable to track command
5315 number.
5316 Update all callers of mi_create_breakpoint and use
5317 mi_make_breakpoint_table.
5318 Remove any unused global variables.
5319 * gdb.mi/mi-nonstop.exp: Likewise.
5320 * gdb.mi/mi-nsintrall.exp: Likewise.
5321 * gdb.mi/mi-nsmoribund.exp: Likewise.
5322 * gdb.mi/mi-nsthrexec.exp: Likewise.
5323 * gdb.mi/mi-reverse.exp: Likewise.
5324 * gdb.mi/mi-simplerun.exp: Likewise.
5325 * gdb.mi/mi-stepn.exp: Likewise.
5326 * gdb.mi/mi-syn-frame.exp: Likewise.
5327 * gdb.mi/mi-until.exp: Likewise.
5328 * gdb.mi/mi-var-cp.exp: Likewise.
5329 * gdb.mi/mi-var-display.exp: Likewise.
5330 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
5331 * gdb.mi/mi2-var-child.exp: Likewise.
5332 * gdb.mi/mi-vla-c99.exp: Likewise.
5333 * lib/mi-support.exp: Likewise.
5334
5335 From Ian Lance Taylor <iant@cygnus.com>:
5336 * lib/gdb.exp (parse_args): New procedure.
5337
08351840
PA
53382014-04-23 Pedro Alves <palves@redhat.com>
5339
5340 * gdb.base/break-unload-file.c: New file.
5341 * gdb.base/break-unload-file.exp: New file.
5342 * gdb.base/sym-file-lib.c (baz): New function.
5343 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
5344 field.
5345 (load): Store the segment's mapped size.
5346 (unload): New function.
5347 (unload_shlib): New function.
5348 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
5349 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
5350 set a breakpoint at baz, and call it.
5351 * gdb.base/sym-file.exp: New tests for stale breakpoint
5352 instructions.
5353
076855f9
PA
53542014-04-23 Pedro Alves <palves@redhat.com>
5355
5356 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
5357 * gdb.base/hbreak-in-shr-unsupported.c: New file.
5358 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
5359 * gdb.base/hbreak-unmapped.c: New file.
5360 * gdb.base/hbreak-unmapped.exp: New file.
5361 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
5362 * lib/gdb.exp (gdb_is_target_remote): ... here.
5363
483805cf
PA
53642014-04-22 Pedro Alves <palves@redhat.com>
5365
5366 * gdb.base/consecutive-step-over.c: New file.
5367 * gdb.base/consecutive-step-over.exp: New file.
5368
06d97543
PA
53692014-04-22 Pedro Alves <palves@redhat.com>
5370
5371 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
5372 instead of send_gdb/gdb_expect.
5373
b4429ea2
YQ
53742014-04-22 Yao Qi <yao@codesourcery.com>
5375
5376 * lib/trace-support.exp (generate_tracefile): New procedure.
5377 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
5378 return 0.
5379 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
5380 if generate_tracefile returns 1.
5381
51d48146
PA
53822014-04-18 Tom Tromey <palves@redhat.com>
5383 Pedro alves <tromey@redhat.com>
5384
5385 PR backtrace/15558
5386 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
5387 with a backtrace limit.
5388 * gdb.python/py-frame-inline.exp: Test running to an inline
5389 function with a backtrace limit, and printing the newest frame.
5390 * gdb.python/py-frame-inline.c (main): Call f.
5391
bd1dce5f
MS
53922014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
5393
5394 * gdb.java/jnpe.exp: Drop srcdir from untested path.
5395
40d1a503
MS
53962014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
5397
5398 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
5399 Drop prefix from unsupported source file path.
5400
389b98f7
YQ
54012014-04-17 Yao Qi <yao@codesourcery.com>
5402
5403 * lib/gdb.exp (with_target_charset): New proc.
5404 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
5405 with_target_charset.
5406 (test_print_strings): Likewise.
5407 (test_repeat_bytes): Likewise.
5408 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
5409 for some tests.
5410
22869d73
KS
54112014-04-16 Keith Seitz <keiths@redhat.com>
5412
5413 PR gdb/15827
5414 * gdb.dwarf2/corrupt.c: New file.
5415 * gdb.dwarf2/corrupt.exp: New file.
5416
c4f87ca6
KS
54172014-04-16 Keith Seitz <keiths@redhat.com>
5418
5419 PR c++/16597
5420 * gdb.cp/namelessclass.cc: New file.
5421 * gdb.cp/namelessclass.exp: New file.
5422 * gdb.cp/namelessclass.S: New file.
5423
ab19de87
DE
54242014-04-16 Doug Evans <dje@google.com>
5425
5426 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
5427 Add comment.
5428 (gdbserver_default_get_comm_port): New function.
5429 (gdbserver_start): Check if board file provided
5430 "gdbserver,get_comm_port" and use it if so.
5431 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
5432 (gdb,socketport): Set to "stdio".
5433 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
5434 (stdio_gdbserver_template): Delete.
5435 (${board}_get_remote_address): Update.
5436 (${board}_build_remote_cmd): Delete.
5437 (${board}_get_comm_port): New function.
5438 (${board}_spawn): Update.
5439 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
5440 Delete.
5441 (${board}_get_remote_address): Update.
5442 (${board}_get_comm_port): New function.
5443
fc98a809
AB
54442014-04-16 Andrew Burgess <aburgess@broadcom.com>
5445
5446 * gdb.base/memattr.exp: Improve regexps to handle memory regions
5447 appearing in any order.
5448
87fd9e6e
DE
54492014-04-15 Doug Evans <dje@google.com>
5450
5451 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
5452 uninitialized value of "description".
5453
099fc3ea
KS
54542014-04-15 Keith Seitz <keiths@redhat.com>
5455
5456 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
5457 Remove unused globals.
5458 (test_running_the_program): Likewise.
5459 (test_controlled_execution): Likewise.
5460 (test_controlling_breakpoints): Likewise.
5461 (test_program_termination): Likewise.
5462
5da151d4
KS
54632014-04-15 Keith Seitz <keiths@redhat.com>
5464
5465 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
5466 unused globals.
5467 (test_rbreak_creation_and_listing): Likewise.
5468 (test_ignore_count): Likewise.
5469 (test_error): Likewise.
5470
35e5d2f0
PA
54712014-04-15 Pedro Alves <palves@redhat.com>
5472
5473 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
5474 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
5475 sym-file-loader.c.
5476 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
5477 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
5478 to sym-file-loader.c.
5479 (struct library): Forward declare.
5480 (load_shlib, lookup_function): Change prototypes.
5481 (find_shstrtab, find_strtab, find_shdr, find_symtab)
5482 (translate_offset): Remove declarations.
5483 (get_text_addr): New declaration.
5484 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
5485 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
5486 sym-file-loader.h.
5487 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
5488 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
5489 here from sym-file-loader.h.
5490 (struct library): New structure.
5491 (load_shlib, lookup_function): Change prototypes and adjust to
5492 work with a struct library.
5493 (find_shstrtab, find_strtab, find_shdr, find_symtab)
5494 (translate_offset): Make static.
5495 (get_text_addr): New function.
5496 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
5497
eb4c1710
PA
54982014-04-15 Pedro Alves <palves@redhat.com>
5499
5500 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
5501
2d1baf52
PA
55022014-04-15 Pedro Alves <palves@redhat.com>
5503
5504 * gdb.base/sym-file-loader.c: Include <limits.h>.
5505 (SELF_LINK): New define.
5506 (get_origin): New function.
5507 (load_shlib): Use it.
5508 * gdb.base/sym-file.exp: Don't early return if the target is
5509 remote. Use runto_main, and issue fail is that fails. Use
5510 gdb_load_shlibs.
5511 (shlib_name): Delete.
5512 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
5513
7dd6df01
PA
55142014-04-15 Pedro Alves <palves@redhat.com>
5515
5516 * gdb.base/sym-file.exp: Remove regex characters from test
5517 message. Don't refer to breakpoint numbers in test messages.
5518
b50c8614
KS
55192014-04-14 Keith Seitz <keiths@redhat.com>
5520
5521 PR c++/16253
5522 * gdb.cp/var-tag.cc: New file.
5523 * gdb.cp/var-tag.exp: New file.
5524 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
5525 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
5526 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
5527 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
5528
3d567982
TT
55292014-04-14 Tom Tromey <tromey@redhat.com>
5530
5531 * gdb.cp/classes.exp (test_enums): Handle underlying type.
5532 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
5533 type.
5534 * gdb.cp/enum-class.exp: New file.
5535 * gdb.cp/enum-class.cc: New file.
5536
0626fc76
TT
55372014-04-14 Tom Tromey <tromey@redhat.com>
5538
5539 * gdb.dwarf2/enum-type.exp: New file.
5540
dca325b3
SA
55412014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5542
5543 * gdb.mi/mi-vla-c99.exp: New file.
5544 * gdb.mi/vla.c: New file.
5545
5854b38a
SA
55462014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5547
5548 * gdb.base/vla-datatypes.c: New file.
5549 * gdb.base/vla-datatypes.exp: New file.
5550
463bb957
SA
55512014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5552
5553 * gdb.base/vla-ptr.c: New file.
5554 * gdb.base/vla-ptr.exp: New file.
5555
3dd170be
SA
55562014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5557
5558 * gdb.dwarf2/count.exp: New file.
5559
5ecaaa66
SA
55602014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5561
5562 * gdb.base/vla-sideeffect.c: New file.
5563 * gdb.base/vla-sideeffect.exp: New file.
5564
41f1ada5
DB
55652014-04-14 David Blaikie <dblaikie@gmail.com>
5566
5567 * gdb.mi/non-stop.c: Add return value for non-void function return
5568 statement.
5569 * gdb.threads/staticthreads.c: Ditto.
5570
0be03e84
DE
55712014-04-12 Siva Chandra Reddy <sivachandra@google.com>
5572 Doug Evans <xdje42@gmail.com>
5573
5574 * gdb.guile/scm-value.c: Improve test case.
5575 * gdb.guile/scm-value.exp: Add new test.
5576
f180a1fb
DB
55772014-04-11 David Blaikie <dblaikie@gmail.com>
5578
5579 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
5580 override Clang's default.
5581
6b662e19
JB
55822014-04-11 Joel Brobecker <brobecker@adacore.com>
5583
5584 Revert the following changes (regressions):
5585
5586 * gdb.base/vla-sideeffect.c: New file.
5587 * gdb.base/vla-sideeffect.exp: New file.
5588
5589 * gdb.dwarf2/count.exp: New file.
5590
5591 * gdb.base/vla-multi.c: New file.
5592 * gdb.base/vla-multi.exp: New file.
5593
5594 * gdb.base/vla-ptr.c: New file.
5595 * gdb.base/vla-ptr.exp: New file.
5596
5597 * gdb.base/vla-datatypes.c: New file.
5598 * gdb.base/vla-datatypes.exp: New file.
5599
5600 * gdb.mi/mi-vla-c99.exp: New file.
5601 * gdb.mi/vla.c: New file.
5602
245a5f0b
KS
56032014-04-11 Keith Seitz <keiths@redhat.com>
5604
5605 PR c++/16675
5606 * gdb.cp/cpsizeof.exp: New file.
5607 * gdb.cp/cpsizeof.cc: New file.
5608
58a84dcf
SA
56092014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5610
191a8a90
JB
5611 * gdb.mi/mi-vla-c99.exp: New file.
5612 * gdb.mi/vla.c: New file.
58a84dcf 5613
c8655f75
SA
56142014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5615
5616 * gdb.base/vla-datatypes.c: New file.
5617 * gdb.base/vla-datatypes.exp: New file.
5618
024e13b4
SA
56192014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5620
5621 * gdb.base/vla-ptr.c: New file.
5622 * gdb.base/vla-ptr.exp: New file.
5623
1a237e0e
SA
56242014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5625
5626 * gdb.base/vla-multi.c: New file.
5627 * gdb.base/vla-multi.exp: New file.
5628
504f3432
SA
56292014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5630
5631 * gdb.dwarf2/count.exp: New file.
5632
3bce8237
SA
56332014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5634
191a8a90
JB
5635 * gdb.base/vla-sideeffect.c: New file.
5636 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 5637
322f9c21
YQ
56382014-04-11 Yao Qi <yao@codesourcery.com>
5639
5640 * gdb.base/completion.exp: Check file exists before running tests
5641 on file completion.
5642
d708bcd1
PA
56432014-04-10 Pedro Alves <palves@redhat.com>
5644
5645 * gdb.base/cond-eval-mode.c: New file.
5646 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
5647 prepare_for_testing to build the new file. Check result of
5648 runto_main.
5649 (test_break, test_watch): New procedures.
5650 (top level): Use them.
5651
ae1d2761
PM
56522014-04-08 Pierre Muller <muller@sourceware.org>
5653
5654 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
5655 Ctrl-V use for mingw hosts.
5656
7af389b8
SC
56572014-04-07 Siva Chandra Reddy <sivachandra@google.com>
5658
5659 * gdb.python/py-value.c: Improve test case.
5660 * gdb.python/py-value.exp: Add new test.
5661
5e703181
DE
56622014-04-07 David Blaikie <dblaikie@gmail.com>
5663
5664 * lib/compiler.c: Identify the clang compiler.
5665 * lib/compiler.cc: Ditto.
5666
9810b410
YQ
56672014-04-03 Yao Qi <yao@codesourcery.com>
5668
5669 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
5670
98d1b8dc
AB
56712014-04-01 Anton Blanchard <anton@samba.org>
5672
5673 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
5674 messages unique.
5675
3114cea1
AB
56762014-04-01 Anton Blanchard <anton@samba.org>
5677
5678 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
5679 prepare_for_testing.
5680
62f7182c
AB
56812014-04-01 Anton Blanchard <anton@samba.org>
5682
5683 * gdb.arch/ppc64-atomic-inst.c: Remove.
5684 * gdb.arch/ppc64-atomic-inst.S: New file.
5685 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
5686
770e7fc7
DE
56872014-03-31 Doug Evans <dje@google.com>
5688
5689 * gdb.base/print-symbol-loading-lib.c: New file.
5690 * gdb.base/print-symbol-loading-main.c: New file.
5691 * gdb.base/print-symbol-loading.exp: New file.
5692
46e2bafa
YQ
56932014-03-31 Yao Qi <yao@codesourcery.com>
5694
5695 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
5696
8776cfe9
JB
56972014-03-28 Joel Brobecker <brobecker@adacore.com>
5698
5699 * gdb.ada/mi_dyn_arr: New testcase.
5700
5d1ef361
DE
57012014-03-27 Doug Evans <dje@google.com>
5702
5703 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
5704
b5bee914
YQ
57052014-03-27 Yao Qi <yao@codesourcery.com>
5706
5707 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
5708 if target is nios2-*-*.
5709
0d4d0e77
YQ
57102014-03-26 Yao Qi <yao@codesourcery.com>
5711
5712 * lib/gdb.exp (readline_is_used): New proc.
5713 * gdb.base/completion.exp: Move tests on command complete up.
5714 Skip the rest of tests if readline is not used.
5715 * gdb.ada/complete.exp: Skp the test if readline is not
5716 used.
5717 * gdb.base/filesym.exp: Likewise.
5718 * gdb.base/macscp.exp: Likewise.
5719 * gdb.base/readline-ask.exp: Likewise.
5720 * gdb.base/readline.exp: Likewise.
5721 * gdb.python/py-cmd.exp: Likewise.
5722 * gdb.trace/tfile.exp: Likewise.
5723
29361eee
YQ
57242014-03-26 Yao Qi <yao@codesourcery.com>
5725
5726 * gdb.base/macscp.exp: Fix code format issues.
5727
bc9a5525
UW
57282014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
5729
5730 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
5731 * gdb.asm/powerpc64le.inc: New file.
5732
d3839ede
PA
57332014-03-25 Pedro Alves <palves@redhat.com>
5734 Doug Evans <dje@google.com>
5735
5736 * gdb.base/source-execution.c: New file.
5737 * gdb.base/source-execution.exp: New file.
5738 * gdb.base/source-execution.gdb: New file.
5739
01672a57
DE
57402014-03-24 Doug Evans <dje@google.com>
5741
5742 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
5743 using fission.
5744
88bbeca9
HZ
57452014-03-24 Hui Zhu <hui@codesourcery.com>
5746 Pedro Alves <palves@redhat.com>
5747
5748 PR breakpoints/16101
5749 * gdb.base/dprintf.exp: Use unsupported rather than changing the
5750 test pass/fail messages. Detect missing support for dprintf when
5751 breakpoints are actually inserted.
5752 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
5753 breakpoints are actually inserted.
5754 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
5755 fails.
5756
d2348791
JK
57572014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5758
5759 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
5760
feef67ab
DE
57612014-03-22 Doug Evans <xdje42@gmail.com>
5762
5763 * gdb.python/python.exp (python not supported): Verify multi-line
5764 python command issues an error.
25d743f9 5765 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 5766 guile command issues an error.
feef67ab 5767
ecebef6a
MR
57682014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
5769
5770 * gdb.threads/thread-specific.exp: Handle the lack of usable
5771 $this_breakpoint and $this_thread.
5772
ccdd1909
HZ
57732014-03-21 Hui Zhu <hui@codesourcery.com>
5774
5775 * gdb.base/attach.exp (do_command_attach_tests): New.
5776
beb460e8
PA
57772014-03-20 Tom Tromey <tromey@redhat.com>
5778 Pedro Alves <palves@redhat.com>
5779
5780 PR cli/15718
5781 * gdb.base/condbreak-call-false.c: New file.
5782 * gdb.base/condbreak-call-false.exp: New file.
5783
40acf43a
PA
57842014-03-20 Pedro Alves <palves@redhat.com>
5785
5786 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
5787 Delete.
5788 (block_signals, unblock_signals): Delete.
5789 (child_function_2, main): Remove references to deleted variable
5790 and functions.
5791
9f5e1e02
PA
57922014-03-20 Pedro Alves <palves@redhat.com>
5793
5794 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
5795 Use pthread_kill to signal thread 2.
5796 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5797 Adjust to make the test send itself a signal rather than using the
5798 host's "kill" command.
5799
99619bea
PA
58002014-03-20 Pedro Alves <palves@redhat.com>
5801
5802 * gdb.threads/multiple-step-overs.c: New file.
5803 * gdb.threads/multiple-step-overs.exp: New file.
5804 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5805 Adjust expected infrun debug output.
5806
2adfaa28
PA
58072014-03-20 Pedro Alves <palves@redhat.com>
5808
5809 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
5810 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
5811
31e77af2
PA
58122014-03-20 Pedro Alves <palves@redhat.com>
5813
5814 PR breakpoints/7143
5815 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
5816 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
5817 of gdb_test_multiple.
5818 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
5819 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
5820
b9f437de
PA
58212014-03-20 Pedro Alves <palves@redhat.com>
5822
5823 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
5824 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
5825
05adc73e
PA
58262014-03-19 Pedro Alves <palves@redhat.com>
5827
5828 * gdb.base/async.exp: Remove early return.
5829
6048b950
PA
58302014-03-19 Pedro Alves <palves@redhat.com>
5831
5832 * gdb.base/async.exp (step& tests): Pass explicit test messages.
5833
8bcfb00a
PA
58342014-03-19 Pedro Alves <palves@redhat.com>
5835
5836 * gdb.base/async.exp (test_background): Expect \r\n after
5837 "completed." in the fail pattern.
5838
884e37dc
PA
58392014-03-19 Pedro Alves <palves@redhat.com>
5840
5841 * gdb.base/async.exp (test_background): New procedure.
5842 Use it for all background execution command tests.
5843
148e57e2
PA
58442014-03-19 Pedro Alves <palves@redhat.com>
5845
5846 * gdb.base/async.exp: Use prepare_for_testing.
5847
f48088c7
PA
58482014-03-19 Pedro Alves <palves@redhat.com>
5849
5850 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
5851 the same line.
5852
e2f6c966
PA
58532014-03-19 Pedro Alves <palves@redhat.com>
5854
5855 * gdb.base/async.c (main): Add "jump here" and "until here" line
5856 marker comments.
5857 * gdb.base/async.exp (jump_here): New global.
5858 (jump& test): Use it.
5859 (until_here): New global.
5860 (until& test): Use it.
5861
c30568d4
PA
58622014-03-19 Pedro Alves <palves@redhat.com>
5863
5864 * gdb.base/async.exp: Don't frob gdb_protocol.
5865
0172b6a7
DE
58662014-03-18 Doug Evans <xdje42@gmail.com>
5867
5868 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
5869 Fix spelling of exec-done-display.
5870
06c868a8
JK
58712014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5872
5873 PR gdb/15358
5874 * gdb.base/gdb-sigterm.c: New file.
5875 * gdb.base/gdb-sigterm.exp: New file.
5876
0c7e1a46
PA
58772014-03-18 Pedro Alves <palves@redhat.com>
5878
5879 PR gdb/13860
5880 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
5881 * lib/mi-support.exp (mi_expect_stop): Add special handling for
5882 solib-event.
5883
f7c77d93
JB
58842014-03-17 Joel Brobecker <brobecker@adacore.com>
5885
5886 * gdb.ada/pckd_arr_ren: New testcase.
5887
5a1e8c7a
DE
58882014-03-13 Doug Evans <xdje42@gmail.com>
5889
5890 PR guile/16612
5891 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
5892 collect after discarding symbols.
5893
350e1a76
DE
58942014-03-13 Ludovic Courtès <ludo@gnu.org>
5895 Doug Evans <xdje42@gmail.com>
5896
5897 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
5898 to history survives a gc.
5899
a69900ae
PA
59002014-03-13 Pedro Alves <palves@redhat.com>
5901
5902 * gdb.base/default.exp: Don't test "target procfs".
5903
5db9f0bd
PA
59042014-03-13 Pedro Alves <palves@redhat.com>
5905
5906 * gdb.base/default.exp: Update "target child" and "target procfs"
5907 tests to not expect "Unix".
5908
b3ccfe11
TT
59092014-03-12 Tom Tromey <tromey@redhat.com>
5910
5911 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
5912 New procs. Add target-async tests.
5913 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
5914 Add target-async tests.
5915
646f4417
AA
59162014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5917
5918 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
5919 'func_start' and 'func_end' for the beginning and end of the
5920 function code, respectively.
5921 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
5922 'func_end' instead of 'func' and 'main'.
5923
288c211f
AA
59242014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5925
5926 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
5927 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
5928 generate the debug info assembler source.
5929
e0c0f156
AA
59302014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5931
5932 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
5933 * gdb.dwarf2/arr-subrange.exp: Likewise.
5934 * gdb.dwarf2/dwz.exp: Likewise.
5935 * gdb.dwarf2/method-ptr.exp: Likewise.
5936 * gdb.dwarf2/missing-sig-type.exp: Likewise.
5937 * gdb.dwarf2/subrange.exp: Likewise.
5938 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
5939 * gdb.dwarf2/implptrpiece.exp: Likewise.
5940 * gdb.dwarf2/nostaticblock.exp: Likewise.
5941
0e5c4555
AA
59422014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5943
5944 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
5945 directory to absolute path name arguments.
5946
5ec18f2b
JG
59472014-03-10 Joel Brobecker <brobecker@adacore.com>
5948
5949 * gdb.ada/tagged_access: New testcase.
5950
847fc4f2
MM
59512014-03-07 Markus Metzger <markus.t.metzger@intel.com>
5952
5953 * gdb.btrace/data.exp: Update expected output.
5954
cc3da688
YQ
59552014-03-06 Yao Qi <yao@codesourcery.com>
5956
5957 * gdb.trace/pr16508.exp: New file.
5958
0f26cec1
PA
59592014-03-05 Pedro Alves <palves@redhat.com>
5960
5961 PR gdb/16575
5962 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
5963 procedure.
5964 (top level): Adjust to use it. Add tests that exercise breakpoint
5965 interaction with the code-cache.
5966
7a5a839f
LC
59672014-02-26 Ludovic Courtès <ludo@gnu.org>
5968
5969 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
5970 test for 'history-append!'.
5971
31aa7e4e
JB
59722014-02-26 Joel Brobecker <brobecker@adacore.com>
5973
5974 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
5975 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
5976 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
5977 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
5978 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
5979 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
5980
1b588015
JB
59812014-02-26 Joel Brobecker <brobecker@adacore.com>
5982
5983 * testsuite/gdb.python/py-pp-re-notag.c: New file.
5984 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
5985 * testsuite/gdb.python/py-pp-re-notag.p: New file.
5986
55426c9d
JB
59872014-02-26 Joel Brobecker <brobecker@adacore.com>
5988
5989 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
5990
dc53a7ad
JB
59912014-02-26 Joel Brobecker <brobecker@adacore.com>
5992
5993 * gdb.dwarf2/arr-stride.c: New file.
5994 * gdb.dwarf2/arr-stride.exp: New file.
5995
12ab52e9
PA
59962014-02-26 Pedro Alves <palves@redhat.com>
5997
5998 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
5999 that won't ever trigger. Make sure that GDB reports the correct
6000 breakpoint that caused the stop.
6001
849c862e
JK
60022014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6003
6004 PR gdb/16626
6005 * gdb.base/auto-load-script: New file.
6006 * gdb.base/auto-load.c: New file.
6007 * gdb.base/auto-load.exp: New file.
6008
71b7d793
JK
6009 PR gdb/16626
6010 * gdb.base/auto-load.exp: Fix out-of-srctree run.
6011
e2f0d509
JK
60122014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6013
6014 Fix dw2-icycle.exp -fsanitize=address GDB crash.
6015 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
6016
50cc37c8
DE
60172014-02-24 Doug Evans <dje@google.com>
6018
6019 * lib/gdb.exp (run_on_host): Log error output if program fails.
6020
ea4758f2
PA
60212014-02-21 Pedro Alves <palves@redhat.com>
6022
6023 * gdb.threads/step-after-sr-lock.c: Rename to ...
6024 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
6025 * gdb.threads/step-after-sr-lock.exp: Rename to ...
6026 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6027 ... this.
6028
d7b30f67
SDJ
60292014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
6030
6031 PR tdep/16397
6032 * gdb.arch/amd64-stap-special-operands.exp: New file.
6033 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
6034 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
6035 * gdb.arch/amd64-stap-triplet.S: Likewise.
6036 * gdb.arch/amd64-stap-triplet.c: Likewise.
6037
83deb43f
JB
60382014-02-20 Joel Brobecker <brobecker@adacore.com>
6039
6040 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
6041 in .section pseudo-op.
6042
adde2bff
DE
60432014-02-20 lin zuojian <manjian2006@gmail.com>
6044 Joel Brobecker <brobecker@adacore.com>
6045 Doug Evans <xdje42@gmail.com>
6046
6047 PR symtab/16581
6048 * gdb.dwarf2/dw2-icycle.S: New file.
6049 * gdb.dwarf2/dw2-icycle.c: New file.
6050 * gdb.dwarf2/dw2-icycle.exp: New file.
6051
f7bd0f78
SC
60522014-02-19 Siva Chandra Reddy <sivachandra@google.com>
6053
6054 * gdb.python/py-value-cc.cc: Improve test case to enable testing
6055 operations on gdb.Value objects.
6056 * gdb.python/py-value-cc.exp: Add new test to test operations on
6057 gdb.Value objects.
6058
c17ef0d5
DE
60592014-02-18 Doug Evans <dje@google.com>
6060
6061 * Makefile.in (TESTS): New variable.
6062 (expanded_tests, expanded_tests_or_none): New variables
6063 (check-single): Pass $(expanded_tests_or_none) to runtest.
6064 (check-parallel): Only run tests in $(TESTS) if non-empty.
6065 (check/no-matching-tests-found): New rule.
6066 * README: Document TESTS makefile variable.
6067
5dd3176f
DE
60682014-02-18 Doug Evans <dje@google.com>
6069
6070 * Makefile.in (check-parallel): rm -rf outputs temp.
6071
0b10be4f
JK
60722014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6073
6074 Fix "ERROR: no fileid for" in the testsuite.
6075 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
6076
85f224e7
DE
60772014-02-12 Doug Evans <dje@google.com>
6078
6079 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
6080 (MISCELLANEOUS): New variable.
6081 (clean): rm -rf $(MISCELLANEOUS).
6082 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
6083 dwp live in the same directory as symlinks, with each symlink pointed
6084 to a differently named file in a different directory.
6085
149b30ff
DE
60862014-02-11 Doug Evans <dje@google.com>
6087
6088 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
6089 of Tcl file commands.
6090
1dfdac32
MK
60912014-02-10 Mark Kettenis <kettenis@gnu.org>
6092
6093 * gdb.threads/step-after-sr-lock.exp: Avoid executing
6094 "kill -SIGUSR1 -1".
6095
aa4fb036
JB
60962014-02-10 Joel Brobecker <brobecker@adacore.com>
6097
6098 * gdb.ada/tick_length_array_enum_idx: New testcase.
6099
ed3ef339
DE
61002014-02-10 Doug Evans <xdje42@gmail.com>
6101
6102 * configure.ac (AC_OUTPUT): Add gdb.guile.
6103 * configure: Regenerate.
6104 * lib/gdb-guile.exp: New file.
6105 * lib/gdb.exp (get_target_charset): New function.
6106 * gdb.base/help.exp: Update expected output from "apropos apropos".
6107 * gdb.guile/Makefile.in: New file.
6108 * gdb.guile/guile.exp: New file.
6109 * gdb.guile/scm-arch.c: New file.
6110 * gdb.guile/scm-arch.exp: New file.
6111 * gdb.guile/scm-block.c: New file.
6112 * gdb.guile/scm-block.exp: New file.
6113 * gdb.guile/scm-breakpoint.c: New file.
6114 * gdb.guile/scm-breakpoint.exp: New file.
6115 * gdb.guile/scm-disasm.c: New file.
6116 * gdb.guile/scm-disasm.exp: New file.
6117 * gdb.guile/scm-equal.c: New file.
6118 * gdb.guile/scm-equal.exp: New file.
6119 * gdb.guile/scm-error.exp: New file.
6120 * gdb.guile/scm-error.scm: New file.
6121 * gdb.guile/scm-frame-args.c: New file.
6122 * gdb.guile/scm-frame-args.exp: New file.
6123 * gdb.guile/scm-frame-args.scm: New file.
6124 * gdb.guile/scm-frame-inline.c: New file.
6125 * gdb.guile/scm-frame-inline.exp: New file.
6126 * gdb.guile/scm-frame.c: New file.
6127 * gdb.guile/scm-frame.exp: New file.
6128 * gdb.guile/scm-generics.exp: New file.
6129 * gdb.guile/scm-gsmob.exp: New file.
6130 * gdb.guile/scm-iterator.c: New file.
6131 * gdb.guile/scm-iterator.exp: New file.
6132 * gdb.guile/scm-math.c: New file.
6133 * gdb.guile/scm-math.exp: New file.
6134 * gdb.guile/scm-objfile-script-gdb.in: New file.
6135 * gdb.guile/scm-objfile-script.c: New file.
6136 * gdb.guile/scm-objfile-script.exp: New file.
6137 * gdb.guile/scm-objfile.c: New file.
6138 * gdb.guile/scm-objfile.exp: New file.
6139 * gdb.guile/scm-ports.exp: New file.
6140 * gdb.guile/scm-pretty-print.c: New file.
6141 * gdb.guile/scm-pretty-print.exp: New file.
6142 * gdb.guile/scm-pretty-print.scm: New file.
6143 * gdb.guile/scm-section-script.c: New file.
6144 * gdb.guile/scm-section-script.exp: New file.
6145 * gdb.guile/scm-section-script.scm: New file.
6146 * gdb.guile/scm-symbol.c: New file.
6147 * gdb.guile/scm-symbol.exp: New file.
6148 * gdb.guile/scm-symtab-2.c: New file.
6149 * gdb.guile/scm-symtab.c: New file.
6150 * gdb.guile/scm-symtab.exp: New file.
6151 * gdb.guile/scm-type.c: New file.
6152 * gdb.guile/scm-type.exp: New file.
6153 * gdb.guile/scm-value-cc.cc: New file.
6154 * gdb.guile/scm-value-cc.exp: New file.
6155 * gdb.guile/scm-value.c: New file.
6156 * gdb.guile/scm-value.exp: New file.
6157 * gdb.guile/source2.scm: New file.
6158 * gdb.guile/types-module.cc: New file.
6159 * gdb.guile/types-module.exp: New file.
6160
7026a7c1
YQ
61612014-02-10 Yao Qi <yao@codesourcery.com>
6162
6163 PR testsuite/16543
6164 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
6165 * configure: Regenerated.
6166 * Makefile.in: New file.
6167
6c466447
AS
61682014-02-08 Andreas Schwab <schwab@linux-m68k.org>
6169
6170 * gdb.python/py-framefilter.exp: Fix typo.
6171
6e854735
YQ
61722014-02-08 Yao Qi <yao@codesourcery.com>
6173
6174 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
6175 that no =breakpoint-modified is emitted when breakpoints are
6176 modified through MI commands.
6177
d137e6dc
PA
61782014-02-07 Pedro Alves <pedro@codesourcery.com>
6179 Pedro Alves <palves@redhat.com>
6180
6181 * gdb.threads/step-after-sr-lock.c: New file.
6182 * gdb.threads/step-after-sr-lock.exp: New file.
6183
b5ee5a50
PA
61842014-02-07 Pedro Alves <palves@redhat.com>
6185
6186 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
6187
3c77faf3
JK
61882014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6189
6190 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
6191 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
6192
6dddc817
DE
61932014-02-06 Doug Evans <xdje42@gmail.com>
6194
6195 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
6196 output.
6197
6198 * gdb.gdb/python-interrupts.exp: New file.
6199
de7b2893
YQ
62002014-02-05 Yao Qi <yao@codesourcery.com>
6201
6202 * gdb.trace/report.exp (use_collected_data): Test the output
6203 of "info threads" and "info inferiors".
6204
66d032ac
YQ
62052014-02-05 Yao Qi <yao@codesourcery.com>
6206
6207 Revert this patch:
6208
6209 2013-05-24 Yao Qi <yao@codesourcery.com>
6210
6211 * gdb.trace/tfile.exp: Test inferior and thread.
6212
591a12a1
UW
62132014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6214
6215 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
6216 on a function.
6217 * gdb.base/step-bt.c: Call hello via function pointer to make
6218 sure its first instruction is executed on powerpc64le-linux.
6219
0ff3e01f
UW
62202014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6221
6222 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
6223
084ee545
UW
62242014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6225
6226 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
6227 of the test patterns for use on little-endian systems.
6228
6ed14ff3
UW
62292014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6230
6231 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
6232 (decimal_vector): Fix for little-endian.
6233
401e27fd
JM
62342014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
6235
6236 * gdb.arch/sparc-sysstep.exp: New file.
6237 * gdb.arch/sparc-sysstep.c: Likewise.
6238
6239 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
6240
8b924729
EBM
62412014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6242
6243 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
6244
fb151210
JB
62452014-01-23 Tom Tromey <tromey@redhat.com>
6246
6247 * gdb.ada/array_char_idx: New testcase.
6248
0740f8d8
TT
62492014-01-23 Tom Tromey <tromey@redhat.com>
6250
6251 PR python/16487:
6252 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
6253 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
6254 classes.
6255
21909fa1
TT
62562014-01-23 Tom Tromey <tromey@redhat.com>
6257
6258 PR python/16491:
6259 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
6260 string from an inferior frame.
6261 * gdb.python/py-framefilter-mi.exp: Update.
6262
87ce2a04
DE
62632014-01-22 Doug Evans <dje@google.com>
6264
6265 * gdb.server/server-mon.exp: Add tests for "set debug-format".
6266
237b092b
AA
62672014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6268
6269 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
6270
d674a709
AA
62712014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6272
6273 * gdb.trace/entry-values.exp: Remove excess space character from
6274 regex patterns. Handle s390 call instruction.
6275
20fa3390
AA
62762014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6277
6278 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
6279 define "*_start" label. Make "name" static.
6280 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
6281 ${name} by references to ${name}_start.
6282
78466714
AA
62832014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6284
6285 * gdb.base/info-macros.exp: Remove "debug" from the compile
6286 options.
6287
ec9f644a
IB
62882014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6289
6290 * gdb.dlang/demangle.exp: New file.
6291
94b1b47e
IB
62922014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6293
6294 * gdb.dlang/primitive-types.exp: New file.
6295
7f420862
IB
62962014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6297
6298 * configure.ac: Create gdb.dlang/Makefile.
6299 * configure: Regenerate.
6300 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
6301 * gdb.dlang/Makefile.in: New file.
6302 * lib/d-support.exp: New file.
6303 * lib/gdb.exp (skip_d_tests): New proc.
6304
52834460
MM
63052014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6306
6307 * gdb.btrace/delta.exp: Check reverse stepi.
6308 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
6309 * gdb.btrace/finish.exp: New.
6310 * gdb.btrace/next.exp: New.
6311 * gdb.btrace/nexti.exp: New.
6312 * gdb.btrace/record_goto.c: Add comments.
6313 * gdb.btrace/step.exp: New.
6314 * gdb.btrace/stepi.exp: New.
6315 * gdb.btrace/multi-thread-step.c: New.
6316 * gdb.btrace/multi-thread-step.exp: New.
6317 * gdb.btrace/rn-dl-bind.c: New.
6318 * gdb.btrace/rn-dl-bind.exp: New.
6319 * gdb.btrace/data.c: New.
6320 * gdb.btrace/data.exp: New.
6321 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
6322
6e07b1d2
MM
63232014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6324
6325 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
6326 * gdb.btrace/exception.exp: Update.
6327 * gdb.btrace/instruction_history.exp: Update.
6328 * gdb.btrace/record_goto.exp: Update.
6329 * gdb.btrace/tailcall.exp: Update.
6330 * gdb.btrace/unknown_functions.exp: Update.
6331 * gdb.btrace/delta.exp: New.
6332
0b722aec
MM
63332014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6334
6335 * gdb.btrace/record_goto.exp: Add backtrace test.
6336 * gdb.btrace/tailcall.exp: Add backtrace test.
6337
066ce621
MM
63382014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6339
6340 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
6341 * gdb.btrace/record_goto.c: New.
6342 * gdb.btrace/record_goto.exp: New.
6343 * gdb.btrace/x86-record_goto.S: New.
6344
0688d04e
MM
63452014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6346
6347 * gdb.btrace/function_call_history.exp: Update tests.
6348 * gdb.btrace/instruction_history.exp: Update tests.
6349
8710b709
MM
63502014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6351
6352 * gdb.btrace/function_call_history.exp: Fix expected field
6353 order for "record function-call-history".
6354 Add new tests for "record function-call-history /c".
6355 * gdb.btrace/exception.cc: New.
6356 * gdb.btrace/exception.exp: New.
6357 * gdb.btrace/tailcall.exp: New.
6358 * gdb.btrace/x86-tailcall.S: New.
6359 * gdb.btrace/x86-tailcall.c: New.
6360 * gdb.btrace/unknown_functions.c: New.
6361 * gdb.btrace/unknown_functions.exp: New.
6362 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
6363
5de9129b
MM
63642014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6365
6366 * gdb.btrace/instruction_history.exp: Update.
6367 * gdb.btrace/function_call_history.exp: Update.
6368
23a7fe75
MM
63692014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6370
6371 * gdb.btrace/function_call_history.exp: Fix expected function
6372 trace.
6373 * gdb.btrace/instruction_history.exp: Initialize traced.
6374 Remove traced_functions.
6375
724c7dd8
MM
63762014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6377
6378 * gdb.btrace/function_call_history.exp: Update
6379 * gdb.btrace/instruction_history.exp: Update.
6380
6d78d93b
MM
63812014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6382
6383 * gdb.btrace/enable.exp: Update expected text.
6384
93a360cc
OJ
63852014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
6386
6387 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
6388 bytes.
6389
3772b53f
MR
63902014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
6391
6392 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
6393
596662fa
OJ
63942014-01-15 Omair Javaid <omair.javaid@linaro.org>
6395
6396 * lib/gdb.exp (supports_process_record): Return true for
6397 arm*-linux*. (supports_reverse): Likewise.
6398
b5b08fb4
SC
63992014-01-13 Siva Chandra Reddy <sivachandra@google.com>
6400
6401 PR python/15464
6402 PR python/16113
6403 * gdb.python/py-type.c: Enhance test case.
6404 * gdb.python/py-value-cc.cc: Likewise
6405 * gdb.python/py-type.exp: Add new tests.
6406 * gdb.python/py-value-cc.exp: Likewise
6407
52d7fb13
AA
64082014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
6409 Pedro Alves <palves@redhat.com>
6410
6411 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
6412 Make "name" extern.
6413 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
6414 references to ${name}_start by references to ${name}.
6415
a2cd8cfe
JB
64162014-01-10 Joel Brobecker <brobecker@adacore.com>
6417
6418 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
6419
4e23fced
JB
64202014-01-10 Joel Brobecker <brobecker@adacore.com>
6421
6422 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
6423
c6a9e42c
PA
64242014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
6425 Pedro Alves <palves@redhat.com>
6426
6427 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 6428 mi_gdb_target_load.
c6a9e42c 6429
b7ea362b
PA
64302014-01-08 Pedro Alves <palves@redhat.com>
6431
6432 * gdb.threads/reconnect-signal.c: New file.
6433 * gdb.threads/reconnect-signal.exp: New file.
6434
5e3f4fab
EBM
64352014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6436
6437 * gdb.base/source-dir.exp: New file.
6438
79301218
JB
64392014-01-07 Joel Brobecker <brobecker@adacore.com>
6440
6441 * gdb.ada/mi_interface: New testcase.
6442
8e355c5d
JB
64432014-01-07 Joel Brobecker <brobecker@adacore.com>
6444
6445 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
6446 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
6447 gdb.ada/pp-rec-component/pck.ads: New files.
6448
c0d48811
JB
64492014-01-07 Joel Brobecker <brobecker@adacore.com>
6450
6451 * gdb.python/py-pp-integral.c: New file.
6452 * gdb.python/py-pp-integral.py: New file.
6453 * gdb.python/py-pp-integral.exp: New file.
6454
17b609c3 6455For older changes see ChangeLog-1993-2013.
c906108c 6456\f
8d8cb839
EZ
6457;; Local Variables:
6458;; mode: change-log
6459;; left-margin: 8
6460;; fill-column: 74
6461;; version-control: never
6462;; End:
902f2ccb 6463
32d0add0 6464 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
6465 Copying and distribution of this file, with or without modification,
6466 are permitted provided the copyright notice and this notice are preserved.
This page took 4.138551 seconds and 4 git commands to generate.