You signed in with another tab or window. Reload to
8000
refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
x/c does not work and add \n to the ascii_char function? #17
x/c is internal gdb function and afaik it means only the length of the hex display and never displays the correspondent ascii character.
ascii_char is an internal function used somewhere else that requires no newline.
Ah, those would be my two strongest bets on the source of the problem.
Not sure if I want to remove them because they mess a bit the calculations with decimal and hexadecimal values. Need to test it again.
Activity
gdbinit commentedon Mar 17, 2014
x/c is internal gdb function and afaik it means only the length of the hex display and never displays the correspondent ascii character.
ascii_char is an internal function used somewhere else that requires no newline.
shibumi commentedon Mar 17, 2014
thx but why is gdb showing without your config the current ascii character?
I want the same behaviour with your config. How can I fix this?
gdbinit commentedon Mar 17, 2014
I have no idea, probably some setting conflict.
shibumi commentedon Mar 17, 2014
I got the setting conflict...
just uncomment the following lines:
This fixed it for me thx..
gdbinit commentedon Mar 25, 2014
Ah, those would be my two strongest bets on the source of the problem.
Not sure if I want to remove them because they mess a bit the calculations with decimal and hexadecimal values. Need to test it again.
kmlob commentedon Jan 19, 2017
I can confirm it: With the .gdbinit config, x/c is same as x/x.
Above proposal restores the original functionality with x/c.
I counldn't reproduce any problems with the hex/dec calculations: