This is the mail archive of the gdb@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Breakpoints


Hi all,

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.

I have a stub that supports breakpoints in flash via hardware facility but 
it can set only one breakpoint. If GDB requires more than one at time then 
I am in trouble. My target is 68EZ328 (68000 core, not CPU32, no BDM, has 
its own peculiar emulation mode). My stub currently looks for attempts to 
write trap #1 op-codes to program memory (FLASH) and then instead of 
writing to program memory it sets a hardware breakpoint at the address 
(thanks Stan for the suggestion).

TIA
David Williams

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]