This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Target independent extension
- From: Jose Luis Ayala <jayala at die dot upm dot es>
- To: gdb at sources dot redhat dot com
- Date: 06 Feb 2003 12:47:33 +0100
- Subject: Target independent extension
- Organization: Departamento de Ingeniería Electrónica (UniversidadPolitécnica de Madrid)
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."