585ffecb80f075d108be729a363014f113cf999d
[binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2014-10-13 Doug Evans <dje@google.com>
2
3 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
4 from the start of the CU.
5
6 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7 Yao Qi <yao@codesourcery.com>
8
9 Fix "save breakpoints" for "catch" command.
10 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
11 Remove -nonewline. Match also the added "main" line.
12
13 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14
15 Fix "save breakpoints" for "disable $bpnum" command.
16 * gdb.base/save-bp.c (main): Add label.
17 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
18
19 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20
21 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
22
23 2014-10-11 Yao Qi <yao@codesourcery.com>
24
25 * gdb.server/server-kill.exp: Execute command
26 "set remote trace-status-packet on" before "tstatus".
27
28 2014-10-11 Yao Qi <yao@codesourcery.com>
29
30 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
31 (main): Call getppid.
32 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
33 and continue to it. Read variable "server_pid".
34
35 2014-10-11 Yao Qi <yao@codesourcery.com>
36
37 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
38
39 2014-10-11 Yao Qi <yao@codesourcery.com>
40
41 * gdb.threads/thread-find.exp: Don't execute command
42 "info threads".
43 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
44 * gdb.threads/linux-dp.exp: Don't check the condition
45 $threads_created equals to zero.
46
47 2014-10-10 Pedro Alves <palves@redhat.com>
48
49 * gdb.base/bigcore.exp: Remove references to IRIX.
50 * gdb.base/funcargs.exp: Likewise.
51 * gdb.base/interrupt.exp: Likewise.
52 * gdb.base/mips_pro.exp: Likewise.
53 * gdb.base/nodebug.exp: Likewise.
54 * gdb.base/setvar.exp: Likewise.
55 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
56
57 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
58 Pedro Alves <palves@redhat.com>
59
60 PR symtab/14466
61 * gdb.base/vdso-warning.c: New file.
62 * gdb.base/vdso-warning.exp: New file.
63
64 2014-10-02 Doug Evans <dje@google.com>
65
66 * gdb.base/structs.c (main): Don't run forever.
67
68 2014-10-02 Pedro Alves <palves@redhat.com>
69
70 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
71 (top level) <stop threads 1, stop threads 2>: Use it.
72
73 2014-10-02 Pedro Alves <palves@redhat.com>
74
75 * gdb.threads/break-while-running.exp (test): Add new
76 'update_thread_list' argument. Skip "info threads" if false.
77 (top level): Add new 'update_thread_list' axis.
78
79 2014-10-02 Pedro Alves <palves@redhat.com>
80
81 PR breakpoints/17431
82 * gdb.base/execl-update-breakpoints.c: New file.
83 * gdb.base/execl-update-breakpoints.exp: New file.
84
85 2014-10-01 Pedro Alves <palves@redhat.com>
86
87 * gdb.base/breakpoint-in-ro-region.c: New file.
88 * gdb.base/breakpoint-in-ro-region.exp: New file.
89
90 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
91
92 * gdb.mi/mi-exit-code.exp: New file.
93 * gdb.mi/mi-exit-code.c: New file.
94
95 2014-09-30 Yao Qi <yao@codesourcery.com>
96
97 * lib/prelink-support.exp (build_executable_own_libs): Error if
98 the target isn't native.
99
100 2014-09-30 Yao Qi <yao@codesourcery.com>
101
102 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
103 false.
104
105 2014-09-22 Pedro Alves <palves@redhat.com>
106
107 * gdb.threads/break-while-running.exp: New file.
108 * gdb.threads/break-while-running.c: New file.
109
110 2014-09-19 Yao Qi <yao@codesourcery.com>
111
112 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
113 Invoke test. Restart GDB with --readnow and invoke test again.
114
115 2014-09-19 Yao Qi <yao@codesourcery.com>
116
117 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
118 proc set_breakpoint_on_gcd_function. Invoke
119 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
120 invoke set_breakpoint_on_gcd_function again.
121
122 2014-09-18 Doug Evans <dje@google.com>
123
124 * gdb.dwarf2/symtab-producer.exp: New file.
125
126 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
127
128 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
129 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
130 * gdb.base/global-var-nested-by-dso.c: Likewise.
131 * gdb.base/global-var-nested-by-dso.exp: Likewise.
132
133 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
134 Pedro Alves <palves@redhat.com>
135
136 * gdb.base/watch-bitfields.exp: Pass string other than test file
137 name to prepare_for_testing.
138 (watch): New procedure.
139 (expect_watchpoint): Use with_test_prefix.
140 (top level): Factor out tests to ...
141 (test_watch_location, test_regular_watch): ... these new
142 procedures, and use with_test_prefix and gdb_continue_to_end.
143
144 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
145
146 PR breakpoints/12526
147 * gdb.base/watch-bitfields.exp: New file.
148 * gdb.base/watch-bitfields.c: New file.
149
150 2014-09-16 Pedro Alves <palves@redhat.com>
151
152 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
153 software and hardware addresses, not software address against
154 itself.
155
156 2014-09-16 Pedro Alves <palves@redhat.com>
157
158 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
159 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
160
161 2014-09-16 Pedro Alves <palves@redhat.com>
162
163 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
164 files.
165 * gdb.base/a2-run.exp: Remove all code guarded by istarget
166 "*-*-vxworks*" throughout.
167 * gdb.base/break.exp: Likewise.
168 * gdb.base/default.exp: Likewise.
169 * gdb.base/scope.exp: Likewise.
170 * gdb.base/sepdebug.exp: Likewise.
171 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
172 throughout.
173 * gdb.base/run.c: Likewise.
174 * gdb.base/sepdebug.c: Likewise.
175 * gdb.hp/gdb.aCC/run.c: Likewise.
176 * gdb.reverse/until-reverse.c: Likewise.
177 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
178
179 2014-09-16 Yao Qi <yao@codesourcery.com>
180
181 * boards/local-remote-host-native.exp: New file.
182
183 2014-09-14 Doug Evans <xdje42@gmail.com>
184
185 * gdb.threads/queue-signal.c (thread_count): New variable.
186 (thread_count_mutex, thread_count_condvar): New variables.
187 (incr_thread_count, wait_all_threads_running): New functions.
188 (main): Wait for all threads to be in their thread functions.
189
190 2014-09-13 Doug Evans <xdje42@gmail.com>
191
192 * gdb.threads/queue-signal.c: New file.
193 * gdb.threads/queue-signal.exp: New file.
194
195 2014-09-13 Doug Evans <xdje42@gmail.com>
196
197 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
198 be consistent with what default_gdb_init uses.
199 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
200 the plain text of the prompt. Add some logging printfs.
201 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
202
203 2014-09-12 Pedro Alves <palves@redhat.com>
204
205 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
206 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
207 * gdb.arch/i386-size-overlap.exp: Likewise.
208 * gdb.arch/i386-size.exp: Likewise.
209 * gdb.arch/i386-unwind.exp: Likewise.
210 * gdb.base/a2-run.exp: Likewise.
211 * gdb.base/break.exp: Likewise.
212 * gdb.base/charset.exp: Likewise.
213 * gdb.base/chng-syms.exp: Likewise.
214 * gdb.base/commands.exp: Likewise.
215 * gdb.base/dbx.exp: Likewise.
216 * gdb.base/find.exp: Likewise.
217 * gdb.base/funcargs.exp: Likewise.
218 * gdb.base/jit-simple.exp: Likewise.
219 * gdb.base/reread.exp: Likewise.
220 * gdb.base/sepdebug.exp: Likewise.
221 * gdb.base/step-bt.exp: Likewise.
222 * gdb.cp/mb-inline.exp: Likewise.
223 * gdb.cp/mb-templates.exp: Likewise.
224 * gdb.objc/basicclass.exp: Likewise.
225 * gdb.threads/killed.exp: Likewise.
226
227 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
228
229 PR tdep/17379
230 * gdb.arch/powerpc-stackless.S: New file.
231 * gdb.arch/powerpc-stackless.exp: New file.
232
233 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
234
235 * gdb.base/attach.c: Include unistd.h.
236 (main): Call alarm. Add label postloop.
237 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
238 gdb_breakpoint, gdb_continue_to_breakpoint.
239 (test_command_line_attach_run): Kill ${testpid} in one exit path.
240
241 2014-09-11 Pedro Alves <palves@redhat.com>
242
243 PR gdb/17347
244 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
245 * gdb.base/attach.exp (test_command_line_attach_run): New
246 procedure.
247 (top level): Call it.
248
249 2014-09-11 Pedro Alves <palves@redhat.com>
250
251 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
252 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
253 (do_command_attach_tests): Use spawn_wait_for_attach.
254 * gdb.base/solib-overlap.exp: Likewise.
255 * gdb.multi/multi-attach.exp: Likewise.
256 * gdb.python/py-prompt.exp: Likewise.
257 * gdb.python/py-sync-interp.exp: Likewise.
258 * gdb.server/ext-attach.exp: Likewise.
259
260 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
261
262 * gdb.fortran/array-element.exp: Remove unexpected "continue"
263 command in testcase. Simplify testcase.
264
265 2014-09-10 Joel Brobecker <brobecker@adacore.com>
266
267 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
268
269 2014-09-10 Joel Brobecker <brobecker@adacore.com>
270
271 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
272
273 2014-09-10 Joel Brobecker <brobecker@adacore.com>
274
275 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
276
277 2014-09-10 Joel Brobecker <brobecker@adacore.com>
278
279 * gdb.dwarf2/dynarr-ptr.c: New file.
280 * gdb.dwarf2/dynarr-ptr.exp: New file.
281
282 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
283
284 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
285 of 30 rather than hardcoding 120 for a slow test case. Take the
286 `gdb,timeout' target setting into account for this calculation.
287 Don't extend the timeout for the test cases that don't need it.
288
289 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
290
291 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
292 a factor of 2 for a slow test case. Take the `gdb,timeout'
293 target setting into account for this calculation.
294 * gdb.reverse/until-precsave.exp: Increase the timeout by
295 a factor of 15 and 3 respectively rather than adding 120
296 for a pair of slow test cases. Take the `gdb,timeout'
297 target setting into account for this calculation.
298
299 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
300
301 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
302 timeout, don't pass one down to gdb_expect.
303 (gdb_expect): Rework timeout selection.
304
305 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
306
307 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
308 exception on timeout.
309 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
310 (gdbserver_start_extended): Catch any `gdbserver_start' error
311 exceptions.
312 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
313 * lib/mi-support.exp (mi_gdb_target_load): Catch any
314 `gdbserver_gdb_load' error exceptions.
315
316 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
317
318 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
319 120 on waiting for the TCP socket to open.
320
321 2014-09-09 Doug Evans <xdje42@gmail.com>
322
323 * gdb.base/default.exp (show_conv_list): Add _caller_is,
324 _caller_matches, _any_caller_is, _any_caller_matches.
325
326 2014-09-09 Doug Evans <xdje42@gmail.com>
327
328 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
329
330 2014-09-09 Yao Qi <yao@codesourcery.com>
331
332 * gdb.mi/mi-var-display.exp: Set print symbol off.
333
334 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
335
336 PR gdb/17035
337 * gdb.base/commands.exp: Add tests to verify user-defined
338 commands with empty bodies.
339 * gdb.python/py-cmd.exp: Test that we don't show user-defined
340 python commands in `show user command`.
341 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
342 scheme commands in `show user command`.
343
344 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
345
346 PR python/17355
347 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
348 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
349 * gdb.python/py-framefilter-invalidarg.exp: New file.
350 * gdb.python/py-framefilter-invalidarg.py: New file.
351
352 2014-09-06 Doug Evans <xdje42@gmail.com>
353
354 PR 15276
355 * gdb.python/py-caller-is.c: New file.
356 * gdb.python/py-caller-is.exp: New file.
357
358 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
359
360 PR gdb/17235
361 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
362 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
363
364 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
365
366 PR fortran/17237
367 * gdb.fortran/print-formatted.exp: New file.
368 * gdb.fortran/print-formatted.f90: Likewise.
369
370 2014-09-03 Sasha Smundak <asmundak@google.com>
371
372 * gdb.python/py-frame.exp: Test Frame.read_register.
373
374 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
375
376 PR python/16699
377 * gdb.python/py-completion.exp: New file.
378 * gdb.python/py-completion.py: Likewise.
379
380 2014-08-28 Doug Evans <dje@google.com>
381
382 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
383 eax,etc. are live with values set by gdb and thus the compiler can't
384 use them.
385 * gdb.arch/i386-pseudo.c (main): Ditto.
386
387 2014-08-27 Doug Evans <dje@google.com>
388
389 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
390
391 2014-08-25 Doug Evans <dje@google.com>
392
393 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
394 (main): Ditto.
395
396 2014-08-25 Doug Evans <dje@google.com>
397
398 * gdb.threads/thread-execl.exp: #include <stdio.h>.
399
400 2014-08-24 Yao Qi <yao@codesourcery.com>
401
402 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
403 symbol off.
404 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
405
406 2014-08-22 Doug Evans <dje@google.com>
407
408 PR 17276
409 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
410 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
411 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
412
413 2014-08-22 Yao Qi <yao@codesourcery.com>
414
415 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
416 * gdb.python/py-finish-breakpoint2.exp: Likewise.
417 * gdb.python/python.exp: Likewise. Use .py file on the host
418 instead of the build.
419
420 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
421
422 * gdb.threads/gcore-stale-thread.c: New file.
423 * gdb.threads/gcore-stale-thread.exp: New file.
424
425 2014-08-21 Pedro Alves <palves@redhat.com>
426
427 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
428 * gdb.base/gcore-relro-pie.exp: Likewise.
429 * gdb.base/gcore-relro.exp: Likewise.
430 * gdb.base/gcore.exp: Likewise.
431 * gdb.base/print-symbol-loading.exp: Likewise.
432 * gdb.threads/gcore-thread.exp: Likewise.
433 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
434
435 2014-08-20 Pedro Alves <palves@redhat.com>
436 Jan Kratochvil <jan.kratochvil@redhat.com>
437
438 * Makefile.in (EXTRA_RULES, CC): New variables, get from
439 configure.
440 (EXPECT): Handle READ1 being set.
441 (all): Depend on EXTRA_RULES.
442 (check-read1, expect-read1, read1.so, read1): New rules.
443 * README (Testsuite Parameters): Document the READ1 make variable.
444 (Race detection): New section.
445 * configure: Regenerate.
446 * configure.ac: If build==host==target, and running under a
447 GNU/glibc system, add read1 to the extra Makefile rules.
448 (EXTRA_RULES): AC_SUBST it.
449 * lib/read1.c: New file.
450
451 2014-08-20 Joel Brobecker <brobecker@adacore.com>
452
453 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
454 the handling of variables declared as a typedef to an array
455 which a DW_AT_data_location attribute.
456
457 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
458 Pedro Alves <palves@redhat.com>
459
460 PR symtab/14604
461 PR symtab/14605
462 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
463 gdb_test.
464
465 2014-08-19 Pedro Alves <palves@redhat.com>
466
467 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
468
469 2014-08-19 Yao Qi <yao@codesourcery.com>
470
471 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
472 right line.
473
474 2014-08-18 David Blaikie <dblaikie@gmail.com>
475
476 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
477
478 2014-08-18 Joel Brobecker <brobecker@adacore.com>
479
480 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
481 attribute in array range.
482
483 2014-08-18 Joel Brobecker <brobecker@adacore.com>
484
485 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
486
487 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
488
489 PR c++/17132
490 * gdb.cp/pr17132.cc: New file.
491 * gdb.cp/pr17132.exp: New file.
492
493 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
494
495 * gdb.python/py-xmethods.py (A_getarrayind)
496 (E_method_char_worker.__call__, E_method_int_worker.__call__):
497 Use 'print' with function call syntax.
498 (E_method_matcher.match): Fix tab vs space indentation mixup.
499
500 2014-08-15 Yao Qi <yao@codesourcery.com>
501
502 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
503 false.
504
505 2014-08-15 Yao Qi <yao@codesourcery.com>
506
507 * gdb.cp/casts.exp: Set print symbol off.
508 * gdb.cp/class2.exp: Likewise.
509 * gdb.cp/overload.exp: Likewise.
510 * gdb.cp/templates.exp: Likewise.
511
512 2014-08-11 Doug Evans <dje@google.com>
513
514 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
515 (test_load_shlib): Update.
516
517 2014-08-09 Yao Qi <yao@codesourcery.com>
518
519 * gdb.base/display.exp: Invoke is_address_zero_readable.
520 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
521 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
522 * gdb.base/hbreak-unmapped.exp: Return if
523 is_address_zero_readable returns true.
524 * gdb.base/signest.exp: Likewise.
525 * gdb.base/signull.exp: Likewise.
526 * gdb.base/sigbpt.exp: Likewise.
527 * gdb.guile/scm-disasm.exp: Do the test if
528 is_address_zero_readable returns false.
529 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
530 * gdb.python/py-arch.exp: Likewise.
531 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
532 * lib/gdb.exp (is_address_zero_readable): New proc.
533
534 2014-08-09 Yao Qi <yao@codesourcery.com>
535
536 PR testsuite/13443
537 * gdb.mi/mi-var-display.exp: Make test messages unique.
538
539 2014-08-04 Tom Tromey <tromey@redhat.com>
540
541 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
542 target 0".
543
544 2014-08-04 Tom Tromey <tromey@redhat.com>
545
546 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
547 "target_resume".
548
549 2014-08-01 Joel Brobecker <brobecker@adacore.com>
550
551 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
552 inner_vla_struct_object_size.
553 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
554 as xfail.
555
556 2014-07-30 Pedro Alves <palves@redhat.com>
557
558 * gdb.threads/signal-command-handle-nopass.exp (test): Add
559 comment.
560
561 2014-07-29 Yao Qi <yao@codesourcery.com>
562
563 PR gdb/17206
564 * gdb.base/until-nodebug.exp: New.
565
566 2014-07-28 Doug Evans <xdje42@gmail.com>
567
568 PR guile/17203
569 * gdb.guile/scm-parameter.exp: Add tests for trying to create
570 previously existing parameter, and previously ambiguously spelled
571 parameter.
572
573 2014-07-28 Will Newton <will.newton@linaro.org>
574
575 * gdb.base/varargs.exp: Remove KFAILs for ARM.
576
577 2014-07-26 Ludovic Courtès <ludo@gnu.org>
578 Doug Evans <xdje42@gmail.com>
579
580 PR guile/17146
581 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
582
583 2014-07-25 Pedro Alves <palves@redhat.com>
584
585 * gdb.threads/signal-command-handle-nopass.c: New file.
586 * gdb.threads/signal-command-handle-nopass.exp: New file.
587 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
588 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
589 * gdb.threads/signal-delivered-right-thread.c: New file.
590 * gdb.threads/signal-delivered-right-thread.exp: New file.
591
592 2014-07-25 Pedro Alves <palves@redhat.com>
593
594 * gdb.base/double-prompt-target-event-error.exp
595 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
596 match.
597 (cancel_pagination_in_target_event): Rework double prompt
598 detection.
599 * gdb.base/paginate-after-ctrl-c-running.exp
600 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
601 <return>' match.
602 * gdb.base/paginate-bg-execution.exp
603 (test_bg_execution_pagination_return)
604 (test_bg_execution_pagination_cancel): Remove '-notransfer
605 <return>' matches.
606 * gdb.base/paginate-execution-startup.exp
607 (test_fg_execution_pagination_return)
608 (test_fg_execution_pagination_cancel): Remove '-notransfer
609 <return>' matches.
610 * gdb.base/paginate-inferior-exit.exp
611 (test_paginate_inferior_exited): Remove '-notransfer <return>'
612 match.
613 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
614 * lib/gdb.exp (pagination_prompt): Run text through
615 string_to_regexp.
616 (gdb_test_multiple): Match $pagination_prompt instead of
617 "<return>".
618 (string_to_regexp): Move to lib/gdb-utils.exp.
619
620 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
621
622 * gdb.arch/amd64-entry-value-paramref.S: New file.
623 * gdb.arch/amd64-entry-value-paramref.cc: New file.
624 * gdb.arch/amd64-entry-value-paramref.exp: New file.
625 * gdb.arch/amd64-optimout-repeat.S: New file.
626 * gdb.arch/amd64-optimout-repeat.c: New file.
627 * gdb.arch/amd64-optimout-repeat.exp: New file.
628
629 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
630
631 PR gdb/17170
632 * gdb.base/statistics.exp: New file.
633
634 2014-07-17 Doug Evans <dje@google.com>
635
636 PR gdb/17170
637 * gdb.base/maint.exp: Update testing of per-command stats.
638
639 2014-07-16 Pedro Alves <palves@redhat.com>
640
641 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
642 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
643 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
644 (tfile_write_buf): New functions.
645 (add_memory_block): Rewrite using the above.
646 (adjust_function_address): New function.
647 (FUNCTION_ADDRESS): New macro.
648 (write_basic_trace_file): Remove short_x local, and use
649 tfile_write_16. Change type of func_addr local to unsigned long
650 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
651 here. Cast argument of add_memory_block to char pointer.
652 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
653 (main): Remove parameters.
654 * gdb.trace/tfile.exp: Remove nowarnings.
655
656 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
657
658 * gdb.base/debug-expr.exp: Test string evaluation with
659 "debug expression" on.
660
661 2014-07-15 Pedro Alves <palves@redhat.com>
662
663 * gdb.base/reread.exp: Use clean_restart.
664
665 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
666
667 * gdb.arch/avr-flash-qualifer.c: New.
668 * gdb.arch/avr-flash-qualifer.exp: New.
669
670 2014-07-14 Pedro Alves <palves@redhat.com>
671
672 * gdb.base/paginate-after-ctrl-c-running.c: New file.
673 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
674
675 2014-07-14 Pedro Alves <palves@redhat.com>
676
677 * gdb.base/double-prompt-target-event-error.c: New file.
678 * gdb.base/double-prompt-target-event-error.exp: New file.
679
680 2014-07-14 Pedro Alves <palves@redhat.com>
681
682 PR gdb/17072
683 * gdb.base/paginate-inferior-exit.c: New file.
684 * gdb.base/paginate-inferior-exit.exp: New file.
685
686 2014-07-14 Pedro Alves <palves@redhat.com>
687
688 PR gdb/17072
689 * gdb.base/paginate-bg-execution.c: New file.
690 * gdb.base/paginate-bg-execution.exp: New file.
691
692 2014-07-14 Pedro Alves <palves@redhat.com>
693
694 PR gdb/17072
695 * gdb.base/paginate-execution-startup.c: New file.
696 * gdb.base/paginate-execution-startup.exp: New file.
697 * lib/gdb.exp (pagination_prompt): New global.
698 (default_gdb_spawn): New procedure, factored out from
699 default_gdb_spawn.
700 (default_gdb_start): Adjust to call default_gdb_spawn.
701 (gdb_spawn): New procedure.
702
703 2014-07-14 Pedro Alves <palves@redhat.com>
704
705 * lib/gdb.exp (gdb_assert): New procedure.
706 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
707
708 2014-07-14 Pedro Alves <palves@redhat.com>
709
710 * gdb.base/execution-termios.c: New file.
711 * gdb.base/execution-termios.exp: New file.
712
713 2014-07-14 Tom Tromey <tromey@redhat.com>
714
715 * gdb.cp/vla-cxx.cc: New file.
716 * gdb.cp/vla-cxx.exp: New file.
717
718 2014-07-14 Tom Tromey <tromey@redhat.com>
719
720 * gdb.reverse/rerun-prec.c: New file.
721 * gdb.reverse/rerun-prec.exp: New file.
722
723 2014-07-12 Maciej W. Rozycki <macro@mips.com>
724 Maciej W. Rozycki <macro@codesourcery.com>
725
726 * lib/gdb-utils.exp: New file.
727 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
728 inline `gdb_init_command' processing.
729 (gdb_start_cmd): Likewise.
730 * lib/mi-support.exp (mi_run_cmd): Likewise.
731 * README: Document `gdb_init_command' and `gdb_init_commands'.
732
733 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
734
735 Fix false FAIL running under a very long directory name.
736 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
737 and "set print elements 10000". Twice.
738
739 2014-07-11 Yao Qi <yao@codesourcery.com>
740
741 * gdb.base/exprs.exp: "set print symbol off".
742
743 2014-07-11 Pedro Alves <palves@redhat.com>
744
745 * gdb.threads/kill.c: New file.
746 * gdb.threads/kill.exp: New file.
747
748 2014-07-10 Yao Qi <yao@codesourcery.com>
749
750 * gdb.trace/tfile.c (write_basic_trace_file)
751 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
752 address written to trace file.
753
754 2014-07-09 Pedro Alves <palves@redhat.com>
755
756 * gdb.base/attach-wait-input.exp: New file.
757 * gdb.base/attach-wait-input.c: New file.
758
759 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
760
761 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
762 setting up test structures.
763 (main): Call new test function.
764 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
765 test function, continue into test function and walk test
766 structures.
767
768 2014-07-02 Yao Qi <yao@codesourcery.com>
769
770 * gdb.trace/entry-values.c: Define labels 'foo_start' and
771 'bar_start' at the beginning of functions 'foo' and 'bar'
772 respectively.
773 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
774 instead of 'foo' and 'bar'.
775
776 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
777
778 * gdb.btrace/segv.exp: New.
779 * gdb.btrace/segv.c: New.
780
781 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
782
783 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
784 instruction.
785
786 2014-06-30 Mark Wielaard <mjw@redhat.com>
787
788 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
789 vulture, vilify, villar): New volatile array constants.
790 (vindictive, vegetation): New const volatile array constants.
791 * gdb.base/volatile.exp: Test volatile and const volatile array
792 types.
793
794 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
795
796 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
797 target lacks support for awatch, rwatch, or hbreak.
798
799 2014-06-27 Yao Qi <yao@codesourcery.com>
800
801 * gdb.multi/dummy-frame-restore.exp: New.
802 * gdb.multi/dummy-frame-restore.c: New.
803
804 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
805
806 * gdb.btrace/gcore.exp: New.
807
808 2014-06-23 Pedro Alves <palves@redhat.com>
809
810 * gdb.base/watchpoint-reuse-slot.c: New file.
811 * gdb.base/watchpoint-reuse-slot.exp: New file.
812
813 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
814
815 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
816 progspace's filename in 'info', 'enable' and 'disable' command
817 tests.
818
819 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
820
821 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
822 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
823 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
824
825 2014-06-20 Gary Benson <gbenson@redhat.com>
826
827 * gdb.arch/i386-avx.exp: Fix include file location.
828 * gdb.arch/i386-sse.exp: Likewise.
829
830 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
831
832 * gdb.dlang/expression.exp: New file.
833
834 2014-06-19 Pedro Alves <palves@redhat.com>
835
836 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
837 out from ...
838 (top level): ... here. Iterate running tests under different
839 scheduler-locking settings.
840
841 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
842
843 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
844 to DW_FORM_addr and use non-zero addresses.
845
846 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
847
848 PR gdb/17017
849 * gdb.python/py-xmethods.cc: Add global function call counters and
850 increment them in their respective functions. Remove "cout"
851 statements.
852 * gdb.python/py-xmethods.exp: Make tests check the global function
853 call counters instead of depending on inferior IO.
854
855 2014-06-18 Don Breazeal <donb@codesourcery.com>
856
857 * gdb.base/foll-fork.exp (default_fork_parent_follow):
858 Deleted procedure.
859 (explicit_fork_parent_follow): Deleted procedure.
860 (explicit_fork_child_follow): Deleted procedure.
861 (test_follow_fork): New procedure.
862 (do_fork_tests): Replace calls to deleted procedures with
863 calls to test_follow_fork and reset GDB for subsequent
864 procedure calls.
865
866 2014-06-17 Yao Qi <yao@codesourcery.com>
867
868 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
869 CP1252.
870
871 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
872
873 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
874 Initialize ptr and S explicitly.
875 (skip_type_update_when_not_use_rtti_test): Likewise.
876
877 2014-06-16 Keith Seitz <keiths@redhat.com>
878
879 PR mi/15863
880 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
881 the inferior is started.
882
883 2014-06-16 Pedro Alves <palves@redhat.com>
884
885 * gdb.base/break-main-file-remove-fail.c: New file.
886 * gdb.base/break-main-file-remove-fail.exp: New file.
887 * gdb.base/break-unload-file.exp: Use build_executable instead of
888 prepare_for_testing.
889 (test_break): New parameter "initial_load". Handle it.
890 (top level): Add initial_load cmdline/file axis.
891
892 2014-06-12 Tom Tromey <tromey@redhat.com>
893
894 * gdb.base/completion.exp: Don't use directory name in test.
895
896 2014-06-09 Gary Benson <gbenson@redhat.com>
897
898 * gdb.base/sigall.c [Functions to send signals]: Reorder to
899 separate the always-available ANSI-standard signals from the
900 signals that require checking.
901 (main): Likewise.
902 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
903 Likewise.
904 (main): Likewise.
905
906 2014-06-07 Keith Seitz <keiths@redhat.com>
907
908 Revert:
909 PR c++/16253
910 * gdb.cp/var-tag.cc: New file.
911 * gdb.cp/var-tag.exp: New file.
912 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
913 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
914 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
915 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
916
917 2014-06-06 Doug Evans <xdje42@gmail.com>
918
919 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
920
921 2014-06-06 Pedro Alves <palves@redhat.com>
922
923 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
924 in target debug output instead of looking at RSP packets,
925 disabling the test on any target that uses hardware stepping.
926 Update comments.
927
928 2014-06-06 Pedro Alves <palves@redhat.com>
929
930 * gdb.base/break-unload-file.exp: Fix typo.
931
932 2014-06-06 Yao Qi <yao@codesourcery.com>
933
934 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
935 from "jit_function" to "^jit_function".
936
937 2014-06-06 Yao Qi <yao@codesourcery.com>
938
939 * gdb.base/async.c (foo): Add one statement.
940 * gdb.base/async.exp: Get the next instruction address and
941 match the output of "nexti" by instruction address. Match
942 the hex address in the output of "finish".
943
944 2014-06-06 Gary Benson <gbenson@redhat.com>
945
946 * gdb.base/call-signals.c: Remove preprocessor conditionals
947 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
948 SIGSEGV and SIGTERM.
949 * gdb.base/sigall.c: Likewise.
950 * gdb.base/unwindonsignal.c: Likewise.
951 * gdb.reverse/sigall-reverse.c: Likewise.
952
953 2014-06-06 Yao Qi <yao@codesourcery.com>
954
955 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
956 readable, skip the test.
957
958 2014-06-06 Yao Qi <yao@codesourcery.com>
959
960 * gdb.threads/staticthreads.c (thread_function): Move the line
961 setting breakpoint on forward.
962 * gdb.threads/staticthreads.exp: Update comments.
963
964 2014-06-05 Ludovic Courtès <ludo@gnu.org>
965
966 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
967 "history-append! type error".
968
969 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
970
971 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
972 erroneous dprintf expected input.
973
974 2014-06-04 Doug Evans <xdje42@gmail.com>
975
976 * gdb.guile/scm-generics.exp: Delete.
977
978 2014-06-04 Doug Evans <xdje42@gmail.com>
979
980 * gdb.guile/scm-breakpoint.exp: Update.
981 Add tests for breakpoint registration.
982
983 2014-06-04 Tom Tromey <tromey@redhat.com>
984
985 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
986 VLA-in-union.
987 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
988 inner_vla_struct, vla_union types. Initialize objects of those
989 types and compute their sizes.
990
991 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
992 Hui Zhu <hui@codesourcery.com>
993
994 * gdb.base/fileio.exp: Add test for shell not available as well as
995 available.
996 * gdb.base/fileio.c (test_system): Check for shell twice.
997
998 2014-06-04 Yao Qi <yao@codesourcery.com>
999
1000 * gdb.base/auto-connect-native-target.exp: Remove redundant
1001 space from the regexp pattern.
1002
1003 2014-06-04 Yao Qi <yao@codesourcery.com>
1004
1005 * gdb.base/default.exp: Replace "child" with "native" in
1006 regexp pattern.
1007
1008 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1009
1010 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1011 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1012 * gdb.python/py-xmethods.py: Python script supporting the
1013 new testcase and tests.
1014
1015 2014-06-03 Joel Brobecker <brobecker@adacore.com>
1016 Pedro Alves <palves@redhat.com>
1017
1018 PR breakpoints/17000
1019 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1020 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1021
1022 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1023
1024 * gdb.base/subst.exp: Add tests to verify partial path matching
1025 output.
1026
1027 2014-06-03 Pedro Alves <palves@redhat.com>
1028
1029 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1030 target that doesn't use software single-stepping.
1031
1032 2014-06-03 Pedro Alves <palves@redhat.com>
1033
1034 PR breakpoints/17000
1035 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1036 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1037
1038 2014-06-02 Doug Evans <xdje42@gmail.com>
1039
1040 * gdb.guile/scm-parameter.exp: New file.
1041
1042 2014-06-02 Doug Evans <xdje42@gmail.com>
1043
1044 * gdb.guile/scm-cmd.c: New file.
1045 * gdb.guile/scm-cmd.exp: New file.
1046
1047 2014-06-02 Doug Evans <xdje42@gmail.com>
1048
1049 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1050 pretty-printer lookup.
1051 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1052 (make-pp_s-printer): Call it.
1053 (make-pretty-printer-from-dict): New function.
1054 (lookup-pretty-printer-maker-from-dict): New function.
1055 (*pretty-printer*): Simplify.
1056 (make-objfile-pp_s-printer): New function.
1057 (install-objfile-pretty-printers!): New function.
1058 (make-progspace-pp_s-printer): New function.
1059 (install-progspace-pretty-printers!): New function.
1060 * gdb.guile/scm-progspace.c: New file.
1061 * gdb.guile/scm-progspace.exp: New file.
1062
1063 2014-06-02 Pedro Alves <palves@redhat.com>
1064
1065 * gdb.base/dprintf-bp-same-addr.c: New file.
1066 * gdb.base/dprintf-bp-same-addr.exp: New file.
1067
1068 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1069
1070 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1071 * gdb.arch/powerpc-power.s: Likewise.
1072
1073 2014-06-02 Joel Brobecker <brobecker@adacore.com>
1074
1075 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1076
1077 2014-06-01 Yao Qi <yao@codesourcery.com>
1078
1079 * gdb.base/watchpoint.exp (test_watch_location): Check null
1080 pointer can be dereferenced. If not, do the test, otherwise
1081 skip it.
1082
1083 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1084
1085 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1086 results.
1087 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1088
1089 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1090
1091 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1092 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1093 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1094 * gdb.arch/amd64-invalid-stack-top.c: New file.
1095 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1096
1097 2014-05-30 Pedro Alves <palves@redhat.com>
1098
1099 PR breakpoints/17000
1100 * gdb.base/sss-bp-on-user-bp.c: New file.
1101 * gdb.base/sss-bp-on-user-bp.exp: New file.
1102
1103 2014-05-30 David Blaikie <dblaikie@gmail.com>
1104
1105 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1106 gnu_inline semantics via attribute.
1107 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1108 source explicitly specifies the required semantics.
1109
1110 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1111
1112 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1113
1114 2014-05-29 Pedro Alves <palves@redhat.com>
1115 Tom Tromey <tromey@redhat.com>
1116
1117 * gdb.base/async-shell.exp: Don't enable target-async.
1118 * gdb.base/async.exp
1119 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1120 parameter. Adjust.
1121 (top level): Don't test with "target-async".
1122 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1123 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1124 * gdb.base/inferior-died.exp: Don't enable target-async.
1125 * gdb.base/interrupt-noterm.exp: Likewise.
1126 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1127 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1128 * gdb.mi/mi-nonstop.exp: Likewise.
1129 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1130 * gdb.mi/mi-nsintrall.exp: Likewise.
1131 * gdb.mi/mi-nsmoribund.exp: Likewise.
1132 * gdb.mi/mi-nsthrexec.exp: Likewise.
1133 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1134 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1135 * gdb.python/py-evsignal.exp: Don't enable target-async.
1136 * gdb.python/py-evthreads.exp: Likewise.
1137 * gdb.python/py-prompt.exp: Likewise.
1138 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1139 * gdb.server/solib-list.exp: Don't enable target-async.
1140 * gdb.threads/thread-specific-bp.exp: Likewise.
1141 * lib/mi-support.exp: Adjust to use mi-async.
1142
1143 2014-05-29 Pedro Alves <palves@redhat.com>
1144
1145 PR gdb/13860
1146 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1147 reason, even in sync mode.
1148
1149 2014-05-29 Pedro Alves <palves@redhat.com>
1150 Hui Zhu <hui@codesourcery.com>
1151
1152 PR PR15693
1153 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1154 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1155 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1156 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1157
1158 2014-05-28 Joel Brobecker <brobecker@adacore.com>
1159
1160 * config/monitor.exp (gdb_target_monitor): Replace use of
1161 "set remotebaud" by "set serial baud".
1162
1163 2014-05-26 Andy Wingo <wingo@igalia.com>
1164
1165 * gdb.guile/scm-breakpoint.exp:
1166 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1167 properties instead of gdb-object-properties.
1168
1169 2014-05-26 Yao Qi <yao@codesourcery.com>
1170
1171 * gdb.server/no-thread-db.exp: Specify source file name
1172 explicitly when setting a breakpoint.
1173
1174 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1175
1176 * gdb.btrace/vdso.c: New.
1177 * gdb.btrace/vdso.exp: New.
1178
1179 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1180
1181 * gdb.base/gcore.exp (capture_command_output): Move ...
1182 * lib/gdb.exp (capture_command_output): ... here.
1183
1184 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1185
1186 * gdb.btrace/data.exp: Test memory access during btrace replay.
1187
1188 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1189
1190 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1191
1192 2014-05-21 Pedro Alves <palves@redhat.com>
1193
1194 PR gdb/13860
1195 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1196 (top level): Test that output related to execution commands is
1197 sent to the console with CLI commands, but not with MI commands.
1198 Test that breakpoint events are always mirrored to the console.
1199 Also expect the new source line to be output after a "next" in
1200 async mode too. Make it a pass/fail test.
1201 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
1202 output.
1203 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
1204
1205 2014-05-21 Pedro Alves <palves@redhat.com>
1206
1207 * gdb.base/list.exp (build_pattern, test_list): New procedures.
1208 Use them to test variations of "list" after reaching a breakpoint.
1209 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
1210 Test "list" with listsize 10 after reaching a breakpoint.
1211 * gdb.python/python.exp (decode_line current location line
1212 number): Adjust expected line number.
1213
1214 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
1215
1216 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
1217 behavior for $args, pass it directly to "run".
1218
1219 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1220
1221 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
1222 30000 to 65536.
1223
1224 2014-05-21 Pedro Alves <palves@redhat.com>
1225
1226 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
1227 auto-connect-native-target off".
1228 * gdb.base/auto-connect-native-target.c: New file.
1229 * gdb.base/auto-connect-native-target.exp: New file.
1230
1231 2014-05-21 Pedro Alves <palves@redhat.com>
1232
1233 * gdb.base/default.exp: Test "target native" instead of "target
1234 child".
1235
1236 2014-05-21 Mark Wielaard <mjw@redhat.com>
1237
1238 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1239
1240 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1241
1242 Fix TLS access for -static -pthread.
1243 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
1244 <HAVE_TLS> (thread_function, main): Initialize it.
1245 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
1246 Add clean_restart.
1247 <$have_tls != "">: Check TLSVAR.
1248
1249 2014-05-21 Pedro Alves <palves@redhat.com>
1250
1251 * gdb.base/dcache-line-read-error.c: New.
1252 * gdb.base/dcache-line-read-error.exp: New.
1253
1254 2014-05-20 Pedro Alves <palves@redhat.com>
1255
1256 * gdb.base/compare-sections.c: New file.
1257 * gdb.base/compare-sections.exp: New file.
1258
1259 2014-05-20 Pedro Alves <palves@redhat.com>
1260
1261 * gdb.base/break-idempotent.c: New file.
1262 * gdb.base/break-idempotent.exp: New file.
1263
1264 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
1265
1266 * gdb.btrace/nohist.exp: New.
1267
1268 2014-05-20 Yao Qi <yao@codesourcery.com>
1269
1270 * lib/gdb.exp (gdb_init): Set timeout if test file is under
1271 gdb.reverse directory and gdb_reverse_timeout exists in board
1272 setting.
1273 * README: Document gdb_reverse_timeout.
1274
1275 2014-05-20 Yao Qi <yao@codesourcery.com>
1276
1277 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
1278 'test_file_name'. Treat args as a string instead of a list.
1279 (gdb_init): Rename argument 'args' by 'test_file_name'.
1280
1281 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1282
1283 * gdb.arch/powerpc-power.exp: New file.
1284 * gdb.arch/powerpc-power.s: New file.
1285
1286 2014-05-16 Doug Evans <dje@google.com>
1287
1288 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
1289 * gdb.base/completion.exp: Check that all expected files exist
1290 before doing file completion.
1291
1292 2014-05-16 Doug Evans <dje@google.com>
1293
1294 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
1295 Update.
1296 (do_syscall_tests_without_xml): Update.
1297
1298 2014-05-16 Pedro Alves <palves@redhat.com>
1299
1300 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
1301 instead of "unknown output after running".
1302
1303 2014-05-16 Yao Qi <yao@codesourcery.com>
1304
1305 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
1306 file1.txt from host at the end.
1307 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1308
1309 2014-05-15 Doug Evans <dje@google.com>
1310
1311 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
1312 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
1313 loading file. Add test for TU lookup.
1314
1315 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1316
1317 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
1318 calling "-exec-arguments" or "set args" before running the
1319 inferior.
1320
1321 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1322
1323 * lib/mi-support.exp (mi_expect_stop): Expect message for
1324 inferiors that exit with non-zero exit code.
1325
1326 2014-05-14 Yao Qi <yao@codesourcery.com>
1327
1328 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
1329 match absolute path on remote host.
1330 (test_file_list_exec_source_files): Remove "/" from the
1331 pattern.
1332
1333 2014-05-14 Yao Qi <yao@codesourcery.com>
1334
1335 * boards/local-remote-host-notty.exp (${board}_file): New
1336 proc.
1337
1338 2014-05-07 Kyle McMartin <kyle@redhat.com>
1339
1340 Pushed by Joel Brobecker <brobecker@adacore.com>.
1341 * gdb.arch/aarch64-atomic-inst.c: New file.
1342 * gdb.arch/aarch64-atomic-inst.exp: New file.
1343
1344 2014-05-07 Yao Qi <yao@codesourcery.com>
1345
1346 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
1347 in current context" too.
1348
1349 2014-05-05 Keith Seitz <keiths@redhat.com>
1350
1351 * gdb.linespec/ls-dollar.exp: Add test for linespec
1352 file:convenience_variable.
1353
1354 2014-05-05 Yao Qi <yao@codesourcery.com>
1355
1356 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
1357 traceframes into tfile and ctf trace files. Read data from
1358 trace file and test collected data.
1359 (gdb_collect_locals_test): Likewise.
1360 (gdb_unavailable_registers_test): Likewise.
1361 (gdb_unavailable_floats): Likewise.
1362 (gdb_collect_globals_test): Likewise.
1363 (top-level): Append "ctf" to trace_file_targets if GDB
1364 supports.
1365
1366 2014-05-05 Yao Qi <yao@codesourcery.com>
1367
1368 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
1369 code to ...
1370 (gdb_collect_args_test_1): ... it. New proc.
1371 (gdb_collect_locals_test): Move some code to ...
1372 (gdb_collect_locals_test_1): ... it. New proc.
1373 (gdb_unavailable_registers_test): Move some code to ...
1374 (gdb_unavailable_registers_test_1): ... it. New proc.
1375 (gdb_unavailable_floats): Move some code to ...
1376 (gdb_unavailable_floats_1): ... it. New proc.
1377
1378 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1379
1380 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
1381 probes to test for bitness recognition.
1382 * gdb.arch/amd64-stap-optional-prefix.exp
1383 (test_probe_value_without_reg): New procedure.
1384 Add code to test for different kinds of bitness.
1385
1386 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1387
1388 PR breakpoints/16889
1389 * gdb.arch/amd64-stap-optional-prefix.S: New file.
1390 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1391
1392 2014-05-01 Pedro Alves <palves@redhat.com>
1393
1394 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
1395 gdb_file_cmd if no file is specified.
1396 * boards/native-extended-gdbserver.exp (gdb_load): Use the
1397 last_loaded_file to set the remote exec-file.
1398
1399 2014-05-01 Pedro Alves <palves@redhat.com>
1400
1401 * boards/local-remote-host.exp: New file.
1402
1403 2014-05-01 Pedro Alves <palves@redhat.com>
1404
1405 * boards/local-remote-host.exp: Rename to ...
1406 * boards/local-remote-host-notty.exp: ... this.
1407
1408 2014-04-28 Joel Brobecker <brobecker@adacore.com>
1409
1410 * gdb.ada/dyn_arrayidx: New testcase.
1411
1412 2014-04-26 Yao Qi <yao@codesourcery.com>
1413
1414 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
1415 and compute the length of function main. Save it in
1416 $main_length.
1417 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
1418 (top-level): Use gdb_compile to compile objects into
1419 executable and restart GDB. Remove invocation to
1420 prepare_for_testing.
1421
1422 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
1423 Pedro Alves <palves@redhat.com>
1424
1425 PR server/16255
1426 * gdb.multi/multi-attach.c: New file.
1427 * gdb.multi/multi-attach.exp: New file.
1428
1429 2014-04-25 Pedro Alves <palves@redhat.com>
1430
1431 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
1432 user.
1433 (top level): Test that "set remote conditional-breakpoints-packet
1434 off" works as intended.
1435 * gdb.base/dprintf.exp: Test that "set remote
1436 breakpoint-commands-packet off" works as intended.
1437 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
1438 New function.
1439 (top level): Call it.
1440 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
1441 remote fast-tracepoints-packet off" works as intended.
1442 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
1443 * lib/gdb.exp (gdb_is_target_remote): ... here.
1444
1445 2014-04-24 David Blaikie <dblaikie@gmail.com>
1446
1447 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
1448 ensure clang would not discard them.
1449 * gdb.base/gdbvars.c: Ditto.
1450 * gdb.base/memattr.c: Ditto.
1451 * gdb.base/whatis.c: Ditto.
1452 * gdb.python/py-prettyprint.c: Ditto.
1453 * gdb.trace/actions.c: Ditto.
1454 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
1455 ensure clang would not discard it.
1456
1457 2014-04-24 David Blaikie <dblaikie@gmail.com>
1458
1459 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
1460 clang to emit the full definition of type required by the test
1461 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
1462
1463 2014-04-24 David Blaikie <dblaikie@gmail.com>
1464
1465 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
1466 coax Clang into emitting the definition of the type.
1467 * gdb.cp/pr10728-x.h (y): Ditto.
1468 * gdb.cp/pr10728-y.cc (y): Ditto.
1469
1470 2014-04-24 David Blaikie <dblaikie@gmail.com>
1471
1472 * gdb.base/label.exp: XFAIL label related tests under Clang.
1473 * gdb.cp/cplabel.exp: Ditto.
1474 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
1475 under Clang those using labels.
1476
1477 2014-04-25 Yao Qi <yao@codesourcery.com>
1478
1479 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
1480 double_label.
1481 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
1482 partial_label and double_label.
1483
1484 2014-04-24 David Blaikie <dblaikie@gmail.com>
1485
1486 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
1487
1488 2014-04-24 David Blaikie <dblaikie@gmail.com>
1489
1490 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
1491 of the function to work across GCC and Clang.
1492 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
1493 pointer types (const void ** const V void **).
1494
1495 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
1496 Walfred Tedeschi <walfred.tedeschi@intel.com>
1497
1498 * Makefile.in (EXECUTABLES): Added i386-avx512.
1499 * gdb.arch/i386-avx512.c: New file.
1500 * gdb.arch/i386-avx512.exp: Likewise.
1501
1502 2014-04-23 Keith Seitz <keiths@redhat.com>
1503
1504 * lib/mi-support.exp (mi_list_breakpoints): Delete.
1505 (mi_make_breakpoint_table): New procedure.
1506 (mi_create_breakpoint): Use mi_make_breakpoint
1507 and return the result.
1508 (mi_make_breakpoint): New procedure.
1509 (mi_build_kv_pairs): New procedure.
1510
1511 * gdb.mi/mi-break.exp: Remove unused globals,
1512 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
1513 All callers updated.
1514 * gdb.mi/mi-dprintf.exp: Use variable to track command
1515 number.
1516 Update all callers of mi_create_breakpoint and use
1517 mi_make_breakpoint_table.
1518 Remove any unused global variables.
1519 * gdb.mi/mi-nonstop.exp: Likewise.
1520 * gdb.mi/mi-nsintrall.exp: Likewise.
1521 * gdb.mi/mi-nsmoribund.exp: Likewise.
1522 * gdb.mi/mi-nsthrexec.exp: Likewise.
1523 * gdb.mi/mi-reverse.exp: Likewise.
1524 * gdb.mi/mi-simplerun.exp: Likewise.
1525 * gdb.mi/mi-stepn.exp: Likewise.
1526 * gdb.mi/mi-syn-frame.exp: Likewise.
1527 * gdb.mi/mi-until.exp: Likewise.
1528 * gdb.mi/mi-var-cp.exp: Likewise.
1529 * gdb.mi/mi-var-display.exp: Likewise.
1530 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
1531 * gdb.mi/mi2-var-child.exp: Likewise.
1532 * gdb.mi/mi-vla-c99.exp: Likewise.
1533 * lib/mi-support.exp: Likewise.
1534
1535 From Ian Lance Taylor <iant@cygnus.com>:
1536 * lib/gdb.exp (parse_args): New procedure.
1537
1538 2014-04-23 Pedro Alves <palves@redhat.com>
1539
1540 * gdb.base/break-unload-file.c: New file.
1541 * gdb.base/break-unload-file.exp: New file.
1542 * gdb.base/sym-file-lib.c (baz): New function.
1543 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
1544 field.
1545 (load): Store the segment's mapped size.
1546 (unload): New function.
1547 (unload_shlib): New function.
1548 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
1549 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
1550 set a breakpoint at baz, and call it.
1551 * gdb.base/sym-file.exp: New tests for stale breakpoint
1552 instructions.
1553
1554 2014-04-23 Pedro Alves <palves@redhat.com>
1555
1556 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
1557 * gdb.base/hbreak-in-shr-unsupported.c: New file.
1558 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
1559 * gdb.base/hbreak-unmapped.c: New file.
1560 * gdb.base/hbreak-unmapped.exp: New file.
1561 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
1562 * lib/gdb.exp (gdb_is_target_remote): ... here.
1563
1564 2014-04-22 Pedro Alves <palves@redhat.com>
1565
1566 * gdb.base/consecutive-step-over.c: New file.
1567 * gdb.base/consecutive-step-over.exp: New file.
1568
1569 2014-04-22 Pedro Alves <palves@redhat.com>
1570
1571 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
1572 instead of send_gdb/gdb_expect.
1573
1574 2014-04-22 Yao Qi <yao@codesourcery.com>
1575
1576 * lib/trace-support.exp (generate_tracefile): New procedure.
1577 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
1578 return 0.
1579 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
1580 if generate_tracefile returns 1.
1581
1582 2014-04-18 Tom Tromey <palves@redhat.com>
1583 Pedro alves <tromey@redhat.com>
1584
1585 PR backtrace/15558
1586 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
1587 with a backtrace limit.
1588 * gdb.python/py-frame-inline.exp: Test running to an inline
1589 function with a backtrace limit, and printing the newest frame.
1590 * gdb.python/py-frame-inline.c (main): Call f.
1591
1592 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1593
1594 * gdb.java/jnpe.exp: Drop srcdir from untested path.
1595
1596 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1597
1598 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
1599 Drop prefix from unsupported source file path.
1600
1601 2014-04-17 Yao Qi <yao@codesourcery.com>
1602
1603 * lib/gdb.exp (with_target_charset): New proc.
1604 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
1605 with_target_charset.
1606 (test_print_strings): Likewise.
1607 (test_repeat_bytes): Likewise.
1608 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
1609 for some tests.
1610
1611 2014-04-16 Keith Seitz <keiths@redhat.com>
1612
1613 PR gdb/15827
1614 * gdb.dwarf2/corrupt.c: New file.
1615 * gdb.dwarf2/corrupt.exp: New file.
1616
1617 2014-04-16 Keith Seitz <keiths@redhat.com>
1618
1619 PR c++/16597
1620 * gdb.cp/namelessclass.cc: New file.
1621 * gdb.cp/namelessclass.exp: New file.
1622 * gdb.cp/namelessclass.S: New file.
1623
1624 2014-04-16 Doug Evans <dje@google.com>
1625
1626 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
1627 Add comment.
1628 (gdbserver_default_get_comm_port): New function.
1629 (gdbserver_start): Check if board file provided
1630 "gdbserver,get_comm_port" and use it if so.
1631 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
1632 (gdb,socketport): Set to "stdio".
1633 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
1634 (stdio_gdbserver_template): Delete.
1635 (${board}_get_remote_address): Update.
1636 (${board}_build_remote_cmd): Delete.
1637 (${board}_get_comm_port): New function.
1638 (${board}_spawn): Update.
1639 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
1640 Delete.
1641 (${board}_get_remote_address): Update.
1642 (${board}_get_comm_port): New function.
1643
1644 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
1645
1646 * gdb.base/memattr.exp: Improve regexps to handle memory regions
1647 appearing in any order.
1648
1649 2014-04-15 Doug Evans <dje@google.com>
1650
1651 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
1652 uninitialized value of "description".
1653
1654 2014-04-15 Keith Seitz <keiths@redhat.com>
1655
1656 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
1657 Remove unused globals.
1658 (test_running_the_program): Likewise.
1659 (test_controlled_execution): Likewise.
1660 (test_controlling_breakpoints): Likewise.
1661 (test_program_termination): Likewise.
1662
1663 2014-04-15 Keith Seitz <keiths@redhat.com>
1664
1665 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
1666 unused globals.
1667 (test_rbreak_creation_and_listing): Likewise.
1668 (test_ignore_count): Likewise.
1669 (test_error): Likewise.
1670
1671 2014-04-15 Pedro Alves <palves@redhat.com>
1672
1673 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
1674 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
1675 sym-file-loader.c.
1676 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1677 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1678 to sym-file-loader.c.
1679 (struct library): Forward declare.
1680 (load_shlib, lookup_function): Change prototypes.
1681 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1682 (translate_offset): Remove declarations.
1683 (get_text_addr): New declaration.
1684 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
1685 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
1686 sym-file-loader.h.
1687 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1688 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1689 here from sym-file-loader.h.
1690 (struct library): New structure.
1691 (load_shlib, lookup_function): Change prototypes and adjust to
1692 work with a struct library.
1693 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1694 (translate_offset): Make static.
1695 (get_text_addr): New function.
1696 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
1697
1698 2014-04-15 Pedro Alves <palves@redhat.com>
1699
1700 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
1701
1702 2014-04-15 Pedro Alves <palves@redhat.com>
1703
1704 * gdb.base/sym-file-loader.c: Include <limits.h>.
1705 (SELF_LINK): New define.
1706 (get_origin): New function.
1707 (load_shlib): Use it.
1708 * gdb.base/sym-file.exp: Don't early return if the target is
1709 remote. Use runto_main, and issue fail is that fails. Use
1710 gdb_load_shlibs.
1711 (shlib_name): Delete.
1712 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
1713
1714 2014-04-15 Pedro Alves <palves@redhat.com>
1715
1716 * gdb.base/sym-file.exp: Remove regex characters from test
1717 message. Don't refer to breakpoint numbers in test messages.
1718
1719 2014-04-14 Keith Seitz <keiths@redhat.com>
1720
1721 PR c++/16253
1722 * gdb.cp/var-tag.cc: New file.
1723 * gdb.cp/var-tag.exp: New file.
1724 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1725 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1726 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1727 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1728
1729 2014-04-14 Tom Tromey <tromey@redhat.com>
1730
1731 * gdb.cp/classes.exp (test_enums): Handle underlying type.
1732 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
1733 type.
1734 * gdb.cp/enum-class.exp: New file.
1735 * gdb.cp/enum-class.cc: New file.
1736
1737 2014-04-14 Tom Tromey <tromey@redhat.com>
1738
1739 * gdb.dwarf2/enum-type.exp: New file.
1740
1741 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1742
1743 * gdb.mi/mi-vla-c99.exp: New file.
1744 * gdb.mi/vla.c: New file.
1745
1746 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1747
1748 * gdb.base/vla-datatypes.c: New file.
1749 * gdb.base/vla-datatypes.exp: New file.
1750
1751 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1752
1753 * gdb.base/vla-ptr.c: New file.
1754 * gdb.base/vla-ptr.exp: New file.
1755
1756 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1757
1758 * gdb.dwarf2/count.exp: New file.
1759
1760 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1761
1762 * gdb.base/vla-sideeffect.c: New file.
1763 * gdb.base/vla-sideeffect.exp: New file.
1764
1765 2014-04-14 David Blaikie <dblaikie@gmail.com>
1766
1767 * gdb.mi/non-stop.c: Add return value for non-void function return
1768 statement.
1769 * gdb.threads/staticthreads.c: Ditto.
1770
1771 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
1772 Doug Evans <xdje42@gmail.com>
1773
1774 * gdb.guile/scm-value.c: Improve test case.
1775 * gdb.guile/scm-value.exp: Add new test.
1776
1777 2014-04-11 David Blaikie <dblaikie@gmail.com>
1778
1779 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
1780 override Clang's default.
1781
1782 2014-04-11 Joel Brobecker <brobecker@adacore.com>
1783
1784 Revert the following changes (regressions):
1785
1786 * gdb.base/vla-sideeffect.c: New file.
1787 * gdb.base/vla-sideeffect.exp: New file.
1788
1789 * gdb.dwarf2/count.exp: New file.
1790
1791 * gdb.base/vla-multi.c: New file.
1792 * gdb.base/vla-multi.exp: New file.
1793
1794 * gdb.base/vla-ptr.c: New file.
1795 * gdb.base/vla-ptr.exp: New file.
1796
1797 * gdb.base/vla-datatypes.c: New file.
1798 * gdb.base/vla-datatypes.exp: New file.
1799
1800 * gdb.mi/mi-vla-c99.exp: New file.
1801 * gdb.mi/vla.c: New file.
1802
1803 2014-04-11 Keith Seitz <keiths@redhat.com>
1804
1805 PR c++/16675
1806 * gdb.cp/cpsizeof.exp: New file.
1807 * gdb.cp/cpsizeof.cc: New file.
1808
1809 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1810
1811 * gdb.mi/mi-vla-c99.exp: New file.
1812 * gdb.mi/vla.c: New file.
1813
1814 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1815
1816 * gdb.base/vla-datatypes.c: New file.
1817 * gdb.base/vla-datatypes.exp: New file.
1818
1819 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1820
1821 * gdb.base/vla-ptr.c: New file.
1822 * gdb.base/vla-ptr.exp: New file.
1823
1824 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1825
1826 * gdb.base/vla-multi.c: New file.
1827 * gdb.base/vla-multi.exp: New file.
1828
1829 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1830
1831 * gdb.dwarf2/count.exp: New file.
1832
1833 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1834
1835 * gdb.base/vla-sideeffect.c: New file.
1836 * gdb.base/vla-sideeffect.exp: New file.
1837
1838 2014-04-11 Yao Qi <yao@codesourcery.com>
1839
1840 * gdb.base/completion.exp: Check file exists before running tests
1841 on file completion.
1842
1843 2014-04-10 Pedro Alves <palves@redhat.com>
1844
1845 * gdb.base/cond-eval-mode.c: New file.
1846 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
1847 prepare_for_testing to build the new file. Check result of
1848 runto_main.
1849 (test_break, test_watch): New procedures.
1850 (top level): Use them.
1851
1852 2014-04-08 Pierre Muller <muller@sourceware.org>
1853
1854 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
1855 Ctrl-V use for mingw hosts.
1856
1857 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
1858
1859 * gdb.python/py-value.c: Improve test case.
1860 * gdb.python/py-value.exp: Add new test.
1861
1862 2014-04-07 David Blaikie <dblaikie@gmail.com>
1863
1864 * lib/compiler.c: Identify the clang compiler.
1865 * lib/compiler.cc: Ditto.
1866
1867 2014-04-03 Yao Qi <yao@codesourcery.com>
1868
1869 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
1870
1871 2014-04-01 Anton Blanchard <anton@samba.org>
1872
1873 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
1874 messages unique.
1875
1876 2014-04-01 Anton Blanchard <anton@samba.org>
1877
1878 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
1879 prepare_for_testing.
1880
1881 2014-04-01 Anton Blanchard <anton@samba.org>
1882
1883 * gdb.arch/ppc64-atomic-inst.c: Remove.
1884 * gdb.arch/ppc64-atomic-inst.S: New file.
1885 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
1886
1887 2014-03-31 Doug Evans <dje@google.com>
1888
1889 * gdb.base/print-symbol-loading-lib.c: New file.
1890 * gdb.base/print-symbol-loading-main.c: New file.
1891 * gdb.base/print-symbol-loading.exp: New file.
1892
1893 2014-03-31 Yao Qi <yao@codesourcery.com>
1894
1895 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
1896
1897 2014-03-28 Joel Brobecker <brobecker@adacore.com>
1898
1899 * gdb.ada/mi_dyn_arr: New testcase.
1900
1901 2014-03-27 Doug Evans <dje@google.com>
1902
1903 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
1904
1905 2014-03-27 Yao Qi <yao@codesourcery.com>
1906
1907 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
1908 if target is nios2-*-*.
1909
1910 2014-03-26 Yao Qi <yao@codesourcery.com>
1911
1912 * lib/gdb.exp (readline_is_used): New proc.
1913 * gdb.base/completion.exp: Move tests on command complete up.
1914 Skip the rest of tests if readline is not used.
1915 * gdb.ada/complete.exp: Skp the test if readline is not
1916 used.
1917 * gdb.base/filesym.exp: Likewise.
1918 * gdb.base/macscp.exp: Likewise.
1919 * gdb.base/readline-ask.exp: Likewise.
1920 * gdb.base/readline.exp: Likewise.
1921 * gdb.python/py-cmd.exp: Likewise.
1922 * gdb.trace/tfile.exp: Likewise.
1923
1924 2014-03-26 Yao Qi <yao@codesourcery.com>
1925
1926 * gdb.base/macscp.exp: Fix code format issues.
1927
1928 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
1929
1930 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
1931 * gdb.asm/powerpc64le.inc: New file.
1932
1933 2014-03-25 Pedro Alves <palves@redhat.com>
1934 Doug Evans <dje@google.com>
1935
1936 * gdb.base/source-execution.c: New file.
1937 * gdb.base/source-execution.exp: New file.
1938 * gdb.base/source-execution.gdb: New file.
1939
1940 2014-03-24 Doug Evans <dje@google.com>
1941
1942 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
1943 using fission.
1944
1945 2014-03-24 Hui Zhu <hui@codesourcery.com>
1946 Pedro Alves <palves@redhat.com>
1947
1948 PR breakpoints/16101
1949 * gdb.base/dprintf.exp: Use unsupported rather than changing the
1950 test pass/fail messages. Detect missing support for dprintf when
1951 breakpoints are actually inserted.
1952 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
1953 breakpoints are actually inserted.
1954 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
1955 fails.
1956
1957 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1958
1959 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
1960
1961 2014-03-22 Doug Evans <xdje42@gmail.com>
1962
1963 * gdb.python/python.exp (python not supported): Verify multi-line
1964 python command issues an error.
1965 * gdb.guile/guile.exp (guile not supported): Verify multi-line
1966 guile command issues an error.
1967
1968 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
1969
1970 * gdb.threads/thread-specific.exp: Handle the lack of usable
1971 $this_breakpoint and $this_thread.
1972
1973 2014-03-21 Hui Zhu <hui@codesourcery.com>
1974
1975 * gdb.base/attach.exp (do_command_attach_tests): New.
1976
1977 2014-03-20 Tom Tromey <tromey@redhat.com>
1978 Pedro Alves <palves@redhat.com>
1979
1980 PR cli/15718
1981 * gdb.base/condbreak-call-false.c: New file.
1982 * gdb.base/condbreak-call-false.exp: New file.
1983
1984 2014-03-20 Pedro Alves <palves@redhat.com>
1985
1986 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
1987 Delete.
1988 (block_signals, unblock_signals): Delete.
1989 (child_function_2, main): Remove references to deleted variable
1990 and functions.
1991
1992 2014-03-20 Pedro Alves <palves@redhat.com>
1993
1994 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
1995 Use pthread_kill to signal thread 2.
1996 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1997 Adjust to make the test send itself a signal rather than using the
1998 host's "kill" command.
1999
2000 2014-03-20 Pedro Alves <palves@redhat.com>
2001
2002 * gdb.threads/multiple-step-overs.c: New file.
2003 * gdb.threads/multiple-step-overs.exp: New file.
2004 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2005 Adjust expected infrun debug output.
2006
2007 2014-03-20 Pedro Alves <palves@redhat.com>
2008
2009 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2010 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2011
2012 2014-03-20 Pedro Alves <palves@redhat.com>
2013
2014 PR breakpoints/7143
2015 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2016 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2017 of gdb_test_multiple.
2018 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2019 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2020
2021 2014-03-20 Pedro Alves <palves@redhat.com>
2022
2023 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2024 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2025
2026 2014-03-19 Pedro Alves <palves@redhat.com>
2027
2028 * gdb.base/async.exp: Remove early return.
2029
2030 2014-03-19 Pedro Alves <palves@redhat.com>
2031
2032 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2033
2034 2014-03-19 Pedro Alves <palves@redhat.com>
2035
2036 * gdb.base/async.exp (test_background): Expect \r\n after
2037 "completed." in the fail pattern.
2038
2039 2014-03-19 Pedro Alves <palves@redhat.com>
2040
2041 * gdb.base/async.exp (test_background): New procedure.
2042 Use it for all background execution command tests.
2043
2044 2014-03-19 Pedro Alves <palves@redhat.com>
2045
2046 * gdb.base/async.exp: Use prepare_for_testing.
2047
2048 2014-03-19 Pedro Alves <palves@redhat.com>
2049
2050 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2051 the same line.
2052
2053 2014-03-19 Pedro Alves <palves@redhat.com>
2054
2055 * gdb.base/async.c (main): Add "jump here" and "until here" line
2056 marker comments.
2057 * gdb.base/async.exp (jump_here): New global.
2058 (jump& test): Use it.
2059 (until_here): New global.
2060 (until& test): Use it.
2061
2062 2014-03-19 Pedro Alves <palves@redhat.com>
2063
2064 * gdb.base/async.exp: Don't frob gdb_protocol.
2065
2066 2014-03-18 Doug Evans <xdje42@gmail.com>
2067
2068 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2069 Fix spelling of exec-done-display.
2070
2071 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2072
2073 PR gdb/15358
2074 * gdb.base/gdb-sigterm.c: New file.
2075 * gdb.base/gdb-sigterm.exp: New file.
2076
2077 2014-03-18 Pedro Alves <palves@redhat.com>
2078
2079 PR gdb/13860
2080 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2081 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2082 solib-event.
2083
2084 2014-03-17 Joel Brobecker <brobecker@adacore.com>
2085
2086 * gdb.ada/pckd_arr_ren: New testcase.
2087
2088 2014-03-13 Doug Evans <xdje42@gmail.com>
2089
2090 PR guile/16612
2091 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2092 collect after discarding symbols.
2093
2094 2014-03-13 Ludovic Courtès <ludo@gnu.org>
2095 Doug Evans <xdje42@gmail.com>
2096
2097 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2098 to history survives a gc.
2099
2100 2014-03-13 Pedro Alves <palves@redhat.com>
2101
2102 * gdb.base/default.exp: Don't test "target procfs".
2103
2104 2014-03-13 Pedro Alves <palves@redhat.com>
2105
2106 * gdb.base/default.exp: Update "target child" and "target procfs"
2107 tests to not expect "Unix".
2108
2109 2014-03-12 Tom Tromey <tromey@redhat.com>
2110
2111 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2112 New procs. Add target-async tests.
2113 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2114 Add target-async tests.
2115
2116 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2117
2118 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2119 'func_start' and 'func_end' for the beginning and end of the
2120 function code, respectively.
2121 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2122 'func_end' instead of 'func' and 'main'.
2123
2124 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2125
2126 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2127 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2128 generate the debug info assembler source.
2129
2130 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2131
2132 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2133 * gdb.dwarf2/arr-subrange.exp: Likewise.
2134 * gdb.dwarf2/dwz.exp: Likewise.
2135 * gdb.dwarf2/method-ptr.exp: Likewise.
2136 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2137 * gdb.dwarf2/subrange.exp: Likewise.
2138 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2139 * gdb.dwarf2/implptrpiece.exp: Likewise.
2140 * gdb.dwarf2/nostaticblock.exp: Likewise.
2141
2142 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2143
2144 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2145 directory to absolute path name arguments.
2146
2147 2014-03-10 Joel Brobecker <brobecker@adacore.com>
2148
2149 * gdb.ada/tagged_access: New testcase.
2150
2151 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2152
2153 * gdb.btrace/data.exp: Update expected output.
2154
2155 2014-03-06 Yao Qi <yao@codesourcery.com>
2156
2157 * gdb.trace/pr16508.exp: New file.
2158
2159 2014-03-05 Pedro Alves <palves@redhat.com>
2160
2161 PR gdb/16575
2162 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2163 procedure.
2164 (top level): Adjust to use it. Add tests that exercise breakpoint
2165 interaction with the code-cache.
2166
2167 2014-02-26 Ludovic Courtès <ludo@gnu.org>
2168
2169 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2170 test for 'history-append!'.
2171
2172 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2173
2174 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2175 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2176 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2177 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2178 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2179 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2180
2181 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2182
2183 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2184 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2185 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2186
2187 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2188
2189 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2190
2191 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2192
2193 * gdb.dwarf2/arr-stride.c: New file.
2194 * gdb.dwarf2/arr-stride.exp: New file.
2195
2196 2014-02-26 Pedro Alves <palves@redhat.com>
2197
2198 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2199 that won't ever trigger. Make sure that GDB reports the correct
2200 breakpoint that caused the stop.
2201
2202 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2203
2204 PR gdb/16626
2205 * gdb.base/auto-load-script: New file.
2206 * gdb.base/auto-load.c: New file.
2207 * gdb.base/auto-load.exp: New file.
2208
2209 PR gdb/16626
2210 * gdb.base/auto-load.exp: Fix out-of-srctree run.
2211
2212 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2213
2214 Fix dw2-icycle.exp -fsanitize=address GDB crash.
2215 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
2216
2217 2014-02-24 Doug Evans <dje@google.com>
2218
2219 * lib/gdb.exp (run_on_host): Log error output if program fails.
2220
2221 2014-02-21 Pedro Alves <palves@redhat.com>
2222
2223 * gdb.threads/step-after-sr-lock.c: Rename to ...
2224 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
2225 * gdb.threads/step-after-sr-lock.exp: Rename to ...
2226 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2227 ... this.
2228
2229 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2230
2231 PR tdep/16397
2232 * gdb.arch/amd64-stap-special-operands.exp: New file.
2233 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
2234 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
2235 * gdb.arch/amd64-stap-triplet.S: Likewise.
2236 * gdb.arch/amd64-stap-triplet.c: Likewise.
2237
2238 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2239
2240 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
2241 in .section pseudo-op.
2242
2243 2014-02-20 lin zuojian <manjian2006@gmail.com>
2244 Joel Brobecker <brobecker@adacore.com>
2245 Doug Evans <xdje42@gmail.com>
2246
2247 PR symtab/16581
2248 * gdb.dwarf2/dw2-icycle.S: New file.
2249 * gdb.dwarf2/dw2-icycle.c: New file.
2250 * gdb.dwarf2/dw2-icycle.exp: New file.
2251
2252 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2253
2254 * gdb.python/py-value-cc.cc: Improve test case to enable testing
2255 operations on gdb.Value objects.
2256 * gdb.python/py-value-cc.exp: Add new test to test operations on
2257 gdb.Value objects.
2258
2259 2014-02-18 Doug Evans <dje@google.com>
2260
2261 * Makefile.in (TESTS): New variable.
2262 (expanded_tests, expanded_tests_or_none): New variables
2263 (check-single): Pass $(expanded_tests_or_none) to runtest.
2264 (check-parallel): Only run tests in $(TESTS) if non-empty.
2265 (check/no-matching-tests-found): New rule.
2266 * README: Document TESTS makefile variable.
2267
2268 2014-02-18 Doug Evans <dje@google.com>
2269
2270 * Makefile.in (check-parallel): rm -rf outputs temp.
2271
2272 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2273
2274 Fix "ERROR: no fileid for" in the testsuite.
2275 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
2276
2277 2014-02-12 Doug Evans <dje@google.com>
2278
2279 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
2280 (MISCELLANEOUS): New variable.
2281 (clean): rm -rf $(MISCELLANEOUS).
2282 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
2283 dwp live in the same directory as symlinks, with each symlink pointed
2284 to a differently named file in a different directory.
2285
2286 2014-02-11 Doug Evans <dje@google.com>
2287
2288 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
2289 of Tcl file commands.
2290
2291 2014-02-10 Mark Kettenis <kettenis@gnu.org>
2292
2293 * gdb.threads/step-after-sr-lock.exp: Avoid executing
2294 "kill -SIGUSR1 -1".
2295
2296 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2297
2298 * gdb.ada/tick_length_array_enum_idx: New testcase.
2299
2300 2014-02-10 Doug Evans <xdje42@gmail.com>
2301
2302 * configure.ac (AC_OUTPUT): Add gdb.guile.
2303 * configure: Regenerate.
2304 * lib/gdb-guile.exp: New file.
2305 * lib/gdb.exp (get_target_charset): New function.
2306 * gdb.base/help.exp: Update expected output from "apropos apropos".
2307 * gdb.guile/Makefile.in: New file.
2308 * gdb.guile/guile.exp: New file.
2309 * gdb.guile/scm-arch.c: New file.
2310 * gdb.guile/scm-arch.exp: New file.
2311 * gdb.guile/scm-block.c: New file.
2312 * gdb.guile/scm-block.exp: New file.
2313 * gdb.guile/scm-breakpoint.c: New file.
2314 * gdb.guile/scm-breakpoint.exp: New file.
2315 * gdb.guile/scm-disasm.c: New file.
2316 * gdb.guile/scm-disasm.exp: New file.
2317 * gdb.guile/scm-equal.c: New file.
2318 * gdb.guile/scm-equal.exp: New file.
2319 * gdb.guile/scm-error.exp: New file.
2320 * gdb.guile/scm-error.scm: New file.
2321 * gdb.guile/scm-frame-args.c: New file.
2322 * gdb.guile/scm-frame-args.exp: New file.
2323 * gdb.guile/scm-frame-args.scm: New file.
2324 * gdb.guile/scm-frame-inline.c: New file.
2325 * gdb.guile/scm-frame-inline.exp: New file.
2326 * gdb.guile/scm-frame.c: New file.
2327 * gdb.guile/scm-frame.exp: New file.
2328 * gdb.guile/scm-generics.exp: New file.
2329 * gdb.guile/scm-gsmob.exp: New file.
2330 * gdb.guile/scm-iterator.c: New file.
2331 * gdb.guile/scm-iterator.exp: New file.
2332 * gdb.guile/scm-math.c: New file.
2333 * gdb.guile/scm-math.exp: New file.
2334 * gdb.guile/scm-objfile-script-gdb.in: New file.
2335 * gdb.guile/scm-objfile-script.c: New file.
2336 * gdb.guile/scm-objfile-script.exp: New file.
2337 * gdb.guile/scm-objfile.c: New file.
2338 * gdb.guile/scm-objfile.exp: New file.
2339 * gdb.guile/scm-ports.exp: New file.
2340 * gdb.guile/scm-pretty-print.c: New file.
2341 * gdb.guile/scm-pretty-print.exp: New file.
2342 * gdb.guile/scm-pretty-print.scm: New file.
2343 * gdb.guile/scm-section-script.c: New file.
2344 * gdb.guile/scm-section-script.exp: New file.
2345 * gdb.guile/scm-section-script.scm: New file.
2346 * gdb.guile/scm-symbol.c: New file.
2347 * gdb.guile/scm-symbol.exp: New file.
2348 * gdb.guile/scm-symtab-2.c: New file.
2349 * gdb.guile/scm-symtab.c: New file.
2350 * gdb.guile/scm-symtab.exp: New file.
2351 * gdb.guile/scm-type.c: New file.
2352 * gdb.guile/scm-type.exp: New file.
2353 * gdb.guile/scm-value-cc.cc: New file.
2354 * gdb.guile/scm-value-cc.exp: New file.
2355 * gdb.guile/scm-value.c: New file.
2356 * gdb.guile/scm-value.exp: New file.
2357 * gdb.guile/source2.scm: New file.
2358 * gdb.guile/types-module.cc: New file.
2359 * gdb.guile/types-module.exp: New file.
2360
2361 2014-02-10 Yao Qi <yao@codesourcery.com>
2362
2363 PR testsuite/16543
2364 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
2365 * configure: Regenerated.
2366 * Makefile.in: New file.
2367
2368 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2369
2370 * gdb.python/py-framefilter.exp: Fix typo.
2371
2372 2014-02-08 Yao Qi <yao@codesourcery.com>
2373
2374 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
2375 that no =breakpoint-modified is emitted when breakpoints are
2376 modified through MI commands.
2377
2378 2014-02-07 Pedro Alves <pedro@codesourcery.com>
2379 Pedro Alves <palves@redhat.com>
2380
2381 * gdb.threads/step-after-sr-lock.c: New file.
2382 * gdb.threads/step-after-sr-lock.exp: New file.
2383
2384 2014-02-07 Pedro Alves <palves@redhat.com>
2385
2386 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
2387
2388 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2389
2390 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
2391 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
2392
2393 2014-02-06 Doug Evans <xdje42@gmail.com>
2394
2395 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
2396 output.
2397
2398 * gdb.gdb/python-interrupts.exp: New file.
2399
2400 2014-02-05 Yao Qi <yao@codesourcery.com>
2401
2402 * gdb.trace/report.exp (use_collected_data): Test the output
2403 of "info threads" and "info inferiors".
2404
2405 2014-02-05 Yao Qi <yao@codesourcery.com>
2406
2407 Revert this patch:
2408
2409 2013-05-24 Yao Qi <yao@codesourcery.com>
2410
2411 * gdb.trace/tfile.exp: Test inferior and thread.
2412
2413 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2414
2415 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
2416 on a function.
2417 * gdb.base/step-bt.c: Call hello via function pointer to make
2418 sure its first instruction is executed on powerpc64le-linux.
2419
2420 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2421
2422 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
2423
2424 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2425
2426 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
2427 of the test patterns for use on little-endian systems.
2428
2429 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2430
2431 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
2432 (decimal_vector): Fix for little-endian.
2433
2434 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2435
2436 * gdb.arch/sparc-sysstep.exp: New file.
2437 * gdb.arch/sparc-sysstep.c: Likewise.
2438
2439 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
2440
2441 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2442
2443 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
2444
2445 2014-01-23 Tom Tromey <tromey@redhat.com>
2446
2447 * gdb.ada/array_char_idx: New testcase.
2448
2449 2014-01-23 Tom Tromey <tromey@redhat.com>
2450
2451 PR python/16487:
2452 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
2453 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
2454 classes.
2455
2456 2014-01-23 Tom Tromey <tromey@redhat.com>
2457
2458 PR python/16491:
2459 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
2460 string from an inferior frame.
2461 * gdb.python/py-framefilter-mi.exp: Update.
2462
2463 2014-01-22 Doug Evans <dje@google.com>
2464
2465 * gdb.server/server-mon.exp: Add tests for "set debug-format".
2466
2467 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2468
2469 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
2470
2471 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2472
2473 * gdb.trace/entry-values.exp: Remove excess space character from
2474 regex patterns. Handle s390 call instruction.
2475
2476 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2477
2478 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
2479 define "*_start" label. Make "name" static.
2480 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
2481 ${name} by references to ${name}_start.
2482
2483 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2484
2485 * gdb.base/info-macros.exp: Remove "debug" from the compile
2486 options.
2487
2488 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2489
2490 * gdb.dlang/demangle.exp: New file.
2491
2492 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2493
2494 * gdb.dlang/primitive-types.exp: New file.
2495
2496 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2497
2498 * configure.ac: Create gdb.dlang/Makefile.
2499 * configure: Regenerate.
2500 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
2501 * gdb.dlang/Makefile.in: New file.
2502 * lib/d-support.exp: New file.
2503 * lib/gdb.exp (skip_d_tests): New proc.
2504
2505 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2506
2507 * gdb.btrace/delta.exp: Check reverse stepi.
2508 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
2509 * gdb.btrace/finish.exp: New.
2510 * gdb.btrace/next.exp: New.
2511 * gdb.btrace/nexti.exp: New.
2512 * gdb.btrace/record_goto.c: Add comments.
2513 * gdb.btrace/step.exp: New.
2514 * gdb.btrace/stepi.exp: New.
2515 * gdb.btrace/multi-thread-step.c: New.
2516 * gdb.btrace/multi-thread-step.exp: New.
2517 * gdb.btrace/rn-dl-bind.c: New.
2518 * gdb.btrace/rn-dl-bind.exp: New.
2519 * gdb.btrace/data.c: New.
2520 * gdb.btrace/data.exp: New.
2521 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2522
2523 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2524
2525 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
2526 * gdb.btrace/exception.exp: Update.
2527 * gdb.btrace/instruction_history.exp: Update.
2528 * gdb.btrace/record_goto.exp: Update.
2529 * gdb.btrace/tailcall.exp: Update.
2530 * gdb.btrace/unknown_functions.exp: Update.
2531 * gdb.btrace/delta.exp: New.
2532
2533 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2534
2535 * gdb.btrace/record_goto.exp: Add backtrace test.
2536 * gdb.btrace/tailcall.exp: Add backtrace test.
2537
2538 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2539
2540 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
2541 * gdb.btrace/record_goto.c: New.
2542 * gdb.btrace/record_goto.exp: New.
2543 * gdb.btrace/x86-record_goto.S: New.
2544
2545 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2546
2547 * gdb.btrace/function_call_history.exp: Update tests.
2548 * gdb.btrace/instruction_history.exp: Update tests.
2549
2550 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2551
2552 * gdb.btrace/function_call_history.exp: Fix expected field
2553 order for "record function-call-history".
2554 Add new tests for "record function-call-history /c".
2555 * gdb.btrace/exception.cc: New.
2556 * gdb.btrace/exception.exp: New.
2557 * gdb.btrace/tailcall.exp: New.
2558 * gdb.btrace/x86-tailcall.S: New.
2559 * gdb.btrace/x86-tailcall.c: New.
2560 * gdb.btrace/unknown_functions.c: New.
2561 * gdb.btrace/unknown_functions.exp: New.
2562 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2563
2564 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2565
2566 * gdb.btrace/instruction_history.exp: Update.
2567 * gdb.btrace/function_call_history.exp: Update.
2568
2569 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2570
2571 * gdb.btrace/function_call_history.exp: Fix expected function
2572 trace.
2573 * gdb.btrace/instruction_history.exp: Initialize traced.
2574 Remove traced_functions.
2575
2576 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2577
2578 * gdb.btrace/function_call_history.exp: Update
2579 * gdb.btrace/instruction_history.exp: Update.
2580
2581 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2582
2583 * gdb.btrace/enable.exp: Update expected text.
2584
2585 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
2586
2587 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
2588 bytes.
2589
2590 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
2591
2592 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
2593
2594 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2595
2596 * lib/gdb.exp (supports_process_record): Return true for
2597 arm*-linux*. (supports_reverse): Likewise.
2598
2599 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
2600
2601 PR python/15464
2602 PR python/16113
2603 * gdb.python/py-type.c: Enhance test case.
2604 * gdb.python/py-value-cc.cc: Likewise
2605 * gdb.python/py-type.exp: Add new tests.
2606 * gdb.python/py-value-cc.exp: Likewise
2607
2608 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2609 Pedro Alves <palves@redhat.com>
2610
2611 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
2612 Make "name" extern.
2613 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
2614 references to ${name}_start by references to ${name}.
2615
2616 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2617
2618 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
2619
2620 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2621
2622 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
2623
2624 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
2625 Pedro Alves <palves@redhat.com>
2626
2627 * gdb.mi/mi-info-os.exp: Connect to the target with
2628 mi_gdb_target_load.
2629
2630 2014-01-08 Pedro Alves <palves@redhat.com>
2631
2632 * gdb.threads/reconnect-signal.c: New file.
2633 * gdb.threads/reconnect-signal.exp: New file.
2634
2635 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2636
2637 * gdb.base/source-dir.exp: New file.
2638
2639 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2640
2641 * gdb.ada/mi_interface: New testcase.
2642
2643 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2644
2645 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
2646 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
2647 gdb.ada/pp-rec-component/pck.ads: New files.
2648
2649 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2650
2651 * gdb.python/py-pp-integral.c: New file.
2652 * gdb.python/py-pp-integral.py: New file.
2653 * gdb.python/py-pp-integral.exp: New file.
2654
2655 For older changes see ChangeLog-1993-2013.
2656 \f
2657 ;; Local Variables:
2658 ;; mode: change-log
2659 ;; left-margin: 8
2660 ;; fill-column: 74
2661 ;; version-control: never
2662 ;; End:
2663
2664 Copyright 2014 Free Software Foundation, Inc.
2665 Copying and distribution of this file, with or without modification,
2666 are permitted provided the copyright notice and this notice are preserved.