Software Archive
Read-only legacy content
17061 Discussions

how can force idb to core dump ?

ben_barrowes
Beginner
353 Views

Is there any  way to force idb to generate a new core dump file for the programmed being debugged? The new core dump should reflect the state of the file at the cursor location as I step though a file.

 

0 Kudos
1 Reply
Georg_Z_Intel
Employee
353 Views

Hello,

IIRC, IDB does not have a command to create a core file. You might need to set "ulimit -c" and send a signal to the process being debugged in order to create a core file. However, that also is terminating this process and is not what you might have asked for.

For a while now we replaced IDB by GNU* GDB which comes with our compilers (gdb-ia). GDB has a command to create core files: generate-core-file

Best regards,

Georg Zitzlsberger

0 Kudos
Reply