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