gdb/source.c: Fix matching path substitute rule listing
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
2
3 * gdb.base/subst.exp: Add tests to verify partial path matching
4 output.
5
6 2014-06-03 Pedro Alves <palves@redhat.com>
7
8 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
9 target that doesn't use software single-stepping.
10
11 2014-06-03 Pedro Alves <palves@redhat.com>
12
13 PR breakpoints/17000
14 * gdb.base/sss-bp-on-user-bp-2.c: New file.
15 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
16
17 2014-06-02 Doug Evans <xdje42@gmail.com>
18
19 * gdb.guile/scm-parameter.exp: New file.
20
21 2014-06-02 Doug Evans <xdje42@gmail.com>
22
23 * gdb.guile/scm-cmd.c: New file.
24 * gdb.guile/scm-cmd.exp: New file.
25
26 2014-06-02 Doug Evans <xdje42@gmail.com>
27
28 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
29 pretty-printer lookup.
30 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
31 (make-pp_s-printer): Call it.
32 (make-pretty-printer-from-dict): New function.
33 (lookup-pretty-printer-maker-from-dict): New function.
34 (*pretty-printer*): Simplify.
35 (make-objfile-pp_s-printer): New function.
36 (install-objfile-pretty-printers!): New function.
37 (make-progspace-pp_s-printer): New function.
38 (install-progspace-pretty-printers!): New function.
39 * gdb.guile/scm-progspace.c: New file.
40 * gdb.guile/scm-progspace.exp: New file.
41
42 2014-06-02 Pedro Alves <palves@redhat.com>
43
44 * gdb.base/dprintf-bp-same-addr.c: New file.
45 * gdb.base/dprintf-bp-same-addr.exp: New file.
46
47 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
48
49 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
50 * gdb.arch/powerpc-power.s: Likewise.
51
52 2014-06-02 Joel Brobecker <brobecker@adacore.com>
53
54 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
55
56 2014-06-01 Yao Qi <yao@codesourcery.com>
57
58 * gdb.base/watchpoint.exp (test_watch_location): Check null
59 pointer can be dereferenced. If not, do the test, otherwise
60 skip it.
61
62 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
63
64 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
65 results.
66 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
67
68 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
69
70 * gdb.arch/amd64-invalid-stack-middle.S: New file.
71 * gdb.arch/amd64-invalid-stack-middle.c: New file.
72 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
73 * gdb.arch/amd64-invalid-stack-top.c: New file.
74 * gdb.arch/amd64-invalid-stack-top.exp: New file.
75
76 2014-05-30 Pedro Alves <palves@redhat.com>
77
78 PR breakpoints/17000
79 * gdb.base/sss-bp-on-user-bp.c: New file.
80 * gdb.base/sss-bp-on-user-bp.exp: New file.
81
82 2014-05-30 David Blaikie <dblaikie@gmail.com>
83
84 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
85 gnu_inline semantics via attribute.
86 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
87 source explicitly specifies the required semantics.
88
89 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
90
91 * gdb.reverse/sigall-reverse.exp: Fix a typo.
92
93 2014-05-29 Pedro Alves <palves@redhat.com>
94 Tom Tromey <tromey@redhat.com>
95
96 * gdb.base/async-shell.exp: Don't enable target-async.
97 * gdb.base/async.exp
98 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
99 parameter. Adjust.
100 (top level): Don't test with "target-async".
101 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
102 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
103 * gdb.base/inferior-died.exp: Don't enable target-async.
104 * gdb.base/interrupt-noterm.exp: Likewise.
105 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
106 * gdb.mi/mi-nonstop-exit.exp: Likewise.
107 * gdb.mi/mi-nonstop.exp: Likewise.
108 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
109 * gdb.mi/mi-nsintrall.exp: Likewise.
110 * gdb.mi/mi-nsmoribund.exp: Likewise.
111 * gdb.mi/mi-nsthrexec.exp: Likewise.
112 * gdb.mi/mi-watch-nonstop.exp: Likewise.
113 * gdb.multi/watchpoint-multi.exp: Adjust comment.
114 * gdb.python/py-evsignal.exp: Don't enable target-async.
115 * gdb.python/py-evthreads.exp: Likewise.
116 * gdb.python/py-prompt.exp: Likewise.
117 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
118 * gdb.server/solib-list.exp: Don't enable target-async.
119 * gdb.threads/thread-specific-bp.exp: Likewise.
120 * lib/mi-support.exp: Adjust to use mi-async.
121
122 2014-05-29 Pedro Alves <palves@redhat.com>
123
124 PR gdb/13860
125 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
126 reason, even in sync mode.
127
128 2014-05-29 Pedro Alves <palves@redhat.com>
129 Hui Zhu <hui@codesourcery.com>
130
131 PR PR15693
132 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
133 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
134 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
135 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
136
137 2014-05-28 Joel Brobecker <brobecker@adacore.com>
138
139 * config/monitor.exp (gdb_target_monitor): Replace use of
140 "set remotebaud" by "set serial baud".
141
142 2014-05-26 Andy Wingo <wingo@igalia.com>
143
144 * gdb.guile/scm-breakpoint.exp:
145 * gdb.guile/scm-gsmob.exp: Update to use plain old object
146 properties instead of gdb-object-properties.
147
148 2014-05-26 Yao Qi <yao@codesourcery.com>
149
150 * gdb.server/no-thread-db.exp: Specify source file name
151 explicitly when setting a breakpoint.
152
153 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
154
155 * gdb.btrace/vdso.c: New.
156 * gdb.btrace/vdso.exp: New.
157
158 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
159
160 * gdb.base/gcore.exp (capture_command_output): Move ...
161 * lib/gdb.exp (capture_command_output): ... here.
162
163 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
164
165 * gdb.btrace/data.exp: Test memory access during btrace replay.
166
167 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
168
169 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
170
171 2014-05-21 Pedro Alves <palves@redhat.com>
172
173 PR gdb/13860
174 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
175 (top level): Test that output related to execution commands is
176 sent to the console with CLI commands, but not with MI commands.
177 Test that breakpoint events are always mirrored to the console.
178 Also expect the new source line to be output after a "next" in
179 async mode too. Make it a pass/fail test.
180 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
181 output.
182 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
183
184 2014-05-21 Pedro Alves <palves@redhat.com>
185
186 * gdb.base/list.exp (build_pattern, test_list): New procedures.
187 Use them to test variations of "list" after reaching a breakpoint.
188 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
189 Test "list" with listsize 10 after reaching a breakpoint.
190 * gdb.python/python.exp (decode_line current location line
191 number): Adjust expected line number.
192
193 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
194
195 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
196 behavior for $args, pass it directly to "run".
197
198 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
199
200 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
201 30000 to 65536.
202
203 2014-05-21 Pedro Alves <palves@redhat.com>
204
205 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
206 auto-connect-native-target off".
207 * gdb.base/auto-connect-native-target.c: New file.
208 * gdb.base/auto-connect-native-target.exp: New file.
209
210 2014-05-21 Pedro Alves <palves@redhat.com>
211
212 * gdb.base/default.exp: Test "target native" instead of "target
213 child".
214
215 2014-05-21 Mark Wielaard <mjw@redhat.com>
216
217 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
218
219 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
220
221 Fix TLS access for -static -pthread.
222 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
223 <HAVE_TLS> (thread_function, main): Initialize it.
224 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
225 Add clean_restart.
226 <$have_tls != "">: Check TLSVAR.
227
228 2014-05-21 Pedro Alves <palves@redhat.com>
229
230 * gdb.base/dcache-line-read-error.c: New.
231 * gdb.base/dcache-line-read-error.exp: New.
232
233 2014-05-20 Pedro Alves <palves@redhat.com>
234
235 * gdb.base/compare-sections.c: New file.
236 * gdb.base/compare-sections.exp: New file.
237
238 2014-05-20 Pedro Alves <palves@redhat.com>
239
240 * gdb.base/break-idempotent.c: New file.
241 * gdb.base/break-idempotent.exp: New file.
242
243 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
244
245 * gdb.btrace/nohist.exp: New.
246
247 2014-05-20 Yao Qi <yao@codesourcery.com>
248
249 * lib/gdb.exp (gdb_init): Set timeout if test file is under
250 gdb.reverse directory and gdb_reverse_timeout exists in board
251 setting.
252 * README: Document gdb_reverse_timeout.
253
254 2014-05-20 Yao Qi <yao@codesourcery.com>
255
256 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
257 'test_file_name'. Treat args as a string instead of a list.
258 (gdb_init): Rename argument 'args' by 'test_file_name'.
259
260 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
261
262 * gdb.arch/powerpc-power.exp: New file.
263 * gdb.arch/powerpc-power.s: New file.
264
265 2014-05-16 Doug Evans <dje@google.com>
266
267 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
268 * gdb.base/completion.exp: Check that all expected files exist
269 before doing file completion.
270
271 2014-05-16 Doug Evans <dje@google.com>
272
273 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
274 Update.
275 (do_syscall_tests_without_xml): Update.
276
277 2014-05-16 Pedro Alves <palves@redhat.com>
278
279 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
280 instead of "unknown output after running".
281
282 2014-05-16 Yao Qi <yao@codesourcery.com>
283
284 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
285 file1.txt from host at the end.
286 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
287
288 2014-05-15 Doug Evans <dje@google.com>
289
290 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
291 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
292 loading file. Add test for TU lookup.
293
294 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
295
296 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
297 calling "-exec-arguments" or "set args" before running the
298 inferior.
299
300 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
301
302 * lib/mi-support.exp (mi_expect_stop): Expect message for
303 inferiors that exit with non-zero exit code.
304
305 2014-05-14 Yao Qi <yao@codesourcery.com>
306
307 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
308 match absolute path on remote host.
309 (test_file_list_exec_source_files): Remove "/" from the
310 pattern.
311
312 2014-05-14 Yao Qi <yao@codesourcery.com>
313
314 * boards/local-remote-host-notty.exp (${board}_file): New
315 proc.
316
317 2014-05-07 Kyle McMartin <kyle@redhat.com>
318
319 Pushed by Joel Brobecker <brobecker@adacore.com>.
320 * gdb.arch/aarch64-atomic-inst.c: New file.
321 * gdb.arch/aarch64-atomic-inst.exp: New file.
322
323 2014-05-07 Yao Qi <yao@codesourcery.com>
324
325 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
326 in current context" too.
327
328 2014-05-05 Keith Seitz <keiths@redhat.com>
329
330 * gdb.linespec/ls-dollar.exp: Add test for linespec
331 file:convenience_variable.
332
333 2014-05-05 Yao Qi <yao@codesourcery.com>
334
335 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
336 traceframes into tfile and ctf trace files. Read data from
337 trace file and test collected data.
338 (gdb_collect_locals_test): Likewise.
339 (gdb_unavailable_registers_test): Likewise.
340 (gdb_unavailable_floats): Likewise.
341 (gdb_collect_globals_test): Likewise.
342 (top-level): Append "ctf" to trace_file_targets if GDB
343 supports.
344
345 2014-05-05 Yao Qi <yao@codesourcery.com>
346
347 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
348 code to ...
349 (gdb_collect_args_test_1): ... it. New proc.
350 (gdb_collect_locals_test): Move some code to ...
351 (gdb_collect_locals_test_1): ... it. New proc.
352 (gdb_unavailable_registers_test): Move some code to ...
353 (gdb_unavailable_registers_test_1): ... it. New proc.
354 (gdb_unavailable_floats): Move some code to ...
355 (gdb_unavailable_floats_1): ... it. New proc.
356
357 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
358
359 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
360 probes to test for bitness recognition.
361 * gdb.arch/amd64-stap-optional-prefix.exp
362 (test_probe_value_without_reg): New procedure.
363 Add code to test for different kinds of bitness.
364
365 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
366
367 PR breakpoints/16889
368 * gdb.arch/amd64-stap-optional-prefix.S: New file.
369 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
370
371 2014-05-01 Pedro Alves <palves@redhat.com>
372
373 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
374 gdb_file_cmd if no file is specified.
375 * boards/native-extended-gdbserver.exp (gdb_load): Use the
376 last_loaded_file to set the remote exec-file.
377
378 2014-05-01 Pedro Alves <palves@redhat.com>
379
380 * boards/local-remote-host.exp: New file.
381
382 2014-05-01 Pedro Alves <palves@redhat.com>
383
384 * boards/local-remote-host.exp: Rename to ...
385 * boards/local-remote-host-notty.exp: ... this.
386
387 2014-04-28 Joel Brobecker <brobecker@adacore.com>
388
389 * gdb.ada/dyn_arrayidx: New testcase.
390
391 2014-04-26 Yao Qi <yao@codesourcery.com>
392
393 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
394 and compute the length of function main. Save it in
395 $main_length.
396 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
397 (top-level): Use gdb_compile to compile objects into
398 executable and restart GDB. Remove invocation to
399 prepare_for_testing.
400
401 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
402 Pedro Alves <palves@redhat.com>
403
404 PR server/16255
405 * gdb.multi/multi-attach.c: New file.
406 * gdb.multi/multi-attach.exp: New file.
407
408 2014-04-25 Pedro Alves <palves@redhat.com>
409
410 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
411 user.
412 (top level): Test that "set remote conditional-breakpoints-packet
413 off" works as intended.
414 * gdb.base/dprintf.exp: Test that "set remote
415 breakpoint-commands-packet off" works as intended.
416 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
417 New function.
418 (top level): Call it.
419 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
420 remote fast-tracepoints-packet off" works as intended.
421 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
422 * lib/gdb.exp (gdb_is_target_remote): ... here.
423
424 2014-04-24 David Blaikie <dblaikie@gmail.com>
425
426 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
427 ensure clang would not discard them.
428 * gdb.base/gdbvars.c: Ditto.
429 * gdb.base/memattr.c: Ditto.
430 * gdb.base/whatis.c: Ditto.
431 * gdb.python/py-prettyprint.c: Ditto.
432 * gdb.trace/actions.c: Ditto.
433 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
434 ensure clang would not discard it.
435
436 2014-04-24 David Blaikie <dblaikie@gmail.com>
437
438 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
439 clang to emit the full definition of type required by the test
440 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
441
442 2014-04-24 David Blaikie <dblaikie@gmail.com>
443
444 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
445 coax Clang into emitting the definition of the type.
446 * gdb.cp/pr10728-x.h (y): Ditto.
447 * gdb.cp/pr10728-y.cc (y): Ditto.
448
449 2014-04-24 David Blaikie <dblaikie@gmail.com>
450
451 * gdb.base/label.exp: XFAIL label related tests under Clang.
452 * gdb.cp/cplabel.exp: Ditto.
453 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
454 under Clang those using labels.
455
456 2014-04-25 Yao Qi <yao@codesourcery.com>
457
458 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
459 double_label.
460 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
461 partial_label and double_label.
462
463 2014-04-24 David Blaikie <dblaikie@gmail.com>
464
465 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
466
467 2014-04-24 David Blaikie <dblaikie@gmail.com>
468
469 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
470 of the function to work across GCC and Clang.
471 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
472 pointer types (const void ** const V void **).
473
474 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
475 Walfred Tedeschi <walfred.tedeschi@intel.com>
476
477 * Makefile.in (EXECUTABLES): Added i386-avx512.
478 * gdb.arch/i386-avx512.c: New file.
479 * gdb.arch/i386-avx512.exp: Likewise.
480
481 2014-04-23 Keith Seitz <keiths@redhat.com>
482
483 * lib/mi-support.exp (mi_list_breakpoints): Delete.
484 (mi_make_breakpoint_table): New procedure.
485 (mi_create_breakpoint): Use mi_make_breakpoint
486 and return the result.
487 (mi_make_breakpoint): New procedure.
488 (mi_build_kv_pairs): New procedure.
489
490 * gdb.mi/mi-break.exp: Remove unused globals,
491 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
492 All callers updated.
493 * gdb.mi/mi-dprintf.exp: Use variable to track command
494 number.
495 Update all callers of mi_create_breakpoint and use
496 mi_make_breakpoint_table.
497 Remove any unused global variables.
498 * gdb.mi/mi-nonstop.exp: Likewise.
499 * gdb.mi/mi-nsintrall.exp: Likewise.
500 * gdb.mi/mi-nsmoribund.exp: Likewise.
501 * gdb.mi/mi-nsthrexec.exp: Likewise.
502 * gdb.mi/mi-reverse.exp: Likewise.
503 * gdb.mi/mi-simplerun.exp: Likewise.
504 * gdb.mi/mi-stepn.exp: Likewise.
505 * gdb.mi/mi-syn-frame.exp: Likewise.
506 * gdb.mi/mi-until.exp: Likewise.
507 * gdb.mi/mi-var-cp.exp: Likewise.
508 * gdb.mi/mi-var-display.exp: Likewise.
509 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
510 * gdb.mi/mi2-var-child.exp: Likewise.
511 * gdb.mi/mi-vla-c99.exp: Likewise.
512 * lib/mi-support.exp: Likewise.
513
514 From Ian Lance Taylor <iant@cygnus.com>:
515 * lib/gdb.exp (parse_args): New procedure.
516
517 2014-04-23 Pedro Alves <palves@redhat.com>
518
519 * gdb.base/break-unload-file.c: New file.
520 * gdb.base/break-unload-file.exp: New file.
521 * gdb.base/sym-file-lib.c (baz): New function.
522 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
523 field.
524 (load): Store the segment's mapped size.
525 (unload): New function.
526 (unload_shlib): New function.
527 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
528 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
529 set a breakpoint at baz, and call it.
530 * gdb.base/sym-file.exp: New tests for stale breakpoint
531 instructions.
532
533 2014-04-23 Pedro Alves <palves@redhat.com>
534
535 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
536 * gdb.base/hbreak-in-shr-unsupported.c: New file.
537 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
538 * gdb.base/hbreak-unmapped.c: New file.
539 * gdb.base/hbreak-unmapped.exp: New file.
540 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
541 * lib/gdb.exp (gdb_is_target_remote): ... here.
542
543 2014-04-22 Pedro Alves <palves@redhat.com>
544
545 * gdb.base/consecutive-step-over.c: New file.
546 * gdb.base/consecutive-step-over.exp: New file.
547
548 2014-04-22 Pedro Alves <palves@redhat.com>
549
550 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
551 instead of send_gdb/gdb_expect.
552
553 2014-04-22 Yao Qi <yao@codesourcery.com>
554
555 * lib/trace-support.exp (generate_tracefile): New procedure.
556 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
557 return 0.
558 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
559 if generate_tracefile returns 1.
560
561 2014-04-18 Tom Tromey <palves@redhat.com>
562 Pedro alves <tromey@redhat.com>
563
564 PR backtrace/15558
565 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
566 with a backtrace limit.
567 * gdb.python/py-frame-inline.exp: Test running to an inline
568 function with a backtrace limit, and printing the newest frame.
569 * gdb.python/py-frame-inline.c (main): Call f.
570
571 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
572
573 * gdb.java/jnpe.exp: Drop srcdir from untested path.
574
575 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
576
577 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
578 Drop prefix from unsupported source file path.
579
580 2014-04-17 Yao Qi <yao@codesourcery.com>
581
582 * lib/gdb.exp (with_target_charset): New proc.
583 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
584 with_target_charset.
585 (test_print_strings): Likewise.
586 (test_repeat_bytes): Likewise.
587 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
588 for some tests.
589
590 2014-04-16 Keith Seitz <keiths@redhat.com>
591
592 PR gdb/15827
593 * gdb.dwarf2/corrupt.c: New file.
594 * gdb.dwarf2/corrupt.exp: New file.
595
596 2014-04-16 Keith Seitz <keiths@redhat.com>
597
598 PR c++/16597
599 * gdb.cp/namelessclass.cc: New file.
600 * gdb.cp/namelessclass.exp: New file.
601 * gdb.cp/namelessclass.S: New file.
602
603 2014-04-16 Doug Evans <dje@google.com>
604
605 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
606 Add comment.
607 (gdbserver_default_get_comm_port): New function.
608 (gdbserver_start): Check if board file provided
609 "gdbserver,get_comm_port" and use it if so.
610 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
611 (gdb,socketport): Set to "stdio".
612 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
613 (stdio_gdbserver_template): Delete.
614 (${board}_get_remote_address): Update.
615 (${board}_build_remote_cmd): Delete.
616 (${board}_get_comm_port): New function.
617 (${board}_spawn): Update.
618 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
619 Delete.
620 (${board}_get_remote_address): Update.
621 (${board}_get_comm_port): New function.
622
623 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
624
625 * gdb.base/memattr.exp: Improve regexps to handle memory regions
626 appearing in any order.
627
628 2014-04-15 Doug Evans <dje@google.com>
629
630 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
631 uninitialized value of "description".
632
633 2014-04-15 Keith Seitz <keiths@redhat.com>
634
635 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
636 Remove unused globals.
637 (test_running_the_program): Likewise.
638 (test_controlled_execution): Likewise.
639 (test_controlling_breakpoints): Likewise.
640 (test_program_termination): Likewise.
641
642 2014-04-15 Keith Seitz <keiths@redhat.com>
643
644 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
645 unused globals.
646 (test_rbreak_creation_and_listing): Likewise.
647 (test_ignore_count): Likewise.
648 (test_error): Likewise.
649
650 2014-04-15 Pedro Alves <palves@redhat.com>
651
652 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
653 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
654 sym-file-loader.c.
655 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
656 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
657 to sym-file-loader.c.
658 (struct library): Forward declare.
659 (load_shlib, lookup_function): Change prototypes.
660 (find_shstrtab, find_strtab, find_shdr, find_symtab)
661 (translate_offset): Remove declarations.
662 (get_text_addr): New declaration.
663 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
664 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
665 sym-file-loader.h.
666 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
667 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
668 here from sym-file-loader.h.
669 (struct library): New structure.
670 (load_shlib, lookup_function): Change prototypes and adjust to
671 work with a struct library.
672 (find_shstrtab, find_strtab, find_shdr, find_symtab)
673 (translate_offset): Make static.
674 (get_text_addr): New function.
675 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
676
677 2014-04-15 Pedro Alves <palves@redhat.com>
678
679 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
680
681 2014-04-15 Pedro Alves <palves@redhat.com>
682
683 * gdb.base/sym-file-loader.c: Include <limits.h>.
684 (SELF_LINK): New define.
685 (get_origin): New function.
686 (load_shlib): Use it.
687 * gdb.base/sym-file.exp: Don't early return if the target is
688 remote. Use runto_main, and issue fail is that fails. Use
689 gdb_load_shlibs.
690 (shlib_name): Delete.
691 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
692
693 2014-04-15 Pedro Alves <palves@redhat.com>
694
695 * gdb.base/sym-file.exp: Remove regex characters from test
696 message. Don't refer to breakpoint numbers in test messages.
697
698 2014-04-14 Keith Seitz <keiths@redhat.com>
699
700 PR c++/16253
701 * gdb.cp/var-tag.cc: New file.
702 * gdb.cp/var-tag.exp: New file.
703 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
704 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
705 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
706 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
707
708 2014-04-14 Tom Tromey <tromey@redhat.com>
709
710 * gdb.cp/classes.exp (test_enums): Handle underlying type.
711 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
712 type.
713 * gdb.cp/enum-class.exp: New file.
714 * gdb.cp/enum-class.cc: New file.
715
716 2014-04-14 Tom Tromey <tromey@redhat.com>
717
718 * gdb.dwarf2/enum-type.exp: New file.
719
720 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
721
722 * gdb.mi/mi-vla-c99.exp: New file.
723 * gdb.mi/vla.c: New file.
724
725 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
726
727 * gdb.base/vla-datatypes.c: New file.
728 * gdb.base/vla-datatypes.exp: New file.
729
730 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
731
732 * gdb.base/vla-ptr.c: New file.
733 * gdb.base/vla-ptr.exp: New file.
734
735 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
736
737 * gdb.dwarf2/count.exp: New file.
738
739 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
740
741 * gdb.base/vla-sideeffect.c: New file.
742 * gdb.base/vla-sideeffect.exp: New file.
743
744 2014-04-14 David Blaikie <dblaikie@gmail.com>
745
746 * gdb.mi/non-stop.c: Add return value for non-void function return
747 statement.
748 * gdb.threads/staticthreads.c: Ditto.
749
750 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
751 Doug Evans <xdje42@gmail.com>
752
753 * gdb.guile/scm-value.c: Improve test case.
754 * gdb.guile/scm-value.exp: Add new test.
755
756 2014-04-11 David Blaikie <dblaikie@gmail.com>
757
758 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
759 override Clang's default.
760
761 2014-04-11 Joel Brobecker <brobecker@adacore.com>
762
763 Revert the following changes (regressions):
764
765 * gdb.base/vla-sideeffect.c: New file.
766 * gdb.base/vla-sideeffect.exp: New file.
767
768 * gdb.dwarf2/count.exp: New file.
769
770 * gdb.base/vla-multi.c: New file.
771 * gdb.base/vla-multi.exp: New file.
772
773 * gdb.base/vla-ptr.c: New file.
774 * gdb.base/vla-ptr.exp: New file.
775
776 * gdb.base/vla-datatypes.c: New file.
777 * gdb.base/vla-datatypes.exp: New file.
778
779 * gdb.mi/mi-vla-c99.exp: New file.
780 * gdb.mi/vla.c: New file.
781
782 2014-04-11 Keith Seitz <keiths@redhat.com>
783
784 PR c++/16675
785 * gdb.cp/cpsizeof.exp: New file.
786 * gdb.cp/cpsizeof.cc: New file.
787
788 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
789
790 * gdb.mi/mi-vla-c99.exp: New file.
791 * gdb.mi/vla.c: New file.
792
793 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
794
795 * gdb.base/vla-datatypes.c: New file.
796 * gdb.base/vla-datatypes.exp: New file.
797
798 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
799
800 * gdb.base/vla-ptr.c: New file.
801 * gdb.base/vla-ptr.exp: New file.
802
803 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
804
805 * gdb.base/vla-multi.c: New file.
806 * gdb.base/vla-multi.exp: New file.
807
808 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
809
810 * gdb.dwarf2/count.exp: New file.
811
812 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
813
814 * gdb.base/vla-sideeffect.c: New file.
815 * gdb.base/vla-sideeffect.exp: New file.
816
817 2014-04-11 Yao Qi <yao@codesourcery.com>
818
819 * gdb.base/completion.exp: Check file exists before running tests
820 on file completion.
821
822 2014-04-10 Pedro Alves <palves@redhat.com>
823
824 * gdb.base/cond-eval-mode.c: New file.
825 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
826 prepare_for_testing to build the new file. Check result of
827 runto_main.
828 (test_break, test_watch): New procedures.
829 (top level): Use them.
830
831 2014-04-08 Pierre Muller <muller@sourceware.org>
832
833 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
834 Ctrl-V use for mingw hosts.
835
836 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
837
838 * gdb.python/py-value.c: Improve test case.
839 * gdb.python/py-value.exp: Add new test.
840
841 2014-04-07 David Blaikie <dblaikie@gmail.com>
842
843 * lib/compiler.c: Identify the clang compiler.
844 * lib/compiler.cc: Ditto.
845
846 2014-04-03 Yao Qi <yao@codesourcery.com>
847
848 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
849
850 2014-04-01 Anton Blanchard <anton@samba.org>
851
852 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
853 messages unique.
854
855 2014-04-01 Anton Blanchard <anton@samba.org>
856
857 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
858 prepare_for_testing.
859
860 2014-04-01 Anton Blanchard <anton@samba.org>
861
862 * gdb.arch/ppc64-atomic-inst.c: Remove.
863 * gdb.arch/ppc64-atomic-inst.S: New file.
864 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
865
866 2014-03-31 Doug Evans <dje@google.com>
867
868 * gdb.base/print-symbol-loading-lib.c: New file.
869 * gdb.base/print-symbol-loading-main.c: New file.
870 * gdb.base/print-symbol-loading.exp: New file.
871
872 2014-03-31 Yao Qi <yao@codesourcery.com>
873
874 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
875
876 2014-03-28 Joel Brobecker <brobecker@adacore.com>
877
878 * gdb.ada/mi_dyn_arr: New testcase.
879
880 2014-03-27 Doug Evans <dje@google.com>
881
882 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
883
884 2014-03-27 Yao Qi <yao@codesourcery.com>
885
886 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
887 if target is nios2-*-*.
888
889 2014-03-26 Yao Qi <yao@codesourcery.com>
890
891 * lib/gdb.exp (readline_is_used): New proc.
892 * gdb.base/completion.exp: Move tests on command complete up.
893 Skip the rest of tests if readline is not used.
894 * gdb.ada/complete.exp: Skp the test if readline is not
895 used.
896 * gdb.base/filesym.exp: Likewise.
897 * gdb.base/macscp.exp: Likewise.
898 * gdb.base/readline-ask.exp: Likewise.
899 * gdb.base/readline.exp: Likewise.
900 * gdb.python/py-cmd.exp: Likewise.
901 * gdb.trace/tfile.exp: Likewise.
902
903 2014-03-26 Yao Qi <yao@codesourcery.com>
904
905 * gdb.base/macscp.exp: Fix code format issues.
906
907 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
908
909 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
910 * gdb.asm/powerpc64le.inc: New file.
911
912 2014-03-25 Pedro Alves <palves@redhat.com>
913 Doug Evans <dje@google.com>
914
915 * gdb.base/source-execution.c: New file.
916 * gdb.base/source-execution.exp: New file.
917 * gdb.base/source-execution.gdb: New file.
918
919 2014-03-24 Doug Evans <dje@google.com>
920
921 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
922 using fission.
923
924 2014-03-24 Hui Zhu <hui@codesourcery.com>
925 Pedro Alves <palves@redhat.com>
926
927 PR breakpoints/16101
928 * gdb.base/dprintf.exp: Use unsupported rather than changing the
929 test pass/fail messages. Detect missing support for dprintf when
930 breakpoints are actually inserted.
931 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
932 breakpoints are actually inserted.
933 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
934 fails.
935
936 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
937
938 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
939
940 2014-03-22 Doug Evans <xdje42@gmail.com>
941
942 * gdb.python/python.exp (python not supported): Verify multi-line
943 python command issues an error.
944 * gdb.guile/guile.exp (guile not supported): Verify multi-line
945 guile command issues an error.
946
947 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
948
949 * gdb.threads/thread-specific.exp: Handle the lack of usable
950 $this_breakpoint and $this_thread.
951
952 2014-03-21 Hui Zhu <hui@codesourcery.com>
953
954 * gdb.base/attach.exp (do_command_attach_tests): New.
955
956 2014-03-20 Tom Tromey <tromey@redhat.com>
957 Pedro Alves <palves@redhat.com>
958
959 PR cli/15718
960 * gdb.base/condbreak-call-false.c: New file.
961 * gdb.base/condbreak-call-false.exp: New file.
962
963 2014-03-20 Pedro Alves <palves@redhat.com>
964
965 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
966 Delete.
967 (block_signals, unblock_signals): Delete.
968 (child_function_2, main): Remove references to deleted variable
969 and functions.
970
971 2014-03-20 Pedro Alves <palves@redhat.com>
972
973 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
974 Use pthread_kill to signal thread 2.
975 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
976 Adjust to make the test send itself a signal rather than using the
977 host's "kill" command.
978
979 2014-03-20 Pedro Alves <palves@redhat.com>
980
981 * gdb.threads/multiple-step-overs.c: New file.
982 * gdb.threads/multiple-step-overs.exp: New file.
983 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
984 Adjust expected infrun debug output.
985
986 2014-03-20 Pedro Alves <palves@redhat.com>
987
988 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
989 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
990
991 2014-03-20 Pedro Alves <palves@redhat.com>
992
993 PR breakpoints/7143
994 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
995 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
996 of gdb_test_multiple.
997 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
998 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
999
1000 2014-03-20 Pedro Alves <palves@redhat.com>
1001
1002 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
1003 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
1004
1005 2014-03-19 Pedro Alves <palves@redhat.com>
1006
1007 * gdb.base/async.exp: Remove early return.
1008
1009 2014-03-19 Pedro Alves <palves@redhat.com>
1010
1011 * gdb.base/async.exp (step& tests): Pass explicit test messages.
1012
1013 2014-03-19 Pedro Alves <palves@redhat.com>
1014
1015 * gdb.base/async.exp (test_background): Expect \r\n after
1016 "completed." in the fail pattern.
1017
1018 2014-03-19 Pedro Alves <palves@redhat.com>
1019
1020 * gdb.base/async.exp (test_background): New procedure.
1021 Use it for all background execution command tests.
1022
1023 2014-03-19 Pedro Alves <palves@redhat.com>
1024
1025 * gdb.base/async.exp: Use prepare_for_testing.
1026
1027 2014-03-19 Pedro Alves <palves@redhat.com>
1028
1029 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
1030 the same line.
1031
1032 2014-03-19 Pedro Alves <palves@redhat.com>
1033
1034 * gdb.base/async.c (main): Add "jump here" and "until here" line
1035 marker comments.
1036 * gdb.base/async.exp (jump_here): New global.
1037 (jump& test): Use it.
1038 (until_here): New global.
1039 (until& test): Use it.
1040
1041 2014-03-19 Pedro Alves <palves@redhat.com>
1042
1043 * gdb.base/async.exp: Don't frob gdb_protocol.
1044
1045 2014-03-18 Doug Evans <xdje42@gmail.com>
1046
1047 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
1048 Fix spelling of exec-done-display.
1049
1050 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1051
1052 PR gdb/15358
1053 * gdb.base/gdb-sigterm.c: New file.
1054 * gdb.base/gdb-sigterm.exp: New file.
1055
1056 2014-03-18 Pedro Alves <palves@redhat.com>
1057
1058 PR gdb/13860
1059 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
1060 * lib/mi-support.exp (mi_expect_stop): Add special handling for
1061 solib-event.
1062
1063 2014-03-17 Joel Brobecker <brobecker@adacore.com>
1064
1065 * gdb.ada/pckd_arr_ren: New testcase.
1066
1067 2014-03-13 Doug Evans <xdje42@gmail.com>
1068
1069 PR guile/16612
1070 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
1071 collect after discarding symbols.
1072
1073 2014-03-13 Ludovic Courtès <ludo@gnu.org>
1074 Doug Evans <xdje42@gmail.com>
1075
1076 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
1077 to history survives a gc.
1078
1079 2014-03-13 Pedro Alves <palves@redhat.com>
1080
1081 * gdb.base/default.exp: Don't test "target procfs".
1082
1083 2014-03-13 Pedro Alves <palves@redhat.com>
1084
1085 * gdb.base/default.exp: Update "target child" and "target procfs"
1086 tests to not expect "Unix".
1087
1088 2014-03-12 Tom Tromey <tromey@redhat.com>
1089
1090 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
1091 New procs. Add target-async tests.
1092 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
1093 Add target-async tests.
1094
1095 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1096
1097 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
1098 'func_start' and 'func_end' for the beginning and end of the
1099 function code, respectively.
1100 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
1101 'func_end' instead of 'func' and 'main'.
1102
1103 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1104
1105 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
1106 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
1107 generate the debug info assembler source.
1108
1109 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1110
1111 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
1112 * gdb.dwarf2/arr-subrange.exp: Likewise.
1113 * gdb.dwarf2/dwz.exp: Likewise.
1114 * gdb.dwarf2/method-ptr.exp: Likewise.
1115 * gdb.dwarf2/missing-sig-type.exp: Likewise.
1116 * gdb.dwarf2/subrange.exp: Likewise.
1117 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
1118 * gdb.dwarf2/implptrpiece.exp: Likewise.
1119 * gdb.dwarf2/nostaticblock.exp: Likewise.
1120
1121 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1122
1123 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
1124 directory to absolute path name arguments.
1125
1126 2014-03-10 Joel Brobecker <brobecker@adacore.com>
1127
1128 * gdb.ada/tagged_access: New testcase.
1129
1130 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
1131
1132 * gdb.btrace/data.exp: Update expected output.
1133
1134 2014-03-06 Yao Qi <yao@codesourcery.com>
1135
1136 * gdb.trace/pr16508.exp: New file.
1137
1138 2014-03-05 Pedro Alves <palves@redhat.com>
1139
1140 PR gdb/16575
1141 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
1142 procedure.
1143 (top level): Adjust to use it. Add tests that exercise breakpoint
1144 interaction with the code-cache.
1145
1146 2014-02-26 Ludovic Courtès <ludo@gnu.org>
1147
1148 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
1149 test for 'history-append!'.
1150
1151 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1152
1153 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
1154 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
1155 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
1156 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
1157 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
1158 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
1159
1160 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1161
1162 * testsuite/gdb.python/py-pp-re-notag.c: New file.
1163 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
1164 * testsuite/gdb.python/py-pp-re-notag.p: New file.
1165
1166 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1167
1168 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
1169
1170 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1171
1172 * gdb.dwarf2/arr-stride.c: New file.
1173 * gdb.dwarf2/arr-stride.exp: New file.
1174
1175 2014-02-26 Pedro Alves <palves@redhat.com>
1176
1177 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
1178 that won't ever trigger. Make sure that GDB reports the correct
1179 breakpoint that caused the stop.
1180
1181 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1182
1183 PR gdb/16626
1184 * gdb.base/auto-load-script: New file.
1185 * gdb.base/auto-load.c: New file.
1186 * gdb.base/auto-load.exp: New file.
1187
1188 PR gdb/16626
1189 * gdb.base/auto-load.exp: Fix out-of-srctree run.
1190
1191 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1192
1193 Fix dw2-icycle.exp -fsanitize=address GDB crash.
1194 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
1195
1196 2014-02-24 Doug Evans <dje@google.com>
1197
1198 * lib/gdb.exp (run_on_host): Log error output if program fails.
1199
1200 2014-02-21 Pedro Alves <palves@redhat.com>
1201
1202 * gdb.threads/step-after-sr-lock.c: Rename to ...
1203 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
1204 * gdb.threads/step-after-sr-lock.exp: Rename to ...
1205 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1206 ... this.
1207
1208 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
1209
1210 PR tdep/16397
1211 * gdb.arch/amd64-stap-special-operands.exp: New file.
1212 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
1213 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
1214 * gdb.arch/amd64-stap-triplet.S: Likewise.
1215 * gdb.arch/amd64-stap-triplet.c: Likewise.
1216
1217 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1218
1219 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
1220 in .section pseudo-op.
1221
1222 2014-02-20 lin zuojian <manjian2006@gmail.com>
1223 Joel Brobecker <brobecker@adacore.com>
1224 Doug Evans <xdje42@gmail.com>
1225
1226 PR symtab/16581
1227 * gdb.dwarf2/dw2-icycle.S: New file.
1228 * gdb.dwarf2/dw2-icycle.c: New file.
1229 * gdb.dwarf2/dw2-icycle.exp: New file.
1230
1231 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
1232
1233 * gdb.python/py-value-cc.cc: Improve test case to enable testing
1234 operations on gdb.Value objects.
1235 * gdb.python/py-value-cc.exp: Add new test to test operations on
1236 gdb.Value objects.
1237
1238 2014-02-18 Doug Evans <dje@google.com>
1239
1240 * Makefile.in (TESTS): New variable.
1241 (expanded_tests, expanded_tests_or_none): New variables
1242 (check-single): Pass $(expanded_tests_or_none) to runtest.
1243 (check-parallel): Only run tests in $(TESTS) if non-empty.
1244 (check/no-matching-tests-found): New rule.
1245 * README: Document TESTS makefile variable.
1246
1247 2014-02-18 Doug Evans <dje@google.com>
1248
1249 * Makefile.in (check-parallel): rm -rf outputs temp.
1250
1251 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1252
1253 Fix "ERROR: no fileid for" in the testsuite.
1254 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
1255
1256 2014-02-12 Doug Evans <dje@google.com>
1257
1258 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
1259 (MISCELLANEOUS): New variable.
1260 (clean): rm -rf $(MISCELLANEOUS).
1261 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
1262 dwp live in the same directory as symlinks, with each symlink pointed
1263 to a differently named file in a different directory.
1264
1265 2014-02-11 Doug Evans <dje@google.com>
1266
1267 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
1268 of Tcl file commands.
1269
1270 2014-02-10 Mark Kettenis <kettenis@gnu.org>
1271
1272 * gdb.threads/step-after-sr-lock.exp: Avoid executing
1273 "kill -SIGUSR1 -1".
1274
1275 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1276
1277 * gdb.ada/tick_length_array_enum_idx: New testcase.
1278
1279 2014-02-10 Doug Evans <xdje42@gmail.com>
1280
1281 * configure.ac (AC_OUTPUT): Add gdb.guile.
1282 * configure: Regenerate.
1283 * lib/gdb-guile.exp: New file.
1284 * lib/gdb.exp (get_target_charset): New function.
1285 * gdb.base/help.exp: Update expected output from "apropos apropos".
1286 * gdb.guile/Makefile.in: New file.
1287 * gdb.guile/guile.exp: New file.
1288 * gdb.guile/scm-arch.c: New file.
1289 * gdb.guile/scm-arch.exp: New file.
1290 * gdb.guile/scm-block.c: New file.
1291 * gdb.guile/scm-block.exp: New file.
1292 * gdb.guile/scm-breakpoint.c: New file.
1293 * gdb.guile/scm-breakpoint.exp: New file.
1294 * gdb.guile/scm-disasm.c: New file.
1295 * gdb.guile/scm-disasm.exp: New file.
1296 * gdb.guile/scm-equal.c: New file.
1297 * gdb.guile/scm-equal.exp: New file.
1298 * gdb.guile/scm-error.exp: New file.
1299 * gdb.guile/scm-error.scm: New file.
1300 * gdb.guile/scm-frame-args.c: New file.
1301 * gdb.guile/scm-frame-args.exp: New file.
1302 * gdb.guile/scm-frame-args.scm: New file.
1303 * gdb.guile/scm-frame-inline.c: New file.
1304 * gdb.guile/scm-frame-inline.exp: New file.
1305 * gdb.guile/scm-frame.c: New file.
1306 * gdb.guile/scm-frame.exp: New file.
1307 * gdb.guile/scm-generics.exp: New file.
1308 * gdb.guile/scm-gsmob.exp: New file.
1309 * gdb.guile/scm-iterator.c: New file.
1310 * gdb.guile/scm-iterator.exp: New file.
1311 * gdb.guile/scm-math.c: New file.
1312 * gdb.guile/scm-math.exp: New file.
1313 * gdb.guile/scm-objfile-script-gdb.in: New file.
1314 * gdb.guile/scm-objfile-script.c: New file.
1315 * gdb.guile/scm-objfile-script.exp: New file.
1316 * gdb.guile/scm-objfile.c: New file.
1317 * gdb.guile/scm-objfile.exp: New file.
1318 * gdb.guile/scm-ports.exp: New file.
1319 * gdb.guile/scm-pretty-print.c: New file.
1320 * gdb.guile/scm-pretty-print.exp: New file.
1321 * gdb.guile/scm-pretty-print.scm: New file.
1322 * gdb.guile/scm-section-script.c: New file.
1323 * gdb.guile/scm-section-script.exp: New file.
1324 * gdb.guile/scm-section-script.scm: New file.
1325 * gdb.guile/scm-symbol.c: New file.
1326 * gdb.guile/scm-symbol.exp: New file.
1327 * gdb.guile/scm-symtab-2.c: New file.
1328 * gdb.guile/scm-symtab.c: New file.
1329 * gdb.guile/scm-symtab.exp: New file.
1330 * gdb.guile/scm-type.c: New file.
1331 * gdb.guile/scm-type.exp: New file.
1332 * gdb.guile/scm-value-cc.cc: New file.
1333 * gdb.guile/scm-value-cc.exp: New file.
1334 * gdb.guile/scm-value.c: New file.
1335 * gdb.guile/scm-value.exp: New file.
1336 * gdb.guile/source2.scm: New file.
1337 * gdb.guile/types-module.cc: New file.
1338 * gdb.guile/types-module.exp: New file.
1339
1340 2014-02-10 Yao Qi <yao@codesourcery.com>
1341
1342 PR testsuite/16543
1343 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
1344 * configure: Regenerated.
1345 * Makefile.in: New file.
1346
1347 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1348
1349 * gdb.python/py-framefilter.exp: Fix typo.
1350
1351 2014-02-08 Yao Qi <yao@codesourcery.com>
1352
1353 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
1354 that no =breakpoint-modified is emitted when breakpoints are
1355 modified through MI commands.
1356
1357 2014-02-07 Pedro Alves <pedro@codesourcery.com>
1358 Pedro Alves <palves@redhat.com>
1359
1360 * gdb.threads/step-after-sr-lock.c: New file.
1361 * gdb.threads/step-after-sr-lock.exp: New file.
1362
1363 2014-02-07 Pedro Alves <palves@redhat.com>
1364
1365 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
1366
1367 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1368
1369 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
1370 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
1371
1372 2014-02-06 Doug Evans <xdje42@gmail.com>
1373
1374 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
1375 output.
1376
1377 * gdb.gdb/python-interrupts.exp: New file.
1378
1379 2014-02-05 Yao Qi <yao@codesourcery.com>
1380
1381 * gdb.trace/report.exp (use_collected_data): Test the output
1382 of "info threads" and "info inferiors".
1383
1384 2014-02-05 Yao Qi <yao@codesourcery.com>
1385
1386 Revert this patch:
1387
1388 2013-05-24 Yao Qi <yao@codesourcery.com>
1389
1390 * gdb.trace/tfile.exp: Test inferior and thread.
1391
1392 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1393
1394 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
1395 on a function.
1396 * gdb.base/step-bt.c: Call hello via function pointer to make
1397 sure its first instruction is executed on powerpc64le-linux.
1398
1399 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1400
1401 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
1402
1403 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1404
1405 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
1406 of the test patterns for use on little-endian systems.
1407
1408 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1409
1410 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
1411 (decimal_vector): Fix for little-endian.
1412
1413 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
1414
1415 * gdb.arch/sparc-sysstep.exp: New file.
1416 * gdb.arch/sparc-sysstep.c: Likewise.
1417
1418 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
1419
1420 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1421
1422 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
1423
1424 2014-01-23 Tom Tromey <tromey@redhat.com>
1425
1426 * gdb.ada/array_char_idx: New testcase.
1427
1428 2014-01-23 Tom Tromey <tromey@redhat.com>
1429
1430 PR python/16487:
1431 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
1432 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
1433 classes.
1434
1435 2014-01-23 Tom Tromey <tromey@redhat.com>
1436
1437 PR python/16491:
1438 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
1439 string from an inferior frame.
1440 * gdb.python/py-framefilter-mi.exp: Update.
1441
1442 2014-01-22 Doug Evans <dje@google.com>
1443
1444 * gdb.server/server-mon.exp: Add tests for "set debug-format".
1445
1446 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1447
1448 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
1449
1450 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1451
1452 * gdb.trace/entry-values.exp: Remove excess space character from
1453 regex patterns. Handle s390 call instruction.
1454
1455 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1456
1457 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
1458 define "*_start" label. Make "name" static.
1459 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
1460 ${name} by references to ${name}_start.
1461
1462 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1463
1464 * gdb.base/info-macros.exp: Remove "debug" from the compile
1465 options.
1466
1467 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1468
1469 * gdb.dlang/demangle.exp: New file.
1470
1471 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1472
1473 * gdb.dlang/primitive-types.exp: New file.
1474
1475 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1476
1477 * configure.ac: Create gdb.dlang/Makefile.
1478 * configure: Regenerate.
1479 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
1480 * gdb.dlang/Makefile.in: New file.
1481 * lib/d-support.exp: New file.
1482 * lib/gdb.exp (skip_d_tests): New proc.
1483
1484 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1485
1486 * gdb.btrace/delta.exp: Check reverse stepi.
1487 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
1488 * gdb.btrace/finish.exp: New.
1489 * gdb.btrace/next.exp: New.
1490 * gdb.btrace/nexti.exp: New.
1491 * gdb.btrace/record_goto.c: Add comments.
1492 * gdb.btrace/step.exp: New.
1493 * gdb.btrace/stepi.exp: New.
1494 * gdb.btrace/multi-thread-step.c: New.
1495 * gdb.btrace/multi-thread-step.exp: New.
1496 * gdb.btrace/rn-dl-bind.c: New.
1497 * gdb.btrace/rn-dl-bind.exp: New.
1498 * gdb.btrace/data.c: New.
1499 * gdb.btrace/data.exp: New.
1500 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
1501
1502 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1503
1504 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
1505 * gdb.btrace/exception.exp: Update.
1506 * gdb.btrace/instruction_history.exp: Update.
1507 * gdb.btrace/record_goto.exp: Update.
1508 * gdb.btrace/tailcall.exp: Update.
1509 * gdb.btrace/unknown_functions.exp: Update.
1510 * gdb.btrace/delta.exp: New.
1511
1512 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1513
1514 * gdb.btrace/record_goto.exp: Add backtrace test.
1515 * gdb.btrace/tailcall.exp: Add backtrace test.
1516
1517 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1518
1519 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
1520 * gdb.btrace/record_goto.c: New.
1521 * gdb.btrace/record_goto.exp: New.
1522 * gdb.btrace/x86-record_goto.S: New.
1523
1524 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1525
1526 * gdb.btrace/function_call_history.exp: Update tests.
1527 * gdb.btrace/instruction_history.exp: Update tests.
1528
1529 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1530
1531 * gdb.btrace/function_call_history.exp: Fix expected field
1532 order for "record function-call-history".
1533 Add new tests for "record function-call-history /c".
1534 * gdb.btrace/exception.cc: New.
1535 * gdb.btrace/exception.exp: New.
1536 * gdb.btrace/tailcall.exp: New.
1537 * gdb.btrace/x86-tailcall.S: New.
1538 * gdb.btrace/x86-tailcall.c: New.
1539 * gdb.btrace/unknown_functions.c: New.
1540 * gdb.btrace/unknown_functions.exp: New.
1541 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
1542
1543 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1544
1545 * gdb.btrace/instruction_history.exp: Update.
1546 * gdb.btrace/function_call_history.exp: Update.
1547
1548 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1549
1550 * gdb.btrace/function_call_history.exp: Fix expected function
1551 trace.
1552 * gdb.btrace/instruction_history.exp: Initialize traced.
1553 Remove traced_functions.
1554
1555 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1556
1557 * gdb.btrace/function_call_history.exp: Update
1558 * gdb.btrace/instruction_history.exp: Update.
1559
1560 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1561
1562 * gdb.btrace/enable.exp: Update expected text.
1563
1564 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
1565
1566 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
1567 bytes.
1568
1569 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
1570
1571 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
1572
1573 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
1574
1575 * lib/gdb.exp (supports_process_record): Return true for
1576 arm*-linux*. (supports_reverse): Likewise.
1577
1578 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
1579
1580 PR python/15464
1581 PR python/16113
1582 * gdb.python/py-type.c: Enhance test case.
1583 * gdb.python/py-value-cc.cc: Likewise
1584 * gdb.python/py-type.exp: Add new tests.
1585 * gdb.python/py-value-cc.exp: Likewise
1586
1587 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
1588 Pedro Alves <palves@redhat.com>
1589
1590 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
1591 Make "name" extern.
1592 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
1593 references to ${name}_start by references to ${name}.
1594
1595 2014-01-10 Joel Brobecker <brobecker@adacore.com>
1596
1597 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
1598
1599 2014-01-10 Joel Brobecker <brobecker@adacore.com>
1600
1601 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
1602
1603 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
1604 Pedro Alves <palves@redhat.com>
1605
1606 * gdb.mi/mi-info-os.exp: Connect to the target with
1607 mi_gdb_target_load.
1608
1609 2014-01-08 Pedro Alves <palves@redhat.com>
1610
1611 * gdb.threads/reconnect-signal.c: New file.
1612 * gdb.threads/reconnect-signal.exp: New file.
1613
1614 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1615
1616 * gdb.base/source-dir.exp: New file.
1617
1618 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1619
1620 * gdb.ada/mi_interface: New testcase.
1621
1622 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1623
1624 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
1625 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
1626 gdb.ada/pp-rec-component/pck.ads: New files.
1627
1628 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1629
1630 * gdb.python/py-pp-integral.c: New file.
1631 * gdb.python/py-pp-integral.py: New file.
1632 * gdb.python/py-pp-integral.exp: New file.
1633
1634 For older changes see ChangeLog-1993-2013.
1635 \f
1636 ;; Local Variables:
1637 ;; mode: change-log
1638 ;; left-margin: 8
1639 ;; fill-column: 74
1640 ;; version-control: never
1641 ;; End:
1642
1643 Copyright 2014 Free Software Foundation, Inc.
1644 Copying and distribution of this file, with or without modification,
1645 are permitted provided the copyright notice and this notice are preserved.
This page took 0.067927 seconds and 4 git commands to generate.