Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!cs.utexas.edu!uunet!melpar!toppin From: toppin@melpar.UUCP (Doug Toppin) Newsgroups: comp.unix.questions Subject: adb - set function call params? Keywords: adb debugging Message-ID: <224@melpar.UUCP> Date: 3 Aug 89 16:14:23 GMT Distribution: usa Organization: E-Systems, Falls Church, VA Lines: 20 I am using adb heavily for debugging and constantly run into a problem. How can I set the parameters that are to be passed to a function which is started with ':co'? For example: char *something = "a string"; main() { a(); b(something); } If I want to execute 'b' by itself I can do a 'b:co', but if I want to just skip 'a' I have to modify the code. What I want to do is * start 'b' as if it had been invoked by the calling function (so it will return and continue normally) * set the parameter to be sent to 'b' * not have to modify code just for debugging purposes I am running IBM Xenix on the 286. thanks Doug Toppin uunet!melpar!toppin