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: [RFA] struct context moved


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




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