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]

Target independent extension


Hi!

I'm really newbie on working with GDB internals, but I just need some
simple information to perform some simple modifications :)
At this moment, what I need to do is very easy: to read a hardware
register once per instruction. However, I don't know how to access to
this register (I know there is a read_register function, but I need to
specify the target register in a machine independent way) and where the
next instruction is read or the program counter is incremented.

Could anyone bring some light into darkness?? :) Thanks a lot!

Jose

-- 
--------
Jose L. Ayala Rodrigo		  Phone: 34-91-5495700 ext.420
Dpto. Ingenieria Electronica	  Fax:   34-91-3367323
ETSI Telecomunicacion
Ciudad Universitaria s/n	  Email: jayala@die.upm.es
28040 Madrid (Spain)		  Web:   www.lsi.die.upm.es/~jayala

Linux Registered User #182215        
-------------------------------------------------------------------
"Theory is when you know everything and nothing works;
 practice, when everything works but no one knows why."


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