This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: i386-linux signal backtraces broken
- From: Kevin Buettner <kevinb at redhat dot com>
- To: Daniel Jacobowitz <drow at mvista dot com>, gdb at sources dot redhat dot com
- Date: Thu, 10 Oct 2002 12:06:06 -0700
- Subject: Re: i386-linux signal backtraces broken
- References: <20021010184739.GA15971@nevyn.them.org>
On Oct 10, 2:47pm, Daniel Jacobowitz wrote:
> We have two choices, that I see:
> - Call the code inspection functions always
> - Call the code inspection functions if the name is sigaction, taking
> advantage of the glibc implementation detail that sigaction is the
> only exported name for this function that I can see, and they are
> implemented right after it in the same file.
>
> Option (A) is a performance hit. Option (B) is, well, a little fragile.
>
> Thoughts?
It sounds to me like option (A) is the way to go. How bad is the
performance hit?
Kevin