NetBSD-Bugs archive

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

kern/37851: ddb x/{b,h,l,L} command not working and x/m prints bigendian

>Number:         37851
>Category:       kern
>Synopsis:       ddb x/{b,h,l,L} command not working and x/m prints bigendian
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 23 11:40:00 +0000 2008
>Originator:     Reinoud Zandijk
>Release:        NetBSD 4.99.42
System: NetBSD 4.99.42 NetBSD 4.99.42 (GENERIC) #3: 
Wed Dec 19 14:15:55 CET 2007
Architecture: i386
Machine: i386
If in ddb the 'x' command with modifiers 'b','h','l','L' dont print anything:

db{0}> x/b c9d47a40,64

db{0}> x/h c9d47a40,64

db{0}> x/l c9d47a40,64

db{0}> x/L c9d47a40,64


db{0}> x/m c9d47a40,8
0xc9d47a40:     282a9ac0 e41594c0 6c2a9ac0 a80d94c0     (*......l*......
0xc9d47a50:     30229ac0 dc1d94c0 64329ac0 901494c0     0"......d2......

prints *bigendian* values on this i386; quite confusing. If its memory bytes
it should print it should space between the two digits for otherwise it can be

Enter ddb and try to print out some memory with the 'x' command.

In db_examine() (sys/ddb/db_examine.c) the 'b','h','l','L' cores are only
setting up variables but dont print a thing whereas 'o' or 'u' work fine.


Home | Main Index | Thread Index | Old Index