This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Debugging C++ Function Calls
- From: Tom Tromey <tromey at redhat dot com>
- To: Lawrence Crowl <crowl at googlers dot com>
- Cc: "gcc\ at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Wed, 27 Mar 2013 11:16:17 -0600
- Subject: Re: Debugging C++ Function Calls
- References: <CAGqM8fYQTA-t7SLrPcw2UQOG8Yv1GLmhngnDszZ3yfV5QDQmug at mail dot gmail dot com> <87620fs5nj dot fsf at fleche dot redhat dot com> <CAGqM8fb-Cvd-yQ9haOcA7xFpdxioT5UqR6jtwZPUG=So7rXQbg at mail dot gmail dot com> <87y5dbqqns dot fsf at fleche dot redhat dot com> <CAGqM8fbGiVF-x8HUKg8Sc0hUYw1Yv+RFKDf1chEoY4PUmCMbZQ at mail dot gmail dot com>
>>>>> "Lawrence" == Lawrence Crowl <crowl@googlers.com> writes:
Lawrence> Are the symbol searches specific to the scope context, or does it
Lawrence> search all globally defined symbols?
I am not totally certain in this case, but in gdb many searches are
global, so that "print something" works even if "something" is not
locally visible.
Lawrence> There is a weakness in the patch, int that the following is legal.
[...]
Thanks.
Tom