This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: [RFC] make gdb handle weak function better
- From: Hui Zhu <teawater at gmail dot com>
- To: gdb at sourceware dot org
- Cc: Daniel Jacobowitz <dan at codesourcery dot com>, Chris January <chris dot january at allinea dot com>
- Date: Tue, 9 Aug 2011 17:10:27 +0800
- Subject: Re: [RFC] make gdb handle weak function better
- References: <AANLkTikvyKzEvq1TAHn1LGb4ko2DJ33_9EMicfgKe2Ua@mail.gmail.com> <AANLkTi=xdE6=M09NiP_8Vr6OaRsH0s=1R_w8cfmZi8E3@mail.gmail.com> <1281513884.1935.7.camel@gumtree> <20100811203057.GA25122@caradoc.them.org> <1282119424.1953.1.camel@gumtree>
Now, GDB have support multi-address breakpoint. I think maybe we can
do some work around it to fix it.
Thanks,
Hui
On Wed, Aug 18, 2010 at 16:17, Chris January <chris.january@allinea.com> wrote:
> On Wed, 2010-08-11 at 16:31 -0400, Daniel Jacobowitz wrote:
>> That makes sense, although it may be system-specific. ?Even better
>> would be to revisit our support for multiple-location breakpoints.
>> "break calloc" ought to stop on every instance of calloc.
>
> Aside from breakpoints you still need to know which 'calloc' the dynamic
> linker has bound in order to evaluate function calls, i.e.
> print calloc(100)
> ought to call the same 'calloc' as the inferior.
>
> Regards,
> Chris
>
>
>
>
> This e-mail message may contain confidential and/or privileged information. If you are not an addressee or otherwise authorized to receive this message, you should not use, copy, disclose or take any action based on this e-mail or any information contained in the message.
> If you have received this material in error, please advise the sender immediately by reply e-mail and delete this message. Thank you.
> Allinea Software Limited: Registered in England and Wales No: 6871298
> Registered Address: The Innovation Centre, Warwick Technology Park, Gallows Hill, Warwick, CV34 6UW, United Kingdom
>