This is the mail archive of the gdb-patches@sources.redhat.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]
Other format: [Raw text]

Re: [rfa/arm] Handle bx and blx


> The software single-step implementation in GDB doesn't know either BX or
> BLX.  This results in losing control of the inferior when we single-step
> over them.  I based this on the ARM ARM, so I'm pretty sure I've got the
> numbers correct.
> 
> OK to check in?
> 
> -- 
> Daniel Jacobowitz
> MontaVista Software                         Debian GNU/Linux Developer
> 
> 2004-02-28  Daniel Jacobowitz  <drow@mvista.com>
> 
> 	* arm-tdep.c (thumb_get_next_pc): Handle BX.
> 	(arm_get_next_pc): Handle BX and BLX.

Yikes!  Yes, this is OK.  However, Thumb has BLX (2 variants) as well.

R.


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