I was bored and decided to fix gdbinit to support 64 bit binaries. I had tried it before but the solution was a piece of crap (not that this one is much better). I was testing the registers to see if the binary was 32 or 64 bit. Now there is a default setting to 32 bit (change it if you want to default to 64 bit) and two commands, 32bits and 64bits to change between the two types of targets.
Print
Share
Comment
Cite
Upload
Translate
APA
() » gdbinit v7.3. Retrieved from https://www.truth.cx/2010/04/16/gdbinit-v7-3/.
MLA" » gdbinit v7.3." - , https://www.truth.cx/2010/04/16/gdbinit-v7-3/
HARVARD » gdbinit v7.3., viewed ,
VANCOUVER - » gdbinit v7.3. [Internet]. [Accessed ]. Available from: https://www.truth.cx/2010/04/16/gdbinit-v7-3/
CHICAGO" » gdbinit v7.3." - Accessed . https://www.truth.cx/2010/04/16/gdbinit-v7-3/
IEEE" » gdbinit v7.3." [Online]. Available: https://www.truth.cx/2010/04/16/gdbinit-v7-3/. [Accessed: ]