#10459: [Debugger] Investigate anomalous single stepping behavior -------------------------------------+---------------------------- Reporter: anevilyak | Owner: anevilyak Type: bug | Status: new Priority: normal | Milestone: R1 Component: Applications/Debugger | Version: R1/Development Resolution: | Keywords: Blocked By: | Blocking: Has a Patch: 0 | Platform: All -------------------------------------+---------------------------- Comment (by bonefish): The three cases do use the same exit code: {{{ 318 8c2: 83 7d e4 05 cmpl $0x5,-0x1c(%ebp) 319 8c6: 75 0c jne 8d4 <_Z1av+0x3c> 320 8c8: be 03 00 00 00 mov $0x3,%esi 321 8cd: bf 00 00 00 00 mov $0x0,%edi 322 8d2: eb 2f jmp 903 <_Z1av+0x6b> 323 8d4: 81 7d e4 ef cd ab 00 cmpl $0xabcdef,-0x1c(%ebp) 324 8db: 75 0c jne 8e9 <_Z1av+0x51> 325 8dd: be 0c 00 00 00 mov $0xc,%esi 326 8e2: bf 00 00 00 00 mov $0x0,%edi 327 8e7: eb 1a jmp 903 <_Z1av+0x6b> 328 8e9: 81 7d e4 e0 2e 00 00 cmpl $0x2ee0,-0x1c(%ebp) 329 8f0: 75 0c jne 8fe <_Z1av+0x66> 330 8f2: be 05 00 00 00 mov $0x5,%esi 331 8f7: bf 00 00 00 00 mov $0x0,%edi 332 8fc: eb 05 jmp 903 <_Z1av+0x6b> }}} It's really just for the destruction of `myA` and the epilogue, though: {{{ 334 903: 83 ec 0c sub $0xc,%esp 335 906: 8d 45 dc lea -0x24(%ebp),%eax 336 909: 50 push %eax 337 90a: e8 51 fd ff ff call 660 <_ZN1AD1Ev@plt> 338 90f: 83 c4 10 add $0x10,%esp 339 912: 83 ff 01 cmp $0x1,%edi 340 915: 75 05 jne 91c <_Z1av+0x84> 341 917: be 11 00 00 00 mov $0x11,%esi 342 91c: 89 f0 mov %esi,%eax 343 91e: 8d 65 f4 lea -0xc(%ebp),%esp 344 921: 5b pop %ebx 345 922: 5e pop %esi 346 923: 5f pop %edi 347 924: 5d pop %ebp 348 925: c3 ret }}} I haven't checked how the addresses match up with the line number info. -- Ticket URL: <https://dev.haiku-os.org/ticket/10459#comment:3> Haiku <https://dev.haiku-os.org> Haiku - the operating system.