Mail Archives: djgpp/1994/12/14/22:10:38
Hi,
Anyone have any ideas on how a program might discover whether it was
invoked normally or via "go32 -d gdb ..."
Our Modula-2 runtime system normally prints a stack-trace by parsing
the output of nm, before aborting an application . Under gdb I just
want to do an INT 3 and let gdb take over. Short of asking the user
"Are you using gdb?(y/n)", I haven't been able to come up with a way
of doing this.
Jeff.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
lederman AT fit DOT qut DOT edu DOT au
_--_|\ Faculty of Information Technology
/ QUT Queensland University of Technology
\_.--._/ Box 2434 Brisbane 4001 AUSTRALIA
v Ph: +61 7 864 5121 Fax: +61 7 864 1282
- Raw text -