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