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

scripts: Search symbol address via symbol name #136

Merged
merged 1 commit into from
Oct 27, 2016
Merged

scripts: Search symbol address via symbol name #136

merged 1 commit into from
Oct 27, 2016

Conversation

louisom
Copy link
Contributor

@louisom louisom commented Oct 23, 2016

Introducing symmap.py, this scripts can help developer searching
symbol address via symbol name, default will use config board f9_symmap.c
to parse the information.

Usage: symmap.py [symbol name]

Example:

$ scripts/symmap.py ktimer_handler
Board: discoveryf429
Symbol : ktimer_handler
Address: 0x800339c



class Symmap:

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No blank line here.


def __init__(self):
self.symmap = {}
self.config = MakefileConfig('Makefile')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MakefileConfig sounds weird.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change to ConfigParser

Introducing symmap.py, this scripts can help developer searching
symbol address via symbol name, default will use config board f9_symmap.c
to parse the information.

Usage: symmap.py [symbol name]

Example:

	$ scripts/symmap.py ktimer_handler
	Board: discoveryf429
	Symbol : ktimer_handler
	Address: 0x800339c
@jserv jserv merged commit 6405ba6 into f9micro:master Oct 27, 2016
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