set listsize (gdb mode only)

Set the default number of source lines for the list command to display.

Syntax

set listsize num

Parameters

num

The default number of source lines that the list command should display.

Description

This command sets the default number of source lines for the list command to display.

Example

(idb) set listsize 10
(idb) list
79
80                         // To sort the array. 
81                         array4[a][b] = array4[c][d];
82
83                         // Set a breakpoint to watch the array. 
84                         array4[c][d] = help; 
85                     } 
86                 } 
87             } 
88         } 
(idb)  

See Also


Submit feedback on this help topic

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