Eliminate literal line numbers in mi-until.exp
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
12084a9a
AA
12014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2
3 * gdb.mi/until.c: Add eye-catchers.
4 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5 line numbers.
6
dc7e1a77
AA
72014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8
9 * gdb.base/condbreak.exp: Drop references to removed non-prototype
10 function header variants in break1.c.
11 * gdb.base/ena-dis-br.exp: Likewise.
12 * gdb.base/hbreak2.exp: Likewise.
13 * gdb.reverse/until-precsave.exp: Drop references to removed
14 non-prototype function header variants in ur1.c.
15 * gdb.reverse/until-reverse.exp: Likewise.
16
41c77605
PM
172014-11-17 Petr Machata <pmachata@redhat.com>
18
19 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
20 ${_cu_offset_size} bytes abbrev offset.
21
34248c3a
DE
222014-11-15 Doug Evans <xdje42@gmail.com>
23
24 PR symtab/17559
25 * gdb.base/line-symtabs.exp: New file.
26 * gdb.base/line-symtabs.c: New file.
27 * gdb.base/line-symtabs.h: New file.
28
646da059
YQ
292014-11-14 Yao Qi <yao@codesourcery.com>
30
31 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
32 (func): Add label func_label.
33 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
34 Replace low_pc and high_pc with MACRO_AT_range.
35 Replace name, low_pc and high_pc with MACRO_AT_func.
36
9301ebe6
YQ
372014-11-14 Yao Qi <yao@codesourcery.com>
38
39 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
40 Replace name, low_pc and high_pc with MACRO_AT_func.
41
f166b542
YQ
422014-11-14 Yao Qi <yao@codesourcery.com>
43
44 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
45 produce debug information.
46 * gdb.dwarf2/implptr-optimized-out.S: Removed.
47
0f6e71e3
YQ
482014-11-14 Yao Qi <yao@codesourcery.com>
49
50 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
51 object and get function length.
52 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
53 with MACRO_AT_func.
54 (top-level): Replace gdb_compile and clean_restart with
55 prepare_for_testing.
56 * gdb.dwarf2/main.c (main): Add label main_label.
57
876c4df9
YQ
582014-11-14 Yao Qi <yao@codesourcery.com>
59
60 * lib/dwarf.exp (function_range): New procedure.
61 (Dwarf::_handle_macro_at_func): New procedure.
62 (Dwarf::_handle_macro_at_range): New procedure.
63 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
64
02ad9cf1
YQ
652014-11-14 Yao Qi <yao@codesourcery.com>
66
67 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
68 (_handle_attribute): New procedure.
69
a59add0c
AA
702014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
71
72 * gdb.ada/cond_lang/foo.c (callme): Add return type.
73 * gdb.base/call-sc.c (zed): Likewise.
74 * gdb.base/checkpoint.c (main): Likewise.
75 * gdb.base/dump.c (main): Likewise.
76 * gdb.base/gcore.c (main): Likewise.
77 * gdb.base/huge.c (main): Likewise.
78 * gdb.base/multi-forks.c (main): Likewise.
79 * gdb.base/pr10179-a.c (main): Likewise.
80 * gdb.base/savedregs.c (main): Likewise.
81 * gdb.base/sigaltstack.c (main): Likewise.
82 * gdb.base/siginfo.c (main): Likewise.
83 * gdb.base/structs.c (zed): Likewise.
84 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
85 * gdb.mi/mi-syn-frame.c (main): Likewise.
86 * gdb.mi/until.c (foo, main): Likewise.
87 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
88 * gdb.base/solib-weak.c (foo): Declare.
89 * gdb.base/attach-twice.c: Include stdio.h.
90 * gdb.base/weaklib1.c: Likewise.
91 * gdb.base/weaklib2.c: Likewise.
92 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
93 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
94 unistd.h.
95 * gdb.base/attach-pie-misread.c: Include stdlib.h.
96 * gdb.mi/mi-exit-code.c: Likewise.
97 * gdb.base/break-interp-lib.c: Include string.h.
98 * gdb.base/coremaker.c: Likewise.
99 * gdb.base/testenv.c: Likewise.
100 * gdb.python/py-finish-breakpoint.c: Likewise.
101 * gdb.base/inferior-died.c: Include sys/wait.h.
102 * gdb.base/fileio.c: Include time.h.
103 * gdb.base/async-shell.c: Include unistd.h.
104 * gdb.base/dprintf-non-stop.c: Likewise.
105 * gdb.base/info-os.c: Likewise.
106 * gdb.mi/mi-console.c: Likewise.
107 * gdb.mi/watch-nonstop.c: Likewise.
108 * gdb.python/py-events.c: Likewise.
109 * gdb.base/async.c (baz): Move up before its invocation.
110 * gdb.base/code_elim2.c (my_global_func): Likewise.
111 * gdb.base/skip-solib-lib.c (multiply): Likewise.
112 * gdb.base/advance.c (func2): Likewise.
113
3b5d5997
AA
1142014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
115
116 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
117 variant.
118 * gdb.base/annota3.c: Likewise.
119 * gdb.base/async.c: Likewise.
120 * gdb.base/average.c: Likewise.
121 * gdb.base/call-ar-st.c: Likewise.
122 * gdb.base/call-rt-st.c: Likewise.
123 * gdb.base/call-sc.c: Likewise.
124 * gdb.base/call-strs.c: Likewise.
125 * gdb.base/ending-run.c: Likewise.
126 * gdb.base/execd-prog.c: Likewise.
127 * gdb.base/exprs.c: Likewise.
128 * gdb.base/foll-exec.c: Likewise.
129 * gdb.base/foll-fork.c: Likewise.
130 * gdb.base/foll-vfork.c: Likewise.
131 * gdb.base/funcargs.c: Likewise.
132 * gdb.base/gcore.c: Likewise.
133 * gdb.base/jump.c: Likewise.
134 * gdb.base/langs0.c: Likewise.
135 * gdb.base/langs1.c: Likewise.
136 * gdb.base/langs2.c: Likewise.
137 * gdb.base/mips_pro.c: Likewise.
138 * gdb.base/nodebug.c: Likewise.
139 * gdb.base/opaque0.c: Likewise.
140 * gdb.base/opaque1.c: Likewise.
141 * gdb.base/recurse.c: Likewise.
142 * gdb.base/run.c: Likewise.
143 * gdb.base/scope0.c: Likewise.
144 * gdb.base/scope1.c: Likewise.
145 * gdb.base/setshow.c: Likewise.
146 * gdb.base/setvar.c: Likewise.
147 * gdb.base/shmain.c: Likewise.
148 * gdb.base/shr1.c: Likewise.
149 * gdb.base/shr2.c: Likewise.
150 * gdb.base/sigall.c: Likewise.
151 * gdb.base/signals.c: Likewise.
152 * gdb.base/so-indr-cl.c: Likewise.
153 * gdb.base/solib2.c: Likewise.
154 * gdb.base/structs.c: Likewise.
155 * gdb.base/sum.c: Likewise.
156 * gdb.base/vforked-prog.c: Likewise.
157 * gdb.base/watchpoint.c: Likewise.
158 * gdb.reverse/shr2.c: Likewise.
159 * gdb.reverse/until-reverse.c: Likewise.
160 * gdb.reverse/ur1.c: Likewise.
161 * gdb.reverse/watch-reverse.c: Likewise.
162
066a77c5
AA
1632014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
164
165 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
166 variant.
167 * gdb.base/sepdebug.exp: Drop references to removed code.
168
4f204ea5
AA
1692014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
170
171 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
172 variant. Preserve original line numbering.
173 * gdb.base/list1.c: Likewise.
174
3b377a3a
AA
1752014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
176
177 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
178 variant.
179 * gdb.base/break1.c: Likewise.
180 * gdb.base/break.exp: Drop references to removed code.
181
e444df73
AA
1822014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
183
184 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
185 variant.
186
8008f2a7
AA
1872014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
188
189 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
190
a5a06887
AA
1912014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
192
193 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
194 logic into perform_all_tests() and invoke it with and without
195 function header prototypes.
196 (do_function_calls): Remove conditional XFAIL for PR 5318.
197 (rerun_and_prepare): Remove duplicate code.
198 (perform_all_tests): New. Main logic moved here.
199
44dba9b9
AA
2002014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
201
202 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
203 code guarded by #ifdef NO_PROTOTYPES.
204 (t_double_many_args): Likewise.
205 (DEF_FUNC_MANY_ARGS_1): Likewise.
206 (DEF_FUNC_VALUES_1): Likewise.
207 (t_structs_ldc): Renamed from t_structs_fc in conditional code
208 guarded by #ifdef PROTOTYPES.
209
d1fbcd56
AA
2102014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
211
212 * gdb.mi/mi-console.c: Add eye-catcher.
213 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
214 instead of literal line number.
215
b0e59b8f
AA
2162014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
217
218 * gdb.base/shr2.c: Add eye-catcher.
219 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
220 line number.
221
78f98cca
AA
2222014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
223
224 * gdb.base/jump.c: Add eye-catchers.
225 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
226 numbers.
227
58fa2af0
AA
2282014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
229
230 * gdb.base/execd-prog.c: Add eye-catchers.
231 * gdb.base/foll-exec.c: Likewise.
232 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
233 line numbers.
234
04e5059b
AA
2352014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
236
237 * gdb.base/ending-run.c: Add eye-catchers.
238 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
239 literal line numbers.
240
dbfdb174
AA
2412014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
242
243 * gdb.base/call-rt-st.c: Add eye-catchers.
244 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
245 literal line numbers.
246
888a2ade
AA
2472014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
248
249 * gdb.base/call-ar-st.c: Add eye-catchers.
250 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
251 literal line numbers.
252
6acc2dde
AA
2532014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
254
255 * gdb.base/average.c: Add eye-catchers.
256 * gdb.base/sum.c: Likewise.
257 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
258 regexps dynamically.
259
9ecfcd1d
AA
2602014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
261
262 * gdb.base/solib1.c: Add eye-catchers.
263 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
264 literal line numbers.
265
78708b7c
PA
2662014-11-12 Pedro Alves <palves@redhat.com>
267
268 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
269 leader has exited.
270
af48d08f
PA
2712014-11-12 Pedro Alves <palves@redhat.com>
272
273 * gdb.arch/i386-bp_permanent.c: New file.
274 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
275 (srcfile): Set to i386-bp_permanent.c.
276 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
277 that stepi does not execute the 'leave' instruction, instead of
278 testing it does execute.
279 * gdb.base/bp-permanent.c: New file.
280 * gdb.base/bp-permanent.exp: New file.
281
af3768e9
DE
2822014-11-10 Doug Evans <xdje42@gmail.com>
283
284 PR symtab/17564
285 * gdb.base/symtab-search-order.exp: New file.
286 * gdb.base/symtab-search-order.c: New file.
287 * gdb.base/symtab-search-order-1.c: New file.
288 * gdb.base/symtab-search-order-shlib-1.c: New file.
289
9de00a4a
PA
2902014-11-07 Pedro Alves <palves@redhat.com>
291
292 PR gdb/17511
293 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
294 i?86-*-linux*.
295
e0f52461
SC
2962014-11-03 Siva Chandra Reddy <sivachandra@google.com>
297
298 PR c++/17494
299 * gdb.cp/pr17494.cc: New file.
300 * gdb.cp/pr17494.exp: New file.
301
6ce8c980
YQ
3022014-11-02 Yao Qi <yao@codesourcery.com>
303
304 * gdb.python/python.exp: Get working directory and match the
305 output of "set extended-prompt \\w " with it.
306
02be9a71
DE
3072014-10-30 Doug Evans <dje@google.com>
308
309 * gdb.python/py-objfile.exp: Add tests for setting random attributes
310 in objfiles.
311 * gdb.python/py-progspace.exp: Add tests for setting random attributes
312 in progspaces.
313
3bdff46b
LM
3142014-10-30 Janis Johnson <janisjo@codesourcery.com>
315
316 * gdb.base/fullpath-expand.exp: Skip for a remote host.
317 * gdb.base/realname-expand.exp: Likewise.
318 * gdb.linespec/macro-relative.exp: Likewise.
319
ab917dfb
PA
3202014-10-29 Pedro Alves <palves@redhat.com>
321
322 PR gdb/17408
323 * gdb.threads/schedlock.c (some_function): New function.
324 (call_function): New global.
325 (MAYBE_CALL_SOME_FUNCTION): New macro.
326 (thread_function): Call it.
327 * gdb.threads/schedlock.exp (get_args): Add description parameter,
328 and use it instead of a global counter. Adjust all callers.
329 (get_current_thread): Use "find current thread" for test message
330 here rather than having all callers pass down the same string.
331 (goto_loop): New procedure, factored out from ...
332 (my_continue): ... this.
333 (step_ten_loops): Change parameter from test message to command to
334 use. Adjust.
335 (list_count): Delete global.
336 (check_result): New procedure, factored out from duplicate top
337 level code.
338 (continue tests): Wrap in with_test_prefix.
339 (test_step): New procedure, factored out from duplicate top level
340 code.
341 (top level): Test "step" in combination with all scheduler-locking
342 modes. Test "next" in combination with all scheduler-locking
343 modes, and in combination with stepping over a function call or
344 not.
345 * gdb.threads/next-bp-other-thread.c: New file.
346 * gdb.threads/next-bp-other-thread.exp: New file.
347
d3d4baed
PA
3482014-10-29 Pedro Alves <palves@redhat.com>
349
350 PR python/17372
351 * gdb.python/python.exp: Test a multi-line command that spawns
352 interactive Python.
353 * gdb.base/multi-line-starts-subshell.exp: New file.
354
563e8d85
YQ
3552014-10-29 Yao Qi <yao@codesourcery.com>
356
357 * gdb.base/fileio.exp: Make directories on host.
358
0ea4d52e
YQ
3592014-10-29 Yao Qi <yao@codesourcery.com>
360
361 * gdb.base/fileio.c (test_write): Close the file.
362
7f5ef605
PA
3632014-10-28 Pedro Alves <palves@redhat.com>
364
365 PR gdb/12623
366 * gdb.base/sigstep.c (no_handler): New global.
367 (main): If 'no_handler is true, set the signal handlers to
368 SIG_IGN.
369 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
370 with_sw_watch and no_handler parameters. Handle them.
371 (top level) <stepping over handler when stopped at a breakpoint
372 test>: Add a test axis for testing with a software watchpoint, and
373 another for testing with the signal handler set to SIG_IGN.
374 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
375 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
376
abbdbd03
PA
3772014-10-28 Pedro Alves <palves@redhat.com>
378
379 PR gdb/17511
380 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
381 * gdb.base/sigstep.exp (other_handler_location): New global.
382 (advance): Support stepping into the signal handler, and running
383 commands while in the handler.
384 (in_handler_map): New global.
385 (top level): In the advance test, add combinations for getting
386 into the handler with stepping commands, and for running commands
387 in the handler. Add comment descripting the advancei tests.
388
1df4399f
PA
3892014-10-28 Pedro Alves <palves@redhat.com>
390
391 * gdb.base/sigstep.exp: Use build_executable instead of
392 prepare_for_testing.
393 (top level): Move code that starts GDB, runs to main and creates a
394 display to ...
395 (restart): ... this new procedure.
396 (top level): Move backtrace from signal handler test to ...
397 (validate_backtrace): ... this new procedure.
398 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
399 with_test_prefix. Always restart GDB.
400 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
401 with_test_prefix. Always restart GDB. No need to delete
402 breakpoints after the test.
403 (test_skip_handler): Remove prefix parameter.
404 (skip_over_handler, breakpoint_to_handler)
405 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
406 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
407 restart GDB. No need to delete breakpoints after the test.
408 (top level): Use foreach to call the test procedures with
409 different commands.
410
a5b6e449
PA
4112014-10-28 Pedro Alves <palves@redhat.com>
412
413 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
414 instead of GNATS numbers.
415 * gdb.base/sigbpt.exp: Likewise.
416 * gdb.base/siginfo.exp: Likewise.
417 * gdb.base/sigstep.exp: Likewise.
418
e5f8a7cc
PA
4192014-10-27 Pedro Alves <palves@redhat.com>
420
421 * gdb.base/sigstep.c (dummy): New global.
422 (main): Issue a couple writes to the new global.
423 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
424 procedures.
425 (skip_over_handler): Use test_skip_handler.
426 (top level): Call skip_over_handler for stepi and nexti too.
427 (breakpoint_over_handler): Use test_skip_handler.
428 (top level): Call breakpoint_over_handler for stepi and nexti too.
429
763905a3
YQ
4302014-10-27 Yao Qi <yao@codesourcery.com>
431
432 * gdb.trace/tfile.c (adjust_function_address)
433 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
434 function descriptor.
435
6f259a23
DB
4362014-10-24 Don Breazeal <donb@codesourcery.com>
437
438 * gdb.base/foll-fork.exp (test_follow_fork,
439 catch_fork_child_follow): Check for updated fork messages emitted
440 from infrun.c.
441 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
442 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
443 vfork_and_exec_child_follow_through_step): Check for updated vfork
444 messages emitted from infrun.c.
445
09dd9a69
PA
4462014-10-24 Pedro Alves <palves@redhat.com>
447
448 * gdb.base/corefile.exp: Remove references to ultrix.
449 * gdb.base/interrupt.exp: Likewise.
450 * gdb.base/whatis.exp: Likewise.
451 * gdb.gdb/selftest.exp: Likewise.
452 * gdb.threads/manythreads.exp: Likewise.
453 * gdb.threads/print-threads.exp: Likewise.
454 * gdb.threads/pthreads.exp:: Likewise.
455 * gdb.threads/schedlock.exp: Likewise.
456
3433cfa5
SC
4572014-10-24 Siva Chandra Reddy <sivachandra@google.com>
458
459 * gdb.cp/non-trivial-retval.cc: Add a test case.
460 * gdb.cp/non-trivial-retval.exp: Add a test.
461
092f880b
YQ
4622014-10-20 Yao Qi <yao@codesourcery.com>
463
464 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
465 * gdb.python/py-objfile-script-gdb.py: New file.
466 * gdb.python/py-objfile-script.exp: Update reference to
467 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
468 of remote_download. Remove the dest file.
469
acbdb7f3
YQ
4702014-10-20 Yao Qi <yao@codesourcery.com>
471
472 * gdb.base/checkpoint.exp: Don't remove file copied on host.
473 * gdb.base/step-line.exp: Likewise.
474 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
475 * gdb.dwarf2/dw2-basic.exp: Likewise.
476 * gdb.dwarf2/dw2-compressed.exp: Likewise.
477 * gdb.dwarf2/dw2-filename.exp: Likewise.
478 * gdb.dwarf2/dw2-intercu.exp: Likewise.
479 * gdb.dwarf2/dw2-intermix.exp: Likewise.
480 * gdb.dwarf2/dw2-producer.exp: Likewise.
481 * gdb.dwarf2/mac-fileno.exp: Likewise.
482 * gdb.python/py-frame-args.exp: Likewise.
483 * gdb.python/py-framefilter.exp: Likewise.
484 * gdb.python/py-mi.exp: Likewise.
485 * gdb.python/py-objfile-script.exp: Likewise
486 * gdb.python/py-pp-integral.exp: Likewise.
487 * gdb.python/py-pp-re-notag.exp: Likewise.
488 * gdb.python/py-prettyprint.exp: Likewise.
489 * gdb.python/py-section-script.exp: Likewise.
490 * gdb.python/py-typeprint.exp: Likewise.
491 * gdb.python/py-xmethods.exp: Likewise.
492 * gdb.stabs/weird.exp: Likewise.
493 * gdb.xml/tdesc-regs.exp: Likewise.
494
bd286a29
KCY
4952014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
496
497 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
498 (out_cu): Use addr_len for the size of addresses.
499 (out_line): Likewise. Size DW_LNE_set_address instruction
500 according to addr_len.
501 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
502 (FUNC): Add START_INSNS to definition.
503
673dc4a0
YQ
5042014-10-18 Yao Qi <yao@codesourcery.com>
505
506 * gdb.base/argv0-symlink.exp: Check argv[0] value if
507 gdb_has_argv0 return true.
508 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
509 check [target_info exists noargs], check [gdb_has_argv0]
510 instead.
511 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
512 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
513 procedures.
514
4ffbba72
DE
5152014-10-17 Doug Evans <dje@google.com>
516
517 * gdb.python/py-events.exp: Update expected output for clear_objfiles
518 event.
519 * gdb.python/py-events.py: Add clear_objfiles event.
520
d096d8c1
DE
5212014-10-17 Doug Evans <dje@google.com>
522
523 * gdb.python/py-objfile.exp: Test progspace attribute.
524
a80db015
LM
5252014-10-17 Luis Machado <lgustavo@codesourcery.com>
526
527 * gdb.guile/scm-breakpoint.exp: Do not assume any
528 directory separators when matching source file paths.
529 * gdb.python/py-breakpoint.exp: Likewise.
530 * gdb.reverse/break-precsave.exp: Likewise.
531 * gdb.reverse/break-reverse.exp: Likewise.
532 * gdb.reverse/consecutive-precsave.exp: Likewise.
533 * gdb.reverse/finish-precsave.exp: Likewise.
534 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
535 * gdb.reverse/finish-reverse.exp: Likewise.
536 * gdb.reverse/i386-precsave.exp: Likewise.
537 * gdb.reverse/i387-env-reverse.exp: Likewise.
538 * gdb.reverse/i387-stack-reverse.exp: Likewise.
539 * gdb.reverse/machinestate-precsave.exp: Likewise.
540 * gdb.reverse/machinestate.exp: Likewise.
541 * gdb.reverse/sigall-precsave.exp: Likewise.
542 * gdb.reverse/solib-precsave.exp: Likewise.
543 * gdb.reverse/step-precsave.exp: Likewise.
544 * gdb.reverse/until-precsave.exp: Likewise.
545 * gdb.reverse/watch-precsave.exp: Likewise.
546 * gdb.reverse/watch-reverse.exp: Likewise.
547
b22089ab
YQ
5482014-10-17 Yao Qi <yao@codesourcery.com>
549
550 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
551 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
552
6c4486e6
PA
5532014-10-17 Pedro Alves <palves@redhat.com>
554
555 PR gdb/17471
556 * gdb.base/bg-execution-repeat.c: New file.
557 * gdb.base/bg-execution-repeat.exp: New file.
558
0ff33695
PA
5592014-10-17 Pedro Alves <palves@redhat.com>
560
561 PR gdb/17300
562 * gdb.base/continue-all-already-running.c: New file.
563 * gdb.base/continue-all-already-running.exp: New file.
564
6fdebc3d
PA
5652014-10-17 Pedro Alves <palves@redhat.com>
566
567 PR gdb/17472
568 * gdb.base/annota-input-while-running.c: New file.
569 * gdb.base/annota-input-while-running.exp: New file.
570
32a8097b
PA
5712014-10-17 Pedro Alves <palves@redhat.com>
572
573 * gdb.base/callfuncs.exp: emove references to osf.
574 * gdb.base/sigall.exp: Likewise.
575 * gdb.gdb/selftest.exp: Likewise.
576 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
577 * gdb.mi/non-stop.c: Likewise.
578 * gdb.mi/pthreads.c: Likewise.
579 * gdb.reverse/sigall-precsave.exp: Likewise.
580 * gdb.reverse/sigall-reverse.exp: Likewise.
581 * gdb.threads/pthreads.c: Likewise.
582 * gdb.threads/pthreads.exp: Likewise.
583
7a3517ff
YQ
5842014-10-17 Yao Qi <yao@codesourcery.com>
585
586 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
587 check 'target_info exists noargs'.
588 (test_command_prompt_position): Likewise.
589 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
590 Remove "set args".
591 (progvar_simple_while_test): Likewise.
592 (progvar_complex_if_while_test): Likewise.
593 (if_while_breakpoint_command_test): Likewise.
594 (infrun_breakpoint_command_test): Likewise.
595 (breakpoint_command_test): Likewise.
596 (watchpoint_command_test): Likewise.
597 (bp_deleted_in_command_test): Likewise.
598 (temporary_breakpoint_commands): Likewise.
599
bb99c472
YQ
6002014-10-16 Yao Qi <yao@codesourcery.com>
601
602 * gdb.base/remotetimeout.exp: Remove noargs checking.
603
7c16b83e
PA
6042014-10-15 Pedro Alves <palves@redhat.com>
605
606 PR breakpoints/9649
607 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
608 * gdb.base/breakpoint-in-ro-region.exp
609 (probe_target_hardware_step): New procedure.
610 (top level): Probe hardware stepping and hardware breakpoint
611 support. Test stepping through a read-only region, with both
612 "breakpoint auto-hw" on and off and both "always-inserted" on and
613 off.
614
35a49624
IB
6152014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
616
617 * gdb.dlang/demangle.exp: Update for demangling changes.
618
2d1c107c
SC
6192014-10-15 Siva Chandra Reddy <sivachandra@google.com>
620
621 * gdb.cp/non-trivial-retval.cc: Add new test cases.
622 * gdb.cp/non-trivial-retval.exp: Add new tests.
623
778811d5
SC
6242014-10-15 Siva Chandra Reddy <sivachandra@google.com>
625
626 PR c++/13403
627 PR c++/15154
628 * gdb.cp/non-trivial-retval.cc: New file.
629 * gdb.cp/non-trivial-retval.exp: New file.
630
10c5f0a8
YQ
6312014-10-15 Yao Qi <yao@codesourcery.com>
632
633 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
634 remote host.
635
65d7b369
YQ
6362014-10-15 Yao Qi <yao@codesourcery.com>
637
638 * gdb.python/py-symbol.exp: Match file base name if host is
639 remote, otherwise match file name with dir name.
640 * gdb.python/py-symtab.exp: Likewise.
641 * gdb.python/python.exp: Likewise.
642
46dc1394
YQ
6432014-10-15 Yao Qi <yao@codesourcery.com>
644
645 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
646 pattern.
647 * gdb.python/py-symtab.exp: Likewise.
648 * gdb.python/python.exp: Remove trailing ".*". Fix typo
649 locationn.
650
c40cc657
JB
6512014-10-14 Joel Brobecker <brobecker@adacore.com>
652
653 * gdb.ada/addr_arith: New testcase.
654
2abf49e1
MR
6552014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
656
657 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
658 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
659 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
660 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
661
f7088df3
SDJ
6622014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
663
664 * gdb.arch/stap-eval-lang-ada.S: Likewise.
665 * gdb.arch/stap-eval-lang-ada.c: Likewise.
666 * gdb.arch/stap-eval-lang-ada.exp: New file.
667
4dc06805
YQ
6682014-10-14 Yao Qi <yao@codesourcery.com>
669
670 * gdb.mi/mi-var-child.c (nothing1): New function.
671 (nothing2): New function.
672 (do_children_tests): Set function pointers by nothing1 and
673 nothing2.
674 * gdb.mi/mi-var-child.exp: Step over new added statements.
675 Update test to match the new output.
676 * gdb.mi/var-cmd.c (nothing1): New function.
677 (nothing2): New function.
678 (do_children_tests): Set function pointers by nothing1 and
679 nothing2.
680 * gdb.mi/mi-var-display.exp: Update test to match output.
681 Step to the line specified by $line_dct_nothing.
682 Increase the number of lines to step.
683
46a93de2
YQ
6842014-10-14 Yao Qi <yao@codesourcery.com>
685
686 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
687 tests.
688 * gdb.mi/mi2-var-child.exp: Likewise.
689
14ea52ee
DE
6902014-10-13 Doug Evans <dje@google.com>
691
692 * gdb.python/py-objfile.exp: Change name of file name test.
693
e5c6e92b
DE
6942014-10-13 Doug Evans <dje@google.com>
695
696 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
697 from the start of the CU.
698
c780cc2f
JK
6992014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
700 Yao Qi <yao@codesourcery.com>
701
702 Fix "save breakpoints" for "catch" command.
703 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
704 Remove -nonewline. Match also the added "main" line.
705
99894e11
JK
7062014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
707
708 Fix "save breakpoints" for "disable $bpnum" command.
709 * gdb.base/save-bp.c (main): Add label.
710 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
711
6e1ac5a3
JK
7122014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
713
714 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
715
754dd2b0
YQ
7162014-10-11 Yao Qi <yao@codesourcery.com>
717
718 * gdb.server/server-kill.exp: Execute command
719 "set remote trace-status-packet on" before "tstatus".
720
f90183d7
YQ
7212014-10-11 Yao Qi <yao@codesourcery.com>
722
723 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
724 (main): Call getppid.
725 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
726 and continue to it. Read variable "server_pid".
727
bf40a607
YQ
7282014-10-11 Yao Qi <yao@codesourcery.com>
729
730 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
731
052ca370
YQ
7322014-10-11 Yao Qi <yao@codesourcery.com>
733
734 * gdb.threads/thread-find.exp: Don't execute command
735 "info threads".
736 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
737 * gdb.threads/linux-dp.exp: Don't check the condition
738 $threads_created equals to zero.
739
3831839c
PA
7402014-10-10 Pedro Alves <palves@redhat.com>
741
742 * gdb.base/bigcore.exp: Remove references to IRIX.
743 * gdb.base/funcargs.exp: Likewise.
744 * gdb.base/interrupt.exp: Likewise.
745 * gdb.base/mips_pro.exp: Likewise.
746 * gdb.base/nodebug.exp: Likewise.
747 * gdb.base/setvar.exp: Likewise.
748 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
749
8b9a549d
PA
7502014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
751 Pedro Alves <palves@redhat.com>
752
753 PR symtab/14466
754 * gdb.base/vdso-warning.c: New file.
755 * gdb.base/vdso-warning.exp: New file.
756
d48ba5e8
DE
7572014-10-02 Doug Evans <dje@google.com>
758
759 * gdb.base/structs.c (main): Don't run forever.
760
2278c276
PA
7612014-10-02 Pedro Alves <palves@redhat.com>
762
763 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
764 (top level) <stop threads 1, stop threads 2>: Use it.
765
b57bacec
PA
7662014-10-02 Pedro Alves <palves@redhat.com>
767
768 * gdb.threads/break-while-running.exp (test): Add new
769 'update_thread_list' argument. Skip "info threads" if false.
770 (top level): Add new 'update_thread_list' axis.
771
13fd3ff3
PA
7722014-10-02 Pedro Alves <palves@redhat.com>
773
774 PR breakpoints/17431
775 * gdb.base/execl-update-breakpoints.c: New file.
776 * gdb.base/execl-update-breakpoints.exp: New file.
777
0fec99e8
PA
7782014-10-01 Pedro Alves <palves@redhat.com>
779
780 * gdb.base/breakpoint-in-ro-region.c: New file.
781 * gdb.base/breakpoint-in-ro-region.exp: New file.
782
2ddf4301
SM
7832014-10-01 Simon Marchi <simon.marchi@ericsson.com>
784
785 * gdb.mi/mi-exit-code.exp: New file.
786 * gdb.mi/mi-exit-code.c: New file.
787
6a5f3f43
YQ
7882014-09-30 Yao Qi <yao@codesourcery.com>
789
790 * lib/prelink-support.exp (build_executable_own_libs): Error if
791 the target isn't native.
792
345bcc73
YQ
7932014-09-30 Yao Qi <yao@codesourcery.com>
794
795 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
796 false.
797
a25a5a45
PA
7982014-09-22 Pedro Alves <palves@redhat.com>
799
800 * gdb.threads/break-while-running.exp: New file.
801 * gdb.threads/break-while-running.c: New file.
802
00ba3162
YQ
8032014-09-19 Yao Qi <yao@codesourcery.com>
804
805 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
806 Invoke test. Restart GDB with --readnow and invoke test again.
807
c3b7b696
YQ
8082014-09-19 Yao Qi <yao@codesourcery.com>
809
810 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
811 proc set_breakpoint_on_gcd_function. Invoke
812 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
813 invoke set_breakpoint_on_gcd_function again.
814
2b4fd423
DE
8152014-09-18 Doug Evans <dje@google.com>
816
817 * gdb.dwarf2/symtab-producer.exp: New file.
818
a5947601
SDJ
8192014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
820
821 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
822 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
823 * gdb.base/global-var-nested-by-dso.c: Likewise.
824 * gdb.base/global-var-nested-by-dso.exp: Likewise.
825
91c19059
SDJ
8262014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
827 Pedro Alves <palves@redhat.com>
828
829 * gdb.base/watch-bitfields.exp: Pass string other than test file
830 name to prepare_for_testing.
831 (watch): New procedure.
832 (expect_watchpoint): Use with_test_prefix.
833 (top level): Factor out tests to ...
834 (test_watch_location, test_regular_watch): ... these new
835 procedures, and use with_test_prefix and gdb_continue_to_end.
836
bb9d5f81
PP
8372014-09-16 Patrick Palka <patrick@parcs.ath.cx>
838
839 PR breakpoints/12526
840 * gdb.base/watch-bitfields.exp: New file.
841 * gdb.base/watch-bitfields.c: New file.
842
635856f5
PA
8432014-09-16 Pedro Alves <palves@redhat.com>
844
845 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
846 software and hardware addresses, not software address against
847 itself.
848
7280ceea
PA
8492014-09-16 Pedro Alves <palves@redhat.com>
850
851 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
852 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
853
428b16bd
PA
8542014-09-16 Pedro Alves <palves@redhat.com>
855
856 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
857 files.
858 * gdb.base/a2-run.exp: Remove all code guarded by istarget
859 "*-*-vxworks*" throughout.
860 * gdb.base/break.exp: Likewise.
861 * gdb.base/default.exp: Likewise.
862 * gdb.base/scope.exp: Likewise.
863 * gdb.base/sepdebug.exp: Likewise.
864 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
865 throughout.
866 * gdb.base/run.c: Likewise.
867 * gdb.base/sepdebug.c: Likewise.
868 * gdb.hp/gdb.aCC/run.c: Likewise.
869 * gdb.reverse/until-reverse.c: Likewise.
870 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
871
666d413c
YQ
8722014-09-16 Yao Qi <yao@codesourcery.com>
873
874 * boards/local-remote-host-native.exp: New file.
875
57cbd724
DE
8762014-09-14 Doug Evans <xdje42@gmail.com>
877
878 * gdb.threads/queue-signal.c (thread_count): New variable.
879 (thread_count_mutex, thread_count_condvar): New variables.
880 (incr_thread_count, wait_all_threads_running): New functions.
881 (main): Wait for all threads to be in their thread functions.
882
81219e53
DE
8832014-09-13 Doug Evans <xdje42@gmail.com>
884
885 * gdb.threads/queue-signal.c: New file.
886 * gdb.threads/queue-signal.exp: New file.
887
3714cea7
DE
8882014-09-13 Doug Evans <xdje42@gmail.com>
889
890 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
891 be consistent with what default_gdb_init uses.
892 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
893 the plain text of the prompt. Add some logging printfs.
894 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
895
fa43b1d7
PA
8962014-09-12 Pedro Alves <palves@redhat.com>
897
898 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
899 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
900 * gdb.arch/i386-size-overlap.exp: Likewise.
901 * gdb.arch/i386-size.exp: Likewise.
902 * gdb.arch/i386-unwind.exp: Likewise.
903 * gdb.base/a2-run.exp: Likewise.
904 * gdb.base/break.exp: Likewise.
905 * gdb.base/charset.exp: Likewise.
906 * gdb.base/chng-syms.exp: Likewise.
907 * gdb.base/commands.exp: Likewise.
908 * gdb.base/dbx.exp: Likewise.
909 * gdb.base/find.exp: Likewise.
910 * gdb.base/funcargs.exp: Likewise.
911 * gdb.base/jit-simple.exp: Likewise.
912 * gdb.base/reread.exp: Likewise.
913 * gdb.base/sepdebug.exp: Likewise.
914 * gdb.base/step-bt.exp: Likewise.
915 * gdb.cp/mb-inline.exp: Likewise.
916 * gdb.cp/mb-templates.exp: Likewise.
917 * gdb.objc/basicclass.exp: Likewise.
918 * gdb.threads/killed.exp: Likewise.
919
9d9bf2df
EBM
9202014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
921
922 PR tdep/17379
923 * gdb.arch/powerpc-stackless.S: New file.
924 * gdb.arch/powerpc-stackless.exp: New file.
925
1cf2f1b0
JK
9262014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
927
928 * gdb.base/attach.c: Include unistd.h.
929 (main): Call alarm. Add label postloop.
930 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
931 gdb_breakpoint, gdb_continue_to_breakpoint.
932 (test_command_line_attach_run): Kill ${testpid} in one exit path.
933
98880d46
PA
9342014-09-11 Pedro Alves <palves@redhat.com>
935
936 PR gdb/17347
937 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
938 * gdb.base/attach.exp (test_command_line_attach_run): New
939 procedure.
940 (top level): Call it.
941
4c92ff2c
PA
9422014-09-11 Pedro Alves <palves@redhat.com>
943
944 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
945 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
946 (do_command_attach_tests): Use spawn_wait_for_attach.
947 * gdb.base/solib-overlap.exp: Likewise.
948 * gdb.multi/multi-attach.exp: Likewise.
949 * gdb.python/py-prompt.exp: Likewise.
950 * gdb.python/py-sync-interp.exp: Likewise.
951 * gdb.server/ext-attach.exp: Likewise.
952
3adc1a7d
GKB
9532014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
954
955 * gdb.fortran/array-element.exp: Remove unexpected "continue"
956 command in testcase. Simplify testcase.
957
96334934
JB
9582014-09-10 Joel Brobecker <brobecker@adacore.com>
959
960 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
961
eb479039
JB
9622014-09-10 Joel Brobecker <brobecker@adacore.com>
963
964 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
965
deede10c
JB
9662014-09-10 Joel Brobecker <brobecker@adacore.com>
967
968 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
969
7828a5f5
JB
9702014-09-10 Joel Brobecker <brobecker@adacore.com>
971
972 * gdb.dwarf2/dynarr-ptr.c: New file.
973 * gdb.dwarf2/dynarr-ptr.exp: New file.
974
33aeebcf
MR
9752014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
976
977 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
978 of 30 rather than hardcoding 120 for a slow test case. Take the
979 `gdb,timeout' target setting into account for this calculation.
980 Don't extend the timeout for the test cases that don't need it.
981
7b415901
MR
9822014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
983
984 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
985 a factor of 2 for a slow test case. Take the `gdb,timeout'
986 target setting into account for this calculation.
987 * gdb.reverse/until-precsave.exp: Increase the timeout by
988 a factor of 15 and 3 respectively rather than adding 120
989 for a pair of slow test cases. Take the `gdb,timeout'
990 target setting into account for this calculation.
991
4a40f85a
MR
9922014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
993
994 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
995 timeout, don't pass one down to gdb_expect.
996 (gdb_expect): Rework timeout selection.
997
09635af7
MR
9982014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
999
1000 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
1001 exception on timeout.
1002 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
1003 (gdbserver_start_extended): Catch any `gdbserver_start' error
1004 exceptions.
1005 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
1006 * lib/mi-support.exp (mi_gdb_target_load): Catch any
1007 `gdbserver_gdb_load' error exceptions.
1008
2bdd10b7
MR
10092014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1010
1011 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
1012 120 on waiting for the TCP socket to open.
1013
316935f0
DE
10142014-09-09 Doug Evans <xdje42@gmail.com>
1015
1016 * gdb.base/default.exp (show_conv_list): Add _caller_is,
1017 _caller_matches, _any_caller_is, _any_caller_matches.
1018
83740597
DE
10192014-09-09 Doug Evans <xdje42@gmail.com>
1020
1021 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
1022
4c122fc3
YQ
10232014-09-09 Yao Qi <yao@codesourcery.com>
1024
1025 * gdb.mi/mi-var-display.exp: Set print symbol off.
1026
a9f116cb
GKB
10272014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
1028
1029 PR gdb/17035
1030 * gdb.base/commands.exp: Add tests to verify user-defined
1031 commands with empty bodies.
1032 * gdb.python/py-cmd.exp: Test that we don't show user-defined
1033 python commands in `show user command`.
1034 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
1035 scheme commands in `show user command`.
1036
c75bd3a2
JK
10372014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1038
1039 PR python/17355
1040 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
1041 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
1042 * gdb.python/py-framefilter-invalidarg.exp: New file.
1043 * gdb.python/py-framefilter-invalidarg.py: New file.
1044
faa42425
DE
10452014-09-06 Doug Evans <xdje42@gmail.com>
1046
1047 PR 15276
1048 * gdb.python/py-caller-is.c: New file.
1049 * gdb.python/py-caller-is.exp: New file.
1050
474ca4f6
SDJ
10512014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
1052
1053 PR gdb/17235
1054 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
1055 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
1056
eb0b0463
SDJ
10572014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
1058
1059 PR fortran/17237
1060 * gdb.fortran/print-formatted.exp: New file.
1061 * gdb.fortran/print-formatted.f90: Likewise.
1062
5f3b99cf
SS
10632014-09-03 Sasha Smundak <asmundak@google.com>
1064
1065 * gdb.python/py-frame.exp: Test Frame.read_register.
1066
7d793aa9
SDJ
10672014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
1068
1069 PR python/16699
1070 * gdb.python/py-completion.exp: New file.
1071 * gdb.python/py-completion.py: Likewise.
1072
fb0576e9
DE
10732014-08-28 Doug Evans <dje@google.com>
1074
1075 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
1076 eax,etc. are live with values set by gdb and thus the compiler can't
1077 use them.
1078 * gdb.arch/i386-pseudo.c (main): Ditto.
1079
ee92b0dd
DE
10802014-08-27 Doug Evans <dje@google.com>
1081
1082 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
1083
6649db35
DE
10842014-08-25 Doug Evans <dje@google.com>
1085
1086 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
1087 (main): Ditto.
1088
564b7600
DE
10892014-08-25 Doug Evans <dje@google.com>
1090
1091 * gdb.threads/thread-execl.exp: #include <stdio.h>.
1092
3881fb67
YQ
10932014-08-24 Yao Qi <yao@codesourcery.com>
1094
1095 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
1096 symbol off.
1097 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
1098
a05a36a5
DE
10992014-08-22 Doug Evans <dje@google.com>
1100
1101 PR 17276
1102 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
1103 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
1104 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
1105
7c343b48
YQ
11062014-08-22 Yao Qi <yao@codesourcery.com>
1107
1108 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
1109 * gdb.python/py-finish-breakpoint2.exp: Likewise.
1110 * gdb.python/python.exp: Likewise. Use .py file on the host
1111 instead of the build.
1112
22fd09ae
JK
11132014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1114
1115 * gdb.threads/gcore-stale-thread.c: New file.
1116 * gdb.threads/gcore-stale-thread.exp: New file.
1117
a8454a7c
PA
11182014-08-21 Pedro Alves <palves@redhat.com>
1119
1120 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
1121 * gdb.base/gcore-relro-pie.exp: Likewise.
1122 * gdb.base/gcore-relro.exp: Likewise.
1123 * gdb.base/gcore.exp: Likewise.
1124 * gdb.base/print-symbol-loading.exp: Likewise.
1125 * gdb.threads/gcore-thread.exp: Likewise.
1126 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
1127
2a31c623
PA
11282014-08-20 Pedro Alves <palves@redhat.com>
1129 Jan Kratochvil <jan.kratochvil@redhat.com>
1130
1131 * Makefile.in (EXTRA_RULES, CC): New variables, get from
1132 configure.
1133 (EXPECT): Handle READ1 being set.
1134 (all): Depend on EXTRA_RULES.
1135 (check-read1, expect-read1, read1.so, read1): New rules.
1136 * README (Testsuite Parameters): Document the READ1 make variable.
1137 (Race detection): New section.
1138 * configure: Regenerate.
1139 * configure.ac: If build==host==target, and running under a
1140 GNU/glibc system, add read1 to the extra Makefile rules.
1141 (EXTRA_RULES): AC_SUBST it.
1142 * lib/read1.c: New file.
1143
d36430db
JB
11442014-08-20 Joel Brobecker <brobecker@adacore.com>
1145
1146 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
1147 the handling of variables declared as a typedef to an array
1148 which a DW_AT_data_location attribute.
1149
9a0dc9e3
PA
11502014-08-19 Andrew Burgess <aburgess@broadcom.com>
1151 Pedro Alves <palves@redhat.com>
1152
1153 PR symtab/14604
1154 PR symtab/14605
1155 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
1156 gdb_test.
1157
0718a8da
PA
11582014-08-19 Pedro Alves <palves@redhat.com>
1159
1160 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
1161
13b448cd
YQ
11622014-08-19 Yao Qi <yao@codesourcery.com>
1163
1164 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
1165 right line.
1166
1cbf5077
DB
11672014-08-18 David Blaikie <dblaikie@gmail.com>
1168
1169 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
1170
bf0fae19
JB
11712014-08-18 Joel Brobecker <brobecker@adacore.com>
1172
1173 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
1174 attribute in array range.
1175
3c8c5dcc
JB
11762014-08-18 Joel Brobecker <brobecker@adacore.com>
1177
1178 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
1179
e66d4446
SC
11802014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1181
1182 PR c++/17132
1183 * gdb.cp/pr17132.cc: New file.
1184 * gdb.cp/pr17132.exp: New file.
1185
940df408
SC
11862014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1187
1188 * gdb.python/py-xmethods.py (A_getarrayind)
1189 (E_method_char_worker.__call__, E_method_int_worker.__call__):
1190 Use 'print' with function call syntax.
1191 (E_method_matcher.match): Fix tab vs space indentation mixup.
1192
ebcc6c3a
YQ
11932014-08-15 Yao Qi <yao@codesourcery.com>
1194
1195 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
1196 false.
1197
775e0f04
YQ
11982014-08-15 Yao Qi <yao@codesourcery.com>
1199
1200 * gdb.cp/casts.exp: Set print symbol off.
1201 * gdb.cp/class2.exp: Likewise.
1202 * gdb.cp/overload.exp: Likewise.
1203 * gdb.cp/templates.exp: Likewise.
1204
d769e349
DE
12052014-08-11 Doug Evans <dje@google.com>
1206
1207 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
1208 (test_load_shlib): Update.
1209
20c6f1e1
YQ
12102014-08-09 Yao Qi <yao@codesourcery.com>
1211
1212 * gdb.base/display.exp: Invoke is_address_zero_readable.
1213 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
1214 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1215 * gdb.base/hbreak-unmapped.exp: Return if
1216 is_address_zero_readable returns true.
1217 * gdb.base/signest.exp: Likewise.
1218 * gdb.base/signull.exp: Likewise.
1219 * gdb.base/sigbpt.exp: Likewise.
1220 * gdb.guile/scm-disasm.exp: Do the test if
1221 is_address_zero_readable returns false.
1222 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
1223 * gdb.python/py-arch.exp: Likewise.
1224 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
1225 * lib/gdb.exp (is_address_zero_readable): New proc.
1226
5792e8e3
YQ
12272014-08-09 Yao Qi <yao@codesourcery.com>
1228
1229 PR testsuite/13443
1230 * gdb.mi/mi-var-display.exp: Make test messages unique.
1231
3cecbbbe
TT
12322014-08-04 Tom Tromey <tromey@redhat.com>
1233
1234 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
1235 target 0".
1236
00b51ff5
TT
12372014-08-04 Tom Tromey <tromey@redhat.com>
1238
1239 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
1240 "target_resume".
1241
6908c509
JB
12422014-08-01 Joel Brobecker <brobecker@adacore.com>
1243
1244 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
1245 inner_vla_struct_object_size.
1246 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
1247 as xfail.
1248
cc6563d2
PA
12492014-07-30 Pedro Alves <palves@redhat.com>
1250
1251 * gdb.threads/signal-command-handle-nopass.exp (test): Add
1252 comment.
1253
7e09a223
YQ
12542014-07-29 Yao Qi <yao@codesourcery.com>
1255
1256 PR gdb/17206
1257 * gdb.base/until-nodebug.exp: New.
1258
7ebdbe92
DE
12592014-07-28 Doug Evans <xdje42@gmail.com>
1260
1261 PR guile/17203
1262 * gdb.guile/scm-parameter.exp: Add tests for trying to create
1263 previously existing parameter, and previously ambiguously spelled
1264 parameter.
1265
fdb1adc6
WN
12662014-07-28 Will Newton <will.newton@linaro.org>
1267
1268 * gdb.base/varargs.exp: Remove KFAILs for ARM.
1269
186fcde0
DE
12702014-07-26 Ludovic Courtès <ludo@gnu.org>
1271 Doug Evans <xdje42@gmail.com>
1272
1273 PR guile/17146
1274 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
1275
70509625
PA
12762014-07-25 Pedro Alves <palves@redhat.com>
1277
1278 * gdb.threads/signal-command-handle-nopass.c: New file.
1279 * gdb.threads/signal-command-handle-nopass.exp: New file.
1280 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
1281 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
1282 * gdb.threads/signal-delivered-right-thread.c: New file.
1283 * gdb.threads/signal-delivered-right-thread.exp: New file.
1284
c3f814a1
PA
12852014-07-25 Pedro Alves <palves@redhat.com>
1286
1287 * gdb.base/double-prompt-target-event-error.exp
1288 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
1289 match.
1290 (cancel_pagination_in_target_event): Rework double prompt
1291 detection.
1292 * gdb.base/paginate-after-ctrl-c-running.exp
1293 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
1294 <return>' match.
1295 * gdb.base/paginate-bg-execution.exp
1296 (test_bg_execution_pagination_return)
1297 (test_bg_execution_pagination_cancel): Remove '-notransfer
1298 <return>' matches.
1299 * gdb.base/paginate-execution-startup.exp
1300 (test_fg_execution_pagination_return)
1301 (test_fg_execution_pagination_cancel): Remove '-notransfer
1302 <return>' matches.
1303 * gdb.base/paginate-inferior-exit.exp
1304 (test_paginate_inferior_exited): Remove '-notransfer <return>'
1305 match.
1306 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
1307 * lib/gdb.exp (pagination_prompt): Run text through
1308 string_to_regexp.
1309 (gdb_test_multiple): Match $pagination_prompt instead of
1310 "<return>".
1311 (string_to_regexp): Move to lib/gdb-utils.exp.
1312
e214cf6c
JK
13132014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1314
1315 * gdb.arch/amd64-entry-value-paramref.S: New file.
1316 * gdb.arch/amd64-entry-value-paramref.cc: New file.
1317 * gdb.arch/amd64-entry-value-paramref.exp: New file.
1318 * gdb.arch/amd64-optimout-repeat.S: New file.
1319 * gdb.arch/amd64-optimout-repeat.c: New file.
1320 * gdb.arch/amd64-optimout-repeat.exp: New file.
1321
17d0c5c8
JK
13222014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1323
1324 PR gdb/17170
1325 * gdb.base/statistics.exp: New file.
1326
b8b8facf
DE
13272014-07-17 Doug Evans <dje@google.com>
1328
74b49205 1329 PR gdb/17170
b8b8facf
DE
1330 * gdb.base/maint.exp: Update testing of per-command stats.
1331
1b5d0ab3
PA
13322014-07-16 Pedro Alves <palves@redhat.com>
1333
1334 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
1335 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
1336 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
1337 (tfile_write_buf): New functions.
1338 (add_memory_block): Rewrite using the above.
1339 (adjust_function_address): New function.
1340 (FUNCTION_ADDRESS): New macro.
1341 (write_basic_trace_file): Remove short_x local, and use
1342 tfile_write_16. Change type of func_addr local to unsigned long
1343 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
1344 here. Cast argument of add_memory_block to char pointer.
1345 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
1346 (main): Remove parameters.
1347 * gdb.trace/tfile.exp: Remove nowarnings.
1348
4d974e88
SM
13492014-07-15 Simon Marchi <simon.marchi@ericsson.com>
1350
1351 * gdb.base/debug-expr.exp: Test string evaluation with
1352 "debug expression" on.
1353
41e99568
PA
13542014-07-15 Pedro Alves <palves@redhat.com>
1355
1356 * gdb.base/reread.exp: Use clean_restart.
1357
487d9753
PL
13582014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
1359
1360 * gdb.arch/avr-flash-qualifer.c: New.
1361 * gdb.arch/avr-flash-qualifer.exp: New.
1362
cc1c52ad
PA
13632014-07-14 Pedro Alves <palves@redhat.com>
1364
1365 * gdb.base/paginate-after-ctrl-c-running.c: New file.
1366 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
1367
1e973570
PA
13682014-07-14 Pedro Alves <palves@redhat.com>
1369
1370 * gdb.base/double-prompt-target-event-error.c: New file.
1371 * gdb.base/double-prompt-target-event-error.exp: New file.
1372
93d6eb10
PA
13732014-07-14 Pedro Alves <palves@redhat.com>
1374
1375 PR gdb/17072
1376 * gdb.base/paginate-inferior-exit.c: New file.
1377 * gdb.base/paginate-inferior-exit.exp: New file.
1378
0017922d
PA
13792014-07-14 Pedro Alves <palves@redhat.com>
1380
1381 PR gdb/17072
1382 * gdb.base/paginate-bg-execution.c: New file.
1383 * gdb.base/paginate-bg-execution.exp: New file.
1384
94696ad3
PA
13852014-07-14 Pedro Alves <palves@redhat.com>
1386
1387 PR gdb/17072
1388 * gdb.base/paginate-execution-startup.c: New file.
1389 * gdb.base/paginate-execution-startup.exp: New file.
1390 * lib/gdb.exp (pagination_prompt): New global.
1391 (default_gdb_spawn): New procedure, factored out from
1392 default_gdb_spawn.
1393 (default_gdb_start): Adjust to call default_gdb_spawn.
1394 (gdb_spawn): New procedure.
1395
bd293940
PA
13962014-07-14 Pedro Alves <palves@redhat.com>
1397
1398 * lib/gdb.exp (gdb_assert): New procedure.
1399 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
1400
c933f875
PA
14012014-07-14 Pedro Alves <palves@redhat.com>
1402
1403 * gdb.base/execution-termios.c: New file.
1404 * gdb.base/execution-termios.exp: New file.
1405
d98b7a16
TT
14062014-07-14 Tom Tromey <tromey@redhat.com>
1407
1408 * gdb.cp/vla-cxx.cc: New file.
1409 * gdb.cp/vla-cxx.exp: New file.
1410
548740d6
TT
14112014-07-14 Tom Tromey <tromey@redhat.com>
1412
1413 * gdb.reverse/rerun-prec.c: New file.
1414 * gdb.reverse/rerun-prec.exp: New file.
1415
a25eb028
MR
14162014-07-12 Maciej W. Rozycki <macro@mips.com>
1417 Maciej W. Rozycki <macro@codesourcery.com>
1418
1419 * lib/gdb-utils.exp: New file.
1420 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
1421 inline `gdb_init_command' processing.
1422 (gdb_start_cmd): Likewise.
1423 * lib/mi-support.exp (mi_run_cmd): Likewise.
1424 * README: Document `gdb_init_command' and `gdb_init_commands'.
1425
218c2655
JK
14262014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1427
1428 Fix false FAIL running under a very long directory name.
1429 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
1430 and "set print elements 10000". Twice.
1431
5401fde3
YQ
14322014-07-11 Yao Qi <yao@codesourcery.com>
1433
1434 * gdb.base/exprs.exp: "set print symbol off".
1435
e76126e8
PA
14362014-07-11 Pedro Alves <palves@redhat.com>
1437
1438 * gdb.threads/kill.c: New file.
1439 * gdb.threads/kill.exp: New file.
1440
2d6f0de6
YQ
14412014-07-10 Yao Qi <yao@codesourcery.com>
1442
1443 * gdb.trace/tfile.c (write_basic_trace_file)
1444 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
1445 address written to trace file.
1446
7180e04a
PA
14472014-07-09 Pedro Alves <palves@redhat.com>
1448
1449 * gdb.base/attach-wait-input.exp: New file.
1450 * gdb.base/attach-wait-input.c: New file.
1451
9a9a7608
AB
14522014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1453
1454 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
1455 setting up test structures.
1456 (main): Call new test function.
1457 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
1458 test function, continue into test function and walk test
1459 structures.
1460
161ac41e
YQ
14612014-07-02 Yao Qi <yao@codesourcery.com>
1462
1463 * gdb.trace/entry-values.c: Define labels 'foo_start' and
1464 'bar_start' at the beginning of functions 'foo' and 'bar'
1465 respectively.
1466 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
1467 instead of 'foo' and 'bar'.
1468
1f267ae3
MM
14692014-07-08 Markus Metzger <markus.t.metzger@intel.com>
1470
1471 * gdb.btrace/segv.exp: New.
1472 * gdb.btrace/segv.c: New.
1473
2b239efb
LM
14742014-07-02 Luis Machado <lgustavo@codesourcery.com>
1475
1476 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
1477 instruction.
1478
cf363f18
MW
14792014-06-30 Mark Wielaard <mjw@redhat.com>
1480
1481 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
1482 vulture, vilify, villar): New volatile array constants.
1483 (vindictive, vegetation): New const volatile array constants.
1484 * gdb.base/volatile.exp: Test volatile and const volatile array
1485 types.
1486
aebf9d24
AA
14872014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1488
1489 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
1490 target lacks support for awatch, rwatch, or hbreak.
1491
b67a2c6f
YQ
14922014-06-27 Yao Qi <yao@codesourcery.com>
1493
1494 * gdb.multi/dummy-frame-restore.exp: New.
1495 * gdb.multi/dummy-frame-restore.c: New.
1496
aef92902
MM
14972014-06-25 Markus Metzger <markus.t.metzger@intel.com>
1498
1499 * gdb.btrace/gcore.exp: New.
1500
8e9db26e
PA
15012014-06-23 Pedro Alves <palves@redhat.com>
1502
1503 * gdb.base/watchpoint-reuse-slot.c: New file.
1504 * gdb.base/watchpoint-reuse-slot.exp: New file.
1505
70afc5b7
SC
15062014-06-23 Siva Chandra Reddy <sivachandra@google.com>
1507
1508 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
1509 progspace's filename in 'info', 'enable' and 'disable' command
1510 tests.
1511
b972bd9c
JK
15122014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1513
1514 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
1515 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1516 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
1517
125f8a3d
GB
15182014-06-20 Gary Benson <gbenson@redhat.com>
1519
1520 * gdb.arch/i386-avx.exp: Fix include file location.
1521 * gdb.arch/i386-sse.exp: Likewise.
1522
3ed9baed
IB
15232014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
1524
1525 * gdb.dlang/expression.exp: New file.
1526
034f788c
PA
15272014-06-19 Pedro Alves <palves@redhat.com>
1528
1529 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
1530 out from ...
1531 (top level): ... here. Iterate running tests under different
1532 scheduler-locking settings.
1533
45371d0c
LM
15342014-06-18 Luis Machado <lgustavo@codesourcery.com>
1535
1536 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
1537 to DW_FORM_addr and use non-zero addresses.
1538
5d376983
SC
15392014-06-18 Siva Chandra Reddy <sivachandra@google.com>
1540
1541 PR gdb/17017
1542 * gdb.python/py-xmethods.cc: Add global function call counters and
1543 increment them in their respective functions. Remove "cout"
1544 statements.
1545 * gdb.python/py-xmethods.exp: Make tests check the global function
1546 call counters instead of depending on inferior IO.
1547
a1aa2221
LM
15482014-06-18 Don Breazeal <donb@codesourcery.com>
1549
1550 * gdb.base/foll-fork.exp (default_fork_parent_follow):
1551 Deleted procedure.
1552 (explicit_fork_parent_follow): Deleted procedure.
1553 (explicit_fork_child_follow): Deleted procedure.
1554 (test_follow_fork): New procedure.
1555 (do_fork_tests): Replace calls to deleted procedures with
1556 calls to test_follow_fork and reset GDB for subsequent
1557 procedure calls.
1558
0fc05997
YQ
15592014-06-17 Yao Qi <yao@codesourcery.com>
1560
1561 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
1562 CP1252.
1563
70795c52
LM
15642014-06-17 Luis Machado <lgustavo@codesourcery.com>
1565
1566 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
1567 Initialize ptr and S explicitly.
1568 (skip_type_update_when_not_use_rtti_test): Likewise.
1569
6be47f0c
KS
15702014-06-16 Keith Seitz <keiths@redhat.com>
1571
1572 PR mi/15863
1573 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
1574 the inferior is started.
1575
d03de421
PA
15762014-06-16 Pedro Alves <palves@redhat.com>
1577
1578 * gdb.base/break-main-file-remove-fail.c: New file.
1579 * gdb.base/break-main-file-remove-fail.exp: New file.
1580 * gdb.base/break-unload-file.exp: Use build_executable instead of
1581 prepare_for_testing.
1582 (test_break): New parameter "initial_load". Handle it.
1583 (top level): Add initial_load cmdline/file axis.
1584
f9579b99
TT
15852014-06-12 Tom Tromey <tromey@redhat.com>
1586
1587 * gdb.base/completion.exp: Don't use directory name in test.
1588
3657956b
GB
15892014-06-09 Gary Benson <gbenson@redhat.com>
1590
1591 * gdb.base/sigall.c [Functions to send signals]: Reorder to
1592 separate the always-available ANSI-standard signals from the
1593 signals that require checking.
1594 (main): Likewise.
1595 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
1596 Likewise.
1597 (main): Likewise.
1598
4186eb54
KS
15992014-06-07 Keith Seitz <keiths@redhat.com>
1600
1601 Revert:
1602 PR c++/16253
1603 * gdb.cp/var-tag.cc: New file.
1604 * gdb.cp/var-tag.exp: New file.
1605 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1606 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1607 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1608 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1609
25326a28 16102014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
1611
1612 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
1613
829155c9
PA
16142014-06-06 Pedro Alves <palves@redhat.com>
1615
1616 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
1617 in target debug output instead of looking at RSP packets,
1618 disabling the test on any target that uses hardware stepping.
1619 Update comments.
1620
61c8d22e
PA
16212014-06-06 Pedro Alves <palves@redhat.com>
1622
1623 * gdb.base/break-unload-file.exp: Fix typo.
1624
d9a47287
YQ
16252014-06-06 Yao Qi <yao@codesourcery.com>
1626
1627 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
1628 from "jit_function" to "^jit_function".
1629
e5e01dbf
YQ
16302014-06-06 Yao Qi <yao@codesourcery.com>
1631
1632 * gdb.base/async.c (foo): Add one statement.
1633 * gdb.base/async.exp: Get the next instruction address and
1634 match the output of "nexti" by instruction address. Match
1635 the hex address in the output of "finish".
1636
73ba372c
GB
16372014-06-06 Gary Benson <gbenson@redhat.com>
1638
1639 * gdb.base/call-signals.c: Remove preprocessor conditionals
1640 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
1641 SIGSEGV and SIGTERM.
1642 * gdb.base/sigall.c: Likewise.
1643 * gdb.base/unwindonsignal.c: Likewise.
1644 * gdb.reverse/sigall-reverse.c: Likewise.
1645
831517df
YQ
16462014-06-06 Yao Qi <yao@codesourcery.com>
1647
1648 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
1649 readable, skip the test.
1650
b8b91e98
YQ
16512014-06-06 Yao Qi <yao@codesourcery.com>
1652
1653 * gdb.threads/staticthreads.c (thread_function): Move the line
1654 setting breakpoint on forward.
1655 * gdb.threads/staticthreads.exp: Update comments.
1656
fb934770
LC
16572014-06-05 Ludovic Courtès <ludo@gnu.org>
1658
1659 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
1660 "history-append! type error".
1661
6ef284bd
SM
16622014-06-05 Simon Marchi <simon.marchi@ericsson.com>
1663
1664 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
1665 erroneous dprintf expected input.
1666
a872e241
DE
16672014-06-04 Doug Evans <xdje42@gmail.com>
1668
1669 * gdb.guile/scm-generics.exp: Delete.
1670
16f691fb
DE
16712014-06-04 Doug Evans <xdje42@gmail.com>
1672
1673 * gdb.guile/scm-breakpoint.exp: Update.
1674 Add tests for breakpoint registration.
1675
012370f6
TT
16762014-06-04 Tom Tromey <tromey@redhat.com>
1677
1678 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
1679 VLA-in-union.
1680 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
1681 inner_vla_struct, vla_union types. Initialize objects of those
1682 types and compute their sizes.
1683
9f5a4cef
HZ
16842014-06-04 Nathan Sidwell <nathan@codesourcery.com>
1685 Hui Zhu <hui@codesourcery.com>
1686
1687 * gdb.base/fileio.exp: Add test for shell not available as well as
1688 available.
1689 * gdb.base/fileio.c (test_system): Check for shell twice.
1690
90a45c4d
YQ
16912014-06-04 Yao Qi <yao@codesourcery.com>
1692
1693 * gdb.base/auto-connect-native-target.exp: Remove redundant
1694 space from the regexp pattern.
1695
70017e41
YQ
16962014-06-04 Yao Qi <yao@codesourcery.com>
1697
1698 * gdb.base/default.exp: Replace "child" with "native" in
1699 regexp pattern.
1700
883964a7
SC
17012014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1702
1703 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1704 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1705 * gdb.python/py-xmethods.py: Python script supporting the
1706 new testcase and tests.
1707
ef370185
JB
17082014-06-03 Joel Brobecker <brobecker@adacore.com>
1709 Pedro Alves <palves@redhat.com>
1710
1711 PR breakpoints/17000
1712 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1713 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1714
1e2ccb61
BM
17152014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1716
1717 * gdb.base/subst.exp: Add tests to verify partial path matching
1718 output.
1719
c6ec5ab2
PA
17202014-06-03 Pedro Alves <palves@redhat.com>
1721
1722 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1723 target that doesn't use software single-stepping.
1724
835c559f
PA
17252014-06-03 Pedro Alves <palves@redhat.com>
1726
1727 PR breakpoints/17000
1728 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1729 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1730
06eb1586
DE
17312014-06-02 Doug Evans <xdje42@gmail.com>
1732
1733 * gdb.guile/scm-parameter.exp: New file.
1734
e698b8c4
DE
17352014-06-02 Doug Evans <xdje42@gmail.com>
1736
1737 * gdb.guile/scm-cmd.c: New file.
1738 * gdb.guile/scm-cmd.exp: New file.
1739
ded03782
DE
17402014-06-02 Doug Evans <xdje42@gmail.com>
1741
1742 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1743 pretty-printer lookup.
1744 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1745 (make-pp_s-printer): Call it.
1746 (make-pretty-printer-from-dict): New function.
1747 (lookup-pretty-printer-maker-from-dict): New function.
1748 (*pretty-printer*): Simplify.
1749 (make-objfile-pp_s-printer): New function.
1750 (install-objfile-pretty-printers!): New function.
1751 (make-progspace-pp_s-printer): New function.
1752 (install-progspace-pretty-printers!): New function.
1753 * gdb.guile/scm-progspace.c: New file.
1754 * gdb.guile/scm-progspace.exp: New file.
1755
41fac0cf
PA
17562014-06-02 Pedro Alves <palves@redhat.com>
1757
1758 * gdb.base/dprintf-bp-same-addr.c: New file.
1759 * gdb.base/dprintf-bp-same-addr.exp: New file.
1760
96ae5695
EBM
17612014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1762
1763 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1764 * gdb.arch/powerpc-power.s: Likewise.
1765
da02b3a8
JB
17662014-06-02 Joel Brobecker <brobecker@adacore.com>
1767
1768 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1769
c72b2e7b
YQ
17702014-06-01 Yao Qi <yao@codesourcery.com>
1771
1772 * gdb.base/watchpoint.exp (test_watch_location): Check null
1773 pointer can be dereferenced. If not, do the test, otherwise
1774 skip it.
1775
53e8a631
AB
17762014-05-30 Andrew Burgess <aburgess@broadcom.com>
1777
1778 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1779 results.
1780 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1781
938f0e2f
AB
17822014-05-30 Andrew Burgess <aburgess@broadcom.com>
1783
1784 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1785 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1786 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1787 * gdb.arch/amd64-invalid-stack-top.c: New file.
1788 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1789
9ba6657a
PA
17902014-05-30 Pedro Alves <palves@redhat.com>
1791
1792 PR breakpoints/17000
1793 * gdb.base/sss-bp-on-user-bp.c: New file.
1794 * gdb.base/sss-bp-on-user-bp.exp: New file.
1795
522c09bf
DB
17962014-05-30 David Blaikie <dblaikie@gmail.com>
1797
1798 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1799 gnu_inline semantics via attribute.
1800 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1801 source explicitly specifies the required semantics.
1802
bf4ef81e
MR
18032014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1804
1805 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1806
329ea579
PA
18072014-05-29 Pedro Alves <palves@redhat.com>
1808 Tom Tromey <tromey@redhat.com>
1809
1810 * gdb.base/async-shell.exp: Don't enable target-async.
1811 * gdb.base/async.exp
1812 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1813 parameter. Adjust.
1814 (top level): Don't test with "target-async".
1815 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1816 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1817 * gdb.base/inferior-died.exp: Don't enable target-async.
1818 * gdb.base/interrupt-noterm.exp: Likewise.
1819 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1820 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1821 * gdb.mi/mi-nonstop.exp: Likewise.
1822 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1823 * gdb.mi/mi-nsintrall.exp: Likewise.
1824 * gdb.mi/mi-nsmoribund.exp: Likewise.
1825 * gdb.mi/mi-nsthrexec.exp: Likewise.
1826 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1827 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1828 * gdb.python/py-evsignal.exp: Don't enable target-async.
1829 * gdb.python/py-evthreads.exp: Likewise.
1830 * gdb.python/py-prompt.exp: Likewise.
1831 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1832 * gdb.server/solib-list.exp: Don't enable target-async.
1833 * gdb.threads/thread-specific-bp.exp: Likewise.
1834 * lib/mi-support.exp: Adjust to use mi-async.
1835
fd664c91
PA
18362014-05-29 Pedro Alves <palves@redhat.com>
1837
1838 PR gdb/13860
1839 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1840 reason, even in sync mode.
1841
251bde03
PA
18422014-05-29 Pedro Alves <palves@redhat.com>
1843 Hui Zhu <hui@codesourcery.com>
1844
1845 PR PR15693
1846 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1847 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1848 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1849 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1850
7f3c0343
JB
18512014-05-28 Joel Brobecker <brobecker@adacore.com>
1852
1853 * config/monitor.exp (gdb_target_monitor): Replace use of
1854 "set remotebaud" by "set serial baud".
1855
b2715b27
AW
18562014-05-26 Andy Wingo <wingo@igalia.com>
1857
1858 * gdb.guile/scm-breakpoint.exp:
1859 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1860 properties instead of gdb-object-properties.
1861
498a4489
YQ
18622014-05-26 Yao Qi <yao@codesourcery.com>
1863
1864 * gdb.server/no-thread-db.exp: Specify source file name
1865 explicitly when setting a breakpoint.
1866
589fdceb
MM
18672014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1868
1869 * gdb.btrace/vdso.c: New.
1870 * gdb.btrace/vdso.exp: New.
1871
e9089e05
MM
18722014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1873
1874 * gdb.base/gcore.exp (capture_command_output): Move ...
1875 * lib/gdb.exp (capture_command_output): ... here.
1876
67b5c0c1
MM
18772014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1878
1879 * gdb.btrace/data.exp: Test memory access during btrace replay.
1880
a2199296
SM
18812014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1882
1883 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1884
17b2616c
PA
18852014-05-21 Pedro Alves <palves@redhat.com>
1886
1887 PR gdb/13860
1888 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1889 (top level): Test that output related to execution commands is
1890 sent to the console with CLI commands, but not with MI commands.
1891 Test that breakpoint events are always mirrored to the console.
1892 Also expect the new source line to be output after a "next" in
1893 async mode too. Make it a pass/fail test.
1894 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
1895 output.
1896 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
1897
5166082f
PA
18982014-05-21 Pedro Alves <palves@redhat.com>
1899
1900 * gdb.base/list.exp (build_pattern, test_list): New procedures.
1901 Use them to test variations of "list" after reaching a breakpoint.
1902 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
1903 Test "list" with listsize 10 after reaching a breakpoint.
1904 * gdb.python/python.exp (decode_line current location line
1905 number): Adjust expected line number.
1906
2f25d70f
SM
19072014-05-21 Simon Marchi <simon.marchi@ericsson.com>
1908
1909 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
1910 behavior for $args, pass it directly to "run".
1911
ff604a67
MR
19122014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1913
1914 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
1915 30000 to 65536.
1916
6a3cb8e8
PA
19172014-05-21 Pedro Alves <palves@redhat.com>
1918
1919 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
1920 auto-connect-native-target off".
1921 * gdb.base/auto-connect-native-target.c: New file.
1922 * gdb.base/auto-connect-native-target.exp: New file.
1923
4ebfc96e
PA
19242014-05-21 Pedro Alves <palves@redhat.com>
1925
1926 * gdb.base/default.exp: Test "target native" instead of "target
1927 child".
1928
36d46afb
MW
19292014-05-21 Mark Wielaard <mjw@redhat.com>
1930
1931 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1932
5876f503
JK
19332014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1934
1935 Fix TLS access for -static -pthread.
1936 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
1937 <HAVE_TLS> (thread_function, main): Initialize it.
1938 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
1939 Add clean_restart.
1940 <$have_tls != "">: Check TLSVAR.
1941
0256a6ac
PA
19422014-05-21 Pedro Alves <palves@redhat.com>
1943
1944 * gdb.base/dcache-line-read-error.c: New.
1945 * gdb.base/dcache-line-read-error.exp: New.
1946
936d2992
PA
19472014-05-20 Pedro Alves <palves@redhat.com>
1948
1949 * gdb.base/compare-sections.c: New file.
1950 * gdb.base/compare-sections.exp: New file.
1951
802e8e6d
PA
19522014-05-20 Pedro Alves <palves@redhat.com>
1953
1954 * gdb.base/break-idempotent.c: New file.
1955 * gdb.base/break-idempotent.exp: New file.
1956
e59fa00f
MM
19572014-05-20 Markus Metzger <markus.t.metzger@intel.com>
1958
1959 * gdb.btrace/nohist.exp: New.
1960
8b696e31
YQ
19612014-05-20 Yao Qi <yao@codesourcery.com>
1962
1963 * lib/gdb.exp (gdb_init): Set timeout if test file is under
1964 gdb.reverse directory and gdb_reverse_timeout exists in board
1965 setting.
1966 * README: Document gdb_reverse_timeout.
1967
73c9764f
YQ
19682014-05-20 Yao Qi <yao@codesourcery.com>
1969
1970 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
1971 'test_file_name'. Treat args as a string instead of a list.
1972 (gdb_init): Rename argument 'args' by 'test_file_name'.
1973
f1f4348a
JK
19742014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1975
1976 * gdb.arch/powerpc-power.exp: New file.
1977 * gdb.arch/powerpc-power.s: New file.
1978
0dbe70ce
DE
19792014-05-16 Doug Evans <dje@google.com>
1980
1981 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
1982 * gdb.base/completion.exp: Check that all expected files exist
1983 before doing file completion.
0dbe70ce 1984
8d551b02
DE
19852014-05-16 Doug Evans <dje@google.com>
1986
1987 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
1988 Update.
1989 (do_syscall_tests_without_xml): Update.
1990
73eb7709
PA
19912014-05-16 Pedro Alves <palves@redhat.com>
1992
1993 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
1994 instead of "unknown output after running".
1995
3fae92fc
YQ
19962014-05-16 Yao Qi <yao@codesourcery.com>
1997
1998 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
1999 file1.txt from host at the end.
2000 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2001
c2b2ccc5
DE
20022014-05-15 Doug Evans <dje@google.com>
2003
2004 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
2005 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
2006 loading file. Add test for TU lookup.
2007
8c217a4b
SM
20082014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2009
2010 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
2011 calling "-exec-arguments" or "set args" before running the
2012 inferior.
2013
3deb39c6
SM
20142014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2015
2016 * lib/mi-support.exp (mi_expect_stop): Expect message for
2017 inferiors that exit with non-zero exit code.
2018
71a79f8c
YQ
20192014-05-14 Yao Qi <yao@codesourcery.com>
2020
2021 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
2022 match absolute path on remote host.
2023 (test_file_list_exec_source_files): Remove "/" from the
2024 pattern.
2025
f23fcd46
YQ
20262014-05-14 Yao Qi <yao@codesourcery.com>
2027
2028 * boards/local-remote-host-notty.exp (${board}_file): New
2029 proc.
2030
9404b58f
KM
20312014-05-07 Kyle McMartin <kyle@redhat.com>
2032
2033 Pushed by Joel Brobecker <brobecker@adacore.com>.
2034 * gdb.arch/aarch64-atomic-inst.c: New file.
2035 * gdb.arch/aarch64-atomic-inst.exp: New file.
2036
5e45f04c
YQ
20372014-05-07 Yao Qi <yao@codesourcery.com>
2038
2039 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
2040 in current context" too.
2041
c888a17d
KS
20422014-05-05 Keith Seitz <keiths@redhat.com>
2043
2044 * gdb.linespec/ls-dollar.exp: Add test for linespec
2045 file:convenience_variable.
2046
290a839c
YQ
20472014-05-05 Yao Qi <yao@codesourcery.com>
2048
2049 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
2050 traceframes into tfile and ctf trace files. Read data from
2051 trace file and test collected data.
2052 (gdb_collect_locals_test): Likewise.
2053 (gdb_unavailable_registers_test): Likewise.
2054 (gdb_unavailable_floats): Likewise.
2055 (gdb_collect_globals_test): Likewise.
2056 (top-level): Append "ctf" to trace_file_targets if GDB
2057 supports.
2058
b5262cd0
YQ
20592014-05-05 Yao Qi <yao@codesourcery.com>
2060
2061 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
2062 code to ...
2063 (gdb_collect_args_test_1): ... it. New proc.
2064 (gdb_collect_locals_test): Move some code to ...
2065 (gdb_collect_locals_test_1): ... it. New proc.
2066 (gdb_unavailable_registers_test): Move some code to ...
2067 (gdb_unavailable_registers_test_1): ... it. New proc.
2068 (gdb_unavailable_floats): Move some code to ...
2069 (gdb_unavailable_floats_1): ... it. New proc.
2070
30a1e6cc
SDJ
20712014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2072
2073 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
2074 probes to test for bitness recognition.
2075 * gdb.arch/amd64-stap-optional-prefix.exp
2076 (test_probe_value_without_reg): New procedure.
2077 Add code to test for different kinds of bitness.
2078
f33da99a
SDJ
20792014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2080
2081 PR breakpoints/16889
2082 * gdb.arch/amd64-stap-optional-prefix.S: New file.
2083 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2084
5b80f00d
PA
20852014-05-01 Pedro Alves <palves@redhat.com>
2086
2087 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
2088 gdb_file_cmd if no file is specified.
2089 * boards/native-extended-gdbserver.exp (gdb_load): Use the
2090 last_loaded_file to set the remote exec-file.
2091
f8c2a73c
PA
20922014-05-01 Pedro Alves <palves@redhat.com>
2093
2094 * boards/local-remote-host.exp: New file.
2095
be6e8ac7
PA
20962014-05-01 Pedro Alves <palves@redhat.com>
2097
2098 * boards/local-remote-host.exp: Rename to ...
2099 * boards/local-remote-host-notty.exp: ... this.
2100
cac0dc8f
JB
21012014-04-28 Joel Brobecker <brobecker@adacore.com>
2102
2103 * gdb.ada/dyn_arrayidx: New testcase.
2104
9730e6cc
YQ
21052014-04-26 Yao Qi <yao@codesourcery.com>
2106
2107 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
2108 and compute the length of function main. Save it in
2109 $main_length.
2110 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
2111 (top-level): Use gdb_compile to compile objects into
2112 executable and restart GDB. Remove invocation to
2113 prepare_for_testing.
2114
7ae1a6a6
PA
21152014-04-25 Simon Marchi <simon.marchi@ericsson.com>
2116 Pedro Alves <palves@redhat.com>
2117
2118 PR server/16255
2119 * gdb.multi/multi-attach.c: New file.
2120 * gdb.multi/multi-attach.exp: New file.
2121
4082afcc
PA
21222014-04-25 Pedro Alves <palves@redhat.com>
2123
2124 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
2125 user.
2126 (top level): Test that "set remote conditional-breakpoints-packet
2127 off" works as intended.
2128 * gdb.base/dprintf.exp: Test that "set remote
2129 breakpoint-commands-packet off" works as intended.
2130 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
2131 New function.
2132 (top level): Call it.
2133 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
2134 remote fast-tracepoints-packet off" works as intended.
2135 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
2136 * lib/gdb.exp (gdb_is_target_remote): ... here.
2137
2abc3f8d
DB
21382014-04-24 David Blaikie <dblaikie@gmail.com>
2139
2140 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
2141 ensure clang would not discard them.
2142 * gdb.base/gdbvars.c: Ditto.
2143 * gdb.base/memattr.c: Ditto.
2144 * gdb.base/whatis.c: Ditto.
2145 * gdb.python/py-prettyprint.c: Ditto.
2146 * gdb.trace/actions.c: Ditto.
2147 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
2148 ensure clang would not discard it.
2149
bfd39632
DB
21502014-04-24 David Blaikie <dblaikie@gmail.com>
2151
2152 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
2153 clang to emit the full definition of type required by the test
2154 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
2155
22842ff6
DB
21562014-04-24 David Blaikie <dblaikie@gmail.com>
2157
2158 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
2159 coax Clang into emitting the definition of the type.
2160 * gdb.cp/pr10728-x.h (y): Ditto.
2161 * gdb.cp/pr10728-y.cc (y): Ditto.
2162
c2e827ad
DB
21632014-04-24 David Blaikie <dblaikie@gmail.com>
2164
2165 * gdb.base/label.exp: XFAIL label related tests under Clang.
2166 * gdb.cp/cplabel.exp: Ditto.
2167 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
2168 under Clang those using labels.
2169
4c2d33e7
YQ
21702014-04-25 Yao Qi <yao@codesourcery.com>
2171
2172 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
2173 double_label.
2174 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
2175 partial_label and double_label.
2176
56083b99
DB
21772014-04-24 David Blaikie <dblaikie@gmail.com>
2178
2179 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
2180
25d4e99d
DB
21812014-04-24 David Blaikie <dblaikie@gmail.com>
2182
2183 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
2184 of the function to work across GCC and Clang.
2185 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
2186 pointer types (const void ** const V void **).
2187
01f9f808
MS
21882014-04-24 Michael Sturm <michael.sturm@mintel.com>
2189 Walfred Tedeschi <walfred.tedeschi@intel.com>
2190
2191 * Makefile.in (EXECUTABLES): Added i386-avx512.
2192 * gdb.arch/i386-avx512.c: New file.
2193 * gdb.arch/i386-avx512.exp: Likewise.
2194
4b48d439
KS
21952014-04-23 Keith Seitz <keiths@redhat.com>
2196
2197 * lib/mi-support.exp (mi_list_breakpoints): Delete.
2198 (mi_make_breakpoint_table): New procedure.
2199 (mi_create_breakpoint): Use mi_make_breakpoint
2200 and return the result.
2201 (mi_make_breakpoint): New procedure.
2202 (mi_build_kv_pairs): New procedure.
2203
2204 * gdb.mi/mi-break.exp: Remove unused globals,
2205 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
2206 All callers updated.
2207 * gdb.mi/mi-dprintf.exp: Use variable to track command
2208 number.
2209 Update all callers of mi_create_breakpoint and use
2210 mi_make_breakpoint_table.
2211 Remove any unused global variables.
2212 * gdb.mi/mi-nonstop.exp: Likewise.
2213 * gdb.mi/mi-nsintrall.exp: Likewise.
2214 * gdb.mi/mi-nsmoribund.exp: Likewise.
2215 * gdb.mi/mi-nsthrexec.exp: Likewise.
2216 * gdb.mi/mi-reverse.exp: Likewise.
2217 * gdb.mi/mi-simplerun.exp: Likewise.
2218 * gdb.mi/mi-stepn.exp: Likewise.
2219 * gdb.mi/mi-syn-frame.exp: Likewise.
2220 * gdb.mi/mi-until.exp: Likewise.
2221 * gdb.mi/mi-var-cp.exp: Likewise.
2222 * gdb.mi/mi-var-display.exp: Likewise.
2223 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2224 * gdb.mi/mi2-var-child.exp: Likewise.
2225 * gdb.mi/mi-vla-c99.exp: Likewise.
2226 * lib/mi-support.exp: Likewise.
2227
2228 From Ian Lance Taylor <iant@cygnus.com>:
2229 * lib/gdb.exp (parse_args): New procedure.
2230
08351840
PA
22312014-04-23 Pedro Alves <palves@redhat.com>
2232
2233 * gdb.base/break-unload-file.c: New file.
2234 * gdb.base/break-unload-file.exp: New file.
2235 * gdb.base/sym-file-lib.c (baz): New function.
2236 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
2237 field.
2238 (load): Store the segment's mapped size.
2239 (unload): New function.
2240 (unload_shlib): New function.
2241 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
2242 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
2243 set a breakpoint at baz, and call it.
2244 * gdb.base/sym-file.exp: New tests for stale breakpoint
2245 instructions.
2246
076855f9
PA
22472014-04-23 Pedro Alves <palves@redhat.com>
2248
2249 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
2250 * gdb.base/hbreak-in-shr-unsupported.c: New file.
2251 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
2252 * gdb.base/hbreak-unmapped.c: New file.
2253 * gdb.base/hbreak-unmapped.exp: New file.
2254 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
2255 * lib/gdb.exp (gdb_is_target_remote): ... here.
2256
483805cf
PA
22572014-04-22 Pedro Alves <palves@redhat.com>
2258
2259 * gdb.base/consecutive-step-over.c: New file.
2260 * gdb.base/consecutive-step-over.exp: New file.
2261
06d97543
PA
22622014-04-22 Pedro Alves <palves@redhat.com>
2263
2264 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
2265 instead of send_gdb/gdb_expect.
2266
b4429ea2
YQ
22672014-04-22 Yao Qi <yao@codesourcery.com>
2268
2269 * lib/trace-support.exp (generate_tracefile): New procedure.
2270 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
2271 return 0.
2272 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
2273 if generate_tracefile returns 1.
2274
51d48146
PA
22752014-04-18 Tom Tromey <palves@redhat.com>
2276 Pedro alves <tromey@redhat.com>
2277
2278 PR backtrace/15558
2279 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
2280 with a backtrace limit.
2281 * gdb.python/py-frame-inline.exp: Test running to an inline
2282 function with a backtrace limit, and printing the newest frame.
2283 * gdb.python/py-frame-inline.c (main): Call f.
2284
bd1dce5f
MS
22852014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2286
2287 * gdb.java/jnpe.exp: Drop srcdir from untested path.
2288
40d1a503
MS
22892014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2290
2291 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
2292 Drop prefix from unsupported source file path.
2293
389b98f7
YQ
22942014-04-17 Yao Qi <yao@codesourcery.com>
2295
2296 * lib/gdb.exp (with_target_charset): New proc.
2297 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
2298 with_target_charset.
2299 (test_print_strings): Likewise.
2300 (test_repeat_bytes): Likewise.
2301 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
2302 for some tests.
2303
22869d73
KS
23042014-04-16 Keith Seitz <keiths@redhat.com>
2305
2306 PR gdb/15827
2307 * gdb.dwarf2/corrupt.c: New file.
2308 * gdb.dwarf2/corrupt.exp: New file.
2309
c4f87ca6
KS
23102014-04-16 Keith Seitz <keiths@redhat.com>
2311
2312 PR c++/16597
2313 * gdb.cp/namelessclass.cc: New file.
2314 * gdb.cp/namelessclass.exp: New file.
2315 * gdb.cp/namelessclass.S: New file.
2316
ab19de87
DE
23172014-04-16 Doug Evans <dje@google.com>
2318
2319 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
2320 Add comment.
2321 (gdbserver_default_get_comm_port): New function.
2322 (gdbserver_start): Check if board file provided
2323 "gdbserver,get_comm_port" and use it if so.
2324 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
2325 (gdb,socketport): Set to "stdio".
2326 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
2327 (stdio_gdbserver_template): Delete.
2328 (${board}_get_remote_address): Update.
2329 (${board}_build_remote_cmd): Delete.
2330 (${board}_get_comm_port): New function.
2331 (${board}_spawn): Update.
2332 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
2333 Delete.
2334 (${board}_get_remote_address): Update.
2335 (${board}_get_comm_port): New function.
2336
fc98a809
AB
23372014-04-16 Andrew Burgess <aburgess@broadcom.com>
2338
2339 * gdb.base/memattr.exp: Improve regexps to handle memory regions
2340 appearing in any order.
2341
87fd9e6e
DE
23422014-04-15 Doug Evans <dje@google.com>
2343
2344 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
2345 uninitialized value of "description".
2346
099fc3ea
KS
23472014-04-15 Keith Seitz <keiths@redhat.com>
2348
2349 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
2350 Remove unused globals.
2351 (test_running_the_program): Likewise.
2352 (test_controlled_execution): Likewise.
2353 (test_controlling_breakpoints): Likewise.
2354 (test_program_termination): Likewise.
2355
5da151d4
KS
23562014-04-15 Keith Seitz <keiths@redhat.com>
2357
2358 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
2359 unused globals.
2360 (test_rbreak_creation_and_listing): Likewise.
2361 (test_ignore_count): Likewise.
2362 (test_error): Likewise.
2363
35e5d2f0
PA
23642014-04-15 Pedro Alves <palves@redhat.com>
2365
2366 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
2367 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
2368 sym-file-loader.c.
2369 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2370 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2371 to sym-file-loader.c.
2372 (struct library): Forward declare.
2373 (load_shlib, lookup_function): Change prototypes.
2374 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2375 (translate_offset): Remove declarations.
2376 (get_text_addr): New declaration.
2377 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
2378 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
2379 sym-file-loader.h.
2380 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2381 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2382 here from sym-file-loader.h.
2383 (struct library): New structure.
2384 (load_shlib, lookup_function): Change prototypes and adjust to
2385 work with a struct library.
2386 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2387 (translate_offset): Make static.
2388 (get_text_addr): New function.
2389 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
2390
eb4c1710
PA
23912014-04-15 Pedro Alves <palves@redhat.com>
2392
2393 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
2394
2d1baf52
PA
23952014-04-15 Pedro Alves <palves@redhat.com>
2396
2397 * gdb.base/sym-file-loader.c: Include <limits.h>.
2398 (SELF_LINK): New define.
2399 (get_origin): New function.
2400 (load_shlib): Use it.
2401 * gdb.base/sym-file.exp: Don't early return if the target is
2402 remote. Use runto_main, and issue fail is that fails. Use
2403 gdb_load_shlibs.
2404 (shlib_name): Delete.
2405 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
2406
7dd6df01
PA
24072014-04-15 Pedro Alves <palves@redhat.com>
2408
2409 * gdb.base/sym-file.exp: Remove regex characters from test
2410 message. Don't refer to breakpoint numbers in test messages.
2411
b50c8614
KS
24122014-04-14 Keith Seitz <keiths@redhat.com>
2413
2414 PR c++/16253
2415 * gdb.cp/var-tag.cc: New file.
2416 * gdb.cp/var-tag.exp: New file.
2417 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2418 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2419 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2420 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2421
3d567982
TT
24222014-04-14 Tom Tromey <tromey@redhat.com>
2423
2424 * gdb.cp/classes.exp (test_enums): Handle underlying type.
2425 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
2426 type.
2427 * gdb.cp/enum-class.exp: New file.
2428 * gdb.cp/enum-class.cc: New file.
2429
0626fc76
TT
24302014-04-14 Tom Tromey <tromey@redhat.com>
2431
2432 * gdb.dwarf2/enum-type.exp: New file.
2433
dca325b3
SA
24342014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2435
2436 * gdb.mi/mi-vla-c99.exp: New file.
2437 * gdb.mi/vla.c: New file.
2438
5854b38a
SA
24392014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2440
2441 * gdb.base/vla-datatypes.c: New file.
2442 * gdb.base/vla-datatypes.exp: New file.
2443
463bb957
SA
24442014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2445
2446 * gdb.base/vla-ptr.c: New file.
2447 * gdb.base/vla-ptr.exp: New file.
2448
3dd170be
SA
24492014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2450
2451 * gdb.dwarf2/count.exp: New file.
2452
5ecaaa66
SA
24532014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2454
2455 * gdb.base/vla-sideeffect.c: New file.
2456 * gdb.base/vla-sideeffect.exp: New file.
2457
41f1ada5
DB
24582014-04-14 David Blaikie <dblaikie@gmail.com>
2459
2460 * gdb.mi/non-stop.c: Add return value for non-void function return
2461 statement.
2462 * gdb.threads/staticthreads.c: Ditto.
2463
0be03e84
DE
24642014-04-12 Siva Chandra Reddy <sivachandra@google.com>
2465 Doug Evans <xdje42@gmail.com>
2466
2467 * gdb.guile/scm-value.c: Improve test case.
2468 * gdb.guile/scm-value.exp: Add new test.
2469
f180a1fb
DB
24702014-04-11 David Blaikie <dblaikie@gmail.com>
2471
2472 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
2473 override Clang's default.
2474
6b662e19
JB
24752014-04-11 Joel Brobecker <brobecker@adacore.com>
2476
2477 Revert the following changes (regressions):
2478
2479 * gdb.base/vla-sideeffect.c: New file.
2480 * gdb.base/vla-sideeffect.exp: New file.
2481
2482 * gdb.dwarf2/count.exp: New file.
2483
2484 * gdb.base/vla-multi.c: New file.
2485 * gdb.base/vla-multi.exp: New file.
2486
2487 * gdb.base/vla-ptr.c: New file.
2488 * gdb.base/vla-ptr.exp: New file.
2489
2490 * gdb.base/vla-datatypes.c: New file.
2491 * gdb.base/vla-datatypes.exp: New file.
2492
2493 * gdb.mi/mi-vla-c99.exp: New file.
2494 * gdb.mi/vla.c: New file.
2495
245a5f0b
KS
24962014-04-11 Keith Seitz <keiths@redhat.com>
2497
2498 PR c++/16675
2499 * gdb.cp/cpsizeof.exp: New file.
2500 * gdb.cp/cpsizeof.cc: New file.
2501
58a84dcf
SA
25022014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2503
191a8a90
JB
2504 * gdb.mi/mi-vla-c99.exp: New file.
2505 * gdb.mi/vla.c: New file.
58a84dcf 2506
c8655f75
SA
25072014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2508
2509 * gdb.base/vla-datatypes.c: New file.
2510 * gdb.base/vla-datatypes.exp: New file.
2511
024e13b4
SA
25122014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2513
2514 * gdb.base/vla-ptr.c: New file.
2515 * gdb.base/vla-ptr.exp: New file.
2516
1a237e0e
SA
25172014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2518
2519 * gdb.base/vla-multi.c: New file.
2520 * gdb.base/vla-multi.exp: New file.
2521
504f3432
SA
25222014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2523
2524 * gdb.dwarf2/count.exp: New file.
2525
3bce8237
SA
25262014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2527
191a8a90
JB
2528 * gdb.base/vla-sideeffect.c: New file.
2529 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 2530
322f9c21
YQ
25312014-04-11 Yao Qi <yao@codesourcery.com>
2532
2533 * gdb.base/completion.exp: Check file exists before running tests
2534 on file completion.
2535
d708bcd1
PA
25362014-04-10 Pedro Alves <palves@redhat.com>
2537
2538 * gdb.base/cond-eval-mode.c: New file.
2539 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
2540 prepare_for_testing to build the new file. Check result of
2541 runto_main.
2542 (test_break, test_watch): New procedures.
2543 (top level): Use them.
2544
ae1d2761
PM
25452014-04-08 Pierre Muller <muller@sourceware.org>
2546
2547 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
2548 Ctrl-V use for mingw hosts.
2549
7af389b8
SC
25502014-04-07 Siva Chandra Reddy <sivachandra@google.com>
2551
2552 * gdb.python/py-value.c: Improve test case.
2553 * gdb.python/py-value.exp: Add new test.
2554
5e703181
DE
25552014-04-07 David Blaikie <dblaikie@gmail.com>
2556
2557 * lib/compiler.c: Identify the clang compiler.
2558 * lib/compiler.cc: Ditto.
2559
9810b410
YQ
25602014-04-03 Yao Qi <yao@codesourcery.com>
2561
2562 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
2563
98d1b8dc
AB
25642014-04-01 Anton Blanchard <anton@samba.org>
2565
2566 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
2567 messages unique.
2568
3114cea1
AB
25692014-04-01 Anton Blanchard <anton@samba.org>
2570
2571 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
2572 prepare_for_testing.
2573
62f7182c
AB
25742014-04-01 Anton Blanchard <anton@samba.org>
2575
2576 * gdb.arch/ppc64-atomic-inst.c: Remove.
2577 * gdb.arch/ppc64-atomic-inst.S: New file.
2578 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
2579
770e7fc7
DE
25802014-03-31 Doug Evans <dje@google.com>
2581
2582 * gdb.base/print-symbol-loading-lib.c: New file.
2583 * gdb.base/print-symbol-loading-main.c: New file.
2584 * gdb.base/print-symbol-loading.exp: New file.
2585
46e2bafa
YQ
25862014-03-31 Yao Qi <yao@codesourcery.com>
2587
2588 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
2589
8776cfe9
JB
25902014-03-28 Joel Brobecker <brobecker@adacore.com>
2591
2592 * gdb.ada/mi_dyn_arr: New testcase.
2593
5d1ef361
DE
25942014-03-27 Doug Evans <dje@google.com>
2595
2596 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
2597
b5bee914
YQ
25982014-03-27 Yao Qi <yao@codesourcery.com>
2599
2600 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
2601 if target is nios2-*-*.
2602
0d4d0e77
YQ
26032014-03-26 Yao Qi <yao@codesourcery.com>
2604
2605 * lib/gdb.exp (readline_is_used): New proc.
2606 * gdb.base/completion.exp: Move tests on command complete up.
2607 Skip the rest of tests if readline is not used.
2608 * gdb.ada/complete.exp: Skp the test if readline is not
2609 used.
2610 * gdb.base/filesym.exp: Likewise.
2611 * gdb.base/macscp.exp: Likewise.
2612 * gdb.base/readline-ask.exp: Likewise.
2613 * gdb.base/readline.exp: Likewise.
2614 * gdb.python/py-cmd.exp: Likewise.
2615 * gdb.trace/tfile.exp: Likewise.
2616
29361eee
YQ
26172014-03-26 Yao Qi <yao@codesourcery.com>
2618
2619 * gdb.base/macscp.exp: Fix code format issues.
2620
bc9a5525
UW
26212014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
2622
2623 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
2624 * gdb.asm/powerpc64le.inc: New file.
2625
d3839ede
PA
26262014-03-25 Pedro Alves <palves@redhat.com>
2627 Doug Evans <dje@google.com>
2628
2629 * gdb.base/source-execution.c: New file.
2630 * gdb.base/source-execution.exp: New file.
2631 * gdb.base/source-execution.gdb: New file.
2632
01672a57
DE
26332014-03-24 Doug Evans <dje@google.com>
2634
2635 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
2636 using fission.
2637
88bbeca9
HZ
26382014-03-24 Hui Zhu <hui@codesourcery.com>
2639 Pedro Alves <palves@redhat.com>
2640
2641 PR breakpoints/16101
2642 * gdb.base/dprintf.exp: Use unsupported rather than changing the
2643 test pass/fail messages. Detect missing support for dprintf when
2644 breakpoints are actually inserted.
2645 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
2646 breakpoints are actually inserted.
2647 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
2648 fails.
2649
d2348791
JK
26502014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2651
2652 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
2653
feef67ab
DE
26542014-03-22 Doug Evans <xdje42@gmail.com>
2655
2656 * gdb.python/python.exp (python not supported): Verify multi-line
2657 python command issues an error.
25d743f9 2658 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 2659 guile command issues an error.
feef67ab 2660
ecebef6a
MR
26612014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
2662
2663 * gdb.threads/thread-specific.exp: Handle the lack of usable
2664 $this_breakpoint and $this_thread.
2665
ccdd1909
HZ
26662014-03-21 Hui Zhu <hui@codesourcery.com>
2667
2668 * gdb.base/attach.exp (do_command_attach_tests): New.
2669
beb460e8
PA
26702014-03-20 Tom Tromey <tromey@redhat.com>
2671 Pedro Alves <palves@redhat.com>
2672
2673 PR cli/15718
2674 * gdb.base/condbreak-call-false.c: New file.
2675 * gdb.base/condbreak-call-false.exp: New file.
2676
40acf43a
PA
26772014-03-20 Pedro Alves <palves@redhat.com>
2678
2679 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
2680 Delete.
2681 (block_signals, unblock_signals): Delete.
2682 (child_function_2, main): Remove references to deleted variable
2683 and functions.
2684
9f5e1e02
PA
26852014-03-20 Pedro Alves <palves@redhat.com>
2686
2687 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
2688 Use pthread_kill to signal thread 2.
2689 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2690 Adjust to make the test send itself a signal rather than using the
2691 host's "kill" command.
2692
99619bea
PA
26932014-03-20 Pedro Alves <palves@redhat.com>
2694
2695 * gdb.threads/multiple-step-overs.c: New file.
2696 * gdb.threads/multiple-step-overs.exp: New file.
2697 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2698 Adjust expected infrun debug output.
2699
2adfaa28
PA
27002014-03-20 Pedro Alves <palves@redhat.com>
2701
2702 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2703 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2704
31e77af2
PA
27052014-03-20 Pedro Alves <palves@redhat.com>
2706
2707 PR breakpoints/7143
2708 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2709 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2710 of gdb_test_multiple.
2711 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2712 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2713
b9f437de
PA
27142014-03-20 Pedro Alves <palves@redhat.com>
2715
2716 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2717 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2718
05adc73e
PA
27192014-03-19 Pedro Alves <palves@redhat.com>
2720
2721 * gdb.base/async.exp: Remove early return.
2722
6048b950
PA
27232014-03-19 Pedro Alves <palves@redhat.com>
2724
2725 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2726
8bcfb00a
PA
27272014-03-19 Pedro Alves <palves@redhat.com>
2728
2729 * gdb.base/async.exp (test_background): Expect \r\n after
2730 "completed." in the fail pattern.
2731
884e37dc
PA
27322014-03-19 Pedro Alves <palves@redhat.com>
2733
2734 * gdb.base/async.exp (test_background): New procedure.
2735 Use it for all background execution command tests.
2736
148e57e2
PA
27372014-03-19 Pedro Alves <palves@redhat.com>
2738
2739 * gdb.base/async.exp: Use prepare_for_testing.
2740
f48088c7
PA
27412014-03-19 Pedro Alves <palves@redhat.com>
2742
2743 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2744 the same line.
2745
e2f6c966
PA
27462014-03-19 Pedro Alves <palves@redhat.com>
2747
2748 * gdb.base/async.c (main): Add "jump here" and "until here" line
2749 marker comments.
2750 * gdb.base/async.exp (jump_here): New global.
2751 (jump& test): Use it.
2752 (until_here): New global.
2753 (until& test): Use it.
2754
c30568d4
PA
27552014-03-19 Pedro Alves <palves@redhat.com>
2756
2757 * gdb.base/async.exp: Don't frob gdb_protocol.
2758
0172b6a7
DE
27592014-03-18 Doug Evans <xdje42@gmail.com>
2760
2761 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2762 Fix spelling of exec-done-display.
2763
06c868a8
JK
27642014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2765
2766 PR gdb/15358
2767 * gdb.base/gdb-sigterm.c: New file.
2768 * gdb.base/gdb-sigterm.exp: New file.
2769
0c7e1a46
PA
27702014-03-18 Pedro Alves <palves@redhat.com>
2771
2772 PR gdb/13860
2773 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2774 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2775 solib-event.
2776
f7c77d93
JB
27772014-03-17 Joel Brobecker <brobecker@adacore.com>
2778
2779 * gdb.ada/pckd_arr_ren: New testcase.
2780
5a1e8c7a
DE
27812014-03-13 Doug Evans <xdje42@gmail.com>
2782
2783 PR guile/16612
2784 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2785 collect after discarding symbols.
2786
350e1a76
DE
27872014-03-13 Ludovic Courtès <ludo@gnu.org>
2788 Doug Evans <xdje42@gmail.com>
2789
2790 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2791 to history survives a gc.
2792
a69900ae
PA
27932014-03-13 Pedro Alves <palves@redhat.com>
2794
2795 * gdb.base/default.exp: Don't test "target procfs".
2796
5db9f0bd
PA
27972014-03-13 Pedro Alves <palves@redhat.com>
2798
2799 * gdb.base/default.exp: Update "target child" and "target procfs"
2800 tests to not expect "Unix".
2801
b3ccfe11
TT
28022014-03-12 Tom Tromey <tromey@redhat.com>
2803
2804 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2805 New procs. Add target-async tests.
2806 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2807 Add target-async tests.
2808
646f4417
AA
28092014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2810
2811 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2812 'func_start' and 'func_end' for the beginning and end of the
2813 function code, respectively.
2814 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2815 'func_end' instead of 'func' and 'main'.
2816
288c211f
AA
28172014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2818
2819 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2820 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2821 generate the debug info assembler source.
2822
e0c0f156
AA
28232014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2824
2825 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2826 * gdb.dwarf2/arr-subrange.exp: Likewise.
2827 * gdb.dwarf2/dwz.exp: Likewise.
2828 * gdb.dwarf2/method-ptr.exp: Likewise.
2829 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2830 * gdb.dwarf2/subrange.exp: Likewise.
2831 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2832 * gdb.dwarf2/implptrpiece.exp: Likewise.
2833 * gdb.dwarf2/nostaticblock.exp: Likewise.
2834
0e5c4555
AA
28352014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2836
2837 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2838 directory to absolute path name arguments.
2839
5ec18f2b
JG
28402014-03-10 Joel Brobecker <brobecker@adacore.com>
2841
2842 * gdb.ada/tagged_access: New testcase.
2843
847fc4f2
MM
28442014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2845
2846 * gdb.btrace/data.exp: Update expected output.
2847
cc3da688
YQ
28482014-03-06 Yao Qi <yao@codesourcery.com>
2849
2850 * gdb.trace/pr16508.exp: New file.
2851
0f26cec1
PA
28522014-03-05 Pedro Alves <palves@redhat.com>
2853
2854 PR gdb/16575
2855 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2856 procedure.
2857 (top level): Adjust to use it. Add tests that exercise breakpoint
2858 interaction with the code-cache.
2859
7a5a839f
LC
28602014-02-26 Ludovic Courtès <ludo@gnu.org>
2861
2862 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2863 test for 'history-append!'.
2864
31aa7e4e
JB
28652014-02-26 Joel Brobecker <brobecker@adacore.com>
2866
2867 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2868 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2869 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2870 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2871 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2872 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2873
1b588015
JB
28742014-02-26 Joel Brobecker <brobecker@adacore.com>
2875
2876 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2877 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2878 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2879
55426c9d
JB
28802014-02-26 Joel Brobecker <brobecker@adacore.com>
2881
2882 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2883
dc53a7ad
JB
28842014-02-26 Joel Brobecker <brobecker@adacore.com>
2885
2886 * gdb.dwarf2/arr-stride.c: New file.
2887 * gdb.dwarf2/arr-stride.exp: New file.
2888
12ab52e9
PA
28892014-02-26 Pedro Alves <palves@redhat.com>
2890
2891 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2892 that won't ever trigger. Make sure that GDB reports the correct
2893 breakpoint that caused the stop.
2894
849c862e
JK
28952014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2896
2897 PR gdb/16626
2898 * gdb.base/auto-load-script: New file.
2899 * gdb.base/auto-load.c: New file.
2900 * gdb.base/auto-load.exp: New file.
2901
71b7d793
JK
2902 PR gdb/16626
2903 * gdb.base/auto-load.exp: Fix out-of-srctree run.
2904
e2f0d509
JK
29052014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2906
2907 Fix dw2-icycle.exp -fsanitize=address GDB crash.
2908 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
2909
50cc37c8
DE
29102014-02-24 Doug Evans <dje@google.com>
2911
2912 * lib/gdb.exp (run_on_host): Log error output if program fails.
2913
ea4758f2
PA
29142014-02-21 Pedro Alves <palves@redhat.com>
2915
2916 * gdb.threads/step-after-sr-lock.c: Rename to ...
2917 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
2918 * gdb.threads/step-after-sr-lock.exp: Rename to ...
2919 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2920 ... this.
2921
d7b30f67
SDJ
29222014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2923
2924 PR tdep/16397
2925 * gdb.arch/amd64-stap-special-operands.exp: New file.
2926 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
2927 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
2928 * gdb.arch/amd64-stap-triplet.S: Likewise.
2929 * gdb.arch/amd64-stap-triplet.c: Likewise.
2930
83deb43f
JB
29312014-02-20 Joel Brobecker <brobecker@adacore.com>
2932
2933 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
2934 in .section pseudo-op.
2935
adde2bff
DE
29362014-02-20 lin zuojian <manjian2006@gmail.com>
2937 Joel Brobecker <brobecker@adacore.com>
2938 Doug Evans <xdje42@gmail.com>
2939
2940 PR symtab/16581
2941 * gdb.dwarf2/dw2-icycle.S: New file.
2942 * gdb.dwarf2/dw2-icycle.c: New file.
2943 * gdb.dwarf2/dw2-icycle.exp: New file.
2944
f7bd0f78
SC
29452014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2946
2947 * gdb.python/py-value-cc.cc: Improve test case to enable testing
2948 operations on gdb.Value objects.
2949 * gdb.python/py-value-cc.exp: Add new test to test operations on
2950 gdb.Value objects.
2951
c17ef0d5
DE
29522014-02-18 Doug Evans <dje@google.com>
2953
2954 * Makefile.in (TESTS): New variable.
2955 (expanded_tests, expanded_tests_or_none): New variables
2956 (check-single): Pass $(expanded_tests_or_none) to runtest.
2957 (check-parallel): Only run tests in $(TESTS) if non-empty.
2958 (check/no-matching-tests-found): New rule.
2959 * README: Document TESTS makefile variable.
2960
5dd3176f
DE
29612014-02-18 Doug Evans <dje@google.com>
2962
2963 * Makefile.in (check-parallel): rm -rf outputs temp.
2964
0b10be4f
JK
29652014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2966
2967 Fix "ERROR: no fileid for" in the testsuite.
2968 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
2969
85f224e7
DE
29702014-02-12 Doug Evans <dje@google.com>
2971
2972 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
2973 (MISCELLANEOUS): New variable.
2974 (clean): rm -rf $(MISCELLANEOUS).
2975 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
2976 dwp live in the same directory as symlinks, with each symlink pointed
2977 to a differently named file in a different directory.
2978
149b30ff
DE
29792014-02-11 Doug Evans <dje@google.com>
2980
2981 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
2982 of Tcl file commands.
2983
1dfdac32
MK
29842014-02-10 Mark Kettenis <kettenis@gnu.org>
2985
2986 * gdb.threads/step-after-sr-lock.exp: Avoid executing
2987 "kill -SIGUSR1 -1".
2988
aa4fb036
JB
29892014-02-10 Joel Brobecker <brobecker@adacore.com>
2990
2991 * gdb.ada/tick_length_array_enum_idx: New testcase.
2992
ed3ef339
DE
29932014-02-10 Doug Evans <xdje42@gmail.com>
2994
2995 * configure.ac (AC_OUTPUT): Add gdb.guile.
2996 * configure: Regenerate.
2997 * lib/gdb-guile.exp: New file.
2998 * lib/gdb.exp (get_target_charset): New function.
2999 * gdb.base/help.exp: Update expected output from "apropos apropos".
3000 * gdb.guile/Makefile.in: New file.
3001 * gdb.guile/guile.exp: New file.
3002 * gdb.guile/scm-arch.c: New file.
3003 * gdb.guile/scm-arch.exp: New file.
3004 * gdb.guile/scm-block.c: New file.
3005 * gdb.guile/scm-block.exp: New file.
3006 * gdb.guile/scm-breakpoint.c: New file.
3007 * gdb.guile/scm-breakpoint.exp: New file.
3008 * gdb.guile/scm-disasm.c: New file.
3009 * gdb.guile/scm-disasm.exp: New file.
3010 * gdb.guile/scm-equal.c: New file.
3011 * gdb.guile/scm-equal.exp: New file.
3012 * gdb.guile/scm-error.exp: New file.
3013 * gdb.guile/scm-error.scm: New file.
3014 * gdb.guile/scm-frame-args.c: New file.
3015 * gdb.guile/scm-frame-args.exp: New file.
3016 * gdb.guile/scm-frame-args.scm: New file.
3017 * gdb.guile/scm-frame-inline.c: New file.
3018 * gdb.guile/scm-frame-inline.exp: New file.
3019 * gdb.guile/scm-frame.c: New file.
3020 * gdb.guile/scm-frame.exp: New file.
3021 * gdb.guile/scm-generics.exp: New file.
3022 * gdb.guile/scm-gsmob.exp: New file.
3023 * gdb.guile/scm-iterator.c: New file.
3024 * gdb.guile/scm-iterator.exp: New file.
3025 * gdb.guile/scm-math.c: New file.
3026 * gdb.guile/scm-math.exp: New file.
3027 * gdb.guile/scm-objfile-script-gdb.in: New file.
3028 * gdb.guile/scm-objfile-script.c: New file.
3029 * gdb.guile/scm-objfile-script.exp: New file.
3030 * gdb.guile/scm-objfile.c: New file.
3031 * gdb.guile/scm-objfile.exp: New file.
3032 * gdb.guile/scm-ports.exp: New file.
3033 * gdb.guile/scm-pretty-print.c: New file.
3034 * gdb.guile/scm-pretty-print.exp: New file.
3035 * gdb.guile/scm-pretty-print.scm: New file.
3036 * gdb.guile/scm-section-script.c: New file.
3037 * gdb.guile/scm-section-script.exp: New file.
3038 * gdb.guile/scm-section-script.scm: New file.
3039 * gdb.guile/scm-symbol.c: New file.
3040 * gdb.guile/scm-symbol.exp: New file.
3041 * gdb.guile/scm-symtab-2.c: New file.
3042 * gdb.guile/scm-symtab.c: New file.
3043 * gdb.guile/scm-symtab.exp: New file.
3044 * gdb.guile/scm-type.c: New file.
3045 * gdb.guile/scm-type.exp: New file.
3046 * gdb.guile/scm-value-cc.cc: New file.
3047 * gdb.guile/scm-value-cc.exp: New file.
3048 * gdb.guile/scm-value.c: New file.
3049 * gdb.guile/scm-value.exp: New file.
3050 * gdb.guile/source2.scm: New file.
3051 * gdb.guile/types-module.cc: New file.
3052 * gdb.guile/types-module.exp: New file.
3053
7026a7c1
YQ
30542014-02-10 Yao Qi <yao@codesourcery.com>
3055
3056 PR testsuite/16543
3057 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
3058 * configure: Regenerated.
3059 * Makefile.in: New file.
3060
6c466447
AS
30612014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3062
3063 * gdb.python/py-framefilter.exp: Fix typo.
3064
6e854735
YQ
30652014-02-08 Yao Qi <yao@codesourcery.com>
3066
3067 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
3068 that no =breakpoint-modified is emitted when breakpoints are
3069 modified through MI commands.
3070
d137e6dc
PA
30712014-02-07 Pedro Alves <pedro@codesourcery.com>
3072 Pedro Alves <palves@redhat.com>
3073
3074 * gdb.threads/step-after-sr-lock.c: New file.
3075 * gdb.threads/step-after-sr-lock.exp: New file.
3076
b5ee5a50
PA
30772014-02-07 Pedro Alves <palves@redhat.com>
3078
3079 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
3080
3c77faf3
JK
30812014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3082
3083 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
3084 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
3085
6dddc817
DE
30862014-02-06 Doug Evans <xdje42@gmail.com>
3087
3088 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
3089 output.
3090
3091 * gdb.gdb/python-interrupts.exp: New file.
3092
de7b2893
YQ
30932014-02-05 Yao Qi <yao@codesourcery.com>
3094
3095 * gdb.trace/report.exp (use_collected_data): Test the output
3096 of "info threads" and "info inferiors".
3097
66d032ac
YQ
30982014-02-05 Yao Qi <yao@codesourcery.com>
3099
3100 Revert this patch:
3101
3102 2013-05-24 Yao Qi <yao@codesourcery.com>
3103
3104 * gdb.trace/tfile.exp: Test inferior and thread.
3105
591a12a1
UW
31062014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3107
3108 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
3109 on a function.
3110 * gdb.base/step-bt.c: Call hello via function pointer to make
3111 sure its first instruction is executed on powerpc64le-linux.
3112
0ff3e01f
UW
31132014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3114
3115 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
3116
084ee545
UW
31172014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3118
3119 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
3120 of the test patterns for use on little-endian systems.
3121
6ed14ff3
UW
31222014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3123
3124 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
3125 (decimal_vector): Fix for little-endian.
3126
401e27fd
JM
31272014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3128
3129 * gdb.arch/sparc-sysstep.exp: New file.
3130 * gdb.arch/sparc-sysstep.c: Likewise.
3131
3132 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
3133
8b924729
EBM
31342014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3135
3136 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
3137
fb151210
JB
31382014-01-23 Tom Tromey <tromey@redhat.com>
3139
3140 * gdb.ada/array_char_idx: New testcase.
3141
0740f8d8
TT
31422014-01-23 Tom Tromey <tromey@redhat.com>
3143
3144 PR python/16487:
3145 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
3146 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
3147 classes.
3148
21909fa1
TT
31492014-01-23 Tom Tromey <tromey@redhat.com>
3150
3151 PR python/16491:
3152 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
3153 string from an inferior frame.
3154 * gdb.python/py-framefilter-mi.exp: Update.
3155
87ce2a04
DE
31562014-01-22 Doug Evans <dje@google.com>
3157
3158 * gdb.server/server-mon.exp: Add tests for "set debug-format".
3159
237b092b
AA
31602014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3161
3162 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
3163
d674a709
AA
31642014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3165
3166 * gdb.trace/entry-values.exp: Remove excess space character from
3167 regex patterns. Handle s390 call instruction.
3168
20fa3390
AA
31692014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3170
3171 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
3172 define "*_start" label. Make "name" static.
3173 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
3174 ${name} by references to ${name}_start.
3175
78466714
AA
31762014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3177
3178 * gdb.base/info-macros.exp: Remove "debug" from the compile
3179 options.
3180
ec9f644a
IB
31812014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3182
3183 * gdb.dlang/demangle.exp: New file.
3184
94b1b47e
IB
31852014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3186
3187 * gdb.dlang/primitive-types.exp: New file.
3188
7f420862
IB
31892014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3190
3191 * configure.ac: Create gdb.dlang/Makefile.
3192 * configure: Regenerate.
3193 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
3194 * gdb.dlang/Makefile.in: New file.
3195 * lib/d-support.exp: New file.
3196 * lib/gdb.exp (skip_d_tests): New proc.
3197
52834460
MM
31982014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3199
3200 * gdb.btrace/delta.exp: Check reverse stepi.
3201 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
3202 * gdb.btrace/finish.exp: New.
3203 * gdb.btrace/next.exp: New.
3204 * gdb.btrace/nexti.exp: New.
3205 * gdb.btrace/record_goto.c: Add comments.
3206 * gdb.btrace/step.exp: New.
3207 * gdb.btrace/stepi.exp: New.
3208 * gdb.btrace/multi-thread-step.c: New.
3209 * gdb.btrace/multi-thread-step.exp: New.
3210 * gdb.btrace/rn-dl-bind.c: New.
3211 * gdb.btrace/rn-dl-bind.exp: New.
3212 * gdb.btrace/data.c: New.
3213 * gdb.btrace/data.exp: New.
3214 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3215
6e07b1d2
MM
32162014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3217
3218 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
3219 * gdb.btrace/exception.exp: Update.
3220 * gdb.btrace/instruction_history.exp: Update.
3221 * gdb.btrace/record_goto.exp: Update.
3222 * gdb.btrace/tailcall.exp: Update.
3223 * gdb.btrace/unknown_functions.exp: Update.
3224 * gdb.btrace/delta.exp: New.
3225
0b722aec
MM
32262014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3227
3228 * gdb.btrace/record_goto.exp: Add backtrace test.
3229 * gdb.btrace/tailcall.exp: Add backtrace test.
3230
066ce621
MM
32312014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3232
3233 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
3234 * gdb.btrace/record_goto.c: New.
3235 * gdb.btrace/record_goto.exp: New.
3236 * gdb.btrace/x86-record_goto.S: New.
3237
0688d04e
MM
32382014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3239
3240 * gdb.btrace/function_call_history.exp: Update tests.
3241 * gdb.btrace/instruction_history.exp: Update tests.
3242
8710b709
MM
32432014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3244
3245 * gdb.btrace/function_call_history.exp: Fix expected field
3246 order for "record function-call-history".
3247 Add new tests for "record function-call-history /c".
3248 * gdb.btrace/exception.cc: New.
3249 * gdb.btrace/exception.exp: New.
3250 * gdb.btrace/tailcall.exp: New.
3251 * gdb.btrace/x86-tailcall.S: New.
3252 * gdb.btrace/x86-tailcall.c: New.
3253 * gdb.btrace/unknown_functions.c: New.
3254 * gdb.btrace/unknown_functions.exp: New.
3255 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3256
5de9129b
MM
32572014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3258
3259 * gdb.btrace/instruction_history.exp: Update.
3260 * gdb.btrace/function_call_history.exp: Update.
3261
23a7fe75
MM
32622014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3263
3264 * gdb.btrace/function_call_history.exp: Fix expected function
3265 trace.
3266 * gdb.btrace/instruction_history.exp: Initialize traced.
3267 Remove traced_functions.
3268
724c7dd8
MM
32692014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3270
3271 * gdb.btrace/function_call_history.exp: Update
3272 * gdb.btrace/instruction_history.exp: Update.
3273
6d78d93b
MM
32742014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3275
3276 * gdb.btrace/enable.exp: Update expected text.
3277
93a360cc
OJ
32782014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
3279
3280 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
3281 bytes.
3282
3772b53f
MR
32832014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
3284
3285 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
3286
596662fa
OJ
32872014-01-15 Omair Javaid <omair.javaid@linaro.org>
3288
3289 * lib/gdb.exp (supports_process_record): Return true for
3290 arm*-linux*. (supports_reverse): Likewise.
3291
b5b08fb4
SC
32922014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3293
3294 PR python/15464
3295 PR python/16113
3296 * gdb.python/py-type.c: Enhance test case.
3297 * gdb.python/py-value-cc.cc: Likewise
3298 * gdb.python/py-type.exp: Add new tests.
3299 * gdb.python/py-value-cc.exp: Likewise
3300
52d7fb13
AA
33012014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3302 Pedro Alves <palves@redhat.com>
3303
3304 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
3305 Make "name" extern.
3306 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
3307 references to ${name}_start by references to ${name}.
3308
a2cd8cfe
JB
33092014-01-10 Joel Brobecker <brobecker@adacore.com>
3310
3311 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
3312
4e23fced
JB
33132014-01-10 Joel Brobecker <brobecker@adacore.com>
3314
3315 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
3316
c6a9e42c
PA
33172014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
3318 Pedro Alves <palves@redhat.com>
3319
3320 * gdb.mi/mi-info-os.exp: Connect to the target with
3321 mi_gdb_target_load.
3322
b7ea362b
PA
33232014-01-08 Pedro Alves <palves@redhat.com>
3324
3325 * gdb.threads/reconnect-signal.c: New file.
3326 * gdb.threads/reconnect-signal.exp: New file.
3327
5e3f4fab
EBM
33282014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3329
3330 * gdb.base/source-dir.exp: New file.
3331
79301218
JB
33322014-01-07 Joel Brobecker <brobecker@adacore.com>
3333
3334 * gdb.ada/mi_interface: New testcase.
3335
8e355c5d
JB
33362014-01-07 Joel Brobecker <brobecker@adacore.com>
3337
3338 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
3339 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
3340 gdb.ada/pp-rec-component/pck.ads: New files.
3341
c0d48811
JB
33422014-01-07 Joel Brobecker <brobecker@adacore.com>
3343
3344 * gdb.python/py-pp-integral.c: New file.
3345 * gdb.python/py-pp-integral.py: New file.
3346 * gdb.python/py-pp-integral.exp: New file.
3347
17b609c3 3348For older changes see ChangeLog-1993-2013.
c906108c 3349\f
8d8cb839
EZ
3350;; Local Variables:
3351;; mode: change-log
3352;; left-margin: 8
3353;; fill-column: 74
3354;; version-control: never
3355;; End:
902f2ccb 3356
14f8b115 3357 Copyright 2014 Free Software Foundation, Inc.
902f2ccb
MC
3358 Copying and distribution of this file, with or without modification,
3359 are permitted provided the copyright notice and this notice are preserved.
This page took 3.562198 seconds and 4 git commands to generate.