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