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

Replace $64BITS with sizeof(void *) == 8 #8

Merged
merged 1 commit into from
May 8, 2013
Merged

Replace $64BITS with sizeof(void *) == 8 #8

merged 1 commit into from
May 8, 2013

Conversation

tyilo
Copy link
Contributor

@tyilo tyilo commented Apr 26, 2013

This removes the need of setting $64BITS and calling 32bits or 64bits as this checks the size of pointers at runtime

This removes the need of setting `$64BITS` and calling `32bits` or `64bits` as this checks the size of pointers at runtime
@gdbinit
Copy link
Owner

gdbinit commented May 3, 2013

Thanks for the patch! Never thought before about it before :-)
Gdb seems to recognize the correct size after it attaches or loads a target, which appears to be good enough for this purpose.
Let me test it for a couple of days and merge it.

gdbinit added a commit that referenced this pull request May 8, 2013
Replace $64BITS with sizeof(void *) == 8
@gdbinit gdbinit merged commit f08895c into gdbinit:master May 8, 2013
@tyilo tyilo deleted the patch-2 branch May 8, 2013 10:01
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