Re: [patch] Fix a crash when displaying variables from shared library.

Paul Pluzhnikov
2009-03-06T03:18:51Z

On Thu, Mar 5, 2009 at 7:06 PM, Paul Pluzhnikov <ppluzhnikov@google.com> wrote:

> I am not sure whether:
> A) bp_shlib_event type breakpoints should also be shlib_disable'd, or
> B) disable_breakpoints_in_unloaded_shlib() should only warn about
> bp_breakpoint and bp_hardware_breakpoint type, or
> C) the call to "solib_address (block->startaddr)" should be replaced with
> something like "solib_contains_p (solib, block->startaddr)" (which would
> then work independently of the so_list_head).

Or (D) remove (currently useless) block->startaddr checks, and rely solely on
symbol->section->objfile == solib->objfile check.

Thanks,