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