Skip to content

configurable colors for addresses - #52

Closed
tecknicaltom wants to merge 0 commit into
longld:masterfrom
tecknicaltom:master
Closed

configurable colors for addresses#52
tecknicaltom wants to merge 0 commit into
longld:masterfrom
tecknicaltom:master

Conversation

@tecknicaltom

Copy link
Copy Markdown

I use a terminal with green text. This means that with peda, rodata
(colored green) and value (no color) both look green and I miss out on
context. I think a setup like this is common among people who use peda.

This change introduces the ability to specify colors for code, data,
rodata, and values via settings. Defaults match the existing setup. Now,
in my .gdbinit, after sourcing peda.py I have:

peda set option color_addr_value white

This commit only allows for the configuration of address colors. Other
color coding is not yet configurable.

@longld

longld commented May 9, 2015

Copy link
Copy Markdown
Owner

What colors (code, value, data, etc) would you use on green terminal? Configurable color themes might be more simple...

@tecknicaltom

Copy link
Copy Markdown
Author

I use the default colors except for:
peda set option color_addr_value white
This lets me differentiate the white values from the green rodata

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants