This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] Add assert to catch get_frame_arch (NULL) calls
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: brobecker at adacore dot com (Joel Brobecker)
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 15 Jan 2009 16:41:04 +0100 (CET)
- Subject: 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