This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog tracepoint.c
- From: palves at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 20 May 2011 14:41:13 -0000
- Subject: src/gdb ChangeLog tracepoint.c
CVSROOT: /cvs/src
Module name: src
Changes by: palves@sourceware.org 2011-05-20 14:41:13
Modified files:
gdb : ChangeLog tracepoint.c
Log message:
2011-05-20 Pedro Alves <pedro@codesourcery.com>
gdb/
* tracepoint.c: Include exceptions.h.
(TFILE_PID): Move higher in file.
(tfile_open): Delay pushing the tfile target until we're assured
the tfile header is present in the file. Wrap reading the initial
newline-terminated lines in TRY_CATCH. Pop the target if the
initial setup failed. Add the tfile's thread immediately
aftwards, before any non-essential setup. Don't skip
post_create_inferior if there are no traceframes present in the
file.
(tfile_close): Remove redundant check for null before xfree call.
(tfile_thread_alive): New function.
(init_tfile_ops): Register it as to_thread_alive callback.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.13027&r2=1.13028
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/tracepoint.c.diff?cvsroot=src&r1=1.225&r2=1.226