|
|
Power 6/32 Unix version 1.2b
/* @(#)end.c 2.4 */
/* if you need more space for string constants, increase size of __buffer */
char __buffer[200];
char _bufMax; /* used only to size the buffer */
_end_()
{
#ifndef TAHOE
#ifndef VAX
int x;
x = 1; /* just something to hang a breakpoint on - see proc.c */
#endif
#else
/* proc.c sets r1 == numarg and r0 == the procedure address */
asm("vadrCall:");
asm("calls r1,(r0)");
asm("vadrBreak:");
asm("bpt");
#endif
/* If you want to force certain routines from the standard libraries to be
* available during debugging, place a reference to them here. It is not
* necessary for the call to be a 'complete' one, just enough to force the
* loader to bring it in. For example, saying:
printf();
* is sufficient to load printf (assuming that it wasn't already
* referenced in your normal program modules.
*
* If you do this, do it to YOUR OWN COPY(!!) of end.c, not the main one!
*/
}
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.