Shell: hexdump command weirdness in fileio
joel.sherrill at OARcorp.com
Wed Apr 16 23:03:05 UTC 2014
On 4/16/2014 5:36 PM, Chris Johns wrote:
> On 17/04/2014 7:31 am, Joel Sherrill wrote:
>> I saw this during the class in Munich but forgot to report it.
>> RTEMS SHELL (Ver.1.0-FRC):/dev/foobar. Apr 14 2014. 'help' to list commands.
>> [/] # hexdump /etc/passwd
>> [/] #
>> Notice that the hexdump command didn't display anything from the file.
>> Did I do something wrong? Or is something broken?
> Nothing wrong. I seem to remember a bug in this code somewhere. I need
> to take a look.
I took a shot at stepping into it and it jumps around like mad. Looks
like it calls memset
and returns which makes no sense at all. :(
> rtems-devel mailing list
> rtems-devel at rtems.org
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the devel