kim@amdahl.uts.amdahl.com (Kim DeVaughn) (03/04/88)
[ I will refrain from further use of the comp.sys.amiga.tech group, until ] [ it's status has been legitimized. ] In the prelim doc for SDB, it clearly states that macros are automatically saved to a file named "xxxxx.mac", where "xxxxx" is the same name as the program you're sdb'ing. Doesn't work (at least not if you're working out of vd0: ... haven't tried it working out of df0: or df1:). Nor can I find any explicit command that saves the macro definitions. However ... if you create such a file with your favorite text editor, and put macro definitions in it in the usual form (e.g., "x foo cmd1;cmd2;..."), they will get defined, as the .mac file *is* automatically "source'd" at sdb startup-time, as it should be. Actually, it seems you can put *any* sdb command in this file, not just macro definitions, and they will be executed before sdb gives control to the user. /kim -- UUCP: kim@amdahl.amdahl.com or: {sun,decwrl,hplabs,pyramid,ihnp4,uunet,oliveb,cbosgd,ames}!amdahl!kim DDD: 408-746-8462 USPS: Amdahl Corp. M/S 249, 1250 E. Arques Av, Sunnyvale, CA 94086 CIS: 76535,25