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: [patch/rfc] Add a sentinel frame


Andrew Cagney wrote:
Hello,

This patch modifies^D^D^D^Dsimplifies the frame code so that there is an extra frame below the innermost frame. That extra frame maps any request for a register onto the regcache.

The thing to notice with this patch is how it eliminates the need to special case a level zero frame when fetching a frame's register. Instead, a register can be fetched using the recursive frame_register() method.

I'll look to commit this in a few days.

Follow on patches include:
- convert d10v to the current frame unwind mechanims
- deprecate methods such as POP_FRAME.

Andrew
Hi Andrew,
I'm getting lots of internal errors due to the fact that this function is called while running x86-64 testsuite on mainline.

+static void
+sentinel_frame_pop (struct frame_info *frame,
+		    void **cache,
+		    struct regcache *regcache)
+{
+  internal_error (__FILE__, __LINE__, "Function sentinal_frame_pop called");
+}
How can I avoid these errors?

Michal Ludvig
--
* SuSE CR, s.r.o     * mludvig@suse.cz
* (+420) 296.545.373 * http://www.suse.cz


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