> -----Original Message----- > From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On > Behalf Of Ray Mansell > Sent: Monday, August 21, 2006 9:23 AM > To: LINUX-390@VM.MARIST.EDU > Subject: Tracing question > > > Please forgive the naivety of this question, but my knowledge of Linux > is severely limited. > > Back in the good old days of VM and CMS, it was easy to load > a program, > locate it in storage, set a few CP trace traps within it, and > then start > it running. How can I do the same thing in Linux? > Specifically, I'd like > to be able to trace the entire execution of a given program running > under Linux, but I have less than a clue as to how to do that. > > Many thanks... > Ray Mansell
GDB - The GNU Debugger. It use the "ptrace" function in Linux to do these things. It is also a source level debugger if you compiled the program with the "-g" switch. If you just want to see what system calls the program issued, then use the "strace" command. -- John McKown Senior Systems Programmer HealthMarkets Keeping the Promise of Affordable Coverage Administrative Services Group Information Technology This message (including any attachments) contains confidential information intended for a specific individual and purpose, and its content is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this transmission, or taking any action based on it, is strictly prohibited. ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390