發表文章

目前顯示的是 12月 25, 2018的文章

(GDB) Trying to break on access of certain address for an ARM IP, watchpoints does not seem to work

圖片
2 I am running a C software on an ARM IP (module name is ARM926EJS) provided by Synopsis, and the entire tool I am using is Platform Architect also by Synopsis (based on TLM simulator, the hardware part is implemented in SystemC). I received from my hardware module an address that the software is not supposed to access. Hardware modules cannot see the information of the software (or I may just not know), so I usually attach arm-none-eabi-gdb to the ARM IP during simulation to debug the software. I have to check, but I believe that the ARM IP I am using does not support hardware watchpoint (using only one hardware watchpoint returns "too many hardware watchpoints"). I am trying software watchpoint by typing set can-use-hw-watchpoints 0 I tried to see when the software accesses the strange address by typing watch *(int*)(0x2056604+0xd0000000) which the number is the address that I am receiving on the hardware. However, the program freezes, and the interrupt on gd

President of India

圖片
Ceremonial head of state of India President of the Republic of India State Emblem of India Flag of India Incumbent Ram Nath Kovind since 25 July 2017 Style Honourable (within India and the Commonwealth of Nations) His/ Her Excellency (outside India) Residence Rashtrapati Bhavan Appointer Electoral College of India Term length Five years Renewable Precursor Governor General of India Inaugural holder Rajendra Prasad Formation The Constitution of India 26 January 1950 ; 68 years ago  ( 1950-01-26 ) Deputy Vice President of India Salary ₹ 500,000 (US$7,000) (per month) [1] Website President of India The President of the Republic of India is the ceremonial head of state of India and the commander-in-chief of the Indian Armed Forces. The president is indirectly elected by an electoral college comprising the Parliament of India (both houses) and the legislative assemblies of each of India's states and territories, who themselves are all directly elected. Although the Article 53 of the