[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference noted::hackers_v1

Title:-={ H A C K E R S }=-
Notice:Write locked - see NOTED::HACKERS
Moderator:DIEHRD::MORRIS
Created:Thu Feb 20 1986
Last Modified:Mon Aug 03 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:680
Total number of notes:5456

603.0. "Toggling the DEBUG bit ?" by ILO::LENIHAN (John Lenihan 353-91-25128) Mon Nov 23 1987 16:17

T.RTitleUserPersonal
Name
DateLines
603.1OXMYX::POLLAKCounting trees, in the Sahara.Mon Nov 23 1987 16:211
     Something other than $ run/debug ?
603.2TLE::BRETTMon Nov 23 1987 17:5017
    You have to
    
    	(a) add an address to the vector of startup addresses
    
    	(b) turn on the bit
                      
    
    Its an interesting problem in using
    
    	STARLET/LIB.REQ
    	Analyse/image
    	DUMP
    	PATCH/ABSOLUTE
    
          
    
    /Bevin
603.3SETIMAGE from the toolshed.VAXWRK::NEEDLEJeff NeedleMon Nov 23 1987 22:344
    Check out the tool called SETIMAGE in the tool shed on
    METOO::SW_TOOLS_CATALOG.
    
    j.
603.4VIDEO::LEICHTERJJerry LeichterTue Nov 24 1987 01:4155
I KNOW I've posted this before - perhaps in the DEBUG notesfile - but
here we go again....
							-- Jerry
-------------------DEBUG_OFF.COM----------------------
$ o = ""
$ if p2 .nes. "" then o = "/OUTPUT:" + p2
$ patch/absolute/journal:_NL:'o' 'p1'
examine/long 20			! get the link flags longword
deposit/long 20 = <\/2>*2	! clear the LNKDEBUG bit
!
update
$ exit
-------------------DEBUG_ON.COM----------------------
$ o = ""
$ if p2 .nes. "" then o = "/OUTPUT:" + p2
$ on warning then goto move
$! Try to just turn the "LNKDEBUG" bit on
$ patch/absolute/journal:_NL: 'o' 'p1'
examine/word 2
define base = \
!
verify/long base = 7ffedf68
!
examine/long 20			! get the link flags longword
deposit/long 20 = <\/2>*2+1	! set the LNKDEBUG bit
!
update
$ exit
$! No previous entry for debugger in vector, do things the hard way:
$! (insert one)
$move:
$ on warning then continue
$ patch/absolute/journal:_NL:'o' 'p1'
examine/word 2
define base = \
!
examine/long base + 8
define contents = \
deposit/long base + 0c = contents
!
examine/long base + 4
define contents = \
deposit/long base + 8 = contents
!
examine/long base
define contents = \
deposit/long base + 4 = contents
!
deposit/long base = 7ffedf68
!
examine/long 20			! get the link flags longword
deposit/long 20 = <\/2>*2+1	! set the LNKDEBUG bit
!
update
$done:
603.5ILO::LENIHANJohn Lenihan 353-91-25128Tue Nov 24 1987 07:585