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