This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: question about expand_symtabs_matching()
- From: Tom Tromey <tom at tromey dot com>
- To: <gdb at sourceware dot org>
- Cc: Hannes Domani <ssbssa at yahoo dot de>
- Date: Wed, 27 Feb 2019 16:55:46 -0700
- Subject: Re: question about expand_symtabs_matching()
- References: <183519794.10360727.1551304006549.ref@mail.yahoo.com> <183519794.10360727.1551304006549@mail.yahoo.com>
>>>>> "Hannes" == Hannes Domani via gdb <gdb@sourceware.org> writes:
Hannes> And in case a shared library is unloaded, I would have thought
Hannes> that you could just removeall breakpoints in the address range
Hannes> of the shared library.
Yes.
At one point we had discussed this, but I guess it never really
happened. So, something to do :-)
Hannes> What if I have a simple breakpoint like 'break some-file.c:123', is there even any
Hannes> symbol that can be expanded with expand_symtabs_matching()?
Nope, but then again it isn't called in this scenario; at least not if
"some-file.c" exists.
Tom