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