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