This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [RFC] redebug - error reporting.
- From: Alexander Monakov <amonakov at ispras dot ru>
- To: Ondřej Bílka <neleai at seznam dot cz>
- Cc: libc-alpha at sourceware dot org
- Date: Fri, 25 Oct 2013 13:10:58 +0400 (MSK)
- Subject: Re: [RFC] redebug - error reporting.
- Authentication-results: sourceware.org; auth=none
- References: <20131021193617 dot GA29829 at domone dot podge> <20131025081750 dot GA17040 at domone>
A programmer doesn't need help from the library to stop the program just
before the abort: put the breakpoint on the aborting function ("free" in your
example) and skip the first non-aborting hits of the breakpoint (using gdb
'ignore' and 'info breakpoints' commands).
Alexander