what in my registers?

Тема в разделе "WASM.BEGINNERS", создана пользователем nopnopnop, 21 апр 2006.

  1. nopnopnop

    nopnopnop New Member

    Публикаций:
    0
    Регистрация:
    20 апр 2006
    Сообщения:
    15
    hi all
    i trying to debug some part of code(my code) under Debian with
    gdb.Below part of its output.Question:
    what i have in eax and edx?What are that thouse gaps in the
    middle of column 2?
    ------------text from terminal window------------------
    Breakpoint 3, 0x08048431 in DIFFERENT ()
    (gdb) info registers
    eax 0x200 512
    ecx 0xb7eaae75 -1209356683
    edx 0x1 1
    ebx 0x6e000002 1845493762
    esp 0xbfafa0cc 0xbfafa0cc
    ebp 0xbfafa118 0xbfafa118
    ------------text from terminal window--------------------
     
  2. Quantum

    Quantum Паладин дзена

    Публикаций:
    0
    Регистрация:
    6 янв 2003
    Сообщения:
    3.143
    Адрес:
    Ukraine
    nopnopnop



    eax == 0x200 in hex. That's 512 in decimal. edx == 0x1 and 1 is 1 in any numbering system.





    Well, it just prints all the values in hex and in signed decimal for your convenience.
     
  3. nopnopnop

    nopnopnop New Member

    Публикаций:
    0
    Регистрация:
    20 апр 2006
    Сообщения:
    15
    now i see...