Fix crash on optimized-out entry data values
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
17d0c5c8
JK
12014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2
3 PR gdb/17170
4 * gdb.base/statistics.exp: New file.
5
b8b8facf
DE
62014-07-17 Doug Evans <dje@google.com>
7
74b49205 8 PR gdb/17170
b8b8facf
DE
9 * gdb.base/maint.exp: Update testing of per-command stats.
10
1b5d0ab3
PA
112014-07-16 Pedro Alves <palves@redhat.com>
12
13 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
14 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
15 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
16 (tfile_write_buf): New functions.
17 (add_memory_block): Rewrite using the above.
18 (adjust_function_address): New function.
19 (FUNCTION_ADDRESS): New macro.
20 (write_basic_trace_file): Remove short_x local, and use
21 tfile_write_16. Change type of func_addr local to unsigned long
22 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
23 here. Cast argument of add_memory_block to char pointer.
24 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
25 (main): Remove parameters.
26 * gdb.trace/tfile.exp: Remove nowarnings.
27
4d974e88
SM
282014-07-15 Simon Marchi <simon.marchi@ericsson.com>
29
30 * gdb.base/debug-expr.exp: Test string evaluation with
31 "debug expression" on.
32
41e99568
PA
332014-07-15 Pedro Alves <palves@redhat.com>
34
35 * gdb.base/reread.exp: Use clean_restart.
36
487d9753
PL
372014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
38
39 * gdb.arch/avr-flash-qualifer.c: New.
40 * gdb.arch/avr-flash-qualifer.exp: New.
41
cc1c52ad
PA
422014-07-14 Pedro Alves <palves@redhat.com>
43
44 * gdb.base/paginate-after-ctrl-c-running.c: New file.
45 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
46
1e973570
PA
472014-07-14 Pedro Alves <palves@redhat.com>
48
49 * gdb.base/double-prompt-target-event-error.c: New file.
50 * gdb.base/double-prompt-target-event-error.exp: New file.
51
93d6eb10
PA
522014-07-14 Pedro Alves <palves@redhat.com>
53
54 PR gdb/17072
55 * gdb.base/paginate-inferior-exit.c: New file.
56 * gdb.base/paginate-inferior-exit.exp: New file.
57
0017922d
PA
582014-07-14 Pedro Alves <palves@redhat.com>
59
60 PR gdb/17072
61 * gdb.base/paginate-bg-execution.c: New file.
62 * gdb.base/paginate-bg-execution.exp: New file.
63
94696ad3
PA
642014-07-14 Pedro Alves <palves@redhat.com>
65
66 PR gdb/17072
67 * gdb.base/paginate-execution-startup.c: New file.
68 * gdb.base/paginate-execution-startup.exp: New file.
69 * lib/gdb.exp (pagination_prompt): New global.
70 (default_gdb_spawn): New procedure, factored out from
71 default_gdb_spawn.
72 (default_gdb_start): Adjust to call default_gdb_spawn.
73 (gdb_spawn): New procedure.
74
bd293940
PA
752014-07-14 Pedro Alves <palves@redhat.com>
76
77 * lib/gdb.exp (gdb_assert): New procedure.
78 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
79
c933f875
PA
802014-07-14 Pedro Alves <palves@redhat.com>
81
82 * gdb.base/execution-termios.c: New file.
83 * gdb.base/execution-termios.exp: New file.
84
d98b7a16
TT
852014-07-14 Tom Tromey <tromey@redhat.com>
86
87 * gdb.cp/vla-cxx.cc: New file.
88 * gdb.cp/vla-cxx.exp: New file.
89
548740d6
TT
902014-07-14 Tom Tromey <tromey@redhat.com>
91
92 * gdb.reverse/rerun-prec.c: New file.
93 * gdb.reverse/rerun-prec.exp: New file.
94
a25eb028
MR
952014-07-12 Maciej W. Rozycki <macro@mips.com>
96 Maciej W. Rozycki <macro@codesourcery.com>
97
98 * lib/gdb-utils.exp: New file.
99 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
100 inline `gdb_init_command' processing.
101 (gdb_start_cmd): Likewise.
102 * lib/mi-support.exp (mi_run_cmd): Likewise.
103 * README: Document `gdb_init_command' and `gdb_init_commands'.
104
218c2655
JK
1052014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
106
107 Fix false FAIL running under a very long directory name.
108 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
109 and "set print elements 10000". Twice.
110
5401fde3
YQ
1112014-07-11 Yao Qi <yao@codesourcery.com>
112
113 * gdb.base/exprs.exp: "set print symbol off".
114
e76126e8
PA
1152014-07-11 Pedro Alves <palves@redhat.com>
116
117 * gdb.threads/kill.c: New file.
118 * gdb.threads/kill.exp: New file.
119
2d6f0de6
YQ
1202014-07-10 Yao Qi <yao@codesourcery.com>
121
122 * gdb.trace/tfile.c (write_basic_trace_file)
123 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
124 address written to trace file.
125
7180e04a
PA
1262014-07-09 Pedro Alves <palves@redhat.com>
127
128 * gdb.base/attach-wait-input.exp: New file.
129 * gdb.base/attach-wait-input.c: New file.
130
9a9a7608
AB
1312014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
132
133 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
134 setting up test structures.
135 (main): Call new test function.
136 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
137 test function, continue into test function and walk test
138 structures.
139
161ac41e
YQ
1402014-07-02 Yao Qi <yao@codesourcery.com>
141
142 * gdb.trace/entry-values.c: Define labels 'foo_start' and
143 'bar_start' at the beginning of functions 'foo' and 'bar'
144 respectively.
145 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
146 instead of 'foo' and 'bar'.
147
1f267ae3
MM
1482014-07-08 Markus Metzger <markus.t.metzger@intel.com>
149
150 * gdb.btrace/segv.exp: New.
151 * gdb.btrace/segv.c: New.
152
2b239efb
LM
1532014-07-02 Luis Machado <lgustavo@codesourcery.com>
154
155 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
156 instruction.
157
cf363f18
MW
1582014-06-30 Mark Wielaard <mjw@redhat.com>
159
160 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
161 vulture, vilify, villar): New volatile array constants.
162 (vindictive, vegetation): New const volatile array constants.
163 * gdb.base/volatile.exp: Test volatile and const volatile array
164 types.
165
aebf9d24
AA
1662014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
167
168 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
169 target lacks support for awatch, rwatch, or hbreak.
170
b67a2c6f
YQ
1712014-06-27 Yao Qi <yao@codesourcery.com>
172
173 * gdb.multi/dummy-frame-restore.exp: New.
174 * gdb.multi/dummy-frame-restore.c: New.
175
aef92902
MM
1762014-06-25 Markus Metzger <markus.t.metzger@intel.com>
177
178 * gdb.btrace/gcore.exp: New.
179
8e9db26e
PA
1802014-06-23 Pedro Alves <palves@redhat.com>
181
182 * gdb.base/watchpoint-reuse-slot.c: New file.
183 * gdb.base/watchpoint-reuse-slot.exp: New file.
184
70afc5b7
SC
1852014-06-23 Siva Chandra Reddy <sivachandra@google.com>
186
187 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
188 progspace's filename in 'info', 'enable' and 'disable' command
189 tests.
190
b972bd9c
JK
1912014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
192
193 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
194 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
195 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
196
125f8a3d
GB
1972014-06-20 Gary Benson <gbenson@redhat.com>
198
199 * gdb.arch/i386-avx.exp: Fix include file location.
200 * gdb.arch/i386-sse.exp: Likewise.
201
3ed9baed
IB
2022014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
203
204 * gdb.dlang/expression.exp: New file.
205
034f788c
PA
2062014-06-19 Pedro Alves <palves@redhat.com>
207
208 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
209 out from ...
210 (top level): ... here. Iterate running tests under different
211 scheduler-locking settings.
212
45371d0c
LM
2132014-06-18 Luis Machado <lgustavo@codesourcery.com>
214
215 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
216 to DW_FORM_addr and use non-zero addresses.
217
5d376983
SC
2182014-06-18 Siva Chandra Reddy <sivachandra@google.com>
219
220 PR gdb/17017
221 * gdb.python/py-xmethods.cc: Add global function call counters and
222 increment them in their respective functions. Remove "cout"
223 statements.
224 * gdb.python/py-xmethods.exp: Make tests check the global function
225 call counters instead of depending on inferior IO.
226
a1aa2221
LM
2272014-06-18 Don Breazeal <donb@codesourcery.com>
228
229 * gdb.base/foll-fork.exp (default_fork_parent_follow):
230 Deleted procedure.
231 (explicit_fork_parent_follow): Deleted procedure.
232 (explicit_fork_child_follow): Deleted procedure.
233 (test_follow_fork): New procedure.
234 (do_fork_tests): Replace calls to deleted procedures with
235 calls to test_follow_fork and reset GDB for subsequent
236 procedure calls.
237
0fc05997
YQ
2382014-06-17 Yao Qi <yao@codesourcery.com>
239
240 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
241 CP1252.
242
70795c52
LM
2432014-06-17 Luis Machado <lgustavo@codesourcery.com>
244
245 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
246 Initialize ptr and S explicitly.
247 (skip_type_update_when_not_use_rtti_test): Likewise.
248
6be47f0c
KS
2492014-06-16 Keith Seitz <keiths@redhat.com>
250
251 PR mi/15863
252 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
253 the inferior is started.
254
d03de421
PA
2552014-06-16 Pedro Alves <palves@redhat.com>
256
257 * gdb.base/break-main-file-remove-fail.c: New file.
258 * gdb.base/break-main-file-remove-fail.exp: New file.
259 * gdb.base/break-unload-file.exp: Use build_executable instead of
260 prepare_for_testing.
261 (test_break): New parameter "initial_load". Handle it.
262 (top level): Add initial_load cmdline/file axis.
263
f9579b99
TT
2642014-06-12 Tom Tromey <tromey@redhat.com>
265
266 * gdb.base/completion.exp: Don't use directory name in test.
267
3657956b
GB
2682014-06-09 Gary Benson <gbenson@redhat.com>
269
270 * gdb.base/sigall.c [Functions to send signals]: Reorder to
271 separate the always-available ANSI-standard signals from the
272 signals that require checking.
273 (main): Likewise.
274 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
275 Likewise.
276 (main): Likewise.
277
4186eb54
KS
2782014-06-07 Keith Seitz <keiths@redhat.com>
279
280 Revert:
281 PR c++/16253
282 * gdb.cp/var-tag.cc: New file.
283 * gdb.cp/var-tag.exp: New file.
284 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
285 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
286 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
287 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
288
25326a28 2892014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
290
291 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
292
829155c9
PA
2932014-06-06 Pedro Alves <palves@redhat.com>
294
295 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
296 in target debug output instead of looking at RSP packets,
297 disabling the test on any target that uses hardware stepping.
298 Update comments.
299
61c8d22e
PA
3002014-06-06 Pedro Alves <palves@redhat.com>
301
302 * gdb.base/break-unload-file.exp: Fix typo.
303
d9a47287
YQ
3042014-06-06 Yao Qi <yao@codesourcery.com>
305
306 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
307 from "jit_function" to "^jit_function".
308
e5e01dbf
YQ
3092014-06-06 Yao Qi <yao@codesourcery.com>
310
311 * gdb.base/async.c (foo): Add one statement.
312 * gdb.base/async.exp: Get the next instruction address and
313 match the output of "nexti" by instruction address. Match
314 the hex address in the output of "finish".
315
73ba372c
GB
3162014-06-06 Gary Benson <gbenson@redhat.com>
317
318 * gdb.base/call-signals.c: Remove preprocessor conditionals
319 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
320 SIGSEGV and SIGTERM.
321 * gdb.base/sigall.c: Likewise.
322 * gdb.base/unwindonsignal.c: Likewise.
323 * gdb.reverse/sigall-reverse.c: Likewise.
324
831517df
YQ
3252014-06-06 Yao Qi <yao@codesourcery.com>
326
327 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
328 readable, skip the test.
329
b8b91e98
YQ
3302014-06-06 Yao Qi <yao@codesourcery.com>
331
332 * gdb.threads/staticthreads.c (thread_function): Move the line
333 setting breakpoint on forward.
334 * gdb.threads/staticthreads.exp: Update comments.
335
fb934770
LC
3362014-06-05 Ludovic Courtès <ludo@gnu.org>
337
338 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
339 "history-append! type error".
340
6ef284bd
SM
3412014-06-05 Simon Marchi <simon.marchi@ericsson.com>
342
343 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
344 erroneous dprintf expected input.
345
a872e241
DE
3462014-06-04 Doug Evans <xdje42@gmail.com>
347
348 * gdb.guile/scm-generics.exp: Delete.
349
16f691fb
DE
3502014-06-04 Doug Evans <xdje42@gmail.com>
351
352 * gdb.guile/scm-breakpoint.exp: Update.
353 Add tests for breakpoint registration.
354
012370f6
TT
3552014-06-04 Tom Tromey <tromey@redhat.com>
356
357 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
358 VLA-in-union.
359 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
360 inner_vla_struct, vla_union types. Initialize objects of those
361 types and compute their sizes.
362
9f5a4cef
HZ
3632014-06-04 Nathan Sidwell <nathan@codesourcery.com>
364 Hui Zhu <hui@codesourcery.com>
365
366 * gdb.base/fileio.exp: Add test for shell not available as well as
367 available.
368 * gdb.base/fileio.c (test_system): Check for shell twice.
369
90a45c4d
YQ
3702014-06-04 Yao Qi <yao@codesourcery.com>
371
372 * gdb.base/auto-connect-native-target.exp: Remove redundant
373 space from the regexp pattern.
374
70017e41
YQ
3752014-06-04 Yao Qi <yao@codesourcery.com>
376
377 * gdb.base/default.exp: Replace "child" with "native" in
378 regexp pattern.
379
883964a7
SC
3802014-06-03 Siva Chandra Reddy <sivachandra@google.com>
381
382 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
383 * gdb.python/py-xmethods.exp: New tests to test xmethods.
384 * gdb.python/py-xmethods.py: Python script supporting the
385 new testcase and tests.
386
ef370185
JB
3872014-06-03 Joel Brobecker <brobecker@adacore.com>
388 Pedro Alves <palves@redhat.com>
389
390 PR breakpoints/17000
391 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
392 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
393
1e2ccb61
BM
3942014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
395
396 * gdb.base/subst.exp: Add tests to verify partial path matching
397 output.
398
c6ec5ab2
PA
3992014-06-03 Pedro Alves <palves@redhat.com>
400
401 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
402 target that doesn't use software single-stepping.
403
835c559f
PA
4042014-06-03 Pedro Alves <palves@redhat.com>
405
406 PR breakpoints/17000
407 * gdb.base/sss-bp-on-user-bp-2.c: New file.
408 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
409
06eb1586
DE
4102014-06-02 Doug Evans <xdje42@gmail.com>
411
412 * gdb.guile/scm-parameter.exp: New file.
413
e698b8c4
DE
4142014-06-02 Doug Evans <xdje42@gmail.com>
415
416 * gdb.guile/scm-cmd.c: New file.
417 * gdb.guile/scm-cmd.exp: New file.
418
ded03782
DE
4192014-06-02 Doug Evans <xdje42@gmail.com>
420
421 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
422 pretty-printer lookup.
423 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
424 (make-pp_s-printer): Call it.
425 (make-pretty-printer-from-dict): New function.
426 (lookup-pretty-printer-maker-from-dict): New function.
427 (*pretty-printer*): Simplify.
428 (make-objfile-pp_s-printer): New function.
429 (install-objfile-pretty-printers!): New function.
430 (make-progspace-pp_s-printer): New function.
431 (install-progspace-pretty-printers!): New function.
432 * gdb.guile/scm-progspace.c: New file.
433 * gdb.guile/scm-progspace.exp: New file.
434
41fac0cf
PA
4352014-06-02 Pedro Alves <palves@redhat.com>
436
437 * gdb.base/dprintf-bp-same-addr.c: New file.
438 * gdb.base/dprintf-bp-same-addr.exp: New file.
439
96ae5695
EBM
4402014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
441
442 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
443 * gdb.arch/powerpc-power.s: Likewise.
444
da02b3a8
JB
4452014-06-02 Joel Brobecker <brobecker@adacore.com>
446
447 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
448
c72b2e7b
YQ
4492014-06-01 Yao Qi <yao@codesourcery.com>
450
451 * gdb.base/watchpoint.exp (test_watch_location): Check null
452 pointer can be dereferenced. If not, do the test, otherwise
453 skip it.
454
53e8a631
AB
4552014-05-30 Andrew Burgess <aburgess@broadcom.com>
456
457 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
458 results.
459 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
460
938f0e2f
AB
4612014-05-30 Andrew Burgess <aburgess@broadcom.com>
462
463 * gdb.arch/amd64-invalid-stack-middle.S: New file.
464 * gdb.arch/amd64-invalid-stack-middle.c: New file.
465 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
466 * gdb.arch/amd64-invalid-stack-top.c: New file.
467 * gdb.arch/amd64-invalid-stack-top.exp: New file.
468
9ba6657a
PA
4692014-05-30 Pedro Alves <palves@redhat.com>
470
471 PR breakpoints/17000
472 * gdb.base/sss-bp-on-user-bp.c: New file.
473 * gdb.base/sss-bp-on-user-bp.exp: New file.
474
522c09bf
DB
4752014-05-30 David Blaikie <dblaikie@gmail.com>
476
477 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
478 gnu_inline semantics via attribute.
479 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
480 source explicitly specifies the required semantics.
481
bf4ef81e
MR
4822014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
483
484 * gdb.reverse/sigall-reverse.exp: Fix a typo.
485
329ea579
PA
4862014-05-29 Pedro Alves <palves@redhat.com>
487 Tom Tromey <tromey@redhat.com>
488
489 * gdb.base/async-shell.exp: Don't enable target-async.
490 * gdb.base/async.exp
491 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
492 parameter. Adjust.
493 (top level): Don't test with "target-async".
494 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
495 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
496 * gdb.base/inferior-died.exp: Don't enable target-async.
497 * gdb.base/interrupt-noterm.exp: Likewise.
498 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
499 * gdb.mi/mi-nonstop-exit.exp: Likewise.
500 * gdb.mi/mi-nonstop.exp: Likewise.
501 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
502 * gdb.mi/mi-nsintrall.exp: Likewise.
503 * gdb.mi/mi-nsmoribund.exp: Likewise.
504 * gdb.mi/mi-nsthrexec.exp: Likewise.
505 * gdb.mi/mi-watch-nonstop.exp: Likewise.
506 * gdb.multi/watchpoint-multi.exp: Adjust comment.
507 * gdb.python/py-evsignal.exp: Don't enable target-async.
508 * gdb.python/py-evthreads.exp: Likewise.
509 * gdb.python/py-prompt.exp: Likewise.
510 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
511 * gdb.server/solib-list.exp: Don't enable target-async.
512 * gdb.threads/thread-specific-bp.exp: Likewise.
513 * lib/mi-support.exp: Adjust to use mi-async.
514
fd664c91
PA
5152014-05-29 Pedro Alves <palves@redhat.com>
516
517 PR gdb/13860
518 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
519 reason, even in sync mode.
520
251bde03
PA
5212014-05-29 Pedro Alves <palves@redhat.com>
522 Hui Zhu <hui@codesourcery.com>
523
524 PR PR15693
525 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
526 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
527 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
528 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
529
7f3c0343
JB
5302014-05-28 Joel Brobecker <brobecker@adacore.com>
531
532 * config/monitor.exp (gdb_target_monitor): Replace use of
533 "set remotebaud" by "set serial baud".
534
b2715b27
AW
5352014-05-26 Andy Wingo <wingo@igalia.com>
536
537 * gdb.guile/scm-breakpoint.exp:
538 * gdb.guile/scm-gsmob.exp: Update to use plain old object
539 properties instead of gdb-object-properties.
540
498a4489
YQ
5412014-05-26 Yao Qi <yao@codesourcery.com>
542
543 * gdb.server/no-thread-db.exp: Specify source file name
544 explicitly when setting a breakpoint.
545
589fdceb
MM
5462014-05-23 Markus Metzger <markus.t.metzger@intel.com>
547
548 * gdb.btrace/vdso.c: New.
549 * gdb.btrace/vdso.exp: New.
550
e9089e05
MM
5512014-05-23 Markus Metzger <markus.t.metzger@intel.com>
552
553 * gdb.base/gcore.exp (capture_command_output): Move ...
554 * lib/gdb.exp (capture_command_output): ... here.
555
67b5c0c1
MM
5562014-05-23 Markus Metzger <markus.t.metzger@intel.com>
557
558 * gdb.btrace/data.exp: Test memory access during btrace replay.
559
a2199296
SM
5602014-05-22 Simon Marchi <simon.marchi@ericsson.com>
561
562 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
563
17b2616c
PA
5642014-05-21 Pedro Alves <palves@redhat.com>
565
566 PR gdb/13860
567 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
568 (top level): Test that output related to execution commands is
569 sent to the console with CLI commands, but not with MI commands.
570 Test that breakpoint events are always mirrored to the console.
571 Also expect the new source line to be output after a "next" in
572 async mode too. Make it a pass/fail test.
573 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
574 output.
575 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
576
5166082f
PA
5772014-05-21 Pedro Alves <palves@redhat.com>
578
579 * gdb.base/list.exp (build_pattern, test_list): New procedures.
580 Use them to test variations of "list" after reaching a breakpoint.
581 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
582 Test "list" with listsize 10 after reaching a breakpoint.
583 * gdb.python/python.exp (decode_line current location line
584 number): Adjust expected line number.
585
2f25d70f
SM
5862014-05-21 Simon Marchi <simon.marchi@ericsson.com>
587
588 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
589 behavior for $args, pass it directly to "run".
590
ff604a67
MR
5912014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
592
593 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
594 30000 to 65536.
595
6a3cb8e8
PA
5962014-05-21 Pedro Alves <palves@redhat.com>
597
598 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
599 auto-connect-native-target off".
600 * gdb.base/auto-connect-native-target.c: New file.
601 * gdb.base/auto-connect-native-target.exp: New file.
602
4ebfc96e
PA
6032014-05-21 Pedro Alves <palves@redhat.com>
604
605 * gdb.base/default.exp: Test "target native" instead of "target
606 child".
607
36d46afb
MW
6082014-05-21 Mark Wielaard <mjw@redhat.com>
609
610 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
611
5876f503
JK
6122014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
613
614 Fix TLS access for -static -pthread.
615 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
616 <HAVE_TLS> (thread_function, main): Initialize it.
617 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
618 Add clean_restart.
619 <$have_tls != "">: Check TLSVAR.
620
0256a6ac
PA
6212014-05-21 Pedro Alves <palves@redhat.com>
622
623 * gdb.base/dcache-line-read-error.c: New.
624 * gdb.base/dcache-line-read-error.exp: New.
625
936d2992
PA
6262014-05-20 Pedro Alves <palves@redhat.com>
627
628 * gdb.base/compare-sections.c: New file.
629 * gdb.base/compare-sections.exp: New file.
630
802e8e6d
PA
6312014-05-20 Pedro Alves <palves@redhat.com>
632
633 * gdb.base/break-idempotent.c: New file.
634 * gdb.base/break-idempotent.exp: New file.
635
e59fa00f
MM
6362014-05-20 Markus Metzger <markus.t.metzger@intel.com>
637
638 * gdb.btrace/nohist.exp: New.
639
8b696e31
YQ
6402014-05-20 Yao Qi <yao@codesourcery.com>
641
642 * lib/gdb.exp (gdb_init): Set timeout if test file is under
643 gdb.reverse directory and gdb_reverse_timeout exists in board
644 setting.
645 * README: Document gdb_reverse_timeout.
646
73c9764f
YQ
6472014-05-20 Yao Qi <yao@codesourcery.com>
648
649 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
650 'test_file_name'. Treat args as a string instead of a list.
651 (gdb_init): Rename argument 'args' by 'test_file_name'.
652
f1f4348a
JK
6532014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
654
655 * gdb.arch/powerpc-power.exp: New file.
656 * gdb.arch/powerpc-power.s: New file.
657
0dbe70ce
DE
6582014-05-16 Doug Evans <dje@google.com>
659
660 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
661 * gdb.base/completion.exp: Check that all expected files exist
662 before doing file completion.
0dbe70ce 663
8d551b02
DE
6642014-05-16 Doug Evans <dje@google.com>
665
666 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
667 Update.
668 (do_syscall_tests_without_xml): Update.
669
73eb7709
PA
6702014-05-16 Pedro Alves <palves@redhat.com>
671
672 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
673 instead of "unknown output after running".
674
3fae92fc
YQ
6752014-05-16 Yao Qi <yao@codesourcery.com>
676
677 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
678 file1.txt from host at the end.
679 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
680
c2b2ccc5
DE
6812014-05-15 Doug Evans <dje@google.com>
682
683 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
684 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
685 loading file. Add test for TU lookup.
686
8c217a4b
SM
6872014-05-15 Simon Marchi <simon.marchi@ericsson.com>
688
689 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
690 calling "-exec-arguments" or "set args" before running the
691 inferior.
692
3deb39c6
SM
6932014-05-15 Simon Marchi <simon.marchi@ericsson.com>
694
695 * lib/mi-support.exp (mi_expect_stop): Expect message for
696 inferiors that exit with non-zero exit code.
697
71a79f8c
YQ
6982014-05-14 Yao Qi <yao@codesourcery.com>
699
700 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
701 match absolute path on remote host.
702 (test_file_list_exec_source_files): Remove "/" from the
703 pattern.
704
f23fcd46
YQ
7052014-05-14 Yao Qi <yao@codesourcery.com>
706
707 * boards/local-remote-host-notty.exp (${board}_file): New
708 proc.
709
9404b58f
KM
7102014-05-07 Kyle McMartin <kyle@redhat.com>
711
712 Pushed by Joel Brobecker <brobecker@adacore.com>.
713 * gdb.arch/aarch64-atomic-inst.c: New file.
714 * gdb.arch/aarch64-atomic-inst.exp: New file.
715
5e45f04c
YQ
7162014-05-07 Yao Qi <yao@codesourcery.com>
717
718 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
719 in current context" too.
720
c888a17d
KS
7212014-05-05 Keith Seitz <keiths@redhat.com>
722
723 * gdb.linespec/ls-dollar.exp: Add test for linespec
724 file:convenience_variable.
725
290a839c
YQ
7262014-05-05 Yao Qi <yao@codesourcery.com>
727
728 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
729 traceframes into tfile and ctf trace files. Read data from
730 trace file and test collected data.
731 (gdb_collect_locals_test): Likewise.
732 (gdb_unavailable_registers_test): Likewise.
733 (gdb_unavailable_floats): Likewise.
734 (gdb_collect_globals_test): Likewise.
735 (top-level): Append "ctf" to trace_file_targets if GDB
736 supports.
737
b5262cd0
YQ
7382014-05-05 Yao Qi <yao@codesourcery.com>
739
740 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
741 code to ...
742 (gdb_collect_args_test_1): ... it. New proc.
743 (gdb_collect_locals_test): Move some code to ...
744 (gdb_collect_locals_test_1): ... it. New proc.
745 (gdb_unavailable_registers_test): Move some code to ...
746 (gdb_unavailable_registers_test_1): ... it. New proc.
747 (gdb_unavailable_floats): Move some code to ...
748 (gdb_unavailable_floats_1): ... it. New proc.
749
30a1e6cc
SDJ
7502014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
751
752 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
753 probes to test for bitness recognition.
754 * gdb.arch/amd64-stap-optional-prefix.exp
755 (test_probe_value_without_reg): New procedure.
756 Add code to test for different kinds of bitness.
757
f33da99a
SDJ
7582014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
759
760 PR breakpoints/16889
761 * gdb.arch/amd64-stap-optional-prefix.S: New file.
762 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
763
5b80f00d
PA
7642014-05-01 Pedro Alves <palves@redhat.com>
765
766 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
767 gdb_file_cmd if no file is specified.
768 * boards/native-extended-gdbserver.exp (gdb_load): Use the
769 last_loaded_file to set the remote exec-file.
770
f8c2a73c
PA
7712014-05-01 Pedro Alves <palves@redhat.com>
772
773 * boards/local-remote-host.exp: New file.
774
be6e8ac7
PA
7752014-05-01 Pedro Alves <palves@redhat.com>
776
777 * boards/local-remote-host.exp: Rename to ...
778 * boards/local-remote-host-notty.exp: ... this.
779
cac0dc8f
JB
7802014-04-28 Joel Brobecker <brobecker@adacore.com>
781
782 * gdb.ada/dyn_arrayidx: New testcase.
783
9730e6cc
YQ
7842014-04-26 Yao Qi <yao@codesourcery.com>
785
786 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
787 and compute the length of function main. Save it in
788 $main_length.
789 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
790 (top-level): Use gdb_compile to compile objects into
791 executable and restart GDB. Remove invocation to
792 prepare_for_testing.
793
7ae1a6a6
PA
7942014-04-25 Simon Marchi <simon.marchi@ericsson.com>
795 Pedro Alves <palves@redhat.com>
796
797 PR server/16255
798 * gdb.multi/multi-attach.c: New file.
799 * gdb.multi/multi-attach.exp: New file.
800
4082afcc
PA
8012014-04-25 Pedro Alves <palves@redhat.com>
802
803 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
804 user.
805 (top level): Test that "set remote conditional-breakpoints-packet
806 off" works as intended.
807 * gdb.base/dprintf.exp: Test that "set remote
808 breakpoint-commands-packet off" works as intended.
809 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
810 New function.
811 (top level): Call it.
812 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
813 remote fast-tracepoints-packet off" works as intended.
814 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
815 * lib/gdb.exp (gdb_is_target_remote): ... here.
816
2abc3f8d
DB
8172014-04-24 David Blaikie <dblaikie@gmail.com>
818
819 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
820 ensure clang would not discard them.
821 * gdb.base/gdbvars.c: Ditto.
822 * gdb.base/memattr.c: Ditto.
823 * gdb.base/whatis.c: Ditto.
824 * gdb.python/py-prettyprint.c: Ditto.
825 * gdb.trace/actions.c: Ditto.
826 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
827 ensure clang would not discard it.
828
bfd39632
DB
8292014-04-24 David Blaikie <dblaikie@gmail.com>
830
831 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
832 clang to emit the full definition of type required by the test
833 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
834
22842ff6
DB
8352014-04-24 David Blaikie <dblaikie@gmail.com>
836
837 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
838 coax Clang into emitting the definition of the type.
839 * gdb.cp/pr10728-x.h (y): Ditto.
840 * gdb.cp/pr10728-y.cc (y): Ditto.
841
c2e827ad
DB
8422014-04-24 David Blaikie <dblaikie@gmail.com>
843
844 * gdb.base/label.exp: XFAIL label related tests under Clang.
845 * gdb.cp/cplabel.exp: Ditto.
846 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
847 under Clang those using labels.
848
4c2d33e7
YQ
8492014-04-25 Yao Qi <yao@codesourcery.com>
850
851 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
852 double_label.
853 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
854 partial_label and double_label.
855
56083b99
DB
8562014-04-24 David Blaikie <dblaikie@gmail.com>
857
858 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
859
25d4e99d
DB
8602014-04-24 David Blaikie <dblaikie@gmail.com>
861
862 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
863 of the function to work across GCC and Clang.
864 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
865 pointer types (const void ** const V void **).
866
01f9f808
MS
8672014-04-24 Michael Sturm <michael.sturm@mintel.com>
868 Walfred Tedeschi <walfred.tedeschi@intel.com>
869
870 * Makefile.in (EXECUTABLES): Added i386-avx512.
871 * gdb.arch/i386-avx512.c: New file.
872 * gdb.arch/i386-avx512.exp: Likewise.
873
4b48d439
KS
8742014-04-23 Keith Seitz <keiths@redhat.com>
875
876 * lib/mi-support.exp (mi_list_breakpoints): Delete.
877 (mi_make_breakpoint_table): New procedure.
878 (mi_create_breakpoint): Use mi_make_breakpoint
879 and return the result.
880 (mi_make_breakpoint): New procedure.
881 (mi_build_kv_pairs): New procedure.
882
883 * gdb.mi/mi-break.exp: Remove unused globals,
884 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
885 All callers updated.
886 * gdb.mi/mi-dprintf.exp: Use variable to track command
887 number.
888 Update all callers of mi_create_breakpoint and use
889 mi_make_breakpoint_table.
890 Remove any unused global variables.
891 * gdb.mi/mi-nonstop.exp: Likewise.
892 * gdb.mi/mi-nsintrall.exp: Likewise.
893 * gdb.mi/mi-nsmoribund.exp: Likewise.
894 * gdb.mi/mi-nsthrexec.exp: Likewise.
895 * gdb.mi/mi-reverse.exp: Likewise.
896 * gdb.mi/mi-simplerun.exp: Likewise.
897 * gdb.mi/mi-stepn.exp: Likewise.
898 * gdb.mi/mi-syn-frame.exp: Likewise.
899 * gdb.mi/mi-until.exp: Likewise.
900 * gdb.mi/mi-var-cp.exp: Likewise.
901 * gdb.mi/mi-var-display.exp: Likewise.
902 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
903 * gdb.mi/mi2-var-child.exp: Likewise.
904 * gdb.mi/mi-vla-c99.exp: Likewise.
905 * lib/mi-support.exp: Likewise.
906
907 From Ian Lance Taylor <iant@cygnus.com>:
908 * lib/gdb.exp (parse_args): New procedure.
909
08351840
PA
9102014-04-23 Pedro Alves <palves@redhat.com>
911
912 * gdb.base/break-unload-file.c: New file.
913 * gdb.base/break-unload-file.exp: New file.
914 * gdb.base/sym-file-lib.c (baz): New function.
915 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
916 field.
917 (load): Store the segment's mapped size.
918 (unload): New function.
919 (unload_shlib): New function.
920 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
921 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
922 set a breakpoint at baz, and call it.
923 * gdb.base/sym-file.exp: New tests for stale breakpoint
924 instructions.
925
076855f9
PA
9262014-04-23 Pedro Alves <palves@redhat.com>
927
928 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
929 * gdb.base/hbreak-in-shr-unsupported.c: New file.
930 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
931 * gdb.base/hbreak-unmapped.c: New file.
932 * gdb.base/hbreak-unmapped.exp: New file.
933 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
934 * lib/gdb.exp (gdb_is_target_remote): ... here.
935
483805cf
PA
9362014-04-22 Pedro Alves <palves@redhat.com>
937
938 * gdb.base/consecutive-step-over.c: New file.
939 * gdb.base/consecutive-step-over.exp: New file.
940
06d97543
PA
9412014-04-22 Pedro Alves <palves@redhat.com>
942
943 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
944 instead of send_gdb/gdb_expect.
945
b4429ea2
YQ
9462014-04-22 Yao Qi <yao@codesourcery.com>
947
948 * lib/trace-support.exp (generate_tracefile): New procedure.
949 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
950 return 0.
951 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
952 if generate_tracefile returns 1.
953
51d48146
PA
9542014-04-18 Tom Tromey <palves@redhat.com>
955 Pedro alves <tromey@redhat.com>
956
957 PR backtrace/15558
958 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
959 with a backtrace limit.
960 * gdb.python/py-frame-inline.exp: Test running to an inline
961 function with a backtrace limit, and printing the newest frame.
962 * gdb.python/py-frame-inline.c (main): Call f.
963
bd1dce5f
MS
9642014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
965
966 * gdb.java/jnpe.exp: Drop srcdir from untested path.
967
40d1a503
MS
9682014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
969
970 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
971 Drop prefix from unsupported source file path.
972
389b98f7
YQ
9732014-04-17 Yao Qi <yao@codesourcery.com>
974
975 * lib/gdb.exp (with_target_charset): New proc.
976 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
977 with_target_charset.
978 (test_print_strings): Likewise.
979 (test_repeat_bytes): Likewise.
980 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
981 for some tests.
982
22869d73
KS
9832014-04-16 Keith Seitz <keiths@redhat.com>
984
985 PR gdb/15827
986 * gdb.dwarf2/corrupt.c: New file.
987 * gdb.dwarf2/corrupt.exp: New file.
988
c4f87ca6
KS
9892014-04-16 Keith Seitz <keiths@redhat.com>
990
991 PR c++/16597
992 * gdb.cp/namelessclass.cc: New file.
993 * gdb.cp/namelessclass.exp: New file.
994 * gdb.cp/namelessclass.S: New file.
995
ab19de87
DE
9962014-04-16 Doug Evans <dje@google.com>
997
998 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
999 Add comment.
1000 (gdbserver_default_get_comm_port): New function.
1001 (gdbserver_start): Check if board file provided
1002 "gdbserver,get_comm_port" and use it if so.
1003 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
1004 (gdb,socketport): Set to "stdio".
1005 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
1006 (stdio_gdbserver_template): Delete.
1007 (${board}_get_remote_address): Update.
1008 (${board}_build_remote_cmd): Delete.
1009 (${board}_get_comm_port): New function.
1010 (${board}_spawn): Update.
1011 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
1012 Delete.
1013 (${board}_get_remote_address): Update.
1014 (${board}_get_comm_port): New function.
1015
fc98a809
AB
10162014-04-16 Andrew Burgess <aburgess@broadcom.com>
1017
1018 * gdb.base/memattr.exp: Improve regexps to handle memory regions
1019 appearing in any order.
1020
87fd9e6e
DE
10212014-04-15 Doug Evans <dje@google.com>
1022
1023 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
1024 uninitialized value of "description".
1025
099fc3ea
KS
10262014-04-15 Keith Seitz <keiths@redhat.com>
1027
1028 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
1029 Remove unused globals.
1030 (test_running_the_program): Likewise.
1031 (test_controlled_execution): Likewise.
1032 (test_controlling_breakpoints): Likewise.
1033 (test_program_termination): Likewise.
1034
5da151d4
KS
10352014-04-15 Keith Seitz <keiths@redhat.com>
1036
1037 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
1038 unused globals.
1039 (test_rbreak_creation_and_listing): Likewise.
1040 (test_ignore_count): Likewise.
1041 (test_error): Likewise.
1042
35e5d2f0
PA
10432014-04-15 Pedro Alves <palves@redhat.com>
1044
1045 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
1046 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
1047 sym-file-loader.c.
1048 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1049 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1050 to sym-file-loader.c.
1051 (struct library): Forward declare.
1052 (load_shlib, lookup_function): Change prototypes.
1053 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1054 (translate_offset): Remove declarations.
1055 (get_text_addr): New declaration.
1056 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
1057 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
1058 sym-file-loader.h.
1059 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1060 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1061 here from sym-file-loader.h.
1062 (struct library): New structure.
1063 (load_shlib, lookup_function): Change prototypes and adjust to
1064 work with a struct library.
1065 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1066 (translate_offset): Make static.
1067 (get_text_addr): New function.
1068 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
1069
eb4c1710
PA
10702014-04-15 Pedro Alves <palves@redhat.com>
1071
1072 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
1073
2d1baf52
PA
10742014-04-15 Pedro Alves <palves@redhat.com>
1075
1076 * gdb.base/sym-file-loader.c: Include <limits.h>.
1077 (SELF_LINK): New define.
1078 (get_origin): New function.
1079 (load_shlib): Use it.
1080 * gdb.base/sym-file.exp: Don't early return if the target is
1081 remote. Use runto_main, and issue fail is that fails. Use
1082 gdb_load_shlibs.
1083 (shlib_name): Delete.
1084 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
1085
7dd6df01
PA
10862014-04-15 Pedro Alves <palves@redhat.com>
1087
1088 * gdb.base/sym-file.exp: Remove regex characters from test
1089 message. Don't refer to breakpoint numbers in test messages.
1090
b50c8614
KS
10912014-04-14 Keith Seitz <keiths@redhat.com>
1092
1093 PR c++/16253
1094 * gdb.cp/var-tag.cc: New file.
1095 * gdb.cp/var-tag.exp: New file.
1096 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1097 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1098 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1099 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1100
3d567982
TT
11012014-04-14 Tom Tromey <tromey@redhat.com>
1102
1103 * gdb.cp/classes.exp (test_enums): Handle underlying type.
1104 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
1105 type.
1106 * gdb.cp/enum-class.exp: New file.
1107 * gdb.cp/enum-class.cc: New file.
1108
0626fc76
TT
11092014-04-14 Tom Tromey <tromey@redhat.com>
1110
1111 * gdb.dwarf2/enum-type.exp: New file.
1112
dca325b3
SA
11132014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1114
1115 * gdb.mi/mi-vla-c99.exp: New file.
1116 * gdb.mi/vla.c: New file.
1117
5854b38a
SA
11182014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1119
1120 * gdb.base/vla-datatypes.c: New file.
1121 * gdb.base/vla-datatypes.exp: New file.
1122
463bb957
SA
11232014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1124
1125 * gdb.base/vla-ptr.c: New file.
1126 * gdb.base/vla-ptr.exp: New file.
1127
3dd170be
SA
11282014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1129
1130 * gdb.dwarf2/count.exp: New file.
1131
5ecaaa66
SA
11322014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1133
1134 * gdb.base/vla-sideeffect.c: New file.
1135 * gdb.base/vla-sideeffect.exp: New file.
1136
41f1ada5
DB
11372014-04-14 David Blaikie <dblaikie@gmail.com>
1138
1139 * gdb.mi/non-stop.c: Add return value for non-void function return
1140 statement.
1141 * gdb.threads/staticthreads.c: Ditto.
1142
0be03e84
DE
11432014-04-12 Siva Chandra Reddy <sivachandra@google.com>
1144 Doug Evans <xdje42@gmail.com>
1145
1146 * gdb.guile/scm-value.c: Improve test case.
1147 * gdb.guile/scm-value.exp: Add new test.
1148
f180a1fb
DB
11492014-04-11 David Blaikie <dblaikie@gmail.com>
1150
1151 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
1152 override Clang's default.
1153
6b662e19
JB
11542014-04-11 Joel Brobecker <brobecker@adacore.com>
1155
1156 Revert the following changes (regressions):
1157
1158 * gdb.base/vla-sideeffect.c: New file.
1159 * gdb.base/vla-sideeffect.exp: New file.
1160
1161 * gdb.dwarf2/count.exp: New file.
1162
1163 * gdb.base/vla-multi.c: New file.
1164 * gdb.base/vla-multi.exp: New file.
1165
1166 * gdb.base/vla-ptr.c: New file.
1167 * gdb.base/vla-ptr.exp: New file.
1168
1169 * gdb.base/vla-datatypes.c: New file.
1170 * gdb.base/vla-datatypes.exp: New file.
1171
1172 * gdb.mi/mi-vla-c99.exp: New file.
1173 * gdb.mi/vla.c: New file.
1174
245a5f0b
KS
11752014-04-11 Keith Seitz <keiths@redhat.com>
1176
1177 PR c++/16675
1178 * gdb.cp/cpsizeof.exp: New file.
1179 * gdb.cp/cpsizeof.cc: New file.
1180
58a84dcf
SA
11812014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1182
191a8a90
JB
1183 * gdb.mi/mi-vla-c99.exp: New file.
1184 * gdb.mi/vla.c: New file.
58a84dcf 1185
c8655f75
SA
11862014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1187
1188 * gdb.base/vla-datatypes.c: New file.
1189 * gdb.base/vla-datatypes.exp: New file.
1190
024e13b4
SA
11912014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1192
1193 * gdb.base/vla-ptr.c: New file.
1194 * gdb.base/vla-ptr.exp: New file.
1195
1a237e0e
SA
11962014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1197
1198 * gdb.base/vla-multi.c: New file.
1199 * gdb.base/vla-multi.exp: New file.
1200
504f3432
SA
12012014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1202
1203 * gdb.dwarf2/count.exp: New file.
1204
3bce8237
SA
12052014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1206
191a8a90
JB
1207 * gdb.base/vla-sideeffect.c: New file.
1208 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 1209
322f9c21
YQ
12102014-04-11 Yao Qi <yao@codesourcery.com>
1211
1212 * gdb.base/completion.exp: Check file exists before running tests
1213 on file completion.
1214
d708bcd1
PA
12152014-04-10 Pedro Alves <palves@redhat.com>
1216
1217 * gdb.base/cond-eval-mode.c: New file.
1218 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
1219 prepare_for_testing to build the new file. Check result of
1220 runto_main.
1221 (test_break, test_watch): New procedures.
1222 (top level): Use them.
1223
ae1d2761
PM
12242014-04-08 Pierre Muller <muller@sourceware.org>
1225
1226 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
1227 Ctrl-V use for mingw hosts.
1228
7af389b8
SC
12292014-04-07 Siva Chandra Reddy <sivachandra@google.com>
1230
1231 * gdb.python/py-value.c: Improve test case.
1232 * gdb.python/py-value.exp: Add new test.
1233
5e703181
DE
12342014-04-07 David Blaikie <dblaikie@gmail.com>
1235
1236 * lib/compiler.c: Identify the clang compiler.
1237 * lib/compiler.cc: Ditto.
1238
9810b410
YQ
12392014-04-03 Yao Qi <yao@codesourcery.com>
1240
1241 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
1242
98d1b8dc
AB
12432014-04-01 Anton Blanchard <anton@samba.org>
1244
1245 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
1246 messages unique.
1247
3114cea1
AB
12482014-04-01 Anton Blanchard <anton@samba.org>
1249
1250 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
1251 prepare_for_testing.
1252
62f7182c
AB
12532014-04-01 Anton Blanchard <anton@samba.org>
1254
1255 * gdb.arch/ppc64-atomic-inst.c: Remove.
1256 * gdb.arch/ppc64-atomic-inst.S: New file.
1257 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
1258
770e7fc7
DE
12592014-03-31 Doug Evans <dje@google.com>
1260
1261 * gdb.base/print-symbol-loading-lib.c: New file.
1262 * gdb.base/print-symbol-loading-main.c: New file.
1263 * gdb.base/print-symbol-loading.exp: New file.
1264
46e2bafa
YQ
12652014-03-31 Yao Qi <yao@codesourcery.com>
1266
1267 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
1268
8776cfe9
JB
12692014-03-28 Joel Brobecker <brobecker@adacore.com>
1270
1271 * gdb.ada/mi_dyn_arr: New testcase.
1272
5d1ef361
DE
12732014-03-27 Doug Evans <dje@google.com>
1274
1275 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
1276
b5bee914
YQ
12772014-03-27 Yao Qi <yao@codesourcery.com>
1278
1279 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
1280 if target is nios2-*-*.
1281
0d4d0e77
YQ
12822014-03-26 Yao Qi <yao@codesourcery.com>
1283
1284 * lib/gdb.exp (readline_is_used): New proc.
1285 * gdb.base/completion.exp: Move tests on command complete up.
1286 Skip the rest of tests if readline is not used.
1287 * gdb.ada/complete.exp: Skp the test if readline is not
1288 used.
1289 * gdb.base/filesym.exp: Likewise.
1290 * gdb.base/macscp.exp: Likewise.
1291 * gdb.base/readline-ask.exp: Likewise.
1292 * gdb.base/readline.exp: Likewise.
1293 * gdb.python/py-cmd.exp: Likewise.
1294 * gdb.trace/tfile.exp: Likewise.
1295
29361eee
YQ
12962014-03-26 Yao Qi <yao@codesourcery.com>
1297
1298 * gdb.base/macscp.exp: Fix code format issues.
1299
bc9a5525
UW
13002014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
1301
1302 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
1303 * gdb.asm/powerpc64le.inc: New file.
1304
d3839ede
PA
13052014-03-25 Pedro Alves <palves@redhat.com>
1306 Doug Evans <dje@google.com>
1307
1308 * gdb.base/source-execution.c: New file.
1309 * gdb.base/source-execution.exp: New file.
1310 * gdb.base/source-execution.gdb: New file.
1311
01672a57
DE
13122014-03-24 Doug Evans <dje@google.com>
1313
1314 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
1315 using fission.
1316
88bbeca9
HZ
13172014-03-24 Hui Zhu <hui@codesourcery.com>
1318 Pedro Alves <palves@redhat.com>
1319
1320 PR breakpoints/16101
1321 * gdb.base/dprintf.exp: Use unsupported rather than changing the
1322 test pass/fail messages. Detect missing support for dprintf when
1323 breakpoints are actually inserted.
1324 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
1325 breakpoints are actually inserted.
1326 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
1327 fails.
1328
d2348791
JK
13292014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1330
1331 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
1332
feef67ab
DE
13332014-03-22 Doug Evans <xdje42@gmail.com>
1334
1335 * gdb.python/python.exp (python not supported): Verify multi-line
1336 python command issues an error.
25d743f9 1337 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 1338 guile command issues an error.
feef67ab 1339
ecebef6a
MR
13402014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
1341
1342 * gdb.threads/thread-specific.exp: Handle the lack of usable
1343 $this_breakpoint and $this_thread.
1344
ccdd1909
HZ
13452014-03-21 Hui Zhu <hui@codesourcery.com>
1346
1347 * gdb.base/attach.exp (do_command_attach_tests): New.
1348
beb460e8
PA
13492014-03-20 Tom Tromey <tromey@redhat.com>
1350 Pedro Alves <palves@redhat.com>
1351
1352 PR cli/15718
1353 * gdb.base/condbreak-call-false.c: New file.
1354 * gdb.base/condbreak-call-false.exp: New file.
1355
40acf43a
PA
13562014-03-20 Pedro Alves <palves@redhat.com>
1357
1358 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
1359 Delete.
1360 (block_signals, unblock_signals): Delete.
1361 (child_function_2, main): Remove references to deleted variable
1362 and functions.
1363
9f5e1e02
PA
13642014-03-20 Pedro Alves <palves@redhat.com>
1365
1366 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
1367 Use pthread_kill to signal thread 2.
1368 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1369 Adjust to make the test send itself a signal rather than using the
1370 host's "kill" command.
1371
99619bea
PA
13722014-03-20 Pedro Alves <palves@redhat.com>
1373
1374 * gdb.threads/multiple-step-overs.c: New file.
1375 * gdb.threads/multiple-step-overs.exp: New file.
1376 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1377 Adjust expected infrun debug output.
1378
2adfaa28
PA
13792014-03-20 Pedro Alves <palves@redhat.com>
1380
1381 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
1382 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
1383
31e77af2
PA
13842014-03-20 Pedro Alves <palves@redhat.com>
1385
1386 PR breakpoints/7143
1387 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
1388 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
1389 of gdb_test_multiple.
1390 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
1391 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
1392
b9f437de
PA
13932014-03-20 Pedro Alves <palves@redhat.com>
1394
1395 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
1396 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
1397
05adc73e
PA
13982014-03-19 Pedro Alves <palves@redhat.com>
1399
1400 * gdb.base/async.exp: Remove early return.
1401
6048b950
PA
14022014-03-19 Pedro Alves <palves@redhat.com>
1403
1404 * gdb.base/async.exp (step& tests): Pass explicit test messages.
1405
8bcfb00a
PA
14062014-03-19 Pedro Alves <palves@redhat.com>
1407
1408 * gdb.base/async.exp (test_background): Expect \r\n after
1409 "completed." in the fail pattern.
1410
884e37dc
PA
14112014-03-19 Pedro Alves <palves@redhat.com>
1412
1413 * gdb.base/async.exp (test_background): New procedure.
1414 Use it for all background execution command tests.
1415
148e57e2
PA
14162014-03-19 Pedro Alves <palves@redhat.com>
1417
1418 * gdb.base/async.exp: Use prepare_for_testing.
1419
f48088c7
PA
14202014-03-19 Pedro Alves <palves@redhat.com>
1421
1422 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
1423 the same line.
1424
e2f6c966
PA
14252014-03-19 Pedro Alves <palves@redhat.com>
1426
1427 * gdb.base/async.c (main): Add "jump here" and "until here" line
1428 marker comments.
1429 * gdb.base/async.exp (jump_here): New global.
1430 (jump& test): Use it.
1431 (until_here): New global.
1432 (until& test): Use it.
1433
c30568d4
PA
14342014-03-19 Pedro Alves <palves@redhat.com>
1435
1436 * gdb.base/async.exp: Don't frob gdb_protocol.
1437
0172b6a7
DE
14382014-03-18 Doug Evans <xdje42@gmail.com>
1439
1440 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
1441 Fix spelling of exec-done-display.
1442
06c868a8
JK
14432014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1444
1445 PR gdb/15358
1446 * gdb.base/gdb-sigterm.c: New file.
1447 * gdb.base/gdb-sigterm.exp: New file.
1448
0c7e1a46
PA
14492014-03-18 Pedro Alves <palves@redhat.com>
1450
1451 PR gdb/13860
1452 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
1453 * lib/mi-support.exp (mi_expect_stop): Add special handling for
1454 solib-event.
1455
f7c77d93
JB
14562014-03-17 Joel Brobecker <brobecker@adacore.com>
1457
1458 * gdb.ada/pckd_arr_ren: New testcase.
1459
5a1e8c7a
DE
14602014-03-13 Doug Evans <xdje42@gmail.com>
1461
1462 PR guile/16612
1463 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
1464 collect after discarding symbols.
1465
350e1a76
DE
14662014-03-13 Ludovic Courtès <ludo@gnu.org>
1467 Doug Evans <xdje42@gmail.com>
1468
1469 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
1470 to history survives a gc.
1471
a69900ae
PA
14722014-03-13 Pedro Alves <palves@redhat.com>
1473
1474 * gdb.base/default.exp: Don't test "target procfs".
1475
5db9f0bd
PA
14762014-03-13 Pedro Alves <palves@redhat.com>
1477
1478 * gdb.base/default.exp: Update "target child" and "target procfs"
1479 tests to not expect "Unix".
1480
b3ccfe11
TT
14812014-03-12 Tom Tromey <tromey@redhat.com>
1482
1483 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
1484 New procs. Add target-async tests.
1485 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
1486 Add target-async tests.
1487
646f4417
AA
14882014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1489
1490 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
1491 'func_start' and 'func_end' for the beginning and end of the
1492 function code, respectively.
1493 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
1494 'func_end' instead of 'func' and 'main'.
1495
288c211f
AA
14962014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1497
1498 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
1499 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
1500 generate the debug info assembler source.
1501
e0c0f156
AA
15022014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1503
1504 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
1505 * gdb.dwarf2/arr-subrange.exp: Likewise.
1506 * gdb.dwarf2/dwz.exp: Likewise.
1507 * gdb.dwarf2/method-ptr.exp: Likewise.
1508 * gdb.dwarf2/missing-sig-type.exp: Likewise.
1509 * gdb.dwarf2/subrange.exp: Likewise.
1510 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
1511 * gdb.dwarf2/implptrpiece.exp: Likewise.
1512 * gdb.dwarf2/nostaticblock.exp: Likewise.
1513
0e5c4555
AA
15142014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1515
1516 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
1517 directory to absolute path name arguments.
1518
5ec18f2b
JG
15192014-03-10 Joel Brobecker <brobecker@adacore.com>
1520
1521 * gdb.ada/tagged_access: New testcase.
1522
847fc4f2
MM
15232014-03-07 Markus Metzger <markus.t.metzger@intel.com>
1524
1525 * gdb.btrace/data.exp: Update expected output.
1526
cc3da688
YQ
15272014-03-06 Yao Qi <yao@codesourcery.com>
1528
1529 * gdb.trace/pr16508.exp: New file.
1530
0f26cec1
PA
15312014-03-05 Pedro Alves <palves@redhat.com>
1532
1533 PR gdb/16575
1534 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
1535 procedure.
1536 (top level): Adjust to use it. Add tests that exercise breakpoint
1537 interaction with the code-cache.
1538
7a5a839f
LC
15392014-02-26 Ludovic Courtès <ludo@gnu.org>
1540
1541 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
1542 test for 'history-append!'.
1543
31aa7e4e
JB
15442014-02-26 Joel Brobecker <brobecker@adacore.com>
1545
1546 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
1547 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
1548 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
1549 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
1550 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
1551 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
1552
1b588015
JB
15532014-02-26 Joel Brobecker <brobecker@adacore.com>
1554
1555 * testsuite/gdb.python/py-pp-re-notag.c: New file.
1556 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
1557 * testsuite/gdb.python/py-pp-re-notag.p: New file.
1558
55426c9d
JB
15592014-02-26 Joel Brobecker <brobecker@adacore.com>
1560
1561 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
1562
dc53a7ad
JB
15632014-02-26 Joel Brobecker <brobecker@adacore.com>
1564
1565 * gdb.dwarf2/arr-stride.c: New file.
1566 * gdb.dwarf2/arr-stride.exp: New file.
1567
12ab52e9
PA
15682014-02-26 Pedro Alves <palves@redhat.com>
1569
1570 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
1571 that won't ever trigger. Make sure that GDB reports the correct
1572 breakpoint that caused the stop.
1573
849c862e
JK
15742014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1575
1576 PR gdb/16626
1577 * gdb.base/auto-load-script: New file.
1578 * gdb.base/auto-load.c: New file.
1579 * gdb.base/auto-load.exp: New file.
1580
71b7d793
JK
1581 PR gdb/16626
1582 * gdb.base/auto-load.exp: Fix out-of-srctree run.
1583
e2f0d509
JK
15842014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1585
1586 Fix dw2-icycle.exp -fsanitize=address GDB crash.
1587 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
1588
50cc37c8
DE
15892014-02-24 Doug Evans <dje@google.com>
1590
1591 * lib/gdb.exp (run_on_host): Log error output if program fails.
1592
ea4758f2
PA
15932014-02-21 Pedro Alves <palves@redhat.com>
1594
1595 * gdb.threads/step-after-sr-lock.c: Rename to ...
1596 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
1597 * gdb.threads/step-after-sr-lock.exp: Rename to ...
1598 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1599 ... this.
1600
d7b30f67
SDJ
16012014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
1602
1603 PR tdep/16397
1604 * gdb.arch/amd64-stap-special-operands.exp: New file.
1605 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
1606 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
1607 * gdb.arch/amd64-stap-triplet.S: Likewise.
1608 * gdb.arch/amd64-stap-triplet.c: Likewise.
1609
83deb43f
JB
16102014-02-20 Joel Brobecker <brobecker@adacore.com>
1611
1612 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
1613 in .section pseudo-op.
1614
adde2bff
DE
16152014-02-20 lin zuojian <manjian2006@gmail.com>
1616 Joel Brobecker <brobecker@adacore.com>
1617 Doug Evans <xdje42@gmail.com>
1618
1619 PR symtab/16581
1620 * gdb.dwarf2/dw2-icycle.S: New file.
1621 * gdb.dwarf2/dw2-icycle.c: New file.
1622 * gdb.dwarf2/dw2-icycle.exp: New file.
1623
f7bd0f78
SC
16242014-02-19 Siva Chandra Reddy <sivachandra@google.com>
1625
1626 * gdb.python/py-value-cc.cc: Improve test case to enable testing
1627 operations on gdb.Value objects.
1628 * gdb.python/py-value-cc.exp: Add new test to test operations on
1629 gdb.Value objects.
1630
c17ef0d5
DE
16312014-02-18 Doug Evans <dje@google.com>
1632
1633 * Makefile.in (TESTS): New variable.
1634 (expanded_tests, expanded_tests_or_none): New variables
1635 (check-single): Pass $(expanded_tests_or_none) to runtest.
1636 (check-parallel): Only run tests in $(TESTS) if non-empty.
1637 (check/no-matching-tests-found): New rule.
1638 * README: Document TESTS makefile variable.
1639
5dd3176f
DE
16402014-02-18 Doug Evans <dje@google.com>
1641
1642 * Makefile.in (check-parallel): rm -rf outputs temp.
1643
0b10be4f
JK
16442014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1645
1646 Fix "ERROR: no fileid for" in the testsuite.
1647 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
1648
85f224e7
DE
16492014-02-12 Doug Evans <dje@google.com>
1650
1651 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
1652 (MISCELLANEOUS): New variable.
1653 (clean): rm -rf $(MISCELLANEOUS).
1654 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
1655 dwp live in the same directory as symlinks, with each symlink pointed
1656 to a differently named file in a different directory.
1657
149b30ff
DE
16582014-02-11 Doug Evans <dje@google.com>
1659
1660 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
1661 of Tcl file commands.
1662
1dfdac32
MK
16632014-02-10 Mark Kettenis <kettenis@gnu.org>
1664
1665 * gdb.threads/step-after-sr-lock.exp: Avoid executing
1666 "kill -SIGUSR1 -1".
1667
aa4fb036
JB
16682014-02-10 Joel Brobecker <brobecker@adacore.com>
1669
1670 * gdb.ada/tick_length_array_enum_idx: New testcase.
1671
ed3ef339
DE
16722014-02-10 Doug Evans <xdje42@gmail.com>
1673
1674 * configure.ac (AC_OUTPUT): Add gdb.guile.
1675 * configure: Regenerate.
1676 * lib/gdb-guile.exp: New file.
1677 * lib/gdb.exp (get_target_charset): New function.
1678 * gdb.base/help.exp: Update expected output from "apropos apropos".
1679 * gdb.guile/Makefile.in: New file.
1680 * gdb.guile/guile.exp: New file.
1681 * gdb.guile/scm-arch.c: New file.
1682 * gdb.guile/scm-arch.exp: New file.
1683 * gdb.guile/scm-block.c: New file.
1684 * gdb.guile/scm-block.exp: New file.
1685 * gdb.guile/scm-breakpoint.c: New file.
1686 * gdb.guile/scm-breakpoint.exp: New file.
1687 * gdb.guile/scm-disasm.c: New file.
1688 * gdb.guile/scm-disasm.exp: New file.
1689 * gdb.guile/scm-equal.c: New file.
1690 * gdb.guile/scm-equal.exp: New file.
1691 * gdb.guile/scm-error.exp: New file.
1692 * gdb.guile/scm-error.scm: New file.
1693 * gdb.guile/scm-frame-args.c: New file.
1694 * gdb.guile/scm-frame-args.exp: New file.
1695 * gdb.guile/scm-frame-args.scm: New file.
1696 * gdb.guile/scm-frame-inline.c: New file.
1697 * gdb.guile/scm-frame-inline.exp: New file.
1698 * gdb.guile/scm-frame.c: New file.
1699 * gdb.guile/scm-frame.exp: New file.
1700 * gdb.guile/scm-generics.exp: New file.
1701 * gdb.guile/scm-gsmob.exp: New file.
1702 * gdb.guile/scm-iterator.c: New file.
1703 * gdb.guile/scm-iterator.exp: New file.
1704 * gdb.guile/scm-math.c: New file.
1705 * gdb.guile/scm-math.exp: New file.
1706 * gdb.guile/scm-objfile-script-gdb.in: New file.
1707 * gdb.guile/scm-objfile-script.c: New file.
1708 * gdb.guile/scm-objfile-script.exp: New file.
1709 * gdb.guile/scm-objfile.c: New file.
1710 * gdb.guile/scm-objfile.exp: New file.
1711 * gdb.guile/scm-ports.exp: New file.
1712 * gdb.guile/scm-pretty-print.c: New file.
1713 * gdb.guile/scm-pretty-print.exp: New file.
1714 * gdb.guile/scm-pretty-print.scm: New file.
1715 * gdb.guile/scm-section-script.c: New file.
1716 * gdb.guile/scm-section-script.exp: New file.
1717 * gdb.guile/scm-section-script.scm: New file.
1718 * gdb.guile/scm-symbol.c: New file.
1719 * gdb.guile/scm-symbol.exp: New file.
1720 * gdb.guile/scm-symtab-2.c: New file.
1721 * gdb.guile/scm-symtab.c: New file.
1722 * gdb.guile/scm-symtab.exp: New file.
1723 * gdb.guile/scm-type.c: New file.
1724 * gdb.guile/scm-type.exp: New file.
1725 * gdb.guile/scm-value-cc.cc: New file.
1726 * gdb.guile/scm-value-cc.exp: New file.
1727 * gdb.guile/scm-value.c: New file.
1728 * gdb.guile/scm-value.exp: New file.
1729 * gdb.guile/source2.scm: New file.
1730 * gdb.guile/types-module.cc: New file.
1731 * gdb.guile/types-module.exp: New file.
1732
7026a7c1
YQ
17332014-02-10 Yao Qi <yao@codesourcery.com>
1734
1735 PR testsuite/16543
1736 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
1737 * configure: Regenerated.
1738 * Makefile.in: New file.
1739
6c466447
AS
17402014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1741
1742 * gdb.python/py-framefilter.exp: Fix typo.
1743
6e854735
YQ
17442014-02-08 Yao Qi <yao@codesourcery.com>
1745
1746 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
1747 that no =breakpoint-modified is emitted when breakpoints are
1748 modified through MI commands.
1749
d137e6dc
PA
17502014-02-07 Pedro Alves <pedro@codesourcery.com>
1751 Pedro Alves <palves@redhat.com>
1752
1753 * gdb.threads/step-after-sr-lock.c: New file.
1754 * gdb.threads/step-after-sr-lock.exp: New file.
1755
b5ee5a50
PA
17562014-02-07 Pedro Alves <palves@redhat.com>
1757
1758 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
1759
3c77faf3
JK
17602014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1761
1762 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
1763 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
1764
6dddc817
DE
17652014-02-06 Doug Evans <xdje42@gmail.com>
1766
1767 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
1768 output.
1769
1770 * gdb.gdb/python-interrupts.exp: New file.
1771
de7b2893
YQ
17722014-02-05 Yao Qi <yao@codesourcery.com>
1773
1774 * gdb.trace/report.exp (use_collected_data): Test the output
1775 of "info threads" and "info inferiors".
1776
66d032ac
YQ
17772014-02-05 Yao Qi <yao@codesourcery.com>
1778
1779 Revert this patch:
1780
1781 2013-05-24 Yao Qi <yao@codesourcery.com>
1782
1783 * gdb.trace/tfile.exp: Test inferior and thread.
1784
591a12a1
UW
17852014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1786
1787 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
1788 on a function.
1789 * gdb.base/step-bt.c: Call hello via function pointer to make
1790 sure its first instruction is executed on powerpc64le-linux.
1791
0ff3e01f
UW
17922014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1793
1794 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
1795
084ee545
UW
17962014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1797
1798 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
1799 of the test patterns for use on little-endian systems.
1800
6ed14ff3
UW
18012014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1802
1803 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
1804 (decimal_vector): Fix for little-endian.
1805
401e27fd
JM
18062014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
1807
1808 * gdb.arch/sparc-sysstep.exp: New file.
1809 * gdb.arch/sparc-sysstep.c: Likewise.
1810
1811 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
1812
8b924729
EBM
18132014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1814
1815 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
1816
fb151210
JB
18172014-01-23 Tom Tromey <tromey@redhat.com>
1818
1819 * gdb.ada/array_char_idx: New testcase.
1820
0740f8d8
TT
18212014-01-23 Tom Tromey <tromey@redhat.com>
1822
1823 PR python/16487:
1824 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
1825 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
1826 classes.
1827
21909fa1
TT
18282014-01-23 Tom Tromey <tromey@redhat.com>
1829
1830 PR python/16491:
1831 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
1832 string from an inferior frame.
1833 * gdb.python/py-framefilter-mi.exp: Update.
1834
87ce2a04
DE
18352014-01-22 Doug Evans <dje@google.com>
1836
1837 * gdb.server/server-mon.exp: Add tests for "set debug-format".
1838
237b092b
AA
18392014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1840
1841 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
1842
d674a709
AA
18432014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1844
1845 * gdb.trace/entry-values.exp: Remove excess space character from
1846 regex patterns. Handle s390 call instruction.
1847
20fa3390
AA
18482014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1849
1850 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
1851 define "*_start" label. Make "name" static.
1852 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
1853 ${name} by references to ${name}_start.
1854
78466714
AA
18552014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1856
1857 * gdb.base/info-macros.exp: Remove "debug" from the compile
1858 options.
1859
ec9f644a
IB
18602014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1861
1862 * gdb.dlang/demangle.exp: New file.
1863
94b1b47e
IB
18642014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1865
1866 * gdb.dlang/primitive-types.exp: New file.
1867
7f420862
IB
18682014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1869
1870 * configure.ac: Create gdb.dlang/Makefile.
1871 * configure: Regenerate.
1872 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
1873 * gdb.dlang/Makefile.in: New file.
1874 * lib/d-support.exp: New file.
1875 * lib/gdb.exp (skip_d_tests): New proc.
1876
52834460
MM
18772014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1878
1879 * gdb.btrace/delta.exp: Check reverse stepi.
1880 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
1881 * gdb.btrace/finish.exp: New.
1882 * gdb.btrace/next.exp: New.
1883 * gdb.btrace/nexti.exp: New.
1884 * gdb.btrace/record_goto.c: Add comments.
1885 * gdb.btrace/step.exp: New.
1886 * gdb.btrace/stepi.exp: New.
1887 * gdb.btrace/multi-thread-step.c: New.
1888 * gdb.btrace/multi-thread-step.exp: New.
1889 * gdb.btrace/rn-dl-bind.c: New.
1890 * gdb.btrace/rn-dl-bind.exp: New.
1891 * gdb.btrace/data.c: New.
1892 * gdb.btrace/data.exp: New.
1893 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
1894
6e07b1d2
MM
18952014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1896
1897 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
1898 * gdb.btrace/exception.exp: Update.
1899 * gdb.btrace/instruction_history.exp: Update.
1900 * gdb.btrace/record_goto.exp: Update.
1901 * gdb.btrace/tailcall.exp: Update.
1902 * gdb.btrace/unknown_functions.exp: Update.
1903 * gdb.btrace/delta.exp: New.
1904
0b722aec
MM
19052014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1906
1907 * gdb.btrace/record_goto.exp: Add backtrace test.
1908 * gdb.btrace/tailcall.exp: Add backtrace test.
1909
066ce621
MM
19102014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1911
1912 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
1913 * gdb.btrace/record_goto.c: New.
1914 * gdb.btrace/record_goto.exp: New.
1915 * gdb.btrace/x86-record_goto.S: New.
1916
0688d04e
MM
19172014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1918
1919 * gdb.btrace/function_call_history.exp: Update tests.
1920 * gdb.btrace/instruction_history.exp: Update tests.
1921
8710b709
MM
19222014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1923
1924 * gdb.btrace/function_call_history.exp: Fix expected field
1925 order for "record function-call-history".
1926 Add new tests for "record function-call-history /c".
1927 * gdb.btrace/exception.cc: New.
1928 * gdb.btrace/exception.exp: New.
1929 * gdb.btrace/tailcall.exp: New.
1930 * gdb.btrace/x86-tailcall.S: New.
1931 * gdb.btrace/x86-tailcall.c: New.
1932 * gdb.btrace/unknown_functions.c: New.
1933 * gdb.btrace/unknown_functions.exp: New.
1934 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
1935
5de9129b
MM
19362014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1937
1938 * gdb.btrace/instruction_history.exp: Update.
1939 * gdb.btrace/function_call_history.exp: Update.
1940
23a7fe75
MM
19412014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1942
1943 * gdb.btrace/function_call_history.exp: Fix expected function
1944 trace.
1945 * gdb.btrace/instruction_history.exp: Initialize traced.
1946 Remove traced_functions.
1947
724c7dd8
MM
19482014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1949
1950 * gdb.btrace/function_call_history.exp: Update
1951 * gdb.btrace/instruction_history.exp: Update.
1952
6d78d93b
MM
19532014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1954
1955 * gdb.btrace/enable.exp: Update expected text.
1956
93a360cc
OJ
19572014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
1958
1959 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
1960 bytes.
1961
3772b53f
MR
19622014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
1963
1964 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
1965
596662fa
OJ
19662014-01-15 Omair Javaid <omair.javaid@linaro.org>
1967
1968 * lib/gdb.exp (supports_process_record): Return true for
1969 arm*-linux*. (supports_reverse): Likewise.
1970
b5b08fb4
SC
19712014-01-13 Siva Chandra Reddy <sivachandra@google.com>
1972
1973 PR python/15464
1974 PR python/16113
1975 * gdb.python/py-type.c: Enhance test case.
1976 * gdb.python/py-value-cc.cc: Likewise
1977 * gdb.python/py-type.exp: Add new tests.
1978 * gdb.python/py-value-cc.exp: Likewise
1979
52d7fb13
AA
19802014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
1981 Pedro Alves <palves@redhat.com>
1982
1983 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
1984 Make "name" extern.
1985 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
1986 references to ${name}_start by references to ${name}.
1987
a2cd8cfe
JB
19882014-01-10 Joel Brobecker <brobecker@adacore.com>
1989
1990 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
1991
4e23fced
JB
19922014-01-10 Joel Brobecker <brobecker@adacore.com>
1993
1994 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
1995
c6a9e42c
PA
19962014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
1997 Pedro Alves <palves@redhat.com>
1998
1999 * gdb.mi/mi-info-os.exp: Connect to the target with
2000 mi_gdb_target_load.
2001
b7ea362b
PA
20022014-01-08 Pedro Alves <palves@redhat.com>
2003
2004 * gdb.threads/reconnect-signal.c: New file.
2005 * gdb.threads/reconnect-signal.exp: New file.
2006
5e3f4fab
EBM
20072014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2008
2009 * gdb.base/source-dir.exp: New file.
2010
79301218
JB
20112014-01-07 Joel Brobecker <brobecker@adacore.com>
2012
2013 * gdb.ada/mi_interface: New testcase.
2014
8e355c5d
JB
20152014-01-07 Joel Brobecker <brobecker@adacore.com>
2016
2017 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
2018 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
2019 gdb.ada/pp-rec-component/pck.ads: New files.
2020
c0d48811
JB
20212014-01-07 Joel Brobecker <brobecker@adacore.com>
2022
2023 * gdb.python/py-pp-integral.c: New file.
2024 * gdb.python/py-pp-integral.py: New file.
2025 * gdb.python/py-pp-integral.exp: New file.
2026
17b609c3 2027For older changes see ChangeLog-1993-2013.
c906108c 2028\f
8d8cb839
EZ
2029;; Local Variables:
2030;; mode: change-log
2031;; left-margin: 8
2032;; fill-column: 74
2033;; version-control: never
2034;; End:
902f2ccb 2035
14f8b115 2036 Copyright 2014 Free Software Foundation, Inc.
902f2ccb
MC
2037 Copying and distribution of this file, with or without modification,
2038 are permitted provided the copyright notice and this notice are preserved.
This page took 2.222381 seconds and 4 git commands to generate.