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