Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

display ascii char with x/c command #1018

Closed
samas69420 opened this issue Nov 25, 2023 · 2 comments
Closed

display ascii char with x/c command #1018

samas69420 opened this issue Nov 25, 2023 · 2 comments

Comments

@samas69420
Copy link
Contributor

Type of feature request

None

Misc

No response

Summary Description

in gdb "x/c" command shows the hex value as well as its ascii encoding while if using gef it only shows the hex value

Implementation idea/suggestion

i would like to see also the ascii encoding with the x/c command

Existing alternatives?

No response

Additional information

No response

@hugsy
Copy link
Owner

hugsy commented Nov 25, 2023

Your issue comes from a default GDB setting set output-radix 0x10 that starts with GEF.
Feel free to comment this line, or reset to the normal value (set output-radix 0x10)

@hugsy
Copy link
Owner

hugsy commented Nov 29, 2023

Closing as non-issue

@hugsy hugsy closed this as completed Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants