is it possible to check the register info change before and after one system call for one thread?

View: New views
3 Messages — Rating Filter:   Alert me  

is it possible to check the register info change before and after one system call for one thread?

by Guanghui, Cheng :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello:
        i want to know whether to know the register info changes before and after one
system call for one thread.
        Especially, the l4_thread_ex_regs could change the pc of one thread. I want
to know the status of other registers after this system call.
        is it possible to use jdb to get this?
        Thanks.
                                                        Cheng Guanghui

_______________________________________________
l4-hackers mailing list
l4-hackers@...
http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers

Re: is it possible to check the register info change before and after one system call for one thread?

by Björn Döbel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Guanghui, Cheng wrote:
> Hello:
> i want to know whether to know the register info changes before and after one
> system call for one thread.
> Especially, the l4_thread_ex_regs could change the pc of one thread. I want
> to know the status of other registers after this system call.
> is it possible to use jdb to get this?

Have you already tried adding an enter_kdebug() before and after the
system call and then looking at the thread's registers?

Bjoern
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEUEARECAAYFAkqyGmkACgkQP5ijxgQLUNnUKACXcZXlcDS8YCVPGpnRYpMHYv6X
NwCeOMLv+4DGP1ywNrqf+I8lzY4X8YE=
=6fcQ
-----END PGP SIGNATURE-----

_______________________________________________
l4-hackers mailing list
l4-hackers@...
http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers

Re: is it possible to check the register info change before and after one system call for one thread?

by Guanghui, Cheng :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thursday 17 September 2009 07:15:55 pm Björn Döbel wrote:
> thread

        Except CS there is no changes about the other registers. It seems that i need
to read the Fiasco source code. But it is ok. Thanks.
                                                Cheng

_______________________________________________
l4-hackers mailing list
l4-hackers@...
http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers