ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "graph display" command does not work in command file


From: Fred Krogh
Subject: Re: "graph display" command does not work in command file
Date: Mon, 29 Apr 2013 16:23:47 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130414 Thunderbird/17.0.5

On 04/29/2013 03:30 PM, Matthews, Lloyd C (IS) wrote:

I am trying to use this in a command file (invoked with ddd-x):

 

graph display `x \32xw <address>`

 

The command works fine at the gdb prompt, but I get “Undefined command: “graph”” when the command file runs, and the same thing when I try “help graph” at the gdb prompt. How do I get this command to run on ddd startup?


In ~/.gdbinit I have among other things

define gd
echo ddd: graph display $arg0\n
end

In the gdb console I type: gd whatever
and whatever is displayed.

Maybe typing gd simplifies things enough that you would get by with just that?
Fred

reply via email to

[Prev in Thread] Current Thread [Next in Thread]