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