Use of the Solaris under MDB

Source: Internet
Author: User

The previous days to configure the daemon, the program can not start, according to the log prompt, is a function error, the error is exactly a library file,

The manufacturer did not provide the source code, the factory did not provide technical support, had to use the MDB disassembly program, debugging process

MDB program name

main+0xce0:b; setting breakpoints

:: run-s; start the program

$r; View register information

:: Step; Single Step execution

Xxx_e_init_engine::d is; disassembly

XXX_E_INIT_ENGINE:B; library functions set breakpoints

:: cont; continue execution

....

XXX_E_INIT_ENGINE+0XBC:CMP%o0, 0;%0 Normal is not 0

Xxx_e_init_engine+0xc0:bne,pt%icc,+0x84 <XXX_E_Init_Engine+0x144>; perform normal return

... Error

Use of the Solaris under MDB

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.