Re: [Cgdb-users] Any Command History?
Brought to you by:
bobbybrasko,
crouchingturbo
From: Bob R. <bo...@br...> - 2004-05-07 22:30:35
|
On Fri, May 07, 2004 at 10:16:08PM +0000, James Lee wrote: > Hi, >=20 > I've been using cgdb quite a lot. >=20 > is there any command history in cgdb? The docs are very minimal and I > don't seem to find any discussion on it. Often found myself needing to > repeat some command, but don't like having to do a lot of typing (eg. > examining data values). '!' or '!!' doesn't seem to work. Of course, > if there is readline editing, that will be even better. What version are you using? What system? What version of readline did you link against? At some point (don't know when) we added readline to the TGDB. So, if you start up CGDB, you should be able to do all of the readline commands when typing into the GDB window. This even includes reverse search through the history (^r). Look at $HOME/.tgdb/readline-tgdb.dat. Is the file there? That's the file that stores the history. Thanks, Bob Rossi |