This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch v4 03/24] btrace: change branch trace data structure


On Mon, 23 Sep 2013 08:54:01 +0200, Metzger, Markus T wrote:
> The trace is collected in a cyclic buffer by the h/w.  When the inferior
> stops, GDB reads that buffer which corresponds to the tail of the
> inferior's execution trace.

I somehow expected kernel SIGTRAPs the process when the buffer overflows so
that the buffer could be read in.

OK, GDB code now makes more sense to me, just it should be more described in
the manual, I have made such comment in [patch v6 21/21] after I reply it.


Thanks,
Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]