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