![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| finding stack location in C using program | jacques83 | High Level Programming | 12 | 10-23-2006 02:06 PM |
| Register RSA Key fingerprint with JVM 1.4.2 | asawari | UNIX for Dummies Questions & Answers | 0 | 06-14-2006 06:04 AM |
| Can't register | Not registered | Forum Support Area for Unregistered Users & Account Problems | 2 | 01-27-2006 03:46 PM |
| register unsuccessfully | Javier | Forum Support Area for Unregistered Users & Account Problems | 1 | 02-18-2005 06:04 PM |
| Register variables | amatsaka | High Level Programming | 3 | 10-25-2002 09:07 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
How can i find( or list) contents of all registers being used by my program?
Is there any system call or library available for this? ![]() At runtime in my c/c++ program. At runtime using may be some assembly hack!!!!!!!!!!! Last edited by amit gangarade; 10-05-2009 at 01:40 PM.. |
|
|||||
|
how about gdb ? (and 'info registers' of course)
- if you want the contents of the registers, you'll have to use gdb (the gnu debugger) , and after running your program (for a hitherto uncertain time) ,
use the 'info registers' command to examine the registers' contents ; - exactly at which point in time the register snapshot will have to be taken, only you (the author) can tell ; good luck, and success ! alexandre botao Alexandre V. R. Botao | Unix, C/C++, Shell, LDAP, SSL/TLS, SSH, Perl, Java, Python, Security, ... |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|