How to build debuggable executable on Solaris?
Neal Norwitz
neal at metaslash.com
Tue Oct 1 17:53:00 EDT 2002
On Tue, 01 Oct 2002 16:33:25 -0400, Skip Montanaro wrote:
>
> Dbx seems okay with the executable (it doesn't warn about not finding
> any debug symbols), but "stop main" doesn't work as I remembered from
> ages ago:
>
> For information about new features see `help changes' To remove this
> message, put `dbxenv suppress_startup_message 7.0' in your
> .dbxrcReading python Reading ld.so.1
> Reading libsocket.so.1
> ...
> Reading libCstd_isa.so.1
> detected a multithreaded program
> (dbx) b main
> b: not found
> (dbx) stop main
> dbx: anachronism: Use 'stop change <variable>' or 'stop cond
> <bool-expr>'. Event specifications without keywords will not be
> accepted in future releases dbx: 'main' is a function or procedure,
> expected variable (dbx) run
I think it should be: stop in main
There is a way to tell dbx to use gdb commands.
I don't remember exactly what you need to do,
but you need to add a line to your .dbxrc file like:
gdb on
http://wwws.sun.com/software/sundev/archive/developer/documentation/mr/READMEs/dbx.html
Neal
More information about the Python-list
mailing list