PR13858 - Can't do displaced stepping with no symbols
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2015-04-10 Pedro Alves <palves@redhat.com>
2
3 PR gdb/13858
4 * gdb.base/step-over-no-symbols.exp: New file.
5
6 2015-04-09 Andy Wingo <wingo@igalia.com>
7
8 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
9 after the Python tests.
10
11 2015-04-08 Keith Seitz <keiths@redhat.com>
12
13 PR python/16699
14 * gdb.python/py-completion.exp: New tests for completion.
15 * gdb.python/py-completion.py (CompleteLimit1): New class.
16 (CompleteLimit2): Likewise.
17 (CompleteLimit3): Likewise.
18 (CompleteLimit4): Likewise.
19 (CompleteLimit5): Likewise.
20 (CompleteLimit6): Likewise.
21 (CompleteLimit7): Likewise.
22
23 2015-04-08 Pedro Alves <palves@redhat.com>
24
25 PR gdb/18214
26 PR gdb/18216
27 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
28 function.
29 (main): Install it as SIGUSR1 handler.
30 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
31 parameter. Always use "setup" as prefix. Toggle "set
32 displaced-stepping" off/on depending on global. Don't switch to
33 thread 1 here.
34 (top level): Add displaced stepping "off/on" test axis. Update
35 "setup" calls. Wrap each subtest with with_test_prefix. Test
36 continuing with a queued signal in each thread.
37
38 2015-04-08 Pedro Alves <palves@redhat.com>
39
40 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
41 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
42 gdb_breakpoint instead of gdb_test that doesn't expect anything.
43 Return early if running to main fails.
44 * gdb.trace/while-stepping.exp: Likewise.
45
46 2015-04-07 Pedro Alves <palves@redhat.com>
47
48 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
49 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
50 interact with inferior program.
51
52 2015-04-07 Pedro Alves <palves@redhat.com>
53
54 * lib/gdb.exp (inferior_spawn_id): New global.
55 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
56 spawn id after processing the user code.
57 (default_gdb_start): Set inferior_spawn_id.
58 (send_inferior): New procedure.
59 * lib/gdbserver-support.exp (gdbserver_start): Set
60 inferior_spawn_id.
61 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
62
63 2015-04-07 Pedro Alves <palves@redhat.com>
64
65 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
66 * lib/gdbserver-support.exp (gdbserver_start): Make
67 $server_spawn_id global.
68 (gdbserver_start): Don't wait for gdbserver's spawn id with
69 expect_background.
70 (close_gdbserver): New procedure.
71 (gdb_exit): Rename the default version and reimplement.
72
73 2015-04-07 Pedro Alves <palves@redhat.com>
74
75 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
76 append the substituted item, not the original item.
77
78 2015-04-07 Pedro Alves <palves@redhat.com>
79
80 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
81 gdb_expect.
82
83 2015-04-07 Pedro Alves <palves@redhat.com>
84
85 * gdb.base/interrupt.exp: Don't handle the case of the inferior
86 output appearing once only.
87
88 2015-04-07 Pedro Alves <palves@redhat.com>
89
90 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
91 that doesn't expect anything. Return early if running to main
92 fails.
93
94 2015-04-07 Yao Qi <yao.qi@linaro.org>
95
96 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
97 (child_function): Call alarm.
98 (main): Move call to alarm into the loop.
99 * gdb.threads/non-stop-fair-events.exp: Build program with
100 -DTIMEOUT=$timeout.
101
102 2015-04-06 Doug Evans <xdje42@gmail.com>
103
104 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
105 Fix dest parameter to board_info.
106 (fpc_compile): Ditto.
107 (gdb_compile_pascal): Rename dest arg to destfile.
108
109 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
110
111 * gdb.ada/funcall_ref.exp: New file.
112 * gdb.ada/funcall_ref/foo.adb: New file.
113
114 2015-04-02 Yao Qi <yao.qi@linaro.org>
115
116 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
117 is remote.
118
119 2015-04-02 Gary Benson <gbenson@redhat.com>
120
121 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
122
123 2015-04-01 Sasha Smundak <asmundak@google.com>
124
125 * gdb.python/py-unwind-maint.c: New file.
126 * gdb.python/py-unwind-maint.exp: New test.
127 * gdb.python/py-unwind-maint.py: New file.
128 * gdb.python/py-unwind.c: New file.
129 * gdb.python/py-unwind.exp: New test.
130 * gdb.python/py-unwind.py: New test.
131
132 2015-04-01 Pedro Alves <palves@redhat.com>
133
134 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
135 to fail instead of non-existent $test.
136
137 2015-04-01 Pedro Alves <palves@redhat.com>
138
139 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
140 GDBFLAGS if not empty.
141
142 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
143
144 * gdb.ada/complete.exp: Remove "multi_line".
145 * gdb.ada/info_exc.exp: Remove "multi_line".
146 * gdb.ada/packed_tagged.exp: Remove "multi_line".
147 * gdb.ada/ptype_field.exp: Remove "multi_line".
148 * gdb.ada/sym_print_name.exp: Remove "multi_line".
149 * gdb.ada/tagged.exp: Remove "multi_line".
150 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
151 [multi_line ...]
152 * gdb.btrace/delta.exp: Likewise.
153 * gdb.btrace/exception.exp: Likewise.
154 * gdb.btrace/function_call_history.exp: Likewise.
155 * gdb.btrace/instruction_history.exp: Likewise.
156 * gdb.btrace/nohist.exp: Likewise.
157 * gdb.btrace/record_goto.exp: Likewise.
158 * gdb.btrace/segv.exp: Likewise.
159 * gdb.btrace/stepi.exp: Likewise.
160 * gdb.btrace/tailcall.exp: Likewise.
161 * gdb.btrace/unknown_functions.exp: Likewise.
162 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
163 * lib/gdb.exp: Add the "multi_line" helper.
164
165 2015-04-01 Pedro Alves <palves@redhat.com>
166
167 * gdb.threads/tid-reuse.c: New file.
168 * gdb.threads/tid-reuse.exp: New file.
169
170 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
171
172 PR corefiles/16092
173 * gdb.base/coredump-filter.c: New file.
174 * gdb.base/coredump-filter.exp: Likewise.
175
176 2015-03-27 Petr Machata <pmachata@redhat.com>
177
178 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
179 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
180 (Dwarf::assemble): Initialize them.
181 (Dwarf::lines): New function.
182
183 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
184
185 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
186 SYMBOL_PREFIX for x86_64-*-cygwin.
187
188 2015-03-26 Andy Wingo <wingo@igalia.com>
189
190 PR symtab/18148
191 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
192 const_value but not a location.
193 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
194 location defined in non-main CUs are visible.
195
196 2015-03-26 Yao Qi <yao.qi@linaro.org>
197
198 PR testsuite/18139
199 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
200 Add a line number entry for the same line.
201 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
202 Add a line number entry for the same line.
203
204 2015-03-26 Yao Qi <yao.qi@linaro.org>
205
206 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
207 .int 0.
208 (func): Likewise. Add .Lfunc_1 label.
209 Use .Lfunc_1 label.
210 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
211 .int 0.
212 (func): Likewise.
213 Use .Lfunc_1 label.
214
215 2015-03-26 Yao Qi <yao.qi@linaro.org>
216
217 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
218 Call gdb_compile instead to compile each .s files without debug
219 information.
220
221 2015-03-26 Yao Qi <yao.qi@linaro.org>
222
223 * gdb.base/savedregs.exp (process_saved_regs): Make
224 "Saved registers:" optional in the pattern.
225
226 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
227
228 * gdb.btrace/next.exp: Merged into step.exp.
229 * gdb.btrace/finish.exp: Merged into step.exp.
230 * gdb.btrace/nexti.exp: Merged into stepi.exp.
231 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
232 "record goto" and checking the exact replay position.
233 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
234 check for "Recording format" in "info record" output.
235 * gdb.btrace/record_goto.exp: Choose test file based on target.
236 * gdb.btrace/x86-record_goto.S: Renamed into ...
237 * gdb.btrace/x86_64-record_goto.S: ... this.
238 * gdb.btrace/i686-record_goto.S: New.
239 * gdb.btrace/x86-tailcall.S: Renamed into ...
240 * gdb.btrace/x86_64-tailcall.S: ... this.
241 * gdb.btrace/i686-tailcall.S: New.
242 * gdb.btrace/x86-tailcall.c: Renamed into ...
243 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
244 separate statements. Update test.
245 * gdb.btrace/delta.exp: Use record_goto.c as test file.
246 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
247 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
248 * gdb.btrace/tailcall.exp: Choose test file based on target.
249 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
250
251 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
252
253 * gdb.btrace/exception.exp: Increase BTS buffer size.
254
255 2015-03-24 Pedro Alves <palves@redhat.com>
256
257 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
258
259 2015-03-24 Pedro Alves <palves@redhat.com>
260
261 * gdb.threads/schedlock.exp (test_step): No longer expect that
262 "set scheduler-locking step" with "next" over a function call runs
263 threads unlocked.
264
265 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
266
267 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
268
269 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
270
271 PR breakpoints/16466
272 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
273 * gdb.mi/mi-pending.c (thread_func): New function.
274 (int main): Add threading support required.
275 * gdb.mi/mi-pending.exp: Add tests for this issue.
276 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
277 (pendfunc2): Remove stdio dependency.
278 * gdb.mi/mi-pendshr2.c: New file.
279
280 2015-03-23 Keith Seitz <keiths@redhat.com>
281
282 * gdb.linespec/keywords.c: New file.
283 * gdb.linespec/keywords.exp: New file.
284
285 2015-03-23 Keith Seitz <keiths@redhat.com>
286
287 PR gdb/18021
288 * gdb.dwarf2/staticvirtual.exp: New test.
289
290 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
291
292 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
293 * README: Remove HP-UX and gdb.hp.
294 (configuration):
295 * configure: Regenerate.
296 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
297 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
298 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
299 gdb.hp/gdb.defects/Makefile.
300 * gdb.hp/Makefile.in: File deleted.
301 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
302 * gdb.hp/gdb.aCC/optimize.c: File deleted.
303 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
304 * gdb.hp/gdb.aCC/run.c: File deleted.
305 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
306 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
307 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
308 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
309 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
310 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
311 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
312 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
313 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
314 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
315 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
316 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
317 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
318 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
319 * gdb.hp/gdb.base-hp/reg.s: File deleted.
320 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
321 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
322 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
323 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
324 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
325 * gdb.hp/gdb.compat/Makefile.in: File deleted.
326 * gdb.hp/gdb.compat/average.c: File deleted.
327 * gdb.hp/gdb.compat/sum.c: File deleted.
328 * gdb.hp/gdb.compat/xdb.c: File deleted.
329 * gdb.hp/gdb.compat/xdb0.c: File deleted.
330 * gdb.hp/gdb.compat/xdb0.h: File deleted.
331 * gdb.hp/gdb.compat/xdb1.c: File deleted.
332 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
333 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
334 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
335 * gdb.hp/gdb.defects/Makefile.in: File deleted.
336 * gdb.hp/gdb.defects/bs14602.c: File deleted.
337 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
338 * gdb.hp/gdb.defects/solib-d.c: File deleted.
339 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
340 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
341 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
342 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
343 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
344 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
345 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
346 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
347 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
348 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
349 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
350 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
351 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
352 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
353 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
354 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
355 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
356 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
357 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
358 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
359 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
360 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
361 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
362 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
363 * gdb.hp/tools/odump: File deleted.
364
365 2015-03-19 Pedro Alves <palves@redhat.com>
366
367 * gdb.threads/continue-pending-status.exp (saw_thread_2)
368 (saw_thread_3): New globals.
369 (top level): Increment them when an event for the corresponding
370 thread is seen.
371 (no thread starvation): New test.
372
373 2015-03-19 Pedro Alves <palves@redhat.com>
374
375 * gdb.threads/continue-pending-status.c: New file.
376 * gdb.threads/continue-pending-status.exp: New file.
377
378 2015-03-18 Pedro Alves <palves@redhat.com>
379
380 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
381 Use gdb_is_target_remote instead of is_remote. Use
382 gdb_test_multiple instead of gdb_expect. Exit early if
383 gdb_test_multiple hits its internal matches. Tighten stepi tests
384 expected output. Fail on exit with any signal, instead of just
385 SIGILL.
386
387 2015-03-18 Yao Qi <yao.qi@linaro.org>
388
389 PR tdep/18107
390 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
391 variable.
392 * gdb.base/catch-syscall.exp: Don't skip it on
393 aarch64*-*-linux* target. Remove elements in all_syscalls.
394 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
395 target.
396 (setup_all_syscalls): New proc.
397
398 2015-03-16 Yao Qi <yao.qi@linaro.org>
399
400 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
401 (top level): Skip tests if valid_addr_p returns false for
402 $cmd1 or $cmd2.
403
404 2015-03-11 Andy Wingo <wingo@igalia.com>
405
406 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
407
408 2015-03-11 Yao Qi <yao.qi@linaro.org>
409
410 * gdb.base/catch-syscall.exp: Fix typo in comments.
411
412 2015-03-11 Yao Qi <yao.qi@linaro.org>
413
414 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
415
416 2015-03-09 Pedro Alves <palves@redhat.com>
417
418 * dg-extract-results.py: Delete.
419
420 2015-03-09 Pedro Alves <palves@redhat.com>
421
422 Merge dg-extract-results.sh from GCC upstream (r218843).
423
424 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
425 * dg-extract-results.sh: Use --text with grep to avoid issues with
426 binary files. Fall back to cat -v, if that doesn't work.
427
428 2015-03-05 Pedro Alves <palves@redhat.com>
429
430 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
431
432 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
433
434 * lib/mi-support.exp (mi_expect_interrupt): Accept
435 alternative event for when in all-stop mode.
436
437 2015-03-04 Pedro Alves <palves@redhat.com>
438
439 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
440
441 2015-03-04 Mark Kettenis <kettenis@gnu.org>
442
443 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
444
445 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
446
447 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
448 regexps for GDB's current line display, accept a hex address
449 preceding the line number.
450
451 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
452
453 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
454 the 'arch1' variable for "s390*-linux*" targets.
455
456 2015-03-04 Pedro Alves <palves@redhat.com>
457
458 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
459 (main): Pass missing retval argument to pthread_join call.
460
461 2015-03-02 Pedro Alves <palves@redhat.com>
462
463 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
464 (top level): Call do_test with non-stop as well.
465
466 2015-03-02 Pedro Alves <palves@redhat.com>
467
468 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
469 -1.
470
471 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
472
473 * gdb.arch/s390-vregs.exp: New test.
474 * gdb.arch/s390-vregs.S: New file.
475
476 2015-02-27 Pedro Alves <palves@redhat.com>
477
478 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
479 call to catch_command_errors.
480 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
481 catch_command_errors.
482
483 2015-02-27 Pedro Alves <palves@redhat.com>
484
485 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
486 "true" for boolean result.
487 * gdb.gdb/selftest.exp (test_with_self): Also accept full
488 prototype of main.
489
490 2015-02-27 Pedro Alves <palves@redhat.com>
491
492 * lib/unbuffer_output.c: New file.
493 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
494 (main): Call gdb_unbuffer_output.
495
496 2015-02-27 Yao Qi <yao.qi@linaro.org>
497
498 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
499 target.
500
501 2015-02-26 Doug Evans <dje@google.com>
502
503 * gdb.cp/class2.cc (Dbase, D): New classes.
504 (main): New local delta.
505 * gdb.cp/class2.exp: Test printing delta.
506 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
507 (dynbar): New global.
508 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
509
510 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
511
512 * gdb.compile/compile-ifunc.c: New file.
513 * gdb.compile/compile-ifunc.exp: New file.
514
515 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
516
517 * gdb.base/structs.exp: Check for correct struct on finish.
518
519 2015-02-26 Yao Qi <yao.qi@linaro.org>
520
521 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
522 is zero.
523
524 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
525
526 * gdb.arch/cordic.ko.bz2: New file.
527 * gdb.arch/cordic.ko.debug.bz2: New file.
528 * gdb.arch/ppc64-symtab-cordic.exp: New file.
529
530 2015-02-25 Yao Qi <yao.qi@linaro.org>
531
532 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
533 aarch64*-*-* target.
534
535 2015-02-23 Pedro Alves <palves@redhat.com>
536
537 * lib/gdb.exp (delete_breakpoints): Rewrite using
538 gdb_test_multiple.
539
540 2015-02-23 Pedro Alves <palves@redhat.com>
541
542 * gdb.base/info-os.c: Include stdlib.h.
543
544 2015-02-22 Doug Evans <xdje42@gmail.com>
545
546 PR symtab/17855
547 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
548 is read after symbols have been re-read.
549 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
550 * gdb.ada/exec_changed/second.adb (Second): Ditto.
551
552 2015-02-21 Doug Evans <dje@google.com>
553
554 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
555
556 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
557
558 PR corefiles/17808
559 * gdb.arch/i386-biarch-core.core.bz2: New file.
560 * gdb.arch/i386-biarch-core.exp: New file.
561
562 2015-02-21 Pedro Alves <palves@redhat.com>
563
564 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
565 runto_main fails.
566
567 2015-02-20 Pedro Alves <palves@redhat.com>
568
569 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
570 info probes.
571
572 2015-02-20 Pedro Alves <palves@redhat.com>
573
574 * gdb.threads/multi-create-ns-info-thr.exp: New file.
575
576 2015-02-20 Pedro Alves <palves@redhat.com>
577
578 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
579 clean_restart before gdb_target_supports_trace.
580
581 2015-02-20 Pedro Alves <palves@redhat.com>
582
583 PR threads/18006
584 * gdb.threads/clone-thread_db.c: New file.
585 * gdb.threads/clone-thread_db.exp: New file.
586
587 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
588
589 PR breakpoints/16812
590 * gdb.base/catch-gdb-caused-signals.c: New file.
591 * gdb.base/catch-gdb-caused-signals.exp: New file.
592
593 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
594
595 * configure: Regenerated.
596 * configure.ac: Use GDB_AC_TRANSFORM.
597 * aclocal.m4: sinclude ../transform.m4.
598
599 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
600
601 * lib/dtrace.exp: New file.
602 * gdb.base/dtrace-probe.exp: Likewise.
603 * gdb.base/dtrace-probe.d: Likewise.
604 * gdb.base/dtrace-probe.c: Likewise.
605 * lib/pdtrace.in: Likewise.
606 * configure.ac: Output variables with the transformed names of
607 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
608 * configure: Regenerated.
609
610 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
611
612 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
613 expected message when trying to access $_probe_* convenience
614 variables while not on a probe.
615
616 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
617
618 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
619
620 2015-02-11 Pedro Alves <pedro@codesourcery.com>
621
622 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
623 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
624
625 2015-02-10 Doug Evans <xdje42@gmail.com>
626
627 * lib/gdb.exp (gdb_load): Always return a result.
628
629 2015-02-10 Pedro Alves <palves@redhat.com>
630
631 * gdb.threads/signal-sigtrap.c: New file.
632 * gdb.threads/signal-sigtrap.exp: New file.
633
634 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
635
636 * gdb.trace/no-attach-trace.c: New file.
637 * gdb.trace/no-attach-trace.exp: New file.
638
639 2015-02-09 Mark Wielaard <mjw@redhat.com>
640
641 * gdb.dwarf2/atomic.c: New file.
642 * gdb.dwarf2/atomic-type.exp: Likewise.
643
644 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
645
646 * gdb.btrace/buffer-size.exp: Update "info record" output.
647 * gdb.btrace/delta.exp: Update "info record" output.
648 * gdb.btrace/enable.exp: Update "info record" output.
649 * gdb.btrace/finish.exp: Update "info record" output.
650 * gdb.btrace/instruction_history.exp: Update "info record" output.
651 * gdb.btrace/next.exp: Update "info record" output.
652 * gdb.btrace/nexti.exp: Update "info record" output.
653 * gdb.btrace/step.exp: Update "info record" output.
654 * gdb.btrace/stepi.exp: Update "info record" output.
655 * gdb.btrace/nohist.exp: Update "info record" output.
656
657 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
658
659 * gdb.btrace/buffer-size: New.
660
661 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
662
663 * gdb.btrace/delta.exp: Update "info record" output.
664 * gdb.btrace/enable.exp: Update "info record" output.
665 * gdb.btrace/finish.exp: Update "info record" output.
666 * gdb.btrace/instruction_history.exp: Update "info record" output.
667 * gdb.btrace/next.exp: Update "info record" output.
668 * gdb.btrace/nexti.exp: Update "info record" output.
669 * gdb.btrace/step.exp: Update "info record" output.
670 * gdb.btrace/stepi.exp: Update "info record" output.
671 * gdb.btrace/nohist.exp: Update "info record" output.
672
673 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
674
675 PR gdb/15678
676 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
677
678 2015-02-06 Pedro Alves <palves@redhat.com>
679
680 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
681 macro.
682 (seconds_left, again): New globals.
683 (main): Wait seconds_left in a 1-second sleep loop instead of
684 sleeping 180 seconds. If 'again' is set, reset the seconds
685 counter.
686 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
687 'again' in the inferior before detaching. Print the seconds left.
688 (options): New global.
689 (top level): Build program with -DTIMEOUT=$timeout.
690
691 2015-02-06 Pedro Alves <palves@redhat.com>
692
693 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
694 determine how many seconds to pass to 'alarm'.
695 * gdb.base/gdb-sigterm.exp (top level): Build program with
696 -DTIMEOUT=$timeout.
697 (do_test): Return success/failure indication. Add more verbose
698 logging. Don't fail if 200 single steps are seen. Instead, fail
699 when the test times out.
700 (passes): New global.
701 (top level): Break the testing loop if testing fails on any
702 iteration. Use gdb_assert.
703
704 2015-02-04 Don Breazeal <donb@codesourcery.com>
705
706 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
707 and initialize them.
708 (ipc_cleanup): New function.
709 (main): Don't declare shmid, semid, and msqid. Add a call to
710 atexit so that we call ipc_cleanup on exit.
711
712 2015-02-04 Pedro Alves <palves@redhat.com>
713
714 * boards/native-extended-gdbserver.exp: Remove any target variant
715 specifications from the board name before clearing the isremote
716 flag from board_info.
717
718 2015-01-31 Doug Evans <xdje42@gmail.com>
719
720 * gdb.base/maint.exp <maint print type argc>: Update expected output.
721
722 2015-01-31 Gary Benson <gbenson@redhat.com>
723
724 * gdb.base/completion.exp: Disable completion limiting for
725 existing tests. Add new tests to check completion limiting.
726 * gdb.linespec/ls-errs.exp: Disable completion limiting.
727
728 2015-01-31 Doug Evans <xdje42@gmail.com>
729
730 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
731
732 2015-01-31 Doug Evans <xdje42@gmail.com>
733
734 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
735 entries. Duplicate file section script entries.
736 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
737 inlined entries. Add test for safe-path rejection.
738 * gdb.python/py-section-script.c: Add duplicate inlined section script
739 entries. Duplicate file section script entries.
740 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
741 inlined entries. Add test for safe-path rejection.
742
743 2015-01-29 Joel Brobecker <brobecker@adacore.com>
744
745 * gdb.ada/disc_arr_bound: New testcase.
746
747 2015-01-29 Joel Brobecker <brobecker@adacore.com>
748
749 * gdb.ada/mi_var_array: New testcase.
750
751 2015-01-27 Doug Evans <dje@google.com>
752
753 * gdb.python/py-objfile.exp: Add tests for objfile.username.
754 Add test for objfile.filename, objfile.username after objfile
755 has been unloaded.
756
757 2015-01-26 Joel Brobecker <brobecker@adacore.com>
758
759 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
760 the second test to print the name attribute of value
761 returned by the call to gdb.lookup_type, and adjust
762 the expected output accordingly.
763
764 2015-01-25 Mark Wielaard <mjw@redhat.com>
765
766 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
767 * gdb.base/disp-step-fork.c: Include unistd.h.
768 * gdb.base/siginfo-obj.c: Include stdio.h.
769 * gdb.base/siginfo-thread.c: Likewise.
770 * gdb.mi/non-stop.c: Include unistd.h.
771 * gdb.mi/nsthrexec.c: Include stdio.h.
772 * gdb.mi/pthreads.c: Include unistd.h.
773 * gdb.modula2/unbounded1.c (main): Declare returns int.
774 * gdb.reverse/consecutive-reverse.c: Likewise.
775 * gdb.threads/create-fail.c: Include unistd.h.
776 * gdb.threads/killed.c: Likewise.
777 * gdb.threads/linux-dp.c: Likewise.
778 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
779 * gdb.threads/non-ldr-exc-2.c: Likewise.
780 * gdb.threads/non-ldr-exc-3.c: Likewise.
781 * gdb.threads/non-ldr-exc-4.c: Likewise.
782 * gdb.threads/pthreads.c: Include unistd.h.
783 (main): Declare returns int.
784 * gdb.threads/tls-main.c (foo): New declaration.
785 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
786
787 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
788
789 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
790 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
791
792 2015-01-15 Mark Wielaard <mjw@redhat.com>
793
794 * gdb.base/noreturn-return.c: New file.
795 * gdb.base/noreturn-return.exp: New file.
796 * gdb.base/noreturn-finish.c: New file.
797 * gdb.base/noreturn-finish.exp: New file.
798
799 2015-01-23 Pedro Alves <palves@redhat.com>
800
801 * gdb.threads/continue-pending-after-query.c: New file.
802 * gdb.threads/continue-pending-after-query.exp: New file.
803
804 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
805 Simon Marchi <simon.marchi@ericsson.com>
806
807 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
808 * gdb.base/valgrind-db-attach.exp: Same.
809 * gdb.base/valgrind-infcall.exp: Same.
810 * lib/mi-support.exp (default_mi_gdb_start): Same.
811 * lib/prompt.exp (default_prompt_gdb_start): Same.
812 * lib/gdb.exp (default_gdb_spawn): Same.
813 (gdb_interact): New.
814
815
816 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
817
818 * gdb.compile/compile.exp (pointer to jit function): New test.
819
820 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
821
822 * lib/gdb.exp (supports_process_record): Return true for
823 powerpc*-*-linux*.
824 (supports_reverse): Likewise.
825
826 2015-01-15 Don Breazeal <donb@codesourcery.com>
827
828 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
829 instead of checking whether the target board is remote and
830 use spawn_wait_for_attach instead of exec/sleep.
831 * gdb.base/attach-twice.exp: Likewise.
832
833 2015-01-15 Joel Brobecker <brobecker@adacore.com>
834
835 * gdb.ada/var_arr_attrs: New testcase.
836
837 2015-01-14 Pedro Alves <palves@redhat.com>
838 Joel Brobecker <brobecker@adacore.com>
839
840 PR gdb/17525
841 * gdb.base/bp-cmds-execution-x-script.c: New file.
842 * gdb.base/bp-cmds-execution-x-script.exp: New file.
843 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
844
845 2015-01-14 Pedro Alves <palves@redhat.com>
846
847 PR cli/17828
848 * gdb.base/batch-preserve-term-settings.c: New file.
849 * gdb.base/batch-preserve-term-settings.exp: New file.
850
851 2015-01-13 Doug Evans <dje@google.com>
852
853 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
854 binary.
855
856 2015-01-13 Joel Brobecker <brobecker@adacore.com>
857
858 * Makefile.in (clean mostlyclean): Do not delete *.py.
859
860 2015-01-13 Joel Brobecker <brobecker@adacore.com>
861
862 * gdb.python/py-lookup-type.exp: New file.
863
864 2015-01-12 Pedro Alves <palves@redhat.com>
865
866 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
867 restore GDBFLAGS before returning.
868
869 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
870
871 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
872 is_amd64_regs_target and is_x86_like_target.
873
874 2015-01-11 Doug Evans <xdje42@gmail.com>
875
876 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
877 is given without an explicit form.
878 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
879 attributes.
880 * gdb.dwarf/corrupt.exp: Ditto.
881 * gdb.dwarf2/enum-type.exp: Ditto.
882 * gdb.trace/entry-values.exp: Ditto.
883 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
884
885 2015-01-11 Doug Evans <xdje42@gmail.com>
886
887 PR gdb/15830
888 * gdb.base/maint.exp: Remove references to "maint demangle".
889 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
890 Add tests for explicitly specifying language to demangle.
891 * gdb.dlang/demangle.exp: Ditto.
892
893 2015-01-09 Pedro Alves <palves@redhat.com>
894
895 * gdb.threads/non-stop-fair-events.c: New file.
896 * gdb.threads/non-stop-fair-events.exp: New file.
897
898 2015-01-09 Pedro Alves <palves@redhat.com>
899
900 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
901 the global scope. Set a breakpoint after all threads are started
902 rather than stepping over two source lines. Expect the prompt.
903 * gdb.base/watch_thread_num.c (threads_started_barrier): New
904 global.
905 (NUM): Now 15.
906 (main): Use threads_started_barrier to wait for all threads to
907 start. Main thread no longer calls thread_function. Exit after
908 180 seconds.
909 (loop): New function.
910 (thread_function): Wait on threads_started_barrier barrier. Call
911 'loop' at each iteration.
912 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
913 threads have started, instead of hardcoding number of "next"
914 steps. Use an access watchpoint instead of a write watchpoint.
915
916 2015-01-09 Pedro Alves <palves@redhat.com>
917
918 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
919 (thread_func): Wait on barrier.
920 (main): Wait for all threads to start before stopping GDB.
921 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
922 global.
923 (thread1_func, thread2_func): Wait on barrier.
924 (main): Wait for all threads to start before stopping GDB.
925 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
926 New global.
927 (thread1_func, thread2_func): Wait on barrier.
928 (main): Wait for all threads to start before stopping GDB.
929
930 2015-01-09 Pedro Alves <palves@redhat.com>
931
932 * gdb.threads/attach-many-short-lived-threads.c: New file.
933 * gdb.threads/attach-many-short-lived-threads.exp: New file.
934
935 2014-01-09 Pedro Alves <palves@redhat.com>
936
937 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
938 instead of to thread 2.
939 * gdb.threads/signal-command-multiple-signals-pending.c (main):
940 Add barrier around each pthread_create call instead of around all
941 calls.
942 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
943 Set a break on thread_function and have the child threads hit it
944 one at at a time.
945
946 2015-01-09 Pedro Alves <palves@redhat.com>
947
948 * lib/gdb.exp (can_spawn_for_attach): New procedure.
949 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
950 false.
951 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
952 checking whether the target board is remote.
953 * gdb.multi/multi-attach.exp: Likewise.
954 * gdb.python/py-sync-interp.exp: Likewise.
955 * gdb.server/ext-attach.exp: Likewise.
956 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
957 tests that need to attach, instead of checking whether the target
958 board is remote at the top of the file.
959
960 2015-01-08 Yao Qi <yao@codesourcery.com>
961
962 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
963
964 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
965
966 Fix testcase compilation.
967 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
968
969 2015-01-06 Joel Brobecker <brobecker@adacore.com>
970
971 * gdb.python/py-type.exp: Add a couple test about empty
972 array creation, and negative-length array creation.
973
974 2015-01-02 Doug Evans <xdje42@gmail.com>
975
976 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
977
978 2015-01-02 Doug Evans <dje@google.com>
979
980 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
981
982 2014-12-29 Yao Qi <yao@codesourcery.com>
983
984 * gdb.trace/entry-values.exp: Update comments. Rename variable
985 bar_call_foo to returned_from_foo.
986
987 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
988
989 PR gdb/17394
990 * gdb.linespec/break-asm-file.c: New file.
991 * gdb.linespec/break-asm-file.exp: New file.
992 * gdb.linespec/break-asm-file0.s: New file.
993 * gdb.linespec/break-asm-file1.s: New file.
994
995 2014-12-18 Nigel Stephens <nigel@mips.com>
996 Maciej W. Rozycki <macro@codesourcery.com>
997
998 * gdb.base/float.exp: Handle the new output from "info float" on
999 MIPS targets.
1000
1001 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1002
1003 Fix MinGW compilation.
1004 * gdb.compile/compile-ops.exp: Update untested message if
1005 !skip_compile_feature_tests.
1006 * gdb.compile/compile-setjmp.exp: Likewise.
1007 * gdb.compile/compile-tls.exp: Likewise.
1008 * gdb.compile/compile.exp: Likewise.
1009 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
1010 supported on this host".
1011
1012 2014-12-16 Doug Evans <xdje42@gmail.com>
1013
1014 * boards/stabs.exp: New file.
1015
1016 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
1017
1018 * gdb.base/completion.exp: Adjust to format changes of "maint
1019 print user-registers".
1020
1021 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
1022
1023 PR server/17457
1024 * gdb.arch/aarch64-fp.c: New file.
1025 * gdb.arch/aarch64-fp.exp: New file.
1026
1027 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
1028
1029 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
1030 r210637, r210913, r211666, r215400, r215817).
1031
1032 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
1033 * dg-extract-results.py: New file.
1034 * dg-extract-results.sh: Use it if the environment seems
1035 suitable.
1036
1037 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
1038
1039 * dg-extract-results.py (parse_run): Handle warnings that
1040 are printed before a test harness is run.
1041
1042 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
1043
1044 * dg-extract-results.py (Named): Remove __cmp__ method.
1045 (output_variation): Use a key to sort variation.harnesses.
1046
1047 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
1048
1049 * dg-extract-results.py: For Python 3, force sys.stdout to
1050 handle surrogate escape sequences.
1051 (safe_open): New function.
1052 (output_segment, main): Use it.
1053
1054 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
1055
1056 * dg-extract-results.py (Prog.result_re): Include options
1057 in test name.
1058
1059 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
1060
1061 * dg-extract-results.py (output_variation): Always sort if
1062 do_sum.
1063
1064 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
1065
1066 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
1067 as long as we get pagination notifications.
1068
1069 2014-12-15 Jason Merrill <jason@redhat.com>
1070
1071 * Makefile.in (check-gdb.%): Restore.
1072 * README: Mention it.
1073
1074 2014-12-13 Joel Brobecker <brobecker@adacore.com>
1075
1076 * gdb.ada/str_uninit: New testcase.
1077
1078 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1079
1080 PR symtab/17642
1081 * gdb.base/vla-stub-define.c: New file.
1082 * gdb.base/vla-stub.c: New file.
1083 * gdb.base/vla-stub.exp: New file.
1084
1085 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
1086 Jan Kratochvil <jan.kratochvil@redhat.com>
1087 Tom Tromey <tromey@redhat.com>
1088
1089 * configure.ac: Add gdb.compile/.
1090 * configure: Regenerate.
1091 * gdb.compile/Makefile.in: New file.
1092 * gdb.compile/compile-ops.exp: New file.
1093 * gdb.compile/compile-ops.c: New file.
1094 * gdb.compile/compile-tls.c: New file.
1095 * gdb.compile/compile-tls.exp: New file.
1096 * gdb.compile/compile-constvar.S: New file.
1097 * gdb.compile/compile-constvar.c: New file.
1098 * gdb.compile/compile-mod.c: New file.
1099 * gdb.compile/compile-nodebug.c: New file.
1100 * gdb.compile/compile-setjmp-mod.c: New file.
1101 * gdb.compile/compile-setjmp.c: New file.
1102 * gdb.compile/compile-setjmp.exp: New file.
1103 * gdb.compile/compile-shlib.c: New file.
1104 * gdb.compile/compile.c: New file.
1105 * gdb.compile/compile.exp: New file.
1106 * lib/gdb.exp (skip_compile_feature_tests): New proc.
1107
1108 2014-12-12 Tom Tromey <tromey@redhat.com>
1109
1110 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
1111 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
1112
1113 2014-12-12 Doug Evans <dje@google.com>
1114
1115 * lib/gdb-python.exp (get_python_valueof): New function.
1116 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
1117
1118 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1119
1120 * gdb.base/completion.exp: Add test for completion of "info
1121 registers ".
1122
1123 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
1124
1125 * gdb.base/func-ptrs.c: New file.
1126 * gdb.base/func-ptrs.exp: New file.
1127
1128 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1129
1130 PR breakpoints/17012
1131 * gdb.base/dprintf-detach.c: New file.
1132 * gdb.base/dprintf-detach.exp: New file.
1133
1134 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1135
1136 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
1137 * lib/gdb.exp (target_is_gdbserver): New procedure.
1138
1139 2014-12-08 Doug Evans <dje@google.com>
1140
1141 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
1142
1143 2014-12-05 Yao Qi <yao@codesourcery.com>
1144
1145 * gdb.guile/scm-error.exp: Remove the third argument to
1146 gdb_remote_download.
1147 * gdb.guile/scm-frame-args.exp: Likewise.
1148 * gdb.guile/scm-section-script.exp: Likewise.
1149
1150 2014-12-05 Yao Qi <yao@codesourcery.com>
1151
1152 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
1153
1154 2014-12-04 Doug Evans <dje@google.com>
1155
1156 * gdb.python/py-objfile.exp: Add tests for
1157 objfile.add_separate_debug_file.
1158
1159 2014-12-04 Doug Evans <dje@google.com>
1160
1161 * lib/gdb.exp (get_build_id): New function.
1162 (build_id_debug_filename_get): Rewrite to use it.
1163 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
1164
1165 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
1166
1167 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
1168 `method(long)', not just 0x0.
1169 * gdb.cp/nsalias.exp: Align code labels to 4.
1170 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
1171 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
1172 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
1173 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
1174 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
1175 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
1176
1177 2014-12-02 Doug Evans <dje@google.com>
1178
1179 PR symtab/17602
1180 * gdb.cp/anon-ns.cc: Move guts of this file to ...
1181 * gdb.cp/anon-ns2.cc: ... here. New file.
1182 * gdb.cp/anon-ns.exp: Update.
1183
1184 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
1185
1186 * gdb.python/py-events.py (inferior_call_handler): New.
1187 (register_changed_handler, memory_changed_handler): New.
1188 (test_events.invoke): Register new handlers.
1189 * gdb.python/py-events.exp: Add tests for inferior call,
1190 memory_changed and register_changed events.
1191
1192 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1193
1194 * gdb.base/execl-update-breakpoints.exp: Specify the link address
1195 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
1196 if the linker doesn't understand this.
1197
1198 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
1199
1200 * gdb.python/python.exp: Change expected reply to help().
1201
1202 2014-12-01 Yao Qi <yao@codesourcery.com>
1203
1204 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
1205 AC_CONFIG_SUBDIRS(gdb.gdbtk).
1206 * configure: Re-generated.
1207
1208 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
1209
1210 * gdb.cp/chained-calls.cc: New file.
1211 * gdb.cp/chained-calls.exp: New file.
1212 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
1213
1214 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
1215
1216 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
1217 * gdb.dwarf2/symtab-producer.exp: Same.
1218 * gdb.gdb/python-interrupts.exp: Same.
1219 * gdb.gdb/python-selftest.exp: Same.
1220 * gdb.python/py-linetable.exp: Same.
1221 * gdb.python/py-type.exp: Same.
1222 * gdb.python/py-value-cc.exp: Same.
1223 * gdb.python/py-value.exp: Same.
1224
1225 2014-11-28 Yao Qi <yao@codesourcery.com>
1226
1227 * gdb.base/break-probes.exp: Match library name prefixed with
1228 sysroot.
1229
1230 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
1231
1232 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
1233 test expected output. Add parentheses for the call to print.
1234 Remove L suffix from integers.
1235
1236 2014-11-26 Doug Evans <dje@google.com>
1237
1238 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
1239
1240 2014-11-22 Yao Qi <yao@codesourcery.com>
1241
1242 * gdb.trace/entry-values.c: Remove asms.
1243 (foo): Add foo_label.
1244 (bar): Add bar_label.
1245 * gdb.trace/entry-values.exp: Remove code computing foo's
1246 length and bar's length.
1247 (Dwarf::assemble): Invoke function_range for bar and use
1248 MACRO_AT_func for foo.
1249
1250 2014-11-22 Yao Qi <yao@codesourcery.com>
1251
1252 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
1253 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
1254 Use .Lgcc43_procstart instead of gcc43.
1255
1256 2014-11-21 Joel Brobecker <brobecker@adacore.com>
1257
1258 * gdb.ada/n_arr_bound: New testcase.
1259
1260 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1261
1262 PR breakpoints/10737
1263 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
1264 test_catch_syscall_multi_arch.
1265 (test_catch_syscall_multi_arch): New function.
1266
1267 2014-11-20 Doug Evans <xdje42@gmail.com>
1268
1269 * gdb.base/maint.exp: Update expected output.
1270
1271 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1272
1273 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
1274 4-byte instruction on S390.
1275
1276 2014-11-19 Joel Brobecker <brobecker@adacore.com>
1277
1278 * gdb.ada/arr_arr: New testcase.
1279
1280 2014-11-19 Joel Brobecker <brobecker@adacore.com>
1281
1282 * gdb.ada/pkd_arr_elem: New Testcase.
1283
1284 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
1285
1286 * gdb.reverse/break-precsave: Expect completion message for
1287 core file reads.
1288 * gdb.reverse/consecutive-precsave.exp: Likewise.
1289 * gdb.reverse/finish-precsave.exp: Likewise.
1290 * gdb.reverse/i386-precsave.exp: Likewise.
1291 * gdb.reverse/machinestate-precsave.exp: Likewise.
1292 * gdb.reverse/sigall-precsave.exp: Likewise.
1293 * gdb.reverse/solib-precsave.exp: Likewise.
1294 * gdb.reverse/step-precsave.exp: Likewise.
1295 * gdb.reverse/until-precsave.exp: Likewise.
1296 * gdb.reverse/watch-precsave.exp: Likewise.
1297
1298 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1299
1300 * gdb.base/bp-permanent.c: Include unistd.h.
1301 * gdb.python/py-framefilter-mi.c (main): Add return type.
1302 * gdb.python/py-framefilter.c (main): Likewise.
1303 * gdb.trace/actions-changed.c (main): Likewise.
1304
1305 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1306
1307 * gdb.mi/until.c: Add eye-catchers.
1308 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
1309 line numbers.
1310
1311 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1312
1313 * gdb.base/condbreak.exp: Drop references to removed non-prototype
1314 function header variants in break1.c.
1315 * gdb.base/ena-dis-br.exp: Likewise.
1316 * gdb.base/hbreak2.exp: Likewise.
1317 * gdb.reverse/until-precsave.exp: Drop references to removed
1318 non-prototype function header variants in ur1.c.
1319 * gdb.reverse/until-reverse.exp: Likewise.
1320
1321 2014-11-17 Petr Machata <pmachata@redhat.com>
1322
1323 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
1324 ${_cu_offset_size} bytes abbrev offset.
1325
1326 2014-11-15 Doug Evans <xdje42@gmail.com>
1327
1328 PR symtab/17559
1329 * gdb.base/line-symtabs.exp: New file.
1330 * gdb.base/line-symtabs.c: New file.
1331 * gdb.base/line-symtabs.h: New file.
1332
1333 2014-11-14 Yao Qi <yao@codesourcery.com>
1334
1335 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
1336 (func): Add label func_label.
1337 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
1338 Replace low_pc and high_pc with MACRO_AT_range.
1339 Replace name, low_pc and high_pc with MACRO_AT_func.
1340
1341 2014-11-14 Yao Qi <yao@codesourcery.com>
1342
1343 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
1344 Replace name, low_pc and high_pc with MACRO_AT_func.
1345
1346 2014-11-14 Yao Qi <yao@codesourcery.com>
1347
1348 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
1349 produce debug information.
1350 * gdb.dwarf2/implptr-optimized-out.S: Removed.
1351
1352 2014-11-14 Yao Qi <yao@codesourcery.com>
1353
1354 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
1355 object and get function length.
1356 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
1357 with MACRO_AT_func.
1358 (top-level): Replace gdb_compile and clean_restart with
1359 prepare_for_testing.
1360 * gdb.dwarf2/main.c (main): Add label main_label.
1361
1362 2014-11-14 Yao Qi <yao@codesourcery.com>
1363
1364 * lib/dwarf.exp (function_range): New procedure.
1365 (Dwarf::_handle_macro_at_func): New procedure.
1366 (Dwarf::_handle_macro_at_range): New procedure.
1367 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
1368
1369 2014-11-14 Yao Qi <yao@codesourcery.com>
1370
1371 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
1372 (_handle_attribute): New procedure.
1373
1374 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1375
1376 * gdb.ada/cond_lang/foo.c (callme): Add return type.
1377 * gdb.base/call-sc.c (zed): Likewise.
1378 * gdb.base/checkpoint.c (main): Likewise.
1379 * gdb.base/dump.c (main): Likewise.
1380 * gdb.base/gcore.c (main): Likewise.
1381 * gdb.base/huge.c (main): Likewise.
1382 * gdb.base/multi-forks.c (main): Likewise.
1383 * gdb.base/pr10179-a.c (main): Likewise.
1384 * gdb.base/savedregs.c (main): Likewise.
1385 * gdb.base/sigaltstack.c (main): Likewise.
1386 * gdb.base/siginfo.c (main): Likewise.
1387 * gdb.base/structs.c (zed): Likewise.
1388 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
1389 * gdb.mi/mi-syn-frame.c (main): Likewise.
1390 * gdb.mi/until.c (foo, main): Likewise.
1391 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
1392 * gdb.base/solib-weak.c (foo): Declare.
1393 * gdb.base/attach-twice.c: Include stdio.h.
1394 * gdb.base/weaklib1.c: Likewise.
1395 * gdb.base/weaklib2.c: Likewise.
1396 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
1397 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
1398 unistd.h.
1399 * gdb.base/attach-pie-misread.c: Include stdlib.h.
1400 * gdb.mi/mi-exit-code.c: Likewise.
1401 * gdb.base/break-interp-lib.c: Include string.h.
1402 * gdb.base/coremaker.c: Likewise.
1403 * gdb.base/testenv.c: Likewise.
1404 * gdb.python/py-finish-breakpoint.c: Likewise.
1405 * gdb.base/inferior-died.c: Include sys/wait.h.
1406 * gdb.base/fileio.c: Include time.h.
1407 * gdb.base/async-shell.c: Include unistd.h.
1408 * gdb.base/dprintf-non-stop.c: Likewise.
1409 * gdb.base/info-os.c: Likewise.
1410 * gdb.mi/mi-console.c: Likewise.
1411 * gdb.mi/watch-nonstop.c: Likewise.
1412 * gdb.python/py-events.c: Likewise.
1413 * gdb.base/async.c (baz): Move up before its invocation.
1414 * gdb.base/code_elim2.c (my_global_func): Likewise.
1415 * gdb.base/skip-solib-lib.c (multiply): Likewise.
1416 * gdb.base/advance.c (func2): Likewise.
1417
1418 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1419
1420 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
1421 variant.
1422 * gdb.base/annota3.c: Likewise.
1423 * gdb.base/async.c: Likewise.
1424 * gdb.base/average.c: Likewise.
1425 * gdb.base/call-ar-st.c: Likewise.
1426 * gdb.base/call-rt-st.c: Likewise.
1427 * gdb.base/call-sc.c: Likewise.
1428 * gdb.base/call-strs.c: Likewise.
1429 * gdb.base/ending-run.c: Likewise.
1430 * gdb.base/execd-prog.c: Likewise.
1431 * gdb.base/exprs.c: Likewise.
1432 * gdb.base/foll-exec.c: Likewise.
1433 * gdb.base/foll-fork.c: Likewise.
1434 * gdb.base/foll-vfork.c: Likewise.
1435 * gdb.base/funcargs.c: Likewise.
1436 * gdb.base/gcore.c: Likewise.
1437 * gdb.base/jump.c: Likewise.
1438 * gdb.base/langs0.c: Likewise.
1439 * gdb.base/langs1.c: Likewise.
1440 * gdb.base/langs2.c: Likewise.
1441 * gdb.base/mips_pro.c: Likewise.
1442 * gdb.base/nodebug.c: Likewise.
1443 * gdb.base/opaque0.c: Likewise.
1444 * gdb.base/opaque1.c: Likewise.
1445 * gdb.base/recurse.c: Likewise.
1446 * gdb.base/run.c: Likewise.
1447 * gdb.base/scope0.c: Likewise.
1448 * gdb.base/scope1.c: Likewise.
1449 * gdb.base/setshow.c: Likewise.
1450 * gdb.base/setvar.c: Likewise.
1451 * gdb.base/shmain.c: Likewise.
1452 * gdb.base/shr1.c: Likewise.
1453 * gdb.base/shr2.c: Likewise.
1454 * gdb.base/sigall.c: Likewise.
1455 * gdb.base/signals.c: Likewise.
1456 * gdb.base/so-indr-cl.c: Likewise.
1457 * gdb.base/solib2.c: Likewise.
1458 * gdb.base/structs.c: Likewise.
1459 * gdb.base/sum.c: Likewise.
1460 * gdb.base/vforked-prog.c: Likewise.
1461 * gdb.base/watchpoint.c: Likewise.
1462 * gdb.reverse/shr2.c: Likewise.
1463 * gdb.reverse/until-reverse.c: Likewise.
1464 * gdb.reverse/ur1.c: Likewise.
1465 * gdb.reverse/watch-reverse.c: Likewise.
1466
1467 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1468
1469 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
1470 variant.
1471 * gdb.base/sepdebug.exp: Drop references to removed code.
1472
1473 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1474
1475 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
1476 variant. Preserve original line numbering.
1477 * gdb.base/list1.c: Likewise.
1478
1479 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1480
1481 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
1482 variant.
1483 * gdb.base/break1.c: Likewise.
1484 * gdb.base/break.exp: Drop references to removed code.
1485
1486 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1487
1488 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
1489 variant.
1490
1491 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1492
1493 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
1494
1495 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1496
1497 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
1498 logic into perform_all_tests() and invoke it with and without
1499 function header prototypes.
1500 (do_function_calls): Remove conditional XFAIL for PR 5318.
1501 (rerun_and_prepare): Remove duplicate code.
1502 (perform_all_tests): New. Main logic moved here.
1503
1504 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1505
1506 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
1507 code guarded by #ifdef NO_PROTOTYPES.
1508 (t_double_many_args): Likewise.
1509 (DEF_FUNC_MANY_ARGS_1): Likewise.
1510 (DEF_FUNC_VALUES_1): Likewise.
1511 (t_structs_ldc): Renamed from t_structs_fc in conditional code
1512 guarded by #ifdef PROTOTYPES.
1513
1514 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1515
1516 * gdb.mi/mi-console.c: Add eye-catcher.
1517 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
1518 instead of literal line number.
1519
1520 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1521
1522 * gdb.base/shr2.c: Add eye-catcher.
1523 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
1524 line number.
1525
1526 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1527
1528 * gdb.base/jump.c: Add eye-catchers.
1529 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
1530 numbers.
1531
1532 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1533
1534 * gdb.base/execd-prog.c: Add eye-catchers.
1535 * gdb.base/foll-exec.c: Likewise.
1536 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
1537 line numbers.
1538
1539 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1540
1541 * gdb.base/ending-run.c: Add eye-catchers.
1542 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
1543 literal line numbers.
1544
1545 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1546
1547 * gdb.base/call-rt-st.c: Add eye-catchers.
1548 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
1549 literal line numbers.
1550
1551 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1552
1553 * gdb.base/call-ar-st.c: Add eye-catchers.
1554 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
1555 literal line numbers.
1556
1557 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1558
1559 * gdb.base/average.c: Add eye-catchers.
1560 * gdb.base/sum.c: Likewise.
1561 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
1562 regexps dynamically.
1563
1564 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1565
1566 * gdb.base/solib1.c: Add eye-catchers.
1567 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
1568 literal line numbers.
1569
1570 2014-11-12 Pedro Alves <palves@redhat.com>
1571
1572 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
1573 leader has exited.
1574
1575 2014-11-12 Pedro Alves <palves@redhat.com>
1576
1577 * gdb.arch/i386-bp_permanent.c: New file.
1578 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
1579 (srcfile): Set to i386-bp_permanent.c.
1580 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
1581 that stepi does not execute the 'leave' instruction, instead of
1582 testing it does execute.
1583 * gdb.base/bp-permanent.c: New file.
1584 * gdb.base/bp-permanent.exp: New file.
1585
1586 2014-11-10 Doug Evans <xdje42@gmail.com>
1587
1588 PR symtab/17564
1589 * gdb.base/symtab-search-order.exp: New file.
1590 * gdb.base/symtab-search-order.c: New file.
1591 * gdb.base/symtab-search-order-1.c: New file.
1592 * gdb.base/symtab-search-order-shlib-1.c: New file.
1593
1594 2014-11-07 Pedro Alves <palves@redhat.com>
1595
1596 PR gdb/17511
1597 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
1598 i?86-*-linux*.
1599
1600 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
1601
1602 PR c++/17494
1603 * gdb.cp/pr17494.cc: New file.
1604 * gdb.cp/pr17494.exp: New file.
1605
1606 2014-11-02 Yao Qi <yao@codesourcery.com>
1607
1608 * gdb.python/python.exp: Get working directory and match the
1609 output of "set extended-prompt \\w " with it.
1610
1611 2014-10-30 Doug Evans <dje@google.com>
1612
1613 * gdb.python/py-objfile.exp: Add tests for setting random attributes
1614 in objfiles.
1615 * gdb.python/py-progspace.exp: Add tests for setting random attributes
1616 in progspaces.
1617
1618 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
1619
1620 * gdb.base/fullpath-expand.exp: Skip for a remote host.
1621 * gdb.base/realname-expand.exp: Likewise.
1622 * gdb.linespec/macro-relative.exp: Likewise.
1623
1624 2014-10-29 Pedro Alves <palves@redhat.com>
1625
1626 PR gdb/17408
1627 * gdb.threads/schedlock.c (some_function): New function.
1628 (call_function): New global.
1629 (MAYBE_CALL_SOME_FUNCTION): New macro.
1630 (thread_function): Call it.
1631 * gdb.threads/schedlock.exp (get_args): Add description parameter,
1632 and use it instead of a global counter. Adjust all callers.
1633 (get_current_thread): Use "find current thread" for test message
1634 here rather than having all callers pass down the same string.
1635 (goto_loop): New procedure, factored out from ...
1636 (my_continue): ... this.
1637 (step_ten_loops): Change parameter from test message to command to
1638 use. Adjust.
1639 (list_count): Delete global.
1640 (check_result): New procedure, factored out from duplicate top
1641 level code.
1642 (continue tests): Wrap in with_test_prefix.
1643 (test_step): New procedure, factored out from duplicate top level
1644 code.
1645 (top level): Test "step" in combination with all scheduler-locking
1646 modes. Test "next" in combination with all scheduler-locking
1647 modes, and in combination with stepping over a function call or
1648 not.
1649 * gdb.threads/next-bp-other-thread.c: New file.
1650 * gdb.threads/next-bp-other-thread.exp: New file.
1651
1652 2014-10-29 Pedro Alves <palves@redhat.com>
1653
1654 PR python/17372
1655 * gdb.python/python.exp: Test a multi-line command that spawns
1656 interactive Python.
1657 * gdb.base/multi-line-starts-subshell.exp: New file.
1658
1659 2014-10-29 Yao Qi <yao@codesourcery.com>
1660
1661 * gdb.base/fileio.exp: Make directories on host.
1662
1663 2014-10-29 Yao Qi <yao@codesourcery.com>
1664
1665 * gdb.base/fileio.c (test_write): Close the file.
1666
1667 2014-10-28 Pedro Alves <palves@redhat.com>
1668
1669 PR gdb/12623
1670 * gdb.base/sigstep.c (no_handler): New global.
1671 (main): If 'no_handler is true, set the signal handlers to
1672 SIG_IGN.
1673 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
1674 with_sw_watch and no_handler parameters. Handle them.
1675 (top level) <stepping over handler when stopped at a breakpoint
1676 test>: Add a test axis for testing with a software watchpoint, and
1677 another for testing with the signal handler set to SIG_IGN.
1678 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
1679 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
1680
1681 2014-10-28 Pedro Alves <palves@redhat.com>
1682
1683 PR gdb/17511
1684 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
1685 * gdb.base/sigstep.exp (other_handler_location): New global.
1686 (advance): Support stepping into the signal handler, and running
1687 commands while in the handler.
1688 (in_handler_map): New global.
1689 (top level): In the advance test, add combinations for getting
1690 into the handler with stepping commands, and for running commands
1691 in the handler. Add comment descripting the advancei tests.
1692
1693 2014-10-28 Pedro Alves <palves@redhat.com>
1694
1695 * gdb.base/sigstep.exp: Use build_executable instead of
1696 prepare_for_testing.
1697 (top level): Move code that starts GDB, runs to main and creates a
1698 display to ...
1699 (restart): ... this new procedure.
1700 (top level): Move backtrace from signal handler test to ...
1701 (validate_backtrace): ... this new procedure.
1702 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
1703 with_test_prefix. Always restart GDB.
1704 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
1705 with_test_prefix. Always restart GDB. No need to delete
1706 breakpoints after the test.
1707 (test_skip_handler): Remove prefix parameter.
1708 (skip_over_handler, breakpoint_to_handler)
1709 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
1710 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
1711 restart GDB. No need to delete breakpoints after the test.
1712 (top level): Use foreach to call the test procedures with
1713 different commands.
1714
1715 2014-10-28 Pedro Alves <palves@redhat.com>
1716
1717 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
1718 instead of GNATS numbers.
1719 * gdb.base/sigbpt.exp: Likewise.
1720 * gdb.base/siginfo.exp: Likewise.
1721 * gdb.base/sigstep.exp: Likewise.
1722
1723 2014-10-27 Pedro Alves <palves@redhat.com>
1724
1725 * gdb.base/sigstep.c (dummy): New global.
1726 (main): Issue a couple writes to the new global.
1727 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
1728 procedures.
1729 (skip_over_handler): Use test_skip_handler.
1730 (top level): Call skip_over_handler for stepi and nexti too.
1731 (breakpoint_over_handler): Use test_skip_handler.
1732 (top level): Call breakpoint_over_handler for stepi and nexti too.
1733
1734 2014-10-27 Yao Qi <yao@codesourcery.com>
1735
1736 * gdb.trace/tfile.c (adjust_function_address)
1737 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
1738 function descriptor.
1739
1740 2014-10-24 Don Breazeal <donb@codesourcery.com>
1741
1742 * gdb.base/foll-fork.exp (test_follow_fork,
1743 catch_fork_child_follow): Check for updated fork messages emitted
1744 from infrun.c.
1745 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
1746 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
1747 vfork_and_exec_child_follow_through_step): Check for updated vfork
1748 messages emitted from infrun.c.
1749
1750 2014-10-24 Pedro Alves <palves@redhat.com>
1751
1752 * gdb.base/corefile.exp: Remove references to ultrix.
1753 * gdb.base/interrupt.exp: Likewise.
1754 * gdb.base/whatis.exp: Likewise.
1755 * gdb.gdb/selftest.exp: Likewise.
1756 * gdb.threads/manythreads.exp: Likewise.
1757 * gdb.threads/print-threads.exp: Likewise.
1758 * gdb.threads/pthreads.exp:: Likewise.
1759 * gdb.threads/schedlock.exp: Likewise.
1760
1761 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
1762
1763 * gdb.cp/non-trivial-retval.cc: Add a test case.
1764 * gdb.cp/non-trivial-retval.exp: Add a test.
1765
1766 2014-10-20 Yao Qi <yao@codesourcery.com>
1767
1768 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
1769 * gdb.python/py-objfile-script-gdb.py: New file.
1770 * gdb.python/py-objfile-script.exp: Update reference to
1771 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
1772 of remote_download. Remove the dest file.
1773
1774 2014-10-20 Yao Qi <yao@codesourcery.com>
1775
1776 * gdb.base/checkpoint.exp: Don't remove file copied on host.
1777 * gdb.base/step-line.exp: Likewise.
1778 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1779 * gdb.dwarf2/dw2-basic.exp: Likewise.
1780 * gdb.dwarf2/dw2-compressed.exp: Likewise.
1781 * gdb.dwarf2/dw2-filename.exp: Likewise.
1782 * gdb.dwarf2/dw2-intercu.exp: Likewise.
1783 * gdb.dwarf2/dw2-intermix.exp: Likewise.
1784 * gdb.dwarf2/dw2-producer.exp: Likewise.
1785 * gdb.dwarf2/mac-fileno.exp: Likewise.
1786 * gdb.python/py-frame-args.exp: Likewise.
1787 * gdb.python/py-framefilter.exp: Likewise.
1788 * gdb.python/py-mi.exp: Likewise.
1789 * gdb.python/py-objfile-script.exp: Likewise
1790 * gdb.python/py-pp-integral.exp: Likewise.
1791 * gdb.python/py-pp-re-notag.exp: Likewise.
1792 * gdb.python/py-prettyprint.exp: Likewise.
1793 * gdb.python/py-section-script.exp: Likewise.
1794 * gdb.python/py-typeprint.exp: Likewise.
1795 * gdb.python/py-xmethods.exp: Likewise.
1796 * gdb.stabs/weird.exp: Likewise.
1797 * gdb.xml/tdesc-regs.exp: Likewise.
1798
1799 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
1800
1801 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
1802 (out_cu): Use addr_len for the size of addresses.
1803 (out_line): Likewise. Size DW_LNE_set_address instruction
1804 according to addr_len.
1805 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
1806 (FUNC): Add START_INSNS to definition.
1807
1808 2014-10-18 Yao Qi <yao@codesourcery.com>
1809
1810 * gdb.base/argv0-symlink.exp: Check argv[0] value if
1811 gdb_has_argv0 return true.
1812 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
1813 check [target_info exists noargs], check [gdb_has_argv0]
1814 instead.
1815 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1816 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
1817 procedures.
1818
1819 2014-10-17 Doug Evans <dje@google.com>
1820
1821 * gdb.python/py-events.exp: Update expected output for clear_objfiles
1822 event.
1823 * gdb.python/py-events.py: Add clear_objfiles event.
1824
1825 2014-10-17 Doug Evans <dje@google.com>
1826
1827 * gdb.python/py-objfile.exp: Test progspace attribute.
1828
1829 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
1830
1831 * gdb.guile/scm-breakpoint.exp: Do not assume any
1832 directory separators when matching source file paths.
1833 * gdb.python/py-breakpoint.exp: Likewise.
1834 * gdb.reverse/break-precsave.exp: Likewise.
1835 * gdb.reverse/break-reverse.exp: Likewise.
1836 * gdb.reverse/consecutive-precsave.exp: Likewise.
1837 * gdb.reverse/finish-precsave.exp: Likewise.
1838 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
1839 * gdb.reverse/finish-reverse.exp: Likewise.
1840 * gdb.reverse/i386-precsave.exp: Likewise.
1841 * gdb.reverse/i387-env-reverse.exp: Likewise.
1842 * gdb.reverse/i387-stack-reverse.exp: Likewise.
1843 * gdb.reverse/machinestate-precsave.exp: Likewise.
1844 * gdb.reverse/machinestate.exp: Likewise.
1845 * gdb.reverse/sigall-precsave.exp: Likewise.
1846 * gdb.reverse/solib-precsave.exp: Likewise.
1847 * gdb.reverse/step-precsave.exp: Likewise.
1848 * gdb.reverse/until-precsave.exp: Likewise.
1849 * gdb.reverse/watch-precsave.exp: Likewise.
1850 * gdb.reverse/watch-reverse.exp: Likewise.
1851
1852 2014-10-17 Yao Qi <yao@codesourcery.com>
1853
1854 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
1855 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
1856
1857 2014-10-17 Pedro Alves <palves@redhat.com>
1858
1859 PR gdb/17471
1860 * gdb.base/bg-execution-repeat.c: New file.
1861 * gdb.base/bg-execution-repeat.exp: New file.
1862
1863 2014-10-17 Pedro Alves <palves@redhat.com>
1864
1865 PR gdb/17300
1866 * gdb.base/continue-all-already-running.c: New file.
1867 * gdb.base/continue-all-already-running.exp: New file.
1868
1869 2014-10-17 Pedro Alves <palves@redhat.com>
1870
1871 PR gdb/17472
1872 * gdb.base/annota-input-while-running.c: New file.
1873 * gdb.base/annota-input-while-running.exp: New file.
1874
1875 2014-10-17 Pedro Alves <palves@redhat.com>
1876
1877 * gdb.base/callfuncs.exp: emove references to osf.
1878 * gdb.base/sigall.exp: Likewise.
1879 * gdb.gdb/selftest.exp: Likewise.
1880 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1881 * gdb.mi/non-stop.c: Likewise.
1882 * gdb.mi/pthreads.c: Likewise.
1883 * gdb.reverse/sigall-precsave.exp: Likewise.
1884 * gdb.reverse/sigall-reverse.exp: Likewise.
1885 * gdb.threads/pthreads.c: Likewise.
1886 * gdb.threads/pthreads.exp: Likewise.
1887
1888 2014-10-17 Yao Qi <yao@codesourcery.com>
1889
1890 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
1891 check 'target_info exists noargs'.
1892 (test_command_prompt_position): Likewise.
1893 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
1894 Remove "set args".
1895 (progvar_simple_while_test): Likewise.
1896 (progvar_complex_if_while_test): Likewise.
1897 (if_while_breakpoint_command_test): Likewise.
1898 (infrun_breakpoint_command_test): Likewise.
1899 (breakpoint_command_test): Likewise.
1900 (watchpoint_command_test): Likewise.
1901 (bp_deleted_in_command_test): Likewise.
1902 (temporary_breakpoint_commands): Likewise.
1903
1904 2014-10-16 Yao Qi <yao@codesourcery.com>
1905
1906 * gdb.base/remotetimeout.exp: Remove noargs checking.
1907
1908 2014-10-15 Pedro Alves <palves@redhat.com>
1909
1910 PR breakpoints/9649
1911 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
1912 * gdb.base/breakpoint-in-ro-region.exp
1913 (probe_target_hardware_step): New procedure.
1914 (top level): Probe hardware stepping and hardware breakpoint
1915 support. Test stepping through a read-only region, with both
1916 "breakpoint auto-hw" on and off and both "always-inserted" on and
1917 off.
1918
1919 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
1920
1921 * gdb.dlang/demangle.exp: Update for demangling changes.
1922
1923 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1924
1925 * gdb.cp/non-trivial-retval.cc: Add new test cases.
1926 * gdb.cp/non-trivial-retval.exp: Add new tests.
1927
1928 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1929
1930 PR c++/13403
1931 PR c++/15154
1932 * gdb.cp/non-trivial-retval.cc: New file.
1933 * gdb.cp/non-trivial-retval.exp: New file.
1934
1935 2014-10-15 Yao Qi <yao@codesourcery.com>
1936
1937 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
1938 remote host.
1939
1940 2014-10-15 Yao Qi <yao@codesourcery.com>
1941
1942 * gdb.python/py-symbol.exp: Match file base name if host is
1943 remote, otherwise match file name with dir name.
1944 * gdb.python/py-symtab.exp: Likewise.
1945 * gdb.python/python.exp: Likewise.
1946
1947 2014-10-15 Yao Qi <yao@codesourcery.com>
1948
1949 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
1950 pattern.
1951 * gdb.python/py-symtab.exp: Likewise.
1952 * gdb.python/python.exp: Remove trailing ".*". Fix typo
1953 locationn.
1954
1955 2014-10-14 Joel Brobecker <brobecker@adacore.com>
1956
1957 * gdb.ada/addr_arith: New testcase.
1958
1959 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
1960
1961 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
1962 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
1963 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
1964 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
1965
1966 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
1967
1968 * gdb.arch/stap-eval-lang-ada.S: Likewise.
1969 * gdb.arch/stap-eval-lang-ada.c: Likewise.
1970 * gdb.arch/stap-eval-lang-ada.exp: New file.
1971
1972 2014-10-14 Yao Qi <yao@codesourcery.com>
1973
1974 * gdb.mi/mi-var-child.c (nothing1): New function.
1975 (nothing2): New function.
1976 (do_children_tests): Set function pointers by nothing1 and
1977 nothing2.
1978 * gdb.mi/mi-var-child.exp: Step over new added statements.
1979 Update test to match the new output.
1980 * gdb.mi/var-cmd.c (nothing1): New function.
1981 (nothing2): New function.
1982 (do_children_tests): Set function pointers by nothing1 and
1983 nothing2.
1984 * gdb.mi/mi-var-display.exp: Update test to match output.
1985 Step to the line specified by $line_dct_nothing.
1986 Increase the number of lines to step.
1987
1988 2014-10-14 Yao Qi <yao@codesourcery.com>
1989
1990 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
1991 tests.
1992 * gdb.mi/mi2-var-child.exp: Likewise.
1993
1994 2014-10-13 Doug Evans <dje@google.com>
1995
1996 * gdb.python/py-objfile.exp: Change name of file name test.
1997
1998 2014-10-13 Doug Evans <dje@google.com>
1999
2000 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
2001 from the start of the CU.
2002
2003 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2004 Yao Qi <yao@codesourcery.com>
2005
2006 Fix "save breakpoints" for "catch" command.
2007 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
2008 Remove -nonewline. Match also the added "main" line.
2009
2010 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2011
2012 Fix "save breakpoints" for "disable $bpnum" command.
2013 * gdb.base/save-bp.c (main): Add label.
2014 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
2015
2016 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2017
2018 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
2019
2020 2014-10-11 Yao Qi <yao@codesourcery.com>
2021
2022 * gdb.server/server-kill.exp: Execute command
2023 "set remote trace-status-packet on" before "tstatus".
2024
2025 2014-10-11 Yao Qi <yao@codesourcery.com>
2026
2027 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
2028 (main): Call getppid.
2029 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
2030 and continue to it. Read variable "server_pid".
2031
2032 2014-10-11 Yao Qi <yao@codesourcery.com>
2033
2034 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
2035
2036 2014-10-11 Yao Qi <yao@codesourcery.com>
2037
2038 * gdb.threads/thread-find.exp: Don't execute command
2039 "info threads".
2040 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
2041 * gdb.threads/linux-dp.exp: Don't check the condition
2042 $threads_created equals to zero.
2043
2044 2014-10-10 Pedro Alves <palves@redhat.com>
2045
2046 * gdb.base/bigcore.exp: Remove references to IRIX.
2047 * gdb.base/funcargs.exp: Likewise.
2048 * gdb.base/interrupt.exp: Likewise.
2049 * gdb.base/mips_pro.exp: Likewise.
2050 * gdb.base/nodebug.exp: Likewise.
2051 * gdb.base/setvar.exp: Likewise.
2052 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
2053
2054 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2055 Pedro Alves <palves@redhat.com>
2056
2057 PR symtab/14466
2058 * gdb.base/vdso-warning.c: New file.
2059 * gdb.base/vdso-warning.exp: New file.
2060
2061 2014-10-02 Doug Evans <dje@google.com>
2062
2063 * gdb.base/structs.c (main): Don't run forever.
2064
2065 2014-10-02 Pedro Alves <palves@redhat.com>
2066
2067 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
2068 (top level) <stop threads 1, stop threads 2>: Use it.
2069
2070 2014-10-02 Pedro Alves <palves@redhat.com>
2071
2072 * gdb.threads/break-while-running.exp (test): Add new
2073 'update_thread_list' argument. Skip "info threads" if false.
2074 (top level): Add new 'update_thread_list' axis.
2075
2076 2014-10-02 Pedro Alves <palves@redhat.com>
2077
2078 PR breakpoints/17431
2079 * gdb.base/execl-update-breakpoints.c: New file.
2080 * gdb.base/execl-update-breakpoints.exp: New file.
2081
2082 2014-10-01 Pedro Alves <palves@redhat.com>
2083
2084 * gdb.base/breakpoint-in-ro-region.c: New file.
2085 * gdb.base/breakpoint-in-ro-region.exp: New file.
2086
2087 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
2088
2089 * gdb.mi/mi-exit-code.exp: New file.
2090 * gdb.mi/mi-exit-code.c: New file.
2091
2092 2014-09-30 Yao Qi <yao@codesourcery.com>
2093
2094 * lib/prelink-support.exp (build_executable_own_libs): Error if
2095 the target isn't native.
2096
2097 2014-09-30 Yao Qi <yao@codesourcery.com>
2098
2099 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
2100 false.
2101
2102 2014-09-22 Pedro Alves <palves@redhat.com>
2103
2104 * gdb.threads/break-while-running.exp: New file.
2105 * gdb.threads/break-while-running.c: New file.
2106
2107 2014-09-19 Yao Qi <yao@codesourcery.com>
2108
2109 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
2110 Invoke test. Restart GDB with --readnow and invoke test again.
2111
2112 2014-09-19 Yao Qi <yao@codesourcery.com>
2113
2114 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
2115 proc set_breakpoint_on_gcd_function. Invoke
2116 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
2117 invoke set_breakpoint_on_gcd_function again.
2118
2119 2014-09-18 Doug Evans <dje@google.com>
2120
2121 * gdb.dwarf2/symtab-producer.exp: New file.
2122
2123 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2124
2125 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
2126 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
2127 * gdb.base/global-var-nested-by-dso.c: Likewise.
2128 * gdb.base/global-var-nested-by-dso.exp: Likewise.
2129
2130 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2131 Pedro Alves <palves@redhat.com>
2132
2133 * gdb.base/watch-bitfields.exp: Pass string other than test file
2134 name to prepare_for_testing.
2135 (watch): New procedure.
2136 (expect_watchpoint): Use with_test_prefix.
2137 (top level): Factor out tests to ...
2138 (test_watch_location, test_regular_watch): ... these new
2139 procedures, and use with_test_prefix and gdb_continue_to_end.
2140
2141 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
2142
2143 PR breakpoints/12526
2144 * gdb.base/watch-bitfields.exp: New file.
2145 * gdb.base/watch-bitfields.c: New file.
2146
2147 2014-09-16 Pedro Alves <palves@redhat.com>
2148
2149 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
2150 software and hardware addresses, not software address against
2151 itself.
2152
2153 2014-09-16 Pedro Alves <palves@redhat.com>
2154
2155 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
2156 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
2157
2158 2014-09-16 Pedro Alves <palves@redhat.com>
2159
2160 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
2161 files.
2162 * gdb.base/a2-run.exp: Remove all code guarded by istarget
2163 "*-*-vxworks*" throughout.
2164 * gdb.base/break.exp: Likewise.
2165 * gdb.base/default.exp: Likewise.
2166 * gdb.base/scope.exp: Likewise.
2167 * gdb.base/sepdebug.exp: Likewise.
2168 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
2169 throughout.
2170 * gdb.base/run.c: Likewise.
2171 * gdb.base/sepdebug.c: Likewise.
2172 * gdb.hp/gdb.aCC/run.c: Likewise.
2173 * gdb.reverse/until-reverse.c: Likewise.
2174 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
2175
2176 2014-09-16 Yao Qi <yao@codesourcery.com>
2177
2178 * boards/local-remote-host-native.exp: New file.
2179
2180 2014-09-14 Doug Evans <xdje42@gmail.com>
2181
2182 * gdb.threads/queue-signal.c (thread_count): New variable.
2183 (thread_count_mutex, thread_count_condvar): New variables.
2184 (incr_thread_count, wait_all_threads_running): New functions.
2185 (main): Wait for all threads to be in their thread functions.
2186
2187 2014-09-13 Doug Evans <xdje42@gmail.com>
2188
2189 * gdb.threads/queue-signal.c: New file.
2190 * gdb.threads/queue-signal.exp: New file.
2191
2192 2014-09-13 Doug Evans <xdje42@gmail.com>
2193
2194 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
2195 be consistent with what default_gdb_init uses.
2196 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
2197 the plain text of the prompt. Add some logging printfs.
2198 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
2199
2200 2014-09-12 Pedro Alves <palves@redhat.com>
2201
2202 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
2203 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
2204 * gdb.arch/i386-size-overlap.exp: Likewise.
2205 * gdb.arch/i386-size.exp: Likewise.
2206 * gdb.arch/i386-unwind.exp: Likewise.
2207 * gdb.base/a2-run.exp: Likewise.
2208 * gdb.base/break.exp: Likewise.
2209 * gdb.base/charset.exp: Likewise.
2210 * gdb.base/chng-syms.exp: Likewise.
2211 * gdb.base/commands.exp: Likewise.
2212 * gdb.base/dbx.exp: Likewise.
2213 * gdb.base/find.exp: Likewise.
2214 * gdb.base/funcargs.exp: Likewise.
2215 * gdb.base/jit-simple.exp: Likewise.
2216 * gdb.base/reread.exp: Likewise.
2217 * gdb.base/sepdebug.exp: Likewise.
2218 * gdb.base/step-bt.exp: Likewise.
2219 * gdb.cp/mb-inline.exp: Likewise.
2220 * gdb.cp/mb-templates.exp: Likewise.
2221 * gdb.objc/basicclass.exp: Likewise.
2222 * gdb.threads/killed.exp: Likewise.
2223
2224 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2225
2226 PR tdep/17379
2227 * gdb.arch/powerpc-stackless.S: New file.
2228 * gdb.arch/powerpc-stackless.exp: New file.
2229
2230 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2231
2232 * gdb.base/attach.c: Include unistd.h.
2233 (main): Call alarm. Add label postloop.
2234 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
2235 gdb_breakpoint, gdb_continue_to_breakpoint.
2236 (test_command_line_attach_run): Kill ${testpid} in one exit path.
2237
2238 2014-09-11 Pedro Alves <palves@redhat.com>
2239
2240 PR gdb/17347
2241 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
2242 * gdb.base/attach.exp (test_command_line_attach_run): New
2243 procedure.
2244 (top level): Call it.
2245
2246 2014-09-11 Pedro Alves <palves@redhat.com>
2247
2248 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
2249 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
2250 (do_command_attach_tests): Use spawn_wait_for_attach.
2251 * gdb.base/solib-overlap.exp: Likewise.
2252 * gdb.multi/multi-attach.exp: Likewise.
2253 * gdb.python/py-prompt.exp: Likewise.
2254 * gdb.python/py-sync-interp.exp: Likewise.
2255 * gdb.server/ext-attach.exp: Likewise.
2256
2257 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
2258
2259 * gdb.fortran/array-element.exp: Remove unexpected "continue"
2260 command in testcase. Simplify testcase.
2261
2262 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2263
2264 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
2265
2266 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2267
2268 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
2269
2270 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2271
2272 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
2273
2274 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2275
2276 * gdb.dwarf2/dynarr-ptr.c: New file.
2277 * gdb.dwarf2/dynarr-ptr.exp: New file.
2278
2279 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2280
2281 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
2282 of 30 rather than hardcoding 120 for a slow test case. Take the
2283 `gdb,timeout' target setting into account for this calculation.
2284 Don't extend the timeout for the test cases that don't need it.
2285
2286 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2287
2288 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
2289 a factor of 2 for a slow test case. Take the `gdb,timeout'
2290 target setting into account for this calculation.
2291 * gdb.reverse/until-precsave.exp: Increase the timeout by
2292 a factor of 15 and 3 respectively rather than adding 120
2293 for a pair of slow test cases. Take the `gdb,timeout'
2294 target setting into account for this calculation.
2295
2296 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2297
2298 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
2299 timeout, don't pass one down to gdb_expect.
2300 (gdb_expect): Rework timeout selection.
2301
2302 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2303
2304 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
2305 exception on timeout.
2306 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
2307 (gdbserver_start_extended): Catch any `gdbserver_start' error
2308 exceptions.
2309 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
2310 * lib/mi-support.exp (mi_gdb_target_load): Catch any
2311 `gdbserver_gdb_load' error exceptions.
2312
2313 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2314
2315 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
2316 120 on waiting for the TCP socket to open.
2317
2318 2014-09-09 Doug Evans <xdje42@gmail.com>
2319
2320 * gdb.base/default.exp (show_conv_list): Add _caller_is,
2321 _caller_matches, _any_caller_is, _any_caller_matches.
2322
2323 2014-09-09 Doug Evans <xdje42@gmail.com>
2324
2325 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
2326
2327 2014-09-09 Yao Qi <yao@codesourcery.com>
2328
2329 * gdb.mi/mi-var-display.exp: Set print symbol off.
2330
2331 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
2332
2333 PR gdb/17035
2334 * gdb.base/commands.exp: Add tests to verify user-defined
2335 commands with empty bodies.
2336 * gdb.python/py-cmd.exp: Test that we don't show user-defined
2337 python commands in `show user command`.
2338 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
2339 scheme commands in `show user command`.
2340
2341 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2342
2343 PR python/17355
2344 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
2345 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
2346 * gdb.python/py-framefilter-invalidarg.exp: New file.
2347 * gdb.python/py-framefilter-invalidarg.py: New file.
2348
2349 2014-09-06 Doug Evans <xdje42@gmail.com>
2350
2351 PR 15276
2352 * gdb.python/py-caller-is.c: New file.
2353 * gdb.python/py-caller-is.exp: New file.
2354
2355 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
2356
2357 PR gdb/17235
2358 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
2359 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
2360
2361 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
2362
2363 PR fortran/17237
2364 * gdb.fortran/print-formatted.exp: New file.
2365 * gdb.fortran/print-formatted.f90: Likewise.
2366
2367 2014-09-03 Sasha Smundak <asmundak@google.com>
2368
2369 * gdb.python/py-frame.exp: Test Frame.read_register.
2370
2371 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
2372
2373 PR python/16699
2374 * gdb.python/py-completion.exp: New file.
2375 * gdb.python/py-completion.py: Likewise.
2376
2377 2014-08-28 Doug Evans <dje@google.com>
2378
2379 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
2380 eax,etc. are live with values set by gdb and thus the compiler can't
2381 use them.
2382 * gdb.arch/i386-pseudo.c (main): Ditto.
2383
2384 2014-08-27 Doug Evans <dje@google.com>
2385
2386 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
2387
2388 2014-08-25 Doug Evans <dje@google.com>
2389
2390 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
2391 (main): Ditto.
2392
2393 2014-08-25 Doug Evans <dje@google.com>
2394
2395 * gdb.threads/thread-execl.exp: #include <stdio.h>.
2396
2397 2014-08-24 Yao Qi <yao@codesourcery.com>
2398
2399 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
2400 symbol off.
2401 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
2402
2403 2014-08-22 Doug Evans <dje@google.com>
2404
2405 PR 17276
2406 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
2407 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
2408 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
2409
2410 2014-08-22 Yao Qi <yao@codesourcery.com>
2411
2412 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
2413 * gdb.python/py-finish-breakpoint2.exp: Likewise.
2414 * gdb.python/python.exp: Likewise. Use .py file on the host
2415 instead of the build.
2416
2417 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2418
2419 * gdb.threads/gcore-stale-thread.c: New file.
2420 * gdb.threads/gcore-stale-thread.exp: New file.
2421
2422 2014-08-21 Pedro Alves <palves@redhat.com>
2423
2424 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
2425 * gdb.base/gcore-relro-pie.exp: Likewise.
2426 * gdb.base/gcore-relro.exp: Likewise.
2427 * gdb.base/gcore.exp: Likewise.
2428 * gdb.base/print-symbol-loading.exp: Likewise.
2429 * gdb.threads/gcore-thread.exp: Likewise.
2430 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
2431
2432 2014-08-20 Pedro Alves <palves@redhat.com>
2433 Jan Kratochvil <jan.kratochvil@redhat.com>
2434
2435 * Makefile.in (EXTRA_RULES, CC): New variables, get from
2436 configure.
2437 (EXPECT): Handle READ1 being set.
2438 (all): Depend on EXTRA_RULES.
2439 (check-read1, expect-read1, read1.so, read1): New rules.
2440 * README (Testsuite Parameters): Document the READ1 make variable.
2441 (Race detection): New section.
2442 * configure: Regenerate.
2443 * configure.ac: If build==host==target, and running under a
2444 GNU/glibc system, add read1 to the extra Makefile rules.
2445 (EXTRA_RULES): AC_SUBST it.
2446 * lib/read1.c: New file.
2447
2448 2014-08-20 Joel Brobecker <brobecker@adacore.com>
2449
2450 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
2451 the handling of variables declared as a typedef to an array
2452 which a DW_AT_data_location attribute.
2453
2454 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
2455 Pedro Alves <palves@redhat.com>
2456
2457 PR symtab/14604
2458 PR symtab/14605
2459 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
2460 gdb_test.
2461
2462 2014-08-19 Pedro Alves <palves@redhat.com>
2463
2464 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
2465
2466 2014-08-19 Yao Qi <yao@codesourcery.com>
2467
2468 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
2469 right line.
2470
2471 2014-08-18 David Blaikie <dblaikie@gmail.com>
2472
2473 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
2474
2475 2014-08-18 Joel Brobecker <brobecker@adacore.com>
2476
2477 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
2478 attribute in array range.
2479
2480 2014-08-18 Joel Brobecker <brobecker@adacore.com>
2481
2482 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
2483
2484 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2485
2486 PR c++/17132
2487 * gdb.cp/pr17132.cc: New file.
2488 * gdb.cp/pr17132.exp: New file.
2489
2490 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2491
2492 * gdb.python/py-xmethods.py (A_getarrayind)
2493 (E_method_char_worker.__call__, E_method_int_worker.__call__):
2494 Use 'print' with function call syntax.
2495 (E_method_matcher.match): Fix tab vs space indentation mixup.
2496
2497 2014-08-15 Yao Qi <yao@codesourcery.com>
2498
2499 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
2500 false.
2501
2502 2014-08-15 Yao Qi <yao@codesourcery.com>
2503
2504 * gdb.cp/casts.exp: Set print symbol off.
2505 * gdb.cp/class2.exp: Likewise.
2506 * gdb.cp/overload.exp: Likewise.
2507 * gdb.cp/templates.exp: Likewise.
2508
2509 2014-08-11 Doug Evans <dje@google.com>
2510
2511 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
2512 (test_load_shlib): Update.
2513
2514 2014-08-09 Yao Qi <yao@codesourcery.com>
2515
2516 * gdb.base/display.exp: Invoke is_address_zero_readable.
2517 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
2518 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2519 * gdb.base/hbreak-unmapped.exp: Return if
2520 is_address_zero_readable returns true.
2521 * gdb.base/signest.exp: Likewise.
2522 * gdb.base/signull.exp: Likewise.
2523 * gdb.base/sigbpt.exp: Likewise.
2524 * gdb.guile/scm-disasm.exp: Do the test if
2525 is_address_zero_readable returns false.
2526 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
2527 * gdb.python/py-arch.exp: Likewise.
2528 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
2529 * lib/gdb.exp (is_address_zero_readable): New proc.
2530
2531 2014-08-09 Yao Qi <yao@codesourcery.com>
2532
2533 PR testsuite/13443
2534 * gdb.mi/mi-var-display.exp: Make test messages unique.
2535
2536 2014-08-04 Tom Tromey <tromey@redhat.com>
2537
2538 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
2539 target 0".
2540
2541 2014-08-04 Tom Tromey <tromey@redhat.com>
2542
2543 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
2544 "target_resume".
2545
2546 2014-08-01 Joel Brobecker <brobecker@adacore.com>
2547
2548 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
2549 inner_vla_struct_object_size.
2550 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
2551 as xfail.
2552
2553 2014-07-30 Pedro Alves <palves@redhat.com>
2554
2555 * gdb.threads/signal-command-handle-nopass.exp (test): Add
2556 comment.
2557
2558 2014-07-29 Yao Qi <yao@codesourcery.com>
2559
2560 PR gdb/17206
2561 * gdb.base/until-nodebug.exp: New.
2562
2563 2014-07-28 Doug Evans <xdje42@gmail.com>
2564
2565 PR guile/17203
2566 * gdb.guile/scm-parameter.exp: Add tests for trying to create
2567 previously existing parameter, and previously ambiguously spelled
2568 parameter.
2569
2570 2014-07-28 Will Newton <will.newton@linaro.org>
2571
2572 * gdb.base/varargs.exp: Remove KFAILs for ARM.
2573
2574 2014-07-26 Ludovic Courtès <ludo@gnu.org>
2575 Doug Evans <xdje42@gmail.com>
2576
2577 PR guile/17146
2578 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
2579
2580 2014-07-25 Pedro Alves <palves@redhat.com>
2581
2582 * gdb.threads/signal-command-handle-nopass.c: New file.
2583 * gdb.threads/signal-command-handle-nopass.exp: New file.
2584 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
2585 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
2586 * gdb.threads/signal-delivered-right-thread.c: New file.
2587 * gdb.threads/signal-delivered-right-thread.exp: New file.
2588
2589 2014-07-25 Pedro Alves <palves@redhat.com>
2590
2591 * gdb.base/double-prompt-target-event-error.exp
2592 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
2593 match.
2594 (cancel_pagination_in_target_event): Rework double prompt
2595 detection.
2596 * gdb.base/paginate-after-ctrl-c-running.exp
2597 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
2598 <return>' match.
2599 * gdb.base/paginate-bg-execution.exp
2600 (test_bg_execution_pagination_return)
2601 (test_bg_execution_pagination_cancel): Remove '-notransfer
2602 <return>' matches.
2603 * gdb.base/paginate-execution-startup.exp
2604 (test_fg_execution_pagination_return)
2605 (test_fg_execution_pagination_cancel): Remove '-notransfer
2606 <return>' matches.
2607 * gdb.base/paginate-inferior-exit.exp
2608 (test_paginate_inferior_exited): Remove '-notransfer <return>'
2609 match.
2610 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
2611 * lib/gdb.exp (pagination_prompt): Run text through
2612 string_to_regexp.
2613 (gdb_test_multiple): Match $pagination_prompt instead of
2614 "<return>".
2615 (string_to_regexp): Move to lib/gdb-utils.exp.
2616
2617 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2618
2619 * gdb.arch/amd64-entry-value-paramref.S: New file.
2620 * gdb.arch/amd64-entry-value-paramref.cc: New file.
2621 * gdb.arch/amd64-entry-value-paramref.exp: New file.
2622 * gdb.arch/amd64-optimout-repeat.S: New file.
2623 * gdb.arch/amd64-optimout-repeat.c: New file.
2624 * gdb.arch/amd64-optimout-repeat.exp: New file.
2625
2626 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2627
2628 PR gdb/17170
2629 * gdb.base/statistics.exp: New file.
2630
2631 2014-07-17 Doug Evans <dje@google.com>
2632
2633 PR gdb/17170
2634 * gdb.base/maint.exp: Update testing of per-command stats.
2635
2636 2014-07-16 Pedro Alves <palves@redhat.com>
2637
2638 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
2639 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
2640 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
2641 (tfile_write_buf): New functions.
2642 (add_memory_block): Rewrite using the above.
2643 (adjust_function_address): New function.
2644 (FUNCTION_ADDRESS): New macro.
2645 (write_basic_trace_file): Remove short_x local, and use
2646 tfile_write_16. Change type of func_addr local to unsigned long
2647 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
2648 here. Cast argument of add_memory_block to char pointer.
2649 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
2650 (main): Remove parameters.
2651 * gdb.trace/tfile.exp: Remove nowarnings.
2652
2653 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
2654
2655 * gdb.base/debug-expr.exp: Test string evaluation with
2656 "debug expression" on.
2657
2658 2014-07-15 Pedro Alves <palves@redhat.com>
2659
2660 * gdb.base/reread.exp: Use clean_restart.
2661
2662 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
2663
2664 * gdb.arch/avr-flash-qualifer.c: New.
2665 * gdb.arch/avr-flash-qualifer.exp: New.
2666
2667 2014-07-14 Pedro Alves <palves@redhat.com>
2668
2669 * gdb.base/paginate-after-ctrl-c-running.c: New file.
2670 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
2671
2672 2014-07-14 Pedro Alves <palves@redhat.com>
2673
2674 * gdb.base/double-prompt-target-event-error.c: New file.
2675 * gdb.base/double-prompt-target-event-error.exp: New file.
2676
2677 2014-07-14 Pedro Alves <palves@redhat.com>
2678
2679 PR gdb/17072
2680 * gdb.base/paginate-inferior-exit.c: New file.
2681 * gdb.base/paginate-inferior-exit.exp: New file.
2682
2683 2014-07-14 Pedro Alves <palves@redhat.com>
2684
2685 PR gdb/17072
2686 * gdb.base/paginate-bg-execution.c: New file.
2687 * gdb.base/paginate-bg-execution.exp: New file.
2688
2689 2014-07-14 Pedro Alves <palves@redhat.com>
2690
2691 PR gdb/17072
2692 * gdb.base/paginate-execution-startup.c: New file.
2693 * gdb.base/paginate-execution-startup.exp: New file.
2694 * lib/gdb.exp (pagination_prompt): New global.
2695 (default_gdb_spawn): New procedure, factored out from
2696 default_gdb_spawn.
2697 (default_gdb_start): Adjust to call default_gdb_spawn.
2698 (gdb_spawn): New procedure.
2699
2700 2014-07-14 Pedro Alves <palves@redhat.com>
2701
2702 * lib/gdb.exp (gdb_assert): New procedure.
2703 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
2704
2705 2014-07-14 Pedro Alves <palves@redhat.com>
2706
2707 * gdb.base/execution-termios.c: New file.
2708 * gdb.base/execution-termios.exp: New file.
2709
2710 2014-07-14 Tom Tromey <tromey@redhat.com>
2711
2712 * gdb.cp/vla-cxx.cc: New file.
2713 * gdb.cp/vla-cxx.exp: New file.
2714
2715 2014-07-14 Tom Tromey <tromey@redhat.com>
2716
2717 * gdb.reverse/rerun-prec.c: New file.
2718 * gdb.reverse/rerun-prec.exp: New file.
2719
2720 2014-07-12 Maciej W. Rozycki <macro@mips.com>
2721 Maciej W. Rozycki <macro@codesourcery.com>
2722
2723 * lib/gdb-utils.exp: New file.
2724 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
2725 inline `gdb_init_command' processing.
2726 (gdb_start_cmd): Likewise.
2727 * lib/mi-support.exp (mi_run_cmd): Likewise.
2728 * README: Document `gdb_init_command' and `gdb_init_commands'.
2729
2730 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2731
2732 Fix false FAIL running under a very long directory name.
2733 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
2734 and "set print elements 10000". Twice.
2735
2736 2014-07-11 Yao Qi <yao@codesourcery.com>
2737
2738 * gdb.base/exprs.exp: "set print symbol off".
2739
2740 2014-07-11 Pedro Alves <palves@redhat.com>
2741
2742 * gdb.threads/kill.c: New file.
2743 * gdb.threads/kill.exp: New file.
2744
2745 2014-07-10 Yao Qi <yao@codesourcery.com>
2746
2747 * gdb.trace/tfile.c (write_basic_trace_file)
2748 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
2749 address written to trace file.
2750
2751 2014-07-09 Pedro Alves <palves@redhat.com>
2752
2753 * gdb.base/attach-wait-input.exp: New file.
2754 * gdb.base/attach-wait-input.c: New file.
2755
2756 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2757
2758 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
2759 setting up test structures.
2760 (main): Call new test function.
2761 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
2762 test function, continue into test function and walk test
2763 structures.
2764
2765 2014-07-02 Yao Qi <yao@codesourcery.com>
2766
2767 * gdb.trace/entry-values.c: Define labels 'foo_start' and
2768 'bar_start' at the beginning of functions 'foo' and 'bar'
2769 respectively.
2770 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
2771 instead of 'foo' and 'bar'.
2772
2773 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
2774
2775 * gdb.btrace/segv.exp: New.
2776 * gdb.btrace/segv.c: New.
2777
2778 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
2779
2780 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
2781 instruction.
2782
2783 2014-06-30 Mark Wielaard <mjw@redhat.com>
2784
2785 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
2786 vulture, vilify, villar): New volatile array constants.
2787 (vindictive, vegetation): New const volatile array constants.
2788 * gdb.base/volatile.exp: Test volatile and const volatile array
2789 types.
2790
2791 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2792
2793 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
2794 target lacks support for awatch, rwatch, or hbreak.
2795
2796 2014-06-27 Yao Qi <yao@codesourcery.com>
2797
2798 * gdb.multi/dummy-frame-restore.exp: New.
2799 * gdb.multi/dummy-frame-restore.c: New.
2800
2801 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2802
2803 * gdb.btrace/gcore.exp: New.
2804
2805 2014-06-23 Pedro Alves <palves@redhat.com>
2806
2807 * gdb.base/watchpoint-reuse-slot.c: New file.
2808 * gdb.base/watchpoint-reuse-slot.exp: New file.
2809
2810 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
2811
2812 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
2813 progspace's filename in 'info', 'enable' and 'disable' command
2814 tests.
2815
2816 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2817
2818 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
2819 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2820 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
2821
2822 2014-06-20 Gary Benson <gbenson@redhat.com>
2823
2824 * gdb.arch/i386-avx.exp: Fix include file location.
2825 * gdb.arch/i386-sse.exp: Likewise.
2826
2827 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
2828
2829 * gdb.dlang/expression.exp: New file.
2830
2831 2014-06-19 Pedro Alves <palves@redhat.com>
2832
2833 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
2834 out from ...
2835 (top level): ... here. Iterate running tests under different
2836 scheduler-locking settings.
2837
2838 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
2839
2840 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
2841 to DW_FORM_addr and use non-zero addresses.
2842
2843 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
2844
2845 PR gdb/17017
2846 * gdb.python/py-xmethods.cc: Add global function call counters and
2847 increment them in their respective functions. Remove "cout"
2848 statements.
2849 * gdb.python/py-xmethods.exp: Make tests check the global function
2850 call counters instead of depending on inferior IO.
2851
2852 2014-06-18 Don Breazeal <donb@codesourcery.com>
2853
2854 * gdb.base/foll-fork.exp (default_fork_parent_follow):
2855 Deleted procedure.
2856 (explicit_fork_parent_follow): Deleted procedure.
2857 (explicit_fork_child_follow): Deleted procedure.
2858 (test_follow_fork): New procedure.
2859 (do_fork_tests): Replace calls to deleted procedures with
2860 calls to test_follow_fork and reset GDB for subsequent
2861 procedure calls.
2862
2863 2014-06-17 Yao Qi <yao@codesourcery.com>
2864
2865 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
2866 CP1252.
2867
2868 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
2869
2870 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
2871 Initialize ptr and S explicitly.
2872 (skip_type_update_when_not_use_rtti_test): Likewise.
2873
2874 2014-06-16 Keith Seitz <keiths@redhat.com>
2875
2876 PR mi/15863
2877 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
2878 the inferior is started.
2879
2880 2014-06-16 Pedro Alves <palves@redhat.com>
2881
2882 * gdb.base/break-main-file-remove-fail.c: New file.
2883 * gdb.base/break-main-file-remove-fail.exp: New file.
2884 * gdb.base/break-unload-file.exp: Use build_executable instead of
2885 prepare_for_testing.
2886 (test_break): New parameter "initial_load". Handle it.
2887 (top level): Add initial_load cmdline/file axis.
2888
2889 2014-06-12 Tom Tromey <tromey@redhat.com>
2890
2891 * gdb.base/completion.exp: Don't use directory name in test.
2892
2893 2014-06-09 Gary Benson <gbenson@redhat.com>
2894
2895 * gdb.base/sigall.c [Functions to send signals]: Reorder to
2896 separate the always-available ANSI-standard signals from the
2897 signals that require checking.
2898 (main): Likewise.
2899 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
2900 Likewise.
2901 (main): Likewise.
2902
2903 2014-06-07 Keith Seitz <keiths@redhat.com>
2904
2905 Revert:
2906 PR c++/16253
2907 * gdb.cp/var-tag.cc: New file.
2908 * gdb.cp/var-tag.exp: New file.
2909 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2910 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2911 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2912 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2913
2914 2014-06-06 Doug Evans <xdje42@gmail.com>
2915
2916 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
2917
2918 2014-06-06 Pedro Alves <palves@redhat.com>
2919
2920 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
2921 in target debug output instead of looking at RSP packets,
2922 disabling the test on any target that uses hardware stepping.
2923 Update comments.
2924
2925 2014-06-06 Pedro Alves <palves@redhat.com>
2926
2927 * gdb.base/break-unload-file.exp: Fix typo.
2928
2929 2014-06-06 Yao Qi <yao@codesourcery.com>
2930
2931 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
2932 from "jit_function" to "^jit_function".
2933
2934 2014-06-06 Yao Qi <yao@codesourcery.com>
2935
2936 * gdb.base/async.c (foo): Add one statement.
2937 * gdb.base/async.exp: Get the next instruction address and
2938 match the output of "nexti" by instruction address. Match
2939 the hex address in the output of "finish".
2940
2941 2014-06-06 Gary Benson <gbenson@redhat.com>
2942
2943 * gdb.base/call-signals.c: Remove preprocessor conditionals
2944 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
2945 SIGSEGV and SIGTERM.
2946 * gdb.base/sigall.c: Likewise.
2947 * gdb.base/unwindonsignal.c: Likewise.
2948 * gdb.reverse/sigall-reverse.c: Likewise.
2949
2950 2014-06-06 Yao Qi <yao@codesourcery.com>
2951
2952 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
2953 readable, skip the test.
2954
2955 2014-06-06 Yao Qi <yao@codesourcery.com>
2956
2957 * gdb.threads/staticthreads.c (thread_function): Move the line
2958 setting breakpoint on forward.
2959 * gdb.threads/staticthreads.exp: Update comments.
2960
2961 2014-06-05 Ludovic Courtès <ludo@gnu.org>
2962
2963 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
2964 "history-append! type error".
2965
2966 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
2967
2968 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
2969 erroneous dprintf expected input.
2970
2971 2014-06-04 Doug Evans <xdje42@gmail.com>
2972
2973 * gdb.guile/scm-generics.exp: Delete.
2974
2975 2014-06-04 Doug Evans <xdje42@gmail.com>
2976
2977 * gdb.guile/scm-breakpoint.exp: Update.
2978 Add tests for breakpoint registration.
2979
2980 2014-06-04 Tom Tromey <tromey@redhat.com>
2981
2982 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
2983 VLA-in-union.
2984 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
2985 inner_vla_struct, vla_union types. Initialize objects of those
2986 types and compute their sizes.
2987
2988 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
2989 Hui Zhu <hui@codesourcery.com>
2990
2991 * gdb.base/fileio.exp: Add test for shell not available as well as
2992 available.
2993 * gdb.base/fileio.c (test_system): Check for shell twice.
2994
2995 2014-06-04 Yao Qi <yao@codesourcery.com>
2996
2997 * gdb.base/auto-connect-native-target.exp: Remove redundant
2998 space from the regexp pattern.
2999
3000 2014-06-04 Yao Qi <yao@codesourcery.com>
3001
3002 * gdb.base/default.exp: Replace "child" with "native" in
3003 regexp pattern.
3004
3005 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3006
3007 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
3008 * gdb.python/py-xmethods.exp: New tests to test xmethods.
3009 * gdb.python/py-xmethods.py: Python script supporting the
3010 new testcase and tests.
3011
3012 2014-06-03 Joel Brobecker <brobecker@adacore.com>
3013 Pedro Alves <palves@redhat.com>
3014
3015 PR breakpoints/17000
3016 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
3017 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
3018
3019 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
3020
3021 * gdb.base/subst.exp: Add tests to verify partial path matching
3022 output.
3023
3024 2014-06-03 Pedro Alves <palves@redhat.com>
3025
3026 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
3027 target that doesn't use software single-stepping.
3028
3029 2014-06-03 Pedro Alves <palves@redhat.com>
3030
3031 PR breakpoints/17000
3032 * gdb.base/sss-bp-on-user-bp-2.c: New file.
3033 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
3034
3035 2014-06-02 Doug Evans <xdje42@gmail.com>
3036
3037 * gdb.guile/scm-parameter.exp: New file.
3038
3039 2014-06-02 Doug Evans <xdje42@gmail.com>
3040
3041 * gdb.guile/scm-cmd.c: New file.
3042 * gdb.guile/scm-cmd.exp: New file.
3043
3044 2014-06-02 Doug Evans <xdje42@gmail.com>
3045
3046 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
3047 pretty-printer lookup.
3048 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
3049 (make-pp_s-printer): Call it.
3050 (make-pretty-printer-from-dict): New function.
3051 (lookup-pretty-printer-maker-from-dict): New function.
3052 (*pretty-printer*): Simplify.
3053 (make-objfile-pp_s-printer): New function.
3054 (install-objfile-pretty-printers!): New function.
3055 (make-progspace-pp_s-printer): New function.
3056 (install-progspace-pretty-printers!): New function.
3057 * gdb.guile/scm-progspace.c: New file.
3058 * gdb.guile/scm-progspace.exp: New file.
3059
3060 2014-06-02 Pedro Alves <palves@redhat.com>
3061
3062 * gdb.base/dprintf-bp-same-addr.c: New file.
3063 * gdb.base/dprintf-bp-same-addr.exp: New file.
3064
3065 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3066
3067 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
3068 * gdb.arch/powerpc-power.s: Likewise.
3069
3070 2014-06-02 Joel Brobecker <brobecker@adacore.com>
3071
3072 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
3073
3074 2014-06-01 Yao Qi <yao@codesourcery.com>
3075
3076 * gdb.base/watchpoint.exp (test_watch_location): Check null
3077 pointer can be dereferenced. If not, do the test, otherwise
3078 skip it.
3079
3080 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
3081
3082 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
3083 results.
3084 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
3085
3086 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
3087
3088 * gdb.arch/amd64-invalid-stack-middle.S: New file.
3089 * gdb.arch/amd64-invalid-stack-middle.c: New file.
3090 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
3091 * gdb.arch/amd64-invalid-stack-top.c: New file.
3092 * gdb.arch/amd64-invalid-stack-top.exp: New file.
3093
3094 2014-05-30 Pedro Alves <palves@redhat.com>
3095
3096 PR breakpoints/17000
3097 * gdb.base/sss-bp-on-user-bp.c: New file.
3098 * gdb.base/sss-bp-on-user-bp.exp: New file.
3099
3100 2014-05-30 David Blaikie <dblaikie@gmail.com>
3101
3102 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
3103 gnu_inline semantics via attribute.
3104 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
3105 source explicitly specifies the required semantics.
3106
3107 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
3108
3109 * gdb.reverse/sigall-reverse.exp: Fix a typo.
3110
3111 2014-05-29 Pedro Alves <palves@redhat.com>
3112 Tom Tromey <tromey@redhat.com>
3113
3114 * gdb.base/async-shell.exp: Don't enable target-async.
3115 * gdb.base/async.exp
3116 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
3117 parameter. Adjust.
3118 (top level): Don't test with "target-async".
3119 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
3120 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
3121 * gdb.base/inferior-died.exp: Don't enable target-async.
3122 * gdb.base/interrupt-noterm.exp: Likewise.
3123 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
3124 * gdb.mi/mi-nonstop-exit.exp: Likewise.
3125 * gdb.mi/mi-nonstop.exp: Likewise.
3126 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
3127 * gdb.mi/mi-nsintrall.exp: Likewise.
3128 * gdb.mi/mi-nsmoribund.exp: Likewise.
3129 * gdb.mi/mi-nsthrexec.exp: Likewise.
3130 * gdb.mi/mi-watch-nonstop.exp: Likewise.
3131 * gdb.multi/watchpoint-multi.exp: Adjust comment.
3132 * gdb.python/py-evsignal.exp: Don't enable target-async.
3133 * gdb.python/py-evthreads.exp: Likewise.
3134 * gdb.python/py-prompt.exp: Likewise.
3135 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
3136 * gdb.server/solib-list.exp: Don't enable target-async.
3137 * gdb.threads/thread-specific-bp.exp: Likewise.
3138 * lib/mi-support.exp: Adjust to use mi-async.
3139
3140 2014-05-29 Pedro Alves <palves@redhat.com>
3141
3142 PR gdb/13860
3143 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
3144 reason, even in sync mode.
3145
3146 2014-05-29 Pedro Alves <palves@redhat.com>
3147 Hui Zhu <hui@codesourcery.com>
3148
3149 PR PR15693
3150 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
3151 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
3152 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
3153 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
3154
3155 2014-05-28 Joel Brobecker <brobecker@adacore.com>
3156
3157 * config/monitor.exp (gdb_target_monitor): Replace use of
3158 "set remotebaud" by "set serial baud".
3159
3160 2014-05-26 Andy Wingo <wingo@igalia.com>
3161
3162 * gdb.guile/scm-breakpoint.exp:
3163 * gdb.guile/scm-gsmob.exp: Update to use plain old object
3164 properties instead of gdb-object-properties.
3165
3166 2014-05-26 Yao Qi <yao@codesourcery.com>
3167
3168 * gdb.server/no-thread-db.exp: Specify source file name
3169 explicitly when setting a breakpoint.
3170
3171 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3172
3173 * gdb.btrace/vdso.c: New.
3174 * gdb.btrace/vdso.exp: New.
3175
3176 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3177
3178 * gdb.base/gcore.exp (capture_command_output): Move ...
3179 * lib/gdb.exp (capture_command_output): ... here.
3180
3181 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3182
3183 * gdb.btrace/data.exp: Test memory access during btrace replay.
3184
3185 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
3186
3187 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
3188
3189 2014-05-21 Pedro Alves <palves@redhat.com>
3190
3191 PR gdb/13860
3192 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
3193 (top level): Test that output related to execution commands is
3194 sent to the console with CLI commands, but not with MI commands.
3195 Test that breakpoint events are always mirrored to the console.
3196 Also expect the new source line to be output after a "next" in
3197 async mode too. Make it a pass/fail test.
3198 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
3199 output.
3200 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
3201
3202 2014-05-21 Pedro Alves <palves@redhat.com>
3203
3204 * gdb.base/list.exp (build_pattern, test_list): New procedures.
3205 Use them to test variations of "list" after reaching a breakpoint.
3206 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
3207 Test "list" with listsize 10 after reaching a breakpoint.
3208 * gdb.python/python.exp (decode_line current location line
3209 number): Adjust expected line number.
3210
3211 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
3212
3213 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
3214 behavior for $args, pass it directly to "run".
3215
3216 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3217
3218 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
3219 30000 to 65536.
3220
3221 2014-05-21 Pedro Alves <palves@redhat.com>
3222
3223 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
3224 auto-connect-native-target off".
3225 * gdb.base/auto-connect-native-target.c: New file.
3226 * gdb.base/auto-connect-native-target.exp: New file.
3227
3228 2014-05-21 Pedro Alves <palves@redhat.com>
3229
3230 * gdb.base/default.exp: Test "target native" instead of "target
3231 child".
3232
3233 2014-05-21 Mark Wielaard <mjw@redhat.com>
3234
3235 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3236
3237 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3238
3239 Fix TLS access for -static -pthread.
3240 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
3241 <HAVE_TLS> (thread_function, main): Initialize it.
3242 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
3243 Add clean_restart.
3244 <$have_tls != "">: Check TLSVAR.
3245
3246 2014-05-21 Pedro Alves <palves@redhat.com>
3247
3248 * gdb.base/dcache-line-read-error.c: New.
3249 * gdb.base/dcache-line-read-error.exp: New.
3250
3251 2014-05-20 Pedro Alves <palves@redhat.com>
3252
3253 * gdb.base/compare-sections.c: New file.
3254 * gdb.base/compare-sections.exp: New file.
3255
3256 2014-05-20 Pedro Alves <palves@redhat.com>
3257
3258 * gdb.base/break-idempotent.c: New file.
3259 * gdb.base/break-idempotent.exp: New file.
3260
3261 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
3262
3263 * gdb.btrace/nohist.exp: New.
3264
3265 2014-05-20 Yao Qi <yao@codesourcery.com>
3266
3267 * lib/gdb.exp (gdb_init): Set timeout if test file is under
3268 gdb.reverse directory and gdb_reverse_timeout exists in board
3269 setting.
3270 * README: Document gdb_reverse_timeout.
3271
3272 2014-05-20 Yao Qi <yao@codesourcery.com>
3273
3274 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
3275 'test_file_name'. Treat args as a string instead of a list.
3276 (gdb_init): Rename argument 'args' by 'test_file_name'.
3277
3278 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3279
3280 * gdb.arch/powerpc-power.exp: New file.
3281 * gdb.arch/powerpc-power.s: New file.
3282
3283 2014-05-16 Doug Evans <dje@google.com>
3284
3285 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
3286 * gdb.base/completion.exp: Check that all expected files exist
3287 before doing file completion.
3288
3289 2014-05-16 Doug Evans <dje@google.com>
3290
3291 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
3292 Update.
3293 (do_syscall_tests_without_xml): Update.
3294
3295 2014-05-16 Pedro Alves <palves@redhat.com>
3296
3297 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
3298 instead of "unknown output after running".
3299
3300 2014-05-16 Yao Qi <yao@codesourcery.com>
3301
3302 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
3303 file1.txt from host at the end.
3304 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3305
3306 2014-05-15 Doug Evans <dje@google.com>
3307
3308 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
3309 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
3310 loading file. Add test for TU lookup.
3311
3312 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3313
3314 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
3315 calling "-exec-arguments" or "set args" before running the
3316 inferior.
3317
3318 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3319
3320 * lib/mi-support.exp (mi_expect_stop): Expect message for
3321 inferiors that exit with non-zero exit code.
3322
3323 2014-05-14 Yao Qi <yao@codesourcery.com>
3324
3325 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
3326 match absolute path on remote host.
3327 (test_file_list_exec_source_files): Remove "/" from the
3328 pattern.
3329
3330 2014-05-14 Yao Qi <yao@codesourcery.com>
3331
3332 * boards/local-remote-host-notty.exp (${board}_file): New
3333 proc.
3334
3335 2014-05-07 Kyle McMartin <kyle@redhat.com>
3336
3337 Pushed by Joel Brobecker <brobecker@adacore.com>.
3338 * gdb.arch/aarch64-atomic-inst.c: New file.
3339 * gdb.arch/aarch64-atomic-inst.exp: New file.
3340
3341 2014-05-07 Yao Qi <yao@codesourcery.com>
3342
3343 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
3344 in current context" too.
3345
3346 2014-05-05 Keith Seitz <keiths@redhat.com>
3347
3348 * gdb.linespec/ls-dollar.exp: Add test for linespec
3349 file:convenience_variable.
3350
3351 2014-05-05 Yao Qi <yao@codesourcery.com>
3352
3353 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
3354 traceframes into tfile and ctf trace files. Read data from
3355 trace file and test collected data.
3356 (gdb_collect_locals_test): Likewise.
3357 (gdb_unavailable_registers_test): Likewise.
3358 (gdb_unavailable_floats): Likewise.
3359 (gdb_collect_globals_test): Likewise.
3360 (top-level): Append "ctf" to trace_file_targets if GDB
3361 supports.
3362
3363 2014-05-05 Yao Qi <yao@codesourcery.com>
3364
3365 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
3366 code to ...
3367 (gdb_collect_args_test_1): ... it. New proc.
3368 (gdb_collect_locals_test): Move some code to ...
3369 (gdb_collect_locals_test_1): ... it. New proc.
3370 (gdb_unavailable_registers_test): Move some code to ...
3371 (gdb_unavailable_registers_test_1): ... it. New proc.
3372 (gdb_unavailable_floats): Move some code to ...
3373 (gdb_unavailable_floats_1): ... it. New proc.
3374
3375 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3376
3377 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
3378 probes to test for bitness recognition.
3379 * gdb.arch/amd64-stap-optional-prefix.exp
3380 (test_probe_value_without_reg): New procedure.
3381 Add code to test for different kinds of bitness.
3382
3383 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3384
3385 PR breakpoints/16889
3386 * gdb.arch/amd64-stap-optional-prefix.S: New file.
3387 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3388
3389 2014-05-01 Pedro Alves <palves@redhat.com>
3390
3391 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
3392 gdb_file_cmd if no file is specified.
3393 * boards/native-extended-gdbserver.exp (gdb_load): Use the
3394 last_loaded_file to set the remote exec-file.
3395
3396 2014-05-01 Pedro Alves <palves@redhat.com>
3397
3398 * boards/local-remote-host.exp: New file.
3399
3400 2014-05-01 Pedro Alves <palves@redhat.com>
3401
3402 * boards/local-remote-host.exp: Rename to ...
3403 * boards/local-remote-host-notty.exp: ... this.
3404
3405 2014-04-28 Joel Brobecker <brobecker@adacore.com>
3406
3407 * gdb.ada/dyn_arrayidx: New testcase.
3408
3409 2014-04-26 Yao Qi <yao@codesourcery.com>
3410
3411 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
3412 and compute the length of function main. Save it in
3413 $main_length.
3414 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
3415 (top-level): Use gdb_compile to compile objects into
3416 executable and restart GDB. Remove invocation to
3417 prepare_for_testing.
3418
3419 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
3420 Pedro Alves <palves@redhat.com>
3421
3422 PR server/16255
3423 * gdb.multi/multi-attach.c: New file.
3424 * gdb.multi/multi-attach.exp: New file.
3425
3426 2014-04-25 Pedro Alves <palves@redhat.com>
3427
3428 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
3429 user.
3430 (top level): Test that "set remote conditional-breakpoints-packet
3431 off" works as intended.
3432 * gdb.base/dprintf.exp: Test that "set remote
3433 breakpoint-commands-packet off" works as intended.
3434 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
3435 New function.
3436 (top level): Call it.
3437 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
3438 remote fast-tracepoints-packet off" works as intended.
3439 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
3440 * lib/gdb.exp (gdb_is_target_remote): ... here.
3441
3442 2014-04-24 David Blaikie <dblaikie@gmail.com>
3443
3444 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
3445 ensure clang would not discard them.
3446 * gdb.base/gdbvars.c: Ditto.
3447 * gdb.base/memattr.c: Ditto.
3448 * gdb.base/whatis.c: Ditto.
3449 * gdb.python/py-prettyprint.c: Ditto.
3450 * gdb.trace/actions.c: Ditto.
3451 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
3452 ensure clang would not discard it.
3453
3454 2014-04-24 David Blaikie <dblaikie@gmail.com>
3455
3456 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
3457 clang to emit the full definition of type required by the test
3458 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
3459
3460 2014-04-24 David Blaikie <dblaikie@gmail.com>
3461
3462 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
3463 coax Clang into emitting the definition of the type.
3464 * gdb.cp/pr10728-x.h (y): Ditto.
3465 * gdb.cp/pr10728-y.cc (y): Ditto.
3466
3467 2014-04-24 David Blaikie <dblaikie@gmail.com>
3468
3469 * gdb.base/label.exp: XFAIL label related tests under Clang.
3470 * gdb.cp/cplabel.exp: Ditto.
3471 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
3472 under Clang those using labels.
3473
3474 2014-04-25 Yao Qi <yao@codesourcery.com>
3475
3476 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
3477 double_label.
3478 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
3479 partial_label and double_label.
3480
3481 2014-04-24 David Blaikie <dblaikie@gmail.com>
3482
3483 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
3484
3485 2014-04-24 David Blaikie <dblaikie@gmail.com>
3486
3487 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
3488 of the function to work across GCC and Clang.
3489 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
3490 pointer types (const void ** const V void **).
3491
3492 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
3493 Walfred Tedeschi <walfred.tedeschi@intel.com>
3494
3495 * Makefile.in (EXECUTABLES): Added i386-avx512.
3496 * gdb.arch/i386-avx512.c: New file.
3497 * gdb.arch/i386-avx512.exp: Likewise.
3498
3499 2014-04-23 Keith Seitz <keiths@redhat.com>
3500
3501 * lib/mi-support.exp (mi_list_breakpoints): Delete.
3502 (mi_make_breakpoint_table): New procedure.
3503 (mi_create_breakpoint): Use mi_make_breakpoint
3504 and return the result.
3505 (mi_make_breakpoint): New procedure.
3506 (mi_build_kv_pairs): New procedure.
3507
3508 * gdb.mi/mi-break.exp: Remove unused globals,
3509 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
3510 All callers updated.
3511 * gdb.mi/mi-dprintf.exp: Use variable to track command
3512 number.
3513 Update all callers of mi_create_breakpoint and use
3514 mi_make_breakpoint_table.
3515 Remove any unused global variables.
3516 * gdb.mi/mi-nonstop.exp: Likewise.
3517 * gdb.mi/mi-nsintrall.exp: Likewise.
3518 * gdb.mi/mi-nsmoribund.exp: Likewise.
3519 * gdb.mi/mi-nsthrexec.exp: Likewise.
3520 * gdb.mi/mi-reverse.exp: Likewise.
3521 * gdb.mi/mi-simplerun.exp: Likewise.
3522 * gdb.mi/mi-stepn.exp: Likewise.
3523 * gdb.mi/mi-syn-frame.exp: Likewise.
3524 * gdb.mi/mi-until.exp: Likewise.
3525 * gdb.mi/mi-var-cp.exp: Likewise.
3526 * gdb.mi/mi-var-display.exp: Likewise.
3527 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
3528 * gdb.mi/mi2-var-child.exp: Likewise.
3529 * gdb.mi/mi-vla-c99.exp: Likewise.
3530 * lib/mi-support.exp: Likewise.
3531
3532 From Ian Lance Taylor <iant@cygnus.com>:
3533 * lib/gdb.exp (parse_args): New procedure.
3534
3535 2014-04-23 Pedro Alves <palves@redhat.com>
3536
3537 * gdb.base/break-unload-file.c: New file.
3538 * gdb.base/break-unload-file.exp: New file.
3539 * gdb.base/sym-file-lib.c (baz): New function.
3540 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
3541 field.
3542 (load): Store the segment's mapped size.
3543 (unload): New function.
3544 (unload_shlib): New function.
3545 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
3546 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
3547 set a breakpoint at baz, and call it.
3548 * gdb.base/sym-file.exp: New tests for stale breakpoint
3549 instructions.
3550
3551 2014-04-23 Pedro Alves <palves@redhat.com>
3552
3553 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
3554 * gdb.base/hbreak-in-shr-unsupported.c: New file.
3555 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
3556 * gdb.base/hbreak-unmapped.c: New file.
3557 * gdb.base/hbreak-unmapped.exp: New file.
3558 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
3559 * lib/gdb.exp (gdb_is_target_remote): ... here.
3560
3561 2014-04-22 Pedro Alves <palves@redhat.com>
3562
3563 * gdb.base/consecutive-step-over.c: New file.
3564 * gdb.base/consecutive-step-over.exp: New file.
3565
3566 2014-04-22 Pedro Alves <palves@redhat.com>
3567
3568 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
3569 instead of send_gdb/gdb_expect.
3570
3571 2014-04-22 Yao Qi <yao@codesourcery.com>
3572
3573 * lib/trace-support.exp (generate_tracefile): New procedure.
3574 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
3575 return 0.
3576 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
3577 if generate_tracefile returns 1.
3578
3579 2014-04-18 Tom Tromey <palves@redhat.com>
3580 Pedro alves <tromey@redhat.com>
3581
3582 PR backtrace/15558
3583 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
3584 with a backtrace limit.
3585 * gdb.python/py-frame-inline.exp: Test running to an inline
3586 function with a backtrace limit, and printing the newest frame.
3587 * gdb.python/py-frame-inline.c (main): Call f.
3588
3589 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3590
3591 * gdb.java/jnpe.exp: Drop srcdir from untested path.
3592
3593 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3594
3595 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
3596 Drop prefix from unsupported source file path.
3597
3598 2014-04-17 Yao Qi <yao@codesourcery.com>
3599
3600 * lib/gdb.exp (with_target_charset): New proc.
3601 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
3602 with_target_charset.
3603 (test_print_strings): Likewise.
3604 (test_repeat_bytes): Likewise.
3605 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
3606 for some tests.
3607
3608 2014-04-16 Keith Seitz <keiths@redhat.com>
3609
3610 PR gdb/15827
3611 * gdb.dwarf2/corrupt.c: New file.
3612 * gdb.dwarf2/corrupt.exp: New file.
3613
3614 2014-04-16 Keith Seitz <keiths@redhat.com>
3615
3616 PR c++/16597
3617 * gdb.cp/namelessclass.cc: New file.
3618 * gdb.cp/namelessclass.exp: New file.
3619 * gdb.cp/namelessclass.S: New file.
3620
3621 2014-04-16 Doug Evans <dje@google.com>
3622
3623 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
3624 Add comment.
3625 (gdbserver_default_get_comm_port): New function.
3626 (gdbserver_start): Check if board file provided
3627 "gdbserver,get_comm_port" and use it if so.
3628 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
3629 (gdb,socketport): Set to "stdio".
3630 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
3631 (stdio_gdbserver_template): Delete.
3632 (${board}_get_remote_address): Update.
3633 (${board}_build_remote_cmd): Delete.
3634 (${board}_get_comm_port): New function.
3635 (${board}_spawn): Update.
3636 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
3637 Delete.
3638 (${board}_get_remote_address): Update.
3639 (${board}_get_comm_port): New function.
3640
3641 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
3642
3643 * gdb.base/memattr.exp: Improve regexps to handle memory regions
3644 appearing in any order.
3645
3646 2014-04-15 Doug Evans <dje@google.com>
3647
3648 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
3649 uninitialized value of "description".
3650
3651 2014-04-15 Keith Seitz <keiths@redhat.com>
3652
3653 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
3654 Remove unused globals.
3655 (test_running_the_program): Likewise.
3656 (test_controlled_execution): Likewise.
3657 (test_controlling_breakpoints): Likewise.
3658 (test_program_termination): Likewise.
3659
3660 2014-04-15 Keith Seitz <keiths@redhat.com>
3661
3662 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
3663 unused globals.
3664 (test_rbreak_creation_and_listing): Likewise.
3665 (test_ignore_count): Likewise.
3666 (test_error): Likewise.
3667
3668 2014-04-15 Pedro Alves <palves@redhat.com>
3669
3670 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
3671 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
3672 sym-file-loader.c.
3673 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3674 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3675 to sym-file-loader.c.
3676 (struct library): Forward declare.
3677 (load_shlib, lookup_function): Change prototypes.
3678 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3679 (translate_offset): Remove declarations.
3680 (get_text_addr): New declaration.
3681 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
3682 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
3683 sym-file-loader.h.
3684 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3685 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3686 here from sym-file-loader.h.
3687 (struct library): New structure.
3688 (load_shlib, lookup_function): Change prototypes and adjust to
3689 work with a struct library.
3690 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3691 (translate_offset): Make static.
3692 (get_text_addr): New function.
3693 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
3694
3695 2014-04-15 Pedro Alves <palves@redhat.com>
3696
3697 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
3698
3699 2014-04-15 Pedro Alves <palves@redhat.com>
3700
3701 * gdb.base/sym-file-loader.c: Include <limits.h>.
3702 (SELF_LINK): New define.
3703 (get_origin): New function.
3704 (load_shlib): Use it.
3705 * gdb.base/sym-file.exp: Don't early return if the target is
3706 remote. Use runto_main, and issue fail is that fails. Use
3707 gdb_load_shlibs.
3708 (shlib_name): Delete.
3709 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
3710
3711 2014-04-15 Pedro Alves <palves@redhat.com>
3712
3713 * gdb.base/sym-file.exp: Remove regex characters from test
3714 message. Don't refer to breakpoint numbers in test messages.
3715
3716 2014-04-14 Keith Seitz <keiths@redhat.com>
3717
3718 PR c++/16253
3719 * gdb.cp/var-tag.cc: New file.
3720 * gdb.cp/var-tag.exp: New file.
3721 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3722 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3723 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3724 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3725
3726 2014-04-14 Tom Tromey <tromey@redhat.com>
3727
3728 * gdb.cp/classes.exp (test_enums): Handle underlying type.
3729 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
3730 type.
3731 * gdb.cp/enum-class.exp: New file.
3732 * gdb.cp/enum-class.cc: New file.
3733
3734 2014-04-14 Tom Tromey <tromey@redhat.com>
3735
3736 * gdb.dwarf2/enum-type.exp: New file.
3737
3738 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3739
3740 * gdb.mi/mi-vla-c99.exp: New file.
3741 * gdb.mi/vla.c: New file.
3742
3743 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3744
3745 * gdb.base/vla-datatypes.c: New file.
3746 * gdb.base/vla-datatypes.exp: New file.
3747
3748 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3749
3750 * gdb.base/vla-ptr.c: New file.
3751 * gdb.base/vla-ptr.exp: New file.
3752
3753 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3754
3755 * gdb.dwarf2/count.exp: New file.
3756
3757 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3758
3759 * gdb.base/vla-sideeffect.c: New file.
3760 * gdb.base/vla-sideeffect.exp: New file.
3761
3762 2014-04-14 David Blaikie <dblaikie@gmail.com>
3763
3764 * gdb.mi/non-stop.c: Add return value for non-void function return
3765 statement.
3766 * gdb.threads/staticthreads.c: Ditto.
3767
3768 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
3769 Doug Evans <xdje42@gmail.com>
3770
3771 * gdb.guile/scm-value.c: Improve test case.
3772 * gdb.guile/scm-value.exp: Add new test.
3773
3774 2014-04-11 David Blaikie <dblaikie@gmail.com>
3775
3776 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
3777 override Clang's default.
3778
3779 2014-04-11 Joel Brobecker <brobecker@adacore.com>
3780
3781 Revert the following changes (regressions):
3782
3783 * gdb.base/vla-sideeffect.c: New file.
3784 * gdb.base/vla-sideeffect.exp: New file.
3785
3786 * gdb.dwarf2/count.exp: New file.
3787
3788 * gdb.base/vla-multi.c: New file.
3789 * gdb.base/vla-multi.exp: New file.
3790
3791 * gdb.base/vla-ptr.c: New file.
3792 * gdb.base/vla-ptr.exp: New file.
3793
3794 * gdb.base/vla-datatypes.c: New file.
3795 * gdb.base/vla-datatypes.exp: New file.
3796
3797 * gdb.mi/mi-vla-c99.exp: New file.
3798 * gdb.mi/vla.c: New file.
3799
3800 2014-04-11 Keith Seitz <keiths@redhat.com>
3801
3802 PR c++/16675
3803 * gdb.cp/cpsizeof.exp: New file.
3804 * gdb.cp/cpsizeof.cc: New file.
3805
3806 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3807
3808 * gdb.mi/mi-vla-c99.exp: New file.
3809 * gdb.mi/vla.c: New file.
3810
3811 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3812
3813 * gdb.base/vla-datatypes.c: New file.
3814 * gdb.base/vla-datatypes.exp: New file.
3815
3816 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3817
3818 * gdb.base/vla-ptr.c: New file.
3819 * gdb.base/vla-ptr.exp: New file.
3820
3821 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3822
3823 * gdb.base/vla-multi.c: New file.
3824 * gdb.base/vla-multi.exp: New file.
3825
3826 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3827
3828 * gdb.dwarf2/count.exp: New file.
3829
3830 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3831
3832 * gdb.base/vla-sideeffect.c: New file.
3833 * gdb.base/vla-sideeffect.exp: New file.
3834
3835 2014-04-11 Yao Qi <yao@codesourcery.com>
3836
3837 * gdb.base/completion.exp: Check file exists before running tests
3838 on file completion.
3839
3840 2014-04-10 Pedro Alves <palves@redhat.com>
3841
3842 * gdb.base/cond-eval-mode.c: New file.
3843 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
3844 prepare_for_testing to build the new file. Check result of
3845 runto_main.
3846 (test_break, test_watch): New procedures.
3847 (top level): Use them.
3848
3849 2014-04-08 Pierre Muller <muller@sourceware.org>
3850
3851 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
3852 Ctrl-V use for mingw hosts.
3853
3854 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
3855
3856 * gdb.python/py-value.c: Improve test case.
3857 * gdb.python/py-value.exp: Add new test.
3858
3859 2014-04-07 David Blaikie <dblaikie@gmail.com>
3860
3861 * lib/compiler.c: Identify the clang compiler.
3862 * lib/compiler.cc: Ditto.
3863
3864 2014-04-03 Yao Qi <yao@codesourcery.com>
3865
3866 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
3867
3868 2014-04-01 Anton Blanchard <anton@samba.org>
3869
3870 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
3871 messages unique.
3872
3873 2014-04-01 Anton Blanchard <anton@samba.org>
3874
3875 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
3876 prepare_for_testing.
3877
3878 2014-04-01 Anton Blanchard <anton@samba.org>
3879
3880 * gdb.arch/ppc64-atomic-inst.c: Remove.
3881 * gdb.arch/ppc64-atomic-inst.S: New file.
3882 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
3883
3884 2014-03-31 Doug Evans <dje@google.com>
3885
3886 * gdb.base/print-symbol-loading-lib.c: New file.
3887 * gdb.base/print-symbol-loading-main.c: New file.
3888 * gdb.base/print-symbol-loading.exp: New file.
3889
3890 2014-03-31 Yao Qi <yao@codesourcery.com>
3891
3892 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
3893
3894 2014-03-28 Joel Brobecker <brobecker@adacore.com>
3895
3896 * gdb.ada/mi_dyn_arr: New testcase.
3897
3898 2014-03-27 Doug Evans <dje@google.com>
3899
3900 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
3901
3902 2014-03-27 Yao Qi <yao@codesourcery.com>
3903
3904 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
3905 if target is nios2-*-*.
3906
3907 2014-03-26 Yao Qi <yao@codesourcery.com>
3908
3909 * lib/gdb.exp (readline_is_used): New proc.
3910 * gdb.base/completion.exp: Move tests on command complete up.
3911 Skip the rest of tests if readline is not used.
3912 * gdb.ada/complete.exp: Skp the test if readline is not
3913 used.
3914 * gdb.base/filesym.exp: Likewise.
3915 * gdb.base/macscp.exp: Likewise.
3916 * gdb.base/readline-ask.exp: Likewise.
3917 * gdb.base/readline.exp: Likewise.
3918 * gdb.python/py-cmd.exp: Likewise.
3919 * gdb.trace/tfile.exp: Likewise.
3920
3921 2014-03-26 Yao Qi <yao@codesourcery.com>
3922
3923 * gdb.base/macscp.exp: Fix code format issues.
3924
3925 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
3926
3927 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
3928 * gdb.asm/powerpc64le.inc: New file.
3929
3930 2014-03-25 Pedro Alves <palves@redhat.com>
3931 Doug Evans <dje@google.com>
3932
3933 * gdb.base/source-execution.c: New file.
3934 * gdb.base/source-execution.exp: New file.
3935 * gdb.base/source-execution.gdb: New file.
3936
3937 2014-03-24 Doug Evans <dje@google.com>
3938
3939 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
3940 using fission.
3941
3942 2014-03-24 Hui Zhu <hui@codesourcery.com>
3943 Pedro Alves <palves@redhat.com>
3944
3945 PR breakpoints/16101
3946 * gdb.base/dprintf.exp: Use unsupported rather than changing the
3947 test pass/fail messages. Detect missing support for dprintf when
3948 breakpoints are actually inserted.
3949 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
3950 breakpoints are actually inserted.
3951 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
3952 fails.
3953
3954 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3955
3956 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
3957
3958 2014-03-22 Doug Evans <xdje42@gmail.com>
3959
3960 * gdb.python/python.exp (python not supported): Verify multi-line
3961 python command issues an error.
3962 * gdb.guile/guile.exp (guile not supported): Verify multi-line
3963 guile command issues an error.
3964
3965 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
3966
3967 * gdb.threads/thread-specific.exp: Handle the lack of usable
3968 $this_breakpoint and $this_thread.
3969
3970 2014-03-21 Hui Zhu <hui@codesourcery.com>
3971
3972 * gdb.base/attach.exp (do_command_attach_tests): New.
3973
3974 2014-03-20 Tom Tromey <tromey@redhat.com>
3975 Pedro Alves <palves@redhat.com>
3976
3977 PR cli/15718
3978 * gdb.base/condbreak-call-false.c: New file.
3979 * gdb.base/condbreak-call-false.exp: New file.
3980
3981 2014-03-20 Pedro Alves <palves@redhat.com>
3982
3983 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
3984 Delete.
3985 (block_signals, unblock_signals): Delete.
3986 (child_function_2, main): Remove references to deleted variable
3987 and functions.
3988
3989 2014-03-20 Pedro Alves <palves@redhat.com>
3990
3991 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
3992 Use pthread_kill to signal thread 2.
3993 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3994 Adjust to make the test send itself a signal rather than using the
3995 host's "kill" command.
3996
3997 2014-03-20 Pedro Alves <palves@redhat.com>
3998
3999 * gdb.threads/multiple-step-overs.c: New file.
4000 * gdb.threads/multiple-step-overs.exp: New file.
4001 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4002 Adjust expected infrun debug output.
4003
4004 2014-03-20 Pedro Alves <palves@redhat.com>
4005
4006 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
4007 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
4008
4009 2014-03-20 Pedro Alves <palves@redhat.com>
4010
4011 PR breakpoints/7143
4012 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
4013 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
4014 of gdb_test_multiple.
4015 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
4016 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
4017
4018 2014-03-20 Pedro Alves <palves@redhat.com>
4019
4020 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
4021 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
4022
4023 2014-03-19 Pedro Alves <palves@redhat.com>
4024
4025 * gdb.base/async.exp: Remove early return.
4026
4027 2014-03-19 Pedro Alves <palves@redhat.com>
4028
4029 * gdb.base/async.exp (step& tests): Pass explicit test messages.
4030
4031 2014-03-19 Pedro Alves <palves@redhat.com>
4032
4033 * gdb.base/async.exp (test_background): Expect \r\n after
4034 "completed." in the fail pattern.
4035
4036 2014-03-19 Pedro Alves <palves@redhat.com>
4037
4038 * gdb.base/async.exp (test_background): New procedure.
4039 Use it for all background execution command tests.
4040
4041 2014-03-19 Pedro Alves <palves@redhat.com>
4042
4043 * gdb.base/async.exp: Use prepare_for_testing.
4044
4045 2014-03-19 Pedro Alves <palves@redhat.com>
4046
4047 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
4048 the same line.
4049
4050 2014-03-19 Pedro Alves <palves@redhat.com>
4051
4052 * gdb.base/async.c (main): Add "jump here" and "until here" line
4053 marker comments.
4054 * gdb.base/async.exp (jump_here): New global.
4055 (jump& test): Use it.
4056 (until_here): New global.
4057 (until& test): Use it.
4058
4059 2014-03-19 Pedro Alves <palves@redhat.com>
4060
4061 * gdb.base/async.exp: Don't frob gdb_protocol.
4062
4063 2014-03-18 Doug Evans <xdje42@gmail.com>
4064
4065 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
4066 Fix spelling of exec-done-display.
4067
4068 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4069
4070 PR gdb/15358
4071 * gdb.base/gdb-sigterm.c: New file.
4072 * gdb.base/gdb-sigterm.exp: New file.
4073
4074 2014-03-18 Pedro Alves <palves@redhat.com>
4075
4076 PR gdb/13860
4077 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
4078 * lib/mi-support.exp (mi_expect_stop): Add special handling for
4079 solib-event.
4080
4081 2014-03-17 Joel Brobecker <brobecker@adacore.com>
4082
4083 * gdb.ada/pckd_arr_ren: New testcase.
4084
4085 2014-03-13 Doug Evans <xdje42@gmail.com>
4086
4087 PR guile/16612
4088 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
4089 collect after discarding symbols.
4090
4091 2014-03-13 Ludovic Courtès <ludo@gnu.org>
4092 Doug Evans <xdje42@gmail.com>
4093
4094 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
4095 to history survives a gc.
4096
4097 2014-03-13 Pedro Alves <palves@redhat.com>
4098
4099 * gdb.base/default.exp: Don't test "target procfs".
4100
4101 2014-03-13 Pedro Alves <palves@redhat.com>
4102
4103 * gdb.base/default.exp: Update "target child" and "target procfs"
4104 tests to not expect "Unix".
4105
4106 2014-03-12 Tom Tromey <tromey@redhat.com>
4107
4108 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
4109 New procs. Add target-async tests.
4110 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
4111 Add target-async tests.
4112
4113 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4114
4115 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
4116 'func_start' and 'func_end' for the beginning and end of the
4117 function code, respectively.
4118 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
4119 'func_end' instead of 'func' and 'main'.
4120
4121 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4122
4123 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
4124 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
4125 generate the debug info assembler source.
4126
4127 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4128
4129 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
4130 * gdb.dwarf2/arr-subrange.exp: Likewise.
4131 * gdb.dwarf2/dwz.exp: Likewise.
4132 * gdb.dwarf2/method-ptr.exp: Likewise.
4133 * gdb.dwarf2/missing-sig-type.exp: Likewise.
4134 * gdb.dwarf2/subrange.exp: Likewise.
4135 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
4136 * gdb.dwarf2/implptrpiece.exp: Likewise.
4137 * gdb.dwarf2/nostaticblock.exp: Likewise.
4138
4139 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4140
4141 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
4142 directory to absolute path name arguments.
4143
4144 2014-03-10 Joel Brobecker <brobecker@adacore.com>
4145
4146 * gdb.ada/tagged_access: New testcase.
4147
4148 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
4149
4150 * gdb.btrace/data.exp: Update expected output.
4151
4152 2014-03-06 Yao Qi <yao@codesourcery.com>
4153
4154 * gdb.trace/pr16508.exp: New file.
4155
4156 2014-03-05 Pedro Alves <palves@redhat.com>
4157
4158 PR gdb/16575
4159 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
4160 procedure.
4161 (top level): Adjust to use it. Add tests that exercise breakpoint
4162 interaction with the code-cache.
4163
4164 2014-02-26 Ludovic Courtès <ludo@gnu.org>
4165
4166 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
4167 test for 'history-append!'.
4168
4169 2014-02-26 Joel Brobecker <brobecker@adacore.com>
4170
4171 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
4172 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
4173 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
4174 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
4175 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
4176 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
4177
4178 2014-02-26 Joel Brobecker <brobecker@adacore.com>
4179
4180 * testsuite/gdb.python/py-pp-re-notag.c: New file.
4181 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
4182 * testsuite/gdb.python/py-pp-re-notag.p: New file.
4183
4184 2014-02-26 Joel Brobecker <brobecker@adacore.com>
4185
4186 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
4187
4188 2014-02-26 Joel Brobecker <brobecker@adacore.com>
4189
4190 * gdb.dwarf2/arr-stride.c: New file.
4191 * gdb.dwarf2/arr-stride.exp: New file.
4192
4193 2014-02-26 Pedro Alves <palves@redhat.com>
4194
4195 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
4196 that won't ever trigger. Make sure that GDB reports the correct
4197 breakpoint that caused the stop.
4198
4199 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4200
4201 PR gdb/16626
4202 * gdb.base/auto-load-script: New file.
4203 * gdb.base/auto-load.c: New file.
4204 * gdb.base/auto-load.exp: New file.
4205
4206 PR gdb/16626
4207 * gdb.base/auto-load.exp: Fix out-of-srctree run.
4208
4209 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4210
4211 Fix dw2-icycle.exp -fsanitize=address GDB crash.
4212 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
4213
4214 2014-02-24 Doug Evans <dje@google.com>
4215
4216 * lib/gdb.exp (run_on_host): Log error output if program fails.
4217
4218 2014-02-21 Pedro Alves <palves@redhat.com>
4219
4220 * gdb.threads/step-after-sr-lock.c: Rename to ...
4221 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
4222 * gdb.threads/step-after-sr-lock.exp: Rename to ...
4223 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4224 ... this.
4225
4226 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
4227
4228 PR tdep/16397
4229 * gdb.arch/amd64-stap-special-operands.exp: New file.
4230 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
4231 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
4232 * gdb.arch/amd64-stap-triplet.S: Likewise.
4233 * gdb.arch/amd64-stap-triplet.c: Likewise.
4234
4235 2014-02-20 Joel Brobecker <brobecker@adacore.com>
4236
4237 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
4238 in .section pseudo-op.
4239
4240 2014-02-20 lin zuojian <manjian2006@gmail.com>
4241 Joel Brobecker <brobecker@adacore.com>
4242 Doug Evans <xdje42@gmail.com>
4243
4244 PR symtab/16581
4245 * gdb.dwarf2/dw2-icycle.S: New file.
4246 * gdb.dwarf2/dw2-icycle.c: New file.
4247 * gdb.dwarf2/dw2-icycle.exp: New file.
4248
4249 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
4250
4251 * gdb.python/py-value-cc.cc: Improve test case to enable testing
4252 operations on gdb.Value objects.
4253 * gdb.python/py-value-cc.exp: Add new test to test operations on
4254 gdb.Value objects.
4255
4256 2014-02-18 Doug Evans <dje@google.com>
4257
4258 * Makefile.in (TESTS): New variable.
4259 (expanded_tests, expanded_tests_or_none): New variables
4260 (check-single): Pass $(expanded_tests_or_none) to runtest.
4261 (check-parallel): Only run tests in $(TESTS) if non-empty.
4262 (check/no-matching-tests-found): New rule.
4263 * README: Document TESTS makefile variable.
4264
4265 2014-02-18 Doug Evans <dje@google.com>
4266
4267 * Makefile.in (check-parallel): rm -rf outputs temp.
4268
4269 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4270
4271 Fix "ERROR: no fileid for" in the testsuite.
4272 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
4273
4274 2014-02-12 Doug Evans <dje@google.com>
4275
4276 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
4277 (MISCELLANEOUS): New variable.
4278 (clean): rm -rf $(MISCELLANEOUS).
4279 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
4280 dwp live in the same directory as symlinks, with each symlink pointed
4281 to a differently named file in a different directory.
4282
4283 2014-02-11 Doug Evans <dje@google.com>
4284
4285 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
4286 of Tcl file commands.
4287
4288 2014-02-10 Mark Kettenis <kettenis@gnu.org>
4289
4290 * gdb.threads/step-after-sr-lock.exp: Avoid executing
4291 "kill -SIGUSR1 -1".
4292
4293 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4294
4295 * gdb.ada/tick_length_array_enum_idx: New testcase.
4296
4297 2014-02-10 Doug Evans <xdje42@gmail.com>
4298
4299 * configure.ac (AC_OUTPUT): Add gdb.guile.
4300 * configure: Regenerate.
4301 * lib/gdb-guile.exp: New file.
4302 * lib/gdb.exp (get_target_charset): New function.
4303 * gdb.base/help.exp: Update expected output from "apropos apropos".
4304 * gdb.guile/Makefile.in: New file.
4305 * gdb.guile/guile.exp: New file.
4306 * gdb.guile/scm-arch.c: New file.
4307 * gdb.guile/scm-arch.exp: New file.
4308 * gdb.guile/scm-block.c: New file.
4309 * gdb.guile/scm-block.exp: New file.
4310 * gdb.guile/scm-breakpoint.c: New file.
4311 * gdb.guile/scm-breakpoint.exp: New file.
4312 * gdb.guile/scm-disasm.c: New file.
4313 * gdb.guile/scm-disasm.exp: New file.
4314 * gdb.guile/scm-equal.c: New file.
4315 * gdb.guile/scm-equal.exp: New file.
4316 * gdb.guile/scm-error.exp: New file.
4317 * gdb.guile/scm-error.scm: New file.
4318 * gdb.guile/scm-frame-args.c: New file.
4319 * gdb.guile/scm-frame-args.exp: New file.
4320 * gdb.guile/scm-frame-args.scm: New file.
4321 * gdb.guile/scm-frame-inline.c: New file.
4322 * gdb.guile/scm-frame-inline.exp: New file.
4323 * gdb.guile/scm-frame.c: New file.
4324 * gdb.guile/scm-frame.exp: New file.
4325 * gdb.guile/scm-generics.exp: New file.
4326 * gdb.guile/scm-gsmob.exp: New file.
4327 * gdb.guile/scm-iterator.c: New file.
4328 * gdb.guile/scm-iterator.exp: New file.
4329 * gdb.guile/scm-math.c: New file.
4330 * gdb.guile/scm-math.exp: New file.
4331 * gdb.guile/scm-objfile-script-gdb.in: New file.
4332 * gdb.guile/scm-objfile-script.c: New file.
4333 * gdb.guile/scm-objfile-script.exp: New file.
4334 * gdb.guile/scm-objfile.c: New file.
4335 * gdb.guile/scm-objfile.exp: New file.
4336 * gdb.guile/scm-ports.exp: New file.
4337 * gdb.guile/scm-pretty-print.c: New file.
4338 * gdb.guile/scm-pretty-print.exp: New file.
4339 * gdb.guile/scm-pretty-print.scm: New file.
4340 * gdb.guile/scm-section-script.c: New file.
4341 * gdb.guile/scm-section-script.exp: New file.
4342 * gdb.guile/scm-section-script.scm: New file.
4343 * gdb.guile/scm-symbol.c: New file.
4344 * gdb.guile/scm-symbol.exp: New file.
4345 * gdb.guile/scm-symtab-2.c: New file.
4346 * gdb.guile/scm-symtab.c: New file.
4347 * gdb.guile/scm-symtab.exp: New file.
4348 * gdb.guile/scm-type.c: New file.
4349 * gdb.guile/scm-type.exp: New file.
4350 * gdb.guile/scm-value-cc.cc: New file.
4351 * gdb.guile/scm-value-cc.exp: New file.
4352 * gdb.guile/scm-value.c: New file.
4353 * gdb.guile/scm-value.exp: New file.
4354 * gdb.guile/source2.scm: New file.
4355 * gdb.guile/types-module.cc: New file.
4356 * gdb.guile/types-module.exp: New file.
4357
4358 2014-02-10 Yao Qi <yao@codesourcery.com>
4359
4360 PR testsuite/16543
4361 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
4362 * configure: Regenerated.
4363 * Makefile.in: New file.
4364
4365 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
4366
4367 * gdb.python/py-framefilter.exp: Fix typo.
4368
4369 2014-02-08 Yao Qi <yao@codesourcery.com>
4370
4371 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
4372 that no =breakpoint-modified is emitted when breakpoints are
4373 modified through MI commands.
4374
4375 2014-02-07 Pedro Alves <pedro@codesourcery.com>
4376 Pedro Alves <palves@redhat.com>
4377
4378 * gdb.threads/step-after-sr-lock.c: New file.
4379 * gdb.threads/step-after-sr-lock.exp: New file.
4380
4381 2014-02-07 Pedro Alves <palves@redhat.com>
4382
4383 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
4384
4385 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4386
4387 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
4388 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
4389
4390 2014-02-06 Doug Evans <xdje42@gmail.com>
4391
4392 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
4393 output.
4394
4395 * gdb.gdb/python-interrupts.exp: New file.
4396
4397 2014-02-05 Yao Qi <yao@codesourcery.com>
4398
4399 * gdb.trace/report.exp (use_collected_data): Test the output
4400 of "info threads" and "info inferiors".
4401
4402 2014-02-05 Yao Qi <yao@codesourcery.com>
4403
4404 Revert this patch:
4405
4406 2013-05-24 Yao Qi <yao@codesourcery.com>
4407
4408 * gdb.trace/tfile.exp: Test inferior and thread.
4409
4410 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4411
4412 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
4413 on a function.
4414 * gdb.base/step-bt.c: Call hello via function pointer to make
4415 sure its first instruction is executed on powerpc64le-linux.
4416
4417 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4418
4419 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
4420
4421 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4422
4423 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
4424 of the test patterns for use on little-endian systems.
4425
4426 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4427
4428 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
4429 (decimal_vector): Fix for little-endian.
4430
4431 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4432
4433 * gdb.arch/sparc-sysstep.exp: New file.
4434 * gdb.arch/sparc-sysstep.c: Likewise.
4435
4436 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
4437
4438 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4439
4440 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
4441
4442 2014-01-23 Tom Tromey <tromey@redhat.com>
4443
4444 * gdb.ada/array_char_idx: New testcase.
4445
4446 2014-01-23 Tom Tromey <tromey@redhat.com>
4447
4448 PR python/16487:
4449 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
4450 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
4451 classes.
4452
4453 2014-01-23 Tom Tromey <tromey@redhat.com>
4454
4455 PR python/16491:
4456 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
4457 string from an inferior frame.
4458 * gdb.python/py-framefilter-mi.exp: Update.
4459
4460 2014-01-22 Doug Evans <dje@google.com>
4461
4462 * gdb.server/server-mon.exp: Add tests for "set debug-format".
4463
4464 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4465
4466 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
4467
4468 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4469
4470 * gdb.trace/entry-values.exp: Remove excess space character from
4471 regex patterns. Handle s390 call instruction.
4472
4473 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4474
4475 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
4476 define "*_start" label. Make "name" static.
4477 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
4478 ${name} by references to ${name}_start.
4479
4480 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4481
4482 * gdb.base/info-macros.exp: Remove "debug" from the compile
4483 options.
4484
4485 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4486
4487 * gdb.dlang/demangle.exp: New file.
4488
4489 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4490
4491 * gdb.dlang/primitive-types.exp: New file.
4492
4493 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4494
4495 * configure.ac: Create gdb.dlang/Makefile.
4496 * configure: Regenerate.
4497 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
4498 * gdb.dlang/Makefile.in: New file.
4499 * lib/d-support.exp: New file.
4500 * lib/gdb.exp (skip_d_tests): New proc.
4501
4502 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4503
4504 * gdb.btrace/delta.exp: Check reverse stepi.
4505 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
4506 * gdb.btrace/finish.exp: New.
4507 * gdb.btrace/next.exp: New.
4508 * gdb.btrace/nexti.exp: New.
4509 * gdb.btrace/record_goto.c: Add comments.
4510 * gdb.btrace/step.exp: New.
4511 * gdb.btrace/stepi.exp: New.
4512 * gdb.btrace/multi-thread-step.c: New.
4513 * gdb.btrace/multi-thread-step.exp: New.
4514 * gdb.btrace/rn-dl-bind.c: New.
4515 * gdb.btrace/rn-dl-bind.exp: New.
4516 * gdb.btrace/data.c: New.
4517 * gdb.btrace/data.exp: New.
4518 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4519
4520 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4521
4522 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
4523 * gdb.btrace/exception.exp: Update.
4524 * gdb.btrace/instruction_history.exp: Update.
4525 * gdb.btrace/record_goto.exp: Update.
4526 * gdb.btrace/tailcall.exp: Update.
4527 * gdb.btrace/unknown_functions.exp: Update.
4528 * gdb.btrace/delta.exp: New.
4529
4530 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4531
4532 * gdb.btrace/record_goto.exp: Add backtrace test.
4533 * gdb.btrace/tailcall.exp: Add backtrace test.
4534
4535 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4536
4537 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
4538 * gdb.btrace/record_goto.c: New.
4539 * gdb.btrace/record_goto.exp: New.
4540 * gdb.btrace/x86-record_goto.S: New.
4541
4542 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4543
4544 * gdb.btrace/function_call_history.exp: Update tests.
4545 * gdb.btrace/instruction_history.exp: Update tests.
4546
4547 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4548
4549 * gdb.btrace/function_call_history.exp: Fix expected field
4550 order for "record function-call-history".
4551 Add new tests for "record function-call-history /c".
4552 * gdb.btrace/exception.cc: New.
4553 * gdb.btrace/exception.exp: New.
4554 * gdb.btrace/tailcall.exp: New.
4555 * gdb.btrace/x86-tailcall.S: New.
4556 * gdb.btrace/x86-tailcall.c: New.
4557 * gdb.btrace/unknown_functions.c: New.
4558 * gdb.btrace/unknown_functions.exp: New.
4559 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4560
4561 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4562
4563 * gdb.btrace/instruction_history.exp: Update.
4564 * gdb.btrace/function_call_history.exp: Update.
4565
4566 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4567
4568 * gdb.btrace/function_call_history.exp: Fix expected function
4569 trace.
4570 * gdb.btrace/instruction_history.exp: Initialize traced.
4571 Remove traced_functions.
4572
4573 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4574
4575 * gdb.btrace/function_call_history.exp: Update
4576 * gdb.btrace/instruction_history.exp: Update.
4577
4578 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4579
4580 * gdb.btrace/enable.exp: Update expected text.
4581
4582 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
4583
4584 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
4585 bytes.
4586
4587 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
4588
4589 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
4590
4591 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4592
4593 * lib/gdb.exp (supports_process_record): Return true for
4594 arm*-linux*. (supports_reverse): Likewise.
4595
4596 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4597
4598 PR python/15464
4599 PR python/16113
4600 * gdb.python/py-type.c: Enhance test case.
4601 * gdb.python/py-value-cc.cc: Likewise
4602 * gdb.python/py-type.exp: Add new tests.
4603 * gdb.python/py-value-cc.exp: Likewise
4604
4605 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
4606 Pedro Alves <palves@redhat.com>
4607
4608 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
4609 Make "name" extern.
4610 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
4611 references to ${name}_start by references to ${name}.
4612
4613 2014-01-10 Joel Brobecker <brobecker@adacore.com>
4614
4615 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
4616
4617 2014-01-10 Joel Brobecker <brobecker@adacore.com>
4618
4619 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
4620
4621 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
4622 Pedro Alves <palves@redhat.com>
4623
4624 * gdb.mi/mi-info-os.exp: Connect to the target with
4625 mi_gdb_target_load.
4626
4627 2014-01-08 Pedro Alves <palves@redhat.com>
4628
4629 * gdb.threads/reconnect-signal.c: New file.
4630 * gdb.threads/reconnect-signal.exp: New file.
4631
4632 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4633
4634 * gdb.base/source-dir.exp: New file.
4635
4636 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4637
4638 * gdb.ada/mi_interface: New testcase.
4639
4640 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4641
4642 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
4643 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
4644 gdb.ada/pp-rec-component/pck.ads: New files.
4645
4646 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4647
4648 * gdb.python/py-pp-integral.c: New file.
4649 * gdb.python/py-pp-integral.py: New file.
4650 * gdb.python/py-pp-integral.exp: New file.
4651
4652 For older changes see ChangeLog-1993-2013.
4653 \f
4654 ;; Local Variables:
4655 ;; mode: change-log
4656 ;; left-margin: 8
4657 ;; fill-column: 74
4658 ;; version-control: never
4659 ;; End:
4660
4661 Copyright 2014-2015 Free Software Foundation, Inc.
4662 Copying and distribution of this file, with or without modification,
4663 are permitted provided the copyright notice and this notice are preserved.
This page took 0.126033 seconds and 5 git commands to generate.