Dear "Thies Peter Thiesen",

In message <[email protected]> you wrote:
> 
> I need a little help:

Please learn to use tools.  For example, "grep" is your friend.

> I want to turn on the debug in file hush.c
> I see in source code “hush.c”, as example:
> 
> debug_printf("parse_stream: ch=%c (%d) m=%d quote=%d - %c\n",
>               ch >= ' ' ? ch : '.', ch, m,
>               dest->quote, ctx->stack == NULL ? '*' : '.');
> 
> What I must do to enable the printing?

Change this "#if 0" into "#if 1" in "common/hush.c":
...
 361 /* define DEBUG_SHELL for debugging output (obviously ;-)) */
 362 #if 0
 363 #define DEBUG_SHELL
 364 #endif

> Were does the printing appear?

On the serial console port.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected]
This cultural mystique surrounding the  biological  function  --  you
realize humans are overly preoccupied with the subject.
        -- Kelinda the Kelvan, "By Any Other Name", stardate 4658.9
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to