Article View: borland.public.cppbuilder.nativeapi
Article #17Re: partially resolved: Re: help sought, possible asm/cpu/other problem???
From: Alan Bellingham
Date: Fri, 18 Jul 2008 11:13
Date: Fri, 18 Jul 2008 11:13
21 lines
2003 bytes
2003 bytes
"dhoke" <dhoke.nojunk@east-shore.com> wrote: >Perhaps it treats the traps of coded int 3's differently from the >breakpoints it sets, in this regard (or not - but right now I don't feel >like trying to figure that out.) I know little about the internal operation of debuggers, but if it sets a breakpoint, it may be replacing the instruction that was at the breakpoint position with the 'int 3'. It knows that it's done so, and when it stops, it can replace the instruction with the original before single-step executing it, and returning the 'int 3' afterwards. On the other hand, an 'int 3' in your compiled code *was* the original instruction. So no replacement was made, and the debugger *has* to treat it differently. (For one, executing the *next* instruction next, rather than the current (replaced) one. Alan Bellingham -- Team Browns ACCU Conference 2009: to be announced
Technical Details
Message-ID:
<veu0849paoflcoovi6nkrjk8gtcf2ap2he@4ax.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!news.isoc.lu!newsgroups.borland.com!not-for-mailReferences:
<487e5d3c$1@newsgroups.borland.com> <488047c1$1@newsgroups.borland.com> <48805fcf$1@newsgroups.borland.com> <4880675b$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,ced19374283c232f X-Google-Attributes: gid10cc67,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Alan Bellingham <alan@lspace.org> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: partially resolved: Re: help sought, possible asm/cpu/other problem??? Date: Fri, 18 Jul 2008 12:13:16 +0100 Organization: Private Reply-To: alan@lspace.org Message-ID: <veu0849paoflcoovi6nkrjk8gtcf2ap2he@4ax.com> References: <487e5d3c$1@newsgroups.borland.com> <488047c1$1@newsgroups.borland.com> <48805fcf$1@newsgroups.borland.com> <4880675b$1@newsgroups.borland.com> X-Newsreader: Forte Agent 4.2/32.1118 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 193.129.251.253 X-Trace: newsgroups.borland.com 1216379595 193.129.251.253 (18 Jul 2008 04:13:15 -0700) Lines: 21 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!news.isoc.lu!newsgroups.borland.com!not-for-mail