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