Add test to make sure GDB knows which "kind" of watchpoint the target has
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
7280ceea
PA
12014-09-16 Pedro Alves <palves@redhat.com>
2
3 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
4 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5
428b16bd
PA
62014-09-16 Pedro Alves <palves@redhat.com>
7
8 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
9 files.
10 * gdb.base/a2-run.exp: Remove all code guarded by istarget
11 "*-*-vxworks*" throughout.
12 * gdb.base/break.exp: Likewise.
13 * gdb.base/default.exp: Likewise.
14 * gdb.base/scope.exp: Likewise.
15 * gdb.base/sepdebug.exp: Likewise.
16 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
17 throughout.
18 * gdb.base/run.c: Likewise.
19 * gdb.base/sepdebug.c: Likewise.
20 * gdb.hp/gdb.aCC/run.c: Likewise.
21 * gdb.reverse/until-reverse.c: Likewise.
22 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
23
666d413c
YQ
242014-09-16 Yao Qi <yao@codesourcery.com>
25
26 * boards/local-remote-host-native.exp: New file.
27
57cbd724
DE
282014-09-14 Doug Evans <xdje42@gmail.com>
29
30 * gdb.threads/queue-signal.c (thread_count): New variable.
31 (thread_count_mutex, thread_count_condvar): New variables.
32 (incr_thread_count, wait_all_threads_running): New functions.
33 (main): Wait for all threads to be in their thread functions.
34
81219e53
DE
352014-09-13 Doug Evans <xdje42@gmail.com>
36
37 * gdb.threads/queue-signal.c: New file.
38 * gdb.threads/queue-signal.exp: New file.
39
3714cea7
DE
402014-09-13 Doug Evans <xdje42@gmail.com>
41
42 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
43 be consistent with what default_gdb_init uses.
44 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
45 the plain text of the prompt. Add some logging printfs.
46 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
47
fa43b1d7
PA
482014-09-12 Pedro Alves <palves@redhat.com>
49
50 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
51 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
52 * gdb.arch/i386-size-overlap.exp: Likewise.
53 * gdb.arch/i386-size.exp: Likewise.
54 * gdb.arch/i386-unwind.exp: Likewise.
55 * gdb.base/a2-run.exp: Likewise.
56 * gdb.base/break.exp: Likewise.
57 * gdb.base/charset.exp: Likewise.
58 * gdb.base/chng-syms.exp: Likewise.
59 * gdb.base/commands.exp: Likewise.
60 * gdb.base/dbx.exp: Likewise.
61 * gdb.base/find.exp: Likewise.
62 * gdb.base/funcargs.exp: Likewise.
63 * gdb.base/jit-simple.exp: Likewise.
64 * gdb.base/reread.exp: Likewise.
65 * gdb.base/sepdebug.exp: Likewise.
66 * gdb.base/step-bt.exp: Likewise.
67 * gdb.cp/mb-inline.exp: Likewise.
68 * gdb.cp/mb-templates.exp: Likewise.
69 * gdb.objc/basicclass.exp: Likewise.
70 * gdb.threads/killed.exp: Likewise.
71
9d9bf2df
EBM
722014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
73
74 PR tdep/17379
75 * gdb.arch/powerpc-stackless.S: New file.
76 * gdb.arch/powerpc-stackless.exp: New file.
77
1cf2f1b0
JK
782014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
79
80 * gdb.base/attach.c: Include unistd.h.
81 (main): Call alarm. Add label postloop.
82 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
83 gdb_breakpoint, gdb_continue_to_breakpoint.
84 (test_command_line_attach_run): Kill ${testpid} in one exit path.
85
98880d46
PA
862014-09-11 Pedro Alves <palves@redhat.com>
87
88 PR gdb/17347
89 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
90 * gdb.base/attach.exp (test_command_line_attach_run): New
91 procedure.
92 (top level): Call it.
93
4c92ff2c
PA
942014-09-11 Pedro Alves <palves@redhat.com>
95
96 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
97 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
98 (do_command_attach_tests): Use spawn_wait_for_attach.
99 * gdb.base/solib-overlap.exp: Likewise.
100 * gdb.multi/multi-attach.exp: Likewise.
101 * gdb.python/py-prompt.exp: Likewise.
102 * gdb.python/py-sync-interp.exp: Likewise.
103 * gdb.server/ext-attach.exp: Likewise.
104
3adc1a7d
GKB
1052014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
106
107 * gdb.fortran/array-element.exp: Remove unexpected "continue"
108 command in testcase. Simplify testcase.
109
96334934
JB
1102014-09-10 Joel Brobecker <brobecker@adacore.com>
111
112 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
113
eb479039
JB
1142014-09-10 Joel Brobecker <brobecker@adacore.com>
115
116 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
117
deede10c
JB
1182014-09-10 Joel Brobecker <brobecker@adacore.com>
119
120 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
121
7828a5f5
JB
1222014-09-10 Joel Brobecker <brobecker@adacore.com>
123
124 * gdb.dwarf2/dynarr-ptr.c: New file.
125 * gdb.dwarf2/dynarr-ptr.exp: New file.
126
33aeebcf
MR
1272014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
128
129 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
130 of 30 rather than hardcoding 120 for a slow test case. Take the
131 `gdb,timeout' target setting into account for this calculation.
132 Don't extend the timeout for the test cases that don't need it.
133
7b415901
MR
1342014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
135
136 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
137 a factor of 2 for a slow test case. Take the `gdb,timeout'
138 target setting into account for this calculation.
139 * gdb.reverse/until-precsave.exp: Increase the timeout by
140 a factor of 15 and 3 respectively rather than adding 120
141 for a pair of slow test cases. Take the `gdb,timeout'
142 target setting into account for this calculation.
143
4a40f85a
MR
1442014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
145
146 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
147 timeout, don't pass one down to gdb_expect.
148 (gdb_expect): Rework timeout selection.
149
09635af7
MR
1502014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
151
152 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
153 exception on timeout.
154 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
155 (gdbserver_start_extended): Catch any `gdbserver_start' error
156 exceptions.
157 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
158 * lib/mi-support.exp (mi_gdb_target_load): Catch any
159 `gdbserver_gdb_load' error exceptions.
160
2bdd10b7
MR
1612014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
162
163 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
164 120 on waiting for the TCP socket to open.
165
316935f0
DE
1662014-09-09 Doug Evans <xdje42@gmail.com>
167
168 * gdb.base/default.exp (show_conv_list): Add _caller_is,
169 _caller_matches, _any_caller_is, _any_caller_matches.
170
83740597
DE
1712014-09-09 Doug Evans <xdje42@gmail.com>
172
173 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
174
4c122fc3
YQ
1752014-09-09 Yao Qi <yao@codesourcery.com>
176
177 * gdb.mi/mi-var-display.exp: Set print symbol off.
178
a9f116cb
GKB
1792014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
180
181 PR gdb/17035
182 * gdb.base/commands.exp: Add tests to verify user-defined
183 commands with empty bodies.
184 * gdb.python/py-cmd.exp: Test that we don't show user-defined
185 python commands in `show user command`.
186 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
187 scheme commands in `show user command`.
188
c75bd3a2
JK
1892014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
190
191 PR python/17355
192 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
193 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
194 * gdb.python/py-framefilter-invalidarg.exp: New file.
195 * gdb.python/py-framefilter-invalidarg.py: New file.
196
faa42425
DE
1972014-09-06 Doug Evans <xdje42@gmail.com>
198
199 PR 15276
200 * gdb.python/py-caller-is.c: New file.
201 * gdb.python/py-caller-is.exp: New file.
202
474ca4f6
SDJ
2032014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
204
205 PR gdb/17235
206 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
207 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
208
eb0b0463
SDJ
2092014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
210
211 PR fortran/17237
212 * gdb.fortran/print-formatted.exp: New file.
213 * gdb.fortran/print-formatted.f90: Likewise.
214
5f3b99cf
SS
2152014-09-03 Sasha Smundak <asmundak@google.com>
216
217 * gdb.python/py-frame.exp: Test Frame.read_register.
218
7d793aa9
SDJ
2192014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
220
221 PR python/16699
222 * gdb.python/py-completion.exp: New file.
223 * gdb.python/py-completion.py: Likewise.
224
fb0576e9
DE
2252014-08-28 Doug Evans <dje@google.com>
226
227 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
228 eax,etc. are live with values set by gdb and thus the compiler can't
229 use them.
230 * gdb.arch/i386-pseudo.c (main): Ditto.
231
ee92b0dd
DE
2322014-08-27 Doug Evans <dje@google.com>
233
234 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
235
6649db35
DE
2362014-08-25 Doug Evans <dje@google.com>
237
238 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
239 (main): Ditto.
240
564b7600
DE
2412014-08-25 Doug Evans <dje@google.com>
242
243 * gdb.threads/thread-execl.exp: #include <stdio.h>.
244
3881fb67
YQ
2452014-08-24 Yao Qi <yao@codesourcery.com>
246
247 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
248 symbol off.
249 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
250
a05a36a5
DE
2512014-08-22 Doug Evans <dje@google.com>
252
253 PR 17276
254 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
255 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
256 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
257
7c343b48
YQ
2582014-08-22 Yao Qi <yao@codesourcery.com>
259
260 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
261 * gdb.python/py-finish-breakpoint2.exp: Likewise.
262 * gdb.python/python.exp: Likewise. Use .py file on the host
263 instead of the build.
264
22fd09ae
JK
2652014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
266
267 * gdb.threads/gcore-stale-thread.c: New file.
268 * gdb.threads/gcore-stale-thread.exp: New file.
269
a8454a7c
PA
2702014-08-21 Pedro Alves <palves@redhat.com>
271
272 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
273 * gdb.base/gcore-relro-pie.exp: Likewise.
274 * gdb.base/gcore-relro.exp: Likewise.
275 * gdb.base/gcore.exp: Likewise.
276 * gdb.base/print-symbol-loading.exp: Likewise.
277 * gdb.threads/gcore-thread.exp: Likewise.
278 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
279
2a31c623
PA
2802014-08-20 Pedro Alves <palves@redhat.com>
281 Jan Kratochvil <jan.kratochvil@redhat.com>
282
283 * Makefile.in (EXTRA_RULES, CC): New variables, get from
284 configure.
285 (EXPECT): Handle READ1 being set.
286 (all): Depend on EXTRA_RULES.
287 (check-read1, expect-read1, read1.so, read1): New rules.
288 * README (Testsuite Parameters): Document the READ1 make variable.
289 (Race detection): New section.
290 * configure: Regenerate.
291 * configure.ac: If build==host==target, and running under a
292 GNU/glibc system, add read1 to the extra Makefile rules.
293 (EXTRA_RULES): AC_SUBST it.
294 * lib/read1.c: New file.
295
d36430db
JB
2962014-08-20 Joel Brobecker <brobecker@adacore.com>
297
298 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
299 the handling of variables declared as a typedef to an array
300 which a DW_AT_data_location attribute.
301
9a0dc9e3
PA
3022014-08-19 Andrew Burgess <aburgess@broadcom.com>
303 Pedro Alves <palves@redhat.com>
304
305 PR symtab/14604
306 PR symtab/14605
307 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
308 gdb_test.
309
0718a8da
PA
3102014-08-19 Pedro Alves <palves@redhat.com>
311
312 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
313
13b448cd
YQ
3142014-08-19 Yao Qi <yao@codesourcery.com>
315
316 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
317 right line.
318
1cbf5077
DB
3192014-08-18 David Blaikie <dblaikie@gmail.com>
320
321 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
322
bf0fae19
JB
3232014-08-18 Joel Brobecker <brobecker@adacore.com>
324
325 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
326 attribute in array range.
327
3c8c5dcc
JB
3282014-08-18 Joel Brobecker <brobecker@adacore.com>
329
330 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
331
e66d4446
SC
3322014-08-15 Siva Chandra Reddy <sivachandra@google.com>
333
334 PR c++/17132
335 * gdb.cp/pr17132.cc: New file.
336 * gdb.cp/pr17132.exp: New file.
337
940df408
SC
3382014-08-15 Siva Chandra Reddy <sivachandra@google.com>
339
340 * gdb.python/py-xmethods.py (A_getarrayind)
341 (E_method_char_worker.__call__, E_method_int_worker.__call__):
342 Use 'print' with function call syntax.
343 (E_method_matcher.match): Fix tab vs space indentation mixup.
344
ebcc6c3a
YQ
3452014-08-15 Yao Qi <yao@codesourcery.com>
346
347 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
348 false.
349
775e0f04
YQ
3502014-08-15 Yao Qi <yao@codesourcery.com>
351
352 * gdb.cp/casts.exp: Set print symbol off.
353 * gdb.cp/class2.exp: Likewise.
354 * gdb.cp/overload.exp: Likewise.
355 * gdb.cp/templates.exp: Likewise.
356
d769e349
DE
3572014-08-11 Doug Evans <dje@google.com>
358
359 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
360 (test_load_shlib): Update.
361
20c6f1e1
YQ
3622014-08-09 Yao Qi <yao@codesourcery.com>
363
364 * gdb.base/display.exp: Invoke is_address_zero_readable.
365 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
366 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
367 * gdb.base/hbreak-unmapped.exp: Return if
368 is_address_zero_readable returns true.
369 * gdb.base/signest.exp: Likewise.
370 * gdb.base/signull.exp: Likewise.
371 * gdb.base/sigbpt.exp: Likewise.
372 * gdb.guile/scm-disasm.exp: Do the test if
373 is_address_zero_readable returns false.
374 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
375 * gdb.python/py-arch.exp: Likewise.
376 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
377 * lib/gdb.exp (is_address_zero_readable): New proc.
378
5792e8e3
YQ
3792014-08-09 Yao Qi <yao@codesourcery.com>
380
381 PR testsuite/13443
382 * gdb.mi/mi-var-display.exp: Make test messages unique.
383
3cecbbbe
TT
3842014-08-04 Tom Tromey <tromey@redhat.com>
385
386 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
387 target 0".
388
00b51ff5
TT
3892014-08-04 Tom Tromey <tromey@redhat.com>
390
391 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
392 "target_resume".
393
6908c509
JB
3942014-08-01 Joel Brobecker <brobecker@adacore.com>
395
396 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
397 inner_vla_struct_object_size.
398 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
399 as xfail.
400
cc6563d2
PA
4012014-07-30 Pedro Alves <palves@redhat.com>
402
403 * gdb.threads/signal-command-handle-nopass.exp (test): Add
404 comment.
405
7e09a223
YQ
4062014-07-29 Yao Qi <yao@codesourcery.com>
407
408 PR gdb/17206
409 * gdb.base/until-nodebug.exp: New.
410
7ebdbe92
DE
4112014-07-28 Doug Evans <xdje42@gmail.com>
412
413 PR guile/17203
414 * gdb.guile/scm-parameter.exp: Add tests for trying to create
415 previously existing parameter, and previously ambiguously spelled
416 parameter.
417
fdb1adc6
WN
4182014-07-28 Will Newton <will.newton@linaro.org>
419
420 * gdb.base/varargs.exp: Remove KFAILs for ARM.
421
186fcde0
DE
4222014-07-26 Ludovic Courtès <ludo@gnu.org>
423 Doug Evans <xdje42@gmail.com>
424
425 PR guile/17146
426 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
427
70509625
PA
4282014-07-25 Pedro Alves <palves@redhat.com>
429
430 * gdb.threads/signal-command-handle-nopass.c: New file.
431 * gdb.threads/signal-command-handle-nopass.exp: New file.
432 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
433 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
434 * gdb.threads/signal-delivered-right-thread.c: New file.
435 * gdb.threads/signal-delivered-right-thread.exp: New file.
436
c3f814a1
PA
4372014-07-25 Pedro Alves <palves@redhat.com>
438
439 * gdb.base/double-prompt-target-event-error.exp
440 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
441 match.
442 (cancel_pagination_in_target_event): Rework double prompt
443 detection.
444 * gdb.base/paginate-after-ctrl-c-running.exp
445 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
446 <return>' match.
447 * gdb.base/paginate-bg-execution.exp
448 (test_bg_execution_pagination_return)
449 (test_bg_execution_pagination_cancel): Remove '-notransfer
450 <return>' matches.
451 * gdb.base/paginate-execution-startup.exp
452 (test_fg_execution_pagination_return)
453 (test_fg_execution_pagination_cancel): Remove '-notransfer
454 <return>' matches.
455 * gdb.base/paginate-inferior-exit.exp
456 (test_paginate_inferior_exited): Remove '-notransfer <return>'
457 match.
458 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
459 * lib/gdb.exp (pagination_prompt): Run text through
460 string_to_regexp.
461 (gdb_test_multiple): Match $pagination_prompt instead of
462 "<return>".
463 (string_to_regexp): Move to lib/gdb-utils.exp.
464
e214cf6c
JK
4652014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
466
467 * gdb.arch/amd64-entry-value-paramref.S: New file.
468 * gdb.arch/amd64-entry-value-paramref.cc: New file.
469 * gdb.arch/amd64-entry-value-paramref.exp: New file.
470 * gdb.arch/amd64-optimout-repeat.S: New file.
471 * gdb.arch/amd64-optimout-repeat.c: New file.
472 * gdb.arch/amd64-optimout-repeat.exp: New file.
473
17d0c5c8
JK
4742014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
475
476 PR gdb/17170
477 * gdb.base/statistics.exp: New file.
478
b8b8facf
DE
4792014-07-17 Doug Evans <dje@google.com>
480
74b49205 481 PR gdb/17170
b8b8facf
DE
482 * gdb.base/maint.exp: Update testing of per-command stats.
483
1b5d0ab3
PA
4842014-07-16 Pedro Alves <palves@redhat.com>
485
486 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
487 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
488 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
489 (tfile_write_buf): New functions.
490 (add_memory_block): Rewrite using the above.
491 (adjust_function_address): New function.
492 (FUNCTION_ADDRESS): New macro.
493 (write_basic_trace_file): Remove short_x local, and use
494 tfile_write_16. Change type of func_addr local to unsigned long
495 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
496 here. Cast argument of add_memory_block to char pointer.
497 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
498 (main): Remove parameters.
499 * gdb.trace/tfile.exp: Remove nowarnings.
500
4d974e88
SM
5012014-07-15 Simon Marchi <simon.marchi@ericsson.com>
502
503 * gdb.base/debug-expr.exp: Test string evaluation with
504 "debug expression" on.
505
41e99568
PA
5062014-07-15 Pedro Alves <palves@redhat.com>
507
508 * gdb.base/reread.exp: Use clean_restart.
509
487d9753
PL
5102014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
511
512 * gdb.arch/avr-flash-qualifer.c: New.
513 * gdb.arch/avr-flash-qualifer.exp: New.
514
cc1c52ad
PA
5152014-07-14 Pedro Alves <palves@redhat.com>
516
517 * gdb.base/paginate-after-ctrl-c-running.c: New file.
518 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
519
1e973570
PA
5202014-07-14 Pedro Alves <palves@redhat.com>
521
522 * gdb.base/double-prompt-target-event-error.c: New file.
523 * gdb.base/double-prompt-target-event-error.exp: New file.
524
93d6eb10
PA
5252014-07-14 Pedro Alves <palves@redhat.com>
526
527 PR gdb/17072
528 * gdb.base/paginate-inferior-exit.c: New file.
529 * gdb.base/paginate-inferior-exit.exp: New file.
530
0017922d
PA
5312014-07-14 Pedro Alves <palves@redhat.com>
532
533 PR gdb/17072
534 * gdb.base/paginate-bg-execution.c: New file.
535 * gdb.base/paginate-bg-execution.exp: New file.
536
94696ad3
PA
5372014-07-14 Pedro Alves <palves@redhat.com>
538
539 PR gdb/17072
540 * gdb.base/paginate-execution-startup.c: New file.
541 * gdb.base/paginate-execution-startup.exp: New file.
542 * lib/gdb.exp (pagination_prompt): New global.
543 (default_gdb_spawn): New procedure, factored out from
544 default_gdb_spawn.
545 (default_gdb_start): Adjust to call default_gdb_spawn.
546 (gdb_spawn): New procedure.
547
bd293940
PA
5482014-07-14 Pedro Alves <palves@redhat.com>
549
550 * lib/gdb.exp (gdb_assert): New procedure.
551 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
552
c933f875
PA
5532014-07-14 Pedro Alves <palves@redhat.com>
554
555 * gdb.base/execution-termios.c: New file.
556 * gdb.base/execution-termios.exp: New file.
557
d98b7a16
TT
5582014-07-14 Tom Tromey <tromey@redhat.com>
559
560 * gdb.cp/vla-cxx.cc: New file.
561 * gdb.cp/vla-cxx.exp: New file.
562
548740d6
TT
5632014-07-14 Tom Tromey <tromey@redhat.com>
564
565 * gdb.reverse/rerun-prec.c: New file.
566 * gdb.reverse/rerun-prec.exp: New file.
567
a25eb028
MR
5682014-07-12 Maciej W. Rozycki <macro@mips.com>
569 Maciej W. Rozycki <macro@codesourcery.com>
570
571 * lib/gdb-utils.exp: New file.
572 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
573 inline `gdb_init_command' processing.
574 (gdb_start_cmd): Likewise.
575 * lib/mi-support.exp (mi_run_cmd): Likewise.
576 * README: Document `gdb_init_command' and `gdb_init_commands'.
577
218c2655
JK
5782014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
579
580 Fix false FAIL running under a very long directory name.
581 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
582 and "set print elements 10000". Twice.
583
5401fde3
YQ
5842014-07-11 Yao Qi <yao@codesourcery.com>
585
586 * gdb.base/exprs.exp: "set print symbol off".
587
e76126e8
PA
5882014-07-11 Pedro Alves <palves@redhat.com>
589
590 * gdb.threads/kill.c: New file.
591 * gdb.threads/kill.exp: New file.
592
2d6f0de6
YQ
5932014-07-10 Yao Qi <yao@codesourcery.com>
594
595 * gdb.trace/tfile.c (write_basic_trace_file)
596 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
597 address written to trace file.
598
7180e04a
PA
5992014-07-09 Pedro Alves <palves@redhat.com>
600
601 * gdb.base/attach-wait-input.exp: New file.
602 * gdb.base/attach-wait-input.c: New file.
603
9a9a7608
AB
6042014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
605
606 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
607 setting up test structures.
608 (main): Call new test function.
609 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
610 test function, continue into test function and walk test
611 structures.
612
161ac41e
YQ
6132014-07-02 Yao Qi <yao@codesourcery.com>
614
615 * gdb.trace/entry-values.c: Define labels 'foo_start' and
616 'bar_start' at the beginning of functions 'foo' and 'bar'
617 respectively.
618 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
619 instead of 'foo' and 'bar'.
620
1f267ae3
MM
6212014-07-08 Markus Metzger <markus.t.metzger@intel.com>
622
623 * gdb.btrace/segv.exp: New.
624 * gdb.btrace/segv.c: New.
625
2b239efb
LM
6262014-07-02 Luis Machado <lgustavo@codesourcery.com>
627
628 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
629 instruction.
630
cf363f18
MW
6312014-06-30 Mark Wielaard <mjw@redhat.com>
632
633 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
634 vulture, vilify, villar): New volatile array constants.
635 (vindictive, vegetation): New const volatile array constants.
636 * gdb.base/volatile.exp: Test volatile and const volatile array
637 types.
638
aebf9d24
AA
6392014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
640
641 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
642 target lacks support for awatch, rwatch, or hbreak.
643
b67a2c6f
YQ
6442014-06-27 Yao Qi <yao@codesourcery.com>
645
646 * gdb.multi/dummy-frame-restore.exp: New.
647 * gdb.multi/dummy-frame-restore.c: New.
648
aef92902
MM
6492014-06-25 Markus Metzger <markus.t.metzger@intel.com>
650
651 * gdb.btrace/gcore.exp: New.
652
8e9db26e
PA
6532014-06-23 Pedro Alves <palves@redhat.com>
654
655 * gdb.base/watchpoint-reuse-slot.c: New file.
656 * gdb.base/watchpoint-reuse-slot.exp: New file.
657
70afc5b7
SC
6582014-06-23 Siva Chandra Reddy <sivachandra@google.com>
659
660 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
661 progspace's filename in 'info', 'enable' and 'disable' command
662 tests.
663
b972bd9c
JK
6642014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
665
666 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
667 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
668 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
669
125f8a3d
GB
6702014-06-20 Gary Benson <gbenson@redhat.com>
671
672 * gdb.arch/i386-avx.exp: Fix include file location.
673 * gdb.arch/i386-sse.exp: Likewise.
674
3ed9baed
IB
6752014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
676
677 * gdb.dlang/expression.exp: New file.
678
034f788c
PA
6792014-06-19 Pedro Alves <palves@redhat.com>
680
681 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
682 out from ...
683 (top level): ... here. Iterate running tests under different
684 scheduler-locking settings.
685
45371d0c
LM
6862014-06-18 Luis Machado <lgustavo@codesourcery.com>
687
688 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
689 to DW_FORM_addr and use non-zero addresses.
690
5d376983
SC
6912014-06-18 Siva Chandra Reddy <sivachandra@google.com>
692
693 PR gdb/17017
694 * gdb.python/py-xmethods.cc: Add global function call counters and
695 increment them in their respective functions. Remove "cout"
696 statements.
697 * gdb.python/py-xmethods.exp: Make tests check the global function
698 call counters instead of depending on inferior IO.
699
a1aa2221
LM
7002014-06-18 Don Breazeal <donb@codesourcery.com>
701
702 * gdb.base/foll-fork.exp (default_fork_parent_follow):
703 Deleted procedure.
704 (explicit_fork_parent_follow): Deleted procedure.
705 (explicit_fork_child_follow): Deleted procedure.
706 (test_follow_fork): New procedure.
707 (do_fork_tests): Replace calls to deleted procedures with
708 calls to test_follow_fork and reset GDB for subsequent
709 procedure calls.
710
0fc05997
YQ
7112014-06-17 Yao Qi <yao@codesourcery.com>
712
713 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
714 CP1252.
715
70795c52
LM
7162014-06-17 Luis Machado <lgustavo@codesourcery.com>
717
718 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
719 Initialize ptr and S explicitly.
720 (skip_type_update_when_not_use_rtti_test): Likewise.
721
6be47f0c
KS
7222014-06-16 Keith Seitz <keiths@redhat.com>
723
724 PR mi/15863
725 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
726 the inferior is started.
727
d03de421
PA
7282014-06-16 Pedro Alves <palves@redhat.com>
729
730 * gdb.base/break-main-file-remove-fail.c: New file.
731 * gdb.base/break-main-file-remove-fail.exp: New file.
732 * gdb.base/break-unload-file.exp: Use build_executable instead of
733 prepare_for_testing.
734 (test_break): New parameter "initial_load". Handle it.
735 (top level): Add initial_load cmdline/file axis.
736
f9579b99
TT
7372014-06-12 Tom Tromey <tromey@redhat.com>
738
739 * gdb.base/completion.exp: Don't use directory name in test.
740
3657956b
GB
7412014-06-09 Gary Benson <gbenson@redhat.com>
742
743 * gdb.base/sigall.c [Functions to send signals]: Reorder to
744 separate the always-available ANSI-standard signals from the
745 signals that require checking.
746 (main): Likewise.
747 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
748 Likewise.
749 (main): Likewise.
750
4186eb54
KS
7512014-06-07 Keith Seitz <keiths@redhat.com>
752
753 Revert:
754 PR c++/16253
755 * gdb.cp/var-tag.cc: New file.
756 * gdb.cp/var-tag.exp: New file.
757 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
758 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
759 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
760 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
761
25326a28 7622014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
763
764 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
765
829155c9
PA
7662014-06-06 Pedro Alves <palves@redhat.com>
767
768 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
769 in target debug output instead of looking at RSP packets,
770 disabling the test on any target that uses hardware stepping.
771 Update comments.
772
61c8d22e
PA
7732014-06-06 Pedro Alves <palves@redhat.com>
774
775 * gdb.base/break-unload-file.exp: Fix typo.
776
d9a47287
YQ
7772014-06-06 Yao Qi <yao@codesourcery.com>
778
779 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
780 from "jit_function" to "^jit_function".
781
e5e01dbf
YQ
7822014-06-06 Yao Qi <yao@codesourcery.com>
783
784 * gdb.base/async.c (foo): Add one statement.
785 * gdb.base/async.exp: Get the next instruction address and
786 match the output of "nexti" by instruction address. Match
787 the hex address in the output of "finish".
788
73ba372c
GB
7892014-06-06 Gary Benson <gbenson@redhat.com>
790
791 * gdb.base/call-signals.c: Remove preprocessor conditionals
792 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
793 SIGSEGV and SIGTERM.
794 * gdb.base/sigall.c: Likewise.
795 * gdb.base/unwindonsignal.c: Likewise.
796 * gdb.reverse/sigall-reverse.c: Likewise.
797
831517df
YQ
7982014-06-06 Yao Qi <yao@codesourcery.com>
799
800 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
801 readable, skip the test.
802
b8b91e98
YQ
8032014-06-06 Yao Qi <yao@codesourcery.com>
804
805 * gdb.threads/staticthreads.c (thread_function): Move the line
806 setting breakpoint on forward.
807 * gdb.threads/staticthreads.exp: Update comments.
808
fb934770
LC
8092014-06-05 Ludovic Courtès <ludo@gnu.org>
810
811 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
812 "history-append! type error".
813
6ef284bd
SM
8142014-06-05 Simon Marchi <simon.marchi@ericsson.com>
815
816 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
817 erroneous dprintf expected input.
818
a872e241
DE
8192014-06-04 Doug Evans <xdje42@gmail.com>
820
821 * gdb.guile/scm-generics.exp: Delete.
822
16f691fb
DE
8232014-06-04 Doug Evans <xdje42@gmail.com>
824
825 * gdb.guile/scm-breakpoint.exp: Update.
826 Add tests for breakpoint registration.
827
012370f6
TT
8282014-06-04 Tom Tromey <tromey@redhat.com>
829
830 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
831 VLA-in-union.
832 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
833 inner_vla_struct, vla_union types. Initialize objects of those
834 types and compute their sizes.
835
9f5a4cef
HZ
8362014-06-04 Nathan Sidwell <nathan@codesourcery.com>
837 Hui Zhu <hui@codesourcery.com>
838
839 * gdb.base/fileio.exp: Add test for shell not available as well as
840 available.
841 * gdb.base/fileio.c (test_system): Check for shell twice.
842
90a45c4d
YQ
8432014-06-04 Yao Qi <yao@codesourcery.com>
844
845 * gdb.base/auto-connect-native-target.exp: Remove redundant
846 space from the regexp pattern.
847
70017e41
YQ
8482014-06-04 Yao Qi <yao@codesourcery.com>
849
850 * gdb.base/default.exp: Replace "child" with "native" in
851 regexp pattern.
852
883964a7
SC
8532014-06-03 Siva Chandra Reddy <sivachandra@google.com>
854
855 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
856 * gdb.python/py-xmethods.exp: New tests to test xmethods.
857 * gdb.python/py-xmethods.py: Python script supporting the
858 new testcase and tests.
859
ef370185
JB
8602014-06-03 Joel Brobecker <brobecker@adacore.com>
861 Pedro Alves <palves@redhat.com>
862
863 PR breakpoints/17000
864 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
865 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
866
1e2ccb61
BM
8672014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
868
869 * gdb.base/subst.exp: Add tests to verify partial path matching
870 output.
871
c6ec5ab2
PA
8722014-06-03 Pedro Alves <palves@redhat.com>
873
874 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
875 target that doesn't use software single-stepping.
876
835c559f
PA
8772014-06-03 Pedro Alves <palves@redhat.com>
878
879 PR breakpoints/17000
880 * gdb.base/sss-bp-on-user-bp-2.c: New file.
881 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
882
06eb1586
DE
8832014-06-02 Doug Evans <xdje42@gmail.com>
884
885 * gdb.guile/scm-parameter.exp: New file.
886
e698b8c4
DE
8872014-06-02 Doug Evans <xdje42@gmail.com>
888
889 * gdb.guile/scm-cmd.c: New file.
890 * gdb.guile/scm-cmd.exp: New file.
891
ded03782
DE
8922014-06-02 Doug Evans <xdje42@gmail.com>
893
894 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
895 pretty-printer lookup.
896 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
897 (make-pp_s-printer): Call it.
898 (make-pretty-printer-from-dict): New function.
899 (lookup-pretty-printer-maker-from-dict): New function.
900 (*pretty-printer*): Simplify.
901 (make-objfile-pp_s-printer): New function.
902 (install-objfile-pretty-printers!): New function.
903 (make-progspace-pp_s-printer): New function.
904 (install-progspace-pretty-printers!): New function.
905 * gdb.guile/scm-progspace.c: New file.
906 * gdb.guile/scm-progspace.exp: New file.
907
41fac0cf
PA
9082014-06-02 Pedro Alves <palves@redhat.com>
909
910 * gdb.base/dprintf-bp-same-addr.c: New file.
911 * gdb.base/dprintf-bp-same-addr.exp: New file.
912
96ae5695
EBM
9132014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
914
915 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
916 * gdb.arch/powerpc-power.s: Likewise.
917
da02b3a8
JB
9182014-06-02 Joel Brobecker <brobecker@adacore.com>
919
920 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
921
c72b2e7b
YQ
9222014-06-01 Yao Qi <yao@codesourcery.com>
923
924 * gdb.base/watchpoint.exp (test_watch_location): Check null
925 pointer can be dereferenced. If not, do the test, otherwise
926 skip it.
927
53e8a631
AB
9282014-05-30 Andrew Burgess <aburgess@broadcom.com>
929
930 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
931 results.
932 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
933
938f0e2f
AB
9342014-05-30 Andrew Burgess <aburgess@broadcom.com>
935
936 * gdb.arch/amd64-invalid-stack-middle.S: New file.
937 * gdb.arch/amd64-invalid-stack-middle.c: New file.
938 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
939 * gdb.arch/amd64-invalid-stack-top.c: New file.
940 * gdb.arch/amd64-invalid-stack-top.exp: New file.
941
9ba6657a
PA
9422014-05-30 Pedro Alves <palves@redhat.com>
943
944 PR breakpoints/17000
945 * gdb.base/sss-bp-on-user-bp.c: New file.
946 * gdb.base/sss-bp-on-user-bp.exp: New file.
947
522c09bf
DB
9482014-05-30 David Blaikie <dblaikie@gmail.com>
949
950 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
951 gnu_inline semantics via attribute.
952 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
953 source explicitly specifies the required semantics.
954
bf4ef81e
MR
9552014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
956
957 * gdb.reverse/sigall-reverse.exp: Fix a typo.
958
329ea579
PA
9592014-05-29 Pedro Alves <palves@redhat.com>
960 Tom Tromey <tromey@redhat.com>
961
962 * gdb.base/async-shell.exp: Don't enable target-async.
963 * gdb.base/async.exp
964 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
965 parameter. Adjust.
966 (top level): Don't test with "target-async".
967 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
968 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
969 * gdb.base/inferior-died.exp: Don't enable target-async.
970 * gdb.base/interrupt-noterm.exp: Likewise.
971 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
972 * gdb.mi/mi-nonstop-exit.exp: Likewise.
973 * gdb.mi/mi-nonstop.exp: Likewise.
974 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
975 * gdb.mi/mi-nsintrall.exp: Likewise.
976 * gdb.mi/mi-nsmoribund.exp: Likewise.
977 * gdb.mi/mi-nsthrexec.exp: Likewise.
978 * gdb.mi/mi-watch-nonstop.exp: Likewise.
979 * gdb.multi/watchpoint-multi.exp: Adjust comment.
980 * gdb.python/py-evsignal.exp: Don't enable target-async.
981 * gdb.python/py-evthreads.exp: Likewise.
982 * gdb.python/py-prompt.exp: Likewise.
983 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
984 * gdb.server/solib-list.exp: Don't enable target-async.
985 * gdb.threads/thread-specific-bp.exp: Likewise.
986 * lib/mi-support.exp: Adjust to use mi-async.
987
fd664c91
PA
9882014-05-29 Pedro Alves <palves@redhat.com>
989
990 PR gdb/13860
991 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
992 reason, even in sync mode.
993
251bde03
PA
9942014-05-29 Pedro Alves <palves@redhat.com>
995 Hui Zhu <hui@codesourcery.com>
996
997 PR PR15693
998 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
999 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1000 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1001 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1002
7f3c0343
JB
10032014-05-28 Joel Brobecker <brobecker@adacore.com>
1004
1005 * config/monitor.exp (gdb_target_monitor): Replace use of
1006 "set remotebaud" by "set serial baud".
1007
b2715b27
AW
10082014-05-26 Andy Wingo <wingo@igalia.com>
1009
1010 * gdb.guile/scm-breakpoint.exp:
1011 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1012 properties instead of gdb-object-properties.
1013
498a4489
YQ
10142014-05-26 Yao Qi <yao@codesourcery.com>
1015
1016 * gdb.server/no-thread-db.exp: Specify source file name
1017 explicitly when setting a breakpoint.
1018
589fdceb
MM
10192014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1020
1021 * gdb.btrace/vdso.c: New.
1022 * gdb.btrace/vdso.exp: New.
1023
e9089e05
MM
10242014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1025
1026 * gdb.base/gcore.exp (capture_command_output): Move ...
1027 * lib/gdb.exp (capture_command_output): ... here.
1028
67b5c0c1
MM
10292014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1030
1031 * gdb.btrace/data.exp: Test memory access during btrace replay.
1032
a2199296
SM
10332014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1034
1035 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1036
17b2616c
PA
10372014-05-21 Pedro Alves <palves@redhat.com>
1038
1039 PR gdb/13860
1040 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1041 (top level): Test that output related to execution commands is
1042 sent to the console with CLI commands, but not with MI commands.
1043 Test that breakpoint events are always mirrored to the console.
1044 Also expect the new source line to be output after a "next" in
1045 async mode too. Make it a pass/fail test.
1046 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
1047 output.
1048 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
1049
5166082f
PA
10502014-05-21 Pedro Alves <palves@redhat.com>
1051
1052 * gdb.base/list.exp (build_pattern, test_list): New procedures.
1053 Use them to test variations of "list" after reaching a breakpoint.
1054 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
1055 Test "list" with listsize 10 after reaching a breakpoint.
1056 * gdb.python/python.exp (decode_line current location line
1057 number): Adjust expected line number.
1058
2f25d70f
SM
10592014-05-21 Simon Marchi <simon.marchi@ericsson.com>
1060
1061 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
1062 behavior for $args, pass it directly to "run".
1063
ff604a67
MR
10642014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1065
1066 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
1067 30000 to 65536.
1068
6a3cb8e8
PA
10692014-05-21 Pedro Alves <palves@redhat.com>
1070
1071 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
1072 auto-connect-native-target off".
1073 * gdb.base/auto-connect-native-target.c: New file.
1074 * gdb.base/auto-connect-native-target.exp: New file.
1075
4ebfc96e
PA
10762014-05-21 Pedro Alves <palves@redhat.com>
1077
1078 * gdb.base/default.exp: Test "target native" instead of "target
1079 child".
1080
36d46afb
MW
10812014-05-21 Mark Wielaard <mjw@redhat.com>
1082
1083 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1084
5876f503
JK
10852014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1086
1087 Fix TLS access for -static -pthread.
1088 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
1089 <HAVE_TLS> (thread_function, main): Initialize it.
1090 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
1091 Add clean_restart.
1092 <$have_tls != "">: Check TLSVAR.
1093
0256a6ac
PA
10942014-05-21 Pedro Alves <palves@redhat.com>
1095
1096 * gdb.base/dcache-line-read-error.c: New.
1097 * gdb.base/dcache-line-read-error.exp: New.
1098
936d2992
PA
10992014-05-20 Pedro Alves <palves@redhat.com>
1100
1101 * gdb.base/compare-sections.c: New file.
1102 * gdb.base/compare-sections.exp: New file.
1103
802e8e6d
PA
11042014-05-20 Pedro Alves <palves@redhat.com>
1105
1106 * gdb.base/break-idempotent.c: New file.
1107 * gdb.base/break-idempotent.exp: New file.
1108
e59fa00f
MM
11092014-05-20 Markus Metzger <markus.t.metzger@intel.com>
1110
1111 * gdb.btrace/nohist.exp: New.
1112
8b696e31
YQ
11132014-05-20 Yao Qi <yao@codesourcery.com>
1114
1115 * lib/gdb.exp (gdb_init): Set timeout if test file is under
1116 gdb.reverse directory and gdb_reverse_timeout exists in board
1117 setting.
1118 * README: Document gdb_reverse_timeout.
1119
73c9764f
YQ
11202014-05-20 Yao Qi <yao@codesourcery.com>
1121
1122 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
1123 'test_file_name'. Treat args as a string instead of a list.
1124 (gdb_init): Rename argument 'args' by 'test_file_name'.
1125
f1f4348a
JK
11262014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1127
1128 * gdb.arch/powerpc-power.exp: New file.
1129 * gdb.arch/powerpc-power.s: New file.
1130
0dbe70ce
DE
11312014-05-16 Doug Evans <dje@google.com>
1132
1133 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
1134 * gdb.base/completion.exp: Check that all expected files exist
1135 before doing file completion.
0dbe70ce 1136
8d551b02
DE
11372014-05-16 Doug Evans <dje@google.com>
1138
1139 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
1140 Update.
1141 (do_syscall_tests_without_xml): Update.
1142
73eb7709
PA
11432014-05-16 Pedro Alves <palves@redhat.com>
1144
1145 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
1146 instead of "unknown output after running".
1147
3fae92fc
YQ
11482014-05-16 Yao Qi <yao@codesourcery.com>
1149
1150 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
1151 file1.txt from host at the end.
1152 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1153
c2b2ccc5
DE
11542014-05-15 Doug Evans <dje@google.com>
1155
1156 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
1157 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
1158 loading file. Add test for TU lookup.
1159
8c217a4b
SM
11602014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1161
1162 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
1163 calling "-exec-arguments" or "set args" before running the
1164 inferior.
1165
3deb39c6
SM
11662014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1167
1168 * lib/mi-support.exp (mi_expect_stop): Expect message for
1169 inferiors that exit with non-zero exit code.
1170
71a79f8c
YQ
11712014-05-14 Yao Qi <yao@codesourcery.com>
1172
1173 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
1174 match absolute path on remote host.
1175 (test_file_list_exec_source_files): Remove "/" from the
1176 pattern.
1177
f23fcd46
YQ
11782014-05-14 Yao Qi <yao@codesourcery.com>
1179
1180 * boards/local-remote-host-notty.exp (${board}_file): New
1181 proc.
1182
9404b58f
KM
11832014-05-07 Kyle McMartin <kyle@redhat.com>
1184
1185 Pushed by Joel Brobecker <brobecker@adacore.com>.
1186 * gdb.arch/aarch64-atomic-inst.c: New file.
1187 * gdb.arch/aarch64-atomic-inst.exp: New file.
1188
5e45f04c
YQ
11892014-05-07 Yao Qi <yao@codesourcery.com>
1190
1191 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
1192 in current context" too.
1193
c888a17d
KS
11942014-05-05 Keith Seitz <keiths@redhat.com>
1195
1196 * gdb.linespec/ls-dollar.exp: Add test for linespec
1197 file:convenience_variable.
1198
290a839c
YQ
11992014-05-05 Yao Qi <yao@codesourcery.com>
1200
1201 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
1202 traceframes into tfile and ctf trace files. Read data from
1203 trace file and test collected data.
1204 (gdb_collect_locals_test): Likewise.
1205 (gdb_unavailable_registers_test): Likewise.
1206 (gdb_unavailable_floats): Likewise.
1207 (gdb_collect_globals_test): Likewise.
1208 (top-level): Append "ctf" to trace_file_targets if GDB
1209 supports.
1210
b5262cd0
YQ
12112014-05-05 Yao Qi <yao@codesourcery.com>
1212
1213 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
1214 code to ...
1215 (gdb_collect_args_test_1): ... it. New proc.
1216 (gdb_collect_locals_test): Move some code to ...
1217 (gdb_collect_locals_test_1): ... it. New proc.
1218 (gdb_unavailable_registers_test): Move some code to ...
1219 (gdb_unavailable_registers_test_1): ... it. New proc.
1220 (gdb_unavailable_floats): Move some code to ...
1221 (gdb_unavailable_floats_1): ... it. New proc.
1222
30a1e6cc
SDJ
12232014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1224
1225 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
1226 probes to test for bitness recognition.
1227 * gdb.arch/amd64-stap-optional-prefix.exp
1228 (test_probe_value_without_reg): New procedure.
1229 Add code to test for different kinds of bitness.
1230
f33da99a
SDJ
12312014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1232
1233 PR breakpoints/16889
1234 * gdb.arch/amd64-stap-optional-prefix.S: New file.
1235 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1236
5b80f00d
PA
12372014-05-01 Pedro Alves <palves@redhat.com>
1238
1239 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
1240 gdb_file_cmd if no file is specified.
1241 * boards/native-extended-gdbserver.exp (gdb_load): Use the
1242 last_loaded_file to set the remote exec-file.
1243
f8c2a73c
PA
12442014-05-01 Pedro Alves <palves@redhat.com>
1245
1246 * boards/local-remote-host.exp: New file.
1247
be6e8ac7
PA
12482014-05-01 Pedro Alves <palves@redhat.com>
1249
1250 * boards/local-remote-host.exp: Rename to ...
1251 * boards/local-remote-host-notty.exp: ... this.
1252
cac0dc8f
JB
12532014-04-28 Joel Brobecker <brobecker@adacore.com>
1254
1255 * gdb.ada/dyn_arrayidx: New testcase.
1256
9730e6cc
YQ
12572014-04-26 Yao Qi <yao@codesourcery.com>
1258
1259 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
1260 and compute the length of function main. Save it in
1261 $main_length.
1262 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
1263 (top-level): Use gdb_compile to compile objects into
1264 executable and restart GDB. Remove invocation to
1265 prepare_for_testing.
1266
7ae1a6a6
PA
12672014-04-25 Simon Marchi <simon.marchi@ericsson.com>
1268 Pedro Alves <palves@redhat.com>
1269
1270 PR server/16255
1271 * gdb.multi/multi-attach.c: New file.
1272 * gdb.multi/multi-attach.exp: New file.
1273
4082afcc
PA
12742014-04-25 Pedro Alves <palves@redhat.com>
1275
1276 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
1277 user.
1278 (top level): Test that "set remote conditional-breakpoints-packet
1279 off" works as intended.
1280 * gdb.base/dprintf.exp: Test that "set remote
1281 breakpoint-commands-packet off" works as intended.
1282 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
1283 New function.
1284 (top level): Call it.
1285 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
1286 remote fast-tracepoints-packet off" works as intended.
1287 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
1288 * lib/gdb.exp (gdb_is_target_remote): ... here.
1289
2abc3f8d
DB
12902014-04-24 David Blaikie <dblaikie@gmail.com>
1291
1292 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
1293 ensure clang would not discard them.
1294 * gdb.base/gdbvars.c: Ditto.
1295 * gdb.base/memattr.c: Ditto.
1296 * gdb.base/whatis.c: Ditto.
1297 * gdb.python/py-prettyprint.c: Ditto.
1298 * gdb.trace/actions.c: Ditto.
1299 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
1300 ensure clang would not discard it.
1301
bfd39632
DB
13022014-04-24 David Blaikie <dblaikie@gmail.com>
1303
1304 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
1305 clang to emit the full definition of type required by the test
1306 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
1307
22842ff6
DB
13082014-04-24 David Blaikie <dblaikie@gmail.com>
1309
1310 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
1311 coax Clang into emitting the definition of the type.
1312 * gdb.cp/pr10728-x.h (y): Ditto.
1313 * gdb.cp/pr10728-y.cc (y): Ditto.
1314
c2e827ad
DB
13152014-04-24 David Blaikie <dblaikie@gmail.com>
1316
1317 * gdb.base/label.exp: XFAIL label related tests under Clang.
1318 * gdb.cp/cplabel.exp: Ditto.
1319 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
1320 under Clang those using labels.
1321
4c2d33e7
YQ
13222014-04-25 Yao Qi <yao@codesourcery.com>
1323
1324 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
1325 double_label.
1326 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
1327 partial_label and double_label.
1328
56083b99
DB
13292014-04-24 David Blaikie <dblaikie@gmail.com>
1330
1331 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
1332
25d4e99d
DB
13332014-04-24 David Blaikie <dblaikie@gmail.com>
1334
1335 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
1336 of the function to work across GCC and Clang.
1337 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
1338 pointer types (const void ** const V void **).
1339
01f9f808
MS
13402014-04-24 Michael Sturm <michael.sturm@mintel.com>
1341 Walfred Tedeschi <walfred.tedeschi@intel.com>
1342
1343 * Makefile.in (EXECUTABLES): Added i386-avx512.
1344 * gdb.arch/i386-avx512.c: New file.
1345 * gdb.arch/i386-avx512.exp: Likewise.
1346
4b48d439
KS
13472014-04-23 Keith Seitz <keiths@redhat.com>
1348
1349 * lib/mi-support.exp (mi_list_breakpoints): Delete.
1350 (mi_make_breakpoint_table): New procedure.
1351 (mi_create_breakpoint): Use mi_make_breakpoint
1352 and return the result.
1353 (mi_make_breakpoint): New procedure.
1354 (mi_build_kv_pairs): New procedure.
1355
1356 * gdb.mi/mi-break.exp: Remove unused globals,
1357 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
1358 All callers updated.
1359 * gdb.mi/mi-dprintf.exp: Use variable to track command
1360 number.
1361 Update all callers of mi_create_breakpoint and use
1362 mi_make_breakpoint_table.
1363 Remove any unused global variables.
1364 * gdb.mi/mi-nonstop.exp: Likewise.
1365 * gdb.mi/mi-nsintrall.exp: Likewise.
1366 * gdb.mi/mi-nsmoribund.exp: Likewise.
1367 * gdb.mi/mi-nsthrexec.exp: Likewise.
1368 * gdb.mi/mi-reverse.exp: Likewise.
1369 * gdb.mi/mi-simplerun.exp: Likewise.
1370 * gdb.mi/mi-stepn.exp: Likewise.
1371 * gdb.mi/mi-syn-frame.exp: Likewise.
1372 * gdb.mi/mi-until.exp: Likewise.
1373 * gdb.mi/mi-var-cp.exp: Likewise.
1374 * gdb.mi/mi-var-display.exp: Likewise.
1375 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
1376 * gdb.mi/mi2-var-child.exp: Likewise.
1377 * gdb.mi/mi-vla-c99.exp: Likewise.
1378 * lib/mi-support.exp: Likewise.
1379
1380 From Ian Lance Taylor <iant@cygnus.com>:
1381 * lib/gdb.exp (parse_args): New procedure.
1382
08351840
PA
13832014-04-23 Pedro Alves <palves@redhat.com>
1384
1385 * gdb.base/break-unload-file.c: New file.
1386 * gdb.base/break-unload-file.exp: New file.
1387 * gdb.base/sym-file-lib.c (baz): New function.
1388 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
1389 field.
1390 (load): Store the segment's mapped size.
1391 (unload): New function.
1392 (unload_shlib): New function.
1393 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
1394 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
1395 set a breakpoint at baz, and call it.
1396 * gdb.base/sym-file.exp: New tests for stale breakpoint
1397 instructions.
1398
076855f9
PA
13992014-04-23 Pedro Alves <palves@redhat.com>
1400
1401 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
1402 * gdb.base/hbreak-in-shr-unsupported.c: New file.
1403 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
1404 * gdb.base/hbreak-unmapped.c: New file.
1405 * gdb.base/hbreak-unmapped.exp: New file.
1406 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
1407 * lib/gdb.exp (gdb_is_target_remote): ... here.
1408
483805cf
PA
14092014-04-22 Pedro Alves <palves@redhat.com>
1410
1411 * gdb.base/consecutive-step-over.c: New file.
1412 * gdb.base/consecutive-step-over.exp: New file.
1413
06d97543
PA
14142014-04-22 Pedro Alves <palves@redhat.com>
1415
1416 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
1417 instead of send_gdb/gdb_expect.
1418
b4429ea2
YQ
14192014-04-22 Yao Qi <yao@codesourcery.com>
1420
1421 * lib/trace-support.exp (generate_tracefile): New procedure.
1422 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
1423 return 0.
1424 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
1425 if generate_tracefile returns 1.
1426
51d48146
PA
14272014-04-18 Tom Tromey <palves@redhat.com>
1428 Pedro alves <tromey@redhat.com>
1429
1430 PR backtrace/15558
1431 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
1432 with a backtrace limit.
1433 * gdb.python/py-frame-inline.exp: Test running to an inline
1434 function with a backtrace limit, and printing the newest frame.
1435 * gdb.python/py-frame-inline.c (main): Call f.
1436
bd1dce5f
MS
14372014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1438
1439 * gdb.java/jnpe.exp: Drop srcdir from untested path.
1440
40d1a503
MS
14412014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1442
1443 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
1444 Drop prefix from unsupported source file path.
1445
389b98f7
YQ
14462014-04-17 Yao Qi <yao@codesourcery.com>
1447
1448 * lib/gdb.exp (with_target_charset): New proc.
1449 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
1450 with_target_charset.
1451 (test_print_strings): Likewise.
1452 (test_repeat_bytes): Likewise.
1453 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
1454 for some tests.
1455
22869d73
KS
14562014-04-16 Keith Seitz <keiths@redhat.com>
1457
1458 PR gdb/15827
1459 * gdb.dwarf2/corrupt.c: New file.
1460 * gdb.dwarf2/corrupt.exp: New file.
1461
c4f87ca6
KS
14622014-04-16 Keith Seitz <keiths@redhat.com>
1463
1464 PR c++/16597
1465 * gdb.cp/namelessclass.cc: New file.
1466 * gdb.cp/namelessclass.exp: New file.
1467 * gdb.cp/namelessclass.S: New file.
1468
ab19de87
DE
14692014-04-16 Doug Evans <dje@google.com>
1470
1471 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
1472 Add comment.
1473 (gdbserver_default_get_comm_port): New function.
1474 (gdbserver_start): Check if board file provided
1475 "gdbserver,get_comm_port" and use it if so.
1476 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
1477 (gdb,socketport): Set to "stdio".
1478 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
1479 (stdio_gdbserver_template): Delete.
1480 (${board}_get_remote_address): Update.
1481 (${board}_build_remote_cmd): Delete.
1482 (${board}_get_comm_port): New function.
1483 (${board}_spawn): Update.
1484 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
1485 Delete.
1486 (${board}_get_remote_address): Update.
1487 (${board}_get_comm_port): New function.
1488
fc98a809
AB
14892014-04-16 Andrew Burgess <aburgess@broadcom.com>
1490
1491 * gdb.base/memattr.exp: Improve regexps to handle memory regions
1492 appearing in any order.
1493
87fd9e6e
DE
14942014-04-15 Doug Evans <dje@google.com>
1495
1496 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
1497 uninitialized value of "description".
1498
099fc3ea
KS
14992014-04-15 Keith Seitz <keiths@redhat.com>
1500
1501 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
1502 Remove unused globals.
1503 (test_running_the_program): Likewise.
1504 (test_controlled_execution): Likewise.
1505 (test_controlling_breakpoints): Likewise.
1506 (test_program_termination): Likewise.
1507
5da151d4
KS
15082014-04-15 Keith Seitz <keiths@redhat.com>
1509
1510 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
1511 unused globals.
1512 (test_rbreak_creation_and_listing): Likewise.
1513 (test_ignore_count): Likewise.
1514 (test_error): Likewise.
1515
35e5d2f0
PA
15162014-04-15 Pedro Alves <palves@redhat.com>
1517
1518 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
1519 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
1520 sym-file-loader.c.
1521 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1522 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1523 to sym-file-loader.c.
1524 (struct library): Forward declare.
1525 (load_shlib, lookup_function): Change prototypes.
1526 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1527 (translate_offset): Remove declarations.
1528 (get_text_addr): New declaration.
1529 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
1530 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
1531 sym-file-loader.h.
1532 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1533 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1534 here from sym-file-loader.h.
1535 (struct library): New structure.
1536 (load_shlib, lookup_function): Change prototypes and adjust to
1537 work with a struct library.
1538 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1539 (translate_offset): Make static.
1540 (get_text_addr): New function.
1541 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
1542
eb4c1710
PA
15432014-04-15 Pedro Alves <palves@redhat.com>
1544
1545 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
1546
2d1baf52
PA
15472014-04-15 Pedro Alves <palves@redhat.com>
1548
1549 * gdb.base/sym-file-loader.c: Include <limits.h>.
1550 (SELF_LINK): New define.
1551 (get_origin): New function.
1552 (load_shlib): Use it.
1553 * gdb.base/sym-file.exp: Don't early return if the target is
1554 remote. Use runto_main, and issue fail is that fails. Use
1555 gdb_load_shlibs.
1556 (shlib_name): Delete.
1557 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
1558
7dd6df01
PA
15592014-04-15 Pedro Alves <palves@redhat.com>
1560
1561 * gdb.base/sym-file.exp: Remove regex characters from test
1562 message. Don't refer to breakpoint numbers in test messages.
1563
b50c8614
KS
15642014-04-14 Keith Seitz <keiths@redhat.com>
1565
1566 PR c++/16253
1567 * gdb.cp/var-tag.cc: New file.
1568 * gdb.cp/var-tag.exp: New file.
1569 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1570 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1571 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1572 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1573
3d567982
TT
15742014-04-14 Tom Tromey <tromey@redhat.com>
1575
1576 * gdb.cp/classes.exp (test_enums): Handle underlying type.
1577 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
1578 type.
1579 * gdb.cp/enum-class.exp: New file.
1580 * gdb.cp/enum-class.cc: New file.
1581
0626fc76
TT
15822014-04-14 Tom Tromey <tromey@redhat.com>
1583
1584 * gdb.dwarf2/enum-type.exp: New file.
1585
dca325b3
SA
15862014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1587
1588 * gdb.mi/mi-vla-c99.exp: New file.
1589 * gdb.mi/vla.c: New file.
1590
5854b38a
SA
15912014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1592
1593 * gdb.base/vla-datatypes.c: New file.
1594 * gdb.base/vla-datatypes.exp: New file.
1595
463bb957
SA
15962014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1597
1598 * gdb.base/vla-ptr.c: New file.
1599 * gdb.base/vla-ptr.exp: New file.
1600
3dd170be
SA
16012014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1602
1603 * gdb.dwarf2/count.exp: New file.
1604
5ecaaa66
SA
16052014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1606
1607 * gdb.base/vla-sideeffect.c: New file.
1608 * gdb.base/vla-sideeffect.exp: New file.
1609
41f1ada5
DB
16102014-04-14 David Blaikie <dblaikie@gmail.com>
1611
1612 * gdb.mi/non-stop.c: Add return value for non-void function return
1613 statement.
1614 * gdb.threads/staticthreads.c: Ditto.
1615
0be03e84
DE
16162014-04-12 Siva Chandra Reddy <sivachandra@google.com>
1617 Doug Evans <xdje42@gmail.com>
1618
1619 * gdb.guile/scm-value.c: Improve test case.
1620 * gdb.guile/scm-value.exp: Add new test.
1621
f180a1fb
DB
16222014-04-11 David Blaikie <dblaikie@gmail.com>
1623
1624 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
1625 override Clang's default.
1626
6b662e19
JB
16272014-04-11 Joel Brobecker <brobecker@adacore.com>
1628
1629 Revert the following changes (regressions):
1630
1631 * gdb.base/vla-sideeffect.c: New file.
1632 * gdb.base/vla-sideeffect.exp: New file.
1633
1634 * gdb.dwarf2/count.exp: New file.
1635
1636 * gdb.base/vla-multi.c: New file.
1637 * gdb.base/vla-multi.exp: New file.
1638
1639 * gdb.base/vla-ptr.c: New file.
1640 * gdb.base/vla-ptr.exp: New file.
1641
1642 * gdb.base/vla-datatypes.c: New file.
1643 * gdb.base/vla-datatypes.exp: New file.
1644
1645 * gdb.mi/mi-vla-c99.exp: New file.
1646 * gdb.mi/vla.c: New file.
1647
245a5f0b
KS
16482014-04-11 Keith Seitz <keiths@redhat.com>
1649
1650 PR c++/16675
1651 * gdb.cp/cpsizeof.exp: New file.
1652 * gdb.cp/cpsizeof.cc: New file.
1653
58a84dcf
SA
16542014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1655
191a8a90
JB
1656 * gdb.mi/mi-vla-c99.exp: New file.
1657 * gdb.mi/vla.c: New file.
58a84dcf 1658
c8655f75
SA
16592014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1660
1661 * gdb.base/vla-datatypes.c: New file.
1662 * gdb.base/vla-datatypes.exp: New file.
1663
024e13b4
SA
16642014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1665
1666 * gdb.base/vla-ptr.c: New file.
1667 * gdb.base/vla-ptr.exp: New file.
1668
1a237e0e
SA
16692014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1670
1671 * gdb.base/vla-multi.c: New file.
1672 * gdb.base/vla-multi.exp: New file.
1673
504f3432
SA
16742014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1675
1676 * gdb.dwarf2/count.exp: New file.
1677
3bce8237
SA
16782014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1679
191a8a90
JB
1680 * gdb.base/vla-sideeffect.c: New file.
1681 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 1682
322f9c21
YQ
16832014-04-11 Yao Qi <yao@codesourcery.com>
1684
1685 * gdb.base/completion.exp: Check file exists before running tests
1686 on file completion.
1687
d708bcd1
PA
16882014-04-10 Pedro Alves <palves@redhat.com>
1689
1690 * gdb.base/cond-eval-mode.c: New file.
1691 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
1692 prepare_for_testing to build the new file. Check result of
1693 runto_main.
1694 (test_break, test_watch): New procedures.
1695 (top level): Use them.
1696
ae1d2761
PM
16972014-04-08 Pierre Muller <muller@sourceware.org>
1698
1699 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
1700 Ctrl-V use for mingw hosts.
1701
7af389b8
SC
17022014-04-07 Siva Chandra Reddy <sivachandra@google.com>
1703
1704 * gdb.python/py-value.c: Improve test case.
1705 * gdb.python/py-value.exp: Add new test.
1706
5e703181
DE
17072014-04-07 David Blaikie <dblaikie@gmail.com>
1708
1709 * lib/compiler.c: Identify the clang compiler.
1710 * lib/compiler.cc: Ditto.
1711
9810b410
YQ
17122014-04-03 Yao Qi <yao@codesourcery.com>
1713
1714 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
1715
98d1b8dc
AB
17162014-04-01 Anton Blanchard <anton@samba.org>
1717
1718 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
1719 messages unique.
1720
3114cea1
AB
17212014-04-01 Anton Blanchard <anton@samba.org>
1722
1723 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
1724 prepare_for_testing.
1725
62f7182c
AB
17262014-04-01 Anton Blanchard <anton@samba.org>
1727
1728 * gdb.arch/ppc64-atomic-inst.c: Remove.
1729 * gdb.arch/ppc64-atomic-inst.S: New file.
1730 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
1731
770e7fc7
DE
17322014-03-31 Doug Evans <dje@google.com>
1733
1734 * gdb.base/print-symbol-loading-lib.c: New file.
1735 * gdb.base/print-symbol-loading-main.c: New file.
1736 * gdb.base/print-symbol-loading.exp: New file.
1737
46e2bafa
YQ
17382014-03-31 Yao Qi <yao@codesourcery.com>
1739
1740 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
1741
8776cfe9
JB
17422014-03-28 Joel Brobecker <brobecker@adacore.com>
1743
1744 * gdb.ada/mi_dyn_arr: New testcase.
1745
5d1ef361
DE
17462014-03-27 Doug Evans <dje@google.com>
1747
1748 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
1749
b5bee914
YQ
17502014-03-27 Yao Qi <yao@codesourcery.com>
1751
1752 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
1753 if target is nios2-*-*.
1754
0d4d0e77
YQ
17552014-03-26 Yao Qi <yao@codesourcery.com>
1756
1757 * lib/gdb.exp (readline_is_used): New proc.
1758 * gdb.base/completion.exp: Move tests on command complete up.
1759 Skip the rest of tests if readline is not used.
1760 * gdb.ada/complete.exp: Skp the test if readline is not
1761 used.
1762 * gdb.base/filesym.exp: Likewise.
1763 * gdb.base/macscp.exp: Likewise.
1764 * gdb.base/readline-ask.exp: Likewise.
1765 * gdb.base/readline.exp: Likewise.
1766 * gdb.python/py-cmd.exp: Likewise.
1767 * gdb.trace/tfile.exp: Likewise.
1768
29361eee
YQ
17692014-03-26 Yao Qi <yao@codesourcery.com>
1770
1771 * gdb.base/macscp.exp: Fix code format issues.
1772
bc9a5525
UW
17732014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
1774
1775 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
1776 * gdb.asm/powerpc64le.inc: New file.
1777
d3839ede
PA
17782014-03-25 Pedro Alves <palves@redhat.com>
1779 Doug Evans <dje@google.com>
1780
1781 * gdb.base/source-execution.c: New file.
1782 * gdb.base/source-execution.exp: New file.
1783 * gdb.base/source-execution.gdb: New file.
1784
01672a57
DE
17852014-03-24 Doug Evans <dje@google.com>
1786
1787 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
1788 using fission.
1789
88bbeca9
HZ
17902014-03-24 Hui Zhu <hui@codesourcery.com>
1791 Pedro Alves <palves@redhat.com>
1792
1793 PR breakpoints/16101
1794 * gdb.base/dprintf.exp: Use unsupported rather than changing the
1795 test pass/fail messages. Detect missing support for dprintf when
1796 breakpoints are actually inserted.
1797 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
1798 breakpoints are actually inserted.
1799 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
1800 fails.
1801
d2348791
JK
18022014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1803
1804 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
1805
feef67ab
DE
18062014-03-22 Doug Evans <xdje42@gmail.com>
1807
1808 * gdb.python/python.exp (python not supported): Verify multi-line
1809 python command issues an error.
25d743f9 1810 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 1811 guile command issues an error.
feef67ab 1812
ecebef6a
MR
18132014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
1814
1815 * gdb.threads/thread-specific.exp: Handle the lack of usable
1816 $this_breakpoint and $this_thread.
1817
ccdd1909
HZ
18182014-03-21 Hui Zhu <hui@codesourcery.com>
1819
1820 * gdb.base/attach.exp (do_command_attach_tests): New.
1821
beb460e8
PA
18222014-03-20 Tom Tromey <tromey@redhat.com>
1823 Pedro Alves <palves@redhat.com>
1824
1825 PR cli/15718
1826 * gdb.base/condbreak-call-false.c: New file.
1827 * gdb.base/condbreak-call-false.exp: New file.
1828
40acf43a
PA
18292014-03-20 Pedro Alves <palves@redhat.com>
1830
1831 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
1832 Delete.
1833 (block_signals, unblock_signals): Delete.
1834 (child_function_2, main): Remove references to deleted variable
1835 and functions.
1836
9f5e1e02
PA
18372014-03-20 Pedro Alves <palves@redhat.com>
1838
1839 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
1840 Use pthread_kill to signal thread 2.
1841 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1842 Adjust to make the test send itself a signal rather than using the
1843 host's "kill" command.
1844
99619bea
PA
18452014-03-20 Pedro Alves <palves@redhat.com>
1846
1847 * gdb.threads/multiple-step-overs.c: New file.
1848 * gdb.threads/multiple-step-overs.exp: New file.
1849 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1850 Adjust expected infrun debug output.
1851
2adfaa28
PA
18522014-03-20 Pedro Alves <palves@redhat.com>
1853
1854 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
1855 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
1856
31e77af2
PA
18572014-03-20 Pedro Alves <palves@redhat.com>
1858
1859 PR breakpoints/7143
1860 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
1861 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
1862 of gdb_test_multiple.
1863 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
1864 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
1865
b9f437de
PA
18662014-03-20 Pedro Alves <palves@redhat.com>
1867
1868 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
1869 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
1870
05adc73e
PA
18712014-03-19 Pedro Alves <palves@redhat.com>
1872
1873 * gdb.base/async.exp: Remove early return.
1874
6048b950
PA
18752014-03-19 Pedro Alves <palves@redhat.com>
1876
1877 * gdb.base/async.exp (step& tests): Pass explicit test messages.
1878
8bcfb00a
PA
18792014-03-19 Pedro Alves <palves@redhat.com>
1880
1881 * gdb.base/async.exp (test_background): Expect \r\n after
1882 "completed." in the fail pattern.
1883
884e37dc
PA
18842014-03-19 Pedro Alves <palves@redhat.com>
1885
1886 * gdb.base/async.exp (test_background): New procedure.
1887 Use it for all background execution command tests.
1888
148e57e2
PA
18892014-03-19 Pedro Alves <palves@redhat.com>
1890
1891 * gdb.base/async.exp: Use prepare_for_testing.
1892
f48088c7
PA
18932014-03-19 Pedro Alves <palves@redhat.com>
1894
1895 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
1896 the same line.
1897
e2f6c966
PA
18982014-03-19 Pedro Alves <palves@redhat.com>
1899
1900 * gdb.base/async.c (main): Add "jump here" and "until here" line
1901 marker comments.
1902 * gdb.base/async.exp (jump_here): New global.
1903 (jump& test): Use it.
1904 (until_here): New global.
1905 (until& test): Use it.
1906
c30568d4
PA
19072014-03-19 Pedro Alves <palves@redhat.com>
1908
1909 * gdb.base/async.exp: Don't frob gdb_protocol.
1910
0172b6a7
DE
19112014-03-18 Doug Evans <xdje42@gmail.com>
1912
1913 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
1914 Fix spelling of exec-done-display.
1915
06c868a8
JK
19162014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1917
1918 PR gdb/15358
1919 * gdb.base/gdb-sigterm.c: New file.
1920 * gdb.base/gdb-sigterm.exp: New file.
1921
0c7e1a46
PA
19222014-03-18 Pedro Alves <palves@redhat.com>
1923
1924 PR gdb/13860
1925 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
1926 * lib/mi-support.exp (mi_expect_stop): Add special handling for
1927 solib-event.
1928
f7c77d93
JB
19292014-03-17 Joel Brobecker <brobecker@adacore.com>
1930
1931 * gdb.ada/pckd_arr_ren: New testcase.
1932
5a1e8c7a
DE
19332014-03-13 Doug Evans <xdje42@gmail.com>
1934
1935 PR guile/16612
1936 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
1937 collect after discarding symbols.
1938
350e1a76
DE
19392014-03-13 Ludovic Courtès <ludo@gnu.org>
1940 Doug Evans <xdje42@gmail.com>
1941
1942 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
1943 to history survives a gc.
1944
a69900ae
PA
19452014-03-13 Pedro Alves <palves@redhat.com>
1946
1947 * gdb.base/default.exp: Don't test "target procfs".
1948
5db9f0bd
PA
19492014-03-13 Pedro Alves <palves@redhat.com>
1950
1951 * gdb.base/default.exp: Update "target child" and "target procfs"
1952 tests to not expect "Unix".
1953
b3ccfe11
TT
19542014-03-12 Tom Tromey <tromey@redhat.com>
1955
1956 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
1957 New procs. Add target-async tests.
1958 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
1959 Add target-async tests.
1960
646f4417
AA
19612014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1962
1963 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
1964 'func_start' and 'func_end' for the beginning and end of the
1965 function code, respectively.
1966 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
1967 'func_end' instead of 'func' and 'main'.
1968
288c211f
AA
19692014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1970
1971 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
1972 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
1973 generate the debug info assembler source.
1974
e0c0f156
AA
19752014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1976
1977 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
1978 * gdb.dwarf2/arr-subrange.exp: Likewise.
1979 * gdb.dwarf2/dwz.exp: Likewise.
1980 * gdb.dwarf2/method-ptr.exp: Likewise.
1981 * gdb.dwarf2/missing-sig-type.exp: Likewise.
1982 * gdb.dwarf2/subrange.exp: Likewise.
1983 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
1984 * gdb.dwarf2/implptrpiece.exp: Likewise.
1985 * gdb.dwarf2/nostaticblock.exp: Likewise.
1986
0e5c4555
AA
19872014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1988
1989 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
1990 directory to absolute path name arguments.
1991
5ec18f2b
JG
19922014-03-10 Joel Brobecker <brobecker@adacore.com>
1993
1994 * gdb.ada/tagged_access: New testcase.
1995
847fc4f2
MM
19962014-03-07 Markus Metzger <markus.t.metzger@intel.com>
1997
1998 * gdb.btrace/data.exp: Update expected output.
1999
cc3da688
YQ
20002014-03-06 Yao Qi <yao@codesourcery.com>
2001
2002 * gdb.trace/pr16508.exp: New file.
2003
0f26cec1
PA
20042014-03-05 Pedro Alves <palves@redhat.com>
2005
2006 PR gdb/16575
2007 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2008 procedure.
2009 (top level): Adjust to use it. Add tests that exercise breakpoint
2010 interaction with the code-cache.
2011
7a5a839f
LC
20122014-02-26 Ludovic Courtès <ludo@gnu.org>
2013
2014 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2015 test for 'history-append!'.
2016
31aa7e4e
JB
20172014-02-26 Joel Brobecker <brobecker@adacore.com>
2018
2019 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2020 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2021 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2022 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2023 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2024 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2025
1b588015
JB
20262014-02-26 Joel Brobecker <brobecker@adacore.com>
2027
2028 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2029 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2030 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2031
55426c9d
JB
20322014-02-26 Joel Brobecker <brobecker@adacore.com>
2033
2034 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2035
dc53a7ad
JB
20362014-02-26 Joel Brobecker <brobecker@adacore.com>
2037
2038 * gdb.dwarf2/arr-stride.c: New file.
2039 * gdb.dwarf2/arr-stride.exp: New file.
2040
12ab52e9
PA
20412014-02-26 Pedro Alves <palves@redhat.com>
2042
2043 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2044 that won't ever trigger. Make sure that GDB reports the correct
2045 breakpoint that caused the stop.
2046
849c862e
JK
20472014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2048
2049 PR gdb/16626
2050 * gdb.base/auto-load-script: New file.
2051 * gdb.base/auto-load.c: New file.
2052 * gdb.base/auto-load.exp: New file.
2053
71b7d793
JK
2054 PR gdb/16626
2055 * gdb.base/auto-load.exp: Fix out-of-srctree run.
2056
e2f0d509
JK
20572014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2058
2059 Fix dw2-icycle.exp -fsanitize=address GDB crash.
2060 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
2061
50cc37c8
DE
20622014-02-24 Doug Evans <dje@google.com>
2063
2064 * lib/gdb.exp (run_on_host): Log error output if program fails.
2065
ea4758f2
PA
20662014-02-21 Pedro Alves <palves@redhat.com>
2067
2068 * gdb.threads/step-after-sr-lock.c: Rename to ...
2069 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
2070 * gdb.threads/step-after-sr-lock.exp: Rename to ...
2071 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2072 ... this.
2073
d7b30f67
SDJ
20742014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2075
2076 PR tdep/16397
2077 * gdb.arch/amd64-stap-special-operands.exp: New file.
2078 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
2079 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
2080 * gdb.arch/amd64-stap-triplet.S: Likewise.
2081 * gdb.arch/amd64-stap-triplet.c: Likewise.
2082
83deb43f
JB
20832014-02-20 Joel Brobecker <brobecker@adacore.com>
2084
2085 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
2086 in .section pseudo-op.
2087
adde2bff
DE
20882014-02-20 lin zuojian <manjian2006@gmail.com>
2089 Joel Brobecker <brobecker@adacore.com>
2090 Doug Evans <xdje42@gmail.com>
2091
2092 PR symtab/16581
2093 * gdb.dwarf2/dw2-icycle.S: New file.
2094 * gdb.dwarf2/dw2-icycle.c: New file.
2095 * gdb.dwarf2/dw2-icycle.exp: New file.
2096
f7bd0f78
SC
20972014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2098
2099 * gdb.python/py-value-cc.cc: Improve test case to enable testing
2100 operations on gdb.Value objects.
2101 * gdb.python/py-value-cc.exp: Add new test to test operations on
2102 gdb.Value objects.
2103
c17ef0d5
DE
21042014-02-18 Doug Evans <dje@google.com>
2105
2106 * Makefile.in (TESTS): New variable.
2107 (expanded_tests, expanded_tests_or_none): New variables
2108 (check-single): Pass $(expanded_tests_or_none) to runtest.
2109 (check-parallel): Only run tests in $(TESTS) if non-empty.
2110 (check/no-matching-tests-found): New rule.
2111 * README: Document TESTS makefile variable.
2112
5dd3176f
DE
21132014-02-18 Doug Evans <dje@google.com>
2114
2115 * Makefile.in (check-parallel): rm -rf outputs temp.
2116
0b10be4f
JK
21172014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2118
2119 Fix "ERROR: no fileid for" in the testsuite.
2120 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
2121
85f224e7
DE
21222014-02-12 Doug Evans <dje@google.com>
2123
2124 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
2125 (MISCELLANEOUS): New variable.
2126 (clean): rm -rf $(MISCELLANEOUS).
2127 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
2128 dwp live in the same directory as symlinks, with each symlink pointed
2129 to a differently named file in a different directory.
2130
149b30ff
DE
21312014-02-11 Doug Evans <dje@google.com>
2132
2133 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
2134 of Tcl file commands.
2135
1dfdac32
MK
21362014-02-10 Mark Kettenis <kettenis@gnu.org>
2137
2138 * gdb.threads/step-after-sr-lock.exp: Avoid executing
2139 "kill -SIGUSR1 -1".
2140
aa4fb036
JB
21412014-02-10 Joel Brobecker <brobecker@adacore.com>
2142
2143 * gdb.ada/tick_length_array_enum_idx: New testcase.
2144
ed3ef339
DE
21452014-02-10 Doug Evans <xdje42@gmail.com>
2146
2147 * configure.ac (AC_OUTPUT): Add gdb.guile.
2148 * configure: Regenerate.
2149 * lib/gdb-guile.exp: New file.
2150 * lib/gdb.exp (get_target_charset): New function.
2151 * gdb.base/help.exp: Update expected output from "apropos apropos".
2152 * gdb.guile/Makefile.in: New file.
2153 * gdb.guile/guile.exp: New file.
2154 * gdb.guile/scm-arch.c: New file.
2155 * gdb.guile/scm-arch.exp: New file.
2156 * gdb.guile/scm-block.c: New file.
2157 * gdb.guile/scm-block.exp: New file.
2158 * gdb.guile/scm-breakpoint.c: New file.
2159 * gdb.guile/scm-breakpoint.exp: New file.
2160 * gdb.guile/scm-disasm.c: New file.
2161 * gdb.guile/scm-disasm.exp: New file.
2162 * gdb.guile/scm-equal.c: New file.
2163 * gdb.guile/scm-equal.exp: New file.
2164 * gdb.guile/scm-error.exp: New file.
2165 * gdb.guile/scm-error.scm: New file.
2166 * gdb.guile/scm-frame-args.c: New file.
2167 * gdb.guile/scm-frame-args.exp: New file.
2168 * gdb.guile/scm-frame-args.scm: New file.
2169 * gdb.guile/scm-frame-inline.c: New file.
2170 * gdb.guile/scm-frame-inline.exp: New file.
2171 * gdb.guile/scm-frame.c: New file.
2172 * gdb.guile/scm-frame.exp: New file.
2173 * gdb.guile/scm-generics.exp: New file.
2174 * gdb.guile/scm-gsmob.exp: New file.
2175 * gdb.guile/scm-iterator.c: New file.
2176 * gdb.guile/scm-iterator.exp: New file.
2177 * gdb.guile/scm-math.c: New file.
2178 * gdb.guile/scm-math.exp: New file.
2179 * gdb.guile/scm-objfile-script-gdb.in: New file.
2180 * gdb.guile/scm-objfile-script.c: New file.
2181 * gdb.guile/scm-objfile-script.exp: New file.
2182 * gdb.guile/scm-objfile.c: New file.
2183 * gdb.guile/scm-objfile.exp: New file.
2184 * gdb.guile/scm-ports.exp: New file.
2185 * gdb.guile/scm-pretty-print.c: New file.
2186 * gdb.guile/scm-pretty-print.exp: New file.
2187 * gdb.guile/scm-pretty-print.scm: New file.
2188 * gdb.guile/scm-section-script.c: New file.
2189 * gdb.guile/scm-section-script.exp: New file.
2190 * gdb.guile/scm-section-script.scm: New file.
2191 * gdb.guile/scm-symbol.c: New file.
2192 * gdb.guile/scm-symbol.exp: New file.
2193 * gdb.guile/scm-symtab-2.c: New file.
2194 * gdb.guile/scm-symtab.c: New file.
2195 * gdb.guile/scm-symtab.exp: New file.
2196 * gdb.guile/scm-type.c: New file.
2197 * gdb.guile/scm-type.exp: New file.
2198 * gdb.guile/scm-value-cc.cc: New file.
2199 * gdb.guile/scm-value-cc.exp: New file.
2200 * gdb.guile/scm-value.c: New file.
2201 * gdb.guile/scm-value.exp: New file.
2202 * gdb.guile/source2.scm: New file.
2203 * gdb.guile/types-module.cc: New file.
2204 * gdb.guile/types-module.exp: New file.
2205
7026a7c1
YQ
22062014-02-10 Yao Qi <yao@codesourcery.com>
2207
2208 PR testsuite/16543
2209 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
2210 * configure: Regenerated.
2211 * Makefile.in: New file.
2212
6c466447
AS
22132014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2214
2215 * gdb.python/py-framefilter.exp: Fix typo.
2216
6e854735
YQ
22172014-02-08 Yao Qi <yao@codesourcery.com>
2218
2219 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
2220 that no =breakpoint-modified is emitted when breakpoints are
2221 modified through MI commands.
2222
d137e6dc
PA
22232014-02-07 Pedro Alves <pedro@codesourcery.com>
2224 Pedro Alves <palves@redhat.com>
2225
2226 * gdb.threads/step-after-sr-lock.c: New file.
2227 * gdb.threads/step-after-sr-lock.exp: New file.
2228
b5ee5a50
PA
22292014-02-07 Pedro Alves <palves@redhat.com>
2230
2231 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
2232
3c77faf3
JK
22332014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2234
2235 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
2236 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
2237
6dddc817
DE
22382014-02-06 Doug Evans <xdje42@gmail.com>
2239
2240 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
2241 output.
2242
2243 * gdb.gdb/python-interrupts.exp: New file.
2244
de7b2893
YQ
22452014-02-05 Yao Qi <yao@codesourcery.com>
2246
2247 * gdb.trace/report.exp (use_collected_data): Test the output
2248 of "info threads" and "info inferiors".
2249
66d032ac
YQ
22502014-02-05 Yao Qi <yao@codesourcery.com>
2251
2252 Revert this patch:
2253
2254 2013-05-24 Yao Qi <yao@codesourcery.com>
2255
2256 * gdb.trace/tfile.exp: Test inferior and thread.
2257
591a12a1
UW
22582014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2259
2260 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
2261 on a function.
2262 * gdb.base/step-bt.c: Call hello via function pointer to make
2263 sure its first instruction is executed on powerpc64le-linux.
2264
0ff3e01f
UW
22652014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2266
2267 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
2268
084ee545
UW
22692014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2270
2271 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
2272 of the test patterns for use on little-endian systems.
2273
6ed14ff3
UW
22742014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2275
2276 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
2277 (decimal_vector): Fix for little-endian.
2278
401e27fd
JM
22792014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2280
2281 * gdb.arch/sparc-sysstep.exp: New file.
2282 * gdb.arch/sparc-sysstep.c: Likewise.
2283
2284 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
2285
8b924729
EBM
22862014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2287
2288 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
2289
fb151210
JB
22902014-01-23 Tom Tromey <tromey@redhat.com>
2291
2292 * gdb.ada/array_char_idx: New testcase.
2293
0740f8d8
TT
22942014-01-23 Tom Tromey <tromey@redhat.com>
2295
2296 PR python/16487:
2297 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
2298 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
2299 classes.
2300
21909fa1
TT
23012014-01-23 Tom Tromey <tromey@redhat.com>
2302
2303 PR python/16491:
2304 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
2305 string from an inferior frame.
2306 * gdb.python/py-framefilter-mi.exp: Update.
2307
87ce2a04
DE
23082014-01-22 Doug Evans <dje@google.com>
2309
2310 * gdb.server/server-mon.exp: Add tests for "set debug-format".
2311
237b092b
AA
23122014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2313
2314 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
2315
d674a709
AA
23162014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2317
2318 * gdb.trace/entry-values.exp: Remove excess space character from
2319 regex patterns. Handle s390 call instruction.
2320
20fa3390
AA
23212014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2322
2323 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
2324 define "*_start" label. Make "name" static.
2325 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
2326 ${name} by references to ${name}_start.
2327
78466714
AA
23282014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2329
2330 * gdb.base/info-macros.exp: Remove "debug" from the compile
2331 options.
2332
ec9f644a
IB
23332014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2334
2335 * gdb.dlang/demangle.exp: New file.
2336
94b1b47e
IB
23372014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2338
2339 * gdb.dlang/primitive-types.exp: New file.
2340
7f420862
IB
23412014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2342
2343 * configure.ac: Create gdb.dlang/Makefile.
2344 * configure: Regenerate.
2345 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
2346 * gdb.dlang/Makefile.in: New file.
2347 * lib/d-support.exp: New file.
2348 * lib/gdb.exp (skip_d_tests): New proc.
2349
52834460
MM
23502014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2351
2352 * gdb.btrace/delta.exp: Check reverse stepi.
2353 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
2354 * gdb.btrace/finish.exp: New.
2355 * gdb.btrace/next.exp: New.
2356 * gdb.btrace/nexti.exp: New.
2357 * gdb.btrace/record_goto.c: Add comments.
2358 * gdb.btrace/step.exp: New.
2359 * gdb.btrace/stepi.exp: New.
2360 * gdb.btrace/multi-thread-step.c: New.
2361 * gdb.btrace/multi-thread-step.exp: New.
2362 * gdb.btrace/rn-dl-bind.c: New.
2363 * gdb.btrace/rn-dl-bind.exp: New.
2364 * gdb.btrace/data.c: New.
2365 * gdb.btrace/data.exp: New.
2366 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2367
6e07b1d2
MM
23682014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2369
2370 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
2371 * gdb.btrace/exception.exp: Update.
2372 * gdb.btrace/instruction_history.exp: Update.
2373 * gdb.btrace/record_goto.exp: Update.
2374 * gdb.btrace/tailcall.exp: Update.
2375 * gdb.btrace/unknown_functions.exp: Update.
2376 * gdb.btrace/delta.exp: New.
2377
0b722aec
MM
23782014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2379
2380 * gdb.btrace/record_goto.exp: Add backtrace test.
2381 * gdb.btrace/tailcall.exp: Add backtrace test.
2382
066ce621
MM
23832014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2384
2385 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
2386 * gdb.btrace/record_goto.c: New.
2387 * gdb.btrace/record_goto.exp: New.
2388 * gdb.btrace/x86-record_goto.S: New.
2389
0688d04e
MM
23902014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2391
2392 * gdb.btrace/function_call_history.exp: Update tests.
2393 * gdb.btrace/instruction_history.exp: Update tests.
2394
8710b709
MM
23952014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2396
2397 * gdb.btrace/function_call_history.exp: Fix expected field
2398 order for "record function-call-history".
2399 Add new tests for "record function-call-history /c".
2400 * gdb.btrace/exception.cc: New.
2401 * gdb.btrace/exception.exp: New.
2402 * gdb.btrace/tailcall.exp: New.
2403 * gdb.btrace/x86-tailcall.S: New.
2404 * gdb.btrace/x86-tailcall.c: New.
2405 * gdb.btrace/unknown_functions.c: New.
2406 * gdb.btrace/unknown_functions.exp: New.
2407 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2408
5de9129b
MM
24092014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2410
2411 * gdb.btrace/instruction_history.exp: Update.
2412 * gdb.btrace/function_call_history.exp: Update.
2413
23a7fe75
MM
24142014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2415
2416 * gdb.btrace/function_call_history.exp: Fix expected function
2417 trace.
2418 * gdb.btrace/instruction_history.exp: Initialize traced.
2419 Remove traced_functions.
2420
724c7dd8
MM
24212014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2422
2423 * gdb.btrace/function_call_history.exp: Update
2424 * gdb.btrace/instruction_history.exp: Update.
2425
6d78d93b
MM
24262014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2427
2428 * gdb.btrace/enable.exp: Update expected text.
2429
93a360cc
OJ
24302014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
2431
2432 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
2433 bytes.
2434
3772b53f
MR
24352014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
2436
2437 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
2438
596662fa
OJ
24392014-01-15 Omair Javaid <omair.javaid@linaro.org>
2440
2441 * lib/gdb.exp (supports_process_record): Return true for
2442 arm*-linux*. (supports_reverse): Likewise.
2443
b5b08fb4
SC
24442014-01-13 Siva Chandra Reddy <sivachandra@google.com>
2445
2446 PR python/15464
2447 PR python/16113
2448 * gdb.python/py-type.c: Enhance test case.
2449 * gdb.python/py-value-cc.cc: Likewise
2450 * gdb.python/py-type.exp: Add new tests.
2451 * gdb.python/py-value-cc.exp: Likewise
2452
52d7fb13
AA
24532014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2454 Pedro Alves <palves@redhat.com>
2455
2456 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
2457 Make "name" extern.
2458 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
2459 references to ${name}_start by references to ${name}.
2460
a2cd8cfe
JB
24612014-01-10 Joel Brobecker <brobecker@adacore.com>
2462
2463 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
2464
4e23fced
JB
24652014-01-10 Joel Brobecker <brobecker@adacore.com>
2466
2467 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
2468
c6a9e42c
PA
24692014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
2470 Pedro Alves <palves@redhat.com>
2471
2472 * gdb.mi/mi-info-os.exp: Connect to the target with
2473 mi_gdb_target_load.
2474
b7ea362b
PA
24752014-01-08 Pedro Alves <palves@redhat.com>
2476
2477 * gdb.threads/reconnect-signal.c: New file.
2478 * gdb.threads/reconnect-signal.exp: New file.
2479
5e3f4fab
EBM
24802014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2481
2482 * gdb.base/source-dir.exp: New file.
2483
79301218
JB
24842014-01-07 Joel Brobecker <brobecker@adacore.com>
2485
2486 * gdb.ada/mi_interface: New testcase.
2487
8e355c5d
JB
24882014-01-07 Joel Brobecker <brobecker@adacore.com>
2489
2490 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
2491 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
2492 gdb.ada/pp-rec-component/pck.ads: New files.
2493
c0d48811
JB
24942014-01-07 Joel Brobecker <brobecker@adacore.com>
2495
2496 * gdb.python/py-pp-integral.c: New file.
2497 * gdb.python/py-pp-integral.py: New file.
2498 * gdb.python/py-pp-integral.exp: New file.
2499
17b609c3 2500For older changes see ChangeLog-1993-2013.
c906108c 2501\f
8d8cb839
EZ
2502;; Local Variables:
2503;; mode: change-log
2504;; left-margin: 8
2505;; fill-column: 74
2506;; version-control: never
2507;; End:
902f2ccb 2508
14f8b115 2509 Copyright 2014 Free Software Foundation, Inc.
902f2ccb
MC
2510 Copying and distribution of this file, with or without modification,
2511 are permitted provided the copyright notice and this notice are preserved.
This page took 2.053058 seconds and 4 git commands to generate.