This is the mail archive of the gdb-patches@sourceware.org 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: [rfc] : current_gdbarch replacement in breakpoint.c


Markus Deuling wrote:

> -      if ((!within_current_scope || fr == get_current_frame ())
> -          && gdbarch_in_function_epilogue_p (current_gdbarch, read_pc ()))
> -	return WP_VALUE_NOT_CHANGED;
> +      if (!within_current_scope)
> +	{
> +	  fr = get_current_frame ();

This does not look correct to me.  The old code checked for the in-epilogue
situation when FR was the current frame; your code simply removes that check.

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com


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