This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


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

GDB question




Dear all,
     I am trying to use GDB to read the contents of some register such as the
PRCMD, PSC, and the SYC registers on the V850/SB1 micro. Besides using the
printf statements and reading the memory addresses of these register, is there
any other way that I can read the contents of these registers? I am avoiding the
printf statement because I hope to see the changes inside the register all the
time. The value I read from the memory address is different from what I print
out, so I hope there will be a more reliable way to read the registers.

     Thanks!

--Kah




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