cancel
Showing results for 
Search instead for 
Did you mean: 

GDB define command not responsive

sba
Associate II
Posted on January 14, 2010 at 17:41

GDB define command not responsive

1 REPLY 1
sba
Associate II
Posted on May 17, 2011 at 15:07

Hi all:

Hopefully someone can help me out here. At the console, I would like to a simple printchar command that takes one argument to a file.

This is what I did, according to the help define documentation I read:

-->define printchar

>shell echo $arg0 >> myFile.txt

>end

>

The problem is, I am stuck there. The define command never ends, so I never regain control of GDB.

I tried to type end, END, an empty prompt, but the --> never shows up again.

Is there something I do wrong? :-?