This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Integration of timed breakpoints into GDB
- From: Tom Tromey <tromey at redhat dot com>
- To: logitech <supriya dot rao17 at gmail dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 03 Oct 2011 11:46:10 -0600
- Subject: Re: Integration of timed breakpoints into GDB
- References: <32418104.post@talk.nabble.com>
>>>>> ">" == logitech <supriya.rao17@gmail.com> writes:
>> I have attached a patch file which integrates timed breakpoints into gdb.
>> http://old.nabble.com/file/p32418104/patchfile.patch patchfile.patch
In addition to the other comments given:
>> The format of the command is "break 'x's 'y'us" where 's' and 'us' stand for
>> seconds and microseconds respectively. Eg. break 1s 0us
I don't think reusing "break" for this is ok.
Instead, make a "catch" subcommand.
I glanced at the implementation and it has various issues. But I will
reserve detailed comment for a resubmission following Keith's comments.
Tom