unload (idb mode only)

Unload an image or a core file from the debugger.

Syntax

unload [ {filename|pid,…} ]

Parameters

filename

The executable file to unload.

pid

An integer constant representing the ID of the process to unload.

Description

This command unloads an image or a core file from the debugger.

Core file debugging is not supported on Mac OS* X.

Example

(idb) listobj
section Start Addr End Addr 
------------------------------------------------------------------------ 
/home/user/examples/x_list 
.text 0x8048000 0x8056e3f 
.data 0x8057000 0x805deeb 
.bss 0x805deec 0x805dfb3 
/lib/libdl-2.3.2.so 
.text 0xb7386000 0xb7387dc3 
.data 0xb7388dc4 0xb7388f53 
.bss 0xb7388f54 0xb7388f73 
/lib/tls/libc-2.3.2.so 
.text 0xb7389000 0xb74b94f5 
.data 0xb74ba500 0xb74bcfdb 
.bss 0xb74bcfdc 0xb74bfa8b 
/nfs/cmplr/icc-9.0.031/lib/libunwind.so.5 
.text 0xb74c0000 0xb74c433f 
.data 0xb74c5340 0xb74c5abb 
.bss 0xb74c5abc 0xb74c5c1b 
/nfs/cmplr/icc-9.0.031/lib/libcxa.so.5 
.text 0xb74c6000 0xb74e62b3 
.data 0xb74e7000 0xb74eed37 
.bss 0xb74eed38 0xb74eeeaf 
/nfs/cmplr/icc-9.0.031/lib/libcprts.so.5 
.text 0xb74ef000 0xb758d933 
.data 0xb758e000 0xb75b422f 
.bss 0xb75b4230 0xb75b4c27 
/lib/tls/libm-2.3.2.so 
.text 0xb75b5000 0xb75d5dbf 
.data 0xb75d6dc0 0xb75d6f43 
.bss 0xb75d6f44 0xb75d6f8f 
/lib/ld-2.3.2.so 
.text 0xb75eb000 0xb75fffcf 
.data 0xb7600000 0xb7600533 
.bss 0xb7600534 0xb7600753 
(idb) unload
(idb) listobj
Program is not active 

See Also


Submit feedback on this help topic

Copyright © 1996-2010, Intel Corporation. All rights reserved.