This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
Re: QUIT as a function?
- To: gdb at sourceware dot cygnus dot com
- Subject: Re: QUIT as a function?
- From: "Michael Snyder" <msnyder at cygnus dot com>
- Date: Thu, 30 Sep 1999 05:57:46 -0700
- DJ-Gateway: from newsgroup cygnus.gdb
- Newsgroups: cygnus.gdb
- Organization: Cygnus Solutions
- References: <199909171842.LAA10740@andros.cygnus.com>
Stan Shebs wrote in message <199909171842.LAA10740@andros.cygnus.com>...
>
> From: Andrew Cagney <ac131313@cygnus.com>
> Date: Fri, 17 Sep 1999 15:14:42 +1000
>
> Is there any reason for not converting QUIT into a function?
>
>Yes, QUIT appears in the inner loops of the symbol readers, which
>are known to be compute-bound and some of the most time-critical
>code in all GDB.
True, but there's so much going on in those symbol readers
(including file accesses) that I can't believe one function call,
even in the innermost loop, would make a measurable difference.