This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
If I understood Andrew correctly you should only use the cooked
functions here, so the line
regcache_raw_read (regcache, RAX_REGNUM, &addr);
should read
regcahce_cooked_read (regcache, RAX_REGNUM, &addr);
With that change, this is OK.
Thanks,
Ditto from me, Michael, thanks for cleaning this up. Andrew
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |