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: Joel Brobecker <brobecker at adacore dot com>
- To: Ulrich Weigand <uweigand at de dot ibm dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 15 Jan 2009 15:20:10 +0400
- Subject: Re: [rfc] Add assert to catch get_frame_arch (NULL) calls
- References: <200901131806.n0DI6dYw012644@d12av02.megacenter.de.ibm.com>
Hmpf, should have read the rest of my gdb-patches mail before answering
your previous commit - I'm just a little tied up right now, so I just
browse some emails semi-randomly when I have a few minutes of free time.
> 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.
--
Joel