[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 execution of main( )?
From:       Dennis Handly <dhandly () cup ! hp ! com>
Date:       2002-08-28 0:38:14
[Download RAW message or body]

>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
 _________________________________________________________________
[prev in list] [next in list] [prev in thread] [next in thread] 

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