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] Add assert to catch get_frame_arch (NULL) calls


Joel Brobecker wrote:

> > ChangeLog:
> > 
> > 	* frame.c (get_frame_arch): Abort if called with NULL this_frame.
> 
> This would fine for me. I'm slightly concerned about the next release,
> whether this might introduce an unnecessary risk or not.  But this
> will depend on the amount of time that we will take before creating
> the next branch.  I will add that to the list of things to reassess
> before we make the next release.

Agreed.  I've checked this in for now; we can always decide to pull
it back out on the release branch, if necessary.

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]