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]

Re: regcache (Re: GDB respin)


   Date: Mon, 10 Feb 2003 22:26:34 +0100
   From: Michal Ludvig <mludvig@suse.cz>

   OK, here is the first attempt to use regcache on x86-64 target.
   As I run the testsuite on gdb-5.3 it made no difference on the results 
   and I hope it will improve the mainline a little bit.

   Is the patch OK to commit?

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,

Mark


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]