tmedicci commented on PR #16255:
URL: https://github.com/apache/nuttx/pull/16255#issuecomment-2827451906

   > @tmedicci Your fix points out the right direction. Since the `objdump` is 
right, find `byte 00` in it's output, it's easy to find out where the 
disassemble is problematic now.
   > 
   > Here is the disassemble of function `call_start_cpu1` from an "esp-idf" 
`hello world` project: (This also proves that "esp-idf" has included the linker 
script fix in current PR)
   > 
   > The upper is gdb disassemble output, it's unreasonable to understand what 
the code is doing?! The lower is `objdump` output, it's very rational to 
comprehend it's intent. 
![image](https://private-user-images.githubusercontent.com/394099/436829328-88829251-abbb-4224-b2ec-db23eb392b77.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDU0OTQ3ODMsIm5iZiI6MTc0NTQ5NDQ4MywicGF0aCI6Ii8zOTQwOTkvNDM2ODI5MzI4LTg4ODI5MjUxLWFiYmItNDIyNC1iMmVjLWRiMjNlYjM5MmI3Ny5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwNDI0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDQyNFQxMTM0NDNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zNTBhNjU2ZjM5NmI4YTZhNmNlOWI2MjliNjcxMzU4OWM5YjNiNTU3M2E1ZDkyZTc2ODI2NmFlNDk4MTlmZTliJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.QJjnrO8qEtyoNcLTG5t0DGEhMM3_VMBCzx6ufxO8GiM)
   
   Thanks for testing it. I confirmed the behavior and forwarded it internally.
   
   This PR fixes it for objdump, so I think we should merge it and keeps the 
related issue open to track the problem regarding `gdb`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to