Re: "graph display" command does not work in command file
Fred Krogh <[email protected]> Mon, 29 Apr 2013 16:23:47 -0700
| Newsgroups | gmane.comp.debugging.ddd.general |
|---|---|
| Organization | Math a la Carte |
| Message-ID | <[email protected]> |
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