This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] struct context moved
- From: Andrew Cagney <ac131313 at ges dot redhat dot com>
- To: Michal Ludvig <mludvig at suse dot cz>
- Cc: GDB Patches <gdb-patches at sources dot redhat dot com>
- Date: Mon, 08 Jul 2002 14:30:26 -0400
- Subject: Re: [RFA] struct context moved
- References: <3D29A1D5.2010700@suse.cz>
Hi all,
the appended patch moved declaration of struct context and struct context_reg to frame.h, where these two are used in struct frame_info.
OK to commit?
2002-07-08 Michal Ludvig <mludvig@suse.cz>
* dwarf2cfi.c (struct context, struct context_reg): Moved...
* farme.h (struct context, struct context_reg): ...here.
Michal Ludvig
Michael,
I don't understand the rationale behind this.
As a general trend, frame.h / struct frame is becomming increasingly
opaque. I don't see a reason for moving dwarf2cfi specific stuff into
frame.h.
Can I also suggest looking at the unwind functions - they take an
unwind_cache parameter that can be used to save unwind specific information.
Andrew