[prev in list] [next in list] [prev in thread] [next in thread]
List: gdb
Subject: Re: breakpoint instruction isn't shown in disassemble or examine (x) commands?
From: Marco Molteni <molter () tin ! it>
Date: 2004-09-30 19:37:35
Message-ID: 20040930213735.31cbb0df.molter () tin ! it
[Download RAW message or body]
On Thu, 30 Sep 2004 Jim Ingham <jingham@apple.com> wrote:
> gdb will always hide the breakpoint trap from you, and show you the
> instruction that is actually going to be run when you get to that pc
> instead. This is on purpose, it would be very confusing, and not at
> all helpful, for folks to see trap instructions showing up in their
> disassembly.
>
> Is there some reason, other than curiosity, the leads you to want to
> see the trap there?
No, just curiosity and looking for confirmation of what I am doing ;-)
> If you are just curious, try running gdb with:
>
> (gdb) set debug target 1
>
> You can see gdb copy out the actual instruction and lay down the
> traps, and lots of other things you may or may not want to know
> about...
that is what I was looking for I think. Thanks.
marco
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic