info line (gdb mode only)

Print start and end address of specified source line.

Syntax

info line num  

Parameters

num

Source line for which you want the start and end address printed.

Description

This command prints the start and end address of the compiled code for the specified source line.

You can specify source lines in any of the formats described for the list command.

Example

(idb)  info line 22
Line 22 of "/site/c_code/hello.c" starts at address 0x0804843e <main+38> and ends at 0x08048456 <main+62>.
(idb)  

(idb)  info line
Line 25 of "/site/c_code/hello.c" starts at address 0x0804846a <main+82> and ends at 0x08048470 <main+88>.

See Also


Submit feedback on this help topic

Copyright © 2001-2011, Intel Corporation. All rights reserved.