This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
Re: Breakpoints
- To: "davidwilliams at ozemail dot com dot au" <davidwilliams at ozemail dot com dot au>, "'gdb mail list'" <gdb at sourceware dot cygnus dot com>
- Subject: Re: Breakpoints
- From: Kevin Buettner <kevinb at cygnus dot com>
- Date: Tue, 21 Dec 1999 20:53:42 -0700
- References: <01BF4C88.F6D54B20.davidwilliams@ozemail.com.au>
On Dec 22, 2:29pm, David Williams wrote:
> Does GDB ever need to set more than one breakpoint when stepping through
> source code? I have not (as yet) seen this type of behaviour.
Can the target do a singlestep in hardware or do you have to do
software emulation? If the latter, when you're stepping by machine
instruction, you'd need two breakpoints on a conditional branch;
one for the branch target, the other for the instruction after the
branch.
Kevin