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