Drop remaining references to removed source lines in break1.c and ur1.c
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2
3 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4 function header variants in break1.c.
5 * gdb.base/ena-dis-br.exp: Likewise.
6 * gdb.base/hbreak2.exp: Likewise.
7 * gdb.reverse/until-precsave.exp: Drop references to removed
8 non-prototype function header variants in ur1.c.
9 * gdb.reverse/until-reverse.exp: Likewise.
10
11 2014-11-17 Petr Machata <pmachata@redhat.com>
12
13 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
14 ${_cu_offset_size} bytes abbrev offset.
15
16 2014-11-15 Doug Evans <xdje42@gmail.com>
17
18 PR symtab/17559
19 * gdb.base/line-symtabs.exp: New file.
20 * gdb.base/line-symtabs.c: New file.
21 * gdb.base/line-symtabs.h: New file.
22
23 2014-11-14 Yao Qi <yao@codesourcery.com>
24
25 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
26 (func): Add label func_label.
27 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
28 Replace low_pc and high_pc with MACRO_AT_range.
29 Replace name, low_pc and high_pc with MACRO_AT_func.
30
31 2014-11-14 Yao Qi <yao@codesourcery.com>
32
33 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
34 Replace name, low_pc and high_pc with MACRO_AT_func.
35
36 2014-11-14 Yao Qi <yao@codesourcery.com>
37
38 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
39 produce debug information.
40 * gdb.dwarf2/implptr-optimized-out.S: Removed.
41
42 2014-11-14 Yao Qi <yao@codesourcery.com>
43
44 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
45 object and get function length.
46 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
47 with MACRO_AT_func.
48 (top-level): Replace gdb_compile and clean_restart with
49 prepare_for_testing.
50 * gdb.dwarf2/main.c (main): Add label main_label.
51
52 2014-11-14 Yao Qi <yao@codesourcery.com>
53
54 * lib/dwarf.exp (function_range): New procedure.
55 (Dwarf::_handle_macro_at_func): New procedure.
56 (Dwarf::_handle_macro_at_range): New procedure.
57 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
58
59 2014-11-14 Yao Qi <yao@codesourcery.com>
60
61 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
62 (_handle_attribute): New procedure.
63
64 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
65
66 * gdb.ada/cond_lang/foo.c (callme): Add return type.
67 * gdb.base/call-sc.c (zed): Likewise.
68 * gdb.base/checkpoint.c (main): Likewise.
69 * gdb.base/dump.c (main): Likewise.
70 * gdb.base/gcore.c (main): Likewise.
71 * gdb.base/huge.c (main): Likewise.
72 * gdb.base/multi-forks.c (main): Likewise.
73 * gdb.base/pr10179-a.c (main): Likewise.
74 * gdb.base/savedregs.c (main): Likewise.
75 * gdb.base/sigaltstack.c (main): Likewise.
76 * gdb.base/siginfo.c (main): Likewise.
77 * gdb.base/structs.c (zed): Likewise.
78 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
79 * gdb.mi/mi-syn-frame.c (main): Likewise.
80 * gdb.mi/until.c (foo, main): Likewise.
81 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
82 * gdb.base/solib-weak.c (foo): Declare.
83 * gdb.base/attach-twice.c: Include stdio.h.
84 * gdb.base/weaklib1.c: Likewise.
85 * gdb.base/weaklib2.c: Likewise.
86 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
87 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
88 unistd.h.
89 * gdb.base/attach-pie-misread.c: Include stdlib.h.
90 * gdb.mi/mi-exit-code.c: Likewise.
91 * gdb.base/break-interp-lib.c: Include string.h.
92 * gdb.base/coremaker.c: Likewise.
93 * gdb.base/testenv.c: Likewise.
94 * gdb.python/py-finish-breakpoint.c: Likewise.
95 * gdb.base/inferior-died.c: Include sys/wait.h.
96 * gdb.base/fileio.c: Include time.h.
97 * gdb.base/async-shell.c: Include unistd.h.
98 * gdb.base/dprintf-non-stop.c: Likewise.
99 * gdb.base/info-os.c: Likewise.
100 * gdb.mi/mi-console.c: Likewise.
101 * gdb.mi/watch-nonstop.c: Likewise.
102 * gdb.python/py-events.c: Likewise.
103 * gdb.base/async.c (baz): Move up before its invocation.
104 * gdb.base/code_elim2.c (my_global_func): Likewise.
105 * gdb.base/skip-solib-lib.c (multiply): Likewise.
106 * gdb.base/advance.c (func2): Likewise.
107
108 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
109
110 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
111 variant.
112 * gdb.base/annota3.c: Likewise.
113 * gdb.base/async.c: Likewise.
114 * gdb.base/average.c: Likewise.
115 * gdb.base/call-ar-st.c: Likewise.
116 * gdb.base/call-rt-st.c: Likewise.
117 * gdb.base/call-sc.c: Likewise.
118 * gdb.base/call-strs.c: Likewise.
119 * gdb.base/ending-run.c: Likewise.
120 * gdb.base/execd-prog.c: Likewise.
121 * gdb.base/exprs.c: Likewise.
122 * gdb.base/foll-exec.c: Likewise.
123 * gdb.base/foll-fork.c: Likewise.
124 * gdb.base/foll-vfork.c: Likewise.
125 * gdb.base/funcargs.c: Likewise.
126 * gdb.base/gcore.c: Likewise.
127 * gdb.base/jump.c: Likewise.
128 * gdb.base/langs0.c: Likewise.
129 * gdb.base/langs1.c: Likewise.
130 * gdb.base/langs2.c: Likewise.
131 * gdb.base/mips_pro.c: Likewise.
132 * gdb.base/nodebug.c: Likewise.
133 * gdb.base/opaque0.c: Likewise.
134 * gdb.base/opaque1.c: Likewise.
135 * gdb.base/recurse.c: Likewise.
136 * gdb.base/run.c: Likewise.
137 * gdb.base/scope0.c: Likewise.
138 * gdb.base/scope1.c: Likewise.
139 * gdb.base/setshow.c: Likewise.
140 * gdb.base/setvar.c: Likewise.
141 * gdb.base/shmain.c: Likewise.
142 * gdb.base/shr1.c: Likewise.
143 * gdb.base/shr2.c: Likewise.
144 * gdb.base/sigall.c: Likewise.
145 * gdb.base/signals.c: Likewise.
146 * gdb.base/so-indr-cl.c: Likewise.
147 * gdb.base/solib2.c: Likewise.
148 * gdb.base/structs.c: Likewise.
149 * gdb.base/sum.c: Likewise.
150 * gdb.base/vforked-prog.c: Likewise.
151 * gdb.base/watchpoint.c: Likewise.
152 * gdb.reverse/shr2.c: Likewise.
153 * gdb.reverse/until-reverse.c: Likewise.
154 * gdb.reverse/ur1.c: Likewise.
155 * gdb.reverse/watch-reverse.c: Likewise.
156
157 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
158
159 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
160 variant.
161 * gdb.base/sepdebug.exp: Drop references to removed code.
162
163 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
164
165 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
166 variant. Preserve original line numbering.
167 * gdb.base/list1.c: Likewise.
168
169 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
170
171 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
172 variant.
173 * gdb.base/break1.c: Likewise.
174 * gdb.base/break.exp: Drop references to removed code.
175
176 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
177
178 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
179 variant.
180
181 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
182
183 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
184
185 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
186
187 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
188 logic into perform_all_tests() and invoke it with and without
189 function header prototypes.
190 (do_function_calls): Remove conditional XFAIL for PR 5318.
191 (rerun_and_prepare): Remove duplicate code.
192 (perform_all_tests): New. Main logic moved here.
193
194 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
195
196 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
197 code guarded by #ifdef NO_PROTOTYPES.
198 (t_double_many_args): Likewise.
199 (DEF_FUNC_MANY_ARGS_1): Likewise.
200 (DEF_FUNC_VALUES_1): Likewise.
201 (t_structs_ldc): Renamed from t_structs_fc in conditional code
202 guarded by #ifdef PROTOTYPES.
203
204 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
205
206 * gdb.mi/mi-console.c: Add eye-catcher.
207 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
208 instead of literal line number.
209
210 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
211
212 * gdb.base/shr2.c: Add eye-catcher.
213 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
214 line number.
215
216 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
217
218 * gdb.base/jump.c: Add eye-catchers.
219 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
220 numbers.
221
222 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
223
224 * gdb.base/execd-prog.c: Add eye-catchers.
225 * gdb.base/foll-exec.c: Likewise.
226 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
227 line numbers.
228
229 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
230
231 * gdb.base/ending-run.c: Add eye-catchers.
232 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
233 literal line numbers.
234
235 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
236
237 * gdb.base/call-rt-st.c: Add eye-catchers.
238 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
239 literal line numbers.
240
241 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
242
243 * gdb.base/call-ar-st.c: Add eye-catchers.
244 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
245 literal line numbers.
246
247 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
248
249 * gdb.base/average.c: Add eye-catchers.
250 * gdb.base/sum.c: Likewise.
251 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
252 regexps dynamically.
253
254 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
255
256 * gdb.base/solib1.c: Add eye-catchers.
257 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
258 literal line numbers.
259
260 2014-11-12 Pedro Alves <palves@redhat.com>
261
262 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
263 leader has exited.
264
265 2014-11-12 Pedro Alves <palves@redhat.com>
266
267 * gdb.arch/i386-bp_permanent.c: New file.
268 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
269 (srcfile): Set to i386-bp_permanent.c.
270 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
271 that stepi does not execute the 'leave' instruction, instead of
272 testing it does execute.
273 * gdb.base/bp-permanent.c: New file.
274 * gdb.base/bp-permanent.exp: New file.
275
276 2014-11-10 Doug Evans <xdje42@gmail.com>
277
278 PR symtab/17564
279 * gdb.base/symtab-search-order.exp: New file.
280 * gdb.base/symtab-search-order.c: New file.
281 * gdb.base/symtab-search-order-1.c: New file.
282 * gdb.base/symtab-search-order-shlib-1.c: New file.
283
284 2014-11-07 Pedro Alves <palves@redhat.com>
285
286 PR gdb/17511
287 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
288 i?86-*-linux*.
289
290 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
291
292 PR c++/17494
293 * gdb.cp/pr17494.cc: New file.
294 * gdb.cp/pr17494.exp: New file.
295
296 2014-11-02 Yao Qi <yao@codesourcery.com>
297
298 * gdb.python/python.exp: Get working directory and match the
299 output of "set extended-prompt \\w " with it.
300
301 2014-10-30 Doug Evans <dje@google.com>
302
303 * gdb.python/py-objfile.exp: Add tests for setting random attributes
304 in objfiles.
305 * gdb.python/py-progspace.exp: Add tests for setting random attributes
306 in progspaces.
307
308 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
309
310 * gdb.base/fullpath-expand.exp: Skip for a remote host.
311 * gdb.base/realname-expand.exp: Likewise.
312 * gdb.linespec/macro-relative.exp: Likewise.
313
314 2014-10-29 Pedro Alves <palves@redhat.com>
315
316 PR gdb/17408
317 * gdb.threads/schedlock.c (some_function): New function.
318 (call_function): New global.
319 (MAYBE_CALL_SOME_FUNCTION): New macro.
320 (thread_function): Call it.
321 * gdb.threads/schedlock.exp (get_args): Add description parameter,
322 and use it instead of a global counter. Adjust all callers.
323 (get_current_thread): Use "find current thread" for test message
324 here rather than having all callers pass down the same string.
325 (goto_loop): New procedure, factored out from ...
326 (my_continue): ... this.
327 (step_ten_loops): Change parameter from test message to command to
328 use. Adjust.
329 (list_count): Delete global.
330 (check_result): New procedure, factored out from duplicate top
331 level code.
332 (continue tests): Wrap in with_test_prefix.
333 (test_step): New procedure, factored out from duplicate top level
334 code.
335 (top level): Test "step" in combination with all scheduler-locking
336 modes. Test "next" in combination with all scheduler-locking
337 modes, and in combination with stepping over a function call or
338 not.
339 * gdb.threads/next-bp-other-thread.c: New file.
340 * gdb.threads/next-bp-other-thread.exp: New file.
341
342 2014-10-29 Pedro Alves <palves@redhat.com>
343
344 PR python/17372
345 * gdb.python/python.exp: Test a multi-line command that spawns
346 interactive Python.
347 * gdb.base/multi-line-starts-subshell.exp: New file.
348
349 2014-10-29 Yao Qi <yao@codesourcery.com>
350
351 * gdb.base/fileio.exp: Make directories on host.
352
353 2014-10-29 Yao Qi <yao@codesourcery.com>
354
355 * gdb.base/fileio.c (test_write): Close the file.
356
357 2014-10-28 Pedro Alves <palves@redhat.com>
358
359 PR gdb/12623
360 * gdb.base/sigstep.c (no_handler): New global.
361 (main): If 'no_handler is true, set the signal handlers to
362 SIG_IGN.
363 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
364 with_sw_watch and no_handler parameters. Handle them.
365 (top level) <stepping over handler when stopped at a breakpoint
366 test>: Add a test axis for testing with a software watchpoint, and
367 another for testing with the signal handler set to SIG_IGN.
368 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
369 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
370
371 2014-10-28 Pedro Alves <palves@redhat.com>
372
373 PR gdb/17511
374 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
375 * gdb.base/sigstep.exp (other_handler_location): New global.
376 (advance): Support stepping into the signal handler, and running
377 commands while in the handler.
378 (in_handler_map): New global.
379 (top level): In the advance test, add combinations for getting
380 into the handler with stepping commands, and for running commands
381 in the handler. Add comment descripting the advancei tests.
382
383 2014-10-28 Pedro Alves <palves@redhat.com>
384
385 * gdb.base/sigstep.exp: Use build_executable instead of
386 prepare_for_testing.
387 (top level): Move code that starts GDB, runs to main and creates a
388 display to ...
389 (restart): ... this new procedure.
390 (top level): Move backtrace from signal handler test to ...
391 (validate_backtrace): ... this new procedure.
392 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
393 with_test_prefix. Always restart GDB.
394 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
395 with_test_prefix. Always restart GDB. No need to delete
396 breakpoints after the test.
397 (test_skip_handler): Remove prefix parameter.
398 (skip_over_handler, breakpoint_to_handler)
399 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
400 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
401 restart GDB. No need to delete breakpoints after the test.
402 (top level): Use foreach to call the test procedures with
403 different commands.
404
405 2014-10-28 Pedro Alves <palves@redhat.com>
406
407 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
408 instead of GNATS numbers.
409 * gdb.base/sigbpt.exp: Likewise.
410 * gdb.base/siginfo.exp: Likewise.
411 * gdb.base/sigstep.exp: Likewise.
412
413 2014-10-27 Pedro Alves <palves@redhat.com>
414
415 * gdb.base/sigstep.c (dummy): New global.
416 (main): Issue a couple writes to the new global.
417 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
418 procedures.
419 (skip_over_handler): Use test_skip_handler.
420 (top level): Call skip_over_handler for stepi and nexti too.
421 (breakpoint_over_handler): Use test_skip_handler.
422 (top level): Call breakpoint_over_handler for stepi and nexti too.
423
424 2014-10-27 Yao Qi <yao@codesourcery.com>
425
426 * gdb.trace/tfile.c (adjust_function_address)
427 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
428 function descriptor.
429
430 2014-10-24 Don Breazeal <donb@codesourcery.com>
431
432 * gdb.base/foll-fork.exp (test_follow_fork,
433 catch_fork_child_follow): Check for updated fork messages emitted
434 from infrun.c.
435 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
436 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
437 vfork_and_exec_child_follow_through_step): Check for updated vfork
438 messages emitted from infrun.c.
439
440 2014-10-24 Pedro Alves <palves@redhat.com>
441
442 * gdb.base/corefile.exp: Remove references to ultrix.
443 * gdb.base/interrupt.exp: Likewise.
444 * gdb.base/whatis.exp: Likewise.
445 * gdb.gdb/selftest.exp: Likewise.
446 * gdb.threads/manythreads.exp: Likewise.
447 * gdb.threads/print-threads.exp: Likewise.
448 * gdb.threads/pthreads.exp:: Likewise.
449 * gdb.threads/schedlock.exp: Likewise.
450
451 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
452
453 * gdb.cp/non-trivial-retval.cc: Add a test case.
454 * gdb.cp/non-trivial-retval.exp: Add a test.
455
456 2014-10-20 Yao Qi <yao@codesourcery.com>
457
458 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
459 * gdb.python/py-objfile-script-gdb.py: New file.
460 * gdb.python/py-objfile-script.exp: Update reference to
461 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
462 of remote_download. Remove the dest file.
463
464 2014-10-20 Yao Qi <yao@codesourcery.com>
465
466 * gdb.base/checkpoint.exp: Don't remove file copied on host.
467 * gdb.base/step-line.exp: Likewise.
468 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
469 * gdb.dwarf2/dw2-basic.exp: Likewise.
470 * gdb.dwarf2/dw2-compressed.exp: Likewise.
471 * gdb.dwarf2/dw2-filename.exp: Likewise.
472 * gdb.dwarf2/dw2-intercu.exp: Likewise.
473 * gdb.dwarf2/dw2-intermix.exp: Likewise.
474 * gdb.dwarf2/dw2-producer.exp: Likewise.
475 * gdb.dwarf2/mac-fileno.exp: Likewise.
476 * gdb.python/py-frame-args.exp: Likewise.
477 * gdb.python/py-framefilter.exp: Likewise.
478 * gdb.python/py-mi.exp: Likewise.
479 * gdb.python/py-objfile-script.exp: Likewise
480 * gdb.python/py-pp-integral.exp: Likewise.
481 * gdb.python/py-pp-re-notag.exp: Likewise.
482 * gdb.python/py-prettyprint.exp: Likewise.
483 * gdb.python/py-section-script.exp: Likewise.
484 * gdb.python/py-typeprint.exp: Likewise.
485 * gdb.python/py-xmethods.exp: Likewise.
486 * gdb.stabs/weird.exp: Likewise.
487 * gdb.xml/tdesc-regs.exp: Likewise.
488
489 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
490
491 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
492 (out_cu): Use addr_len for the size of addresses.
493 (out_line): Likewise. Size DW_LNE_set_address instruction
494 according to addr_len.
495 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
496 (FUNC): Add START_INSNS to definition.
497
498 2014-10-18 Yao Qi <yao@codesourcery.com>
499
500 * gdb.base/argv0-symlink.exp: Check argv[0] value if
501 gdb_has_argv0 return true.
502 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
503 check [target_info exists noargs], check [gdb_has_argv0]
504 instead.
505 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
506 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
507 procedures.
508
509 2014-10-17 Doug Evans <dje@google.com>
510
511 * gdb.python/py-events.exp: Update expected output for clear_objfiles
512 event.
513 * gdb.python/py-events.py: Add clear_objfiles event.
514
515 2014-10-17 Doug Evans <dje@google.com>
516
517 * gdb.python/py-objfile.exp: Test progspace attribute.
518
519 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
520
521 * gdb.guile/scm-breakpoint.exp: Do not assume any
522 directory separators when matching source file paths.
523 * gdb.python/py-breakpoint.exp: Likewise.
524 * gdb.reverse/break-precsave.exp: Likewise.
525 * gdb.reverse/break-reverse.exp: Likewise.
526 * gdb.reverse/consecutive-precsave.exp: Likewise.
527 * gdb.reverse/finish-precsave.exp: Likewise.
528 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
529 * gdb.reverse/finish-reverse.exp: Likewise.
530 * gdb.reverse/i386-precsave.exp: Likewise.
531 * gdb.reverse/i387-env-reverse.exp: Likewise.
532 * gdb.reverse/i387-stack-reverse.exp: Likewise.
533 * gdb.reverse/machinestate-precsave.exp: Likewise.
534 * gdb.reverse/machinestate.exp: Likewise.
535 * gdb.reverse/sigall-precsave.exp: Likewise.
536 * gdb.reverse/solib-precsave.exp: Likewise.
537 * gdb.reverse/step-precsave.exp: Likewise.
538 * gdb.reverse/until-precsave.exp: Likewise.
539 * gdb.reverse/watch-precsave.exp: Likewise.
540 * gdb.reverse/watch-reverse.exp: Likewise.
541
542 2014-10-17 Yao Qi <yao@codesourcery.com>
543
544 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
545 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
546
547 2014-10-17 Pedro Alves <palves@redhat.com>
548
549 PR gdb/17471
550 * gdb.base/bg-execution-repeat.c: New file.
551 * gdb.base/bg-execution-repeat.exp: New file.
552
553 2014-10-17 Pedro Alves <palves@redhat.com>
554
555 PR gdb/17300
556 * gdb.base/continue-all-already-running.c: New file.
557 * gdb.base/continue-all-already-running.exp: New file.
558
559 2014-10-17 Pedro Alves <palves@redhat.com>
560
561 PR gdb/17472
562 * gdb.base/annota-input-while-running.c: New file.
563 * gdb.base/annota-input-while-running.exp: New file.
564
565 2014-10-17 Pedro Alves <palves@redhat.com>
566
567 * gdb.base/callfuncs.exp: emove references to osf.
568 * gdb.base/sigall.exp: Likewise.
569 * gdb.gdb/selftest.exp: Likewise.
570 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
571 * gdb.mi/non-stop.c: Likewise.
572 * gdb.mi/pthreads.c: Likewise.
573 * gdb.reverse/sigall-precsave.exp: Likewise.
574 * gdb.reverse/sigall-reverse.exp: Likewise.
575 * gdb.threads/pthreads.c: Likewise.
576 * gdb.threads/pthreads.exp: Likewise.
577
578 2014-10-17 Yao Qi <yao@codesourcery.com>
579
580 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
581 check 'target_info exists noargs'.
582 (test_command_prompt_position): Likewise.
583 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
584 Remove "set args".
585 (progvar_simple_while_test): Likewise.
586 (progvar_complex_if_while_test): Likewise.
587 (if_while_breakpoint_command_test): Likewise.
588 (infrun_breakpoint_command_test): Likewise.
589 (breakpoint_command_test): Likewise.
590 (watchpoint_command_test): Likewise.
591 (bp_deleted_in_command_test): Likewise.
592 (temporary_breakpoint_commands): Likewise.
593
594 2014-10-16 Yao Qi <yao@codesourcery.com>
595
596 * gdb.base/remotetimeout.exp: Remove noargs checking.
597
598 2014-10-15 Pedro Alves <palves@redhat.com>
599
600 PR breakpoints/9649
601 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
602 * gdb.base/breakpoint-in-ro-region.exp
603 (probe_target_hardware_step): New procedure.
604 (top level): Probe hardware stepping and hardware breakpoint
605 support. Test stepping through a read-only region, with both
606 "breakpoint auto-hw" on and off and both "always-inserted" on and
607 off.
608
609 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
610
611 * gdb.dlang/demangle.exp: Update for demangling changes.
612
613 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
614
615 * gdb.cp/non-trivial-retval.cc: Add new test cases.
616 * gdb.cp/non-trivial-retval.exp: Add new tests.
617
618 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
619
620 PR c++/13403
621 PR c++/15154
622 * gdb.cp/non-trivial-retval.cc: New file.
623 * gdb.cp/non-trivial-retval.exp: New file.
624
625 2014-10-15 Yao Qi <yao@codesourcery.com>
626
627 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
628 remote host.
629
630 2014-10-15 Yao Qi <yao@codesourcery.com>
631
632 * gdb.python/py-symbol.exp: Match file base name if host is
633 remote, otherwise match file name with dir name.
634 * gdb.python/py-symtab.exp: Likewise.
635 * gdb.python/python.exp: Likewise.
636
637 2014-10-15 Yao Qi <yao@codesourcery.com>
638
639 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
640 pattern.
641 * gdb.python/py-symtab.exp: Likewise.
642 * gdb.python/python.exp: Remove trailing ".*". Fix typo
643 locationn.
644
645 2014-10-14 Joel Brobecker <brobecker@adacore.com>
646
647 * gdb.ada/addr_arith: New testcase.
648
649 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
650
651 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
652 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
653 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
654 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
655
656 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
657
658 * gdb.arch/stap-eval-lang-ada.S: Likewise.
659 * gdb.arch/stap-eval-lang-ada.c: Likewise.
660 * gdb.arch/stap-eval-lang-ada.exp: New file.
661
662 2014-10-14 Yao Qi <yao@codesourcery.com>
663
664 * gdb.mi/mi-var-child.c (nothing1): New function.
665 (nothing2): New function.
666 (do_children_tests): Set function pointers by nothing1 and
667 nothing2.
668 * gdb.mi/mi-var-child.exp: Step over new added statements.
669 Update test to match the new output.
670 * gdb.mi/var-cmd.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-display.exp: Update test to match output.
675 Step to the line specified by $line_dct_nothing.
676 Increase the number of lines to step.
677
678 2014-10-14 Yao Qi <yao@codesourcery.com>
679
680 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
681 tests.
682 * gdb.mi/mi2-var-child.exp: Likewise.
683
684 2014-10-13 Doug Evans <dje@google.com>
685
686 * gdb.python/py-objfile.exp: Change name of file name test.
687
688 2014-10-13 Doug Evans <dje@google.com>
689
690 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
691 from the start of the CU.
692
693 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
694 Yao Qi <yao@codesourcery.com>
695
696 Fix "save breakpoints" for "catch" command.
697 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
698 Remove -nonewline. Match also the added "main" line.
699
700 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
701
702 Fix "save breakpoints" for "disable $bpnum" command.
703 * gdb.base/save-bp.c (main): Add label.
704 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
705
706 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
707
708 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
709
710 2014-10-11 Yao Qi <yao@codesourcery.com>
711
712 * gdb.server/server-kill.exp: Execute command
713 "set remote trace-status-packet on" before "tstatus".
714
715 2014-10-11 Yao Qi <yao@codesourcery.com>
716
717 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
718 (main): Call getppid.
719 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
720 and continue to it. Read variable "server_pid".
721
722 2014-10-11 Yao Qi <yao@codesourcery.com>
723
724 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
725
726 2014-10-11 Yao Qi <yao@codesourcery.com>
727
728 * gdb.threads/thread-find.exp: Don't execute command
729 "info threads".
730 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
731 * gdb.threads/linux-dp.exp: Don't check the condition
732 $threads_created equals to zero.
733
734 2014-10-10 Pedro Alves <palves@redhat.com>
735
736 * gdb.base/bigcore.exp: Remove references to IRIX.
737 * gdb.base/funcargs.exp: Likewise.
738 * gdb.base/interrupt.exp: Likewise.
739 * gdb.base/mips_pro.exp: Likewise.
740 * gdb.base/nodebug.exp: Likewise.
741 * gdb.base/setvar.exp: Likewise.
742 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
743
744 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
745 Pedro Alves <palves@redhat.com>
746
747 PR symtab/14466
748 * gdb.base/vdso-warning.c: New file.
749 * gdb.base/vdso-warning.exp: New file.
750
751 2014-10-02 Doug Evans <dje@google.com>
752
753 * gdb.base/structs.c (main): Don't run forever.
754
755 2014-10-02 Pedro Alves <palves@redhat.com>
756
757 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
758 (top level) <stop threads 1, stop threads 2>: Use it.
759
760 2014-10-02 Pedro Alves <palves@redhat.com>
761
762 * gdb.threads/break-while-running.exp (test): Add new
763 'update_thread_list' argument. Skip "info threads" if false.
764 (top level): Add new 'update_thread_list' axis.
765
766 2014-10-02 Pedro Alves <palves@redhat.com>
767
768 PR breakpoints/17431
769 * gdb.base/execl-update-breakpoints.c: New file.
770 * gdb.base/execl-update-breakpoints.exp: New file.
771
772 2014-10-01 Pedro Alves <palves@redhat.com>
773
774 * gdb.base/breakpoint-in-ro-region.c: New file.
775 * gdb.base/breakpoint-in-ro-region.exp: New file.
776
777 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
778
779 * gdb.mi/mi-exit-code.exp: New file.
780 * gdb.mi/mi-exit-code.c: New file.
781
782 2014-09-30 Yao Qi <yao@codesourcery.com>
783
784 * lib/prelink-support.exp (build_executable_own_libs): Error if
785 the target isn't native.
786
787 2014-09-30 Yao Qi <yao@codesourcery.com>
788
789 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
790 false.
791
792 2014-09-22 Pedro Alves <palves@redhat.com>
793
794 * gdb.threads/break-while-running.exp: New file.
795 * gdb.threads/break-while-running.c: New file.
796
797 2014-09-19 Yao Qi <yao@codesourcery.com>
798
799 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
800 Invoke test. Restart GDB with --readnow and invoke test again.
801
802 2014-09-19 Yao Qi <yao@codesourcery.com>
803
804 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
805 proc set_breakpoint_on_gcd_function. Invoke
806 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
807 invoke set_breakpoint_on_gcd_function again.
808
809 2014-09-18 Doug Evans <dje@google.com>
810
811 * gdb.dwarf2/symtab-producer.exp: New file.
812
813 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
814
815 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
816 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
817 * gdb.base/global-var-nested-by-dso.c: Likewise.
818 * gdb.base/global-var-nested-by-dso.exp: Likewise.
819
820 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
821 Pedro Alves <palves@redhat.com>
822
823 * gdb.base/watch-bitfields.exp: Pass string other than test file
824 name to prepare_for_testing.
825 (watch): New procedure.
826 (expect_watchpoint): Use with_test_prefix.
827 (top level): Factor out tests to ...
828 (test_watch_location, test_regular_watch): ... these new
829 procedures, and use with_test_prefix and gdb_continue_to_end.
830
831 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
832
833 PR breakpoints/12526
834 * gdb.base/watch-bitfields.exp: New file.
835 * gdb.base/watch-bitfields.c: New file.
836
837 2014-09-16 Pedro Alves <palves@redhat.com>
838
839 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
840 software and hardware addresses, not software address against
841 itself.
842
843 2014-09-16 Pedro Alves <palves@redhat.com>
844
845 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
846 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
847
848 2014-09-16 Pedro Alves <palves@redhat.com>
849
850 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
851 files.
852 * gdb.base/a2-run.exp: Remove all code guarded by istarget
853 "*-*-vxworks*" throughout.
854 * gdb.base/break.exp: Likewise.
855 * gdb.base/default.exp: Likewise.
856 * gdb.base/scope.exp: Likewise.
857 * gdb.base/sepdebug.exp: Likewise.
858 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
859 throughout.
860 * gdb.base/run.c: Likewise.
861 * gdb.base/sepdebug.c: Likewise.
862 * gdb.hp/gdb.aCC/run.c: Likewise.
863 * gdb.reverse/until-reverse.c: Likewise.
864 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
865
866 2014-09-16 Yao Qi <yao@codesourcery.com>
867
868 * boards/local-remote-host-native.exp: New file.
869
870 2014-09-14 Doug Evans <xdje42@gmail.com>
871
872 * gdb.threads/queue-signal.c (thread_count): New variable.
873 (thread_count_mutex, thread_count_condvar): New variables.
874 (incr_thread_count, wait_all_threads_running): New functions.
875 (main): Wait for all threads to be in their thread functions.
876
877 2014-09-13 Doug Evans <xdje42@gmail.com>
878
879 * gdb.threads/queue-signal.c: New file.
880 * gdb.threads/queue-signal.exp: New file.
881
882 2014-09-13 Doug Evans <xdje42@gmail.com>
883
884 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
885 be consistent with what default_gdb_init uses.
886 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
887 the plain text of the prompt. Add some logging printfs.
888 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
889
890 2014-09-12 Pedro Alves <palves@redhat.com>
891
892 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
893 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
894 * gdb.arch/i386-size-overlap.exp: Likewise.
895 * gdb.arch/i386-size.exp: Likewise.
896 * gdb.arch/i386-unwind.exp: Likewise.
897 * gdb.base/a2-run.exp: Likewise.
898 * gdb.base/break.exp: Likewise.
899 * gdb.base/charset.exp: Likewise.
900 * gdb.base/chng-syms.exp: Likewise.
901 * gdb.base/commands.exp: Likewise.
902 * gdb.base/dbx.exp: Likewise.
903 * gdb.base/find.exp: Likewise.
904 * gdb.base/funcargs.exp: Likewise.
905 * gdb.base/jit-simple.exp: Likewise.
906 * gdb.base/reread.exp: Likewise.
907 * gdb.base/sepdebug.exp: Likewise.
908 * gdb.base/step-bt.exp: Likewise.
909 * gdb.cp/mb-inline.exp: Likewise.
910 * gdb.cp/mb-templates.exp: Likewise.
911 * gdb.objc/basicclass.exp: Likewise.
912 * gdb.threads/killed.exp: Likewise.
913
914 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
915
916 PR tdep/17379
917 * gdb.arch/powerpc-stackless.S: New file.
918 * gdb.arch/powerpc-stackless.exp: New file.
919
920 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
921
922 * gdb.base/attach.c: Include unistd.h.
923 (main): Call alarm. Add label postloop.
924 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
925 gdb_breakpoint, gdb_continue_to_breakpoint.
926 (test_command_line_attach_run): Kill ${testpid} in one exit path.
927
928 2014-09-11 Pedro Alves <palves@redhat.com>
929
930 PR gdb/17347
931 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
932 * gdb.base/attach.exp (test_command_line_attach_run): New
933 procedure.
934 (top level): Call it.
935
936 2014-09-11 Pedro Alves <palves@redhat.com>
937
938 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
939 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
940 (do_command_attach_tests): Use spawn_wait_for_attach.
941 * gdb.base/solib-overlap.exp: Likewise.
942 * gdb.multi/multi-attach.exp: Likewise.
943 * gdb.python/py-prompt.exp: Likewise.
944 * gdb.python/py-sync-interp.exp: Likewise.
945 * gdb.server/ext-attach.exp: Likewise.
946
947 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
948
949 * gdb.fortran/array-element.exp: Remove unexpected "continue"
950 command in testcase. Simplify testcase.
951
952 2014-09-10 Joel Brobecker <brobecker@adacore.com>
953
954 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
955
956 2014-09-10 Joel Brobecker <brobecker@adacore.com>
957
958 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
959
960 2014-09-10 Joel Brobecker <brobecker@adacore.com>
961
962 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
963
964 2014-09-10 Joel Brobecker <brobecker@adacore.com>
965
966 * gdb.dwarf2/dynarr-ptr.c: New file.
967 * gdb.dwarf2/dynarr-ptr.exp: New file.
968
969 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
970
971 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
972 of 30 rather than hardcoding 120 for a slow test case. Take the
973 `gdb,timeout' target setting into account for this calculation.
974 Don't extend the timeout for the test cases that don't need it.
975
976 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
977
978 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
979 a factor of 2 for a slow test case. Take the `gdb,timeout'
980 target setting into account for this calculation.
981 * gdb.reverse/until-precsave.exp: Increase the timeout by
982 a factor of 15 and 3 respectively rather than adding 120
983 for a pair of slow test cases. Take the `gdb,timeout'
984 target setting into account for this calculation.
985
986 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
987
988 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
989 timeout, don't pass one down to gdb_expect.
990 (gdb_expect): Rework timeout selection.
991
992 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
993
994 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
995 exception on timeout.
996 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
997 (gdbserver_start_extended): Catch any `gdbserver_start' error
998 exceptions.
999 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
1000 * lib/mi-support.exp (mi_gdb_target_load): Catch any
1001 `gdbserver_gdb_load' error exceptions.
1002
1003 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1004
1005 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
1006 120 on waiting for the TCP socket to open.
1007
1008 2014-09-09 Doug Evans <xdje42@gmail.com>
1009
1010 * gdb.base/default.exp (show_conv_list): Add _caller_is,
1011 _caller_matches, _any_caller_is, _any_caller_matches.
1012
1013 2014-09-09 Doug Evans <xdje42@gmail.com>
1014
1015 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
1016
1017 2014-09-09 Yao Qi <yao@codesourcery.com>
1018
1019 * gdb.mi/mi-var-display.exp: Set print symbol off.
1020
1021 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
1022
1023 PR gdb/17035
1024 * gdb.base/commands.exp: Add tests to verify user-defined
1025 commands with empty bodies.
1026 * gdb.python/py-cmd.exp: Test that we don't show user-defined
1027 python commands in `show user command`.
1028 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
1029 scheme commands in `show user command`.
1030
1031 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1032
1033 PR python/17355
1034 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
1035 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
1036 * gdb.python/py-framefilter-invalidarg.exp: New file.
1037 * gdb.python/py-framefilter-invalidarg.py: New file.
1038
1039 2014-09-06 Doug Evans <xdje42@gmail.com>
1040
1041 PR 15276
1042 * gdb.python/py-caller-is.c: New file.
1043 * gdb.python/py-caller-is.exp: New file.
1044
1045 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
1046
1047 PR gdb/17235
1048 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
1049 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
1050
1051 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
1052
1053 PR fortran/17237
1054 * gdb.fortran/print-formatted.exp: New file.
1055 * gdb.fortran/print-formatted.f90: Likewise.
1056
1057 2014-09-03 Sasha Smundak <asmundak@google.com>
1058
1059 * gdb.python/py-frame.exp: Test Frame.read_register.
1060
1061 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
1062
1063 PR python/16699
1064 * gdb.python/py-completion.exp: New file.
1065 * gdb.python/py-completion.py: Likewise.
1066
1067 2014-08-28 Doug Evans <dje@google.com>
1068
1069 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
1070 eax,etc. are live with values set by gdb and thus the compiler can't
1071 use them.
1072 * gdb.arch/i386-pseudo.c (main): Ditto.
1073
1074 2014-08-27 Doug Evans <dje@google.com>
1075
1076 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
1077
1078 2014-08-25 Doug Evans <dje@google.com>
1079
1080 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
1081 (main): Ditto.
1082
1083 2014-08-25 Doug Evans <dje@google.com>
1084
1085 * gdb.threads/thread-execl.exp: #include <stdio.h>.
1086
1087 2014-08-24 Yao Qi <yao@codesourcery.com>
1088
1089 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
1090 symbol off.
1091 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
1092
1093 2014-08-22 Doug Evans <dje@google.com>
1094
1095 PR 17276
1096 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
1097 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
1098 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
1099
1100 2014-08-22 Yao Qi <yao@codesourcery.com>
1101
1102 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
1103 * gdb.python/py-finish-breakpoint2.exp: Likewise.
1104 * gdb.python/python.exp: Likewise. Use .py file on the host
1105 instead of the build.
1106
1107 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1108
1109 * gdb.threads/gcore-stale-thread.c: New file.
1110 * gdb.threads/gcore-stale-thread.exp: New file.
1111
1112 2014-08-21 Pedro Alves <palves@redhat.com>
1113
1114 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
1115 * gdb.base/gcore-relro-pie.exp: Likewise.
1116 * gdb.base/gcore-relro.exp: Likewise.
1117 * gdb.base/gcore.exp: Likewise.
1118 * gdb.base/print-symbol-loading.exp: Likewise.
1119 * gdb.threads/gcore-thread.exp: Likewise.
1120 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
1121
1122 2014-08-20 Pedro Alves <palves@redhat.com>
1123 Jan Kratochvil <jan.kratochvil@redhat.com>
1124
1125 * Makefile.in (EXTRA_RULES, CC): New variables, get from
1126 configure.
1127 (EXPECT): Handle READ1 being set.
1128 (all): Depend on EXTRA_RULES.
1129 (check-read1, expect-read1, read1.so, read1): New rules.
1130 * README (Testsuite Parameters): Document the READ1 make variable.
1131 (Race detection): New section.
1132 * configure: Regenerate.
1133 * configure.ac: If build==host==target, and running under a
1134 GNU/glibc system, add read1 to the extra Makefile rules.
1135 (EXTRA_RULES): AC_SUBST it.
1136 * lib/read1.c: New file.
1137
1138 2014-08-20 Joel Brobecker <brobecker@adacore.com>
1139
1140 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
1141 the handling of variables declared as a typedef to an array
1142 which a DW_AT_data_location attribute.
1143
1144 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
1145 Pedro Alves <palves@redhat.com>
1146
1147 PR symtab/14604
1148 PR symtab/14605
1149 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
1150 gdb_test.
1151
1152 2014-08-19 Pedro Alves <palves@redhat.com>
1153
1154 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
1155
1156 2014-08-19 Yao Qi <yao@codesourcery.com>
1157
1158 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
1159 right line.
1160
1161 2014-08-18 David Blaikie <dblaikie@gmail.com>
1162
1163 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
1164
1165 2014-08-18 Joel Brobecker <brobecker@adacore.com>
1166
1167 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
1168 attribute in array range.
1169
1170 2014-08-18 Joel Brobecker <brobecker@adacore.com>
1171
1172 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
1173
1174 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1175
1176 PR c++/17132
1177 * gdb.cp/pr17132.cc: New file.
1178 * gdb.cp/pr17132.exp: New file.
1179
1180 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1181
1182 * gdb.python/py-xmethods.py (A_getarrayind)
1183 (E_method_char_worker.__call__, E_method_int_worker.__call__):
1184 Use 'print' with function call syntax.
1185 (E_method_matcher.match): Fix tab vs space indentation mixup.
1186
1187 2014-08-15 Yao Qi <yao@codesourcery.com>
1188
1189 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
1190 false.
1191
1192 2014-08-15 Yao Qi <yao@codesourcery.com>
1193
1194 * gdb.cp/casts.exp: Set print symbol off.
1195 * gdb.cp/class2.exp: Likewise.
1196 * gdb.cp/overload.exp: Likewise.
1197 * gdb.cp/templates.exp: Likewise.
1198
1199 2014-08-11 Doug Evans <dje@google.com>
1200
1201 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
1202 (test_load_shlib): Update.
1203
1204 2014-08-09 Yao Qi <yao@codesourcery.com>
1205
1206 * gdb.base/display.exp: Invoke is_address_zero_readable.
1207 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
1208 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1209 * gdb.base/hbreak-unmapped.exp: Return if
1210 is_address_zero_readable returns true.
1211 * gdb.base/signest.exp: Likewise.
1212 * gdb.base/signull.exp: Likewise.
1213 * gdb.base/sigbpt.exp: Likewise.
1214 * gdb.guile/scm-disasm.exp: Do the test if
1215 is_address_zero_readable returns false.
1216 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
1217 * gdb.python/py-arch.exp: Likewise.
1218 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
1219 * lib/gdb.exp (is_address_zero_readable): New proc.
1220
1221 2014-08-09 Yao Qi <yao@codesourcery.com>
1222
1223 PR testsuite/13443
1224 * gdb.mi/mi-var-display.exp: Make test messages unique.
1225
1226 2014-08-04 Tom Tromey <tromey@redhat.com>
1227
1228 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
1229 target 0".
1230
1231 2014-08-04 Tom Tromey <tromey@redhat.com>
1232
1233 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
1234 "target_resume".
1235
1236 2014-08-01 Joel Brobecker <brobecker@adacore.com>
1237
1238 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
1239 inner_vla_struct_object_size.
1240 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
1241 as xfail.
1242
1243 2014-07-30 Pedro Alves <palves@redhat.com>
1244
1245 * gdb.threads/signal-command-handle-nopass.exp (test): Add
1246 comment.
1247
1248 2014-07-29 Yao Qi <yao@codesourcery.com>
1249
1250 PR gdb/17206
1251 * gdb.base/until-nodebug.exp: New.
1252
1253 2014-07-28 Doug Evans <xdje42@gmail.com>
1254
1255 PR guile/17203
1256 * gdb.guile/scm-parameter.exp: Add tests for trying to create
1257 previously existing parameter, and previously ambiguously spelled
1258 parameter.
1259
1260 2014-07-28 Will Newton <will.newton@linaro.org>
1261
1262 * gdb.base/varargs.exp: Remove KFAILs for ARM.
1263
1264 2014-07-26 Ludovic Courtès <ludo@gnu.org>
1265 Doug Evans <xdje42@gmail.com>
1266
1267 PR guile/17146
1268 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
1269
1270 2014-07-25 Pedro Alves <palves@redhat.com>
1271
1272 * gdb.threads/signal-command-handle-nopass.c: New file.
1273 * gdb.threads/signal-command-handle-nopass.exp: New file.
1274 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
1275 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
1276 * gdb.threads/signal-delivered-right-thread.c: New file.
1277 * gdb.threads/signal-delivered-right-thread.exp: New file.
1278
1279 2014-07-25 Pedro Alves <palves@redhat.com>
1280
1281 * gdb.base/double-prompt-target-event-error.exp
1282 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
1283 match.
1284 (cancel_pagination_in_target_event): Rework double prompt
1285 detection.
1286 * gdb.base/paginate-after-ctrl-c-running.exp
1287 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
1288 <return>' match.
1289 * gdb.base/paginate-bg-execution.exp
1290 (test_bg_execution_pagination_return)
1291 (test_bg_execution_pagination_cancel): Remove '-notransfer
1292 <return>' matches.
1293 * gdb.base/paginate-execution-startup.exp
1294 (test_fg_execution_pagination_return)
1295 (test_fg_execution_pagination_cancel): Remove '-notransfer
1296 <return>' matches.
1297 * gdb.base/paginate-inferior-exit.exp
1298 (test_paginate_inferior_exited): Remove '-notransfer <return>'
1299 match.
1300 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
1301 * lib/gdb.exp (pagination_prompt): Run text through
1302 string_to_regexp.
1303 (gdb_test_multiple): Match $pagination_prompt instead of
1304 "<return>".
1305 (string_to_regexp): Move to lib/gdb-utils.exp.
1306
1307 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1308
1309 * gdb.arch/amd64-entry-value-paramref.S: New file.
1310 * gdb.arch/amd64-entry-value-paramref.cc: New file.
1311 * gdb.arch/amd64-entry-value-paramref.exp: New file.
1312 * gdb.arch/amd64-optimout-repeat.S: New file.
1313 * gdb.arch/amd64-optimout-repeat.c: New file.
1314 * gdb.arch/amd64-optimout-repeat.exp: New file.
1315
1316 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1317
1318 PR gdb/17170
1319 * gdb.base/statistics.exp: New file.
1320
1321 2014-07-17 Doug Evans <dje@google.com>
1322
1323 PR gdb/17170
1324 * gdb.base/maint.exp: Update testing of per-command stats.
1325
1326 2014-07-16 Pedro Alves <palves@redhat.com>
1327
1328 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
1329 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
1330 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
1331 (tfile_write_buf): New functions.
1332 (add_memory_block): Rewrite using the above.
1333 (adjust_function_address): New function.
1334 (FUNCTION_ADDRESS): New macro.
1335 (write_basic_trace_file): Remove short_x local, and use
1336 tfile_write_16. Change type of func_addr local to unsigned long
1337 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
1338 here. Cast argument of add_memory_block to char pointer.
1339 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
1340 (main): Remove parameters.
1341 * gdb.trace/tfile.exp: Remove nowarnings.
1342
1343 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
1344
1345 * gdb.base/debug-expr.exp: Test string evaluation with
1346 "debug expression" on.
1347
1348 2014-07-15 Pedro Alves <palves@redhat.com>
1349
1350 * gdb.base/reread.exp: Use clean_restart.
1351
1352 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
1353
1354 * gdb.arch/avr-flash-qualifer.c: New.
1355 * gdb.arch/avr-flash-qualifer.exp: New.
1356
1357 2014-07-14 Pedro Alves <palves@redhat.com>
1358
1359 * gdb.base/paginate-after-ctrl-c-running.c: New file.
1360 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
1361
1362 2014-07-14 Pedro Alves <palves@redhat.com>
1363
1364 * gdb.base/double-prompt-target-event-error.c: New file.
1365 * gdb.base/double-prompt-target-event-error.exp: New file.
1366
1367 2014-07-14 Pedro Alves <palves@redhat.com>
1368
1369 PR gdb/17072
1370 * gdb.base/paginate-inferior-exit.c: New file.
1371 * gdb.base/paginate-inferior-exit.exp: New file.
1372
1373 2014-07-14 Pedro Alves <palves@redhat.com>
1374
1375 PR gdb/17072
1376 * gdb.base/paginate-bg-execution.c: New file.
1377 * gdb.base/paginate-bg-execution.exp: New file.
1378
1379 2014-07-14 Pedro Alves <palves@redhat.com>
1380
1381 PR gdb/17072
1382 * gdb.base/paginate-execution-startup.c: New file.
1383 * gdb.base/paginate-execution-startup.exp: New file.
1384 * lib/gdb.exp (pagination_prompt): New global.
1385 (default_gdb_spawn): New procedure, factored out from
1386 default_gdb_spawn.
1387 (default_gdb_start): Adjust to call default_gdb_spawn.
1388 (gdb_spawn): New procedure.
1389
1390 2014-07-14 Pedro Alves <palves@redhat.com>
1391
1392 * lib/gdb.exp (gdb_assert): New procedure.
1393 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
1394
1395 2014-07-14 Pedro Alves <palves@redhat.com>
1396
1397 * gdb.base/execution-termios.c: New file.
1398 * gdb.base/execution-termios.exp: New file.
1399
1400 2014-07-14 Tom Tromey <tromey@redhat.com>
1401
1402 * gdb.cp/vla-cxx.cc: New file.
1403 * gdb.cp/vla-cxx.exp: New file.
1404
1405 2014-07-14 Tom Tromey <tromey@redhat.com>
1406
1407 * gdb.reverse/rerun-prec.c: New file.
1408 * gdb.reverse/rerun-prec.exp: New file.
1409
1410 2014-07-12 Maciej W. Rozycki <macro@mips.com>
1411 Maciej W. Rozycki <macro@codesourcery.com>
1412
1413 * lib/gdb-utils.exp: New file.
1414 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
1415 inline `gdb_init_command' processing.
1416 (gdb_start_cmd): Likewise.
1417 * lib/mi-support.exp (mi_run_cmd): Likewise.
1418 * README: Document `gdb_init_command' and `gdb_init_commands'.
1419
1420 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1421
1422 Fix false FAIL running under a very long directory name.
1423 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
1424 and "set print elements 10000". Twice.
1425
1426 2014-07-11 Yao Qi <yao@codesourcery.com>
1427
1428 * gdb.base/exprs.exp: "set print symbol off".
1429
1430 2014-07-11 Pedro Alves <palves@redhat.com>
1431
1432 * gdb.threads/kill.c: New file.
1433 * gdb.threads/kill.exp: New file.
1434
1435 2014-07-10 Yao Qi <yao@codesourcery.com>
1436
1437 * gdb.trace/tfile.c (write_basic_trace_file)
1438 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
1439 address written to trace file.
1440
1441 2014-07-09 Pedro Alves <palves@redhat.com>
1442
1443 * gdb.base/attach-wait-input.exp: New file.
1444 * gdb.base/attach-wait-input.c: New file.
1445
1446 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1447
1448 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
1449 setting up test structures.
1450 (main): Call new test function.
1451 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
1452 test function, continue into test function and walk test
1453 structures.
1454
1455 2014-07-02 Yao Qi <yao@codesourcery.com>
1456
1457 * gdb.trace/entry-values.c: Define labels 'foo_start' and
1458 'bar_start' at the beginning of functions 'foo' and 'bar'
1459 respectively.
1460 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
1461 instead of 'foo' and 'bar'.
1462
1463 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
1464
1465 * gdb.btrace/segv.exp: New.
1466 * gdb.btrace/segv.c: New.
1467
1468 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
1469
1470 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
1471 instruction.
1472
1473 2014-06-30 Mark Wielaard <mjw@redhat.com>
1474
1475 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
1476 vulture, vilify, villar): New volatile array constants.
1477 (vindictive, vegetation): New const volatile array constants.
1478 * gdb.base/volatile.exp: Test volatile and const volatile array
1479 types.
1480
1481 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1482
1483 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
1484 target lacks support for awatch, rwatch, or hbreak.
1485
1486 2014-06-27 Yao Qi <yao@codesourcery.com>
1487
1488 * gdb.multi/dummy-frame-restore.exp: New.
1489 * gdb.multi/dummy-frame-restore.c: New.
1490
1491 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
1492
1493 * gdb.btrace/gcore.exp: New.
1494
1495 2014-06-23 Pedro Alves <palves@redhat.com>
1496
1497 * gdb.base/watchpoint-reuse-slot.c: New file.
1498 * gdb.base/watchpoint-reuse-slot.exp: New file.
1499
1500 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
1501
1502 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
1503 progspace's filename in 'info', 'enable' and 'disable' command
1504 tests.
1505
1506 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1507
1508 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
1509 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1510 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
1511
1512 2014-06-20 Gary Benson <gbenson@redhat.com>
1513
1514 * gdb.arch/i386-avx.exp: Fix include file location.
1515 * gdb.arch/i386-sse.exp: Likewise.
1516
1517 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
1518
1519 * gdb.dlang/expression.exp: New file.
1520
1521 2014-06-19 Pedro Alves <palves@redhat.com>
1522
1523 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
1524 out from ...
1525 (top level): ... here. Iterate running tests under different
1526 scheduler-locking settings.
1527
1528 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
1529
1530 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
1531 to DW_FORM_addr and use non-zero addresses.
1532
1533 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
1534
1535 PR gdb/17017
1536 * gdb.python/py-xmethods.cc: Add global function call counters and
1537 increment them in their respective functions. Remove "cout"
1538 statements.
1539 * gdb.python/py-xmethods.exp: Make tests check the global function
1540 call counters instead of depending on inferior IO.
1541
1542 2014-06-18 Don Breazeal <donb@codesourcery.com>
1543
1544 * gdb.base/foll-fork.exp (default_fork_parent_follow):
1545 Deleted procedure.
1546 (explicit_fork_parent_follow): Deleted procedure.
1547 (explicit_fork_child_follow): Deleted procedure.
1548 (test_follow_fork): New procedure.
1549 (do_fork_tests): Replace calls to deleted procedures with
1550 calls to test_follow_fork and reset GDB for subsequent
1551 procedure calls.
1552
1553 2014-06-17 Yao Qi <yao@codesourcery.com>
1554
1555 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
1556 CP1252.
1557
1558 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
1559
1560 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
1561 Initialize ptr and S explicitly.
1562 (skip_type_update_when_not_use_rtti_test): Likewise.
1563
1564 2014-06-16 Keith Seitz <keiths@redhat.com>
1565
1566 PR mi/15863
1567 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
1568 the inferior is started.
1569
1570 2014-06-16 Pedro Alves <palves@redhat.com>
1571
1572 * gdb.base/break-main-file-remove-fail.c: New file.
1573 * gdb.base/break-main-file-remove-fail.exp: New file.
1574 * gdb.base/break-unload-file.exp: Use build_executable instead of
1575 prepare_for_testing.
1576 (test_break): New parameter "initial_load". Handle it.
1577 (top level): Add initial_load cmdline/file axis.
1578
1579 2014-06-12 Tom Tromey <tromey@redhat.com>
1580
1581 * gdb.base/completion.exp: Don't use directory name in test.
1582
1583 2014-06-09 Gary Benson <gbenson@redhat.com>
1584
1585 * gdb.base/sigall.c [Functions to send signals]: Reorder to
1586 separate the always-available ANSI-standard signals from the
1587 signals that require checking.
1588 (main): Likewise.
1589 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
1590 Likewise.
1591 (main): Likewise.
1592
1593 2014-06-07 Keith Seitz <keiths@redhat.com>
1594
1595 Revert:
1596 PR c++/16253
1597 * gdb.cp/var-tag.cc: New file.
1598 * gdb.cp/var-tag.exp: New file.
1599 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1600 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1601 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1602 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1603
1604 2014-06-06 Doug Evans <xdje42@gmail.com>
1605
1606 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
1607
1608 2014-06-06 Pedro Alves <palves@redhat.com>
1609
1610 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
1611 in target debug output instead of looking at RSP packets,
1612 disabling the test on any target that uses hardware stepping.
1613 Update comments.
1614
1615 2014-06-06 Pedro Alves <palves@redhat.com>
1616
1617 * gdb.base/break-unload-file.exp: Fix typo.
1618
1619 2014-06-06 Yao Qi <yao@codesourcery.com>
1620
1621 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
1622 from "jit_function" to "^jit_function".
1623
1624 2014-06-06 Yao Qi <yao@codesourcery.com>
1625
1626 * gdb.base/async.c (foo): Add one statement.
1627 * gdb.base/async.exp: Get the next instruction address and
1628 match the output of "nexti" by instruction address. Match
1629 the hex address in the output of "finish".
1630
1631 2014-06-06 Gary Benson <gbenson@redhat.com>
1632
1633 * gdb.base/call-signals.c: Remove preprocessor conditionals
1634 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
1635 SIGSEGV and SIGTERM.
1636 * gdb.base/sigall.c: Likewise.
1637 * gdb.base/unwindonsignal.c: Likewise.
1638 * gdb.reverse/sigall-reverse.c: Likewise.
1639
1640 2014-06-06 Yao Qi <yao@codesourcery.com>
1641
1642 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
1643 readable, skip the test.
1644
1645 2014-06-06 Yao Qi <yao@codesourcery.com>
1646
1647 * gdb.threads/staticthreads.c (thread_function): Move the line
1648 setting breakpoint on forward.
1649 * gdb.threads/staticthreads.exp: Update comments.
1650
1651 2014-06-05 Ludovic Courtès <ludo@gnu.org>
1652
1653 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
1654 "history-append! type error".
1655
1656 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
1657
1658 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
1659 erroneous dprintf expected input.
1660
1661 2014-06-04 Doug Evans <xdje42@gmail.com>
1662
1663 * gdb.guile/scm-generics.exp: Delete.
1664
1665 2014-06-04 Doug Evans <xdje42@gmail.com>
1666
1667 * gdb.guile/scm-breakpoint.exp: Update.
1668 Add tests for breakpoint registration.
1669
1670 2014-06-04 Tom Tromey <tromey@redhat.com>
1671
1672 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
1673 VLA-in-union.
1674 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
1675 inner_vla_struct, vla_union types. Initialize objects of those
1676 types and compute their sizes.
1677
1678 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
1679 Hui Zhu <hui@codesourcery.com>
1680
1681 * gdb.base/fileio.exp: Add test for shell not available as well as
1682 available.
1683 * gdb.base/fileio.c (test_system): Check for shell twice.
1684
1685 2014-06-04 Yao Qi <yao@codesourcery.com>
1686
1687 * gdb.base/auto-connect-native-target.exp: Remove redundant
1688 space from the regexp pattern.
1689
1690 2014-06-04 Yao Qi <yao@codesourcery.com>
1691
1692 * gdb.base/default.exp: Replace "child" with "native" in
1693 regexp pattern.
1694
1695 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1696
1697 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1698 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1699 * gdb.python/py-xmethods.py: Python script supporting the
1700 new testcase and tests.
1701
1702 2014-06-03 Joel Brobecker <brobecker@adacore.com>
1703 Pedro Alves <palves@redhat.com>
1704
1705 PR breakpoints/17000
1706 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1707 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1708
1709 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1710
1711 * gdb.base/subst.exp: Add tests to verify partial path matching
1712 output.
1713
1714 2014-06-03 Pedro Alves <palves@redhat.com>
1715
1716 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1717 target that doesn't use software single-stepping.
1718
1719 2014-06-03 Pedro Alves <palves@redhat.com>
1720
1721 PR breakpoints/17000
1722 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1723 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1724
1725 2014-06-02 Doug Evans <xdje42@gmail.com>
1726
1727 * gdb.guile/scm-parameter.exp: New file.
1728
1729 2014-06-02 Doug Evans <xdje42@gmail.com>
1730
1731 * gdb.guile/scm-cmd.c: New file.
1732 * gdb.guile/scm-cmd.exp: New file.
1733
1734 2014-06-02 Doug Evans <xdje42@gmail.com>
1735
1736 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1737 pretty-printer lookup.
1738 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1739 (make-pp_s-printer): Call it.
1740 (make-pretty-printer-from-dict): New function.
1741 (lookup-pretty-printer-maker-from-dict): New function.
1742 (*pretty-printer*): Simplify.
1743 (make-objfile-pp_s-printer): New function.
1744 (install-objfile-pretty-printers!): New function.
1745 (make-progspace-pp_s-printer): New function.
1746 (install-progspace-pretty-printers!): New function.
1747 * gdb.guile/scm-progspace.c: New file.
1748 * gdb.guile/scm-progspace.exp: New file.
1749
1750 2014-06-02 Pedro Alves <palves@redhat.com>
1751
1752 * gdb.base/dprintf-bp-same-addr.c: New file.
1753 * gdb.base/dprintf-bp-same-addr.exp: New file.
1754
1755 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1756
1757 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1758 * gdb.arch/powerpc-power.s: Likewise.
1759
1760 2014-06-02 Joel Brobecker <brobecker@adacore.com>
1761
1762 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1763
1764 2014-06-01 Yao Qi <yao@codesourcery.com>
1765
1766 * gdb.base/watchpoint.exp (test_watch_location): Check null
1767 pointer can be dereferenced. If not, do the test, otherwise
1768 skip it.
1769
1770 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1771
1772 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1773 results.
1774 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1775
1776 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1777
1778 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1779 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1780 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1781 * gdb.arch/amd64-invalid-stack-top.c: New file.
1782 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1783
1784 2014-05-30 Pedro Alves <palves@redhat.com>
1785
1786 PR breakpoints/17000
1787 * gdb.base/sss-bp-on-user-bp.c: New file.
1788 * gdb.base/sss-bp-on-user-bp.exp: New file.
1789
1790 2014-05-30 David Blaikie <dblaikie@gmail.com>
1791
1792 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1793 gnu_inline semantics via attribute.
1794 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1795 source explicitly specifies the required semantics.
1796
1797 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1798
1799 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1800
1801 2014-05-29 Pedro Alves <palves@redhat.com>
1802 Tom Tromey <tromey@redhat.com>
1803
1804 * gdb.base/async-shell.exp: Don't enable target-async.
1805 * gdb.base/async.exp
1806 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1807 parameter. Adjust.
1808 (top level): Don't test with "target-async".
1809 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1810 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1811 * gdb.base/inferior-died.exp: Don't enable target-async.
1812 * gdb.base/interrupt-noterm.exp: Likewise.
1813 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1814 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1815 * gdb.mi/mi-nonstop.exp: Likewise.
1816 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1817 * gdb.mi/mi-nsintrall.exp: Likewise.
1818 * gdb.mi/mi-nsmoribund.exp: Likewise.
1819 * gdb.mi/mi-nsthrexec.exp: Likewise.
1820 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1821 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1822 * gdb.python/py-evsignal.exp: Don't enable target-async.
1823 * gdb.python/py-evthreads.exp: Likewise.
1824 * gdb.python/py-prompt.exp: Likewise.
1825 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1826 * gdb.server/solib-list.exp: Don't enable target-async.
1827 * gdb.threads/thread-specific-bp.exp: Likewise.
1828 * lib/mi-support.exp: Adjust to use mi-async.
1829
1830 2014-05-29 Pedro Alves <palves@redhat.com>
1831
1832 PR gdb/13860
1833 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1834 reason, even in sync mode.
1835
1836 2014-05-29 Pedro Alves <palves@redhat.com>
1837 Hui Zhu <hui@codesourcery.com>
1838
1839 PR PR15693
1840 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1841 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1842 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1843 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1844
1845 2014-05-28 Joel Brobecker <brobecker@adacore.com>
1846
1847 * config/monitor.exp (gdb_target_monitor): Replace use of
1848 "set remotebaud" by "set serial baud".
1849
1850 2014-05-26 Andy Wingo <wingo@igalia.com>
1851
1852 * gdb.guile/scm-breakpoint.exp:
1853 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1854 properties instead of gdb-object-properties.
1855
1856 2014-05-26 Yao Qi <yao@codesourcery.com>
1857
1858 * gdb.server/no-thread-db.exp: Specify source file name
1859 explicitly when setting a breakpoint.
1860
1861 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1862
1863 * gdb.btrace/vdso.c: New.
1864 * gdb.btrace/vdso.exp: New.
1865
1866 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1867
1868 * gdb.base/gcore.exp (capture_command_output): Move ...
1869 * lib/gdb.exp (capture_command_output): ... here.
1870
1871 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1872
1873 * gdb.btrace/data.exp: Test memory access during btrace replay.
1874
1875 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1876
1877 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1878
1879 2014-05-21 Pedro Alves <palves@redhat.com>
1880
1881 PR gdb/13860
1882 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1883 (top level): Test that output related to execution commands is
1884 sent to the console with CLI commands, but not with MI commands.
1885 Test that breakpoint events are always mirrored to the console.
1886 Also expect the new source line to be output after a "next" in
1887 async mode too. Make it a pass/fail test.
1888 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
1889 output.
1890 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
1891
1892 2014-05-21 Pedro Alves <palves@redhat.com>
1893
1894 * gdb.base/list.exp (build_pattern, test_list): New procedures.
1895 Use them to test variations of "list" after reaching a breakpoint.
1896 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
1897 Test "list" with listsize 10 after reaching a breakpoint.
1898 * gdb.python/python.exp (decode_line current location line
1899 number): Adjust expected line number.
1900
1901 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
1902
1903 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
1904 behavior for $args, pass it directly to "run".
1905
1906 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1907
1908 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
1909 30000 to 65536.
1910
1911 2014-05-21 Pedro Alves <palves@redhat.com>
1912
1913 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
1914 auto-connect-native-target off".
1915 * gdb.base/auto-connect-native-target.c: New file.
1916 * gdb.base/auto-connect-native-target.exp: New file.
1917
1918 2014-05-21 Pedro Alves <palves@redhat.com>
1919
1920 * gdb.base/default.exp: Test "target native" instead of "target
1921 child".
1922
1923 2014-05-21 Mark Wielaard <mjw@redhat.com>
1924
1925 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1926
1927 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1928
1929 Fix TLS access for -static -pthread.
1930 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
1931 <HAVE_TLS> (thread_function, main): Initialize it.
1932 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
1933 Add clean_restart.
1934 <$have_tls != "">: Check TLSVAR.
1935
1936 2014-05-21 Pedro Alves <palves@redhat.com>
1937
1938 * gdb.base/dcache-line-read-error.c: New.
1939 * gdb.base/dcache-line-read-error.exp: New.
1940
1941 2014-05-20 Pedro Alves <palves@redhat.com>
1942
1943 * gdb.base/compare-sections.c: New file.
1944 * gdb.base/compare-sections.exp: New file.
1945
1946 2014-05-20 Pedro Alves <palves@redhat.com>
1947
1948 * gdb.base/break-idempotent.c: New file.
1949 * gdb.base/break-idempotent.exp: New file.
1950
1951 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
1952
1953 * gdb.btrace/nohist.exp: New.
1954
1955 2014-05-20 Yao Qi <yao@codesourcery.com>
1956
1957 * lib/gdb.exp (gdb_init): Set timeout if test file is under
1958 gdb.reverse directory and gdb_reverse_timeout exists in board
1959 setting.
1960 * README: Document gdb_reverse_timeout.
1961
1962 2014-05-20 Yao Qi <yao@codesourcery.com>
1963
1964 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
1965 'test_file_name'. Treat args as a string instead of a list.
1966 (gdb_init): Rename argument 'args' by 'test_file_name'.
1967
1968 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1969
1970 * gdb.arch/powerpc-power.exp: New file.
1971 * gdb.arch/powerpc-power.s: New file.
1972
1973 2014-05-16 Doug Evans <dje@google.com>
1974
1975 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
1976 * gdb.base/completion.exp: Check that all expected files exist
1977 before doing file completion.
1978
1979 2014-05-16 Doug Evans <dje@google.com>
1980
1981 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
1982 Update.
1983 (do_syscall_tests_without_xml): Update.
1984
1985 2014-05-16 Pedro Alves <palves@redhat.com>
1986
1987 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
1988 instead of "unknown output after running".
1989
1990 2014-05-16 Yao Qi <yao@codesourcery.com>
1991
1992 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
1993 file1.txt from host at the end.
1994 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1995
1996 2014-05-15 Doug Evans <dje@google.com>
1997
1998 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
1999 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
2000 loading file. Add test for TU lookup.
2001
2002 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2003
2004 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
2005 calling "-exec-arguments" or "set args" before running the
2006 inferior.
2007
2008 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2009
2010 * lib/mi-support.exp (mi_expect_stop): Expect message for
2011 inferiors that exit with non-zero exit code.
2012
2013 2014-05-14 Yao Qi <yao@codesourcery.com>
2014
2015 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
2016 match absolute path on remote host.
2017 (test_file_list_exec_source_files): Remove "/" from the
2018 pattern.
2019
2020 2014-05-14 Yao Qi <yao@codesourcery.com>
2021
2022 * boards/local-remote-host-notty.exp (${board}_file): New
2023 proc.
2024
2025 2014-05-07 Kyle McMartin <kyle@redhat.com>
2026
2027 Pushed by Joel Brobecker <brobecker@adacore.com>.
2028 * gdb.arch/aarch64-atomic-inst.c: New file.
2029 * gdb.arch/aarch64-atomic-inst.exp: New file.
2030
2031 2014-05-07 Yao Qi <yao@codesourcery.com>
2032
2033 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
2034 in current context" too.
2035
2036 2014-05-05 Keith Seitz <keiths@redhat.com>
2037
2038 * gdb.linespec/ls-dollar.exp: Add test for linespec
2039 file:convenience_variable.
2040
2041 2014-05-05 Yao Qi <yao@codesourcery.com>
2042
2043 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
2044 traceframes into tfile and ctf trace files. Read data from
2045 trace file and test collected data.
2046 (gdb_collect_locals_test): Likewise.
2047 (gdb_unavailable_registers_test): Likewise.
2048 (gdb_unavailable_floats): Likewise.
2049 (gdb_collect_globals_test): Likewise.
2050 (top-level): Append "ctf" to trace_file_targets if GDB
2051 supports.
2052
2053 2014-05-05 Yao Qi <yao@codesourcery.com>
2054
2055 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
2056 code to ...
2057 (gdb_collect_args_test_1): ... it. New proc.
2058 (gdb_collect_locals_test): Move some code to ...
2059 (gdb_collect_locals_test_1): ... it. New proc.
2060 (gdb_unavailable_registers_test): Move some code to ...
2061 (gdb_unavailable_registers_test_1): ... it. New proc.
2062 (gdb_unavailable_floats): Move some code to ...
2063 (gdb_unavailable_floats_1): ... it. New proc.
2064
2065 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2066
2067 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
2068 probes to test for bitness recognition.
2069 * gdb.arch/amd64-stap-optional-prefix.exp
2070 (test_probe_value_without_reg): New procedure.
2071 Add code to test for different kinds of bitness.
2072
2073 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2074
2075 PR breakpoints/16889
2076 * gdb.arch/amd64-stap-optional-prefix.S: New file.
2077 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2078
2079 2014-05-01 Pedro Alves <palves@redhat.com>
2080
2081 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
2082 gdb_file_cmd if no file is specified.
2083 * boards/native-extended-gdbserver.exp (gdb_load): Use the
2084 last_loaded_file to set the remote exec-file.
2085
2086 2014-05-01 Pedro Alves <palves@redhat.com>
2087
2088 * boards/local-remote-host.exp: New file.
2089
2090 2014-05-01 Pedro Alves <palves@redhat.com>
2091
2092 * boards/local-remote-host.exp: Rename to ...
2093 * boards/local-remote-host-notty.exp: ... this.
2094
2095 2014-04-28 Joel Brobecker <brobecker@adacore.com>
2096
2097 * gdb.ada/dyn_arrayidx: New testcase.
2098
2099 2014-04-26 Yao Qi <yao@codesourcery.com>
2100
2101 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
2102 and compute the length of function main. Save it in
2103 $main_length.
2104 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
2105 (top-level): Use gdb_compile to compile objects into
2106 executable and restart GDB. Remove invocation to
2107 prepare_for_testing.
2108
2109 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
2110 Pedro Alves <palves@redhat.com>
2111
2112 PR server/16255
2113 * gdb.multi/multi-attach.c: New file.
2114 * gdb.multi/multi-attach.exp: New file.
2115
2116 2014-04-25 Pedro Alves <palves@redhat.com>
2117
2118 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
2119 user.
2120 (top level): Test that "set remote conditional-breakpoints-packet
2121 off" works as intended.
2122 * gdb.base/dprintf.exp: Test that "set remote
2123 breakpoint-commands-packet off" works as intended.
2124 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
2125 New function.
2126 (top level): Call it.
2127 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
2128 remote fast-tracepoints-packet off" works as intended.
2129 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
2130 * lib/gdb.exp (gdb_is_target_remote): ... here.
2131
2132 2014-04-24 David Blaikie <dblaikie@gmail.com>
2133
2134 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
2135 ensure clang would not discard them.
2136 * gdb.base/gdbvars.c: Ditto.
2137 * gdb.base/memattr.c: Ditto.
2138 * gdb.base/whatis.c: Ditto.
2139 * gdb.python/py-prettyprint.c: Ditto.
2140 * gdb.trace/actions.c: Ditto.
2141 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
2142 ensure clang would not discard it.
2143
2144 2014-04-24 David Blaikie <dblaikie@gmail.com>
2145
2146 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
2147 clang to emit the full definition of type required by the test
2148 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
2149
2150 2014-04-24 David Blaikie <dblaikie@gmail.com>
2151
2152 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
2153 coax Clang into emitting the definition of the type.
2154 * gdb.cp/pr10728-x.h (y): Ditto.
2155 * gdb.cp/pr10728-y.cc (y): Ditto.
2156
2157 2014-04-24 David Blaikie <dblaikie@gmail.com>
2158
2159 * gdb.base/label.exp: XFAIL label related tests under Clang.
2160 * gdb.cp/cplabel.exp: Ditto.
2161 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
2162 under Clang those using labels.
2163
2164 2014-04-25 Yao Qi <yao@codesourcery.com>
2165
2166 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
2167 double_label.
2168 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
2169 partial_label and double_label.
2170
2171 2014-04-24 David Blaikie <dblaikie@gmail.com>
2172
2173 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
2174
2175 2014-04-24 David Blaikie <dblaikie@gmail.com>
2176
2177 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
2178 of the function to work across GCC and Clang.
2179 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
2180 pointer types (const void ** const V void **).
2181
2182 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
2183 Walfred Tedeschi <walfred.tedeschi@intel.com>
2184
2185 * Makefile.in (EXECUTABLES): Added i386-avx512.
2186 * gdb.arch/i386-avx512.c: New file.
2187 * gdb.arch/i386-avx512.exp: Likewise.
2188
2189 2014-04-23 Keith Seitz <keiths@redhat.com>
2190
2191 * lib/mi-support.exp (mi_list_breakpoints): Delete.
2192 (mi_make_breakpoint_table): New procedure.
2193 (mi_create_breakpoint): Use mi_make_breakpoint
2194 and return the result.
2195 (mi_make_breakpoint): New procedure.
2196 (mi_build_kv_pairs): New procedure.
2197
2198 * gdb.mi/mi-break.exp: Remove unused globals,
2199 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
2200 All callers updated.
2201 * gdb.mi/mi-dprintf.exp: Use variable to track command
2202 number.
2203 Update all callers of mi_create_breakpoint and use
2204 mi_make_breakpoint_table.
2205 Remove any unused global variables.
2206 * gdb.mi/mi-nonstop.exp: Likewise.
2207 * gdb.mi/mi-nsintrall.exp: Likewise.
2208 * gdb.mi/mi-nsmoribund.exp: Likewise.
2209 * gdb.mi/mi-nsthrexec.exp: Likewise.
2210 * gdb.mi/mi-reverse.exp: Likewise.
2211 * gdb.mi/mi-simplerun.exp: Likewise.
2212 * gdb.mi/mi-stepn.exp: Likewise.
2213 * gdb.mi/mi-syn-frame.exp: Likewise.
2214 * gdb.mi/mi-until.exp: Likewise.
2215 * gdb.mi/mi-var-cp.exp: Likewise.
2216 * gdb.mi/mi-var-display.exp: Likewise.
2217 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2218 * gdb.mi/mi2-var-child.exp: Likewise.
2219 * gdb.mi/mi-vla-c99.exp: Likewise.
2220 * lib/mi-support.exp: Likewise.
2221
2222 From Ian Lance Taylor <iant@cygnus.com>:
2223 * lib/gdb.exp (parse_args): New procedure.
2224
2225 2014-04-23 Pedro Alves <palves@redhat.com>
2226
2227 * gdb.base/break-unload-file.c: New file.
2228 * gdb.base/break-unload-file.exp: New file.
2229 * gdb.base/sym-file-lib.c (baz): New function.
2230 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
2231 field.
2232 (load): Store the segment's mapped size.
2233 (unload): New function.
2234 (unload_shlib): New function.
2235 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
2236 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
2237 set a breakpoint at baz, and call it.
2238 * gdb.base/sym-file.exp: New tests for stale breakpoint
2239 instructions.
2240
2241 2014-04-23 Pedro Alves <palves@redhat.com>
2242
2243 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
2244 * gdb.base/hbreak-in-shr-unsupported.c: New file.
2245 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
2246 * gdb.base/hbreak-unmapped.c: New file.
2247 * gdb.base/hbreak-unmapped.exp: New file.
2248 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
2249 * lib/gdb.exp (gdb_is_target_remote): ... here.
2250
2251 2014-04-22 Pedro Alves <palves@redhat.com>
2252
2253 * gdb.base/consecutive-step-over.c: New file.
2254 * gdb.base/consecutive-step-over.exp: New file.
2255
2256 2014-04-22 Pedro Alves <palves@redhat.com>
2257
2258 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
2259 instead of send_gdb/gdb_expect.
2260
2261 2014-04-22 Yao Qi <yao@codesourcery.com>
2262
2263 * lib/trace-support.exp (generate_tracefile): New procedure.
2264 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
2265 return 0.
2266 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
2267 if generate_tracefile returns 1.
2268
2269 2014-04-18 Tom Tromey <palves@redhat.com>
2270 Pedro alves <tromey@redhat.com>
2271
2272 PR backtrace/15558
2273 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
2274 with a backtrace limit.
2275 * gdb.python/py-frame-inline.exp: Test running to an inline
2276 function with a backtrace limit, and printing the newest frame.
2277 * gdb.python/py-frame-inline.c (main): Call f.
2278
2279 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2280
2281 * gdb.java/jnpe.exp: Drop srcdir from untested path.
2282
2283 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2284
2285 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
2286 Drop prefix from unsupported source file path.
2287
2288 2014-04-17 Yao Qi <yao@codesourcery.com>
2289
2290 * lib/gdb.exp (with_target_charset): New proc.
2291 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
2292 with_target_charset.
2293 (test_print_strings): Likewise.
2294 (test_repeat_bytes): Likewise.
2295 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
2296 for some tests.
2297
2298 2014-04-16 Keith Seitz <keiths@redhat.com>
2299
2300 PR gdb/15827
2301 * gdb.dwarf2/corrupt.c: New file.
2302 * gdb.dwarf2/corrupt.exp: New file.
2303
2304 2014-04-16 Keith Seitz <keiths@redhat.com>
2305
2306 PR c++/16597
2307 * gdb.cp/namelessclass.cc: New file.
2308 * gdb.cp/namelessclass.exp: New file.
2309 * gdb.cp/namelessclass.S: New file.
2310
2311 2014-04-16 Doug Evans <dje@google.com>
2312
2313 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
2314 Add comment.
2315 (gdbserver_default_get_comm_port): New function.
2316 (gdbserver_start): Check if board file provided
2317 "gdbserver,get_comm_port" and use it if so.
2318 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
2319 (gdb,socketport): Set to "stdio".
2320 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
2321 (stdio_gdbserver_template): Delete.
2322 (${board}_get_remote_address): Update.
2323 (${board}_build_remote_cmd): Delete.
2324 (${board}_get_comm_port): New function.
2325 (${board}_spawn): Update.
2326 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
2327 Delete.
2328 (${board}_get_remote_address): Update.
2329 (${board}_get_comm_port): New function.
2330
2331 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
2332
2333 * gdb.base/memattr.exp: Improve regexps to handle memory regions
2334 appearing in any order.
2335
2336 2014-04-15 Doug Evans <dje@google.com>
2337
2338 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
2339 uninitialized value of "description".
2340
2341 2014-04-15 Keith Seitz <keiths@redhat.com>
2342
2343 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
2344 Remove unused globals.
2345 (test_running_the_program): Likewise.
2346 (test_controlled_execution): Likewise.
2347 (test_controlling_breakpoints): Likewise.
2348 (test_program_termination): Likewise.
2349
2350 2014-04-15 Keith Seitz <keiths@redhat.com>
2351
2352 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
2353 unused globals.
2354 (test_rbreak_creation_and_listing): Likewise.
2355 (test_ignore_count): Likewise.
2356 (test_error): Likewise.
2357
2358 2014-04-15 Pedro Alves <palves@redhat.com>
2359
2360 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
2361 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
2362 sym-file-loader.c.
2363 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2364 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2365 to sym-file-loader.c.
2366 (struct library): Forward declare.
2367 (load_shlib, lookup_function): Change prototypes.
2368 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2369 (translate_offset): Remove declarations.
2370 (get_text_addr): New declaration.
2371 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
2372 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
2373 sym-file-loader.h.
2374 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2375 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2376 here from sym-file-loader.h.
2377 (struct library): New structure.
2378 (load_shlib, lookup_function): Change prototypes and adjust to
2379 work with a struct library.
2380 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2381 (translate_offset): Make static.
2382 (get_text_addr): New function.
2383 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
2384
2385 2014-04-15 Pedro Alves <palves@redhat.com>
2386
2387 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
2388
2389 2014-04-15 Pedro Alves <palves@redhat.com>
2390
2391 * gdb.base/sym-file-loader.c: Include <limits.h>.
2392 (SELF_LINK): New define.
2393 (get_origin): New function.
2394 (load_shlib): Use it.
2395 * gdb.base/sym-file.exp: Don't early return if the target is
2396 remote. Use runto_main, and issue fail is that fails. Use
2397 gdb_load_shlibs.
2398 (shlib_name): Delete.
2399 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
2400
2401 2014-04-15 Pedro Alves <palves@redhat.com>
2402
2403 * gdb.base/sym-file.exp: Remove regex characters from test
2404 message. Don't refer to breakpoint numbers in test messages.
2405
2406 2014-04-14 Keith Seitz <keiths@redhat.com>
2407
2408 PR c++/16253
2409 * gdb.cp/var-tag.cc: New file.
2410 * gdb.cp/var-tag.exp: New file.
2411 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2412 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2413 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2414 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2415
2416 2014-04-14 Tom Tromey <tromey@redhat.com>
2417
2418 * gdb.cp/classes.exp (test_enums): Handle underlying type.
2419 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
2420 type.
2421 * gdb.cp/enum-class.exp: New file.
2422 * gdb.cp/enum-class.cc: New file.
2423
2424 2014-04-14 Tom Tromey <tromey@redhat.com>
2425
2426 * gdb.dwarf2/enum-type.exp: New file.
2427
2428 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2429
2430 * gdb.mi/mi-vla-c99.exp: New file.
2431 * gdb.mi/vla.c: New file.
2432
2433 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2434
2435 * gdb.base/vla-datatypes.c: New file.
2436 * gdb.base/vla-datatypes.exp: New file.
2437
2438 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2439
2440 * gdb.base/vla-ptr.c: New file.
2441 * gdb.base/vla-ptr.exp: New file.
2442
2443 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2444
2445 * gdb.dwarf2/count.exp: New file.
2446
2447 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2448
2449 * gdb.base/vla-sideeffect.c: New file.
2450 * gdb.base/vla-sideeffect.exp: New file.
2451
2452 2014-04-14 David Blaikie <dblaikie@gmail.com>
2453
2454 * gdb.mi/non-stop.c: Add return value for non-void function return
2455 statement.
2456 * gdb.threads/staticthreads.c: Ditto.
2457
2458 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
2459 Doug Evans <xdje42@gmail.com>
2460
2461 * gdb.guile/scm-value.c: Improve test case.
2462 * gdb.guile/scm-value.exp: Add new test.
2463
2464 2014-04-11 David Blaikie <dblaikie@gmail.com>
2465
2466 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
2467 override Clang's default.
2468
2469 2014-04-11 Joel Brobecker <brobecker@adacore.com>
2470
2471 Revert the following changes (regressions):
2472
2473 * gdb.base/vla-sideeffect.c: New file.
2474 * gdb.base/vla-sideeffect.exp: New file.
2475
2476 * gdb.dwarf2/count.exp: New file.
2477
2478 * gdb.base/vla-multi.c: New file.
2479 * gdb.base/vla-multi.exp: New file.
2480
2481 * gdb.base/vla-ptr.c: New file.
2482 * gdb.base/vla-ptr.exp: New file.
2483
2484 * gdb.base/vla-datatypes.c: New file.
2485 * gdb.base/vla-datatypes.exp: New file.
2486
2487 * gdb.mi/mi-vla-c99.exp: New file.
2488 * gdb.mi/vla.c: New file.
2489
2490 2014-04-11 Keith Seitz <keiths@redhat.com>
2491
2492 PR c++/16675
2493 * gdb.cp/cpsizeof.exp: New file.
2494 * gdb.cp/cpsizeof.cc: New file.
2495
2496 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2497
2498 * gdb.mi/mi-vla-c99.exp: New file.
2499 * gdb.mi/vla.c: New file.
2500
2501 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2502
2503 * gdb.base/vla-datatypes.c: New file.
2504 * gdb.base/vla-datatypes.exp: New file.
2505
2506 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2507
2508 * gdb.base/vla-ptr.c: New file.
2509 * gdb.base/vla-ptr.exp: New file.
2510
2511 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2512
2513 * gdb.base/vla-multi.c: New file.
2514 * gdb.base/vla-multi.exp: New file.
2515
2516 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2517
2518 * gdb.dwarf2/count.exp: New file.
2519
2520 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2521
2522 * gdb.base/vla-sideeffect.c: New file.
2523 * gdb.base/vla-sideeffect.exp: New file.
2524
2525 2014-04-11 Yao Qi <yao@codesourcery.com>
2526
2527 * gdb.base/completion.exp: Check file exists before running tests
2528 on file completion.
2529
2530 2014-04-10 Pedro Alves <palves@redhat.com>
2531
2532 * gdb.base/cond-eval-mode.c: New file.
2533 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
2534 prepare_for_testing to build the new file. Check result of
2535 runto_main.
2536 (test_break, test_watch): New procedures.
2537 (top level): Use them.
2538
2539 2014-04-08 Pierre Muller <muller@sourceware.org>
2540
2541 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
2542 Ctrl-V use for mingw hosts.
2543
2544 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
2545
2546 * gdb.python/py-value.c: Improve test case.
2547 * gdb.python/py-value.exp: Add new test.
2548
2549 2014-04-07 David Blaikie <dblaikie@gmail.com>
2550
2551 * lib/compiler.c: Identify the clang compiler.
2552 * lib/compiler.cc: Ditto.
2553
2554 2014-04-03 Yao Qi <yao@codesourcery.com>
2555
2556 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
2557
2558 2014-04-01 Anton Blanchard <anton@samba.org>
2559
2560 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
2561 messages unique.
2562
2563 2014-04-01 Anton Blanchard <anton@samba.org>
2564
2565 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
2566 prepare_for_testing.
2567
2568 2014-04-01 Anton Blanchard <anton@samba.org>
2569
2570 * gdb.arch/ppc64-atomic-inst.c: Remove.
2571 * gdb.arch/ppc64-atomic-inst.S: New file.
2572 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
2573
2574 2014-03-31 Doug Evans <dje@google.com>
2575
2576 * gdb.base/print-symbol-loading-lib.c: New file.
2577 * gdb.base/print-symbol-loading-main.c: New file.
2578 * gdb.base/print-symbol-loading.exp: New file.
2579
2580 2014-03-31 Yao Qi <yao@codesourcery.com>
2581
2582 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
2583
2584 2014-03-28 Joel Brobecker <brobecker@adacore.com>
2585
2586 * gdb.ada/mi_dyn_arr: New testcase.
2587
2588 2014-03-27 Doug Evans <dje@google.com>
2589
2590 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
2591
2592 2014-03-27 Yao Qi <yao@codesourcery.com>
2593
2594 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
2595 if target is nios2-*-*.
2596
2597 2014-03-26 Yao Qi <yao@codesourcery.com>
2598
2599 * lib/gdb.exp (readline_is_used): New proc.
2600 * gdb.base/completion.exp: Move tests on command complete up.
2601 Skip the rest of tests if readline is not used.
2602 * gdb.ada/complete.exp: Skp the test if readline is not
2603 used.
2604 * gdb.base/filesym.exp: Likewise.
2605 * gdb.base/macscp.exp: Likewise.
2606 * gdb.base/readline-ask.exp: Likewise.
2607 * gdb.base/readline.exp: Likewise.
2608 * gdb.python/py-cmd.exp: Likewise.
2609 * gdb.trace/tfile.exp: Likewise.
2610
2611 2014-03-26 Yao Qi <yao@codesourcery.com>
2612
2613 * gdb.base/macscp.exp: Fix code format issues.
2614
2615 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
2616
2617 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
2618 * gdb.asm/powerpc64le.inc: New file.
2619
2620 2014-03-25 Pedro Alves <palves@redhat.com>
2621 Doug Evans <dje@google.com>
2622
2623 * gdb.base/source-execution.c: New file.
2624 * gdb.base/source-execution.exp: New file.
2625 * gdb.base/source-execution.gdb: New file.
2626
2627 2014-03-24 Doug Evans <dje@google.com>
2628
2629 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
2630 using fission.
2631
2632 2014-03-24 Hui Zhu <hui@codesourcery.com>
2633 Pedro Alves <palves@redhat.com>
2634
2635 PR breakpoints/16101
2636 * gdb.base/dprintf.exp: Use unsupported rather than changing the
2637 test pass/fail messages. Detect missing support for dprintf when
2638 breakpoints are actually inserted.
2639 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
2640 breakpoints are actually inserted.
2641 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
2642 fails.
2643
2644 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2645
2646 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
2647
2648 2014-03-22 Doug Evans <xdje42@gmail.com>
2649
2650 * gdb.python/python.exp (python not supported): Verify multi-line
2651 python command issues an error.
2652 * gdb.guile/guile.exp (guile not supported): Verify multi-line
2653 guile command issues an error.
2654
2655 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
2656
2657 * gdb.threads/thread-specific.exp: Handle the lack of usable
2658 $this_breakpoint and $this_thread.
2659
2660 2014-03-21 Hui Zhu <hui@codesourcery.com>
2661
2662 * gdb.base/attach.exp (do_command_attach_tests): New.
2663
2664 2014-03-20 Tom Tromey <tromey@redhat.com>
2665 Pedro Alves <palves@redhat.com>
2666
2667 PR cli/15718
2668 * gdb.base/condbreak-call-false.c: New file.
2669 * gdb.base/condbreak-call-false.exp: New file.
2670
2671 2014-03-20 Pedro Alves <palves@redhat.com>
2672
2673 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
2674 Delete.
2675 (block_signals, unblock_signals): Delete.
2676 (child_function_2, main): Remove references to deleted variable
2677 and functions.
2678
2679 2014-03-20 Pedro Alves <palves@redhat.com>
2680
2681 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
2682 Use pthread_kill to signal thread 2.
2683 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2684 Adjust to make the test send itself a signal rather than using the
2685 host's "kill" command.
2686
2687 2014-03-20 Pedro Alves <palves@redhat.com>
2688
2689 * gdb.threads/multiple-step-overs.c: New file.
2690 * gdb.threads/multiple-step-overs.exp: New file.
2691 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2692 Adjust expected infrun debug output.
2693
2694 2014-03-20 Pedro Alves <palves@redhat.com>
2695
2696 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2697 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2698
2699 2014-03-20 Pedro Alves <palves@redhat.com>
2700
2701 PR breakpoints/7143
2702 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2703 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2704 of gdb_test_multiple.
2705 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2706 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2707
2708 2014-03-20 Pedro Alves <palves@redhat.com>
2709
2710 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2711 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2712
2713 2014-03-19 Pedro Alves <palves@redhat.com>
2714
2715 * gdb.base/async.exp: Remove early return.
2716
2717 2014-03-19 Pedro Alves <palves@redhat.com>
2718
2719 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2720
2721 2014-03-19 Pedro Alves <palves@redhat.com>
2722
2723 * gdb.base/async.exp (test_background): Expect \r\n after
2724 "completed." in the fail pattern.
2725
2726 2014-03-19 Pedro Alves <palves@redhat.com>
2727
2728 * gdb.base/async.exp (test_background): New procedure.
2729 Use it for all background execution command tests.
2730
2731 2014-03-19 Pedro Alves <palves@redhat.com>
2732
2733 * gdb.base/async.exp: Use prepare_for_testing.
2734
2735 2014-03-19 Pedro Alves <palves@redhat.com>
2736
2737 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2738 the same line.
2739
2740 2014-03-19 Pedro Alves <palves@redhat.com>
2741
2742 * gdb.base/async.c (main): Add "jump here" and "until here" line
2743 marker comments.
2744 * gdb.base/async.exp (jump_here): New global.
2745 (jump& test): Use it.
2746 (until_here): New global.
2747 (until& test): Use it.
2748
2749 2014-03-19 Pedro Alves <palves@redhat.com>
2750
2751 * gdb.base/async.exp: Don't frob gdb_protocol.
2752
2753 2014-03-18 Doug Evans <xdje42@gmail.com>
2754
2755 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2756 Fix spelling of exec-done-display.
2757
2758 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2759
2760 PR gdb/15358
2761 * gdb.base/gdb-sigterm.c: New file.
2762 * gdb.base/gdb-sigterm.exp: New file.
2763
2764 2014-03-18 Pedro Alves <palves@redhat.com>
2765
2766 PR gdb/13860
2767 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2768 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2769 solib-event.
2770
2771 2014-03-17 Joel Brobecker <brobecker@adacore.com>
2772
2773 * gdb.ada/pckd_arr_ren: New testcase.
2774
2775 2014-03-13 Doug Evans <xdje42@gmail.com>
2776
2777 PR guile/16612
2778 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2779 collect after discarding symbols.
2780
2781 2014-03-13 Ludovic Courtès <ludo@gnu.org>
2782 Doug Evans <xdje42@gmail.com>
2783
2784 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2785 to history survives a gc.
2786
2787 2014-03-13 Pedro Alves <palves@redhat.com>
2788
2789 * gdb.base/default.exp: Don't test "target procfs".
2790
2791 2014-03-13 Pedro Alves <palves@redhat.com>
2792
2793 * gdb.base/default.exp: Update "target child" and "target procfs"
2794 tests to not expect "Unix".
2795
2796 2014-03-12 Tom Tromey <tromey@redhat.com>
2797
2798 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2799 New procs. Add target-async tests.
2800 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2801 Add target-async tests.
2802
2803 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2804
2805 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2806 'func_start' and 'func_end' for the beginning and end of the
2807 function code, respectively.
2808 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2809 'func_end' instead of 'func' and 'main'.
2810
2811 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2812
2813 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2814 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2815 generate the debug info assembler source.
2816
2817 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2818
2819 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2820 * gdb.dwarf2/arr-subrange.exp: Likewise.
2821 * gdb.dwarf2/dwz.exp: Likewise.
2822 * gdb.dwarf2/method-ptr.exp: Likewise.
2823 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2824 * gdb.dwarf2/subrange.exp: Likewise.
2825 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2826 * gdb.dwarf2/implptrpiece.exp: Likewise.
2827 * gdb.dwarf2/nostaticblock.exp: Likewise.
2828
2829 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2830
2831 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2832 directory to absolute path name arguments.
2833
2834 2014-03-10 Joel Brobecker <brobecker@adacore.com>
2835
2836 * gdb.ada/tagged_access: New testcase.
2837
2838 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2839
2840 * gdb.btrace/data.exp: Update expected output.
2841
2842 2014-03-06 Yao Qi <yao@codesourcery.com>
2843
2844 * gdb.trace/pr16508.exp: New file.
2845
2846 2014-03-05 Pedro Alves <palves@redhat.com>
2847
2848 PR gdb/16575
2849 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2850 procedure.
2851 (top level): Adjust to use it. Add tests that exercise breakpoint
2852 interaction with the code-cache.
2853
2854 2014-02-26 Ludovic Courtès <ludo@gnu.org>
2855
2856 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2857 test for 'history-append!'.
2858
2859 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2860
2861 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2862 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2863 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2864 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2865 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2866 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2867
2868 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2869
2870 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2871 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2872 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2873
2874 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2875
2876 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2877
2878 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2879
2880 * gdb.dwarf2/arr-stride.c: New file.
2881 * gdb.dwarf2/arr-stride.exp: New file.
2882
2883 2014-02-26 Pedro Alves <palves@redhat.com>
2884
2885 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2886 that won't ever trigger. Make sure that GDB reports the correct
2887 breakpoint that caused the stop.
2888
2889 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2890
2891 PR gdb/16626
2892 * gdb.base/auto-load-script: New file.
2893 * gdb.base/auto-load.c: New file.
2894 * gdb.base/auto-load.exp: New file.
2895
2896 PR gdb/16626
2897 * gdb.base/auto-load.exp: Fix out-of-srctree run.
2898
2899 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2900
2901 Fix dw2-icycle.exp -fsanitize=address GDB crash.
2902 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
2903
2904 2014-02-24 Doug Evans <dje@google.com>
2905
2906 * lib/gdb.exp (run_on_host): Log error output if program fails.
2907
2908 2014-02-21 Pedro Alves <palves@redhat.com>
2909
2910 * gdb.threads/step-after-sr-lock.c: Rename to ...
2911 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
2912 * gdb.threads/step-after-sr-lock.exp: Rename to ...
2913 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2914 ... this.
2915
2916 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2917
2918 PR tdep/16397
2919 * gdb.arch/amd64-stap-special-operands.exp: New file.
2920 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
2921 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
2922 * gdb.arch/amd64-stap-triplet.S: Likewise.
2923 * gdb.arch/amd64-stap-triplet.c: Likewise.
2924
2925 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2926
2927 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
2928 in .section pseudo-op.
2929
2930 2014-02-20 lin zuojian <manjian2006@gmail.com>
2931 Joel Brobecker <brobecker@adacore.com>
2932 Doug Evans <xdje42@gmail.com>
2933
2934 PR symtab/16581
2935 * gdb.dwarf2/dw2-icycle.S: New file.
2936 * gdb.dwarf2/dw2-icycle.c: New file.
2937 * gdb.dwarf2/dw2-icycle.exp: New file.
2938
2939 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2940
2941 * gdb.python/py-value-cc.cc: Improve test case to enable testing
2942 operations on gdb.Value objects.
2943 * gdb.python/py-value-cc.exp: Add new test to test operations on
2944 gdb.Value objects.
2945
2946 2014-02-18 Doug Evans <dje@google.com>
2947
2948 * Makefile.in (TESTS): New variable.
2949 (expanded_tests, expanded_tests_or_none): New variables
2950 (check-single): Pass $(expanded_tests_or_none) to runtest.
2951 (check-parallel): Only run tests in $(TESTS) if non-empty.
2952 (check/no-matching-tests-found): New rule.
2953 * README: Document TESTS makefile variable.
2954
2955 2014-02-18 Doug Evans <dje@google.com>
2956
2957 * Makefile.in (check-parallel): rm -rf outputs temp.
2958
2959 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2960
2961 Fix "ERROR: no fileid for" in the testsuite.
2962 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
2963
2964 2014-02-12 Doug Evans <dje@google.com>
2965
2966 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
2967 (MISCELLANEOUS): New variable.
2968 (clean): rm -rf $(MISCELLANEOUS).
2969 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
2970 dwp live in the same directory as symlinks, with each symlink pointed
2971 to a differently named file in a different directory.
2972
2973 2014-02-11 Doug Evans <dje@google.com>
2974
2975 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
2976 of Tcl file commands.
2977
2978 2014-02-10 Mark Kettenis <kettenis@gnu.org>
2979
2980 * gdb.threads/step-after-sr-lock.exp: Avoid executing
2981 "kill -SIGUSR1 -1".
2982
2983 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2984
2985 * gdb.ada/tick_length_array_enum_idx: New testcase.
2986
2987 2014-02-10 Doug Evans <xdje42@gmail.com>
2988
2989 * configure.ac (AC_OUTPUT): Add gdb.guile.
2990 * configure: Regenerate.
2991 * lib/gdb-guile.exp: New file.
2992 * lib/gdb.exp (get_target_charset): New function.
2993 * gdb.base/help.exp: Update expected output from "apropos apropos".
2994 * gdb.guile/Makefile.in: New file.
2995 * gdb.guile/guile.exp: New file.
2996 * gdb.guile/scm-arch.c: New file.
2997 * gdb.guile/scm-arch.exp: New file.
2998 * gdb.guile/scm-block.c: New file.
2999 * gdb.guile/scm-block.exp: New file.
3000 * gdb.guile/scm-breakpoint.c: New file.
3001 * gdb.guile/scm-breakpoint.exp: New file.
3002 * gdb.guile/scm-disasm.c: New file.
3003 * gdb.guile/scm-disasm.exp: New file.
3004 * gdb.guile/scm-equal.c: New file.
3005 * gdb.guile/scm-equal.exp: New file.
3006 * gdb.guile/scm-error.exp: New file.
3007 * gdb.guile/scm-error.scm: New file.
3008 * gdb.guile/scm-frame-args.c: New file.
3009 * gdb.guile/scm-frame-args.exp: New file.
3010 * gdb.guile/scm-frame-args.scm: New file.
3011 * gdb.guile/scm-frame-inline.c: New file.
3012 * gdb.guile/scm-frame-inline.exp: New file.
3013 * gdb.guile/scm-frame.c: New file.
3014 * gdb.guile/scm-frame.exp: New file.
3015 * gdb.guile/scm-generics.exp: New file.
3016 * gdb.guile/scm-gsmob.exp: New file.
3017 * gdb.guile/scm-iterator.c: New file.
3018 * gdb.guile/scm-iterator.exp: New file.
3019 * gdb.guile/scm-math.c: New file.
3020 * gdb.guile/scm-math.exp: New file.
3021 * gdb.guile/scm-objfile-script-gdb.in: New file.
3022 * gdb.guile/scm-objfile-script.c: New file.
3023 * gdb.guile/scm-objfile-script.exp: New file.
3024 * gdb.guile/scm-objfile.c: New file.
3025 * gdb.guile/scm-objfile.exp: New file.
3026 * gdb.guile/scm-ports.exp: New file.
3027 * gdb.guile/scm-pretty-print.c: New file.
3028 * gdb.guile/scm-pretty-print.exp: New file.
3029 * gdb.guile/scm-pretty-print.scm: New file.
3030 * gdb.guile/scm-section-script.c: New file.
3031 * gdb.guile/scm-section-script.exp: New file.
3032 * gdb.guile/scm-section-script.scm: New file.
3033 * gdb.guile/scm-symbol.c: New file.
3034 * gdb.guile/scm-symbol.exp: New file.
3035 * gdb.guile/scm-symtab-2.c: New file.
3036 * gdb.guile/scm-symtab.c: New file.
3037 * gdb.guile/scm-symtab.exp: New file.
3038 * gdb.guile/scm-type.c: New file.
3039 * gdb.guile/scm-type.exp: New file.
3040 * gdb.guile/scm-value-cc.cc: New file.
3041 * gdb.guile/scm-value-cc.exp: New file.
3042 * gdb.guile/scm-value.c: New file.
3043 * gdb.guile/scm-value.exp: New file.
3044 * gdb.guile/source2.scm: New file.
3045 * gdb.guile/types-module.cc: New file.
3046 * gdb.guile/types-module.exp: New file.
3047
3048 2014-02-10 Yao Qi <yao@codesourcery.com>
3049
3050 PR testsuite/16543
3051 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
3052 * configure: Regenerated.
3053 * Makefile.in: New file.
3054
3055 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3056
3057 * gdb.python/py-framefilter.exp: Fix typo.
3058
3059 2014-02-08 Yao Qi <yao@codesourcery.com>
3060
3061 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
3062 that no =breakpoint-modified is emitted when breakpoints are
3063 modified through MI commands.
3064
3065 2014-02-07 Pedro Alves <pedro@codesourcery.com>
3066 Pedro Alves <palves@redhat.com>
3067
3068 * gdb.threads/step-after-sr-lock.c: New file.
3069 * gdb.threads/step-after-sr-lock.exp: New file.
3070
3071 2014-02-07 Pedro Alves <palves@redhat.com>
3072
3073 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
3074
3075 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3076
3077 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
3078 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
3079
3080 2014-02-06 Doug Evans <xdje42@gmail.com>
3081
3082 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
3083 output.
3084
3085 * gdb.gdb/python-interrupts.exp: New file.
3086
3087 2014-02-05 Yao Qi <yao@codesourcery.com>
3088
3089 * gdb.trace/report.exp (use_collected_data): Test the output
3090 of "info threads" and "info inferiors".
3091
3092 2014-02-05 Yao Qi <yao@codesourcery.com>
3093
3094 Revert this patch:
3095
3096 2013-05-24 Yao Qi <yao@codesourcery.com>
3097
3098 * gdb.trace/tfile.exp: Test inferior and thread.
3099
3100 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3101
3102 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
3103 on a function.
3104 * gdb.base/step-bt.c: Call hello via function pointer to make
3105 sure its first instruction is executed on powerpc64le-linux.
3106
3107 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3108
3109 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
3110
3111 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3112
3113 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
3114 of the test patterns for use on little-endian systems.
3115
3116 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3117
3118 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
3119 (decimal_vector): Fix for little-endian.
3120
3121 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3122
3123 * gdb.arch/sparc-sysstep.exp: New file.
3124 * gdb.arch/sparc-sysstep.c: Likewise.
3125
3126 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
3127
3128 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3129
3130 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
3131
3132 2014-01-23 Tom Tromey <tromey@redhat.com>
3133
3134 * gdb.ada/array_char_idx: New testcase.
3135
3136 2014-01-23 Tom Tromey <tromey@redhat.com>
3137
3138 PR python/16487:
3139 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
3140 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
3141 classes.
3142
3143 2014-01-23 Tom Tromey <tromey@redhat.com>
3144
3145 PR python/16491:
3146 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
3147 string from an inferior frame.
3148 * gdb.python/py-framefilter-mi.exp: Update.
3149
3150 2014-01-22 Doug Evans <dje@google.com>
3151
3152 * gdb.server/server-mon.exp: Add tests for "set debug-format".
3153
3154 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3155
3156 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
3157
3158 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3159
3160 * gdb.trace/entry-values.exp: Remove excess space character from
3161 regex patterns. Handle s390 call instruction.
3162
3163 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3164
3165 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
3166 define "*_start" label. Make "name" static.
3167 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
3168 ${name} by references to ${name}_start.
3169
3170 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3171
3172 * gdb.base/info-macros.exp: Remove "debug" from the compile
3173 options.
3174
3175 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3176
3177 * gdb.dlang/demangle.exp: New file.
3178
3179 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3180
3181 * gdb.dlang/primitive-types.exp: New file.
3182
3183 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3184
3185 * configure.ac: Create gdb.dlang/Makefile.
3186 * configure: Regenerate.
3187 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
3188 * gdb.dlang/Makefile.in: New file.
3189 * lib/d-support.exp: New file.
3190 * lib/gdb.exp (skip_d_tests): New proc.
3191
3192 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3193
3194 * gdb.btrace/delta.exp: Check reverse stepi.
3195 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
3196 * gdb.btrace/finish.exp: New.
3197 * gdb.btrace/next.exp: New.
3198 * gdb.btrace/nexti.exp: New.
3199 * gdb.btrace/record_goto.c: Add comments.
3200 * gdb.btrace/step.exp: New.
3201 * gdb.btrace/stepi.exp: New.
3202 * gdb.btrace/multi-thread-step.c: New.
3203 * gdb.btrace/multi-thread-step.exp: New.
3204 * gdb.btrace/rn-dl-bind.c: New.
3205 * gdb.btrace/rn-dl-bind.exp: New.
3206 * gdb.btrace/data.c: New.
3207 * gdb.btrace/data.exp: New.
3208 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3209
3210 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3211
3212 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
3213 * gdb.btrace/exception.exp: Update.
3214 * gdb.btrace/instruction_history.exp: Update.
3215 * gdb.btrace/record_goto.exp: Update.
3216 * gdb.btrace/tailcall.exp: Update.
3217 * gdb.btrace/unknown_functions.exp: Update.
3218 * gdb.btrace/delta.exp: New.
3219
3220 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3221
3222 * gdb.btrace/record_goto.exp: Add backtrace test.
3223 * gdb.btrace/tailcall.exp: Add backtrace test.
3224
3225 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3226
3227 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
3228 * gdb.btrace/record_goto.c: New.
3229 * gdb.btrace/record_goto.exp: New.
3230 * gdb.btrace/x86-record_goto.S: New.
3231
3232 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3233
3234 * gdb.btrace/function_call_history.exp: Update tests.
3235 * gdb.btrace/instruction_history.exp: Update tests.
3236
3237 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3238
3239 * gdb.btrace/function_call_history.exp: Fix expected field
3240 order for "record function-call-history".
3241 Add new tests for "record function-call-history /c".
3242 * gdb.btrace/exception.cc: New.
3243 * gdb.btrace/exception.exp: New.
3244 * gdb.btrace/tailcall.exp: New.
3245 * gdb.btrace/x86-tailcall.S: New.
3246 * gdb.btrace/x86-tailcall.c: New.
3247 * gdb.btrace/unknown_functions.c: New.
3248 * gdb.btrace/unknown_functions.exp: New.
3249 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3250
3251 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3252
3253 * gdb.btrace/instruction_history.exp: Update.
3254 * gdb.btrace/function_call_history.exp: Update.
3255
3256 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3257
3258 * gdb.btrace/function_call_history.exp: Fix expected function
3259 trace.
3260 * gdb.btrace/instruction_history.exp: Initialize traced.
3261 Remove traced_functions.
3262
3263 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3264
3265 * gdb.btrace/function_call_history.exp: Update
3266 * gdb.btrace/instruction_history.exp: Update.
3267
3268 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3269
3270 * gdb.btrace/enable.exp: Update expected text.
3271
3272 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
3273
3274 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
3275 bytes.
3276
3277 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
3278
3279 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
3280
3281 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3282
3283 * lib/gdb.exp (supports_process_record): Return true for
3284 arm*-linux*. (supports_reverse): Likewise.
3285
3286 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3287
3288 PR python/15464
3289 PR python/16113
3290 * gdb.python/py-type.c: Enhance test case.
3291 * gdb.python/py-value-cc.cc: Likewise
3292 * gdb.python/py-type.exp: Add new tests.
3293 * gdb.python/py-value-cc.exp: Likewise
3294
3295 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3296 Pedro Alves <palves@redhat.com>
3297
3298 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
3299 Make "name" extern.
3300 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
3301 references to ${name}_start by references to ${name}.
3302
3303 2014-01-10 Joel Brobecker <brobecker@adacore.com>
3304
3305 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
3306
3307 2014-01-10 Joel Brobecker <brobecker@adacore.com>
3308
3309 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
3310
3311 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
3312 Pedro Alves <palves@redhat.com>
3313
3314 * gdb.mi/mi-info-os.exp: Connect to the target with
3315 mi_gdb_target_load.
3316
3317 2014-01-08 Pedro Alves <palves@redhat.com>
3318
3319 * gdb.threads/reconnect-signal.c: New file.
3320 * gdb.threads/reconnect-signal.exp: New file.
3321
3322 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3323
3324 * gdb.base/source-dir.exp: New file.
3325
3326 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3327
3328 * gdb.ada/mi_interface: New testcase.
3329
3330 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3331
3332 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
3333 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
3334 gdb.ada/pp-rec-component/pck.ads: New files.
3335
3336 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3337
3338 * gdb.python/py-pp-integral.c: New file.
3339 * gdb.python/py-pp-integral.py: New file.
3340 * gdb.python/py-pp-integral.exp: New file.
3341
3342 For older changes see ChangeLog-1993-2013.
3343 \f
3344 ;; Local Variables:
3345 ;; mode: change-log
3346 ;; left-margin: 8
3347 ;; fill-column: 74
3348 ;; version-control: never
3349 ;; End:
3350
3351 Copyright 2014 Free Software Foundation, Inc.
3352 Copying and distribution of this file, with or without modification,
3353 are permitted provided the copyright notice and this notice are preserved.
This page took 0.101791 seconds and 5 git commands to generate.