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