]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Add chdr_size, Chdr, Chdr_write and Chdr_data
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
4496bed7
PA
12015-04-08 Pedro Alves <palves@redhat.com>
2
3 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
5 gdb_breakpoint instead of gdb_test that doesn't expect anything.
6 Return early if running to main fails.
7 * gdb.trace/while-stepping.exp: Likewise.
8
b97fde92
PA
92015-04-07 Pedro Alves <palves@redhat.com>
10
11 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
12 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
13 interact with inferior program.
14
f71c18e7
PA
152015-04-07 Pedro Alves <palves@redhat.com>
16
17 * lib/gdb.exp (inferior_spawn_id): New global.
18 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
19 spawn id after processing the user code.
20 (default_gdb_start): Set inferior_spawn_id.
21 (send_inferior): New procedure.
22 * lib/gdbserver-support.exp (gdbserver_start): Set
23 inferior_spawn_id.
24 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
25
6423214f
PA
262015-04-07 Pedro Alves <palves@redhat.com>
27
28 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
29 * lib/gdbserver-support.exp (gdbserver_start): Make
30 $server_spawn_id global.
31 (gdbserver_start): Don't wait for gdbserver's spawn id with
32 expect_background.
33 (close_gdbserver): New procedure.
34 (gdb_exit): Rename the default version and reimplement.
35
71c0ee8c
PA
362015-04-07 Pedro Alves <palves@redhat.com>
37
38 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
39 append the substituted item, not the original item.
40
203bc29b
PA
412015-04-07 Pedro Alves <palves@redhat.com>
42
43 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
44 gdb_expect.
45
508a3ddf
PA
462015-04-07 Pedro Alves <palves@redhat.com>
47
48 * gdb.base/interrupt.exp: Don't handle the case of the inferior
49 output appearing once only.
50
9f6dbe2b
PA
512015-04-07 Pedro Alves <palves@redhat.com>
52
53 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
54 that doesn't expect anything. Return early if running to main
55 fails.
56
337532fa
YQ
572015-04-07 Yao Qi <yao.qi@linaro.org>
58
59 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
60 (child_function): Call alarm.
61 (main): Move call to alarm into the loop.
62 * gdb.threads/non-stop-fair-events.exp: Build program with
63 -DTIMEOUT=$timeout.
64
01b622d4
DE
652015-04-06 Doug Evans <xdje42@gmail.com>
66
67 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
68 Fix dest parameter to board_info.
69 (fpc_compile): Ditto.
70 (gdb_compile_pascal): Rename dest arg to destfile.
71
961f4160
PMR
722015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
73
74 * gdb.ada/funcall_ref.exp: New file.
75 * gdb.ada/funcall_ref/foo.adb: New file.
76
cafda597
YQ
772015-04-02 Yao Qi <yao.qi@linaro.org>
78
79 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
80 is remote.
81
fed040c6
GB
822015-04-02 Gary Benson <gbenson@redhat.com>
83
84 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
85
d11916aa
SS
862015-04-01 Sasha Smundak <asmundak@google.com>
87
88 * gdb.python/py-unwind-maint.c: New file.
89 * gdb.python/py-unwind-maint.exp: New test.
90 * gdb.python/py-unwind-maint.py: New file.
91 * gdb.python/py-unwind.c: New file.
92 * gdb.python/py-unwind.exp: New test.
93 * gdb.python/py-unwind.py: New test.
94
a1471180
PA
952015-04-01 Pedro Alves <palves@redhat.com>
96
97 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
98 to fail instead of non-existent $test.
99
0bbeccb1
PA
1002015-04-01 Pedro Alves <palves@redhat.com>
101
102 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
103 GDBFLAGS if not empty.
104
3c724c8c
PMR
1052015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
106
107 * gdb.ada/complete.exp: Remove "multi_line".
108 * gdb.ada/info_exc.exp: Remove "multi_line".
109 * gdb.ada/packed_tagged.exp: Remove "multi_line".
110 * gdb.ada/ptype_field.exp: Remove "multi_line".
111 * gdb.ada/sym_print_name.exp: Remove "multi_line".
112 * gdb.ada/tagged.exp: Remove "multi_line".
113 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
114 [multi_line ...]
115 * gdb.btrace/delta.exp: Likewise.
116 * gdb.btrace/exception.exp: Likewise.
117 * gdb.btrace/function_call_history.exp: Likewise.
118 * gdb.btrace/instruction_history.exp: Likewise.
119 * gdb.btrace/nohist.exp: Likewise.
120 * gdb.btrace/record_goto.exp: Likewise.
121 * gdb.btrace/segv.exp: Likewise.
122 * gdb.btrace/stepi.exp: Likewise.
123 * gdb.btrace/tailcall.exp: Likewise.
124 * gdb.btrace/unknown_functions.exp: Likewise.
125 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
126 * lib/gdb.exp: Add the "multi_line" helper.
127
4eec2deb
PA
1282015-04-01 Pedro Alves <palves@redhat.com>
129
130 * gdb.threads/tid-reuse.c: New file.
131 * gdb.threads/tid-reuse.exp: New file.
132
df8411da
SDJ
1332015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
134
135 PR corefiles/16092
136 * gdb.base/coredump-filter.c: New file.
137 * gdb.base/coredump-filter.exp: Likewise.
138
6ef37366
PM
1392015-03-27 Petr Machata <pmachata@redhat.com>
140
141 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
142 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
143 (Dwarf::assemble): Initialize them.
144 (Dwarf::lines): New function.
145
7ec911b0
JT
1462015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
147
148 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
149 SYMBOL_PREFIX for x86_64-*-cygwin.
150
ff908ebf
AW
1512015-03-26 Andy Wingo <wingo@igalia.com>
152
153 PR symtab/18148
154 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
155 const_value but not a location.
156 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
157 location defined in non-main CUs are visible.
158
6d5f0679
YQ
1592015-03-26 Yao Qi <yao.qi@linaro.org>
160
161 PR testsuite/18139
162 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
163 Add a line number entry for the same line.
164 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
165 Add a line number entry for the same line.
166
2898689b
YQ
1672015-03-26 Yao Qi <yao.qi@linaro.org>
168
169 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
170 .int 0.
171 (func): Likewise. Add .Lfunc_1 label.
172 Use .Lfunc_1 label.
173 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
174 .int 0.
175 (func): Likewise.
176 Use .Lfunc_1 label.
177
85180498
YQ
1782015-03-26 Yao Qi <yao.qi@linaro.org>
179
180 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
181 Call gdb_compile instead to compile each .s files without debug
182 information.
183
8aa08a8d
YQ
1842015-03-26 Yao Qi <yao.qi@linaro.org>
185
186 * gdb.base/savedregs.exp (process_saved_regs): Make
187 "Saved registers:" optional in the pattern.
188
66849923
MM
1892015-03-25 Markus Metzger <markus.t.metzger@intel.com>
190
191 * gdb.btrace/next.exp: Merged into step.exp.
192 * gdb.btrace/finish.exp: Merged into step.exp.
193 * gdb.btrace/nexti.exp: Merged into stepi.exp.
194 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
195 "record goto" and checking the exact replay position.
196 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
197 check for "Recording format" in "info record" output.
198 * gdb.btrace/record_goto.exp: Choose test file based on target.
199 * gdb.btrace/x86-record_goto.S: Renamed into ...
200 * gdb.btrace/x86_64-record_goto.S: ... this.
201 * gdb.btrace/i686-record_goto.S: New.
202 * gdb.btrace/x86-tailcall.S: Renamed into ...
203 * gdb.btrace/x86_64-tailcall.S: ... this.
204 * gdb.btrace/i686-tailcall.S: New.
205 * gdb.btrace/x86-tailcall.c: Renamed into ...
206 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
207 separate statements. Update test.
208 * gdb.btrace/delta.exp: Use record_goto.c as test file.
209 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
210 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
211 * gdb.btrace/tailcall.exp: Choose test file based on target.
212 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
213
11cc1b74
MM
2142015-03-25 Markus Metzger <markus.t.metzger@intel.com>
215
216 * gdb.btrace/exception.exp: Increase BTS buffer size.
217
a25d8bf9
PA
2182015-03-24 Pedro Alves <palves@redhat.com>
219
220 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
221
856e7dd6
PA
2222015-03-24 Pedro Alves <palves@redhat.com>
223
224 * gdb.threads/schedlock.exp (test_step): No longer expect that
225 "set scheduler-locking step" with "next" over a function call runs
226 threads unlocked.
227
ad235a41
AT
2282015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
229
230 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
231
15630549
AT
2322015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
233
234 PR breakpoints/16466
235 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
236 * gdb.mi/mi-pending.c (thread_func): New function.
237 (int main): Add threading support required.
238 * gdb.mi/mi-pending.exp: Add tests for this issue.
239 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
240 (pendfunc2): Remove stdio dependency.
241 * gdb.mi/mi-pendshr2.c: New file.
242
693dca06
KS
2432015-03-23 Keith Seitz <keiths@redhat.com>
244
245 * gdb.linespec/keywords.c: New file.
246 * gdb.linespec/keywords.exp: New file.
247
7e993ebf
KS
2482015-03-23 Keith Seitz <keiths@redhat.com>
249
250 PR gdb/18021
251 * gdb.dwarf2/staticvirtual.exp: New test.
252
bc23328c
JK
2532015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
254
255 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
256 * README: Remove HP-UX and gdb.hp.
257 (configuration):
258 * configure: Regenerate.
259 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
260 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
261 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
262 gdb.hp/gdb.defects/Makefile.
263 * gdb.hp/Makefile.in: File deleted.
264 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
265 * gdb.hp/gdb.aCC/optimize.c: File deleted.
266 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
267 * gdb.hp/gdb.aCC/run.c: File deleted.
268 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
269 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
270 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
271 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
272 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
273 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
274 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
275 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
276 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
277 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
278 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
279 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
280 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
281 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
282 * gdb.hp/gdb.base-hp/reg.s: File deleted.
283 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
284 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
285 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
286 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
287 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
288 * gdb.hp/gdb.compat/Makefile.in: File deleted.
289 * gdb.hp/gdb.compat/average.c: File deleted.
290 * gdb.hp/gdb.compat/sum.c: File deleted.
291 * gdb.hp/gdb.compat/xdb.c: File deleted.
292 * gdb.hp/gdb.compat/xdb0.c: File deleted.
293 * gdb.hp/gdb.compat/xdb0.h: File deleted.
294 * gdb.hp/gdb.compat/xdb1.c: File deleted.
295 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
296 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
297 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
298 * gdb.hp/gdb.defects/Makefile.in: File deleted.
299 * gdb.hp/gdb.defects/bs14602.c: File deleted.
300 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
301 * gdb.hp/gdb.defects/solib-d.c: File deleted.
302 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
303 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
304 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
305 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
306 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
307 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
308 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
309 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
310 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
311 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
312 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
313 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
314 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
315 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
316 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
317 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
318 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
319 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
320 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
321 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
322 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
323 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
324 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
325 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
326 * gdb.hp/tools/odump: File deleted.
327
8bf3b159
PA
3282015-03-19 Pedro Alves <palves@redhat.com>
329
330 * gdb.threads/continue-pending-status.exp (saw_thread_2)
331 (saw_thread_3): New globals.
332 (top level): Increment them when an event for the corresponding
333 thread is seen.
334 (no thread starvation): New test.
335
eb54c8bf
PA
3362015-03-19 Pedro Alves <palves@redhat.com>
337
338 * gdb.threads/continue-pending-status.c: New file.
339 * gdb.threads/continue-pending-status.exp: New file.
340
32d2e5d6
PA
3412015-03-18 Pedro Alves <palves@redhat.com>
342
343 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
344 Use gdb_is_target_remote instead of is_remote. Use
345 gdb_test_multiple instead of gdb_expect. Exit early if
346 gdb_test_multiple hits its internal matches. Tighten stepi tests
347 expected output. Fail on exit with any signal, instead of just
348 SIGILL.
349
f68f11b7
YQ
3502015-03-18 Yao Qi <yao.qi@linaro.org>
351
352 PR tdep/18107
353 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
354 variable.
355 * gdb.base/catch-syscall.exp: Don't skip it on
356 aarch64*-*-linux* target. Remove elements in all_syscalls.
357 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
358 target.
359 (setup_all_syscalls): New proc.
360
ca5fd19b
YQ
3612015-03-16 Yao Qi <yao.qi@linaro.org>
362
363 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
364 (top level): Skip tests if valid_addr_p returns false for
365 $cmd1 or $cmd2.
366
85642ba0
AW
3672015-03-11 Andy Wingo <wingo@igalia.com>
368
369 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
370
e03f9645
YQ
3712015-03-11 Yao Qi <yao.qi@linaro.org>
372
373 * gdb.base/catch-syscall.exp: Fix typo in comments.
374
5d0962b2
YQ
3752015-03-11 Yao Qi <yao.qi@linaro.org>
376
377 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
378
b2df3cef
PA
3792015-03-09 Pedro Alves <palves@redhat.com>
380
381 * dg-extract-results.py: Delete.
382
ef878e53
PA
3832015-03-09 Pedro Alves <palves@redhat.com>
384
385 Merge dg-extract-results.sh from GCC upstream (r218843).
386
387 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
388 * dg-extract-results.sh: Use --text with grep to avoid issues with
389 binary files. Fall back to cat -v, if that doesn't work.
390
9494d219
PA
3912015-03-05 Pedro Alves <palves@redhat.com>
392
393 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
394
a8d9763a
SM
3952015-03-04 Simon Marchi <simon.marchi@ericsson.com>
396
397 * lib/mi-support.exp (mi_expect_interrupt): Accept
398 alternative event for when in all-stop mode.
399
be9957b8
PA
4002015-03-04 Pedro Alves <palves@redhat.com>
401
402 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
403
d57be0f4 4042015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
405
406 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
407
c214c7cf
AA
4082015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
409
410 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
411 regexps for GDB's current line display, accept a hex address
412 preceding the line number.
413
6d74a497
AA
4142015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
415
416 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
417 the 'arch1' variable for "s390*-linux*" targets.
418
511aee7c
PA
4192015-03-04 Pedro Alves <palves@redhat.com>
420
421 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
422 (main): Pass missing retval argument to pthread_join call.
423
95e50b27
PA
4242015-03-02 Pedro Alves <palves@redhat.com>
425
426 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
427 (top level): Call do_test with non-stop as well.
428
28054d69
PA
4292015-03-02 Pedro Alves <palves@redhat.com>
430
431 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
432 -1.
433
4fa5d7b4
AA
4342015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
435
436 * gdb.arch/s390-vregs.exp: New test.
437 * gdb.arch/s390-vregs.S: New file.
438
97c18565
PA
4392015-02-27 Pedro Alves <palves@redhat.com>
440
441 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
442 call to catch_command_errors.
443 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
444 catch_command_errors.
445
a37bfa30
PA
4462015-02-27 Pedro Alves <palves@redhat.com>
447
448 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
449 "true" for boolean result.
450 * gdb.gdb/selftest.exp (test_with_self): Also accept full
451 prototype of main.
452
6f98576f
PA
4532015-02-27 Pedro Alves <palves@redhat.com>
454
455 * lib/unbuffer_output.c: New file.
456 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
457 (main): Call gdb_unbuffer_output.
458
eba5ab56
YQ
4592015-02-27 Yao Qi <yao.qi@linaro.org>
460
461 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
462 target.
463
0def5aaa
DE
4642015-02-26 Doug Evans <dje@google.com>
465
466 * gdb.cp/class2.cc (Dbase, D): New classes.
467 (main): New local delta.
468 * gdb.cp/class2.exp: Test printing delta.
469 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
470 (dynbar): New global.
471 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
472
081a1c2c
JK
4732015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
474
475 * gdb.compile/compile-ifunc.c: New file.
476 * gdb.compile/compile-ifunc.exp: New file.
477
2f41223f
AT
4782015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
479
480 * gdb.base/structs.exp: Check for correct struct on finish.
481
03eddd80
YQ
4822015-02-26 Yao Qi <yao.qi@linaro.org>
483
484 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
485 is zero.
486
80c57053
JK
4872015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
488
489 * gdb.arch/cordic.ko.bz2: New file.
490 * gdb.arch/cordic.ko.debug.bz2: New file.
491 * gdb.arch/ppc64-symtab-cordic.exp: New file.
492
21613c12
YQ
4932015-02-25 Yao Qi <yao.qi@linaro.org>
494
495 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
496 aarch64*-*-* target.
497
d8b901ed
PA
4982015-02-23 Pedro Alves <palves@redhat.com>
499
500 * lib/gdb.exp (delete_breakpoints): Rewrite using
501 gdb_test_multiple.
502
e5b85ead
PA
5032015-02-23 Pedro Alves <palves@redhat.com>
504
505 * gdb.base/info-os.c: Include stdlib.h.
506
85c3a371
DE
5072015-02-22 Doug Evans <xdje42@gmail.com>
508
509 PR symtab/17855
510 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
511 is read after symbols have been re-read.
512 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
513 * gdb.ada/exec_changed/second.adb (Second): Ditto.
514
96553a0c
DE
5152015-02-21 Doug Evans <dje@google.com>
516
517 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
518
97a0c697
JK
5192015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
520
521 PR corefiles/17808
522 * gdb.arch/i386-biarch-core.core.bz2: New file.
523 * gdb.arch/i386-biarch-core.exp: New file.
524
a47cd6e9
PA
5252015-02-21 Pedro Alves <palves@redhat.com>
526
527 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
528 runto_main fails.
529
c5facdc4
PA
5302015-02-20 Pedro Alves <palves@redhat.com>
531
532 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
533 info probes.
534
2db9a427
PA
5352015-02-20 Pedro Alves <palves@redhat.com>
536
537 * gdb.threads/multi-create-ns-info-thr.exp: New file.
538
60fb7e9e
PA
5392015-02-20 Pedro Alves <palves@redhat.com>
540
541 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
542 clean_restart before gdb_target_supports_trace.
543
5c5019c2
PA
5442015-02-20 Pedro Alves <palves@redhat.com>
545
546 PR threads/18006
547 * gdb.threads/clone-thread_db.c: New file.
548 * gdb.threads/clone-thread_db.exp: New file.
549
c9587f88
AT
5502015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
551
552 PR breakpoints/16812
553 * gdb.base/catch-gdb-caused-signals.c: New file.
554 * gdb.base/catch-gdb-caused-signals.exp: New file.
555
f6a88844
JM
5562015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
557
558 * configure: Regenerated.
559 * configure.ac: Use GDB_AC_TRANSFORM.
560 * aclocal.m4: sinclude ../transform.m4.
561
497c491b
JM
5622015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
563
564 * lib/dtrace.exp: New file.
565 * gdb.base/dtrace-probe.exp: Likewise.
566 * gdb.base/dtrace-probe.d: Likewise.
567 * gdb.base/dtrace-probe.c: Likewise.
568 * lib/pdtrace.in: Likewise.
569 * configure.ac: Output variables with the transformed names of
570 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
571 * configure: Regenerated.
572
03e98035
JM
5732015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
574
575 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
576 expected message when trying to access $_probe_* convenience
577 variables while not on a probe.
578
63cc30e9
JK
5792015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
580
581 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
582
0703599a
PA
5832015-02-11 Pedro Alves <pedro@codesourcery.com>
584
585 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
586 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
587
7e60a48e
DE
5882015-02-10 Doug Evans <xdje42@gmail.com>
589
590 * lib/gdb.exp (gdb_load): Always return a result.
591
01b088bc
PA
5922015-02-10 Pedro Alves <palves@redhat.com>
593
594 * gdb.threads/signal-sigtrap.c: New file.
595 * gdb.threads/signal-sigtrap.exp: New file.
596
b05ec7a5
AT
5972015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
598
599 * gdb.trace/no-attach-trace.c: New file.
600 * gdb.trace/no-attach-trace.exp: New file.
601
a2c2acaf
MW
6022015-02-09 Mark Wielaard <mjw@redhat.com>
603
604 * gdb.dwarf2/atomic.c: New file.
605 * gdb.dwarf2/atomic-type.exp: Likewise.
606
31fd9caa
MM
6072015-02-09 Markus Metzger <markus.t.metzger@intel.com>
608
609 * gdb.btrace/buffer-size.exp: Update "info record" output.
610 * gdb.btrace/delta.exp: Update "info record" output.
611 * gdb.btrace/enable.exp: Update "info record" output.
612 * gdb.btrace/finish.exp: Update "info record" output.
613 * gdb.btrace/instruction_history.exp: Update "info record" output.
614 * gdb.btrace/next.exp: Update "info record" output.
615 * gdb.btrace/nexti.exp: Update "info record" output.
616 * gdb.btrace/step.exp: Update "info record" output.
617 * gdb.btrace/stepi.exp: Update "info record" output.
618 * gdb.btrace/nohist.exp: Update "info record" output.
619
d33501a5
MM
6202015-02-09 Markus Metzger <markus.t.metzger@intel.com>
621
622 * gdb.btrace/buffer-size: New.
623
f4abbc16
MM
6242015-02-09 Markus Metzger <markus.t.metzger@intel.com>
625
626 * gdb.btrace/delta.exp: Update "info record" output.
627 * gdb.btrace/enable.exp: Update "info record" output.
628 * gdb.btrace/finish.exp: Update "info record" output.
629 * gdb.btrace/instruction_history.exp: Update "info record" output.
630 * gdb.btrace/next.exp: Update "info record" output.
631 * gdb.btrace/nexti.exp: Update "info record" output.
632 * gdb.btrace/step.exp: Update "info record" output.
633 * gdb.btrace/stepi.exp: Update "info record" output.
634 * gdb.btrace/nohist.exp: Update "info record" output.
635
b9d61307
SM
6362015-02-06 Simon Marchi <simon.marchi@ericsson.com>
637
638 PR gdb/15678
639 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
640
e584fdbc
PA
6412015-02-06 Pedro Alves <palves@redhat.com>
642
643 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
644 macro.
645 (seconds_left, again): New globals.
646 (main): Wait seconds_left in a 1-second sleep loop instead of
647 sleeping 180 seconds. If 'again' is set, reset the seconds
648 counter.
649 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
650 'again' in the inferior before detaching. Print the seconds left.
651 (options): New global.
652 (top level): Build program with -DTIMEOUT=$timeout.
653
77f41761
PA
6542015-02-06 Pedro Alves <palves@redhat.com>
655
656 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
657 determine how many seconds to pass to 'alarm'.
658 * gdb.base/gdb-sigterm.exp (top level): Build program with
659 -DTIMEOUT=$timeout.
660 (do_test): Return success/failure indication. Add more verbose
661 logging. Don't fail if 200 single steps are seen. Instead, fail
662 when the test times out.
663 (passes): New global.
664 (top level): Break the testing loop if testing fails on any
665 iteration. Use gdb_assert.
666
b9394193
DB
6672015-02-04 Don Breazeal <donb@codesourcery.com>
668
669 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
670 and initialize them.
671 (ipc_cleanup): New function.
672 (main): Don't declare shmid, semid, and msqid. Add a call to
673 atexit so that we call ipc_cleanup on exit.
674
42d9e528
PA
6752015-02-04 Pedro Alves <palves@redhat.com>
676
677 * boards/native-extended-gdbserver.exp: Remove any target variant
678 specifications from the board name before clearing the isremote
679 flag from board_info.
680
ae6ae975
DE
6812015-01-31 Doug Evans <xdje42@gmail.com>
682
683 * gdb.base/maint.exp <maint print type argc>: Update expected output.
684
cfb069a8
GB
6852015-01-31 Gary Benson <gbenson@redhat.com>
686
687 * gdb.base/completion.exp: Disable completion limiting for
688 existing tests. Add new tests to check completion limiting.
689 * gdb.linespec/ls-errs.exp: Disable completion limiting.
690
5dd31d79
DE
6912015-01-31 Doug Evans <xdje42@gmail.com>
692
693 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
694
9f050062
DE
6952015-01-31 Doug Evans <xdje42@gmail.com>
696
697 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
698 entries. Duplicate file section script entries.
699 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
700 inlined entries. Add test for safe-path rejection.
701 * gdb.python/py-section-script.c: Add duplicate inlined section script
702 entries. Duplicate file section script entries.
703 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
704 inlined entries. Add test for safe-path rejection.
705
df25ebbd
JB
7062015-01-29 Joel Brobecker <brobecker@adacore.com>
707
708 * gdb.ada/disc_arr_bound: New testcase.
709
4a0ca9ec
JB
7102015-01-29 Joel Brobecker <brobecker@adacore.com>
711
712 * gdb.ada/mi_var_array: New testcase.
713
3a8b707a
DE
7142015-01-27 Doug Evans <dje@google.com>
715
716 * gdb.python/py-objfile.exp: Add tests for objfile.username.
717 Add test for objfile.filename, objfile.username after objfile
718 has been unloaded.
719
f8313f6e
JB
7202015-01-26 Joel Brobecker <brobecker@adacore.com>
721
722 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
723 the second test to print the name attribute of value
724 returned by the call to gdb.lookup_type, and adjust
725 the expected output accordingly.
726
37bc665e
MW
7272015-01-25 Mark Wielaard <mjw@redhat.com>
728
729 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
730 * gdb.base/disp-step-fork.c: Include unistd.h.
731 * gdb.base/siginfo-obj.c: Include stdio.h.
732 * gdb.base/siginfo-thread.c: Likewise.
733 * gdb.mi/non-stop.c: Include unistd.h.
734 * gdb.mi/nsthrexec.c: Include stdio.h.
735 * gdb.mi/pthreads.c: Include unistd.h.
736 * gdb.modula2/unbounded1.c (main): Declare returns int.
737 * gdb.reverse/consecutive-reverse.c: Likewise.
738 * gdb.threads/create-fail.c: Include unistd.h.
739 * gdb.threads/killed.c: Likewise.
740 * gdb.threads/linux-dp.c: Likewise.
741 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
742 * gdb.threads/non-ldr-exc-2.c: Likewise.
743 * gdb.threads/non-ldr-exc-3.c: Likewise.
744 * gdb.threads/non-ldr-exc-4.c: Likewise.
745 * gdb.threads/pthreads.c: Include unistd.h.
746 (main): Declare returns int.
747 * gdb.threads/tls-main.c (foo): New declaration.
748 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
749
f7e5394d
SM
7502015-01-23 Simon Marchi <simon.marchi@ericsson.com>
751
752 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
753 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
754
743649fd
MW
7552015-01-15 Mark Wielaard <mjw@redhat.com>
756
757 * gdb.base/noreturn-return.c: New file.
758 * gdb.base/noreturn-return.exp: New file.
759 * gdb.base/noreturn-finish.c: New file.
760 * gdb.base/noreturn-finish.exp: New file.
761
198297aa
PA
7622015-01-23 Pedro Alves <palves@redhat.com>
763
764 * gdb.threads/continue-pending-after-query.c: New file.
765 * gdb.threads/continue-pending-after-query.exp: New file.
766
717cf30c
AG
7672015-01-22 Anders Granlund <anders.granlund@ericsson.com>
768 Simon Marchi <simon.marchi@ericsson.com>
769
770 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
771 * gdb.base/valgrind-db-attach.exp: Same.
772 * gdb.base/valgrind-infcall.exp: Same.
773 * lib/mi-support.exp (default_mi_gdb_start): Same.
774 * lib/prompt.exp (default_prompt_gdb_start): Same.
775 * lib/gdb.exp (default_gdb_spawn): Same.
776 (gdb_interact): New.
777
778
4b62a76e
JK
7792015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
780
781 * gdb.compile/compile.exp (pointer to jit function): New test.
782
b4cdae6f
WW
7832015-01-17 Wei-cheng Wang <cole945@gmail.com>
784
785 * lib/gdb.exp (supports_process_record): Return true for
786 powerpc*-*-linux*.
787 (supports_reverse): Likewise.
788
d221e7ef
DB
7892015-01-15 Don Breazeal <donb@codesourcery.com>
790
791 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
792 instead of checking whether the target board is remote and
793 use spawn_wait_for_attach instead of exec/sleep.
794 * gdb.base/attach-twice.exp: Likewise.
795
bafffb51
JB
7962015-01-15 Joel Brobecker <brobecker@adacore.com>
797
798 * gdb.ada/var_arr_attrs: New testcase.
799
5589af0e
PA
8002015-01-14 Pedro Alves <palves@redhat.com>
801 Joel Brobecker <brobecker@adacore.com>
802
803 PR gdb/17525
804 * gdb.base/bp-cmds-execution-x-script.c: New file.
805 * gdb.base/bp-cmds-execution-x-script.exp: New file.
806 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
807
6c400b59
PA
8082015-01-14 Pedro Alves <palves@redhat.com>
809
810 PR cli/17828
811 * gdb.base/batch-preserve-term-settings.c: New file.
812 * gdb.base/batch-preserve-term-settings.exp: New file.
813
e02c96a7
DE
8142015-01-13 Doug Evans <dje@google.com>
815
816 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
817 binary.
818
576fd14c
JB
8192015-01-13 Joel Brobecker <brobecker@adacore.com>
820
821 * Makefile.in (clean mostlyclean): Do not delete *.py.
822
04dccad0
JB
8232015-01-13 Joel Brobecker <brobecker@adacore.com>
824
825 * gdb.python/py-lookup-type.exp: New file.
826
3d230f71
PA
8272015-01-12 Pedro Alves <palves@redhat.com>
828
829 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
830 restore GDBFLAGS before returning.
831
7e67715d
JK
8322015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
833
834 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
835 is_amd64_regs_target and is_x86_like_target.
836
f2e0d4b4
DE
8372015-01-11 Doug Evans <xdje42@gmail.com>
838
839 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
840 is given without an explicit form.
841 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
842 attributes.
843 * gdb.dwarf/corrupt.exp: Ditto.
844 * gdb.dwarf2/enum-type.exp: Ditto.
845 * gdb.trace/entry-values.exp: Ditto.
846 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
847
439250fb
DE
8482015-01-11 Doug Evans <xdje42@gmail.com>
849
850 PR gdb/15830
851 * gdb.base/maint.exp: Remove references to "maint demangle".
852 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
853 Add tests for explicitly specifying language to demangle.
854 * gdb.dlang/demangle.exp: Ditto.
855
ede9f622
PA
8562015-01-09 Pedro Alves <palves@redhat.com>
857
858 * gdb.threads/non-stop-fair-events.c: New file.
859 * gdb.threads/non-stop-fair-events.exp: New file.
860
a7b796db
PA
8612015-01-09 Pedro Alves <palves@redhat.com>
862
863 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
864 the global scope. Set a breakpoint after all threads are started
865 rather than stepping over two source lines. Expect the prompt.
866 * gdb.base/watch_thread_num.c (threads_started_barrier): New
867 global.
868 (NUM): Now 15.
869 (main): Use threads_started_barrier to wait for all threads to
870 start. Main thread no longer calls thread_function. Exit after
871 180 seconds.
872 (loop): New function.
873 (thread_function): Wait on threads_started_barrier barrier. Call
874 'loop' at each iteration.
875 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
876 threads have started, instead of hardcoding number of "next"
877 steps. Use an access watchpoint instead of a write watchpoint.
878
9665ffdd
PA
8792015-01-09 Pedro Alves <palves@redhat.com>
880
881 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
882 (thread_func): Wait on barrier.
883 (main): Wait for all threads to start before stopping GDB.
884 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
885 global.
886 (thread1_func, thread2_func): Wait on barrier.
887 (main): Wait for all threads to start before stopping GDB.
888 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
889 New global.
890 (thread1_func, thread2_func): Wait on barrier.
891 (main): Wait for all threads to start before stopping GDB.
892
c945a99f
PA
8932015-01-09 Pedro Alves <palves@redhat.com>
894
895 * gdb.threads/attach-many-short-lived-threads.c: New file.
896 * gdb.threads/attach-many-short-lived-threads.exp: New file.
897
c1a747c1
PA
8982014-01-09 Pedro Alves <palves@redhat.com>
899
900 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
901 instead of to thread 2.
902 * gdb.threads/signal-command-multiple-signals-pending.c (main):
903 Add barrier around each pthread_create call instead of around all
904 calls.
905 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
906 Set a break on thread_function and have the child threads hit it
907 one at at a time.
908
60b3033e
PA
9092015-01-09 Pedro Alves <palves@redhat.com>
910
911 * lib/gdb.exp (can_spawn_for_attach): New procedure.
912 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
913 false.
914 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
915 checking whether the target board is remote.
916 * gdb.multi/multi-attach.exp: Likewise.
917 * gdb.python/py-sync-interp.exp: Likewise.
918 * gdb.server/ext-attach.exp: Likewise.
919 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
920 tests that need to attach, instead of checking whether the target
921 board is remote at the top of the file.
922
acc018ac
YQ
9232015-01-08 Yao Qi <yao@codesourcery.com>
924
925 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
926
50a18af8
JK
9272015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
928
929 Fix testcase compilation.
930 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
931
8503d6e1
JB
9322015-01-06 Joel Brobecker <brobecker@adacore.com>
933
934 * gdb.python/py-type.exp: Add a couple test about empty
935 array creation, and negative-length array creation.
936
cc73dbcc
DE
9372015-01-02 Doug Evans <xdje42@gmail.com>
938
939 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
940
0300bbc7
DE
9412015-01-02 Doug Evans <dje@google.com>
942
943 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
944
9d85a0ec
YQ
9452014-12-29 Yao Qi <yao@codesourcery.com>
946
947 * gdb.trace/entry-values.exp: Update comments. Rename variable
948 bar_call_foo to returned_from_foo.
949
87186c6a
MMN
9502014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
951
952 PR gdb/17394
953 * gdb.linespec/break-asm-file.c: New file.
954 * gdb.linespec/break-asm-file.exp: New file.
955 * gdb.linespec/break-asm-file0.s: New file.
956 * gdb.linespec/break-asm-file1.s: New file.
957
1bab7383
YQ
9582014-12-18 Nigel Stephens <nigel@mips.com>
959 Maciej W. Rozycki <macro@codesourcery.com>
960
961 * gdb.base/float.exp: Handle the new output from "info float" on
962 MIPS targets.
963
1bc1068a
JK
9642014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
965
966 Fix MinGW compilation.
967 * gdb.compile/compile-ops.exp: Update untested message if
968 !skip_compile_feature_tests.
969 * gdb.compile/compile-setjmp.exp: Likewise.
970 * gdb.compile/compile-tls.exp: Likewise.
971 * gdb.compile/compile.exp: Likewise.
972 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
973 supported on this host".
974
b6615d10
DE
9752014-12-16 Doug Evans <xdje42@gmail.com>
976
977 * boards/stabs.exp: New file.
978
25dda427
AA
9792014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
980
981 * gdb.base/completion.exp: Adjust to format changes of "maint
982 print user-registers".
983
bf330350
CU
9842014-12-16 Catalin Udma <catalin.udma@freescale.com>
985
986 PR server/17457
987 * gdb.arch/aarch64-fp.c: New file.
988 * gdb.arch/aarch64-fp.exp: New file.
989
395cf596
SDJ
9902014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
991
992 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
993 r210637, r210913, r211666, r215400, r215817).
994
995 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
996 * dg-extract-results.py: New file.
997 * dg-extract-results.sh: Use it if the environment seems
998 suitable.
999
1000 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
1001
1002 * dg-extract-results.py (parse_run): Handle warnings that
1003 are printed before a test harness is run.
1004
1005 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
1006
1007 * dg-extract-results.py (Named): Remove __cmp__ method.
1008 (output_variation): Use a key to sort variation.harnesses.
1009
1010 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
1011
1012 * dg-extract-results.py: For Python 3, force sys.stdout to
1013 handle surrogate escape sequences.
1014 (safe_open): New function.
1015 (output_segment, main): Use it.
1016
1017 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
1018
1019 * dg-extract-results.py (Prog.result_re): Include options
1020 in test name.
1021
1022 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
1023
1024 * dg-extract-results.py (output_variation): Always sort if
1025 do_sum.
1026
e882ef3c
SM
10272014-12-15 Simon Marchi <simon.marchi@ericsson.com>
1028
1029 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
1030 as long as we get pagination notifications.
1031
4992aa20
JM
10322014-12-15 Jason Merrill <jason@redhat.com>
1033
1034 * Makefile.in (check-gdb.%): Restore.
1035 * README: Mention it.
1036
c1b5a1a6
JB
10372014-12-13 Joel Brobecker <brobecker@adacore.com>
1038
1039 * gdb.ada/str_uninit: New testcase.
1040
5537b577
JK
10412014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1042
1043 PR symtab/17642
1044 * gdb.base/vla-stub-define.c: New file.
1045 * gdb.base/vla-stub.c: New file.
1046 * gdb.base/vla-stub.exp: New file.
1047
bb2ec1b3
TT
10482014-12-12 Phil Muldoon <pmuldoon@redhat.com>
1049 Jan Kratochvil <jan.kratochvil@redhat.com>
1050 Tom Tromey <tromey@redhat.com>
1051
1052 * configure.ac: Add gdb.compile/.
1053 * configure: Regenerate.
1054 * gdb.compile/Makefile.in: New file.
1055 * gdb.compile/compile-ops.exp: New file.
1056 * gdb.compile/compile-ops.c: New file.
1057 * gdb.compile/compile-tls.c: New file.
1058 * gdb.compile/compile-tls.exp: New file.
1059 * gdb.compile/compile-constvar.S: New file.
1060 * gdb.compile/compile-constvar.c: New file.
1061 * gdb.compile/compile-mod.c: New file.
1062 * gdb.compile/compile-nodebug.c: New file.
1063 * gdb.compile/compile-setjmp-mod.c: New file.
1064 * gdb.compile/compile-setjmp.c: New file.
1065 * gdb.compile/compile-setjmp.exp: New file.
1066 * gdb.compile/compile-shlib.c: New file.
1067 * gdb.compile/compile.c: New file.
1068 * gdb.compile/compile.exp: New file.
1069 * lib/gdb.exp (skip_compile_feature_tests): New proc.
1070
4ff709eb
TT
10712014-12-12 Tom Tromey <tromey@redhat.com>
1072
1073 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
1074 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
1075
6dddd6a5
DE
10762014-12-12 Doug Evans <dje@google.com>
1077
1078 * lib/gdb-python.exp (get_python_valueof): New function.
1079 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
1080
71c24708
AA
10812014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1082
1083 * gdb.base/completion.exp: Add test for completion of "info
1084 registers ".
1085
3e29f34a
MR
10862014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
1087
1088 * gdb.base/func-ptrs.c: New file.
1089 * gdb.base/func-ptrs.exp: New file.
1090
fc126975
SM
10912014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1092
1093 PR breakpoints/17012
1094 * gdb.base/dprintf-detach.c: New file.
1095 * gdb.base/dprintf-detach.exp: New file.
1096
0a46d518
SM
10972014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1098
1099 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
1100 * lib/gdb.exp (target_is_gdbserver): New procedure.
1101
a0be3e44
DE
11022014-12-08 Doug Evans <dje@google.com>
1103
1104 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
1105
df1b803a
YQ
11062014-12-05 Yao Qi <yao@codesourcery.com>
1107
1108 * gdb.guile/scm-error.exp: Remove the third argument to
1109 gdb_remote_download.
1110 * gdb.guile/scm-frame-args.exp: Likewise.
1111 * gdb.guile/scm-section-script.exp: Likewise.
1112
ddb9f679
YQ
11132014-12-05 Yao Qi <yao@codesourcery.com>
1114
1115 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
1116
86e4ed39
DE
11172014-12-04 Doug Evans <dje@google.com>
1118
1119 * gdb.python/py-objfile.exp: Add tests for
1120 objfile.add_separate_debug_file.
1121
7c50a931
DE
11222014-12-04 Doug Evans <dje@google.com>
1123
1124 * lib/gdb.exp (get_build_id): New function.
1125 (build_id_debug_filename_get): Rewrite to use it.
1126 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
1127
621661e3
MR
11282014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
1129
1130 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
1131 `method(long)', not just 0x0.
1132 * gdb.cp/nsalias.exp: Align code labels to 4.
1133 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
1134 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
1135 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
1136 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
1137 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
1138 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
1139
29f0c3b7
DE
11402014-12-02 Doug Evans <dje@google.com>
1141
e1e061e7 1142 PR symtab/17602
29f0c3b7 1143 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 1144 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
1145 * gdb.cp/anon-ns.exp: Update.
1146
162078c8
NB
11472014-12-02 Nick Bull <nicholaspbull@gmail.com>
1148
1149 * gdb.python/py-events.py (inferior_call_handler): New.
1150 (register_changed_handler, memory_changed_handler): New.
1151 (test_events.invoke): Register new handlers.
1152 * gdb.python/py-events.exp: Add tests for inferior call,
1153 memory_changed and register_changed events.
1154
fdb09caf
AA
11552014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1156
1157 * gdb.base/execl-update-breakpoints.exp: Specify the link address
1158 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
1159 if the linker doesn't understand this.
1160
55cfb2c4
SM
11612014-12-01 Simon Marchi <simon.marchi@ericsson.com>
1162
1163 * gdb.python/python.exp: Change expected reply to help().
1164
9e8cd6df
YQ
11652014-12-01 Yao Qi <yao@codesourcery.com>
1166
1167 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
1168 AC_CONFIG_SUBDIRS(gdb.gdbtk).
1169 * configure: Re-generated.
1170
6c659fc2
SC
11712014-11-28 Siva Chandra Reddy <sivachandra@google.com>
1172
1173 * gdb.cp/chained-calls.cc: New file.
1174 * gdb.cp/chained-calls.exp: New file.
1175 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
1176
d7fc3181
SM
11772014-11-28 Simon Marchi <simon.marchi@ericsson.com>
1178
1179 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
1180 * gdb.dwarf2/symtab-producer.exp: Same.
1181 * gdb.gdb/python-interrupts.exp: Same.
1182 * gdb.gdb/python-selftest.exp: Same.
1183 * gdb.python/py-linetable.exp: Same.
1184 * gdb.python/py-type.exp: Same.
1185 * gdb.python/py-value-cc.exp: Same.
1186 * gdb.python/py-value.exp: Same.
1187
10e79639
YQ
11882014-11-28 Yao Qi <yao@codesourcery.com>
1189
1190 * gdb.base/break-probes.exp: Match library name prefixed with
1191 sysroot.
1192
f28a0564
SM
11932014-11-27 Simon Marchi <simon.marchi@ericsson.com>
1194
1195 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
1196 test expected output. Add parentheses for the call to print.
1197 Remove L suffix from integers.
1198
3fe1ce1d
DE
11992014-11-26 Doug Evans <dje@google.com>
1200
1201 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
1202
84429e27
YQ
12032014-11-22 Yao Qi <yao@codesourcery.com>
1204
1205 * gdb.trace/entry-values.c: Remove asms.
1206 (foo): Add foo_label.
1207 (bar): Add bar_label.
1208 * gdb.trace/entry-values.exp: Remove code computing foo's
1209 length and bar's length.
1210 (Dwarf::assemble): Invoke function_range for bar and use
1211 MACRO_AT_func for foo.
1212
26741859
YQ
12132014-11-22 Yao Qi <yao@codesourcery.com>
1214
1215 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
1216 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
1217 Use .Lgcc43_procstart instead of gcc43.
1218
45e44d27
JB
12192014-11-21 Joel Brobecker <brobecker@adacore.com>
1220
1221 * gdb.ada/n_arr_bound: New testcase.
1222
458c8db8
SDJ
12232014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1224
1225 PR breakpoints/10737
1226 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
1227 test_catch_syscall_multi_arch.
1228 (test_catch_syscall_multi_arch): New function.
1229
43f3e411
DE
12302014-11-20 Doug Evans <xdje42@gmail.com>
1231
1232 * gdb.base/maint.exp: Update expected output.
1233
0d7b2549
AA
12342014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1235
1236 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
1237 4-byte instruction on S390.
1238
8908fca5
JB
12392014-11-19 Joel Brobecker <brobecker@adacore.com>
1240
1241 * gdb.ada/arr_arr: New testcase.
1242
4a46959e
JB
12432014-11-19 Joel Brobecker <brobecker@adacore.com>
1244
1245 * gdb.ada/pkd_arr_elem: New Testcase.
1246
470e2f4e
LM
12472014-11-18 Luis Machado <lgustavo@codesourcery.com>
1248
1249 * gdb.reverse/break-precsave: Expect completion message for
1250 core file reads.
1251 * gdb.reverse/consecutive-precsave.exp: Likewise.
1252 * gdb.reverse/finish-precsave.exp: Likewise.
1253 * gdb.reverse/i386-precsave.exp: Likewise.
1254 * gdb.reverse/machinestate-precsave.exp: Likewise.
1255 * gdb.reverse/sigall-precsave.exp: Likewise.
1256 * gdb.reverse/solib-precsave.exp: Likewise.
1257 * gdb.reverse/step-precsave.exp: Likewise.
1258 * gdb.reverse/until-precsave.exp: Likewise.
1259 * gdb.reverse/watch-precsave.exp: Likewise.
1260
a267f3ad
AA
12612014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1262
1263 * gdb.base/bp-permanent.c: Include unistd.h.
1264 * gdb.python/py-framefilter-mi.c (main): Add return type.
1265 * gdb.python/py-framefilter.c (main): Likewise.
1266 * gdb.trace/actions-changed.c (main): Likewise.
1267
12084a9a
AA
12682014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1269
1270 * gdb.mi/until.c: Add eye-catchers.
1271 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
1272 line numbers.
1273
dc7e1a77
AA
12742014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1275
1276 * gdb.base/condbreak.exp: Drop references to removed non-prototype
1277 function header variants in break1.c.
1278 * gdb.base/ena-dis-br.exp: Likewise.
1279 * gdb.base/hbreak2.exp: Likewise.
1280 * gdb.reverse/until-precsave.exp: Drop references to removed
1281 non-prototype function header variants in ur1.c.
1282 * gdb.reverse/until-reverse.exp: Likewise.
1283
41c77605
PM
12842014-11-17 Petr Machata <pmachata@redhat.com>
1285
1286 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
1287 ${_cu_offset_size} bytes abbrev offset.
1288
34248c3a
DE
12892014-11-15 Doug Evans <xdje42@gmail.com>
1290
1291 PR symtab/17559
1292 * gdb.base/line-symtabs.exp: New file.
1293 * gdb.base/line-symtabs.c: New file.
1294 * gdb.base/line-symtabs.h: New file.
1295
646da059
YQ
12962014-11-14 Yao Qi <yao@codesourcery.com>
1297
1298 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
1299 (func): Add label func_label.
1300 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
1301 Replace low_pc and high_pc with MACRO_AT_range.
1302 Replace name, low_pc and high_pc with MACRO_AT_func.
1303
9301ebe6
YQ
13042014-11-14 Yao Qi <yao@codesourcery.com>
1305
1306 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
1307 Replace name, low_pc and high_pc with MACRO_AT_func.
1308
f166b542
YQ
13092014-11-14 Yao Qi <yao@codesourcery.com>
1310
1311 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
1312 produce debug information.
1313 * gdb.dwarf2/implptr-optimized-out.S: Removed.
1314
0f6e71e3
YQ
13152014-11-14 Yao Qi <yao@codesourcery.com>
1316
1317 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
1318 object and get function length.
1319 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
1320 with MACRO_AT_func.
1321 (top-level): Replace gdb_compile and clean_restart with
1322 prepare_for_testing.
1323 * gdb.dwarf2/main.c (main): Add label main_label.
1324
876c4df9
YQ
13252014-11-14 Yao Qi <yao@codesourcery.com>
1326
1327 * lib/dwarf.exp (function_range): New procedure.
1328 (Dwarf::_handle_macro_at_func): New procedure.
1329 (Dwarf::_handle_macro_at_range): New procedure.
1330 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
1331
02ad9cf1
YQ
13322014-11-14 Yao Qi <yao@codesourcery.com>
1333
1334 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
1335 (_handle_attribute): New procedure.
1336
a59add0c
AA
13372014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1338
1339 * gdb.ada/cond_lang/foo.c (callme): Add return type.
1340 * gdb.base/call-sc.c (zed): Likewise.
1341 * gdb.base/checkpoint.c (main): Likewise.
1342 * gdb.base/dump.c (main): Likewise.
1343 * gdb.base/gcore.c (main): Likewise.
1344 * gdb.base/huge.c (main): Likewise.
1345 * gdb.base/multi-forks.c (main): Likewise.
1346 * gdb.base/pr10179-a.c (main): Likewise.
1347 * gdb.base/savedregs.c (main): Likewise.
1348 * gdb.base/sigaltstack.c (main): Likewise.
1349 * gdb.base/siginfo.c (main): Likewise.
1350 * gdb.base/structs.c (zed): Likewise.
1351 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
1352 * gdb.mi/mi-syn-frame.c (main): Likewise.
1353 * gdb.mi/until.c (foo, main): Likewise.
1354 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
1355 * gdb.base/solib-weak.c (foo): Declare.
1356 * gdb.base/attach-twice.c: Include stdio.h.
1357 * gdb.base/weaklib1.c: Likewise.
1358 * gdb.base/weaklib2.c: Likewise.
1359 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
1360 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
1361 unistd.h.
1362 * gdb.base/attach-pie-misread.c: Include stdlib.h.
1363 * gdb.mi/mi-exit-code.c: Likewise.
1364 * gdb.base/break-interp-lib.c: Include string.h.
1365 * gdb.base/coremaker.c: Likewise.
1366 * gdb.base/testenv.c: Likewise.
1367 * gdb.python/py-finish-breakpoint.c: Likewise.
1368 * gdb.base/inferior-died.c: Include sys/wait.h.
1369 * gdb.base/fileio.c: Include time.h.
1370 * gdb.base/async-shell.c: Include unistd.h.
1371 * gdb.base/dprintf-non-stop.c: Likewise.
1372 * gdb.base/info-os.c: Likewise.
1373 * gdb.mi/mi-console.c: Likewise.
1374 * gdb.mi/watch-nonstop.c: Likewise.
1375 * gdb.python/py-events.c: Likewise.
1376 * gdb.base/async.c (baz): Move up before its invocation.
1377 * gdb.base/code_elim2.c (my_global_func): Likewise.
1378 * gdb.base/skip-solib-lib.c (multiply): Likewise.
1379 * gdb.base/advance.c (func2): Likewise.
1380
3b5d5997
AA
13812014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1382
1383 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
1384 variant.
1385 * gdb.base/annota3.c: Likewise.
1386 * gdb.base/async.c: Likewise.
1387 * gdb.base/average.c: Likewise.
1388 * gdb.base/call-ar-st.c: Likewise.
1389 * gdb.base/call-rt-st.c: Likewise.
1390 * gdb.base/call-sc.c: Likewise.
1391 * gdb.base/call-strs.c: Likewise.
1392 * gdb.base/ending-run.c: Likewise.
1393 * gdb.base/execd-prog.c: Likewise.
1394 * gdb.base/exprs.c: Likewise.
1395 * gdb.base/foll-exec.c: Likewise.
1396 * gdb.base/foll-fork.c: Likewise.
1397 * gdb.base/foll-vfork.c: Likewise.
1398 * gdb.base/funcargs.c: Likewise.
1399 * gdb.base/gcore.c: Likewise.
1400 * gdb.base/jump.c: Likewise.
1401 * gdb.base/langs0.c: Likewise.
1402 * gdb.base/langs1.c: Likewise.
1403 * gdb.base/langs2.c: Likewise.
1404 * gdb.base/mips_pro.c: Likewise.
1405 * gdb.base/nodebug.c: Likewise.
1406 * gdb.base/opaque0.c: Likewise.
1407 * gdb.base/opaque1.c: Likewise.
1408 * gdb.base/recurse.c: Likewise.
1409 * gdb.base/run.c: Likewise.
1410 * gdb.base/scope0.c: Likewise.
1411 * gdb.base/scope1.c: Likewise.
1412 * gdb.base/setshow.c: Likewise.
1413 * gdb.base/setvar.c: Likewise.
1414 * gdb.base/shmain.c: Likewise.
1415 * gdb.base/shr1.c: Likewise.
1416 * gdb.base/shr2.c: Likewise.
1417 * gdb.base/sigall.c: Likewise.
1418 * gdb.base/signals.c: Likewise.
1419 * gdb.base/so-indr-cl.c: Likewise.
1420 * gdb.base/solib2.c: Likewise.
1421 * gdb.base/structs.c: Likewise.
1422 * gdb.base/sum.c: Likewise.
1423 * gdb.base/vforked-prog.c: Likewise.
1424 * gdb.base/watchpoint.c: Likewise.
1425 * gdb.reverse/shr2.c: Likewise.
1426 * gdb.reverse/until-reverse.c: Likewise.
1427 * gdb.reverse/ur1.c: Likewise.
1428 * gdb.reverse/watch-reverse.c: Likewise.
1429
066a77c5
AA
14302014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1431
1432 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
1433 variant.
1434 * gdb.base/sepdebug.exp: Drop references to removed code.
1435
4f204ea5
AA
14362014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1437
1438 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
1439 variant. Preserve original line numbering.
1440 * gdb.base/list1.c: Likewise.
1441
3b377a3a
AA
14422014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1443
1444 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
1445 variant.
1446 * gdb.base/break1.c: Likewise.
1447 * gdb.base/break.exp: Drop references to removed code.
1448
e444df73
AA
14492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1450
1451 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
1452 variant.
1453
8008f2a7
AA
14542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1455
1456 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
1457
a5a06887
AA
14582014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1459
1460 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
1461 logic into perform_all_tests() and invoke it with and without
1462 function header prototypes.
1463 (do_function_calls): Remove conditional XFAIL for PR 5318.
1464 (rerun_and_prepare): Remove duplicate code.
1465 (perform_all_tests): New. Main logic moved here.
1466
44dba9b9
AA
14672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1468
1469 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
1470 code guarded by #ifdef NO_PROTOTYPES.
1471 (t_double_many_args): Likewise.
1472 (DEF_FUNC_MANY_ARGS_1): Likewise.
1473 (DEF_FUNC_VALUES_1): Likewise.
1474 (t_structs_ldc): Renamed from t_structs_fc in conditional code
1475 guarded by #ifdef PROTOTYPES.
1476
d1fbcd56
AA
14772014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1478
1479 * gdb.mi/mi-console.c: Add eye-catcher.
1480 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
1481 instead of literal line number.
1482
b0e59b8f
AA
14832014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1484
1485 * gdb.base/shr2.c: Add eye-catcher.
1486 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
1487 line number.
1488
78f98cca
AA
14892014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1490
1491 * gdb.base/jump.c: Add eye-catchers.
1492 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
1493 numbers.
1494
58fa2af0
AA
14952014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1496
1497 * gdb.base/execd-prog.c: Add eye-catchers.
1498 * gdb.base/foll-exec.c: Likewise.
1499 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
1500 line numbers.
1501
04e5059b
AA
15022014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1503
1504 * gdb.base/ending-run.c: Add eye-catchers.
1505 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
1506 literal line numbers.
1507
dbfdb174
AA
15082014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1509
1510 * gdb.base/call-rt-st.c: Add eye-catchers.
1511 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
1512 literal line numbers.
1513
888a2ade
AA
15142014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1515
1516 * gdb.base/call-ar-st.c: Add eye-catchers.
1517 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
1518 literal line numbers.
1519
6acc2dde
AA
15202014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1521
1522 * gdb.base/average.c: Add eye-catchers.
1523 * gdb.base/sum.c: Likewise.
1524 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
1525 regexps dynamically.
1526
9ecfcd1d
AA
15272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1528
1529 * gdb.base/solib1.c: Add eye-catchers.
1530 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
1531 literal line numbers.
1532
78708b7c
PA
15332014-11-12 Pedro Alves <palves@redhat.com>
1534
1535 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
1536 leader has exited.
1537
af48d08f
PA
15382014-11-12 Pedro Alves <palves@redhat.com>
1539
1540 * gdb.arch/i386-bp_permanent.c: New file.
1541 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
1542 (srcfile): Set to i386-bp_permanent.c.
1543 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
1544 that stepi does not execute the 'leave' instruction, instead of
1545 testing it does execute.
1546 * gdb.base/bp-permanent.c: New file.
1547 * gdb.base/bp-permanent.exp: New file.
1548
af3768e9
DE
15492014-11-10 Doug Evans <xdje42@gmail.com>
1550
1551 PR symtab/17564
1552 * gdb.base/symtab-search-order.exp: New file.
1553 * gdb.base/symtab-search-order.c: New file.
1554 * gdb.base/symtab-search-order-1.c: New file.
1555 * gdb.base/symtab-search-order-shlib-1.c: New file.
1556
9de00a4a
PA
15572014-11-07 Pedro Alves <palves@redhat.com>
1558
1559 PR gdb/17511
1560 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
1561 i?86-*-linux*.
1562
e0f52461
SC
15632014-11-03 Siva Chandra Reddy <sivachandra@google.com>
1564
1565 PR c++/17494
1566 * gdb.cp/pr17494.cc: New file.
1567 * gdb.cp/pr17494.exp: New file.
1568
6ce8c980
YQ
15692014-11-02 Yao Qi <yao@codesourcery.com>
1570
1571 * gdb.python/python.exp: Get working directory and match the
1572 output of "set extended-prompt \\w " with it.
1573
02be9a71
DE
15742014-10-30 Doug Evans <dje@google.com>
1575
1576 * gdb.python/py-objfile.exp: Add tests for setting random attributes
1577 in objfiles.
1578 * gdb.python/py-progspace.exp: Add tests for setting random attributes
1579 in progspaces.
1580
3bdff46b
LM
15812014-10-30 Janis Johnson <janisjo@codesourcery.com>
1582
1583 * gdb.base/fullpath-expand.exp: Skip for a remote host.
1584 * gdb.base/realname-expand.exp: Likewise.
1585 * gdb.linespec/macro-relative.exp: Likewise.
1586
ab917dfb
PA
15872014-10-29 Pedro Alves <palves@redhat.com>
1588
1589 PR gdb/17408
1590 * gdb.threads/schedlock.c (some_function): New function.
1591 (call_function): New global.
1592 (MAYBE_CALL_SOME_FUNCTION): New macro.
1593 (thread_function): Call it.
1594 * gdb.threads/schedlock.exp (get_args): Add description parameter,
1595 and use it instead of a global counter. Adjust all callers.
1596 (get_current_thread): Use "find current thread" for test message
1597 here rather than having all callers pass down the same string.
1598 (goto_loop): New procedure, factored out from ...
1599 (my_continue): ... this.
1600 (step_ten_loops): Change parameter from test message to command to
1601 use. Adjust.
1602 (list_count): Delete global.
1603 (check_result): New procedure, factored out from duplicate top
1604 level code.
1605 (continue tests): Wrap in with_test_prefix.
1606 (test_step): New procedure, factored out from duplicate top level
1607 code.
1608 (top level): Test "step" in combination with all scheduler-locking
1609 modes. Test "next" in combination with all scheduler-locking
1610 modes, and in combination with stepping over a function call or
1611 not.
1612 * gdb.threads/next-bp-other-thread.c: New file.
1613 * gdb.threads/next-bp-other-thread.exp: New file.
1614
d3d4baed
PA
16152014-10-29 Pedro Alves <palves@redhat.com>
1616
1617 PR python/17372
1618 * gdb.python/python.exp: Test a multi-line command that spawns
1619 interactive Python.
1620 * gdb.base/multi-line-starts-subshell.exp: New file.
1621
563e8d85
YQ
16222014-10-29 Yao Qi <yao@codesourcery.com>
1623
1624 * gdb.base/fileio.exp: Make directories on host.
1625
0ea4d52e
YQ
16262014-10-29 Yao Qi <yao@codesourcery.com>
1627
1628 * gdb.base/fileio.c (test_write): Close the file.
1629
7f5ef605
PA
16302014-10-28 Pedro Alves <palves@redhat.com>
1631
1632 PR gdb/12623
1633 * gdb.base/sigstep.c (no_handler): New global.
1634 (main): If 'no_handler is true, set the signal handlers to
1635 SIG_IGN.
1636 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
1637 with_sw_watch and no_handler parameters. Handle them.
1638 (top level) <stepping over handler when stopped at a breakpoint
1639 test>: Add a test axis for testing with a software watchpoint, and
1640 another for testing with the signal handler set to SIG_IGN.
1641 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
1642 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
1643
abbdbd03
PA
16442014-10-28 Pedro Alves <palves@redhat.com>
1645
1646 PR gdb/17511
1647 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
1648 * gdb.base/sigstep.exp (other_handler_location): New global.
1649 (advance): Support stepping into the signal handler, and running
1650 commands while in the handler.
1651 (in_handler_map): New global.
1652 (top level): In the advance test, add combinations for getting
1653 into the handler with stepping commands, and for running commands
1654 in the handler. Add comment descripting the advancei tests.
1655
1df4399f
PA
16562014-10-28 Pedro Alves <palves@redhat.com>
1657
1658 * gdb.base/sigstep.exp: Use build_executable instead of
1659 prepare_for_testing.
1660 (top level): Move code that starts GDB, runs to main and creates a
1661 display to ...
1662 (restart): ... this new procedure.
1663 (top level): Move backtrace from signal handler test to ...
1664 (validate_backtrace): ... this new procedure.
1665 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
1666 with_test_prefix. Always restart GDB.
1667 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
1668 with_test_prefix. Always restart GDB. No need to delete
1669 breakpoints after the test.
1670 (test_skip_handler): Remove prefix parameter.
1671 (skip_over_handler, breakpoint_to_handler)
1672 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
1673 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
1674 restart GDB. No need to delete breakpoints after the test.
1675 (top level): Use foreach to call the test procedures with
1676 different commands.
1677
a5b6e449
PA
16782014-10-28 Pedro Alves <palves@redhat.com>
1679
1680 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
1681 instead of GNATS numbers.
1682 * gdb.base/sigbpt.exp: Likewise.
1683 * gdb.base/siginfo.exp: Likewise.
1684 * gdb.base/sigstep.exp: Likewise.
1685
e5f8a7cc
PA
16862014-10-27 Pedro Alves <palves@redhat.com>
1687
1688 * gdb.base/sigstep.c (dummy): New global.
1689 (main): Issue a couple writes to the new global.
1690 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
1691 procedures.
1692 (skip_over_handler): Use test_skip_handler.
1693 (top level): Call skip_over_handler for stepi and nexti too.
1694 (breakpoint_over_handler): Use test_skip_handler.
1695 (top level): Call breakpoint_over_handler for stepi and nexti too.
1696
763905a3
YQ
16972014-10-27 Yao Qi <yao@codesourcery.com>
1698
1699 * gdb.trace/tfile.c (adjust_function_address)
1700 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
1701 function descriptor.
1702
6f259a23
DB
17032014-10-24 Don Breazeal <donb@codesourcery.com>
1704
1705 * gdb.base/foll-fork.exp (test_follow_fork,
1706 catch_fork_child_follow): Check for updated fork messages emitted
1707 from infrun.c.
1708 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
1709 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
1710 vfork_and_exec_child_follow_through_step): Check for updated vfork
1711 messages emitted from infrun.c.
1712
09dd9a69
PA
17132014-10-24 Pedro Alves <palves@redhat.com>
1714
1715 * gdb.base/corefile.exp: Remove references to ultrix.
1716 * gdb.base/interrupt.exp: Likewise.
1717 * gdb.base/whatis.exp: Likewise.
1718 * gdb.gdb/selftest.exp: Likewise.
1719 * gdb.threads/manythreads.exp: Likewise.
1720 * gdb.threads/print-threads.exp: Likewise.
1721 * gdb.threads/pthreads.exp:: Likewise.
1722 * gdb.threads/schedlock.exp: Likewise.
1723
3433cfa5
SC
17242014-10-24 Siva Chandra Reddy <sivachandra@google.com>
1725
1726 * gdb.cp/non-trivial-retval.cc: Add a test case.
1727 * gdb.cp/non-trivial-retval.exp: Add a test.
1728
092f880b
YQ
17292014-10-20 Yao Qi <yao@codesourcery.com>
1730
1731 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
1732 * gdb.python/py-objfile-script-gdb.py: New file.
1733 * gdb.python/py-objfile-script.exp: Update reference to
1734 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
1735 of remote_download. Remove the dest file.
1736
acbdb7f3
YQ
17372014-10-20 Yao Qi <yao@codesourcery.com>
1738
1739 * gdb.base/checkpoint.exp: Don't remove file copied on host.
1740 * gdb.base/step-line.exp: Likewise.
1741 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1742 * gdb.dwarf2/dw2-basic.exp: Likewise.
1743 * gdb.dwarf2/dw2-compressed.exp: Likewise.
1744 * gdb.dwarf2/dw2-filename.exp: Likewise.
1745 * gdb.dwarf2/dw2-intercu.exp: Likewise.
1746 * gdb.dwarf2/dw2-intermix.exp: Likewise.
1747 * gdb.dwarf2/dw2-producer.exp: Likewise.
1748 * gdb.dwarf2/mac-fileno.exp: Likewise.
1749 * gdb.python/py-frame-args.exp: Likewise.
1750 * gdb.python/py-framefilter.exp: Likewise.
1751 * gdb.python/py-mi.exp: Likewise.
1752 * gdb.python/py-objfile-script.exp: Likewise
1753 * gdb.python/py-pp-integral.exp: Likewise.
1754 * gdb.python/py-pp-re-notag.exp: Likewise.
1755 * gdb.python/py-prettyprint.exp: Likewise.
1756 * gdb.python/py-section-script.exp: Likewise.
1757 * gdb.python/py-typeprint.exp: Likewise.
1758 * gdb.python/py-xmethods.exp: Likewise.
1759 * gdb.stabs/weird.exp: Likewise.
1760 * gdb.xml/tdesc-regs.exp: Likewise.
1761
bd286a29
KCY
17622014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
1763
1764 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
1765 (out_cu): Use addr_len for the size of addresses.
1766 (out_line): Likewise. Size DW_LNE_set_address instruction
1767 according to addr_len.
1768 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
1769 (FUNC): Add START_INSNS to definition.
1770
673dc4a0
YQ
17712014-10-18 Yao Qi <yao@codesourcery.com>
1772
1773 * gdb.base/argv0-symlink.exp: Check argv[0] value if
1774 gdb_has_argv0 return true.
1775 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
1776 check [target_info exists noargs], check [gdb_has_argv0]
1777 instead.
1778 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1779 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
1780 procedures.
1781
4ffbba72
DE
17822014-10-17 Doug Evans <dje@google.com>
1783
1784 * gdb.python/py-events.exp: Update expected output for clear_objfiles
1785 event.
1786 * gdb.python/py-events.py: Add clear_objfiles event.
1787
d096d8c1
DE
17882014-10-17 Doug Evans <dje@google.com>
1789
1790 * gdb.python/py-objfile.exp: Test progspace attribute.
1791
a80db015
LM
17922014-10-17 Luis Machado <lgustavo@codesourcery.com>
1793
1794 * gdb.guile/scm-breakpoint.exp: Do not assume any
1795 directory separators when matching source file paths.
1796 * gdb.python/py-breakpoint.exp: Likewise.
1797 * gdb.reverse/break-precsave.exp: Likewise.
1798 * gdb.reverse/break-reverse.exp: Likewise.
1799 * gdb.reverse/consecutive-precsave.exp: Likewise.
1800 * gdb.reverse/finish-precsave.exp: Likewise.
1801 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
1802 * gdb.reverse/finish-reverse.exp: Likewise.
1803 * gdb.reverse/i386-precsave.exp: Likewise.
1804 * gdb.reverse/i387-env-reverse.exp: Likewise.
1805 * gdb.reverse/i387-stack-reverse.exp: Likewise.
1806 * gdb.reverse/machinestate-precsave.exp: Likewise.
1807 * gdb.reverse/machinestate.exp: Likewise.
1808 * gdb.reverse/sigall-precsave.exp: Likewise.
1809 * gdb.reverse/solib-precsave.exp: Likewise.
1810 * gdb.reverse/step-precsave.exp: Likewise.
1811 * gdb.reverse/until-precsave.exp: Likewise.
1812 * gdb.reverse/watch-precsave.exp: Likewise.
1813 * gdb.reverse/watch-reverse.exp: Likewise.
1814
b22089ab
YQ
18152014-10-17 Yao Qi <yao@codesourcery.com>
1816
1817 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
1818 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
1819
6c4486e6
PA
18202014-10-17 Pedro Alves <palves@redhat.com>
1821
1822 PR gdb/17471
1823 * gdb.base/bg-execution-repeat.c: New file.
1824 * gdb.base/bg-execution-repeat.exp: New file.
1825
0ff33695
PA
18262014-10-17 Pedro Alves <palves@redhat.com>
1827
1828 PR gdb/17300
1829 * gdb.base/continue-all-already-running.c: New file.
1830 * gdb.base/continue-all-already-running.exp: New file.
1831
6fdebc3d
PA
18322014-10-17 Pedro Alves <palves@redhat.com>
1833
1834 PR gdb/17472
1835 * gdb.base/annota-input-while-running.c: New file.
1836 * gdb.base/annota-input-while-running.exp: New file.
1837
32a8097b
PA
18382014-10-17 Pedro Alves <palves@redhat.com>
1839
1840 * gdb.base/callfuncs.exp: emove references to osf.
1841 * gdb.base/sigall.exp: Likewise.
1842 * gdb.gdb/selftest.exp: Likewise.
1843 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1844 * gdb.mi/non-stop.c: Likewise.
1845 * gdb.mi/pthreads.c: Likewise.
1846 * gdb.reverse/sigall-precsave.exp: Likewise.
1847 * gdb.reverse/sigall-reverse.exp: Likewise.
1848 * gdb.threads/pthreads.c: Likewise.
1849 * gdb.threads/pthreads.exp: Likewise.
1850
7a3517ff
YQ
18512014-10-17 Yao Qi <yao@codesourcery.com>
1852
1853 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
1854 check 'target_info exists noargs'.
1855 (test_command_prompt_position): Likewise.
1856 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
1857 Remove "set args".
1858 (progvar_simple_while_test): Likewise.
1859 (progvar_complex_if_while_test): Likewise.
1860 (if_while_breakpoint_command_test): Likewise.
1861 (infrun_breakpoint_command_test): Likewise.
1862 (breakpoint_command_test): Likewise.
1863 (watchpoint_command_test): Likewise.
1864 (bp_deleted_in_command_test): Likewise.
1865 (temporary_breakpoint_commands): Likewise.
1866
bb99c472
YQ
18672014-10-16 Yao Qi <yao@codesourcery.com>
1868
1869 * gdb.base/remotetimeout.exp: Remove noargs checking.
1870
7c16b83e
PA
18712014-10-15 Pedro Alves <palves@redhat.com>
1872
1873 PR breakpoints/9649
1874 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
1875 * gdb.base/breakpoint-in-ro-region.exp
1876 (probe_target_hardware_step): New procedure.
1877 (top level): Probe hardware stepping and hardware breakpoint
1878 support. Test stepping through a read-only region, with both
1879 "breakpoint auto-hw" on and off and both "always-inserted" on and
1880 off.
1881
35a49624
IB
18822014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
1883
1884 * gdb.dlang/demangle.exp: Update for demangling changes.
1885
2d1c107c
SC
18862014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1887
1888 * gdb.cp/non-trivial-retval.cc: Add new test cases.
1889 * gdb.cp/non-trivial-retval.exp: Add new tests.
1890
778811d5
SC
18912014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1892
1893 PR c++/13403
1894 PR c++/15154
1895 * gdb.cp/non-trivial-retval.cc: New file.
1896 * gdb.cp/non-trivial-retval.exp: New file.
1897
10c5f0a8
YQ
18982014-10-15 Yao Qi <yao@codesourcery.com>
1899
1900 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
1901 remote host.
1902
65d7b369
YQ
19032014-10-15 Yao Qi <yao@codesourcery.com>
1904
1905 * gdb.python/py-symbol.exp: Match file base name if host is
1906 remote, otherwise match file name with dir name.
1907 * gdb.python/py-symtab.exp: Likewise.
1908 * gdb.python/python.exp: Likewise.
1909
46dc1394
YQ
19102014-10-15 Yao Qi <yao@codesourcery.com>
1911
1912 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
1913 pattern.
1914 * gdb.python/py-symtab.exp: Likewise.
1915 * gdb.python/python.exp: Remove trailing ".*". Fix typo
1916 locationn.
1917
c40cc657
JB
19182014-10-14 Joel Brobecker <brobecker@adacore.com>
1919
1920 * gdb.ada/addr_arith: New testcase.
1921
2abf49e1
MR
19222014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
1923
1924 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
1925 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
1926 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
1927 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
1928
f7088df3
SDJ
19292014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
1930
1931 * gdb.arch/stap-eval-lang-ada.S: Likewise.
1932 * gdb.arch/stap-eval-lang-ada.c: Likewise.
1933 * gdb.arch/stap-eval-lang-ada.exp: New file.
1934
4dc06805
YQ
19352014-10-14 Yao Qi <yao@codesourcery.com>
1936
1937 * gdb.mi/mi-var-child.c (nothing1): New function.
1938 (nothing2): New function.
1939 (do_children_tests): Set function pointers by nothing1 and
1940 nothing2.
1941 * gdb.mi/mi-var-child.exp: Step over new added statements.
1942 Update test to match the new output.
1943 * gdb.mi/var-cmd.c (nothing1): New function.
1944 (nothing2): New function.
1945 (do_children_tests): Set function pointers by nothing1 and
1946 nothing2.
1947 * gdb.mi/mi-var-display.exp: Update test to match output.
1948 Step to the line specified by $line_dct_nothing.
1949 Increase the number of lines to step.
1950
46a93de2
YQ
19512014-10-14 Yao Qi <yao@codesourcery.com>
1952
1953 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
1954 tests.
1955 * gdb.mi/mi2-var-child.exp: Likewise.
1956
14ea52ee
DE
19572014-10-13 Doug Evans <dje@google.com>
1958
1959 * gdb.python/py-objfile.exp: Change name of file name test.
1960
e5c6e92b
DE
19612014-10-13 Doug Evans <dje@google.com>
1962
1963 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
1964 from the start of the CU.
1965
c780cc2f
JK
19662014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1967 Yao Qi <yao@codesourcery.com>
1968
1969 Fix "save breakpoints" for "catch" command.
1970 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
1971 Remove -nonewline. Match also the added "main" line.
1972
99894e11
JK
19732014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1974
1975 Fix "save breakpoints" for "disable $bpnum" command.
1976 * gdb.base/save-bp.c (main): Add label.
1977 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
1978
6e1ac5a3
JK
19792014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1980
1981 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
1982
754dd2b0
YQ
19832014-10-11 Yao Qi <yao@codesourcery.com>
1984
1985 * gdb.server/server-kill.exp: Execute command
1986 "set remote trace-status-packet on" before "tstatus".
1987
f90183d7
YQ
19882014-10-11 Yao Qi <yao@codesourcery.com>
1989
1990 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
1991 (main): Call getppid.
1992 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
1993 and continue to it. Read variable "server_pid".
1994
bf40a607
YQ
19952014-10-11 Yao Qi <yao@codesourcery.com>
1996
1997 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
1998
052ca370
YQ
19992014-10-11 Yao Qi <yao@codesourcery.com>
2000
2001 * gdb.threads/thread-find.exp: Don't execute command
2002 "info threads".
2003 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
2004 * gdb.threads/linux-dp.exp: Don't check the condition
2005 $threads_created equals to zero.
2006
3831839c
PA
20072014-10-10 Pedro Alves <palves@redhat.com>
2008
2009 * gdb.base/bigcore.exp: Remove references to IRIX.
2010 * gdb.base/funcargs.exp: Likewise.
2011 * gdb.base/interrupt.exp: Likewise.
2012 * gdb.base/mips_pro.exp: Likewise.
2013 * gdb.base/nodebug.exp: Likewise.
2014 * gdb.base/setvar.exp: Likewise.
2015 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
2016
8b9a549d
PA
20172014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2018 Pedro Alves <palves@redhat.com>
2019
2020 PR symtab/14466
2021 * gdb.base/vdso-warning.c: New file.
2022 * gdb.base/vdso-warning.exp: New file.
2023
d48ba5e8
DE
20242014-10-02 Doug Evans <dje@google.com>
2025
2026 * gdb.base/structs.c (main): Don't run forever.
2027
2278c276
PA
20282014-10-02 Pedro Alves <palves@redhat.com>
2029
2030 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
2031 (top level) <stop threads 1, stop threads 2>: Use it.
2032
b57bacec
PA
20332014-10-02 Pedro Alves <palves@redhat.com>
2034
2035 * gdb.threads/break-while-running.exp (test): Add new
2036 'update_thread_list' argument. Skip "info threads" if false.
2037 (top level): Add new 'update_thread_list' axis.
2038
13fd3ff3
PA
20392014-10-02 Pedro Alves <palves@redhat.com>
2040
2041 PR breakpoints/17431
2042 * gdb.base/execl-update-breakpoints.c: New file.
2043 * gdb.base/execl-update-breakpoints.exp: New file.
2044
0fec99e8
PA
20452014-10-01 Pedro Alves <palves@redhat.com>
2046
2047 * gdb.base/breakpoint-in-ro-region.c: New file.
2048 * gdb.base/breakpoint-in-ro-region.exp: New file.
2049
2ddf4301
SM
20502014-10-01 Simon Marchi <simon.marchi@ericsson.com>
2051
2052 * gdb.mi/mi-exit-code.exp: New file.
2053 * gdb.mi/mi-exit-code.c: New file.
2054
6a5f3f43
YQ
20552014-09-30 Yao Qi <yao@codesourcery.com>
2056
2057 * lib/prelink-support.exp (build_executable_own_libs): Error if
2058 the target isn't native.
2059
345bcc73
YQ
20602014-09-30 Yao Qi <yao@codesourcery.com>
2061
2062 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
2063 false.
2064
a25a5a45
PA
20652014-09-22 Pedro Alves <palves@redhat.com>
2066
2067 * gdb.threads/break-while-running.exp: New file.
2068 * gdb.threads/break-while-running.c: New file.
2069
00ba3162
YQ
20702014-09-19 Yao Qi <yao@codesourcery.com>
2071
2072 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
2073 Invoke test. Restart GDB with --readnow and invoke test again.
2074
c3b7b696
YQ
20752014-09-19 Yao Qi <yao@codesourcery.com>
2076
2077 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
2078 proc set_breakpoint_on_gcd_function. Invoke
2079 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
2080 invoke set_breakpoint_on_gcd_function again.
2081
2b4fd423
DE
20822014-09-18 Doug Evans <dje@google.com>
2083
2084 * gdb.dwarf2/symtab-producer.exp: New file.
2085
a5947601
SDJ
20862014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2087
2088 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
2089 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
2090 * gdb.base/global-var-nested-by-dso.c: Likewise.
2091 * gdb.base/global-var-nested-by-dso.exp: Likewise.
2092
91c19059
SDJ
20932014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2094 Pedro Alves <palves@redhat.com>
2095
2096 * gdb.base/watch-bitfields.exp: Pass string other than test file
2097 name to prepare_for_testing.
2098 (watch): New procedure.
2099 (expect_watchpoint): Use with_test_prefix.
2100 (top level): Factor out tests to ...
2101 (test_watch_location, test_regular_watch): ... these new
2102 procedures, and use with_test_prefix and gdb_continue_to_end.
2103
bb9d5f81
PP
21042014-09-16 Patrick Palka <patrick@parcs.ath.cx>
2105
2106 PR breakpoints/12526
2107 * gdb.base/watch-bitfields.exp: New file.
2108 * gdb.base/watch-bitfields.c: New file.
2109
635856f5
PA
21102014-09-16 Pedro Alves <palves@redhat.com>
2111
2112 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
2113 software and hardware addresses, not software address against
2114 itself.
2115
7280ceea
PA
21162014-09-16 Pedro Alves <palves@redhat.com>
2117
2118 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
2119 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
2120
428b16bd
PA
21212014-09-16 Pedro Alves <palves@redhat.com>
2122
2123 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
2124 files.
2125 * gdb.base/a2-run.exp: Remove all code guarded by istarget
2126 "*-*-vxworks*" throughout.
2127 * gdb.base/break.exp: Likewise.
2128 * gdb.base/default.exp: Likewise.
2129 * gdb.base/scope.exp: Likewise.
2130 * gdb.base/sepdebug.exp: Likewise.
2131 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
2132 throughout.
2133 * gdb.base/run.c: Likewise.
2134 * gdb.base/sepdebug.c: Likewise.
2135 * gdb.hp/gdb.aCC/run.c: Likewise.
2136 * gdb.reverse/until-reverse.c: Likewise.
2137 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
2138
666d413c
YQ
21392014-09-16 Yao Qi <yao@codesourcery.com>
2140
2141 * boards/local-remote-host-native.exp: New file.
2142
57cbd724
DE
21432014-09-14 Doug Evans <xdje42@gmail.com>
2144
2145 * gdb.threads/queue-signal.c (thread_count): New variable.
2146 (thread_count_mutex, thread_count_condvar): New variables.
2147 (incr_thread_count, wait_all_threads_running): New functions.
2148 (main): Wait for all threads to be in their thread functions.
2149
81219e53
DE
21502014-09-13 Doug Evans <xdje42@gmail.com>
2151
2152 * gdb.threads/queue-signal.c: New file.
2153 * gdb.threads/queue-signal.exp: New file.
2154
3714cea7
DE
21552014-09-13 Doug Evans <xdje42@gmail.com>
2156
2157 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
2158 be consistent with what default_gdb_init uses.
2159 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
2160 the plain text of the prompt. Add some logging printfs.
2161 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
2162
fa43b1d7
PA
21632014-09-12 Pedro Alves <palves@redhat.com>
2164
2165 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
2166 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
2167 * gdb.arch/i386-size-overlap.exp: Likewise.
2168 * gdb.arch/i386-size.exp: Likewise.
2169 * gdb.arch/i386-unwind.exp: Likewise.
2170 * gdb.base/a2-run.exp: Likewise.
2171 * gdb.base/break.exp: Likewise.
2172 * gdb.base/charset.exp: Likewise.
2173 * gdb.base/chng-syms.exp: Likewise.
2174 * gdb.base/commands.exp: Likewise.
2175 * gdb.base/dbx.exp: Likewise.
2176 * gdb.base/find.exp: Likewise.
2177 * gdb.base/funcargs.exp: Likewise.
2178 * gdb.base/jit-simple.exp: Likewise.
2179 * gdb.base/reread.exp: Likewise.
2180 * gdb.base/sepdebug.exp: Likewise.
2181 * gdb.base/step-bt.exp: Likewise.
2182 * gdb.cp/mb-inline.exp: Likewise.
2183 * gdb.cp/mb-templates.exp: Likewise.
2184 * gdb.objc/basicclass.exp: Likewise.
2185 * gdb.threads/killed.exp: Likewise.
2186
9d9bf2df
EBM
21872014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2188
2189 PR tdep/17379
2190 * gdb.arch/powerpc-stackless.S: New file.
2191 * gdb.arch/powerpc-stackless.exp: New file.
2192
1cf2f1b0
JK
21932014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2194
2195 * gdb.base/attach.c: Include unistd.h.
2196 (main): Call alarm. Add label postloop.
2197 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
2198 gdb_breakpoint, gdb_continue_to_breakpoint.
2199 (test_command_line_attach_run): Kill ${testpid} in one exit path.
2200
98880d46
PA
22012014-09-11 Pedro Alves <palves@redhat.com>
2202
2203 PR gdb/17347
2204 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
2205 * gdb.base/attach.exp (test_command_line_attach_run): New
2206 procedure.
2207 (top level): Call it.
2208
4c92ff2c
PA
22092014-09-11 Pedro Alves <palves@redhat.com>
2210
2211 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
2212 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
2213 (do_command_attach_tests): Use spawn_wait_for_attach.
2214 * gdb.base/solib-overlap.exp: Likewise.
2215 * gdb.multi/multi-attach.exp: Likewise.
2216 * gdb.python/py-prompt.exp: Likewise.
2217 * gdb.python/py-sync-interp.exp: Likewise.
2218 * gdb.server/ext-attach.exp: Likewise.
2219
3adc1a7d
GKB
22202014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
2221
2222 * gdb.fortran/array-element.exp: Remove unexpected "continue"
2223 command in testcase. Simplify testcase.
2224
96334934
JB
22252014-09-10 Joel Brobecker <brobecker@adacore.com>
2226
2227 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
2228
eb479039
JB
22292014-09-10 Joel Brobecker <brobecker@adacore.com>
2230
2231 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
2232
deede10c
JB
22332014-09-10 Joel Brobecker <brobecker@adacore.com>
2234
2235 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
2236
7828a5f5
JB
22372014-09-10 Joel Brobecker <brobecker@adacore.com>
2238
2239 * gdb.dwarf2/dynarr-ptr.c: New file.
2240 * gdb.dwarf2/dynarr-ptr.exp: New file.
2241
33aeebcf
MR
22422014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2243
2244 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
2245 of 30 rather than hardcoding 120 for a slow test case. Take the
2246 `gdb,timeout' target setting into account for this calculation.
2247 Don't extend the timeout for the test cases that don't need it.
2248
7b415901
MR
22492014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2250
2251 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
2252 a factor of 2 for a slow test case. Take the `gdb,timeout'
2253 target setting into account for this calculation.
2254 * gdb.reverse/until-precsave.exp: Increase the timeout by
2255 a factor of 15 and 3 respectively rather than adding 120
2256 for a pair of slow test cases. Take the `gdb,timeout'
2257 target setting into account for this calculation.
2258
4a40f85a
MR
22592014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2260
2261 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
2262 timeout, don't pass one down to gdb_expect.
2263 (gdb_expect): Rework timeout selection.
2264
09635af7
MR
22652014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2266
2267 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
2268 exception on timeout.
2269 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
2270 (gdbserver_start_extended): Catch any `gdbserver_start' error
2271 exceptions.
2272 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
2273 * lib/mi-support.exp (mi_gdb_target_load): Catch any
2274 `gdbserver_gdb_load' error exceptions.
2275
2bdd10b7
MR
22762014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2277
2278 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
2279 120 on waiting for the TCP socket to open.
2280
316935f0
DE
22812014-09-09 Doug Evans <xdje42@gmail.com>
2282
2283 * gdb.base/default.exp (show_conv_list): Add _caller_is,
2284 _caller_matches, _any_caller_is, _any_caller_matches.
2285
83740597
DE
22862014-09-09 Doug Evans <xdje42@gmail.com>
2287
2288 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
2289
4c122fc3
YQ
22902014-09-09 Yao Qi <yao@codesourcery.com>
2291
2292 * gdb.mi/mi-var-display.exp: Set print symbol off.
2293
a9f116cb
GKB
22942014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
2295
2296 PR gdb/17035
2297 * gdb.base/commands.exp: Add tests to verify user-defined
2298 commands with empty bodies.
2299 * gdb.python/py-cmd.exp: Test that we don't show user-defined
2300 python commands in `show user command`.
2301 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
2302 scheme commands in `show user command`.
2303
c75bd3a2
JK
23042014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2305
2306 PR python/17355
2307 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
2308 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
2309 * gdb.python/py-framefilter-invalidarg.exp: New file.
2310 * gdb.python/py-framefilter-invalidarg.py: New file.
2311
faa42425
DE
23122014-09-06 Doug Evans <xdje42@gmail.com>
2313
2314 PR 15276
2315 * gdb.python/py-caller-is.c: New file.
2316 * gdb.python/py-caller-is.exp: New file.
2317
474ca4f6
SDJ
23182014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
2319
2320 PR gdb/17235
2321 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
2322 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
2323
eb0b0463
SDJ
23242014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
2325
2326 PR fortran/17237
2327 * gdb.fortran/print-formatted.exp: New file.
2328 * gdb.fortran/print-formatted.f90: Likewise.
2329
5f3b99cf
SS
23302014-09-03 Sasha Smundak <asmundak@google.com>
2331
2332 * gdb.python/py-frame.exp: Test Frame.read_register.
2333
7d793aa9
SDJ
23342014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
2335
2336 PR python/16699
2337 * gdb.python/py-completion.exp: New file.
2338 * gdb.python/py-completion.py: Likewise.
2339
fb0576e9
DE
23402014-08-28 Doug Evans <dje@google.com>
2341
2342 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
2343 eax,etc. are live with values set by gdb and thus the compiler can't
2344 use them.
2345 * gdb.arch/i386-pseudo.c (main): Ditto.
2346
ee92b0dd
DE
23472014-08-27 Doug Evans <dje@google.com>
2348
2349 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
2350
6649db35
DE
23512014-08-25 Doug Evans <dje@google.com>
2352
2353 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
2354 (main): Ditto.
2355
564b7600
DE
23562014-08-25 Doug Evans <dje@google.com>
2357
2358 * gdb.threads/thread-execl.exp: #include <stdio.h>.
2359
3881fb67
YQ
23602014-08-24 Yao Qi <yao@codesourcery.com>
2361
2362 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
2363 symbol off.
2364 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
2365
a05a36a5
DE
23662014-08-22 Doug Evans <dje@google.com>
2367
2368 PR 17276
2369 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
2370 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
2371 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
2372
7c343b48
YQ
23732014-08-22 Yao Qi <yao@codesourcery.com>
2374
2375 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
2376 * gdb.python/py-finish-breakpoint2.exp: Likewise.
2377 * gdb.python/python.exp: Likewise. Use .py file on the host
2378 instead of the build.
2379
22fd09ae
JK
23802014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2381
2382 * gdb.threads/gcore-stale-thread.c: New file.
2383 * gdb.threads/gcore-stale-thread.exp: New file.
2384
a8454a7c
PA
23852014-08-21 Pedro Alves <palves@redhat.com>
2386
2387 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
2388 * gdb.base/gcore-relro-pie.exp: Likewise.
2389 * gdb.base/gcore-relro.exp: Likewise.
2390 * gdb.base/gcore.exp: Likewise.
2391 * gdb.base/print-symbol-loading.exp: Likewise.
2392 * gdb.threads/gcore-thread.exp: Likewise.
2393 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
2394
2a31c623
PA
23952014-08-20 Pedro Alves <palves@redhat.com>
2396 Jan Kratochvil <jan.kratochvil@redhat.com>
2397
2398 * Makefile.in (EXTRA_RULES, CC): New variables, get from
2399 configure.
2400 (EXPECT): Handle READ1 being set.
2401 (all): Depend on EXTRA_RULES.
2402 (check-read1, expect-read1, read1.so, read1): New rules.
2403 * README (Testsuite Parameters): Document the READ1 make variable.
2404 (Race detection): New section.
2405 * configure: Regenerate.
2406 * configure.ac: If build==host==target, and running under a
2407 GNU/glibc system, add read1 to the extra Makefile rules.
2408 (EXTRA_RULES): AC_SUBST it.
2409 * lib/read1.c: New file.
2410
d36430db
JB
24112014-08-20 Joel Brobecker <brobecker@adacore.com>
2412
2413 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
2414 the handling of variables declared as a typedef to an array
2415 which a DW_AT_data_location attribute.
2416
9a0dc9e3
PA
24172014-08-19 Andrew Burgess <aburgess@broadcom.com>
2418 Pedro Alves <palves@redhat.com>
2419
2420 PR symtab/14604
2421 PR symtab/14605
2422 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
2423 gdb_test.
2424
0718a8da
PA
24252014-08-19 Pedro Alves <palves@redhat.com>
2426
2427 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
2428
13b448cd
YQ
24292014-08-19 Yao Qi <yao@codesourcery.com>
2430
2431 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
2432 right line.
2433
1cbf5077
DB
24342014-08-18 David Blaikie <dblaikie@gmail.com>
2435
2436 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
2437
bf0fae19
JB
24382014-08-18 Joel Brobecker <brobecker@adacore.com>
2439
2440 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
2441 attribute in array range.
2442
3c8c5dcc
JB
24432014-08-18 Joel Brobecker <brobecker@adacore.com>
2444
2445 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
2446
e66d4446
SC
24472014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2448
2449 PR c++/17132
2450 * gdb.cp/pr17132.cc: New file.
2451 * gdb.cp/pr17132.exp: New file.
2452
940df408
SC
24532014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2454
2455 * gdb.python/py-xmethods.py (A_getarrayind)
2456 (E_method_char_worker.__call__, E_method_int_worker.__call__):
2457 Use 'print' with function call syntax.
2458 (E_method_matcher.match): Fix tab vs space indentation mixup.
2459
ebcc6c3a
YQ
24602014-08-15 Yao Qi <yao@codesourcery.com>
2461
2462 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
2463 false.
2464
775e0f04
YQ
24652014-08-15 Yao Qi <yao@codesourcery.com>
2466
2467 * gdb.cp/casts.exp: Set print symbol off.
2468 * gdb.cp/class2.exp: Likewise.
2469 * gdb.cp/overload.exp: Likewise.
2470 * gdb.cp/templates.exp: Likewise.
2471
d769e349
DE
24722014-08-11 Doug Evans <dje@google.com>
2473
2474 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
2475 (test_load_shlib): Update.
2476
20c6f1e1
YQ
24772014-08-09 Yao Qi <yao@codesourcery.com>
2478
2479 * gdb.base/display.exp: Invoke is_address_zero_readable.
2480 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
2481 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2482 * gdb.base/hbreak-unmapped.exp: Return if
2483 is_address_zero_readable returns true.
2484 * gdb.base/signest.exp: Likewise.
2485 * gdb.base/signull.exp: Likewise.
2486 * gdb.base/sigbpt.exp: Likewise.
2487 * gdb.guile/scm-disasm.exp: Do the test if
2488 is_address_zero_readable returns false.
2489 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
2490 * gdb.python/py-arch.exp: Likewise.
2491 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
2492 * lib/gdb.exp (is_address_zero_readable): New proc.
2493
5792e8e3
YQ
24942014-08-09 Yao Qi <yao@codesourcery.com>
2495
2496 PR testsuite/13443
2497 * gdb.mi/mi-var-display.exp: Make test messages unique.
2498
3cecbbbe
TT
24992014-08-04 Tom Tromey <tromey@redhat.com>
2500
2501 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
2502 target 0".
2503
00b51ff5
TT
25042014-08-04 Tom Tromey <tromey@redhat.com>
2505
2506 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
2507 "target_resume".
2508
6908c509
JB
25092014-08-01 Joel Brobecker <brobecker@adacore.com>
2510
2511 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
2512 inner_vla_struct_object_size.
2513 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
2514 as xfail.
2515
cc6563d2
PA
25162014-07-30 Pedro Alves <palves@redhat.com>
2517
2518 * gdb.threads/signal-command-handle-nopass.exp (test): Add
2519 comment.
2520
7e09a223
YQ
25212014-07-29 Yao Qi <yao@codesourcery.com>
2522
2523 PR gdb/17206
2524 * gdb.base/until-nodebug.exp: New.
2525
7ebdbe92
DE
25262014-07-28 Doug Evans <xdje42@gmail.com>
2527
2528 PR guile/17203
2529 * gdb.guile/scm-parameter.exp: Add tests for trying to create
2530 previously existing parameter, and previously ambiguously spelled
2531 parameter.
2532
fdb1adc6
WN
25332014-07-28 Will Newton <will.newton@linaro.org>
2534
2535 * gdb.base/varargs.exp: Remove KFAILs for ARM.
2536
186fcde0
DE
25372014-07-26 Ludovic Courtès <ludo@gnu.org>
2538 Doug Evans <xdje42@gmail.com>
2539
2540 PR guile/17146
2541 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
2542
70509625
PA
25432014-07-25 Pedro Alves <palves@redhat.com>
2544
2545 * gdb.threads/signal-command-handle-nopass.c: New file.
2546 * gdb.threads/signal-command-handle-nopass.exp: New file.
2547 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
2548 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
2549 * gdb.threads/signal-delivered-right-thread.c: New file.
2550 * gdb.threads/signal-delivered-right-thread.exp: New file.
2551
c3f814a1
PA
25522014-07-25 Pedro Alves <palves@redhat.com>
2553
2554 * gdb.base/double-prompt-target-event-error.exp
2555 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
2556 match.
2557 (cancel_pagination_in_target_event): Rework double prompt
2558 detection.
2559 * gdb.base/paginate-after-ctrl-c-running.exp
2560 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
2561 <return>' match.
2562 * gdb.base/paginate-bg-execution.exp
2563 (test_bg_execution_pagination_return)
2564 (test_bg_execution_pagination_cancel): Remove '-notransfer
2565 <return>' matches.
2566 * gdb.base/paginate-execution-startup.exp
2567 (test_fg_execution_pagination_return)
2568 (test_fg_execution_pagination_cancel): Remove '-notransfer
2569 <return>' matches.
2570 * gdb.base/paginate-inferior-exit.exp
2571 (test_paginate_inferior_exited): Remove '-notransfer <return>'
2572 match.
2573 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
2574 * lib/gdb.exp (pagination_prompt): Run text through
2575 string_to_regexp.
2576 (gdb_test_multiple): Match $pagination_prompt instead of
2577 "<return>".
2578 (string_to_regexp): Move to lib/gdb-utils.exp.
2579
e214cf6c
JK
25802014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2581
2582 * gdb.arch/amd64-entry-value-paramref.S: New file.
2583 * gdb.arch/amd64-entry-value-paramref.cc: New file.
2584 * gdb.arch/amd64-entry-value-paramref.exp: New file.
2585 * gdb.arch/amd64-optimout-repeat.S: New file.
2586 * gdb.arch/amd64-optimout-repeat.c: New file.
2587 * gdb.arch/amd64-optimout-repeat.exp: New file.
2588
17d0c5c8
JK
25892014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2590
2591 PR gdb/17170
2592 * gdb.base/statistics.exp: New file.
2593
b8b8facf
DE
25942014-07-17 Doug Evans <dje@google.com>
2595
74b49205 2596 PR gdb/17170
b8b8facf
DE
2597 * gdb.base/maint.exp: Update testing of per-command stats.
2598
1b5d0ab3
PA
25992014-07-16 Pedro Alves <palves@redhat.com>
2600
2601 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
2602 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
2603 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
2604 (tfile_write_buf): New functions.
2605 (add_memory_block): Rewrite using the above.
2606 (adjust_function_address): New function.
2607 (FUNCTION_ADDRESS): New macro.
2608 (write_basic_trace_file): Remove short_x local, and use
2609 tfile_write_16. Change type of func_addr local to unsigned long
2610 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
2611 here. Cast argument of add_memory_block to char pointer.
2612 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
2613 (main): Remove parameters.
2614 * gdb.trace/tfile.exp: Remove nowarnings.
2615
4d974e88
SM
26162014-07-15 Simon Marchi <simon.marchi@ericsson.com>
2617
2618 * gdb.base/debug-expr.exp: Test string evaluation with
2619 "debug expression" on.
2620
41e99568
PA
26212014-07-15 Pedro Alves <palves@redhat.com>
2622
2623 * gdb.base/reread.exp: Use clean_restart.
2624
487d9753
PL
26252014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
2626
2627 * gdb.arch/avr-flash-qualifer.c: New.
2628 * gdb.arch/avr-flash-qualifer.exp: New.
2629
cc1c52ad
PA
26302014-07-14 Pedro Alves <palves@redhat.com>
2631
2632 * gdb.base/paginate-after-ctrl-c-running.c: New file.
2633 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
2634
1e973570
PA
26352014-07-14 Pedro Alves <palves@redhat.com>
2636
2637 * gdb.base/double-prompt-target-event-error.c: New file.
2638 * gdb.base/double-prompt-target-event-error.exp: New file.
2639
93d6eb10
PA
26402014-07-14 Pedro Alves <palves@redhat.com>
2641
2642 PR gdb/17072
2643 * gdb.base/paginate-inferior-exit.c: New file.
2644 * gdb.base/paginate-inferior-exit.exp: New file.
2645
0017922d
PA
26462014-07-14 Pedro Alves <palves@redhat.com>
2647
2648 PR gdb/17072
2649 * gdb.base/paginate-bg-execution.c: New file.
2650 * gdb.base/paginate-bg-execution.exp: New file.
2651
94696ad3
PA
26522014-07-14 Pedro Alves <palves@redhat.com>
2653
2654 PR gdb/17072
2655 * gdb.base/paginate-execution-startup.c: New file.
2656 * gdb.base/paginate-execution-startup.exp: New file.
2657 * lib/gdb.exp (pagination_prompt): New global.
2658 (default_gdb_spawn): New procedure, factored out from
2659 default_gdb_spawn.
2660 (default_gdb_start): Adjust to call default_gdb_spawn.
2661 (gdb_spawn): New procedure.
2662
bd293940
PA
26632014-07-14 Pedro Alves <palves@redhat.com>
2664
2665 * lib/gdb.exp (gdb_assert): New procedure.
2666 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
2667
c933f875
PA
26682014-07-14 Pedro Alves <palves@redhat.com>
2669
2670 * gdb.base/execution-termios.c: New file.
2671 * gdb.base/execution-termios.exp: New file.
2672
d98b7a16
TT
26732014-07-14 Tom Tromey <tromey@redhat.com>
2674
2675 * gdb.cp/vla-cxx.cc: New file.
2676 * gdb.cp/vla-cxx.exp: New file.
2677
548740d6
TT
26782014-07-14 Tom Tromey <tromey@redhat.com>
2679
2680 * gdb.reverse/rerun-prec.c: New file.
2681 * gdb.reverse/rerun-prec.exp: New file.
2682
a25eb028
MR
26832014-07-12 Maciej W. Rozycki <macro@mips.com>
2684 Maciej W. Rozycki <macro@codesourcery.com>
2685
2686 * lib/gdb-utils.exp: New file.
2687 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
2688 inline `gdb_init_command' processing.
2689 (gdb_start_cmd): Likewise.
2690 * lib/mi-support.exp (mi_run_cmd): Likewise.
2691 * README: Document `gdb_init_command' and `gdb_init_commands'.
2692
218c2655
JK
26932014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2694
2695 Fix false FAIL running under a very long directory name.
2696 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
2697 and "set print elements 10000". Twice.
2698
5401fde3
YQ
26992014-07-11 Yao Qi <yao@codesourcery.com>
2700
2701 * gdb.base/exprs.exp: "set print symbol off".
2702
e76126e8
PA
27032014-07-11 Pedro Alves <palves@redhat.com>
2704
2705 * gdb.threads/kill.c: New file.
2706 * gdb.threads/kill.exp: New file.
2707
2d6f0de6
YQ
27082014-07-10 Yao Qi <yao@codesourcery.com>
2709
2710 * gdb.trace/tfile.c (write_basic_trace_file)
2711 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
2712 address written to trace file.
2713
7180e04a
PA
27142014-07-09 Pedro Alves <palves@redhat.com>
2715
2716 * gdb.base/attach-wait-input.exp: New file.
2717 * gdb.base/attach-wait-input.c: New file.
2718
9a9a7608
AB
27192014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2720
2721 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
2722 setting up test structures.
2723 (main): Call new test function.
2724 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
2725 test function, continue into test function and walk test
2726 structures.
2727
161ac41e
YQ
27282014-07-02 Yao Qi <yao@codesourcery.com>
2729
2730 * gdb.trace/entry-values.c: Define labels 'foo_start' and
2731 'bar_start' at the beginning of functions 'foo' and 'bar'
2732 respectively.
2733 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
2734 instead of 'foo' and 'bar'.
2735
1f267ae3
MM
27362014-07-08 Markus Metzger <markus.t.metzger@intel.com>
2737
2738 * gdb.btrace/segv.exp: New.
2739 * gdb.btrace/segv.c: New.
2740
2b239efb
LM
27412014-07-02 Luis Machado <lgustavo@codesourcery.com>
2742
2743 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
2744 instruction.
2745
cf363f18
MW
27462014-06-30 Mark Wielaard <mjw@redhat.com>
2747
2748 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
2749 vulture, vilify, villar): New volatile array constants.
2750 (vindictive, vegetation): New const volatile array constants.
2751 * gdb.base/volatile.exp: Test volatile and const volatile array
2752 types.
2753
aebf9d24
AA
27542014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2755
2756 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
2757 target lacks support for awatch, rwatch, or hbreak.
2758
b67a2c6f
YQ
27592014-06-27 Yao Qi <yao@codesourcery.com>
2760
2761 * gdb.multi/dummy-frame-restore.exp: New.
2762 * gdb.multi/dummy-frame-restore.c: New.
2763
aef92902
MM
27642014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2765
2766 * gdb.btrace/gcore.exp: New.
2767
8e9db26e
PA
27682014-06-23 Pedro Alves <palves@redhat.com>
2769
2770 * gdb.base/watchpoint-reuse-slot.c: New file.
2771 * gdb.base/watchpoint-reuse-slot.exp: New file.
2772
70afc5b7
SC
27732014-06-23 Siva Chandra Reddy <sivachandra@google.com>
2774
2775 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
2776 progspace's filename in 'info', 'enable' and 'disable' command
2777 tests.
2778
b972bd9c
JK
27792014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2780
2781 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
2782 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2783 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
2784
125f8a3d
GB
27852014-06-20 Gary Benson <gbenson@redhat.com>
2786
2787 * gdb.arch/i386-avx.exp: Fix include file location.
2788 * gdb.arch/i386-sse.exp: Likewise.
2789
3ed9baed
IB
27902014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
2791
2792 * gdb.dlang/expression.exp: New file.
2793
034f788c
PA
27942014-06-19 Pedro Alves <palves@redhat.com>
2795
2796 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
2797 out from ...
2798 (top level): ... here. Iterate running tests under different
2799 scheduler-locking settings.
2800
45371d0c
LM
28012014-06-18 Luis Machado <lgustavo@codesourcery.com>
2802
2803 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
2804 to DW_FORM_addr and use non-zero addresses.
2805
5d376983
SC
28062014-06-18 Siva Chandra Reddy <sivachandra@google.com>
2807
2808 PR gdb/17017
2809 * gdb.python/py-xmethods.cc: Add global function call counters and
2810 increment them in their respective functions. Remove "cout"
2811 statements.
2812 * gdb.python/py-xmethods.exp: Make tests check the global function
2813 call counters instead of depending on inferior IO.
2814
a1aa2221
LM
28152014-06-18 Don Breazeal <donb@codesourcery.com>
2816
2817 * gdb.base/foll-fork.exp (default_fork_parent_follow):
2818 Deleted procedure.
2819 (explicit_fork_parent_follow): Deleted procedure.
2820 (explicit_fork_child_follow): Deleted procedure.
2821 (test_follow_fork): New procedure.
2822 (do_fork_tests): Replace calls to deleted procedures with
2823 calls to test_follow_fork and reset GDB for subsequent
2824 procedure calls.
2825
0fc05997
YQ
28262014-06-17 Yao Qi <yao@codesourcery.com>
2827
2828 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
2829 CP1252.
2830
70795c52
LM
28312014-06-17 Luis Machado <lgustavo@codesourcery.com>
2832
2833 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
2834 Initialize ptr and S explicitly.
2835 (skip_type_update_when_not_use_rtti_test): Likewise.
2836
6be47f0c
KS
28372014-06-16 Keith Seitz <keiths@redhat.com>
2838
2839 PR mi/15863
2840 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
2841 the inferior is started.
2842
d03de421
PA
28432014-06-16 Pedro Alves <palves@redhat.com>
2844
2845 * gdb.base/break-main-file-remove-fail.c: New file.
2846 * gdb.base/break-main-file-remove-fail.exp: New file.
2847 * gdb.base/break-unload-file.exp: Use build_executable instead of
2848 prepare_for_testing.
2849 (test_break): New parameter "initial_load". Handle it.
2850 (top level): Add initial_load cmdline/file axis.
2851
f9579b99
TT
28522014-06-12 Tom Tromey <tromey@redhat.com>
2853
2854 * gdb.base/completion.exp: Don't use directory name in test.
2855
3657956b
GB
28562014-06-09 Gary Benson <gbenson@redhat.com>
2857
2858 * gdb.base/sigall.c [Functions to send signals]: Reorder to
2859 separate the always-available ANSI-standard signals from the
2860 signals that require checking.
2861 (main): Likewise.
2862 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
2863 Likewise.
2864 (main): Likewise.
2865
4186eb54
KS
28662014-06-07 Keith Seitz <keiths@redhat.com>
2867
2868 Revert:
2869 PR c++/16253
2870 * gdb.cp/var-tag.cc: New file.
2871 * gdb.cp/var-tag.exp: New file.
2872 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2873 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2874 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2875 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2876
25326a28 28772014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
2878
2879 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
2880
829155c9
PA
28812014-06-06 Pedro Alves <palves@redhat.com>
2882
2883 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
2884 in target debug output instead of looking at RSP packets,
2885 disabling the test on any target that uses hardware stepping.
2886 Update comments.
2887
61c8d22e
PA
28882014-06-06 Pedro Alves <palves@redhat.com>
2889
2890 * gdb.base/break-unload-file.exp: Fix typo.
2891
d9a47287
YQ
28922014-06-06 Yao Qi <yao@codesourcery.com>
2893
2894 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
2895 from "jit_function" to "^jit_function".
2896
e5e01dbf
YQ
28972014-06-06 Yao Qi <yao@codesourcery.com>
2898
2899 * gdb.base/async.c (foo): Add one statement.
2900 * gdb.base/async.exp: Get the next instruction address and
2901 match the output of "nexti" by instruction address. Match
2902 the hex address in the output of "finish".
2903
73ba372c
GB
29042014-06-06 Gary Benson <gbenson@redhat.com>
2905
2906 * gdb.base/call-signals.c: Remove preprocessor conditionals
2907 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
2908 SIGSEGV and SIGTERM.
2909 * gdb.base/sigall.c: Likewise.
2910 * gdb.base/unwindonsignal.c: Likewise.
2911 * gdb.reverse/sigall-reverse.c: Likewise.
2912
831517df
YQ
29132014-06-06 Yao Qi <yao@codesourcery.com>
2914
2915 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
2916 readable, skip the test.
2917
b8b91e98
YQ
29182014-06-06 Yao Qi <yao@codesourcery.com>
2919
2920 * gdb.threads/staticthreads.c (thread_function): Move the line
2921 setting breakpoint on forward.
2922 * gdb.threads/staticthreads.exp: Update comments.
2923
fb934770
LC
29242014-06-05 Ludovic Courtès <ludo@gnu.org>
2925
2926 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
2927 "history-append! type error".
2928
6ef284bd
SM
29292014-06-05 Simon Marchi <simon.marchi@ericsson.com>
2930
2931 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
2932 erroneous dprintf expected input.
2933
a872e241
DE
29342014-06-04 Doug Evans <xdje42@gmail.com>
2935
2936 * gdb.guile/scm-generics.exp: Delete.
2937
16f691fb
DE
29382014-06-04 Doug Evans <xdje42@gmail.com>
2939
2940 * gdb.guile/scm-breakpoint.exp: Update.
2941 Add tests for breakpoint registration.
2942
012370f6
TT
29432014-06-04 Tom Tromey <tromey@redhat.com>
2944
2945 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
2946 VLA-in-union.
2947 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
2948 inner_vla_struct, vla_union types. Initialize objects of those
2949 types and compute their sizes.
2950
9f5a4cef
HZ
29512014-06-04 Nathan Sidwell <nathan@codesourcery.com>
2952 Hui Zhu <hui@codesourcery.com>
2953
2954 * gdb.base/fileio.exp: Add test for shell not available as well as
2955 available.
2956 * gdb.base/fileio.c (test_system): Check for shell twice.
2957
90a45c4d
YQ
29582014-06-04 Yao Qi <yao@codesourcery.com>
2959
2960 * gdb.base/auto-connect-native-target.exp: Remove redundant
2961 space from the regexp pattern.
2962
70017e41
YQ
29632014-06-04 Yao Qi <yao@codesourcery.com>
2964
2965 * gdb.base/default.exp: Replace "child" with "native" in
2966 regexp pattern.
2967
883964a7
SC
29682014-06-03 Siva Chandra Reddy <sivachandra@google.com>
2969
2970 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
2971 * gdb.python/py-xmethods.exp: New tests to test xmethods.
2972 * gdb.python/py-xmethods.py: Python script supporting the
2973 new testcase and tests.
2974
ef370185
JB
29752014-06-03 Joel Brobecker <brobecker@adacore.com>
2976 Pedro Alves <palves@redhat.com>
2977
2978 PR breakpoints/17000
2979 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
2980 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
2981
1e2ccb61
BM
29822014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
2983
2984 * gdb.base/subst.exp: Add tests to verify partial path matching
2985 output.
2986
c6ec5ab2
PA
29872014-06-03 Pedro Alves <palves@redhat.com>
2988
2989 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
2990 target that doesn't use software single-stepping.
2991
835c559f
PA
29922014-06-03 Pedro Alves <palves@redhat.com>
2993
2994 PR breakpoints/17000
2995 * gdb.base/sss-bp-on-user-bp-2.c: New file.
2996 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
2997
06eb1586
DE
29982014-06-02 Doug Evans <xdje42@gmail.com>
2999
3000 * gdb.guile/scm-parameter.exp: New file.
3001
e698b8c4
DE
30022014-06-02 Doug Evans <xdje42@gmail.com>
3003
3004 * gdb.guile/scm-cmd.c: New file.
3005 * gdb.guile/scm-cmd.exp: New file.
3006
ded03782
DE
30072014-06-02 Doug Evans <xdje42@gmail.com>
3008
3009 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
3010 pretty-printer lookup.
3011 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
3012 (make-pp_s-printer): Call it.
3013 (make-pretty-printer-from-dict): New function.
3014 (lookup-pretty-printer-maker-from-dict): New function.
3015 (*pretty-printer*): Simplify.
3016 (make-objfile-pp_s-printer): New function.
3017 (install-objfile-pretty-printers!): New function.
3018 (make-progspace-pp_s-printer): New function.
3019 (install-progspace-pretty-printers!): New function.
3020 * gdb.guile/scm-progspace.c: New file.
3021 * gdb.guile/scm-progspace.exp: New file.
3022
41fac0cf
PA
30232014-06-02 Pedro Alves <palves@redhat.com>
3024
3025 * gdb.base/dprintf-bp-same-addr.c: New file.
3026 * gdb.base/dprintf-bp-same-addr.exp: New file.
3027
96ae5695
EBM
30282014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3029
3030 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
3031 * gdb.arch/powerpc-power.s: Likewise.
3032
da02b3a8
JB
30332014-06-02 Joel Brobecker <brobecker@adacore.com>
3034
3035 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
3036
c72b2e7b
YQ
30372014-06-01 Yao Qi <yao@codesourcery.com>
3038
3039 * gdb.base/watchpoint.exp (test_watch_location): Check null
3040 pointer can be dereferenced. If not, do the test, otherwise
3041 skip it.
3042
53e8a631
AB
30432014-05-30 Andrew Burgess <aburgess@broadcom.com>
3044
3045 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
3046 results.
3047 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
3048
938f0e2f
AB
30492014-05-30 Andrew Burgess <aburgess@broadcom.com>
3050
3051 * gdb.arch/amd64-invalid-stack-middle.S: New file.
3052 * gdb.arch/amd64-invalid-stack-middle.c: New file.
3053 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
3054 * gdb.arch/amd64-invalid-stack-top.c: New file.
3055 * gdb.arch/amd64-invalid-stack-top.exp: New file.
3056
9ba6657a
PA
30572014-05-30 Pedro Alves <palves@redhat.com>
3058
3059 PR breakpoints/17000
3060 * gdb.base/sss-bp-on-user-bp.c: New file.
3061 * gdb.base/sss-bp-on-user-bp.exp: New file.
3062
522c09bf
DB
30632014-05-30 David Blaikie <dblaikie@gmail.com>
3064
3065 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
3066 gnu_inline semantics via attribute.
3067 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
3068 source explicitly specifies the required semantics.
3069
bf4ef81e
MR
30702014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
3071
3072 * gdb.reverse/sigall-reverse.exp: Fix a typo.
3073
329ea579
PA
30742014-05-29 Pedro Alves <palves@redhat.com>
3075 Tom Tromey <tromey@redhat.com>
3076
3077 * gdb.base/async-shell.exp: Don't enable target-async.
3078 * gdb.base/async.exp
3079 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
3080 parameter. Adjust.
3081 (top level): Don't test with "target-async".
3082 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
3083 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
3084 * gdb.base/inferior-died.exp: Don't enable target-async.
3085 * gdb.base/interrupt-noterm.exp: Likewise.
3086 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
3087 * gdb.mi/mi-nonstop-exit.exp: Likewise.
3088 * gdb.mi/mi-nonstop.exp: Likewise.
3089 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
3090 * gdb.mi/mi-nsintrall.exp: Likewise.
3091 * gdb.mi/mi-nsmoribund.exp: Likewise.
3092 * gdb.mi/mi-nsthrexec.exp: Likewise.
3093 * gdb.mi/mi-watch-nonstop.exp: Likewise.
3094 * gdb.multi/watchpoint-multi.exp: Adjust comment.
3095 * gdb.python/py-evsignal.exp: Don't enable target-async.
3096 * gdb.python/py-evthreads.exp: Likewise.
3097 * gdb.python/py-prompt.exp: Likewise.
3098 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
3099 * gdb.server/solib-list.exp: Don't enable target-async.
3100 * gdb.threads/thread-specific-bp.exp: Likewise.
3101 * lib/mi-support.exp: Adjust to use mi-async.
3102
fd664c91
PA
31032014-05-29 Pedro Alves <palves@redhat.com>
3104
3105 PR gdb/13860
3106 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
3107 reason, even in sync mode.
3108
251bde03
PA
31092014-05-29 Pedro Alves <palves@redhat.com>
3110 Hui Zhu <hui@codesourcery.com>
3111
3112 PR PR15693
3113 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
3114 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
3115 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
3116 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
3117
7f3c0343
JB
31182014-05-28 Joel Brobecker <brobecker@adacore.com>
3119
3120 * config/monitor.exp (gdb_target_monitor): Replace use of
3121 "set remotebaud" by "set serial baud".
3122
b2715b27
AW
31232014-05-26 Andy Wingo <wingo@igalia.com>
3124
3125 * gdb.guile/scm-breakpoint.exp:
3126 * gdb.guile/scm-gsmob.exp: Update to use plain old object
3127 properties instead of gdb-object-properties.
3128
498a4489
YQ
31292014-05-26 Yao Qi <yao@codesourcery.com>
3130
3131 * gdb.server/no-thread-db.exp: Specify source file name
3132 explicitly when setting a breakpoint.
3133
589fdceb
MM
31342014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3135
3136 * gdb.btrace/vdso.c: New.
3137 * gdb.btrace/vdso.exp: New.
3138
e9089e05
MM
31392014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3140
3141 * gdb.base/gcore.exp (capture_command_output): Move ...
3142 * lib/gdb.exp (capture_command_output): ... here.
3143
67b5c0c1
MM
31442014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3145
3146 * gdb.btrace/data.exp: Test memory access during btrace replay.
3147
a2199296
SM
31482014-05-22 Simon Marchi <simon.marchi@ericsson.com>
3149
3150 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
3151
17b2616c
PA
31522014-05-21 Pedro Alves <palves@redhat.com>
3153
3154 PR gdb/13860
3155 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
3156 (top level): Test that output related to execution commands is
3157 sent to the console with CLI commands, but not with MI commands.
3158 Test that breakpoint events are always mirrored to the console.
3159 Also expect the new source line to be output after a "next" in
3160 async mode too. Make it a pass/fail test.
3161 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
3162 output.
3163 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
3164
5166082f
PA
31652014-05-21 Pedro Alves <palves@redhat.com>
3166
3167 * gdb.base/list.exp (build_pattern, test_list): New procedures.
3168 Use them to test variations of "list" after reaching a breakpoint.
3169 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
3170 Test "list" with listsize 10 after reaching a breakpoint.
3171 * gdb.python/python.exp (decode_line current location line
3172 number): Adjust expected line number.
3173
2f25d70f
SM
31742014-05-21 Simon Marchi <simon.marchi@ericsson.com>
3175
3176 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
3177 behavior for $args, pass it directly to "run".
3178
ff604a67
MR
31792014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3180
3181 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
3182 30000 to 65536.
3183
6a3cb8e8
PA
31842014-05-21 Pedro Alves <palves@redhat.com>
3185
3186 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
3187 auto-connect-native-target off".
3188 * gdb.base/auto-connect-native-target.c: New file.
3189 * gdb.base/auto-connect-native-target.exp: New file.
3190
4ebfc96e
PA
31912014-05-21 Pedro Alves <palves@redhat.com>
3192
3193 * gdb.base/default.exp: Test "target native" instead of "target
3194 child".
3195
36d46afb
MW
31962014-05-21 Mark Wielaard <mjw@redhat.com>
3197
3198 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3199
5876f503
JK
32002014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3201
3202 Fix TLS access for -static -pthread.
3203 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
3204 <HAVE_TLS> (thread_function, main): Initialize it.
3205 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
3206 Add clean_restart.
3207 <$have_tls != "">: Check TLSVAR.
3208
0256a6ac
PA
32092014-05-21 Pedro Alves <palves@redhat.com>
3210
3211 * gdb.base/dcache-line-read-error.c: New.
3212 * gdb.base/dcache-line-read-error.exp: New.
3213
936d2992
PA
32142014-05-20 Pedro Alves <palves@redhat.com>
3215
3216 * gdb.base/compare-sections.c: New file.
3217 * gdb.base/compare-sections.exp: New file.
3218
802e8e6d
PA
32192014-05-20 Pedro Alves <palves@redhat.com>
3220
3221 * gdb.base/break-idempotent.c: New file.
3222 * gdb.base/break-idempotent.exp: New file.
3223
e59fa00f
MM
32242014-05-20 Markus Metzger <markus.t.metzger@intel.com>
3225
3226 * gdb.btrace/nohist.exp: New.
3227
8b696e31
YQ
32282014-05-20 Yao Qi <yao@codesourcery.com>
3229
3230 * lib/gdb.exp (gdb_init): Set timeout if test file is under
3231 gdb.reverse directory and gdb_reverse_timeout exists in board
3232 setting.
3233 * README: Document gdb_reverse_timeout.
3234
73c9764f
YQ
32352014-05-20 Yao Qi <yao@codesourcery.com>
3236
3237 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
3238 'test_file_name'. Treat args as a string instead of a list.
3239 (gdb_init): Rename argument 'args' by 'test_file_name'.
3240
f1f4348a
JK
32412014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3242
3243 * gdb.arch/powerpc-power.exp: New file.
3244 * gdb.arch/powerpc-power.s: New file.
3245
0dbe70ce
DE
32462014-05-16 Doug Evans <dje@google.com>
3247
3248 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
3249 * gdb.base/completion.exp: Check that all expected files exist
3250 before doing file completion.
0dbe70ce 3251
8d551b02
DE
32522014-05-16 Doug Evans <dje@google.com>
3253
3254 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
3255 Update.
3256 (do_syscall_tests_without_xml): Update.
3257
73eb7709
PA
32582014-05-16 Pedro Alves <palves@redhat.com>
3259
3260 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
3261 instead of "unknown output after running".
3262
3fae92fc
YQ
32632014-05-16 Yao Qi <yao@codesourcery.com>
3264
3265 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
3266 file1.txt from host at the end.
3267 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3268
c2b2ccc5
DE
32692014-05-15 Doug Evans <dje@google.com>
3270
3271 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
3272 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
3273 loading file. Add test for TU lookup.
3274
8c217a4b
SM
32752014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3276
3277 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
3278 calling "-exec-arguments" or "set args" before running the
3279 inferior.
3280
3deb39c6
SM
32812014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3282
3283 * lib/mi-support.exp (mi_expect_stop): Expect message for
3284 inferiors that exit with non-zero exit code.
3285
71a79f8c
YQ
32862014-05-14 Yao Qi <yao@codesourcery.com>
3287
3288 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
3289 match absolute path on remote host.
3290 (test_file_list_exec_source_files): Remove "/" from the
3291 pattern.
3292
f23fcd46
YQ
32932014-05-14 Yao Qi <yao@codesourcery.com>
3294
3295 * boards/local-remote-host-notty.exp (${board}_file): New
3296 proc.
3297
9404b58f
KM
32982014-05-07 Kyle McMartin <kyle@redhat.com>
3299
3300 Pushed by Joel Brobecker <brobecker@adacore.com>.
3301 * gdb.arch/aarch64-atomic-inst.c: New file.
3302 * gdb.arch/aarch64-atomic-inst.exp: New file.
3303
5e45f04c
YQ
33042014-05-07 Yao Qi <yao@codesourcery.com>
3305
3306 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
3307 in current context" too.
3308
c888a17d
KS
33092014-05-05 Keith Seitz <keiths@redhat.com>
3310
3311 * gdb.linespec/ls-dollar.exp: Add test for linespec
3312 file:convenience_variable.
3313
290a839c
YQ
33142014-05-05 Yao Qi <yao@codesourcery.com>
3315
3316 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
3317 traceframes into tfile and ctf trace files. Read data from
3318 trace file and test collected data.
3319 (gdb_collect_locals_test): Likewise.
3320 (gdb_unavailable_registers_test): Likewise.
3321 (gdb_unavailable_floats): Likewise.
3322 (gdb_collect_globals_test): Likewise.
3323 (top-level): Append "ctf" to trace_file_targets if GDB
3324 supports.
3325
b5262cd0
YQ
33262014-05-05 Yao Qi <yao@codesourcery.com>
3327
3328 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
3329 code to ...
3330 (gdb_collect_args_test_1): ... it. New proc.
3331 (gdb_collect_locals_test): Move some code to ...
3332 (gdb_collect_locals_test_1): ... it. New proc.
3333 (gdb_unavailable_registers_test): Move some code to ...
3334 (gdb_unavailable_registers_test_1): ... it. New proc.
3335 (gdb_unavailable_floats): Move some code to ...
3336 (gdb_unavailable_floats_1): ... it. New proc.
3337
30a1e6cc
SDJ
33382014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3339
3340 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
3341 probes to test for bitness recognition.
3342 * gdb.arch/amd64-stap-optional-prefix.exp
3343 (test_probe_value_without_reg): New procedure.
3344 Add code to test for different kinds of bitness.
3345
f33da99a
SDJ
33462014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3347
3348 PR breakpoints/16889
3349 * gdb.arch/amd64-stap-optional-prefix.S: New file.
3350 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3351
5b80f00d
PA
33522014-05-01 Pedro Alves <palves@redhat.com>
3353
3354 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
3355 gdb_file_cmd if no file is specified.
3356 * boards/native-extended-gdbserver.exp (gdb_load): Use the
3357 last_loaded_file to set the remote exec-file.
3358
f8c2a73c
PA
33592014-05-01 Pedro Alves <palves@redhat.com>
3360
3361 * boards/local-remote-host.exp: New file.
3362
be6e8ac7
PA
33632014-05-01 Pedro Alves <palves@redhat.com>
3364
3365 * boards/local-remote-host.exp: Rename to ...
3366 * boards/local-remote-host-notty.exp: ... this.
3367
cac0dc8f
JB
33682014-04-28 Joel Brobecker <brobecker@adacore.com>
3369
3370 * gdb.ada/dyn_arrayidx: New testcase.
3371
9730e6cc
YQ
33722014-04-26 Yao Qi <yao@codesourcery.com>
3373
3374 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
3375 and compute the length of function main. Save it in
3376 $main_length.
3377 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
3378 (top-level): Use gdb_compile to compile objects into
3379 executable and restart GDB. Remove invocation to
3380 prepare_for_testing.
3381
7ae1a6a6
PA
33822014-04-25 Simon Marchi <simon.marchi@ericsson.com>
3383 Pedro Alves <palves@redhat.com>
3384
3385 PR server/16255
3386 * gdb.multi/multi-attach.c: New file.
3387 * gdb.multi/multi-attach.exp: New file.
3388
4082afcc
PA
33892014-04-25 Pedro Alves <palves@redhat.com>
3390
3391 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
3392 user.
3393 (top level): Test that "set remote conditional-breakpoints-packet
3394 off" works as intended.
3395 * gdb.base/dprintf.exp: Test that "set remote
3396 breakpoint-commands-packet off" works as intended.
3397 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
3398 New function.
3399 (top level): Call it.
3400 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
3401 remote fast-tracepoints-packet off" works as intended.
3402 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
3403 * lib/gdb.exp (gdb_is_target_remote): ... here.
3404
2abc3f8d
DB
34052014-04-24 David Blaikie <dblaikie@gmail.com>
3406
3407 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
3408 ensure clang would not discard them.
3409 * gdb.base/gdbvars.c: Ditto.
3410 * gdb.base/memattr.c: Ditto.
3411 * gdb.base/whatis.c: Ditto.
3412 * gdb.python/py-prettyprint.c: Ditto.
3413 * gdb.trace/actions.c: Ditto.
3414 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
3415 ensure clang would not discard it.
3416
bfd39632
DB
34172014-04-24 David Blaikie <dblaikie@gmail.com>
3418
3419 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
3420 clang to emit the full definition of type required by the test
3421 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
3422
22842ff6
DB
34232014-04-24 David Blaikie <dblaikie@gmail.com>
3424
3425 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
3426 coax Clang into emitting the definition of the type.
3427 * gdb.cp/pr10728-x.h (y): Ditto.
3428 * gdb.cp/pr10728-y.cc (y): Ditto.
3429
c2e827ad
DB
34302014-04-24 David Blaikie <dblaikie@gmail.com>
3431
3432 * gdb.base/label.exp: XFAIL label related tests under Clang.
3433 * gdb.cp/cplabel.exp: Ditto.
3434 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
3435 under Clang those using labels.
3436
4c2d33e7
YQ
34372014-04-25 Yao Qi <yao@codesourcery.com>
3438
3439 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
3440 double_label.
3441 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
3442 partial_label and double_label.
3443
56083b99
DB
34442014-04-24 David Blaikie <dblaikie@gmail.com>
3445
3446 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
3447
25d4e99d
DB
34482014-04-24 David Blaikie <dblaikie@gmail.com>
3449
3450 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
3451 of the function to work across GCC and Clang.
3452 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
3453 pointer types (const void ** const V void **).
3454
01f9f808
MS
34552014-04-24 Michael Sturm <michael.sturm@mintel.com>
3456 Walfred Tedeschi <walfred.tedeschi@intel.com>
3457
3458 * Makefile.in (EXECUTABLES): Added i386-avx512.
3459 * gdb.arch/i386-avx512.c: New file.
3460 * gdb.arch/i386-avx512.exp: Likewise.
3461
4b48d439
KS
34622014-04-23 Keith Seitz <keiths@redhat.com>
3463
3464 * lib/mi-support.exp (mi_list_breakpoints): Delete.
3465 (mi_make_breakpoint_table): New procedure.
3466 (mi_create_breakpoint): Use mi_make_breakpoint
3467 and return the result.
3468 (mi_make_breakpoint): New procedure.
3469 (mi_build_kv_pairs): New procedure.
3470
3471 * gdb.mi/mi-break.exp: Remove unused globals,
3472 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
3473 All callers updated.
3474 * gdb.mi/mi-dprintf.exp: Use variable to track command
3475 number.
3476 Update all callers of mi_create_breakpoint and use
3477 mi_make_breakpoint_table.
3478 Remove any unused global variables.
3479 * gdb.mi/mi-nonstop.exp: Likewise.
3480 * gdb.mi/mi-nsintrall.exp: Likewise.
3481 * gdb.mi/mi-nsmoribund.exp: Likewise.
3482 * gdb.mi/mi-nsthrexec.exp: Likewise.
3483 * gdb.mi/mi-reverse.exp: Likewise.
3484 * gdb.mi/mi-simplerun.exp: Likewise.
3485 * gdb.mi/mi-stepn.exp: Likewise.
3486 * gdb.mi/mi-syn-frame.exp: Likewise.
3487 * gdb.mi/mi-until.exp: Likewise.
3488 * gdb.mi/mi-var-cp.exp: Likewise.
3489 * gdb.mi/mi-var-display.exp: Likewise.
3490 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
3491 * gdb.mi/mi2-var-child.exp: Likewise.
3492 * gdb.mi/mi-vla-c99.exp: Likewise.
3493 * lib/mi-support.exp: Likewise.
3494
3495 From Ian Lance Taylor <iant@cygnus.com>:
3496 * lib/gdb.exp (parse_args): New procedure.
3497
08351840
PA
34982014-04-23 Pedro Alves <palves@redhat.com>
3499
3500 * gdb.base/break-unload-file.c: New file.
3501 * gdb.base/break-unload-file.exp: New file.
3502 * gdb.base/sym-file-lib.c (baz): New function.
3503 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
3504 field.
3505 (load): Store the segment's mapped size.
3506 (unload): New function.
3507 (unload_shlib): New function.
3508 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
3509 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
3510 set a breakpoint at baz, and call it.
3511 * gdb.base/sym-file.exp: New tests for stale breakpoint
3512 instructions.
3513
076855f9
PA
35142014-04-23 Pedro Alves <palves@redhat.com>
3515
3516 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
3517 * gdb.base/hbreak-in-shr-unsupported.c: New file.
3518 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
3519 * gdb.base/hbreak-unmapped.c: New file.
3520 * gdb.base/hbreak-unmapped.exp: New file.
3521 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
3522 * lib/gdb.exp (gdb_is_target_remote): ... here.
3523
483805cf
PA
35242014-04-22 Pedro Alves <palves@redhat.com>
3525
3526 * gdb.base/consecutive-step-over.c: New file.
3527 * gdb.base/consecutive-step-over.exp: New file.
3528
06d97543
PA
35292014-04-22 Pedro Alves <palves@redhat.com>
3530
3531 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
3532 instead of send_gdb/gdb_expect.
3533
b4429ea2
YQ
35342014-04-22 Yao Qi <yao@codesourcery.com>
3535
3536 * lib/trace-support.exp (generate_tracefile): New procedure.
3537 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
3538 return 0.
3539 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
3540 if generate_tracefile returns 1.
3541
51d48146
PA
35422014-04-18 Tom Tromey <palves@redhat.com>
3543 Pedro alves <tromey@redhat.com>
3544
3545 PR backtrace/15558
3546 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
3547 with a backtrace limit.
3548 * gdb.python/py-frame-inline.exp: Test running to an inline
3549 function with a backtrace limit, and printing the newest frame.
3550 * gdb.python/py-frame-inline.c (main): Call f.
3551
bd1dce5f
MS
35522014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3553
3554 * gdb.java/jnpe.exp: Drop srcdir from untested path.
3555
40d1a503
MS
35562014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3557
3558 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
3559 Drop prefix from unsupported source file path.
3560
389b98f7
YQ
35612014-04-17 Yao Qi <yao@codesourcery.com>
3562
3563 * lib/gdb.exp (with_target_charset): New proc.
3564 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
3565 with_target_charset.
3566 (test_print_strings): Likewise.
3567 (test_repeat_bytes): Likewise.
3568 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
3569 for some tests.
3570
22869d73
KS
35712014-04-16 Keith Seitz <keiths@redhat.com>
3572
3573 PR gdb/15827
3574 * gdb.dwarf2/corrupt.c: New file.
3575 * gdb.dwarf2/corrupt.exp: New file.
3576
c4f87ca6
KS
35772014-04-16 Keith Seitz <keiths@redhat.com>
3578
3579 PR c++/16597
3580 * gdb.cp/namelessclass.cc: New file.
3581 * gdb.cp/namelessclass.exp: New file.
3582 * gdb.cp/namelessclass.S: New file.
3583
ab19de87
DE
35842014-04-16 Doug Evans <dje@google.com>
3585
3586 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
3587 Add comment.
3588 (gdbserver_default_get_comm_port): New function.
3589 (gdbserver_start): Check if board file provided
3590 "gdbserver,get_comm_port" and use it if so.
3591 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
3592 (gdb,socketport): Set to "stdio".
3593 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
3594 (stdio_gdbserver_template): Delete.
3595 (${board}_get_remote_address): Update.
3596 (${board}_build_remote_cmd): Delete.
3597 (${board}_get_comm_port): New function.
3598 (${board}_spawn): Update.
3599 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
3600 Delete.
3601 (${board}_get_remote_address): Update.
3602 (${board}_get_comm_port): New function.
3603
fc98a809
AB
36042014-04-16 Andrew Burgess <aburgess@broadcom.com>
3605
3606 * gdb.base/memattr.exp: Improve regexps to handle memory regions
3607 appearing in any order.
3608
87fd9e6e
DE
36092014-04-15 Doug Evans <dje@google.com>
3610
3611 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
3612 uninitialized value of "description".
3613
099fc3ea
KS
36142014-04-15 Keith Seitz <keiths@redhat.com>
3615
3616 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
3617 Remove unused globals.
3618 (test_running_the_program): Likewise.
3619 (test_controlled_execution): Likewise.
3620 (test_controlling_breakpoints): Likewise.
3621 (test_program_termination): Likewise.
3622
5da151d4
KS
36232014-04-15 Keith Seitz <keiths@redhat.com>
3624
3625 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
3626 unused globals.
3627 (test_rbreak_creation_and_listing): Likewise.
3628 (test_ignore_count): Likewise.
3629 (test_error): Likewise.
3630
35e5d2f0
PA
36312014-04-15 Pedro Alves <palves@redhat.com>
3632
3633 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
3634 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
3635 sym-file-loader.c.
3636 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3637 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3638 to sym-file-loader.c.
3639 (struct library): Forward declare.
3640 (load_shlib, lookup_function): Change prototypes.
3641 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3642 (translate_offset): Remove declarations.
3643 (get_text_addr): New declaration.
3644 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
3645 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
3646 sym-file-loader.h.
3647 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3648 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3649 here from sym-file-loader.h.
3650 (struct library): New structure.
3651 (load_shlib, lookup_function): Change prototypes and adjust to
3652 work with a struct library.
3653 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3654 (translate_offset): Make static.
3655 (get_text_addr): New function.
3656 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
3657
eb4c1710
PA
36582014-04-15 Pedro Alves <palves@redhat.com>
3659
3660 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
3661
2d1baf52
PA
36622014-04-15 Pedro Alves <palves@redhat.com>
3663
3664 * gdb.base/sym-file-loader.c: Include <limits.h>.
3665 (SELF_LINK): New define.
3666 (get_origin): New function.
3667 (load_shlib): Use it.
3668 * gdb.base/sym-file.exp: Don't early return if the target is
3669 remote. Use runto_main, and issue fail is that fails. Use
3670 gdb_load_shlibs.
3671 (shlib_name): Delete.
3672 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
3673
7dd6df01
PA
36742014-04-15 Pedro Alves <palves@redhat.com>
3675
3676 * gdb.base/sym-file.exp: Remove regex characters from test
3677 message. Don't refer to breakpoint numbers in test messages.
3678
b50c8614
KS
36792014-04-14 Keith Seitz <keiths@redhat.com>
3680
3681 PR c++/16253
3682 * gdb.cp/var-tag.cc: New file.
3683 * gdb.cp/var-tag.exp: New file.
3684 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3685 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3686 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3687 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3688
3d567982
TT
36892014-04-14 Tom Tromey <tromey@redhat.com>
3690
3691 * gdb.cp/classes.exp (test_enums): Handle underlying type.
3692 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
3693 type.
3694 * gdb.cp/enum-class.exp: New file.
3695 * gdb.cp/enum-class.cc: New file.
3696
0626fc76
TT
36972014-04-14 Tom Tromey <tromey@redhat.com>
3698
3699 * gdb.dwarf2/enum-type.exp: New file.
3700
dca325b3
SA
37012014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3702
3703 * gdb.mi/mi-vla-c99.exp: New file.
3704 * gdb.mi/vla.c: New file.
3705
5854b38a
SA
37062014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3707
3708 * gdb.base/vla-datatypes.c: New file.
3709 * gdb.base/vla-datatypes.exp: New file.
3710
463bb957
SA
37112014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3712
3713 * gdb.base/vla-ptr.c: New file.
3714 * gdb.base/vla-ptr.exp: New file.
3715
3dd170be
SA
37162014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3717
3718 * gdb.dwarf2/count.exp: New file.
3719
5ecaaa66
SA
37202014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3721
3722 * gdb.base/vla-sideeffect.c: New file.
3723 * gdb.base/vla-sideeffect.exp: New file.
3724
41f1ada5
DB
37252014-04-14 David Blaikie <dblaikie@gmail.com>
3726
3727 * gdb.mi/non-stop.c: Add return value for non-void function return
3728 statement.
3729 * gdb.threads/staticthreads.c: Ditto.
3730
0be03e84
DE
37312014-04-12 Siva Chandra Reddy <sivachandra@google.com>
3732 Doug Evans <xdje42@gmail.com>
3733
3734 * gdb.guile/scm-value.c: Improve test case.
3735 * gdb.guile/scm-value.exp: Add new test.
3736
f180a1fb
DB
37372014-04-11 David Blaikie <dblaikie@gmail.com>
3738
3739 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
3740 override Clang's default.
3741
6b662e19
JB
37422014-04-11 Joel Brobecker <brobecker@adacore.com>
3743
3744 Revert the following changes (regressions):
3745
3746 * gdb.base/vla-sideeffect.c: New file.
3747 * gdb.base/vla-sideeffect.exp: New file.
3748
3749 * gdb.dwarf2/count.exp: New file.
3750
3751 * gdb.base/vla-multi.c: New file.
3752 * gdb.base/vla-multi.exp: New file.
3753
3754 * gdb.base/vla-ptr.c: New file.
3755 * gdb.base/vla-ptr.exp: New file.
3756
3757 * gdb.base/vla-datatypes.c: New file.
3758 * gdb.base/vla-datatypes.exp: New file.
3759
3760 * gdb.mi/mi-vla-c99.exp: New file.
3761 * gdb.mi/vla.c: New file.
3762
245a5f0b
KS
37632014-04-11 Keith Seitz <keiths@redhat.com>
3764
3765 PR c++/16675
3766 * gdb.cp/cpsizeof.exp: New file.
3767 * gdb.cp/cpsizeof.cc: New file.
3768
58a84dcf
SA
37692014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3770
191a8a90
JB
3771 * gdb.mi/mi-vla-c99.exp: New file.
3772 * gdb.mi/vla.c: New file.
58a84dcf 3773
c8655f75
SA
37742014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3775
3776 * gdb.base/vla-datatypes.c: New file.
3777 * gdb.base/vla-datatypes.exp: New file.
3778
024e13b4
SA
37792014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3780
3781 * gdb.base/vla-ptr.c: New file.
3782 * gdb.base/vla-ptr.exp: New file.
3783
1a237e0e
SA
37842014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3785
3786 * gdb.base/vla-multi.c: New file.
3787 * gdb.base/vla-multi.exp: New file.
3788
504f3432
SA
37892014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3790
3791 * gdb.dwarf2/count.exp: New file.
3792
3bce8237
SA
37932014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3794
191a8a90
JB
3795 * gdb.base/vla-sideeffect.c: New file.
3796 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 3797
322f9c21
YQ
37982014-04-11 Yao Qi <yao@codesourcery.com>
3799
3800 * gdb.base/completion.exp: Check file exists before running tests
3801 on file completion.
3802
d708bcd1
PA
38032014-04-10 Pedro Alves <palves@redhat.com>
3804
3805 * gdb.base/cond-eval-mode.c: New file.
3806 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
3807 prepare_for_testing to build the new file. Check result of
3808 runto_main.
3809 (test_break, test_watch): New procedures.
3810 (top level): Use them.
3811
ae1d2761
PM
38122014-04-08 Pierre Muller <muller@sourceware.org>
3813
3814 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
3815 Ctrl-V use for mingw hosts.
3816
7af389b8
SC
38172014-04-07 Siva Chandra Reddy <sivachandra@google.com>
3818
3819 * gdb.python/py-value.c: Improve test case.
3820 * gdb.python/py-value.exp: Add new test.
3821
5e703181
DE
38222014-04-07 David Blaikie <dblaikie@gmail.com>
3823
3824 * lib/compiler.c: Identify the clang compiler.
3825 * lib/compiler.cc: Ditto.
3826
9810b410
YQ
38272014-04-03 Yao Qi <yao@codesourcery.com>
3828
3829 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
3830
98d1b8dc
AB
38312014-04-01 Anton Blanchard <anton@samba.org>
3832
3833 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
3834 messages unique.
3835
3114cea1
AB
38362014-04-01 Anton Blanchard <anton@samba.org>
3837
3838 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
3839 prepare_for_testing.
3840
62f7182c
AB
38412014-04-01 Anton Blanchard <anton@samba.org>
3842
3843 * gdb.arch/ppc64-atomic-inst.c: Remove.
3844 * gdb.arch/ppc64-atomic-inst.S: New file.
3845 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
3846
770e7fc7
DE
38472014-03-31 Doug Evans <dje@google.com>
3848
3849 * gdb.base/print-symbol-loading-lib.c: New file.
3850 * gdb.base/print-symbol-loading-main.c: New file.
3851 * gdb.base/print-symbol-loading.exp: New file.
3852
46e2bafa
YQ
38532014-03-31 Yao Qi <yao@codesourcery.com>
3854
3855 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
3856
8776cfe9
JB
38572014-03-28 Joel Brobecker <brobecker@adacore.com>
3858
3859 * gdb.ada/mi_dyn_arr: New testcase.
3860
5d1ef361
DE
38612014-03-27 Doug Evans <dje@google.com>
3862
3863 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
3864
b5bee914
YQ
38652014-03-27 Yao Qi <yao@codesourcery.com>
3866
3867 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
3868 if target is nios2-*-*.
3869
0d4d0e77
YQ
38702014-03-26 Yao Qi <yao@codesourcery.com>
3871
3872 * lib/gdb.exp (readline_is_used): New proc.
3873 * gdb.base/completion.exp: Move tests on command complete up.
3874 Skip the rest of tests if readline is not used.
3875 * gdb.ada/complete.exp: Skp the test if readline is not
3876 used.
3877 * gdb.base/filesym.exp: Likewise.
3878 * gdb.base/macscp.exp: Likewise.
3879 * gdb.base/readline-ask.exp: Likewise.
3880 * gdb.base/readline.exp: Likewise.
3881 * gdb.python/py-cmd.exp: Likewise.
3882 * gdb.trace/tfile.exp: Likewise.
3883
29361eee
YQ
38842014-03-26 Yao Qi <yao@codesourcery.com>
3885
3886 * gdb.base/macscp.exp: Fix code format issues.
3887
bc9a5525
UW
38882014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
3889
3890 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
3891 * gdb.asm/powerpc64le.inc: New file.
3892
d3839ede
PA
38932014-03-25 Pedro Alves <palves@redhat.com>
3894 Doug Evans <dje@google.com>
3895
3896 * gdb.base/source-execution.c: New file.
3897 * gdb.base/source-execution.exp: New file.
3898 * gdb.base/source-execution.gdb: New file.
3899
01672a57
DE
39002014-03-24 Doug Evans <dje@google.com>
3901
3902 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
3903 using fission.
3904
88bbeca9
HZ
39052014-03-24 Hui Zhu <hui@codesourcery.com>
3906 Pedro Alves <palves@redhat.com>
3907
3908 PR breakpoints/16101
3909 * gdb.base/dprintf.exp: Use unsupported rather than changing the
3910 test pass/fail messages. Detect missing support for dprintf when
3911 breakpoints are actually inserted.
3912 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
3913 breakpoints are actually inserted.
3914 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
3915 fails.
3916
d2348791
JK
39172014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3918
3919 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
3920
feef67ab
DE
39212014-03-22 Doug Evans <xdje42@gmail.com>
3922
3923 * gdb.python/python.exp (python not supported): Verify multi-line
3924 python command issues an error.
25d743f9 3925 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 3926 guile command issues an error.
feef67ab 3927
ecebef6a
MR
39282014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
3929
3930 * gdb.threads/thread-specific.exp: Handle the lack of usable
3931 $this_breakpoint and $this_thread.
3932
ccdd1909
HZ
39332014-03-21 Hui Zhu <hui@codesourcery.com>
3934
3935 * gdb.base/attach.exp (do_command_attach_tests): New.
3936
beb460e8
PA
39372014-03-20 Tom Tromey <tromey@redhat.com>
3938 Pedro Alves <palves@redhat.com>
3939
3940 PR cli/15718
3941 * gdb.base/condbreak-call-false.c: New file.
3942 * gdb.base/condbreak-call-false.exp: New file.
3943
40acf43a
PA
39442014-03-20 Pedro Alves <palves@redhat.com>
3945
3946 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
3947 Delete.
3948 (block_signals, unblock_signals): Delete.
3949 (child_function_2, main): Remove references to deleted variable
3950 and functions.
3951
9f5e1e02
PA
39522014-03-20 Pedro Alves <palves@redhat.com>
3953
3954 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
3955 Use pthread_kill to signal thread 2.
3956 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3957 Adjust to make the test send itself a signal rather than using the
3958 host's "kill" command.
3959
99619bea
PA
39602014-03-20 Pedro Alves <palves@redhat.com>
3961
3962 * gdb.threads/multiple-step-overs.c: New file.
3963 * gdb.threads/multiple-step-overs.exp: New file.
3964 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3965 Adjust expected infrun debug output.
3966
2adfaa28
PA
39672014-03-20 Pedro Alves <palves@redhat.com>
3968
3969 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
3970 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
3971
31e77af2
PA
39722014-03-20 Pedro Alves <palves@redhat.com>
3973
3974 PR breakpoints/7143
3975 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
3976 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
3977 of gdb_test_multiple.
3978 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
3979 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
3980
b9f437de
PA
39812014-03-20 Pedro Alves <palves@redhat.com>
3982
3983 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
3984 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
3985
05adc73e
PA
39862014-03-19 Pedro Alves <palves@redhat.com>
3987
3988 * gdb.base/async.exp: Remove early return.
3989
6048b950
PA
39902014-03-19 Pedro Alves <palves@redhat.com>
3991
3992 * gdb.base/async.exp (step& tests): Pass explicit test messages.
3993
8bcfb00a
PA
39942014-03-19 Pedro Alves <palves@redhat.com>
3995
3996 * gdb.base/async.exp (test_background): Expect \r\n after
3997 "completed." in the fail pattern.
3998
884e37dc
PA
39992014-03-19 Pedro Alves <palves@redhat.com>
4000
4001 * gdb.base/async.exp (test_background): New procedure.
4002 Use it for all background execution command tests.
4003
148e57e2
PA
40042014-03-19 Pedro Alves <palves@redhat.com>
4005
4006 * gdb.base/async.exp: Use prepare_for_testing.
4007
f48088c7
PA
40082014-03-19 Pedro Alves <palves@redhat.com>
4009
4010 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
4011 the same line.
4012
e2f6c966
PA
40132014-03-19 Pedro Alves <palves@redhat.com>
4014
4015 * gdb.base/async.c (main): Add "jump here" and "until here" line
4016 marker comments.
4017 * gdb.base/async.exp (jump_here): New global.
4018 (jump& test): Use it.
4019 (until_here): New global.
4020 (until& test): Use it.
4021
c30568d4
PA
40222014-03-19 Pedro Alves <palves@redhat.com>
4023
4024 * gdb.base/async.exp: Don't frob gdb_protocol.
4025
0172b6a7
DE
40262014-03-18 Doug Evans <xdje42@gmail.com>
4027
4028 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
4029 Fix spelling of exec-done-display.
4030
06c868a8
JK
40312014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4032
4033 PR gdb/15358
4034 * gdb.base/gdb-sigterm.c: New file.
4035 * gdb.base/gdb-sigterm.exp: New file.
4036
0c7e1a46
PA
40372014-03-18 Pedro Alves <palves@redhat.com>
4038
4039 PR gdb/13860
4040 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
4041 * lib/mi-support.exp (mi_expect_stop): Add special handling for
4042 solib-event.
4043
f7c77d93
JB
40442014-03-17 Joel Brobecker <brobecker@adacore.com>
4045
4046 * gdb.ada/pckd_arr_ren: New testcase.
4047
5a1e8c7a
DE
40482014-03-13 Doug Evans <xdje42@gmail.com>
4049
4050 PR guile/16612
4051 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
4052 collect after discarding symbols.
4053
350e1a76
DE
40542014-03-13 Ludovic Courtès <ludo@gnu.org>
4055 Doug Evans <xdje42@gmail.com>
4056
4057 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
4058 to history survives a gc.
4059
a69900ae
PA
40602014-03-13 Pedro Alves <palves@redhat.com>
4061
4062 * gdb.base/default.exp: Don't test "target procfs".
4063
5db9f0bd
PA
40642014-03-13 Pedro Alves <palves@redhat.com>
4065
4066 * gdb.base/default.exp: Update "target child" and "target procfs"
4067 tests to not expect "Unix".
4068
b3ccfe11
TT
40692014-03-12 Tom Tromey <tromey@redhat.com>
4070
4071 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
4072 New procs. Add target-async tests.
4073 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
4074 Add target-async tests.
4075
646f4417
AA
40762014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4077
4078 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
4079 'func_start' and 'func_end' for the beginning and end of the
4080 function code, respectively.
4081 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
4082 'func_end' instead of 'func' and 'main'.
4083
288c211f
AA
40842014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4085
4086 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
4087 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
4088 generate the debug info assembler source.
4089
e0c0f156
AA
40902014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4091
4092 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
4093 * gdb.dwarf2/arr-subrange.exp: Likewise.
4094 * gdb.dwarf2/dwz.exp: Likewise.
4095 * gdb.dwarf2/method-ptr.exp: Likewise.
4096 * gdb.dwarf2/missing-sig-type.exp: Likewise.
4097 * gdb.dwarf2/subrange.exp: Likewise.
4098 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
4099 * gdb.dwarf2/implptrpiece.exp: Likewise.
4100 * gdb.dwarf2/nostaticblock.exp: Likewise.
4101
0e5c4555
AA
41022014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4103
4104 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
4105 directory to absolute path name arguments.
4106
5ec18f2b
JG
41072014-03-10 Joel Brobecker <brobecker@adacore.com>
4108
4109 * gdb.ada/tagged_access: New testcase.
4110
847fc4f2
MM
41112014-03-07 Markus Metzger <markus.t.metzger@intel.com>
4112
4113 * gdb.btrace/data.exp: Update expected output.
4114
cc3da688
YQ
41152014-03-06 Yao Qi <yao@codesourcery.com>
4116
4117 * gdb.trace/pr16508.exp: New file.
4118
0f26cec1
PA
41192014-03-05 Pedro Alves <palves@redhat.com>
4120
4121 PR gdb/16575
4122 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
4123 procedure.
4124 (top level): Adjust to use it. Add tests that exercise breakpoint
4125 interaction with the code-cache.
4126
7a5a839f
LC
41272014-02-26 Ludovic Courtès <ludo@gnu.org>
4128
4129 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
4130 test for 'history-append!'.
4131
31aa7e4e
JB
41322014-02-26 Joel Brobecker <brobecker@adacore.com>
4133
4134 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
4135 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
4136 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
4137 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
4138 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
4139 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
4140
1b588015
JB
41412014-02-26 Joel Brobecker <brobecker@adacore.com>
4142
4143 * testsuite/gdb.python/py-pp-re-notag.c: New file.
4144 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
4145 * testsuite/gdb.python/py-pp-re-notag.p: New file.
4146
55426c9d
JB
41472014-02-26 Joel Brobecker <brobecker@adacore.com>
4148
4149 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
4150
dc53a7ad
JB
41512014-02-26 Joel Brobecker <brobecker@adacore.com>
4152
4153 * gdb.dwarf2/arr-stride.c: New file.
4154 * gdb.dwarf2/arr-stride.exp: New file.
4155
12ab52e9
PA
41562014-02-26 Pedro Alves <palves@redhat.com>
4157
4158 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
4159 that won't ever trigger. Make sure that GDB reports the correct
4160 breakpoint that caused the stop.
4161
849c862e
JK
41622014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4163
4164 PR gdb/16626
4165 * gdb.base/auto-load-script: New file.
4166 * gdb.base/auto-load.c: New file.
4167 * gdb.base/auto-load.exp: New file.
4168
71b7d793
JK
4169 PR gdb/16626
4170 * gdb.base/auto-load.exp: Fix out-of-srctree run.
4171
e2f0d509
JK
41722014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4173
4174 Fix dw2-icycle.exp -fsanitize=address GDB crash.
4175 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
4176
50cc37c8
DE
41772014-02-24 Doug Evans <dje@google.com>
4178
4179 * lib/gdb.exp (run_on_host): Log error output if program fails.
4180
ea4758f2
PA
41812014-02-21 Pedro Alves <palves@redhat.com>
4182
4183 * gdb.threads/step-after-sr-lock.c: Rename to ...
4184 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
4185 * gdb.threads/step-after-sr-lock.exp: Rename to ...
4186 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4187 ... this.
4188
d7b30f67
SDJ
41892014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
4190
4191 PR tdep/16397
4192 * gdb.arch/amd64-stap-special-operands.exp: New file.
4193 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
4194 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
4195 * gdb.arch/amd64-stap-triplet.S: Likewise.
4196 * gdb.arch/amd64-stap-triplet.c: Likewise.
4197
83deb43f
JB
41982014-02-20 Joel Brobecker <brobecker@adacore.com>
4199
4200 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
4201 in .section pseudo-op.
4202
adde2bff
DE
42032014-02-20 lin zuojian <manjian2006@gmail.com>
4204 Joel Brobecker <brobecker@adacore.com>
4205 Doug Evans <xdje42@gmail.com>
4206
4207 PR symtab/16581
4208 * gdb.dwarf2/dw2-icycle.S: New file.
4209 * gdb.dwarf2/dw2-icycle.c: New file.
4210 * gdb.dwarf2/dw2-icycle.exp: New file.
4211
f7bd0f78
SC
42122014-02-19 Siva Chandra Reddy <sivachandra@google.com>
4213
4214 * gdb.python/py-value-cc.cc: Improve test case to enable testing
4215 operations on gdb.Value objects.
4216 * gdb.python/py-value-cc.exp: Add new test to test operations on
4217 gdb.Value objects.
4218
c17ef0d5
DE
42192014-02-18 Doug Evans <dje@google.com>
4220
4221 * Makefile.in (TESTS): New variable.
4222 (expanded_tests, expanded_tests_or_none): New variables
4223 (check-single): Pass $(expanded_tests_or_none) to runtest.
4224 (check-parallel): Only run tests in $(TESTS) if non-empty.
4225 (check/no-matching-tests-found): New rule.
4226 * README: Document TESTS makefile variable.
4227
5dd3176f
DE
42282014-02-18 Doug Evans <dje@google.com>
4229
4230 * Makefile.in (check-parallel): rm -rf outputs temp.
4231
0b10be4f
JK
42322014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4233
4234 Fix "ERROR: no fileid for" in the testsuite.
4235 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
4236
85f224e7
DE
42372014-02-12 Doug Evans <dje@google.com>
4238
4239 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
4240 (MISCELLANEOUS): New variable.
4241 (clean): rm -rf $(MISCELLANEOUS).
4242 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
4243 dwp live in the same directory as symlinks, with each symlink pointed
4244 to a differently named file in a different directory.
4245
149b30ff
DE
42462014-02-11 Doug Evans <dje@google.com>
4247
4248 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
4249 of Tcl file commands.
4250
1dfdac32
MK
42512014-02-10 Mark Kettenis <kettenis@gnu.org>
4252
4253 * gdb.threads/step-after-sr-lock.exp: Avoid executing
4254 "kill -SIGUSR1 -1".
4255
aa4fb036
JB
42562014-02-10 Joel Brobecker <brobecker@adacore.com>
4257
4258 * gdb.ada/tick_length_array_enum_idx: New testcase.
4259
ed3ef339
DE
42602014-02-10 Doug Evans <xdje42@gmail.com>
4261
4262 * configure.ac (AC_OUTPUT): Add gdb.guile.
4263 * configure: Regenerate.
4264 * lib/gdb-guile.exp: New file.
4265 * lib/gdb.exp (get_target_charset): New function.
4266 * gdb.base/help.exp: Update expected output from "apropos apropos".
4267 * gdb.guile/Makefile.in: New file.
4268 * gdb.guile/guile.exp: New file.
4269 * gdb.guile/scm-arch.c: New file.
4270 * gdb.guile/scm-arch.exp: New file.
4271 * gdb.guile/scm-block.c: New file.
4272 * gdb.guile/scm-block.exp: New file.
4273 * gdb.guile/scm-breakpoint.c: New file.
4274 * gdb.guile/scm-breakpoint.exp: New file.
4275 * gdb.guile/scm-disasm.c: New file.
4276 * gdb.guile/scm-disasm.exp: New file.
4277 * gdb.guile/scm-equal.c: New file.
4278 * gdb.guile/scm-equal.exp: New file.
4279 * gdb.guile/scm-error.exp: New file.
4280 * gdb.guile/scm-error.scm: New file.
4281 * gdb.guile/scm-frame-args.c: New file.
4282 * gdb.guile/scm-frame-args.exp: New file.
4283 * gdb.guile/scm-frame-args.scm: New file.
4284 * gdb.guile/scm-frame-inline.c: New file.
4285 * gdb.guile/scm-frame-inline.exp: New file.
4286 * gdb.guile/scm-frame.c: New file.
4287 * gdb.guile/scm-frame.exp: New file.
4288 * gdb.guile/scm-generics.exp: New file.
4289 * gdb.guile/scm-gsmob.exp: New file.
4290 * gdb.guile/scm-iterator.c: New file.
4291 * gdb.guile/scm-iterator.exp: New file.
4292 * gdb.guile/scm-math.c: New file.
4293 * gdb.guile/scm-math.exp: New file.
4294 * gdb.guile/scm-objfile-script-gdb.in: New file.
4295 * gdb.guile/scm-objfile-script.c: New file.
4296 * gdb.guile/scm-objfile-script.exp: New file.
4297 * gdb.guile/scm-objfile.c: New file.
4298 * gdb.guile/scm-objfile.exp: New file.
4299 * gdb.guile/scm-ports.exp: New file.
4300 * gdb.guile/scm-pretty-print.c: New file.
4301 * gdb.guile/scm-pretty-print.exp: New file.
4302 * gdb.guile/scm-pretty-print.scm: New file.
4303 * gdb.guile/scm-section-script.c: New file.
4304 * gdb.guile/scm-section-script.exp: New file.
4305 * gdb.guile/scm-section-script.scm: New file.
4306 * gdb.guile/scm-symbol.c: New file.
4307 * gdb.guile/scm-symbol.exp: New file.
4308 * gdb.guile/scm-symtab-2.c: New file.
4309 * gdb.guile/scm-symtab.c: New file.
4310 * gdb.guile/scm-symtab.exp: New file.
4311 * gdb.guile/scm-type.c: New file.
4312 * gdb.guile/scm-type.exp: New file.
4313 * gdb.guile/scm-value-cc.cc: New file.
4314 * gdb.guile/scm-value-cc.exp: New file.
4315 * gdb.guile/scm-value.c: New file.
4316 * gdb.guile/scm-value.exp: New file.
4317 * gdb.guile/source2.scm: New file.
4318 * gdb.guile/types-module.cc: New file.
4319 * gdb.guile/types-module.exp: New file.
4320
7026a7c1
YQ
43212014-02-10 Yao Qi <yao@codesourcery.com>
4322
4323 PR testsuite/16543
4324 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
4325 * configure: Regenerated.
4326 * Makefile.in: New file.
4327
6c466447
AS
43282014-02-08 Andreas Schwab <schwab@linux-m68k.org>
4329
4330 * gdb.python/py-framefilter.exp: Fix typo.
4331
6e854735
YQ
43322014-02-08 Yao Qi <yao@codesourcery.com>
4333
4334 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
4335 that no =breakpoint-modified is emitted when breakpoints are
4336 modified through MI commands.
4337
d137e6dc
PA
43382014-02-07 Pedro Alves <pedro@codesourcery.com>
4339 Pedro Alves <palves@redhat.com>
4340
4341 * gdb.threads/step-after-sr-lock.c: New file.
4342 * gdb.threads/step-after-sr-lock.exp: New file.
4343
b5ee5a50
PA
43442014-02-07 Pedro Alves <palves@redhat.com>
4345
4346 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
4347
3c77faf3
JK
43482014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4349
4350 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
4351 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
4352
6dddc817
DE
43532014-02-06 Doug Evans <xdje42@gmail.com>
4354
4355 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
4356 output.
4357
4358 * gdb.gdb/python-interrupts.exp: New file.
4359
de7b2893
YQ
43602014-02-05 Yao Qi <yao@codesourcery.com>
4361
4362 * gdb.trace/report.exp (use_collected_data): Test the output
4363 of "info threads" and "info inferiors".
4364
66d032ac
YQ
43652014-02-05 Yao Qi <yao@codesourcery.com>
4366
4367 Revert this patch:
4368
4369 2013-05-24 Yao Qi <yao@codesourcery.com>
4370
4371 * gdb.trace/tfile.exp: Test inferior and thread.
4372
591a12a1
UW
43732014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4374
4375 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
4376 on a function.
4377 * gdb.base/step-bt.c: Call hello via function pointer to make
4378 sure its first instruction is executed on powerpc64le-linux.
4379
0ff3e01f
UW
43802014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4381
4382 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
4383
084ee545
UW
43842014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4385
4386 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
4387 of the test patterns for use on little-endian systems.
4388
6ed14ff3
UW
43892014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4390
4391 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
4392 (decimal_vector): Fix for little-endian.
4393
401e27fd
JM
43942014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4395
4396 * gdb.arch/sparc-sysstep.exp: New file.
4397 * gdb.arch/sparc-sysstep.c: Likewise.
4398
4399 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
4400
8b924729
EBM
44012014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4402
4403 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
4404
fb151210
JB
44052014-01-23 Tom Tromey <tromey@redhat.com>
4406
4407 * gdb.ada/array_char_idx: New testcase.
4408
0740f8d8
TT
44092014-01-23 Tom Tromey <tromey@redhat.com>
4410
4411 PR python/16487:
4412 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
4413 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
4414 classes.
4415
21909fa1
TT
44162014-01-23 Tom Tromey <tromey@redhat.com>
4417
4418 PR python/16491:
4419 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
4420 string from an inferior frame.
4421 * gdb.python/py-framefilter-mi.exp: Update.
4422
87ce2a04
DE
44232014-01-22 Doug Evans <dje@google.com>
4424
4425 * gdb.server/server-mon.exp: Add tests for "set debug-format".
4426
237b092b
AA
44272014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4428
4429 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
4430
d674a709
AA
44312014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4432
4433 * gdb.trace/entry-values.exp: Remove excess space character from
4434 regex patterns. Handle s390 call instruction.
4435
20fa3390
AA
44362014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4437
4438 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
4439 define "*_start" label. Make "name" static.
4440 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
4441 ${name} by references to ${name}_start.
4442
78466714
AA
44432014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4444
4445 * gdb.base/info-macros.exp: Remove "debug" from the compile
4446 options.
4447
ec9f644a
IB
44482014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4449
4450 * gdb.dlang/demangle.exp: New file.
4451
94b1b47e
IB
44522014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4453
4454 * gdb.dlang/primitive-types.exp: New file.
4455
7f420862
IB
44562014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4457
4458 * configure.ac: Create gdb.dlang/Makefile.
4459 * configure: Regenerate.
4460 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
4461 * gdb.dlang/Makefile.in: New file.
4462 * lib/d-support.exp: New file.
4463 * lib/gdb.exp (skip_d_tests): New proc.
4464
52834460
MM
44652014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4466
4467 * gdb.btrace/delta.exp: Check reverse stepi.
4468 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
4469 * gdb.btrace/finish.exp: New.
4470 * gdb.btrace/next.exp: New.
4471 * gdb.btrace/nexti.exp: New.
4472 * gdb.btrace/record_goto.c: Add comments.
4473 * gdb.btrace/step.exp: New.
4474 * gdb.btrace/stepi.exp: New.
4475 * gdb.btrace/multi-thread-step.c: New.
4476 * gdb.btrace/multi-thread-step.exp: New.
4477 * gdb.btrace/rn-dl-bind.c: New.
4478 * gdb.btrace/rn-dl-bind.exp: New.
4479 * gdb.btrace/data.c: New.
4480 * gdb.btrace/data.exp: New.
4481 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4482
6e07b1d2
MM
44832014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4484
4485 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
4486 * gdb.btrace/exception.exp: Update.
4487 * gdb.btrace/instruction_history.exp: Update.
4488 * gdb.btrace/record_goto.exp: Update.
4489 * gdb.btrace/tailcall.exp: Update.
4490 * gdb.btrace/unknown_functions.exp: Update.
4491 * gdb.btrace/delta.exp: New.
4492
0b722aec
MM
44932014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4494
4495 * gdb.btrace/record_goto.exp: Add backtrace test.
4496 * gdb.btrace/tailcall.exp: Add backtrace test.
4497
066ce621
MM
44982014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4499
4500 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
4501 * gdb.btrace/record_goto.c: New.
4502 * gdb.btrace/record_goto.exp: New.
4503 * gdb.btrace/x86-record_goto.S: New.
4504
0688d04e
MM
45052014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4506
4507 * gdb.btrace/function_call_history.exp: Update tests.
4508 * gdb.btrace/instruction_history.exp: Update tests.
4509
8710b709
MM
45102014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4511
4512 * gdb.btrace/function_call_history.exp: Fix expected field
4513 order for "record function-call-history".
4514 Add new tests for "record function-call-history /c".
4515 * gdb.btrace/exception.cc: New.
4516 * gdb.btrace/exception.exp: New.
4517 * gdb.btrace/tailcall.exp: New.
4518 * gdb.btrace/x86-tailcall.S: New.
4519 * gdb.btrace/x86-tailcall.c: New.
4520 * gdb.btrace/unknown_functions.c: New.
4521 * gdb.btrace/unknown_functions.exp: New.
4522 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4523
5de9129b
MM
45242014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4525
4526 * gdb.btrace/instruction_history.exp: Update.
4527 * gdb.btrace/function_call_history.exp: Update.
4528
23a7fe75
MM
45292014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4530
4531 * gdb.btrace/function_call_history.exp: Fix expected function
4532 trace.
4533 * gdb.btrace/instruction_history.exp: Initialize traced.
4534 Remove traced_functions.
4535
724c7dd8
MM
45362014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4537
4538 * gdb.btrace/function_call_history.exp: Update
4539 * gdb.btrace/instruction_history.exp: Update.
4540
6d78d93b
MM
45412014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4542
4543 * gdb.btrace/enable.exp: Update expected text.
4544
93a360cc
OJ
45452014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
4546
4547 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
4548 bytes.
4549
3772b53f
MR
45502014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
4551
4552 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
4553
596662fa
OJ
45542014-01-15 Omair Javaid <omair.javaid@linaro.org>
4555
4556 * lib/gdb.exp (supports_process_record): Return true for
4557 arm*-linux*. (supports_reverse): Likewise.
4558
b5b08fb4
SC
45592014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4560
4561 PR python/15464
4562 PR python/16113
4563 * gdb.python/py-type.c: Enhance test case.
4564 * gdb.python/py-value-cc.cc: Likewise
4565 * gdb.python/py-type.exp: Add new tests.
4566 * gdb.python/py-value-cc.exp: Likewise
4567
52d7fb13
AA
45682014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
4569 Pedro Alves <palves@redhat.com>
4570
4571 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
4572 Make "name" extern.
4573 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
4574 references to ${name}_start by references to ${name}.
4575
a2cd8cfe
JB
45762014-01-10 Joel Brobecker <brobecker@adacore.com>
4577
4578 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
4579
4e23fced
JB
45802014-01-10 Joel Brobecker <brobecker@adacore.com>
4581
4582 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
4583
c6a9e42c
PA
45842014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
4585 Pedro Alves <palves@redhat.com>
4586
4587 * gdb.mi/mi-info-os.exp: Connect to the target with
4588 mi_gdb_target_load.
4589
b7ea362b
PA
45902014-01-08 Pedro Alves <palves@redhat.com>
4591
4592 * gdb.threads/reconnect-signal.c: New file.
4593 * gdb.threads/reconnect-signal.exp: New file.
4594
5e3f4fab
EBM
45952014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4596
4597 * gdb.base/source-dir.exp: New file.
4598
79301218
JB
45992014-01-07 Joel Brobecker <brobecker@adacore.com>
4600
4601 * gdb.ada/mi_interface: New testcase.
4602
8e355c5d
JB
46032014-01-07 Joel Brobecker <brobecker@adacore.com>
4604
4605 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
4606 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
4607 gdb.ada/pp-rec-component/pck.ads: New files.
4608
c0d48811
JB
46092014-01-07 Joel Brobecker <brobecker@adacore.com>
4610
4611 * gdb.python/py-pp-integral.c: New file.
4612 * gdb.python/py-pp-integral.py: New file.
4613 * gdb.python/py-pp-integral.exp: New file.
4614
17b609c3 4615For older changes see ChangeLog-1993-2013.
c906108c 4616\f
8d8cb839
EZ
4617;; Local Variables:
4618;; mode: change-log
4619;; left-margin: 8
4620;; fill-column: 74
4621;; version-control: never
4622;; End:
902f2ccb 4623
32d0add0 4624 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
4625 Copying and distribution of this file, with or without modification,
4626 are permitted provided the copyright notice and this notice are preserved.