]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Update list of debug sections for --strip-debug-xxx options.
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
84429e27
YQ
12014-11-22 Yao Qi <yao@codesourcery.com>
2
3 * gdb.trace/entry-values.c: Remove asms.
4 (foo): Add foo_label.
5 (bar): Add bar_label.
6 * gdb.trace/entry-values.exp: Remove code computing foo's
7 length and bar's length.
8 (Dwarf::assemble): Invoke function_range for bar and use
9 MACRO_AT_func for foo.
10
26741859
YQ
112014-11-22 Yao Qi <yao@codesourcery.com>
12
13 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
14 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
15 Use .Lgcc43_procstart instead of gcc43.
16
45e44d27
JB
172014-11-21 Joel Brobecker <brobecker@adacore.com>
18
19 * gdb.ada/n_arr_bound: New testcase.
20
458c8db8
SDJ
212014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
22
23 PR breakpoints/10737
24 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
25 test_catch_syscall_multi_arch.
26 (test_catch_syscall_multi_arch): New function.
27
43f3e411
DE
282014-11-20 Doug Evans <xdje42@gmail.com>
29
30 * gdb.base/maint.exp: Update expected output.
31
0d7b2549
AA
322014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
33
34 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
35 4-byte instruction on S390.
36
8908fca5
JB
372014-11-19 Joel Brobecker <brobecker@adacore.com>
38
39 * gdb.ada/arr_arr: New testcase.
40
4a46959e
JB
412014-11-19 Joel Brobecker <brobecker@adacore.com>
42
43 * gdb.ada/pkd_arr_elem: New Testcase.
44
470e2f4e
LM
452014-11-18 Luis Machado <lgustavo@codesourcery.com>
46
47 * gdb.reverse/break-precsave: Expect completion message for
48 core file reads.
49 * gdb.reverse/consecutive-precsave.exp: Likewise.
50 * gdb.reverse/finish-precsave.exp: Likewise.
51 * gdb.reverse/i386-precsave.exp: Likewise.
52 * gdb.reverse/machinestate-precsave.exp: Likewise.
53 * gdb.reverse/sigall-precsave.exp: Likewise.
54 * gdb.reverse/solib-precsave.exp: Likewise.
55 * gdb.reverse/step-precsave.exp: Likewise.
56 * gdb.reverse/until-precsave.exp: Likewise.
57 * gdb.reverse/watch-precsave.exp: Likewise.
58
a267f3ad
AA
592014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
60
61 * gdb.base/bp-permanent.c: Include unistd.h.
62 * gdb.python/py-framefilter-mi.c (main): Add return type.
63 * gdb.python/py-framefilter.c (main): Likewise.
64 * gdb.trace/actions-changed.c (main): Likewise.
65
12084a9a
AA
662014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
67
68 * gdb.mi/until.c: Add eye-catchers.
69 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
70 line numbers.
71
dc7e1a77
AA
722014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
73
74 * gdb.base/condbreak.exp: Drop references to removed non-prototype
75 function header variants in break1.c.
76 * gdb.base/ena-dis-br.exp: Likewise.
77 * gdb.base/hbreak2.exp: Likewise.
78 * gdb.reverse/until-precsave.exp: Drop references to removed
79 non-prototype function header variants in ur1.c.
80 * gdb.reverse/until-reverse.exp: Likewise.
81
41c77605
PM
822014-11-17 Petr Machata <pmachata@redhat.com>
83
84 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
85 ${_cu_offset_size} bytes abbrev offset.
86
34248c3a
DE
872014-11-15 Doug Evans <xdje42@gmail.com>
88
89 PR symtab/17559
90 * gdb.base/line-symtabs.exp: New file.
91 * gdb.base/line-symtabs.c: New file.
92 * gdb.base/line-symtabs.h: New file.
93
646da059
YQ
942014-11-14 Yao Qi <yao@codesourcery.com>
95
96 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
97 (func): Add label func_label.
98 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
99 Replace low_pc and high_pc with MACRO_AT_range.
100 Replace name, low_pc and high_pc with MACRO_AT_func.
101
9301ebe6
YQ
1022014-11-14 Yao Qi <yao@codesourcery.com>
103
104 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
105 Replace name, low_pc and high_pc with MACRO_AT_func.
106
f166b542
YQ
1072014-11-14 Yao Qi <yao@codesourcery.com>
108
109 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
110 produce debug information.
111 * gdb.dwarf2/implptr-optimized-out.S: Removed.
112
0f6e71e3
YQ
1132014-11-14 Yao Qi <yao@codesourcery.com>
114
115 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
116 object and get function length.
117 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
118 with MACRO_AT_func.
119 (top-level): Replace gdb_compile and clean_restart with
120 prepare_for_testing.
121 * gdb.dwarf2/main.c (main): Add label main_label.
122
876c4df9
YQ
1232014-11-14 Yao Qi <yao@codesourcery.com>
124
125 * lib/dwarf.exp (function_range): New procedure.
126 (Dwarf::_handle_macro_at_func): New procedure.
127 (Dwarf::_handle_macro_at_range): New procedure.
128 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
129
02ad9cf1
YQ
1302014-11-14 Yao Qi <yao@codesourcery.com>
131
132 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
133 (_handle_attribute): New procedure.
134
a59add0c
AA
1352014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
136
137 * gdb.ada/cond_lang/foo.c (callme): Add return type.
138 * gdb.base/call-sc.c (zed): Likewise.
139 * gdb.base/checkpoint.c (main): Likewise.
140 * gdb.base/dump.c (main): Likewise.
141 * gdb.base/gcore.c (main): Likewise.
142 * gdb.base/huge.c (main): Likewise.
143 * gdb.base/multi-forks.c (main): Likewise.
144 * gdb.base/pr10179-a.c (main): Likewise.
145 * gdb.base/savedregs.c (main): Likewise.
146 * gdb.base/sigaltstack.c (main): Likewise.
147 * gdb.base/siginfo.c (main): Likewise.
148 * gdb.base/structs.c (zed): Likewise.
149 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
150 * gdb.mi/mi-syn-frame.c (main): Likewise.
151 * gdb.mi/until.c (foo, main): Likewise.
152 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
153 * gdb.base/solib-weak.c (foo): Declare.
154 * gdb.base/attach-twice.c: Include stdio.h.
155 * gdb.base/weaklib1.c: Likewise.
156 * gdb.base/weaklib2.c: Likewise.
157 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
158 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
159 unistd.h.
160 * gdb.base/attach-pie-misread.c: Include stdlib.h.
161 * gdb.mi/mi-exit-code.c: Likewise.
162 * gdb.base/break-interp-lib.c: Include string.h.
163 * gdb.base/coremaker.c: Likewise.
164 * gdb.base/testenv.c: Likewise.
165 * gdb.python/py-finish-breakpoint.c: Likewise.
166 * gdb.base/inferior-died.c: Include sys/wait.h.
167 * gdb.base/fileio.c: Include time.h.
168 * gdb.base/async-shell.c: Include unistd.h.
169 * gdb.base/dprintf-non-stop.c: Likewise.
170 * gdb.base/info-os.c: Likewise.
171 * gdb.mi/mi-console.c: Likewise.
172 * gdb.mi/watch-nonstop.c: Likewise.
173 * gdb.python/py-events.c: Likewise.
174 * gdb.base/async.c (baz): Move up before its invocation.
175 * gdb.base/code_elim2.c (my_global_func): Likewise.
176 * gdb.base/skip-solib-lib.c (multiply): Likewise.
177 * gdb.base/advance.c (func2): Likewise.
178
3b5d5997
AA
1792014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
180
181 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
182 variant.
183 * gdb.base/annota3.c: Likewise.
184 * gdb.base/async.c: Likewise.
185 * gdb.base/average.c: Likewise.
186 * gdb.base/call-ar-st.c: Likewise.
187 * gdb.base/call-rt-st.c: Likewise.
188 * gdb.base/call-sc.c: Likewise.
189 * gdb.base/call-strs.c: Likewise.
190 * gdb.base/ending-run.c: Likewise.
191 * gdb.base/execd-prog.c: Likewise.
192 * gdb.base/exprs.c: Likewise.
193 * gdb.base/foll-exec.c: Likewise.
194 * gdb.base/foll-fork.c: Likewise.
195 * gdb.base/foll-vfork.c: Likewise.
196 * gdb.base/funcargs.c: Likewise.
197 * gdb.base/gcore.c: Likewise.
198 * gdb.base/jump.c: Likewise.
199 * gdb.base/langs0.c: Likewise.
200 * gdb.base/langs1.c: Likewise.
201 * gdb.base/langs2.c: Likewise.
202 * gdb.base/mips_pro.c: Likewise.
203 * gdb.base/nodebug.c: Likewise.
204 * gdb.base/opaque0.c: Likewise.
205 * gdb.base/opaque1.c: Likewise.
206 * gdb.base/recurse.c: Likewise.
207 * gdb.base/run.c: Likewise.
208 * gdb.base/scope0.c: Likewise.
209 * gdb.base/scope1.c: Likewise.
210 * gdb.base/setshow.c: Likewise.
211 * gdb.base/setvar.c: Likewise.
212 * gdb.base/shmain.c: Likewise.
213 * gdb.base/shr1.c: Likewise.
214 * gdb.base/shr2.c: Likewise.
215 * gdb.base/sigall.c: Likewise.
216 * gdb.base/signals.c: Likewise.
217 * gdb.base/so-indr-cl.c: Likewise.
218 * gdb.base/solib2.c: Likewise.
219 * gdb.base/structs.c: Likewise.
220 * gdb.base/sum.c: Likewise.
221 * gdb.base/vforked-prog.c: Likewise.
222 * gdb.base/watchpoint.c: Likewise.
223 * gdb.reverse/shr2.c: Likewise.
224 * gdb.reverse/until-reverse.c: Likewise.
225 * gdb.reverse/ur1.c: Likewise.
226 * gdb.reverse/watch-reverse.c: Likewise.
227
066a77c5
AA
2282014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
229
230 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
231 variant.
232 * gdb.base/sepdebug.exp: Drop references to removed code.
233
4f204ea5
AA
2342014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
235
236 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
237 variant. Preserve original line numbering.
238 * gdb.base/list1.c: Likewise.
239
3b377a3a
AA
2402014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
241
242 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
243 variant.
244 * gdb.base/break1.c: Likewise.
245 * gdb.base/break.exp: Drop references to removed code.
246
e444df73
AA
2472014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
248
249 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
250 variant.
251
8008f2a7
AA
2522014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
253
254 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
255
a5a06887
AA
2562014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
257
258 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
259 logic into perform_all_tests() and invoke it with and without
260 function header prototypes.
261 (do_function_calls): Remove conditional XFAIL for PR 5318.
262 (rerun_and_prepare): Remove duplicate code.
263 (perform_all_tests): New. Main logic moved here.
264
44dba9b9
AA
2652014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
266
267 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
268 code guarded by #ifdef NO_PROTOTYPES.
269 (t_double_many_args): Likewise.
270 (DEF_FUNC_MANY_ARGS_1): Likewise.
271 (DEF_FUNC_VALUES_1): Likewise.
272 (t_structs_ldc): Renamed from t_structs_fc in conditional code
273 guarded by #ifdef PROTOTYPES.
274
d1fbcd56
AA
2752014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
276
277 * gdb.mi/mi-console.c: Add eye-catcher.
278 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
279 instead of literal line number.
280
b0e59b8f
AA
2812014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
282
283 * gdb.base/shr2.c: Add eye-catcher.
284 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
285 line number.
286
78f98cca
AA
2872014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
288
289 * gdb.base/jump.c: Add eye-catchers.
290 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
291 numbers.
292
58fa2af0
AA
2932014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
294
295 * gdb.base/execd-prog.c: Add eye-catchers.
296 * gdb.base/foll-exec.c: Likewise.
297 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
298 line numbers.
299
04e5059b
AA
3002014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
301
302 * gdb.base/ending-run.c: Add eye-catchers.
303 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
304 literal line numbers.
305
dbfdb174
AA
3062014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
307
308 * gdb.base/call-rt-st.c: Add eye-catchers.
309 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
310 literal line numbers.
311
888a2ade
AA
3122014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
313
314 * gdb.base/call-ar-st.c: Add eye-catchers.
315 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
316 literal line numbers.
317
6acc2dde
AA
3182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
319
320 * gdb.base/average.c: Add eye-catchers.
321 * gdb.base/sum.c: Likewise.
322 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
323 regexps dynamically.
324
9ecfcd1d
AA
3252014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
326
327 * gdb.base/solib1.c: Add eye-catchers.
328 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
329 literal line numbers.
330
78708b7c
PA
3312014-11-12 Pedro Alves <palves@redhat.com>
332
333 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
334 leader has exited.
335
af48d08f
PA
3362014-11-12 Pedro Alves <palves@redhat.com>
337
338 * gdb.arch/i386-bp_permanent.c: New file.
339 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
340 (srcfile): Set to i386-bp_permanent.c.
341 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
342 that stepi does not execute the 'leave' instruction, instead of
343 testing it does execute.
344 * gdb.base/bp-permanent.c: New file.
345 * gdb.base/bp-permanent.exp: New file.
346
af3768e9
DE
3472014-11-10 Doug Evans <xdje42@gmail.com>
348
349 PR symtab/17564
350 * gdb.base/symtab-search-order.exp: New file.
351 * gdb.base/symtab-search-order.c: New file.
352 * gdb.base/symtab-search-order-1.c: New file.
353 * gdb.base/symtab-search-order-shlib-1.c: New file.
354
9de00a4a
PA
3552014-11-07 Pedro Alves <palves@redhat.com>
356
357 PR gdb/17511
358 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
359 i?86-*-linux*.
360
e0f52461
SC
3612014-11-03 Siva Chandra Reddy <sivachandra@google.com>
362
363 PR c++/17494
364 * gdb.cp/pr17494.cc: New file.
365 * gdb.cp/pr17494.exp: New file.
366
6ce8c980
YQ
3672014-11-02 Yao Qi <yao@codesourcery.com>
368
369 * gdb.python/python.exp: Get working directory and match the
370 output of "set extended-prompt \\w " with it.
371
02be9a71
DE
3722014-10-30 Doug Evans <dje@google.com>
373
374 * gdb.python/py-objfile.exp: Add tests for setting random attributes
375 in objfiles.
376 * gdb.python/py-progspace.exp: Add tests for setting random attributes
377 in progspaces.
378
3bdff46b
LM
3792014-10-30 Janis Johnson <janisjo@codesourcery.com>
380
381 * gdb.base/fullpath-expand.exp: Skip for a remote host.
382 * gdb.base/realname-expand.exp: Likewise.
383 * gdb.linespec/macro-relative.exp: Likewise.
384
ab917dfb
PA
3852014-10-29 Pedro Alves <palves@redhat.com>
386
387 PR gdb/17408
388 * gdb.threads/schedlock.c (some_function): New function.
389 (call_function): New global.
390 (MAYBE_CALL_SOME_FUNCTION): New macro.
391 (thread_function): Call it.
392 * gdb.threads/schedlock.exp (get_args): Add description parameter,
393 and use it instead of a global counter. Adjust all callers.
394 (get_current_thread): Use "find current thread" for test message
395 here rather than having all callers pass down the same string.
396 (goto_loop): New procedure, factored out from ...
397 (my_continue): ... this.
398 (step_ten_loops): Change parameter from test message to command to
399 use. Adjust.
400 (list_count): Delete global.
401 (check_result): New procedure, factored out from duplicate top
402 level code.
403 (continue tests): Wrap in with_test_prefix.
404 (test_step): New procedure, factored out from duplicate top level
405 code.
406 (top level): Test "step" in combination with all scheduler-locking
407 modes. Test "next" in combination with all scheduler-locking
408 modes, and in combination with stepping over a function call or
409 not.
410 * gdb.threads/next-bp-other-thread.c: New file.
411 * gdb.threads/next-bp-other-thread.exp: New file.
412
d3d4baed
PA
4132014-10-29 Pedro Alves <palves@redhat.com>
414
415 PR python/17372
416 * gdb.python/python.exp: Test a multi-line command that spawns
417 interactive Python.
418 * gdb.base/multi-line-starts-subshell.exp: New file.
419
563e8d85
YQ
4202014-10-29 Yao Qi <yao@codesourcery.com>
421
422 * gdb.base/fileio.exp: Make directories on host.
423
0ea4d52e
YQ
4242014-10-29 Yao Qi <yao@codesourcery.com>
425
426 * gdb.base/fileio.c (test_write): Close the file.
427
7f5ef605
PA
4282014-10-28 Pedro Alves <palves@redhat.com>
429
430 PR gdb/12623
431 * gdb.base/sigstep.c (no_handler): New global.
432 (main): If 'no_handler is true, set the signal handlers to
433 SIG_IGN.
434 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
435 with_sw_watch and no_handler parameters. Handle them.
436 (top level) <stepping over handler when stopped at a breakpoint
437 test>: Add a test axis for testing with a software watchpoint, and
438 another for testing with the signal handler set to SIG_IGN.
439 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
440 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
441
abbdbd03
PA
4422014-10-28 Pedro Alves <palves@redhat.com>
443
444 PR gdb/17511
445 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
446 * gdb.base/sigstep.exp (other_handler_location): New global.
447 (advance): Support stepping into the signal handler, and running
448 commands while in the handler.
449 (in_handler_map): New global.
450 (top level): In the advance test, add combinations for getting
451 into the handler with stepping commands, and for running commands
452 in the handler. Add comment descripting the advancei tests.
453
1df4399f
PA
4542014-10-28 Pedro Alves <palves@redhat.com>
455
456 * gdb.base/sigstep.exp: Use build_executable instead of
457 prepare_for_testing.
458 (top level): Move code that starts GDB, runs to main and creates a
459 display to ...
460 (restart): ... this new procedure.
461 (top level): Move backtrace from signal handler test to ...
462 (validate_backtrace): ... this new procedure.
463 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
464 with_test_prefix. Always restart GDB.
465 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
466 with_test_prefix. Always restart GDB. No need to delete
467 breakpoints after the test.
468 (test_skip_handler): Remove prefix parameter.
469 (skip_over_handler, breakpoint_to_handler)
470 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
471 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
472 restart GDB. No need to delete breakpoints after the test.
473 (top level): Use foreach to call the test procedures with
474 different commands.
475
a5b6e449
PA
4762014-10-28 Pedro Alves <palves@redhat.com>
477
478 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
479 instead of GNATS numbers.
480 * gdb.base/sigbpt.exp: Likewise.
481 * gdb.base/siginfo.exp: Likewise.
482 * gdb.base/sigstep.exp: Likewise.
483
e5f8a7cc
PA
4842014-10-27 Pedro Alves <palves@redhat.com>
485
486 * gdb.base/sigstep.c (dummy): New global.
487 (main): Issue a couple writes to the new global.
488 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
489 procedures.
490 (skip_over_handler): Use test_skip_handler.
491 (top level): Call skip_over_handler for stepi and nexti too.
492 (breakpoint_over_handler): Use test_skip_handler.
493 (top level): Call breakpoint_over_handler for stepi and nexti too.
494
763905a3
YQ
4952014-10-27 Yao Qi <yao@codesourcery.com>
496
497 * gdb.trace/tfile.c (adjust_function_address)
498 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
499 function descriptor.
500
6f259a23
DB
5012014-10-24 Don Breazeal <donb@codesourcery.com>
502
503 * gdb.base/foll-fork.exp (test_follow_fork,
504 catch_fork_child_follow): Check for updated fork messages emitted
505 from infrun.c.
506 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
507 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
508 vfork_and_exec_child_follow_through_step): Check for updated vfork
509 messages emitted from infrun.c.
510
09dd9a69
PA
5112014-10-24 Pedro Alves <palves@redhat.com>
512
513 * gdb.base/corefile.exp: Remove references to ultrix.
514 * gdb.base/interrupt.exp: Likewise.
515 * gdb.base/whatis.exp: Likewise.
516 * gdb.gdb/selftest.exp: Likewise.
517 * gdb.threads/manythreads.exp: Likewise.
518 * gdb.threads/print-threads.exp: Likewise.
519 * gdb.threads/pthreads.exp:: Likewise.
520 * gdb.threads/schedlock.exp: Likewise.
521
3433cfa5
SC
5222014-10-24 Siva Chandra Reddy <sivachandra@google.com>
523
524 * gdb.cp/non-trivial-retval.cc: Add a test case.
525 * gdb.cp/non-trivial-retval.exp: Add a test.
526
092f880b
YQ
5272014-10-20 Yao Qi <yao@codesourcery.com>
528
529 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
530 * gdb.python/py-objfile-script-gdb.py: New file.
531 * gdb.python/py-objfile-script.exp: Update reference to
532 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
533 of remote_download. Remove the dest file.
534
acbdb7f3
YQ
5352014-10-20 Yao Qi <yao@codesourcery.com>
536
537 * gdb.base/checkpoint.exp: Don't remove file copied on host.
538 * gdb.base/step-line.exp: Likewise.
539 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
540 * gdb.dwarf2/dw2-basic.exp: Likewise.
541 * gdb.dwarf2/dw2-compressed.exp: Likewise.
542 * gdb.dwarf2/dw2-filename.exp: Likewise.
543 * gdb.dwarf2/dw2-intercu.exp: Likewise.
544 * gdb.dwarf2/dw2-intermix.exp: Likewise.
545 * gdb.dwarf2/dw2-producer.exp: Likewise.
546 * gdb.dwarf2/mac-fileno.exp: Likewise.
547 * gdb.python/py-frame-args.exp: Likewise.
548 * gdb.python/py-framefilter.exp: Likewise.
549 * gdb.python/py-mi.exp: Likewise.
550 * gdb.python/py-objfile-script.exp: Likewise
551 * gdb.python/py-pp-integral.exp: Likewise.
552 * gdb.python/py-pp-re-notag.exp: Likewise.
553 * gdb.python/py-prettyprint.exp: Likewise.
554 * gdb.python/py-section-script.exp: Likewise.
555 * gdb.python/py-typeprint.exp: Likewise.
556 * gdb.python/py-xmethods.exp: Likewise.
557 * gdb.stabs/weird.exp: Likewise.
558 * gdb.xml/tdesc-regs.exp: Likewise.
559
bd286a29
KCY
5602014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
561
562 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
563 (out_cu): Use addr_len for the size of addresses.
564 (out_line): Likewise. Size DW_LNE_set_address instruction
565 according to addr_len.
566 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
567 (FUNC): Add START_INSNS to definition.
568
673dc4a0
YQ
5692014-10-18 Yao Qi <yao@codesourcery.com>
570
571 * gdb.base/argv0-symlink.exp: Check argv[0] value if
572 gdb_has_argv0 return true.
573 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
574 check [target_info exists noargs], check [gdb_has_argv0]
575 instead.
576 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
577 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
578 procedures.
579
4ffbba72
DE
5802014-10-17 Doug Evans <dje@google.com>
581
582 * gdb.python/py-events.exp: Update expected output for clear_objfiles
583 event.
584 * gdb.python/py-events.py: Add clear_objfiles event.
585
d096d8c1
DE
5862014-10-17 Doug Evans <dje@google.com>
587
588 * gdb.python/py-objfile.exp: Test progspace attribute.
589
a80db015
LM
5902014-10-17 Luis Machado <lgustavo@codesourcery.com>
591
592 * gdb.guile/scm-breakpoint.exp: Do not assume any
593 directory separators when matching source file paths.
594 * gdb.python/py-breakpoint.exp: Likewise.
595 * gdb.reverse/break-precsave.exp: Likewise.
596 * gdb.reverse/break-reverse.exp: Likewise.
597 * gdb.reverse/consecutive-precsave.exp: Likewise.
598 * gdb.reverse/finish-precsave.exp: Likewise.
599 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
600 * gdb.reverse/finish-reverse.exp: Likewise.
601 * gdb.reverse/i386-precsave.exp: Likewise.
602 * gdb.reverse/i387-env-reverse.exp: Likewise.
603 * gdb.reverse/i387-stack-reverse.exp: Likewise.
604 * gdb.reverse/machinestate-precsave.exp: Likewise.
605 * gdb.reverse/machinestate.exp: Likewise.
606 * gdb.reverse/sigall-precsave.exp: Likewise.
607 * gdb.reverse/solib-precsave.exp: Likewise.
608 * gdb.reverse/step-precsave.exp: Likewise.
609 * gdb.reverse/until-precsave.exp: Likewise.
610 * gdb.reverse/watch-precsave.exp: Likewise.
611 * gdb.reverse/watch-reverse.exp: Likewise.
612
b22089ab
YQ
6132014-10-17 Yao Qi <yao@codesourcery.com>
614
615 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
616 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
617
6c4486e6
PA
6182014-10-17 Pedro Alves <palves@redhat.com>
619
620 PR gdb/17471
621 * gdb.base/bg-execution-repeat.c: New file.
622 * gdb.base/bg-execution-repeat.exp: New file.
623
0ff33695
PA
6242014-10-17 Pedro Alves <palves@redhat.com>
625
626 PR gdb/17300
627 * gdb.base/continue-all-already-running.c: New file.
628 * gdb.base/continue-all-already-running.exp: New file.
629
6fdebc3d
PA
6302014-10-17 Pedro Alves <palves@redhat.com>
631
632 PR gdb/17472
633 * gdb.base/annota-input-while-running.c: New file.
634 * gdb.base/annota-input-while-running.exp: New file.
635
32a8097b
PA
6362014-10-17 Pedro Alves <palves@redhat.com>
637
638 * gdb.base/callfuncs.exp: emove references to osf.
639 * gdb.base/sigall.exp: Likewise.
640 * gdb.gdb/selftest.exp: Likewise.
641 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
642 * gdb.mi/non-stop.c: Likewise.
643 * gdb.mi/pthreads.c: Likewise.
644 * gdb.reverse/sigall-precsave.exp: Likewise.
645 * gdb.reverse/sigall-reverse.exp: Likewise.
646 * gdb.threads/pthreads.c: Likewise.
647 * gdb.threads/pthreads.exp: Likewise.
648
7a3517ff
YQ
6492014-10-17 Yao Qi <yao@codesourcery.com>
650
651 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
652 check 'target_info exists noargs'.
653 (test_command_prompt_position): Likewise.
654 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
655 Remove "set args".
656 (progvar_simple_while_test): Likewise.
657 (progvar_complex_if_while_test): Likewise.
658 (if_while_breakpoint_command_test): Likewise.
659 (infrun_breakpoint_command_test): Likewise.
660 (breakpoint_command_test): Likewise.
661 (watchpoint_command_test): Likewise.
662 (bp_deleted_in_command_test): Likewise.
663 (temporary_breakpoint_commands): Likewise.
664
bb99c472
YQ
6652014-10-16 Yao Qi <yao@codesourcery.com>
666
667 * gdb.base/remotetimeout.exp: Remove noargs checking.
668
7c16b83e
PA
6692014-10-15 Pedro Alves <palves@redhat.com>
670
671 PR breakpoints/9649
672 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
673 * gdb.base/breakpoint-in-ro-region.exp
674 (probe_target_hardware_step): New procedure.
675 (top level): Probe hardware stepping and hardware breakpoint
676 support. Test stepping through a read-only region, with both
677 "breakpoint auto-hw" on and off and both "always-inserted" on and
678 off.
679
35a49624
IB
6802014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
681
682 * gdb.dlang/demangle.exp: Update for demangling changes.
683
2d1c107c
SC
6842014-10-15 Siva Chandra Reddy <sivachandra@google.com>
685
686 * gdb.cp/non-trivial-retval.cc: Add new test cases.
687 * gdb.cp/non-trivial-retval.exp: Add new tests.
688
778811d5
SC
6892014-10-15 Siva Chandra Reddy <sivachandra@google.com>
690
691 PR c++/13403
692 PR c++/15154
693 * gdb.cp/non-trivial-retval.cc: New file.
694 * gdb.cp/non-trivial-retval.exp: New file.
695
10c5f0a8
YQ
6962014-10-15 Yao Qi <yao@codesourcery.com>
697
698 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
699 remote host.
700
65d7b369
YQ
7012014-10-15 Yao Qi <yao@codesourcery.com>
702
703 * gdb.python/py-symbol.exp: Match file base name if host is
704 remote, otherwise match file name with dir name.
705 * gdb.python/py-symtab.exp: Likewise.
706 * gdb.python/python.exp: Likewise.
707
46dc1394
YQ
7082014-10-15 Yao Qi <yao@codesourcery.com>
709
710 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
711 pattern.
712 * gdb.python/py-symtab.exp: Likewise.
713 * gdb.python/python.exp: Remove trailing ".*". Fix typo
714 locationn.
715
c40cc657
JB
7162014-10-14 Joel Brobecker <brobecker@adacore.com>
717
718 * gdb.ada/addr_arith: New testcase.
719
2abf49e1
MR
7202014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
721
722 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
723 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
724 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
725 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
726
f7088df3
SDJ
7272014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
728
729 * gdb.arch/stap-eval-lang-ada.S: Likewise.
730 * gdb.arch/stap-eval-lang-ada.c: Likewise.
731 * gdb.arch/stap-eval-lang-ada.exp: New file.
732
4dc06805
YQ
7332014-10-14 Yao Qi <yao@codesourcery.com>
734
735 * gdb.mi/mi-var-child.c (nothing1): New function.
736 (nothing2): New function.
737 (do_children_tests): Set function pointers by nothing1 and
738 nothing2.
739 * gdb.mi/mi-var-child.exp: Step over new added statements.
740 Update test to match the new output.
741 * gdb.mi/var-cmd.c (nothing1): New function.
742 (nothing2): New function.
743 (do_children_tests): Set function pointers by nothing1 and
744 nothing2.
745 * gdb.mi/mi-var-display.exp: Update test to match output.
746 Step to the line specified by $line_dct_nothing.
747 Increase the number of lines to step.
748
46a93de2
YQ
7492014-10-14 Yao Qi <yao@codesourcery.com>
750
751 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
752 tests.
753 * gdb.mi/mi2-var-child.exp: Likewise.
754
14ea52ee
DE
7552014-10-13 Doug Evans <dje@google.com>
756
757 * gdb.python/py-objfile.exp: Change name of file name test.
758
e5c6e92b
DE
7592014-10-13 Doug Evans <dje@google.com>
760
761 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
762 from the start of the CU.
763
c780cc2f
JK
7642014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
765 Yao Qi <yao@codesourcery.com>
766
767 Fix "save breakpoints" for "catch" command.
768 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
769 Remove -nonewline. Match also the added "main" line.
770
99894e11
JK
7712014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
772
773 Fix "save breakpoints" for "disable $bpnum" command.
774 * gdb.base/save-bp.c (main): Add label.
775 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
776
6e1ac5a3
JK
7772014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
778
779 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
780
754dd2b0
YQ
7812014-10-11 Yao Qi <yao@codesourcery.com>
782
783 * gdb.server/server-kill.exp: Execute command
784 "set remote trace-status-packet on" before "tstatus".
785
f90183d7
YQ
7862014-10-11 Yao Qi <yao@codesourcery.com>
787
788 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
789 (main): Call getppid.
790 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
791 and continue to it. Read variable "server_pid".
792
bf40a607
YQ
7932014-10-11 Yao Qi <yao@codesourcery.com>
794
795 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
796
052ca370
YQ
7972014-10-11 Yao Qi <yao@codesourcery.com>
798
799 * gdb.threads/thread-find.exp: Don't execute command
800 "info threads".
801 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
802 * gdb.threads/linux-dp.exp: Don't check the condition
803 $threads_created equals to zero.
804
3831839c
PA
8052014-10-10 Pedro Alves <palves@redhat.com>
806
807 * gdb.base/bigcore.exp: Remove references to IRIX.
808 * gdb.base/funcargs.exp: Likewise.
809 * gdb.base/interrupt.exp: Likewise.
810 * gdb.base/mips_pro.exp: Likewise.
811 * gdb.base/nodebug.exp: Likewise.
812 * gdb.base/setvar.exp: Likewise.
813 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
814
8b9a549d
PA
8152014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
816 Pedro Alves <palves@redhat.com>
817
818 PR symtab/14466
819 * gdb.base/vdso-warning.c: New file.
820 * gdb.base/vdso-warning.exp: New file.
821
d48ba5e8
DE
8222014-10-02 Doug Evans <dje@google.com>
823
824 * gdb.base/structs.c (main): Don't run forever.
825
2278c276
PA
8262014-10-02 Pedro Alves <palves@redhat.com>
827
828 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
829 (top level) <stop threads 1, stop threads 2>: Use it.
830
b57bacec
PA
8312014-10-02 Pedro Alves <palves@redhat.com>
832
833 * gdb.threads/break-while-running.exp (test): Add new
834 'update_thread_list' argument. Skip "info threads" if false.
835 (top level): Add new 'update_thread_list' axis.
836
13fd3ff3
PA
8372014-10-02 Pedro Alves <palves@redhat.com>
838
839 PR breakpoints/17431
840 * gdb.base/execl-update-breakpoints.c: New file.
841 * gdb.base/execl-update-breakpoints.exp: New file.
842
0fec99e8
PA
8432014-10-01 Pedro Alves <palves@redhat.com>
844
845 * gdb.base/breakpoint-in-ro-region.c: New file.
846 * gdb.base/breakpoint-in-ro-region.exp: New file.
847
2ddf4301
SM
8482014-10-01 Simon Marchi <simon.marchi@ericsson.com>
849
850 * gdb.mi/mi-exit-code.exp: New file.
851 * gdb.mi/mi-exit-code.c: New file.
852
6a5f3f43
YQ
8532014-09-30 Yao Qi <yao@codesourcery.com>
854
855 * lib/prelink-support.exp (build_executable_own_libs): Error if
856 the target isn't native.
857
345bcc73
YQ
8582014-09-30 Yao Qi <yao@codesourcery.com>
859
860 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
861 false.
862
a25a5a45
PA
8632014-09-22 Pedro Alves <palves@redhat.com>
864
865 * gdb.threads/break-while-running.exp: New file.
866 * gdb.threads/break-while-running.c: New file.
867
00ba3162
YQ
8682014-09-19 Yao Qi <yao@codesourcery.com>
869
870 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
871 Invoke test. Restart GDB with --readnow and invoke test again.
872
c3b7b696
YQ
8732014-09-19 Yao Qi <yao@codesourcery.com>
874
875 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
876 proc set_breakpoint_on_gcd_function. Invoke
877 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
878 invoke set_breakpoint_on_gcd_function again.
879
2b4fd423
DE
8802014-09-18 Doug Evans <dje@google.com>
881
882 * gdb.dwarf2/symtab-producer.exp: New file.
883
a5947601
SDJ
8842014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
885
886 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
887 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
888 * gdb.base/global-var-nested-by-dso.c: Likewise.
889 * gdb.base/global-var-nested-by-dso.exp: Likewise.
890
91c19059
SDJ
8912014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
892 Pedro Alves <palves@redhat.com>
893
894 * gdb.base/watch-bitfields.exp: Pass string other than test file
895 name to prepare_for_testing.
896 (watch): New procedure.
897 (expect_watchpoint): Use with_test_prefix.
898 (top level): Factor out tests to ...
899 (test_watch_location, test_regular_watch): ... these new
900 procedures, and use with_test_prefix and gdb_continue_to_end.
901
bb9d5f81
PP
9022014-09-16 Patrick Palka <patrick@parcs.ath.cx>
903
904 PR breakpoints/12526
905 * gdb.base/watch-bitfields.exp: New file.
906 * gdb.base/watch-bitfields.c: New file.
907
635856f5
PA
9082014-09-16 Pedro Alves <palves@redhat.com>
909
910 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
911 software and hardware addresses, not software address against
912 itself.
913
7280ceea
PA
9142014-09-16 Pedro Alves <palves@redhat.com>
915
916 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
917 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
918
428b16bd
PA
9192014-09-16 Pedro Alves <palves@redhat.com>
920
921 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
922 files.
923 * gdb.base/a2-run.exp: Remove all code guarded by istarget
924 "*-*-vxworks*" throughout.
925 * gdb.base/break.exp: Likewise.
926 * gdb.base/default.exp: Likewise.
927 * gdb.base/scope.exp: Likewise.
928 * gdb.base/sepdebug.exp: Likewise.
929 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
930 throughout.
931 * gdb.base/run.c: Likewise.
932 * gdb.base/sepdebug.c: Likewise.
933 * gdb.hp/gdb.aCC/run.c: Likewise.
934 * gdb.reverse/until-reverse.c: Likewise.
935 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
936
666d413c
YQ
9372014-09-16 Yao Qi <yao@codesourcery.com>
938
939 * boards/local-remote-host-native.exp: New file.
940
57cbd724
DE
9412014-09-14 Doug Evans <xdje42@gmail.com>
942
943 * gdb.threads/queue-signal.c (thread_count): New variable.
944 (thread_count_mutex, thread_count_condvar): New variables.
945 (incr_thread_count, wait_all_threads_running): New functions.
946 (main): Wait for all threads to be in their thread functions.
947
81219e53
DE
9482014-09-13 Doug Evans <xdje42@gmail.com>
949
950 * gdb.threads/queue-signal.c: New file.
951 * gdb.threads/queue-signal.exp: New file.
952
3714cea7
DE
9532014-09-13 Doug Evans <xdje42@gmail.com>
954
955 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
956 be consistent with what default_gdb_init uses.
957 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
958 the plain text of the prompt. Add some logging printfs.
959 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
960
fa43b1d7
PA
9612014-09-12 Pedro Alves <palves@redhat.com>
962
963 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
964 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
965 * gdb.arch/i386-size-overlap.exp: Likewise.
966 * gdb.arch/i386-size.exp: Likewise.
967 * gdb.arch/i386-unwind.exp: Likewise.
968 * gdb.base/a2-run.exp: Likewise.
969 * gdb.base/break.exp: Likewise.
970 * gdb.base/charset.exp: Likewise.
971 * gdb.base/chng-syms.exp: Likewise.
972 * gdb.base/commands.exp: Likewise.
973 * gdb.base/dbx.exp: Likewise.
974 * gdb.base/find.exp: Likewise.
975 * gdb.base/funcargs.exp: Likewise.
976 * gdb.base/jit-simple.exp: Likewise.
977 * gdb.base/reread.exp: Likewise.
978 * gdb.base/sepdebug.exp: Likewise.
979 * gdb.base/step-bt.exp: Likewise.
980 * gdb.cp/mb-inline.exp: Likewise.
981 * gdb.cp/mb-templates.exp: Likewise.
982 * gdb.objc/basicclass.exp: Likewise.
983 * gdb.threads/killed.exp: Likewise.
984
9d9bf2df
EBM
9852014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
986
987 PR tdep/17379
988 * gdb.arch/powerpc-stackless.S: New file.
989 * gdb.arch/powerpc-stackless.exp: New file.
990
1cf2f1b0
JK
9912014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
992
993 * gdb.base/attach.c: Include unistd.h.
994 (main): Call alarm. Add label postloop.
995 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
996 gdb_breakpoint, gdb_continue_to_breakpoint.
997 (test_command_line_attach_run): Kill ${testpid} in one exit path.
998
98880d46
PA
9992014-09-11 Pedro Alves <palves@redhat.com>
1000
1001 PR gdb/17347
1002 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
1003 * gdb.base/attach.exp (test_command_line_attach_run): New
1004 procedure.
1005 (top level): Call it.
1006
4c92ff2c
PA
10072014-09-11 Pedro Alves <palves@redhat.com>
1008
1009 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
1010 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
1011 (do_command_attach_tests): Use spawn_wait_for_attach.
1012 * gdb.base/solib-overlap.exp: Likewise.
1013 * gdb.multi/multi-attach.exp: Likewise.
1014 * gdb.python/py-prompt.exp: Likewise.
1015 * gdb.python/py-sync-interp.exp: Likewise.
1016 * gdb.server/ext-attach.exp: Likewise.
1017
3adc1a7d
GKB
10182014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
1019
1020 * gdb.fortran/array-element.exp: Remove unexpected "continue"
1021 command in testcase. Simplify testcase.
1022
96334934
JB
10232014-09-10 Joel Brobecker <brobecker@adacore.com>
1024
1025 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
1026
eb479039
JB
10272014-09-10 Joel Brobecker <brobecker@adacore.com>
1028
1029 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
1030
deede10c
JB
10312014-09-10 Joel Brobecker <brobecker@adacore.com>
1032
1033 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
1034
7828a5f5
JB
10352014-09-10 Joel Brobecker <brobecker@adacore.com>
1036
1037 * gdb.dwarf2/dynarr-ptr.c: New file.
1038 * gdb.dwarf2/dynarr-ptr.exp: New file.
1039
33aeebcf
MR
10402014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1041
1042 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
1043 of 30 rather than hardcoding 120 for a slow test case. Take the
1044 `gdb,timeout' target setting into account for this calculation.
1045 Don't extend the timeout for the test cases that don't need it.
1046
7b415901
MR
10472014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1048
1049 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
1050 a factor of 2 for a slow test case. Take the `gdb,timeout'
1051 target setting into account for this calculation.
1052 * gdb.reverse/until-precsave.exp: Increase the timeout by
1053 a factor of 15 and 3 respectively rather than adding 120
1054 for a pair of slow test cases. Take the `gdb,timeout'
1055 target setting into account for this calculation.
1056
4a40f85a
MR
10572014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1058
1059 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
1060 timeout, don't pass one down to gdb_expect.
1061 (gdb_expect): Rework timeout selection.
1062
09635af7
MR
10632014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1064
1065 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
1066 exception on timeout.
1067 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
1068 (gdbserver_start_extended): Catch any `gdbserver_start' error
1069 exceptions.
1070 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
1071 * lib/mi-support.exp (mi_gdb_target_load): Catch any
1072 `gdbserver_gdb_load' error exceptions.
1073
2bdd10b7
MR
10742014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1075
1076 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
1077 120 on waiting for the TCP socket to open.
1078
316935f0
DE
10792014-09-09 Doug Evans <xdje42@gmail.com>
1080
1081 * gdb.base/default.exp (show_conv_list): Add _caller_is,
1082 _caller_matches, _any_caller_is, _any_caller_matches.
1083
83740597
DE
10842014-09-09 Doug Evans <xdje42@gmail.com>
1085
1086 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
1087
4c122fc3
YQ
10882014-09-09 Yao Qi <yao@codesourcery.com>
1089
1090 * gdb.mi/mi-var-display.exp: Set print symbol off.
1091
a9f116cb
GKB
10922014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
1093
1094 PR gdb/17035
1095 * gdb.base/commands.exp: Add tests to verify user-defined
1096 commands with empty bodies.
1097 * gdb.python/py-cmd.exp: Test that we don't show user-defined
1098 python commands in `show user command`.
1099 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
1100 scheme commands in `show user command`.
1101
c75bd3a2
JK
11022014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1103
1104 PR python/17355
1105 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
1106 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
1107 * gdb.python/py-framefilter-invalidarg.exp: New file.
1108 * gdb.python/py-framefilter-invalidarg.py: New file.
1109
faa42425
DE
11102014-09-06 Doug Evans <xdje42@gmail.com>
1111
1112 PR 15276
1113 * gdb.python/py-caller-is.c: New file.
1114 * gdb.python/py-caller-is.exp: New file.
1115
474ca4f6
SDJ
11162014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
1117
1118 PR gdb/17235
1119 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
1120 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
1121
eb0b0463
SDJ
11222014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
1123
1124 PR fortran/17237
1125 * gdb.fortran/print-formatted.exp: New file.
1126 * gdb.fortran/print-formatted.f90: Likewise.
1127
5f3b99cf
SS
11282014-09-03 Sasha Smundak <asmundak@google.com>
1129
1130 * gdb.python/py-frame.exp: Test Frame.read_register.
1131
7d793aa9
SDJ
11322014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
1133
1134 PR python/16699
1135 * gdb.python/py-completion.exp: New file.
1136 * gdb.python/py-completion.py: Likewise.
1137
fb0576e9
DE
11382014-08-28 Doug Evans <dje@google.com>
1139
1140 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
1141 eax,etc. are live with values set by gdb and thus the compiler can't
1142 use them.
1143 * gdb.arch/i386-pseudo.c (main): Ditto.
1144
ee92b0dd
DE
11452014-08-27 Doug Evans <dje@google.com>
1146
1147 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
1148
6649db35
DE
11492014-08-25 Doug Evans <dje@google.com>
1150
1151 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
1152 (main): Ditto.
1153
564b7600
DE
11542014-08-25 Doug Evans <dje@google.com>
1155
1156 * gdb.threads/thread-execl.exp: #include <stdio.h>.
1157
3881fb67
YQ
11582014-08-24 Yao Qi <yao@codesourcery.com>
1159
1160 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
1161 symbol off.
1162 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
1163
a05a36a5
DE
11642014-08-22 Doug Evans <dje@google.com>
1165
1166 PR 17276
1167 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
1168 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
1169 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
1170
7c343b48
YQ
11712014-08-22 Yao Qi <yao@codesourcery.com>
1172
1173 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
1174 * gdb.python/py-finish-breakpoint2.exp: Likewise.
1175 * gdb.python/python.exp: Likewise. Use .py file on the host
1176 instead of the build.
1177
22fd09ae
JK
11782014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1179
1180 * gdb.threads/gcore-stale-thread.c: New file.
1181 * gdb.threads/gcore-stale-thread.exp: New file.
1182
a8454a7c
PA
11832014-08-21 Pedro Alves <palves@redhat.com>
1184
1185 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
1186 * gdb.base/gcore-relro-pie.exp: Likewise.
1187 * gdb.base/gcore-relro.exp: Likewise.
1188 * gdb.base/gcore.exp: Likewise.
1189 * gdb.base/print-symbol-loading.exp: Likewise.
1190 * gdb.threads/gcore-thread.exp: Likewise.
1191 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
1192
2a31c623
PA
11932014-08-20 Pedro Alves <palves@redhat.com>
1194 Jan Kratochvil <jan.kratochvil@redhat.com>
1195
1196 * Makefile.in (EXTRA_RULES, CC): New variables, get from
1197 configure.
1198 (EXPECT): Handle READ1 being set.
1199 (all): Depend on EXTRA_RULES.
1200 (check-read1, expect-read1, read1.so, read1): New rules.
1201 * README (Testsuite Parameters): Document the READ1 make variable.
1202 (Race detection): New section.
1203 * configure: Regenerate.
1204 * configure.ac: If build==host==target, and running under a
1205 GNU/glibc system, add read1 to the extra Makefile rules.
1206 (EXTRA_RULES): AC_SUBST it.
1207 * lib/read1.c: New file.
1208
d36430db
JB
12092014-08-20 Joel Brobecker <brobecker@adacore.com>
1210
1211 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
1212 the handling of variables declared as a typedef to an array
1213 which a DW_AT_data_location attribute.
1214
9a0dc9e3
PA
12152014-08-19 Andrew Burgess <aburgess@broadcom.com>
1216 Pedro Alves <palves@redhat.com>
1217
1218 PR symtab/14604
1219 PR symtab/14605
1220 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
1221 gdb_test.
1222
0718a8da
PA
12232014-08-19 Pedro Alves <palves@redhat.com>
1224
1225 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
1226
13b448cd
YQ
12272014-08-19 Yao Qi <yao@codesourcery.com>
1228
1229 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
1230 right line.
1231
1cbf5077
DB
12322014-08-18 David Blaikie <dblaikie@gmail.com>
1233
1234 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
1235
bf0fae19
JB
12362014-08-18 Joel Brobecker <brobecker@adacore.com>
1237
1238 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
1239 attribute in array range.
1240
3c8c5dcc
JB
12412014-08-18 Joel Brobecker <brobecker@adacore.com>
1242
1243 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
1244
e66d4446
SC
12452014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1246
1247 PR c++/17132
1248 * gdb.cp/pr17132.cc: New file.
1249 * gdb.cp/pr17132.exp: New file.
1250
940df408
SC
12512014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1252
1253 * gdb.python/py-xmethods.py (A_getarrayind)
1254 (E_method_char_worker.__call__, E_method_int_worker.__call__):
1255 Use 'print' with function call syntax.
1256 (E_method_matcher.match): Fix tab vs space indentation mixup.
1257
ebcc6c3a
YQ
12582014-08-15 Yao Qi <yao@codesourcery.com>
1259
1260 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
1261 false.
1262
775e0f04
YQ
12632014-08-15 Yao Qi <yao@codesourcery.com>
1264
1265 * gdb.cp/casts.exp: Set print symbol off.
1266 * gdb.cp/class2.exp: Likewise.
1267 * gdb.cp/overload.exp: Likewise.
1268 * gdb.cp/templates.exp: Likewise.
1269
d769e349
DE
12702014-08-11 Doug Evans <dje@google.com>
1271
1272 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
1273 (test_load_shlib): Update.
1274
20c6f1e1
YQ
12752014-08-09 Yao Qi <yao@codesourcery.com>
1276
1277 * gdb.base/display.exp: Invoke is_address_zero_readable.
1278 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
1279 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1280 * gdb.base/hbreak-unmapped.exp: Return if
1281 is_address_zero_readable returns true.
1282 * gdb.base/signest.exp: Likewise.
1283 * gdb.base/signull.exp: Likewise.
1284 * gdb.base/sigbpt.exp: Likewise.
1285 * gdb.guile/scm-disasm.exp: Do the test if
1286 is_address_zero_readable returns false.
1287 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
1288 * gdb.python/py-arch.exp: Likewise.
1289 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
1290 * lib/gdb.exp (is_address_zero_readable): New proc.
1291
5792e8e3
YQ
12922014-08-09 Yao Qi <yao@codesourcery.com>
1293
1294 PR testsuite/13443
1295 * gdb.mi/mi-var-display.exp: Make test messages unique.
1296
3cecbbbe
TT
12972014-08-04 Tom Tromey <tromey@redhat.com>
1298
1299 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
1300 target 0".
1301
00b51ff5
TT
13022014-08-04 Tom Tromey <tromey@redhat.com>
1303
1304 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
1305 "target_resume".
1306
6908c509
JB
13072014-08-01 Joel Brobecker <brobecker@adacore.com>
1308
1309 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
1310 inner_vla_struct_object_size.
1311 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
1312 as xfail.
1313
cc6563d2
PA
13142014-07-30 Pedro Alves <palves@redhat.com>
1315
1316 * gdb.threads/signal-command-handle-nopass.exp (test): Add
1317 comment.
1318
7e09a223
YQ
13192014-07-29 Yao Qi <yao@codesourcery.com>
1320
1321 PR gdb/17206
1322 * gdb.base/until-nodebug.exp: New.
1323
7ebdbe92
DE
13242014-07-28 Doug Evans <xdje42@gmail.com>
1325
1326 PR guile/17203
1327 * gdb.guile/scm-parameter.exp: Add tests for trying to create
1328 previously existing parameter, and previously ambiguously spelled
1329 parameter.
1330
fdb1adc6
WN
13312014-07-28 Will Newton <will.newton@linaro.org>
1332
1333 * gdb.base/varargs.exp: Remove KFAILs for ARM.
1334
186fcde0
DE
13352014-07-26 Ludovic Courtès <ludo@gnu.org>
1336 Doug Evans <xdje42@gmail.com>
1337
1338 PR guile/17146
1339 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
1340
70509625
PA
13412014-07-25 Pedro Alves <palves@redhat.com>
1342
1343 * gdb.threads/signal-command-handle-nopass.c: New file.
1344 * gdb.threads/signal-command-handle-nopass.exp: New file.
1345 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
1346 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
1347 * gdb.threads/signal-delivered-right-thread.c: New file.
1348 * gdb.threads/signal-delivered-right-thread.exp: New file.
1349
c3f814a1
PA
13502014-07-25 Pedro Alves <palves@redhat.com>
1351
1352 * gdb.base/double-prompt-target-event-error.exp
1353 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
1354 match.
1355 (cancel_pagination_in_target_event): Rework double prompt
1356 detection.
1357 * gdb.base/paginate-after-ctrl-c-running.exp
1358 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
1359 <return>' match.
1360 * gdb.base/paginate-bg-execution.exp
1361 (test_bg_execution_pagination_return)
1362 (test_bg_execution_pagination_cancel): Remove '-notransfer
1363 <return>' matches.
1364 * gdb.base/paginate-execution-startup.exp
1365 (test_fg_execution_pagination_return)
1366 (test_fg_execution_pagination_cancel): Remove '-notransfer
1367 <return>' matches.
1368 * gdb.base/paginate-inferior-exit.exp
1369 (test_paginate_inferior_exited): Remove '-notransfer <return>'
1370 match.
1371 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
1372 * lib/gdb.exp (pagination_prompt): Run text through
1373 string_to_regexp.
1374 (gdb_test_multiple): Match $pagination_prompt instead of
1375 "<return>".
1376 (string_to_regexp): Move to lib/gdb-utils.exp.
1377
e214cf6c
JK
13782014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1379
1380 * gdb.arch/amd64-entry-value-paramref.S: New file.
1381 * gdb.arch/amd64-entry-value-paramref.cc: New file.
1382 * gdb.arch/amd64-entry-value-paramref.exp: New file.
1383 * gdb.arch/amd64-optimout-repeat.S: New file.
1384 * gdb.arch/amd64-optimout-repeat.c: New file.
1385 * gdb.arch/amd64-optimout-repeat.exp: New file.
1386
17d0c5c8
JK
13872014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1388
1389 PR gdb/17170
1390 * gdb.base/statistics.exp: New file.
1391
b8b8facf
DE
13922014-07-17 Doug Evans <dje@google.com>
1393
74b49205 1394 PR gdb/17170
b8b8facf
DE
1395 * gdb.base/maint.exp: Update testing of per-command stats.
1396
1b5d0ab3
PA
13972014-07-16 Pedro Alves <palves@redhat.com>
1398
1399 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
1400 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
1401 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
1402 (tfile_write_buf): New functions.
1403 (add_memory_block): Rewrite using the above.
1404 (adjust_function_address): New function.
1405 (FUNCTION_ADDRESS): New macro.
1406 (write_basic_trace_file): Remove short_x local, and use
1407 tfile_write_16. Change type of func_addr local to unsigned long
1408 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
1409 here. Cast argument of add_memory_block to char pointer.
1410 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
1411 (main): Remove parameters.
1412 * gdb.trace/tfile.exp: Remove nowarnings.
1413
4d974e88
SM
14142014-07-15 Simon Marchi <simon.marchi@ericsson.com>
1415
1416 * gdb.base/debug-expr.exp: Test string evaluation with
1417 "debug expression" on.
1418
41e99568
PA
14192014-07-15 Pedro Alves <palves@redhat.com>
1420
1421 * gdb.base/reread.exp: Use clean_restart.
1422
487d9753
PL
14232014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
1424
1425 * gdb.arch/avr-flash-qualifer.c: New.
1426 * gdb.arch/avr-flash-qualifer.exp: New.
1427
cc1c52ad
PA
14282014-07-14 Pedro Alves <palves@redhat.com>
1429
1430 * gdb.base/paginate-after-ctrl-c-running.c: New file.
1431 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
1432
1e973570
PA
14332014-07-14 Pedro Alves <palves@redhat.com>
1434
1435 * gdb.base/double-prompt-target-event-error.c: New file.
1436 * gdb.base/double-prompt-target-event-error.exp: New file.
1437
93d6eb10
PA
14382014-07-14 Pedro Alves <palves@redhat.com>
1439
1440 PR gdb/17072
1441 * gdb.base/paginate-inferior-exit.c: New file.
1442 * gdb.base/paginate-inferior-exit.exp: New file.
1443
0017922d
PA
14442014-07-14 Pedro Alves <palves@redhat.com>
1445
1446 PR gdb/17072
1447 * gdb.base/paginate-bg-execution.c: New file.
1448 * gdb.base/paginate-bg-execution.exp: New file.
1449
94696ad3
PA
14502014-07-14 Pedro Alves <palves@redhat.com>
1451
1452 PR gdb/17072
1453 * gdb.base/paginate-execution-startup.c: New file.
1454 * gdb.base/paginate-execution-startup.exp: New file.
1455 * lib/gdb.exp (pagination_prompt): New global.
1456 (default_gdb_spawn): New procedure, factored out from
1457 default_gdb_spawn.
1458 (default_gdb_start): Adjust to call default_gdb_spawn.
1459 (gdb_spawn): New procedure.
1460
bd293940
PA
14612014-07-14 Pedro Alves <palves@redhat.com>
1462
1463 * lib/gdb.exp (gdb_assert): New procedure.
1464 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
1465
c933f875
PA
14662014-07-14 Pedro Alves <palves@redhat.com>
1467
1468 * gdb.base/execution-termios.c: New file.
1469 * gdb.base/execution-termios.exp: New file.
1470
d98b7a16
TT
14712014-07-14 Tom Tromey <tromey@redhat.com>
1472
1473 * gdb.cp/vla-cxx.cc: New file.
1474 * gdb.cp/vla-cxx.exp: New file.
1475
548740d6
TT
14762014-07-14 Tom Tromey <tromey@redhat.com>
1477
1478 * gdb.reverse/rerun-prec.c: New file.
1479 * gdb.reverse/rerun-prec.exp: New file.
1480
a25eb028
MR
14812014-07-12 Maciej W. Rozycki <macro@mips.com>
1482 Maciej W. Rozycki <macro@codesourcery.com>
1483
1484 * lib/gdb-utils.exp: New file.
1485 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
1486 inline `gdb_init_command' processing.
1487 (gdb_start_cmd): Likewise.
1488 * lib/mi-support.exp (mi_run_cmd): Likewise.
1489 * README: Document `gdb_init_command' and `gdb_init_commands'.
1490
218c2655
JK
14912014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1492
1493 Fix false FAIL running under a very long directory name.
1494 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
1495 and "set print elements 10000". Twice.
1496
5401fde3
YQ
14972014-07-11 Yao Qi <yao@codesourcery.com>
1498
1499 * gdb.base/exprs.exp: "set print symbol off".
1500
e76126e8
PA
15012014-07-11 Pedro Alves <palves@redhat.com>
1502
1503 * gdb.threads/kill.c: New file.
1504 * gdb.threads/kill.exp: New file.
1505
2d6f0de6
YQ
15062014-07-10 Yao Qi <yao@codesourcery.com>
1507
1508 * gdb.trace/tfile.c (write_basic_trace_file)
1509 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
1510 address written to trace file.
1511
7180e04a
PA
15122014-07-09 Pedro Alves <palves@redhat.com>
1513
1514 * gdb.base/attach-wait-input.exp: New file.
1515 * gdb.base/attach-wait-input.c: New file.
1516
9a9a7608
AB
15172014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1518
1519 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
1520 setting up test structures.
1521 (main): Call new test function.
1522 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
1523 test function, continue into test function and walk test
1524 structures.
1525
161ac41e
YQ
15262014-07-02 Yao Qi <yao@codesourcery.com>
1527
1528 * gdb.trace/entry-values.c: Define labels 'foo_start' and
1529 'bar_start' at the beginning of functions 'foo' and 'bar'
1530 respectively.
1531 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
1532 instead of 'foo' and 'bar'.
1533
1f267ae3
MM
15342014-07-08 Markus Metzger <markus.t.metzger@intel.com>
1535
1536 * gdb.btrace/segv.exp: New.
1537 * gdb.btrace/segv.c: New.
1538
2b239efb
LM
15392014-07-02 Luis Machado <lgustavo@codesourcery.com>
1540
1541 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
1542 instruction.
1543
cf363f18
MW
15442014-06-30 Mark Wielaard <mjw@redhat.com>
1545
1546 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
1547 vulture, vilify, villar): New volatile array constants.
1548 (vindictive, vegetation): New const volatile array constants.
1549 * gdb.base/volatile.exp: Test volatile and const volatile array
1550 types.
1551
aebf9d24
AA
15522014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1553
1554 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
1555 target lacks support for awatch, rwatch, or hbreak.
1556
b67a2c6f
YQ
15572014-06-27 Yao Qi <yao@codesourcery.com>
1558
1559 * gdb.multi/dummy-frame-restore.exp: New.
1560 * gdb.multi/dummy-frame-restore.c: New.
1561
aef92902
MM
15622014-06-25 Markus Metzger <markus.t.metzger@intel.com>
1563
1564 * gdb.btrace/gcore.exp: New.
1565
8e9db26e
PA
15662014-06-23 Pedro Alves <palves@redhat.com>
1567
1568 * gdb.base/watchpoint-reuse-slot.c: New file.
1569 * gdb.base/watchpoint-reuse-slot.exp: New file.
1570
70afc5b7
SC
15712014-06-23 Siva Chandra Reddy <sivachandra@google.com>
1572
1573 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
1574 progspace's filename in 'info', 'enable' and 'disable' command
1575 tests.
1576
b972bd9c
JK
15772014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1578
1579 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
1580 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1581 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
1582
125f8a3d
GB
15832014-06-20 Gary Benson <gbenson@redhat.com>
1584
1585 * gdb.arch/i386-avx.exp: Fix include file location.
1586 * gdb.arch/i386-sse.exp: Likewise.
1587
3ed9baed
IB
15882014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
1589
1590 * gdb.dlang/expression.exp: New file.
1591
034f788c
PA
15922014-06-19 Pedro Alves <palves@redhat.com>
1593
1594 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
1595 out from ...
1596 (top level): ... here. Iterate running tests under different
1597 scheduler-locking settings.
1598
45371d0c
LM
15992014-06-18 Luis Machado <lgustavo@codesourcery.com>
1600
1601 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
1602 to DW_FORM_addr and use non-zero addresses.
1603
5d376983
SC
16042014-06-18 Siva Chandra Reddy <sivachandra@google.com>
1605
1606 PR gdb/17017
1607 * gdb.python/py-xmethods.cc: Add global function call counters and
1608 increment them in their respective functions. Remove "cout"
1609 statements.
1610 * gdb.python/py-xmethods.exp: Make tests check the global function
1611 call counters instead of depending on inferior IO.
1612
a1aa2221
LM
16132014-06-18 Don Breazeal <donb@codesourcery.com>
1614
1615 * gdb.base/foll-fork.exp (default_fork_parent_follow):
1616 Deleted procedure.
1617 (explicit_fork_parent_follow): Deleted procedure.
1618 (explicit_fork_child_follow): Deleted procedure.
1619 (test_follow_fork): New procedure.
1620 (do_fork_tests): Replace calls to deleted procedures with
1621 calls to test_follow_fork and reset GDB for subsequent
1622 procedure calls.
1623
0fc05997
YQ
16242014-06-17 Yao Qi <yao@codesourcery.com>
1625
1626 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
1627 CP1252.
1628
70795c52
LM
16292014-06-17 Luis Machado <lgustavo@codesourcery.com>
1630
1631 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
1632 Initialize ptr and S explicitly.
1633 (skip_type_update_when_not_use_rtti_test): Likewise.
1634
6be47f0c
KS
16352014-06-16 Keith Seitz <keiths@redhat.com>
1636
1637 PR mi/15863
1638 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
1639 the inferior is started.
1640
d03de421
PA
16412014-06-16 Pedro Alves <palves@redhat.com>
1642
1643 * gdb.base/break-main-file-remove-fail.c: New file.
1644 * gdb.base/break-main-file-remove-fail.exp: New file.
1645 * gdb.base/break-unload-file.exp: Use build_executable instead of
1646 prepare_for_testing.
1647 (test_break): New parameter "initial_load". Handle it.
1648 (top level): Add initial_load cmdline/file axis.
1649
f9579b99
TT
16502014-06-12 Tom Tromey <tromey@redhat.com>
1651
1652 * gdb.base/completion.exp: Don't use directory name in test.
1653
3657956b
GB
16542014-06-09 Gary Benson <gbenson@redhat.com>
1655
1656 * gdb.base/sigall.c [Functions to send signals]: Reorder to
1657 separate the always-available ANSI-standard signals from the
1658 signals that require checking.
1659 (main): Likewise.
1660 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
1661 Likewise.
1662 (main): Likewise.
1663
4186eb54
KS
16642014-06-07 Keith Seitz <keiths@redhat.com>
1665
1666 Revert:
1667 PR c++/16253
1668 * gdb.cp/var-tag.cc: New file.
1669 * gdb.cp/var-tag.exp: New file.
1670 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1671 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1672 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1673 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1674
25326a28 16752014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
1676
1677 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
1678
829155c9
PA
16792014-06-06 Pedro Alves <palves@redhat.com>
1680
1681 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
1682 in target debug output instead of looking at RSP packets,
1683 disabling the test on any target that uses hardware stepping.
1684 Update comments.
1685
61c8d22e
PA
16862014-06-06 Pedro Alves <palves@redhat.com>
1687
1688 * gdb.base/break-unload-file.exp: Fix typo.
1689
d9a47287
YQ
16902014-06-06 Yao Qi <yao@codesourcery.com>
1691
1692 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
1693 from "jit_function" to "^jit_function".
1694
e5e01dbf
YQ
16952014-06-06 Yao Qi <yao@codesourcery.com>
1696
1697 * gdb.base/async.c (foo): Add one statement.
1698 * gdb.base/async.exp: Get the next instruction address and
1699 match the output of "nexti" by instruction address. Match
1700 the hex address in the output of "finish".
1701
73ba372c
GB
17022014-06-06 Gary Benson <gbenson@redhat.com>
1703
1704 * gdb.base/call-signals.c: Remove preprocessor conditionals
1705 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
1706 SIGSEGV and SIGTERM.
1707 * gdb.base/sigall.c: Likewise.
1708 * gdb.base/unwindonsignal.c: Likewise.
1709 * gdb.reverse/sigall-reverse.c: Likewise.
1710
831517df
YQ
17112014-06-06 Yao Qi <yao@codesourcery.com>
1712
1713 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
1714 readable, skip the test.
1715
b8b91e98
YQ
17162014-06-06 Yao Qi <yao@codesourcery.com>
1717
1718 * gdb.threads/staticthreads.c (thread_function): Move the line
1719 setting breakpoint on forward.
1720 * gdb.threads/staticthreads.exp: Update comments.
1721
fb934770
LC
17222014-06-05 Ludovic Courtès <ludo@gnu.org>
1723
1724 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
1725 "history-append! type error".
1726
6ef284bd
SM
17272014-06-05 Simon Marchi <simon.marchi@ericsson.com>
1728
1729 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
1730 erroneous dprintf expected input.
1731
a872e241
DE
17322014-06-04 Doug Evans <xdje42@gmail.com>
1733
1734 * gdb.guile/scm-generics.exp: Delete.
1735
16f691fb
DE
17362014-06-04 Doug Evans <xdje42@gmail.com>
1737
1738 * gdb.guile/scm-breakpoint.exp: Update.
1739 Add tests for breakpoint registration.
1740
012370f6
TT
17412014-06-04 Tom Tromey <tromey@redhat.com>
1742
1743 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
1744 VLA-in-union.
1745 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
1746 inner_vla_struct, vla_union types. Initialize objects of those
1747 types and compute their sizes.
1748
9f5a4cef
HZ
17492014-06-04 Nathan Sidwell <nathan@codesourcery.com>
1750 Hui Zhu <hui@codesourcery.com>
1751
1752 * gdb.base/fileio.exp: Add test for shell not available as well as
1753 available.
1754 * gdb.base/fileio.c (test_system): Check for shell twice.
1755
90a45c4d
YQ
17562014-06-04 Yao Qi <yao@codesourcery.com>
1757
1758 * gdb.base/auto-connect-native-target.exp: Remove redundant
1759 space from the regexp pattern.
1760
70017e41
YQ
17612014-06-04 Yao Qi <yao@codesourcery.com>
1762
1763 * gdb.base/default.exp: Replace "child" with "native" in
1764 regexp pattern.
1765
883964a7
SC
17662014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1767
1768 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1769 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1770 * gdb.python/py-xmethods.py: Python script supporting the
1771 new testcase and tests.
1772
ef370185
JB
17732014-06-03 Joel Brobecker <brobecker@adacore.com>
1774 Pedro Alves <palves@redhat.com>
1775
1776 PR breakpoints/17000
1777 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1778 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1779
1e2ccb61
BM
17802014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1781
1782 * gdb.base/subst.exp: Add tests to verify partial path matching
1783 output.
1784
c6ec5ab2
PA
17852014-06-03 Pedro Alves <palves@redhat.com>
1786
1787 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1788 target that doesn't use software single-stepping.
1789
835c559f
PA
17902014-06-03 Pedro Alves <palves@redhat.com>
1791
1792 PR breakpoints/17000
1793 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1794 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1795
06eb1586
DE
17962014-06-02 Doug Evans <xdje42@gmail.com>
1797
1798 * gdb.guile/scm-parameter.exp: New file.
1799
e698b8c4
DE
18002014-06-02 Doug Evans <xdje42@gmail.com>
1801
1802 * gdb.guile/scm-cmd.c: New file.
1803 * gdb.guile/scm-cmd.exp: New file.
1804
ded03782
DE
18052014-06-02 Doug Evans <xdje42@gmail.com>
1806
1807 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1808 pretty-printer lookup.
1809 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1810 (make-pp_s-printer): Call it.
1811 (make-pretty-printer-from-dict): New function.
1812 (lookup-pretty-printer-maker-from-dict): New function.
1813 (*pretty-printer*): Simplify.
1814 (make-objfile-pp_s-printer): New function.
1815 (install-objfile-pretty-printers!): New function.
1816 (make-progspace-pp_s-printer): New function.
1817 (install-progspace-pretty-printers!): New function.
1818 * gdb.guile/scm-progspace.c: New file.
1819 * gdb.guile/scm-progspace.exp: New file.
1820
41fac0cf
PA
18212014-06-02 Pedro Alves <palves@redhat.com>
1822
1823 * gdb.base/dprintf-bp-same-addr.c: New file.
1824 * gdb.base/dprintf-bp-same-addr.exp: New file.
1825
96ae5695
EBM
18262014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1827
1828 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1829 * gdb.arch/powerpc-power.s: Likewise.
1830
da02b3a8
JB
18312014-06-02 Joel Brobecker <brobecker@adacore.com>
1832
1833 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1834
c72b2e7b
YQ
18352014-06-01 Yao Qi <yao@codesourcery.com>
1836
1837 * gdb.base/watchpoint.exp (test_watch_location): Check null
1838 pointer can be dereferenced. If not, do the test, otherwise
1839 skip it.
1840
53e8a631
AB
18412014-05-30 Andrew Burgess <aburgess@broadcom.com>
1842
1843 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1844 results.
1845 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1846
938f0e2f
AB
18472014-05-30 Andrew Burgess <aburgess@broadcom.com>
1848
1849 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1850 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1851 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1852 * gdb.arch/amd64-invalid-stack-top.c: New file.
1853 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1854
9ba6657a
PA
18552014-05-30 Pedro Alves <palves@redhat.com>
1856
1857 PR breakpoints/17000
1858 * gdb.base/sss-bp-on-user-bp.c: New file.
1859 * gdb.base/sss-bp-on-user-bp.exp: New file.
1860
522c09bf
DB
18612014-05-30 David Blaikie <dblaikie@gmail.com>
1862
1863 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1864 gnu_inline semantics via attribute.
1865 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1866 source explicitly specifies the required semantics.
1867
bf4ef81e
MR
18682014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1869
1870 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1871
329ea579
PA
18722014-05-29 Pedro Alves <palves@redhat.com>
1873 Tom Tromey <tromey@redhat.com>
1874
1875 * gdb.base/async-shell.exp: Don't enable target-async.
1876 * gdb.base/async.exp
1877 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1878 parameter. Adjust.
1879 (top level): Don't test with "target-async".
1880 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1881 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1882 * gdb.base/inferior-died.exp: Don't enable target-async.
1883 * gdb.base/interrupt-noterm.exp: Likewise.
1884 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1885 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1886 * gdb.mi/mi-nonstop.exp: Likewise.
1887 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1888 * gdb.mi/mi-nsintrall.exp: Likewise.
1889 * gdb.mi/mi-nsmoribund.exp: Likewise.
1890 * gdb.mi/mi-nsthrexec.exp: Likewise.
1891 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1892 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1893 * gdb.python/py-evsignal.exp: Don't enable target-async.
1894 * gdb.python/py-evthreads.exp: Likewise.
1895 * gdb.python/py-prompt.exp: Likewise.
1896 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1897 * gdb.server/solib-list.exp: Don't enable target-async.
1898 * gdb.threads/thread-specific-bp.exp: Likewise.
1899 * lib/mi-support.exp: Adjust to use mi-async.
1900
fd664c91
PA
19012014-05-29 Pedro Alves <palves@redhat.com>
1902
1903 PR gdb/13860
1904 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1905 reason, even in sync mode.
1906
251bde03
PA
19072014-05-29 Pedro Alves <palves@redhat.com>
1908 Hui Zhu <hui@codesourcery.com>
1909
1910 PR PR15693
1911 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1912 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1913 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1914 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1915
7f3c0343
JB
19162014-05-28 Joel Brobecker <brobecker@adacore.com>
1917
1918 * config/monitor.exp (gdb_target_monitor): Replace use of
1919 "set remotebaud" by "set serial baud".
1920
b2715b27
AW
19212014-05-26 Andy Wingo <wingo@igalia.com>
1922
1923 * gdb.guile/scm-breakpoint.exp:
1924 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1925 properties instead of gdb-object-properties.
1926
498a4489
YQ
19272014-05-26 Yao Qi <yao@codesourcery.com>
1928
1929 * gdb.server/no-thread-db.exp: Specify source file name
1930 explicitly when setting a breakpoint.
1931
589fdceb
MM
19322014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1933
1934 * gdb.btrace/vdso.c: New.
1935 * gdb.btrace/vdso.exp: New.
1936
e9089e05
MM
19372014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1938
1939 * gdb.base/gcore.exp (capture_command_output): Move ...
1940 * lib/gdb.exp (capture_command_output): ... here.
1941
67b5c0c1
MM
19422014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1943
1944 * gdb.btrace/data.exp: Test memory access during btrace replay.
1945
a2199296
SM
19462014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1947
1948 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1949
17b2616c
PA
19502014-05-21 Pedro Alves <palves@redhat.com>
1951
1952 PR gdb/13860
1953 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1954 (top level): Test that output related to execution commands is
1955 sent to the console with CLI commands, but not with MI commands.
1956 Test that breakpoint events are always mirrored to the console.
1957 Also expect the new source line to be output after a "next" in
1958 async mode too. Make it a pass/fail test.
1959 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
1960 output.
1961 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
1962
5166082f
PA
19632014-05-21 Pedro Alves <palves@redhat.com>
1964
1965 * gdb.base/list.exp (build_pattern, test_list): New procedures.
1966 Use them to test variations of "list" after reaching a breakpoint.
1967 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
1968 Test "list" with listsize 10 after reaching a breakpoint.
1969 * gdb.python/python.exp (decode_line current location line
1970 number): Adjust expected line number.
1971
2f25d70f
SM
19722014-05-21 Simon Marchi <simon.marchi@ericsson.com>
1973
1974 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
1975 behavior for $args, pass it directly to "run".
1976
ff604a67
MR
19772014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1978
1979 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
1980 30000 to 65536.
1981
6a3cb8e8
PA
19822014-05-21 Pedro Alves <palves@redhat.com>
1983
1984 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
1985 auto-connect-native-target off".
1986 * gdb.base/auto-connect-native-target.c: New file.
1987 * gdb.base/auto-connect-native-target.exp: New file.
1988
4ebfc96e
PA
19892014-05-21 Pedro Alves <palves@redhat.com>
1990
1991 * gdb.base/default.exp: Test "target native" instead of "target
1992 child".
1993
36d46afb
MW
19942014-05-21 Mark Wielaard <mjw@redhat.com>
1995
1996 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1997
5876f503
JK
19982014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1999
2000 Fix TLS access for -static -pthread.
2001 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
2002 <HAVE_TLS> (thread_function, main): Initialize it.
2003 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
2004 Add clean_restart.
2005 <$have_tls != "">: Check TLSVAR.
2006
0256a6ac
PA
20072014-05-21 Pedro Alves <palves@redhat.com>
2008
2009 * gdb.base/dcache-line-read-error.c: New.
2010 * gdb.base/dcache-line-read-error.exp: New.
2011
936d2992
PA
20122014-05-20 Pedro Alves <palves@redhat.com>
2013
2014 * gdb.base/compare-sections.c: New file.
2015 * gdb.base/compare-sections.exp: New file.
2016
802e8e6d
PA
20172014-05-20 Pedro Alves <palves@redhat.com>
2018
2019 * gdb.base/break-idempotent.c: New file.
2020 * gdb.base/break-idempotent.exp: New file.
2021
e59fa00f
MM
20222014-05-20 Markus Metzger <markus.t.metzger@intel.com>
2023
2024 * gdb.btrace/nohist.exp: New.
2025
8b696e31
YQ
20262014-05-20 Yao Qi <yao@codesourcery.com>
2027
2028 * lib/gdb.exp (gdb_init): Set timeout if test file is under
2029 gdb.reverse directory and gdb_reverse_timeout exists in board
2030 setting.
2031 * README: Document gdb_reverse_timeout.
2032
73c9764f
YQ
20332014-05-20 Yao Qi <yao@codesourcery.com>
2034
2035 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
2036 'test_file_name'. Treat args as a string instead of a list.
2037 (gdb_init): Rename argument 'args' by 'test_file_name'.
2038
f1f4348a
JK
20392014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2040
2041 * gdb.arch/powerpc-power.exp: New file.
2042 * gdb.arch/powerpc-power.s: New file.
2043
0dbe70ce
DE
20442014-05-16 Doug Evans <dje@google.com>
2045
2046 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
2047 * gdb.base/completion.exp: Check that all expected files exist
2048 before doing file completion.
0dbe70ce 2049
8d551b02
DE
20502014-05-16 Doug Evans <dje@google.com>
2051
2052 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
2053 Update.
2054 (do_syscall_tests_without_xml): Update.
2055
73eb7709
PA
20562014-05-16 Pedro Alves <palves@redhat.com>
2057
2058 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
2059 instead of "unknown output after running".
2060
3fae92fc
YQ
20612014-05-16 Yao Qi <yao@codesourcery.com>
2062
2063 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
2064 file1.txt from host at the end.
2065 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2066
c2b2ccc5
DE
20672014-05-15 Doug Evans <dje@google.com>
2068
2069 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
2070 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
2071 loading file. Add test for TU lookup.
2072
8c217a4b
SM
20732014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2074
2075 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
2076 calling "-exec-arguments" or "set args" before running the
2077 inferior.
2078
3deb39c6
SM
20792014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2080
2081 * lib/mi-support.exp (mi_expect_stop): Expect message for
2082 inferiors that exit with non-zero exit code.
2083
71a79f8c
YQ
20842014-05-14 Yao Qi <yao@codesourcery.com>
2085
2086 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
2087 match absolute path on remote host.
2088 (test_file_list_exec_source_files): Remove "/" from the
2089 pattern.
2090
f23fcd46
YQ
20912014-05-14 Yao Qi <yao@codesourcery.com>
2092
2093 * boards/local-remote-host-notty.exp (${board}_file): New
2094 proc.
2095
9404b58f
KM
20962014-05-07 Kyle McMartin <kyle@redhat.com>
2097
2098 Pushed by Joel Brobecker <brobecker@adacore.com>.
2099 * gdb.arch/aarch64-atomic-inst.c: New file.
2100 * gdb.arch/aarch64-atomic-inst.exp: New file.
2101
5e45f04c
YQ
21022014-05-07 Yao Qi <yao@codesourcery.com>
2103
2104 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
2105 in current context" too.
2106
c888a17d
KS
21072014-05-05 Keith Seitz <keiths@redhat.com>
2108
2109 * gdb.linespec/ls-dollar.exp: Add test for linespec
2110 file:convenience_variable.
2111
290a839c
YQ
21122014-05-05 Yao Qi <yao@codesourcery.com>
2113
2114 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
2115 traceframes into tfile and ctf trace files. Read data from
2116 trace file and test collected data.
2117 (gdb_collect_locals_test): Likewise.
2118 (gdb_unavailable_registers_test): Likewise.
2119 (gdb_unavailable_floats): Likewise.
2120 (gdb_collect_globals_test): Likewise.
2121 (top-level): Append "ctf" to trace_file_targets if GDB
2122 supports.
2123
b5262cd0
YQ
21242014-05-05 Yao Qi <yao@codesourcery.com>
2125
2126 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
2127 code to ...
2128 (gdb_collect_args_test_1): ... it. New proc.
2129 (gdb_collect_locals_test): Move some code to ...
2130 (gdb_collect_locals_test_1): ... it. New proc.
2131 (gdb_unavailable_registers_test): Move some code to ...
2132 (gdb_unavailable_registers_test_1): ... it. New proc.
2133 (gdb_unavailable_floats): Move some code to ...
2134 (gdb_unavailable_floats_1): ... it. New proc.
2135
30a1e6cc
SDJ
21362014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2137
2138 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
2139 probes to test for bitness recognition.
2140 * gdb.arch/amd64-stap-optional-prefix.exp
2141 (test_probe_value_without_reg): New procedure.
2142 Add code to test for different kinds of bitness.
2143
f33da99a
SDJ
21442014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2145
2146 PR breakpoints/16889
2147 * gdb.arch/amd64-stap-optional-prefix.S: New file.
2148 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2149
5b80f00d
PA
21502014-05-01 Pedro Alves <palves@redhat.com>
2151
2152 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
2153 gdb_file_cmd if no file is specified.
2154 * boards/native-extended-gdbserver.exp (gdb_load): Use the
2155 last_loaded_file to set the remote exec-file.
2156
f8c2a73c
PA
21572014-05-01 Pedro Alves <palves@redhat.com>
2158
2159 * boards/local-remote-host.exp: New file.
2160
be6e8ac7
PA
21612014-05-01 Pedro Alves <palves@redhat.com>
2162
2163 * boards/local-remote-host.exp: Rename to ...
2164 * boards/local-remote-host-notty.exp: ... this.
2165
cac0dc8f
JB
21662014-04-28 Joel Brobecker <brobecker@adacore.com>
2167
2168 * gdb.ada/dyn_arrayidx: New testcase.
2169
9730e6cc
YQ
21702014-04-26 Yao Qi <yao@codesourcery.com>
2171
2172 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
2173 and compute the length of function main. Save it in
2174 $main_length.
2175 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
2176 (top-level): Use gdb_compile to compile objects into
2177 executable and restart GDB. Remove invocation to
2178 prepare_for_testing.
2179
7ae1a6a6
PA
21802014-04-25 Simon Marchi <simon.marchi@ericsson.com>
2181 Pedro Alves <palves@redhat.com>
2182
2183 PR server/16255
2184 * gdb.multi/multi-attach.c: New file.
2185 * gdb.multi/multi-attach.exp: New file.
2186
4082afcc
PA
21872014-04-25 Pedro Alves <palves@redhat.com>
2188
2189 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
2190 user.
2191 (top level): Test that "set remote conditional-breakpoints-packet
2192 off" works as intended.
2193 * gdb.base/dprintf.exp: Test that "set remote
2194 breakpoint-commands-packet off" works as intended.
2195 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
2196 New function.
2197 (top level): Call it.
2198 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
2199 remote fast-tracepoints-packet off" works as intended.
2200 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
2201 * lib/gdb.exp (gdb_is_target_remote): ... here.
2202
2abc3f8d
DB
22032014-04-24 David Blaikie <dblaikie@gmail.com>
2204
2205 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
2206 ensure clang would not discard them.
2207 * gdb.base/gdbvars.c: Ditto.
2208 * gdb.base/memattr.c: Ditto.
2209 * gdb.base/whatis.c: Ditto.
2210 * gdb.python/py-prettyprint.c: Ditto.
2211 * gdb.trace/actions.c: Ditto.
2212 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
2213 ensure clang would not discard it.
2214
bfd39632
DB
22152014-04-24 David Blaikie <dblaikie@gmail.com>
2216
2217 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
2218 clang to emit the full definition of type required by the test
2219 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
2220
22842ff6
DB
22212014-04-24 David Blaikie <dblaikie@gmail.com>
2222
2223 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
2224 coax Clang into emitting the definition of the type.
2225 * gdb.cp/pr10728-x.h (y): Ditto.
2226 * gdb.cp/pr10728-y.cc (y): Ditto.
2227
c2e827ad
DB
22282014-04-24 David Blaikie <dblaikie@gmail.com>
2229
2230 * gdb.base/label.exp: XFAIL label related tests under Clang.
2231 * gdb.cp/cplabel.exp: Ditto.
2232 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
2233 under Clang those using labels.
2234
4c2d33e7
YQ
22352014-04-25 Yao Qi <yao@codesourcery.com>
2236
2237 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
2238 double_label.
2239 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
2240 partial_label and double_label.
2241
56083b99
DB
22422014-04-24 David Blaikie <dblaikie@gmail.com>
2243
2244 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
2245
25d4e99d
DB
22462014-04-24 David Blaikie <dblaikie@gmail.com>
2247
2248 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
2249 of the function to work across GCC and Clang.
2250 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
2251 pointer types (const void ** const V void **).
2252
01f9f808
MS
22532014-04-24 Michael Sturm <michael.sturm@mintel.com>
2254 Walfred Tedeschi <walfred.tedeschi@intel.com>
2255
2256 * Makefile.in (EXECUTABLES): Added i386-avx512.
2257 * gdb.arch/i386-avx512.c: New file.
2258 * gdb.arch/i386-avx512.exp: Likewise.
2259
4b48d439
KS
22602014-04-23 Keith Seitz <keiths@redhat.com>
2261
2262 * lib/mi-support.exp (mi_list_breakpoints): Delete.
2263 (mi_make_breakpoint_table): New procedure.
2264 (mi_create_breakpoint): Use mi_make_breakpoint
2265 and return the result.
2266 (mi_make_breakpoint): New procedure.
2267 (mi_build_kv_pairs): New procedure.
2268
2269 * gdb.mi/mi-break.exp: Remove unused globals,
2270 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
2271 All callers updated.
2272 * gdb.mi/mi-dprintf.exp: Use variable to track command
2273 number.
2274 Update all callers of mi_create_breakpoint and use
2275 mi_make_breakpoint_table.
2276 Remove any unused global variables.
2277 * gdb.mi/mi-nonstop.exp: Likewise.
2278 * gdb.mi/mi-nsintrall.exp: Likewise.
2279 * gdb.mi/mi-nsmoribund.exp: Likewise.
2280 * gdb.mi/mi-nsthrexec.exp: Likewise.
2281 * gdb.mi/mi-reverse.exp: Likewise.
2282 * gdb.mi/mi-simplerun.exp: Likewise.
2283 * gdb.mi/mi-stepn.exp: Likewise.
2284 * gdb.mi/mi-syn-frame.exp: Likewise.
2285 * gdb.mi/mi-until.exp: Likewise.
2286 * gdb.mi/mi-var-cp.exp: Likewise.
2287 * gdb.mi/mi-var-display.exp: Likewise.
2288 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2289 * gdb.mi/mi2-var-child.exp: Likewise.
2290 * gdb.mi/mi-vla-c99.exp: Likewise.
2291 * lib/mi-support.exp: Likewise.
2292
2293 From Ian Lance Taylor <iant@cygnus.com>:
2294 * lib/gdb.exp (parse_args): New procedure.
2295
08351840
PA
22962014-04-23 Pedro Alves <palves@redhat.com>
2297
2298 * gdb.base/break-unload-file.c: New file.
2299 * gdb.base/break-unload-file.exp: New file.
2300 * gdb.base/sym-file-lib.c (baz): New function.
2301 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
2302 field.
2303 (load): Store the segment's mapped size.
2304 (unload): New function.
2305 (unload_shlib): New function.
2306 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
2307 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
2308 set a breakpoint at baz, and call it.
2309 * gdb.base/sym-file.exp: New tests for stale breakpoint
2310 instructions.
2311
076855f9
PA
23122014-04-23 Pedro Alves <palves@redhat.com>
2313
2314 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
2315 * gdb.base/hbreak-in-shr-unsupported.c: New file.
2316 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
2317 * gdb.base/hbreak-unmapped.c: New file.
2318 * gdb.base/hbreak-unmapped.exp: New file.
2319 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
2320 * lib/gdb.exp (gdb_is_target_remote): ... here.
2321
483805cf
PA
23222014-04-22 Pedro Alves <palves@redhat.com>
2323
2324 * gdb.base/consecutive-step-over.c: New file.
2325 * gdb.base/consecutive-step-over.exp: New file.
2326
06d97543
PA
23272014-04-22 Pedro Alves <palves@redhat.com>
2328
2329 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
2330 instead of send_gdb/gdb_expect.
2331
b4429ea2
YQ
23322014-04-22 Yao Qi <yao@codesourcery.com>
2333
2334 * lib/trace-support.exp (generate_tracefile): New procedure.
2335 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
2336 return 0.
2337 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
2338 if generate_tracefile returns 1.
2339
51d48146
PA
23402014-04-18 Tom Tromey <palves@redhat.com>
2341 Pedro alves <tromey@redhat.com>
2342
2343 PR backtrace/15558
2344 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
2345 with a backtrace limit.
2346 * gdb.python/py-frame-inline.exp: Test running to an inline
2347 function with a backtrace limit, and printing the newest frame.
2348 * gdb.python/py-frame-inline.c (main): Call f.
2349
bd1dce5f
MS
23502014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2351
2352 * gdb.java/jnpe.exp: Drop srcdir from untested path.
2353
40d1a503
MS
23542014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2355
2356 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
2357 Drop prefix from unsupported source file path.
2358
389b98f7
YQ
23592014-04-17 Yao Qi <yao@codesourcery.com>
2360
2361 * lib/gdb.exp (with_target_charset): New proc.
2362 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
2363 with_target_charset.
2364 (test_print_strings): Likewise.
2365 (test_repeat_bytes): Likewise.
2366 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
2367 for some tests.
2368
22869d73
KS
23692014-04-16 Keith Seitz <keiths@redhat.com>
2370
2371 PR gdb/15827
2372 * gdb.dwarf2/corrupt.c: New file.
2373 * gdb.dwarf2/corrupt.exp: New file.
2374
c4f87ca6
KS
23752014-04-16 Keith Seitz <keiths@redhat.com>
2376
2377 PR c++/16597
2378 * gdb.cp/namelessclass.cc: New file.
2379 * gdb.cp/namelessclass.exp: New file.
2380 * gdb.cp/namelessclass.S: New file.
2381
ab19de87
DE
23822014-04-16 Doug Evans <dje@google.com>
2383
2384 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
2385 Add comment.
2386 (gdbserver_default_get_comm_port): New function.
2387 (gdbserver_start): Check if board file provided
2388 "gdbserver,get_comm_port" and use it if so.
2389 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
2390 (gdb,socketport): Set to "stdio".
2391 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
2392 (stdio_gdbserver_template): Delete.
2393 (${board}_get_remote_address): Update.
2394 (${board}_build_remote_cmd): Delete.
2395 (${board}_get_comm_port): New function.
2396 (${board}_spawn): Update.
2397 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
2398 Delete.
2399 (${board}_get_remote_address): Update.
2400 (${board}_get_comm_port): New function.
2401
fc98a809
AB
24022014-04-16 Andrew Burgess <aburgess@broadcom.com>
2403
2404 * gdb.base/memattr.exp: Improve regexps to handle memory regions
2405 appearing in any order.
2406
87fd9e6e
DE
24072014-04-15 Doug Evans <dje@google.com>
2408
2409 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
2410 uninitialized value of "description".
2411
099fc3ea
KS
24122014-04-15 Keith Seitz <keiths@redhat.com>
2413
2414 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
2415 Remove unused globals.
2416 (test_running_the_program): Likewise.
2417 (test_controlled_execution): Likewise.
2418 (test_controlling_breakpoints): Likewise.
2419 (test_program_termination): Likewise.
2420
5da151d4
KS
24212014-04-15 Keith Seitz <keiths@redhat.com>
2422
2423 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
2424 unused globals.
2425 (test_rbreak_creation_and_listing): Likewise.
2426 (test_ignore_count): Likewise.
2427 (test_error): Likewise.
2428
35e5d2f0
PA
24292014-04-15 Pedro Alves <palves@redhat.com>
2430
2431 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
2432 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
2433 sym-file-loader.c.
2434 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2435 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2436 to sym-file-loader.c.
2437 (struct library): Forward declare.
2438 (load_shlib, lookup_function): Change prototypes.
2439 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2440 (translate_offset): Remove declarations.
2441 (get_text_addr): New declaration.
2442 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
2443 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
2444 sym-file-loader.h.
2445 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2446 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2447 here from sym-file-loader.h.
2448 (struct library): New structure.
2449 (load_shlib, lookup_function): Change prototypes and adjust to
2450 work with a struct library.
2451 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2452 (translate_offset): Make static.
2453 (get_text_addr): New function.
2454 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
2455
eb4c1710
PA
24562014-04-15 Pedro Alves <palves@redhat.com>
2457
2458 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
2459
2d1baf52
PA
24602014-04-15 Pedro Alves <palves@redhat.com>
2461
2462 * gdb.base/sym-file-loader.c: Include <limits.h>.
2463 (SELF_LINK): New define.
2464 (get_origin): New function.
2465 (load_shlib): Use it.
2466 * gdb.base/sym-file.exp: Don't early return if the target is
2467 remote. Use runto_main, and issue fail is that fails. Use
2468 gdb_load_shlibs.
2469 (shlib_name): Delete.
2470 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
2471
7dd6df01
PA
24722014-04-15 Pedro Alves <palves@redhat.com>
2473
2474 * gdb.base/sym-file.exp: Remove regex characters from test
2475 message. Don't refer to breakpoint numbers in test messages.
2476
b50c8614
KS
24772014-04-14 Keith Seitz <keiths@redhat.com>
2478
2479 PR c++/16253
2480 * gdb.cp/var-tag.cc: New file.
2481 * gdb.cp/var-tag.exp: New file.
2482 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2483 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2484 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2485 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2486
3d567982
TT
24872014-04-14 Tom Tromey <tromey@redhat.com>
2488
2489 * gdb.cp/classes.exp (test_enums): Handle underlying type.
2490 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
2491 type.
2492 * gdb.cp/enum-class.exp: New file.
2493 * gdb.cp/enum-class.cc: New file.
2494
0626fc76
TT
24952014-04-14 Tom Tromey <tromey@redhat.com>
2496
2497 * gdb.dwarf2/enum-type.exp: New file.
2498
dca325b3
SA
24992014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2500
2501 * gdb.mi/mi-vla-c99.exp: New file.
2502 * gdb.mi/vla.c: New file.
2503
5854b38a
SA
25042014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2505
2506 * gdb.base/vla-datatypes.c: New file.
2507 * gdb.base/vla-datatypes.exp: New file.
2508
463bb957
SA
25092014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2510
2511 * gdb.base/vla-ptr.c: New file.
2512 * gdb.base/vla-ptr.exp: New file.
2513
3dd170be
SA
25142014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2515
2516 * gdb.dwarf2/count.exp: New file.
2517
5ecaaa66
SA
25182014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2519
2520 * gdb.base/vla-sideeffect.c: New file.
2521 * gdb.base/vla-sideeffect.exp: New file.
2522
41f1ada5
DB
25232014-04-14 David Blaikie <dblaikie@gmail.com>
2524
2525 * gdb.mi/non-stop.c: Add return value for non-void function return
2526 statement.
2527 * gdb.threads/staticthreads.c: Ditto.
2528
0be03e84
DE
25292014-04-12 Siva Chandra Reddy <sivachandra@google.com>
2530 Doug Evans <xdje42@gmail.com>
2531
2532 * gdb.guile/scm-value.c: Improve test case.
2533 * gdb.guile/scm-value.exp: Add new test.
2534
f180a1fb
DB
25352014-04-11 David Blaikie <dblaikie@gmail.com>
2536
2537 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
2538 override Clang's default.
2539
6b662e19
JB
25402014-04-11 Joel Brobecker <brobecker@adacore.com>
2541
2542 Revert the following changes (regressions):
2543
2544 * gdb.base/vla-sideeffect.c: New file.
2545 * gdb.base/vla-sideeffect.exp: New file.
2546
2547 * gdb.dwarf2/count.exp: New file.
2548
2549 * gdb.base/vla-multi.c: New file.
2550 * gdb.base/vla-multi.exp: New file.
2551
2552 * gdb.base/vla-ptr.c: New file.
2553 * gdb.base/vla-ptr.exp: New file.
2554
2555 * gdb.base/vla-datatypes.c: New file.
2556 * gdb.base/vla-datatypes.exp: New file.
2557
2558 * gdb.mi/mi-vla-c99.exp: New file.
2559 * gdb.mi/vla.c: New file.
2560
245a5f0b
KS
25612014-04-11 Keith Seitz <keiths@redhat.com>
2562
2563 PR c++/16675
2564 * gdb.cp/cpsizeof.exp: New file.
2565 * gdb.cp/cpsizeof.cc: New file.
2566
58a84dcf
SA
25672014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2568
191a8a90
JB
2569 * gdb.mi/mi-vla-c99.exp: New file.
2570 * gdb.mi/vla.c: New file.
58a84dcf 2571
c8655f75
SA
25722014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2573
2574 * gdb.base/vla-datatypes.c: New file.
2575 * gdb.base/vla-datatypes.exp: New file.
2576
024e13b4
SA
25772014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2578
2579 * gdb.base/vla-ptr.c: New file.
2580 * gdb.base/vla-ptr.exp: New file.
2581
1a237e0e
SA
25822014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2583
2584 * gdb.base/vla-multi.c: New file.
2585 * gdb.base/vla-multi.exp: New file.
2586
504f3432
SA
25872014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2588
2589 * gdb.dwarf2/count.exp: New file.
2590
3bce8237
SA
25912014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2592
191a8a90
JB
2593 * gdb.base/vla-sideeffect.c: New file.
2594 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 2595
322f9c21
YQ
25962014-04-11 Yao Qi <yao@codesourcery.com>
2597
2598 * gdb.base/completion.exp: Check file exists before running tests
2599 on file completion.
2600
d708bcd1
PA
26012014-04-10 Pedro Alves <palves@redhat.com>
2602
2603 * gdb.base/cond-eval-mode.c: New file.
2604 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
2605 prepare_for_testing to build the new file. Check result of
2606 runto_main.
2607 (test_break, test_watch): New procedures.
2608 (top level): Use them.
2609
ae1d2761
PM
26102014-04-08 Pierre Muller <muller@sourceware.org>
2611
2612 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
2613 Ctrl-V use for mingw hosts.
2614
7af389b8
SC
26152014-04-07 Siva Chandra Reddy <sivachandra@google.com>
2616
2617 * gdb.python/py-value.c: Improve test case.
2618 * gdb.python/py-value.exp: Add new test.
2619
5e703181
DE
26202014-04-07 David Blaikie <dblaikie@gmail.com>
2621
2622 * lib/compiler.c: Identify the clang compiler.
2623 * lib/compiler.cc: Ditto.
2624
9810b410
YQ
26252014-04-03 Yao Qi <yao@codesourcery.com>
2626
2627 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
2628
98d1b8dc
AB
26292014-04-01 Anton Blanchard <anton@samba.org>
2630
2631 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
2632 messages unique.
2633
3114cea1
AB
26342014-04-01 Anton Blanchard <anton@samba.org>
2635
2636 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
2637 prepare_for_testing.
2638
62f7182c
AB
26392014-04-01 Anton Blanchard <anton@samba.org>
2640
2641 * gdb.arch/ppc64-atomic-inst.c: Remove.
2642 * gdb.arch/ppc64-atomic-inst.S: New file.
2643 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
2644
770e7fc7
DE
26452014-03-31 Doug Evans <dje@google.com>
2646
2647 * gdb.base/print-symbol-loading-lib.c: New file.
2648 * gdb.base/print-symbol-loading-main.c: New file.
2649 * gdb.base/print-symbol-loading.exp: New file.
2650
46e2bafa
YQ
26512014-03-31 Yao Qi <yao@codesourcery.com>
2652
2653 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
2654
8776cfe9
JB
26552014-03-28 Joel Brobecker <brobecker@adacore.com>
2656
2657 * gdb.ada/mi_dyn_arr: New testcase.
2658
5d1ef361
DE
26592014-03-27 Doug Evans <dje@google.com>
2660
2661 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
2662
b5bee914
YQ
26632014-03-27 Yao Qi <yao@codesourcery.com>
2664
2665 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
2666 if target is nios2-*-*.
2667
0d4d0e77
YQ
26682014-03-26 Yao Qi <yao@codesourcery.com>
2669
2670 * lib/gdb.exp (readline_is_used): New proc.
2671 * gdb.base/completion.exp: Move tests on command complete up.
2672 Skip the rest of tests if readline is not used.
2673 * gdb.ada/complete.exp: Skp the test if readline is not
2674 used.
2675 * gdb.base/filesym.exp: Likewise.
2676 * gdb.base/macscp.exp: Likewise.
2677 * gdb.base/readline-ask.exp: Likewise.
2678 * gdb.base/readline.exp: Likewise.
2679 * gdb.python/py-cmd.exp: Likewise.
2680 * gdb.trace/tfile.exp: Likewise.
2681
29361eee
YQ
26822014-03-26 Yao Qi <yao@codesourcery.com>
2683
2684 * gdb.base/macscp.exp: Fix code format issues.
2685
bc9a5525
UW
26862014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
2687
2688 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
2689 * gdb.asm/powerpc64le.inc: New file.
2690
d3839ede
PA
26912014-03-25 Pedro Alves <palves@redhat.com>
2692 Doug Evans <dje@google.com>
2693
2694 * gdb.base/source-execution.c: New file.
2695 * gdb.base/source-execution.exp: New file.
2696 * gdb.base/source-execution.gdb: New file.
2697
01672a57
DE
26982014-03-24 Doug Evans <dje@google.com>
2699
2700 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
2701 using fission.
2702
88bbeca9
HZ
27032014-03-24 Hui Zhu <hui@codesourcery.com>
2704 Pedro Alves <palves@redhat.com>
2705
2706 PR breakpoints/16101
2707 * gdb.base/dprintf.exp: Use unsupported rather than changing the
2708 test pass/fail messages. Detect missing support for dprintf when
2709 breakpoints are actually inserted.
2710 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
2711 breakpoints are actually inserted.
2712 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
2713 fails.
2714
d2348791
JK
27152014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2716
2717 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
2718
feef67ab
DE
27192014-03-22 Doug Evans <xdje42@gmail.com>
2720
2721 * gdb.python/python.exp (python not supported): Verify multi-line
2722 python command issues an error.
25d743f9 2723 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 2724 guile command issues an error.
feef67ab 2725
ecebef6a
MR
27262014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
2727
2728 * gdb.threads/thread-specific.exp: Handle the lack of usable
2729 $this_breakpoint and $this_thread.
2730
ccdd1909
HZ
27312014-03-21 Hui Zhu <hui@codesourcery.com>
2732
2733 * gdb.base/attach.exp (do_command_attach_tests): New.
2734
beb460e8
PA
27352014-03-20 Tom Tromey <tromey@redhat.com>
2736 Pedro Alves <palves@redhat.com>
2737
2738 PR cli/15718
2739 * gdb.base/condbreak-call-false.c: New file.
2740 * gdb.base/condbreak-call-false.exp: New file.
2741
40acf43a
PA
27422014-03-20 Pedro Alves <palves@redhat.com>
2743
2744 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
2745 Delete.
2746 (block_signals, unblock_signals): Delete.
2747 (child_function_2, main): Remove references to deleted variable
2748 and functions.
2749
9f5e1e02
PA
27502014-03-20 Pedro Alves <palves@redhat.com>
2751
2752 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
2753 Use pthread_kill to signal thread 2.
2754 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2755 Adjust to make the test send itself a signal rather than using the
2756 host's "kill" command.
2757
99619bea
PA
27582014-03-20 Pedro Alves <palves@redhat.com>
2759
2760 * gdb.threads/multiple-step-overs.c: New file.
2761 * gdb.threads/multiple-step-overs.exp: New file.
2762 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2763 Adjust expected infrun debug output.
2764
2adfaa28
PA
27652014-03-20 Pedro Alves <palves@redhat.com>
2766
2767 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2768 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2769
31e77af2
PA
27702014-03-20 Pedro Alves <palves@redhat.com>
2771
2772 PR breakpoints/7143
2773 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2774 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2775 of gdb_test_multiple.
2776 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2777 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2778
b9f437de
PA
27792014-03-20 Pedro Alves <palves@redhat.com>
2780
2781 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2782 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2783
05adc73e
PA
27842014-03-19 Pedro Alves <palves@redhat.com>
2785
2786 * gdb.base/async.exp: Remove early return.
2787
6048b950
PA
27882014-03-19 Pedro Alves <palves@redhat.com>
2789
2790 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2791
8bcfb00a
PA
27922014-03-19 Pedro Alves <palves@redhat.com>
2793
2794 * gdb.base/async.exp (test_background): Expect \r\n after
2795 "completed." in the fail pattern.
2796
884e37dc
PA
27972014-03-19 Pedro Alves <palves@redhat.com>
2798
2799 * gdb.base/async.exp (test_background): New procedure.
2800 Use it for all background execution command tests.
2801
148e57e2
PA
28022014-03-19 Pedro Alves <palves@redhat.com>
2803
2804 * gdb.base/async.exp: Use prepare_for_testing.
2805
f48088c7
PA
28062014-03-19 Pedro Alves <palves@redhat.com>
2807
2808 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2809 the same line.
2810
e2f6c966
PA
28112014-03-19 Pedro Alves <palves@redhat.com>
2812
2813 * gdb.base/async.c (main): Add "jump here" and "until here" line
2814 marker comments.
2815 * gdb.base/async.exp (jump_here): New global.
2816 (jump& test): Use it.
2817 (until_here): New global.
2818 (until& test): Use it.
2819
c30568d4
PA
28202014-03-19 Pedro Alves <palves@redhat.com>
2821
2822 * gdb.base/async.exp: Don't frob gdb_protocol.
2823
0172b6a7
DE
28242014-03-18 Doug Evans <xdje42@gmail.com>
2825
2826 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2827 Fix spelling of exec-done-display.
2828
06c868a8
JK
28292014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2830
2831 PR gdb/15358
2832 * gdb.base/gdb-sigterm.c: New file.
2833 * gdb.base/gdb-sigterm.exp: New file.
2834
0c7e1a46
PA
28352014-03-18 Pedro Alves <palves@redhat.com>
2836
2837 PR gdb/13860
2838 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2839 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2840 solib-event.
2841
f7c77d93
JB
28422014-03-17 Joel Brobecker <brobecker@adacore.com>
2843
2844 * gdb.ada/pckd_arr_ren: New testcase.
2845
5a1e8c7a
DE
28462014-03-13 Doug Evans <xdje42@gmail.com>
2847
2848 PR guile/16612
2849 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2850 collect after discarding symbols.
2851
350e1a76
DE
28522014-03-13 Ludovic Courtès <ludo@gnu.org>
2853 Doug Evans <xdje42@gmail.com>
2854
2855 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2856 to history survives a gc.
2857
a69900ae
PA
28582014-03-13 Pedro Alves <palves@redhat.com>
2859
2860 * gdb.base/default.exp: Don't test "target procfs".
2861
5db9f0bd
PA
28622014-03-13 Pedro Alves <palves@redhat.com>
2863
2864 * gdb.base/default.exp: Update "target child" and "target procfs"
2865 tests to not expect "Unix".
2866
b3ccfe11
TT
28672014-03-12 Tom Tromey <tromey@redhat.com>
2868
2869 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2870 New procs. Add target-async tests.
2871 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2872 Add target-async tests.
2873
646f4417
AA
28742014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2875
2876 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2877 'func_start' and 'func_end' for the beginning and end of the
2878 function code, respectively.
2879 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2880 'func_end' instead of 'func' and 'main'.
2881
288c211f
AA
28822014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2883
2884 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2885 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2886 generate the debug info assembler source.
2887
e0c0f156
AA
28882014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2889
2890 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2891 * gdb.dwarf2/arr-subrange.exp: Likewise.
2892 * gdb.dwarf2/dwz.exp: Likewise.
2893 * gdb.dwarf2/method-ptr.exp: Likewise.
2894 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2895 * gdb.dwarf2/subrange.exp: Likewise.
2896 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2897 * gdb.dwarf2/implptrpiece.exp: Likewise.
2898 * gdb.dwarf2/nostaticblock.exp: Likewise.
2899
0e5c4555
AA
29002014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2901
2902 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2903 directory to absolute path name arguments.
2904
5ec18f2b
JG
29052014-03-10 Joel Brobecker <brobecker@adacore.com>
2906
2907 * gdb.ada/tagged_access: New testcase.
2908
847fc4f2
MM
29092014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2910
2911 * gdb.btrace/data.exp: Update expected output.
2912
cc3da688
YQ
29132014-03-06 Yao Qi <yao@codesourcery.com>
2914
2915 * gdb.trace/pr16508.exp: New file.
2916
0f26cec1
PA
29172014-03-05 Pedro Alves <palves@redhat.com>
2918
2919 PR gdb/16575
2920 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2921 procedure.
2922 (top level): Adjust to use it. Add tests that exercise breakpoint
2923 interaction with the code-cache.
2924
7a5a839f
LC
29252014-02-26 Ludovic Courtès <ludo@gnu.org>
2926
2927 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2928 test for 'history-append!'.
2929
31aa7e4e
JB
29302014-02-26 Joel Brobecker <brobecker@adacore.com>
2931
2932 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2933 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2934 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2935 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2936 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2937 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2938
1b588015
JB
29392014-02-26 Joel Brobecker <brobecker@adacore.com>
2940
2941 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2942 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2943 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2944
55426c9d
JB
29452014-02-26 Joel Brobecker <brobecker@adacore.com>
2946
2947 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2948
dc53a7ad
JB
29492014-02-26 Joel Brobecker <brobecker@adacore.com>
2950
2951 * gdb.dwarf2/arr-stride.c: New file.
2952 * gdb.dwarf2/arr-stride.exp: New file.
2953
12ab52e9
PA
29542014-02-26 Pedro Alves <palves@redhat.com>
2955
2956 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2957 that won't ever trigger. Make sure that GDB reports the correct
2958 breakpoint that caused the stop.
2959
849c862e
JK
29602014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2961
2962 PR gdb/16626
2963 * gdb.base/auto-load-script: New file.
2964 * gdb.base/auto-load.c: New file.
2965 * gdb.base/auto-load.exp: New file.
2966
71b7d793
JK
2967 PR gdb/16626
2968 * gdb.base/auto-load.exp: Fix out-of-srctree run.
2969
e2f0d509
JK
29702014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2971
2972 Fix dw2-icycle.exp -fsanitize=address GDB crash.
2973 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
2974
50cc37c8
DE
29752014-02-24 Doug Evans <dje@google.com>
2976
2977 * lib/gdb.exp (run_on_host): Log error output if program fails.
2978
ea4758f2
PA
29792014-02-21 Pedro Alves <palves@redhat.com>
2980
2981 * gdb.threads/step-after-sr-lock.c: Rename to ...
2982 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
2983 * gdb.threads/step-after-sr-lock.exp: Rename to ...
2984 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2985 ... this.
2986
d7b30f67
SDJ
29872014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2988
2989 PR tdep/16397
2990 * gdb.arch/amd64-stap-special-operands.exp: New file.
2991 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
2992 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
2993 * gdb.arch/amd64-stap-triplet.S: Likewise.
2994 * gdb.arch/amd64-stap-triplet.c: Likewise.
2995
83deb43f
JB
29962014-02-20 Joel Brobecker <brobecker@adacore.com>
2997
2998 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
2999 in .section pseudo-op.
3000
adde2bff
DE
30012014-02-20 lin zuojian <manjian2006@gmail.com>
3002 Joel Brobecker <brobecker@adacore.com>
3003 Doug Evans <xdje42@gmail.com>
3004
3005 PR symtab/16581
3006 * gdb.dwarf2/dw2-icycle.S: New file.
3007 * gdb.dwarf2/dw2-icycle.c: New file.
3008 * gdb.dwarf2/dw2-icycle.exp: New file.
3009
f7bd0f78
SC
30102014-02-19 Siva Chandra Reddy <sivachandra@google.com>
3011
3012 * gdb.python/py-value-cc.cc: Improve test case to enable testing
3013 operations on gdb.Value objects.
3014 * gdb.python/py-value-cc.exp: Add new test to test operations on
3015 gdb.Value objects.
3016
c17ef0d5
DE
30172014-02-18 Doug Evans <dje@google.com>
3018
3019 * Makefile.in (TESTS): New variable.
3020 (expanded_tests, expanded_tests_or_none): New variables
3021 (check-single): Pass $(expanded_tests_or_none) to runtest.
3022 (check-parallel): Only run tests in $(TESTS) if non-empty.
3023 (check/no-matching-tests-found): New rule.
3024 * README: Document TESTS makefile variable.
3025
5dd3176f
DE
30262014-02-18 Doug Evans <dje@google.com>
3027
3028 * Makefile.in (check-parallel): rm -rf outputs temp.
3029
0b10be4f
JK
30302014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3031
3032 Fix "ERROR: no fileid for" in the testsuite.
3033 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
3034
85f224e7
DE
30352014-02-12 Doug Evans <dje@google.com>
3036
3037 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
3038 (MISCELLANEOUS): New variable.
3039 (clean): rm -rf $(MISCELLANEOUS).
3040 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
3041 dwp live in the same directory as symlinks, with each symlink pointed
3042 to a differently named file in a different directory.
3043
149b30ff
DE
30442014-02-11 Doug Evans <dje@google.com>
3045
3046 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
3047 of Tcl file commands.
3048
1dfdac32
MK
30492014-02-10 Mark Kettenis <kettenis@gnu.org>
3050
3051 * gdb.threads/step-after-sr-lock.exp: Avoid executing
3052 "kill -SIGUSR1 -1".
3053
aa4fb036
JB
30542014-02-10 Joel Brobecker <brobecker@adacore.com>
3055
3056 * gdb.ada/tick_length_array_enum_idx: New testcase.
3057
ed3ef339
DE
30582014-02-10 Doug Evans <xdje42@gmail.com>
3059
3060 * configure.ac (AC_OUTPUT): Add gdb.guile.
3061 * configure: Regenerate.
3062 * lib/gdb-guile.exp: New file.
3063 * lib/gdb.exp (get_target_charset): New function.
3064 * gdb.base/help.exp: Update expected output from "apropos apropos".
3065 * gdb.guile/Makefile.in: New file.
3066 * gdb.guile/guile.exp: New file.
3067 * gdb.guile/scm-arch.c: New file.
3068 * gdb.guile/scm-arch.exp: New file.
3069 * gdb.guile/scm-block.c: New file.
3070 * gdb.guile/scm-block.exp: New file.
3071 * gdb.guile/scm-breakpoint.c: New file.
3072 * gdb.guile/scm-breakpoint.exp: New file.
3073 * gdb.guile/scm-disasm.c: New file.
3074 * gdb.guile/scm-disasm.exp: New file.
3075 * gdb.guile/scm-equal.c: New file.
3076 * gdb.guile/scm-equal.exp: New file.
3077 * gdb.guile/scm-error.exp: New file.
3078 * gdb.guile/scm-error.scm: New file.
3079 * gdb.guile/scm-frame-args.c: New file.
3080 * gdb.guile/scm-frame-args.exp: New file.
3081 * gdb.guile/scm-frame-args.scm: New file.
3082 * gdb.guile/scm-frame-inline.c: New file.
3083 * gdb.guile/scm-frame-inline.exp: New file.
3084 * gdb.guile/scm-frame.c: New file.
3085 * gdb.guile/scm-frame.exp: New file.
3086 * gdb.guile/scm-generics.exp: New file.
3087 * gdb.guile/scm-gsmob.exp: New file.
3088 * gdb.guile/scm-iterator.c: New file.
3089 * gdb.guile/scm-iterator.exp: New file.
3090 * gdb.guile/scm-math.c: New file.
3091 * gdb.guile/scm-math.exp: New file.
3092 * gdb.guile/scm-objfile-script-gdb.in: New file.
3093 * gdb.guile/scm-objfile-script.c: New file.
3094 * gdb.guile/scm-objfile-script.exp: New file.
3095 * gdb.guile/scm-objfile.c: New file.
3096 * gdb.guile/scm-objfile.exp: New file.
3097 * gdb.guile/scm-ports.exp: New file.
3098 * gdb.guile/scm-pretty-print.c: New file.
3099 * gdb.guile/scm-pretty-print.exp: New file.
3100 * gdb.guile/scm-pretty-print.scm: New file.
3101 * gdb.guile/scm-section-script.c: New file.
3102 * gdb.guile/scm-section-script.exp: New file.
3103 * gdb.guile/scm-section-script.scm: New file.
3104 * gdb.guile/scm-symbol.c: New file.
3105 * gdb.guile/scm-symbol.exp: New file.
3106 * gdb.guile/scm-symtab-2.c: New file.
3107 * gdb.guile/scm-symtab.c: New file.
3108 * gdb.guile/scm-symtab.exp: New file.
3109 * gdb.guile/scm-type.c: New file.
3110 * gdb.guile/scm-type.exp: New file.
3111 * gdb.guile/scm-value-cc.cc: New file.
3112 * gdb.guile/scm-value-cc.exp: New file.
3113 * gdb.guile/scm-value.c: New file.
3114 * gdb.guile/scm-value.exp: New file.
3115 * gdb.guile/source2.scm: New file.
3116 * gdb.guile/types-module.cc: New file.
3117 * gdb.guile/types-module.exp: New file.
3118
7026a7c1
YQ
31192014-02-10 Yao Qi <yao@codesourcery.com>
3120
3121 PR testsuite/16543
3122 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
3123 * configure: Regenerated.
3124 * Makefile.in: New file.
3125
6c466447
AS
31262014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3127
3128 * gdb.python/py-framefilter.exp: Fix typo.
3129
6e854735
YQ
31302014-02-08 Yao Qi <yao@codesourcery.com>
3131
3132 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
3133 that no =breakpoint-modified is emitted when breakpoints are
3134 modified through MI commands.
3135
d137e6dc
PA
31362014-02-07 Pedro Alves <pedro@codesourcery.com>
3137 Pedro Alves <palves@redhat.com>
3138
3139 * gdb.threads/step-after-sr-lock.c: New file.
3140 * gdb.threads/step-after-sr-lock.exp: New file.
3141
b5ee5a50
PA
31422014-02-07 Pedro Alves <palves@redhat.com>
3143
3144 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
3145
3c77faf3
JK
31462014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3147
3148 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
3149 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
3150
6dddc817
DE
31512014-02-06 Doug Evans <xdje42@gmail.com>
3152
3153 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
3154 output.
3155
3156 * gdb.gdb/python-interrupts.exp: New file.
3157
de7b2893
YQ
31582014-02-05 Yao Qi <yao@codesourcery.com>
3159
3160 * gdb.trace/report.exp (use_collected_data): Test the output
3161 of "info threads" and "info inferiors".
3162
66d032ac
YQ
31632014-02-05 Yao Qi <yao@codesourcery.com>
3164
3165 Revert this patch:
3166
3167 2013-05-24 Yao Qi <yao@codesourcery.com>
3168
3169 * gdb.trace/tfile.exp: Test inferior and thread.
3170
591a12a1
UW
31712014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3172
3173 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
3174 on a function.
3175 * gdb.base/step-bt.c: Call hello via function pointer to make
3176 sure its first instruction is executed on powerpc64le-linux.
3177
0ff3e01f
UW
31782014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3179
3180 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
3181
084ee545
UW
31822014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3183
3184 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
3185 of the test patterns for use on little-endian systems.
3186
6ed14ff3
UW
31872014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3188
3189 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
3190 (decimal_vector): Fix for little-endian.
3191
401e27fd
JM
31922014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3193
3194 * gdb.arch/sparc-sysstep.exp: New file.
3195 * gdb.arch/sparc-sysstep.c: Likewise.
3196
3197 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
3198
8b924729
EBM
31992014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3200
3201 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
3202
fb151210
JB
32032014-01-23 Tom Tromey <tromey@redhat.com>
3204
3205 * gdb.ada/array_char_idx: New testcase.
3206
0740f8d8
TT
32072014-01-23 Tom Tromey <tromey@redhat.com>
3208
3209 PR python/16487:
3210 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
3211 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
3212 classes.
3213
21909fa1
TT
32142014-01-23 Tom Tromey <tromey@redhat.com>
3215
3216 PR python/16491:
3217 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
3218 string from an inferior frame.
3219 * gdb.python/py-framefilter-mi.exp: Update.
3220
87ce2a04
DE
32212014-01-22 Doug Evans <dje@google.com>
3222
3223 * gdb.server/server-mon.exp: Add tests for "set debug-format".
3224
237b092b
AA
32252014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3226
3227 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
3228
d674a709
AA
32292014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3230
3231 * gdb.trace/entry-values.exp: Remove excess space character from
3232 regex patterns. Handle s390 call instruction.
3233
20fa3390
AA
32342014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3235
3236 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
3237 define "*_start" label. Make "name" static.
3238 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
3239 ${name} by references to ${name}_start.
3240
78466714
AA
32412014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3242
3243 * gdb.base/info-macros.exp: Remove "debug" from the compile
3244 options.
3245
ec9f644a
IB
32462014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3247
3248 * gdb.dlang/demangle.exp: New file.
3249
94b1b47e
IB
32502014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3251
3252 * gdb.dlang/primitive-types.exp: New file.
3253
7f420862
IB
32542014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3255
3256 * configure.ac: Create gdb.dlang/Makefile.
3257 * configure: Regenerate.
3258 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
3259 * gdb.dlang/Makefile.in: New file.
3260 * lib/d-support.exp: New file.
3261 * lib/gdb.exp (skip_d_tests): New proc.
3262
52834460
MM
32632014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3264
3265 * gdb.btrace/delta.exp: Check reverse stepi.
3266 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
3267 * gdb.btrace/finish.exp: New.
3268 * gdb.btrace/next.exp: New.
3269 * gdb.btrace/nexti.exp: New.
3270 * gdb.btrace/record_goto.c: Add comments.
3271 * gdb.btrace/step.exp: New.
3272 * gdb.btrace/stepi.exp: New.
3273 * gdb.btrace/multi-thread-step.c: New.
3274 * gdb.btrace/multi-thread-step.exp: New.
3275 * gdb.btrace/rn-dl-bind.c: New.
3276 * gdb.btrace/rn-dl-bind.exp: New.
3277 * gdb.btrace/data.c: New.
3278 * gdb.btrace/data.exp: New.
3279 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3280
6e07b1d2
MM
32812014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3282
3283 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
3284 * gdb.btrace/exception.exp: Update.
3285 * gdb.btrace/instruction_history.exp: Update.
3286 * gdb.btrace/record_goto.exp: Update.
3287 * gdb.btrace/tailcall.exp: Update.
3288 * gdb.btrace/unknown_functions.exp: Update.
3289 * gdb.btrace/delta.exp: New.
3290
0b722aec
MM
32912014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3292
3293 * gdb.btrace/record_goto.exp: Add backtrace test.
3294 * gdb.btrace/tailcall.exp: Add backtrace test.
3295
066ce621
MM
32962014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3297
3298 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
3299 * gdb.btrace/record_goto.c: New.
3300 * gdb.btrace/record_goto.exp: New.
3301 * gdb.btrace/x86-record_goto.S: New.
3302
0688d04e
MM
33032014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3304
3305 * gdb.btrace/function_call_history.exp: Update tests.
3306 * gdb.btrace/instruction_history.exp: Update tests.
3307
8710b709
MM
33082014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3309
3310 * gdb.btrace/function_call_history.exp: Fix expected field
3311 order for "record function-call-history".
3312 Add new tests for "record function-call-history /c".
3313 * gdb.btrace/exception.cc: New.
3314 * gdb.btrace/exception.exp: New.
3315 * gdb.btrace/tailcall.exp: New.
3316 * gdb.btrace/x86-tailcall.S: New.
3317 * gdb.btrace/x86-tailcall.c: New.
3318 * gdb.btrace/unknown_functions.c: New.
3319 * gdb.btrace/unknown_functions.exp: New.
3320 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3321
5de9129b
MM
33222014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3323
3324 * gdb.btrace/instruction_history.exp: Update.
3325 * gdb.btrace/function_call_history.exp: Update.
3326
23a7fe75
MM
33272014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3328
3329 * gdb.btrace/function_call_history.exp: Fix expected function
3330 trace.
3331 * gdb.btrace/instruction_history.exp: Initialize traced.
3332 Remove traced_functions.
3333
724c7dd8
MM
33342014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3335
3336 * gdb.btrace/function_call_history.exp: Update
3337 * gdb.btrace/instruction_history.exp: Update.
3338
6d78d93b
MM
33392014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3340
3341 * gdb.btrace/enable.exp: Update expected text.
3342
93a360cc
OJ
33432014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
3344
3345 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
3346 bytes.
3347
3772b53f
MR
33482014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
3349
3350 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
3351
596662fa
OJ
33522014-01-15 Omair Javaid <omair.javaid@linaro.org>
3353
3354 * lib/gdb.exp (supports_process_record): Return true for
3355 arm*-linux*. (supports_reverse): Likewise.
3356
b5b08fb4
SC
33572014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3358
3359 PR python/15464
3360 PR python/16113
3361 * gdb.python/py-type.c: Enhance test case.
3362 * gdb.python/py-value-cc.cc: Likewise
3363 * gdb.python/py-type.exp: Add new tests.
3364 * gdb.python/py-value-cc.exp: Likewise
3365
52d7fb13
AA
33662014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3367 Pedro Alves <palves@redhat.com>
3368
3369 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
3370 Make "name" extern.
3371 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
3372 references to ${name}_start by references to ${name}.
3373
a2cd8cfe
JB
33742014-01-10 Joel Brobecker <brobecker@adacore.com>
3375
3376 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
3377
4e23fced
JB
33782014-01-10 Joel Brobecker <brobecker@adacore.com>
3379
3380 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
3381
c6a9e42c
PA
33822014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
3383 Pedro Alves <palves@redhat.com>
3384
3385 * gdb.mi/mi-info-os.exp: Connect to the target with
3386 mi_gdb_target_load.
3387
b7ea362b
PA
33882014-01-08 Pedro Alves <palves@redhat.com>
3389
3390 * gdb.threads/reconnect-signal.c: New file.
3391 * gdb.threads/reconnect-signal.exp: New file.
3392
5e3f4fab
EBM
33932014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3394
3395 * gdb.base/source-dir.exp: New file.
3396
79301218
JB
33972014-01-07 Joel Brobecker <brobecker@adacore.com>
3398
3399 * gdb.ada/mi_interface: New testcase.
3400
8e355c5d
JB
34012014-01-07 Joel Brobecker <brobecker@adacore.com>
3402
3403 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
3404 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
3405 gdb.ada/pp-rec-component/pck.ads: New files.
3406
c0d48811
JB
34072014-01-07 Joel Brobecker <brobecker@adacore.com>
3408
3409 * gdb.python/py-pp-integral.c: New file.
3410 * gdb.python/py-pp-integral.py: New file.
3411 * gdb.python/py-pp-integral.exp: New file.
3412
17b609c3 3413For older changes see ChangeLog-1993-2013.
c906108c 3414\f
8d8cb839
EZ
3415;; Local Variables:
3416;; mode: change-log
3417;; left-margin: 8
3418;; fill-column: 74
3419;; version-control: never
3420;; End:
902f2ccb 3421
14f8b115 3422 Copyright 2014 Free Software Foundation, Inc.
902f2ccb
MC
3423 Copying and distribution of this file, with or without modification,
3424 are permitted provided the copyright notice and this notice are preserved.