[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hpux-devtools
Subject:    Re:  HPUX-DEVTOOLS: Can GDB start debugging in the code before the
From:       Preeti Agarwal <preetia () india ! hp ! com>
Date:       2002-08-28 8:59:22
[Download RAW message or body]


adb ( absolute debugger ) can give the control to the user when the
process is at $START$. The command to be used is ":e"

Regards
Preeti

On Tue, 27 Aug 2002, Dennis Handly wrote:

> Date: Tue, 27 Aug 2002 17:38:14 -0700 (PDT)
> From: Dennis Handly <dhandly@cup.hp.com>
> To: hpux-devtools@cxx.cup.hp.com
> Subject: Re:  HPUX-DEVTOOLS: Can GDB start debugging in the code before
>     the execution of main( )?
> 
> >If DDE had a program without '-g' information it used to start the program
> >off in $START$. Is there any way to get GDB/WDB to do this?
> 
> I don't think any debugger stopped in $START$.  They either went to main
> or never stopped anywhere.  Hmm, I guess dde wanted to start the process
> and that is the first instruction.
> 
> What are you really trying to do?
> 
> >(gdb) b '$START$'
> >This wont stop it.
> Andy.
> 
> This seems a bug.  This used to work even in xdb.  Please contact the
> Response Center and file a bug report.
> 
> You can set a breakpoint in _start.
> If you have shared libs, you might try "catch load".
>  _________________________________________________________________
>  To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
>     with the message UNSUBSCRIBE hpux-devtools
>  _________________________________________________________________
> 

 _________________________________________________________________
 To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
    with the message UNSUBSCRIBE hpux-devtools
 _________________________________________________________________
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic