On Wed, 7 Jun 2000 [EMAIL PROTECTED] wrote:

> 
> I'm having trouble running Dia under gdb.  I can't set break points in
> a plug-in.  (which makes sense sort of) Is there a way around this?
> 
> Breakpoint 1 at 0xfebd79d8: file entity.c, line 561.
> (gdb) run
> Starting program: /home/bennett/work/dia/app/dia 
> Cannot insert breakpoint 1:
> Cannot access memory at address 0xfebd79d8.
> 
> 
> This is on Solaris 2.7, gdb 4.18, gcc 2.95.2, and Dia 0.85.

Set a breakpoint at debug_break(). Then run and set the rest of your
breakpoints from there. debug_break() is a phony function that gets called
after all libraries has been loaded for just this reason.

/ Alex


  • Debugger Erik Bennett
    • Alexander Larsson

Reply via email to