[commit] frame_extra_info_zalloc()
Andrew Cagney
ac131313@redhat.com
Fri Dec 13 08:24:00 GMT 2002
Hello,
The attached adds the method:
struct frame_extra_info *
frame_extra_info_zalloc(fi, sizeof extra info)
to frame.[hc]. It makes it possible for non-frame code to initialize
the extra info field.
I should note that I also experimented with modifying
INIT_EXTRA_FRAME_INFO so that it returned the initialized extra info
(instead of directly setting it). I found, though, that tdep files do
strange things such as initializing extra info in strange places.
Hence, I think this method is easier.
A follow-up patch will modify the init extra info code so that it uses it.
committed,
Andrew
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20021213/ef3c7260/attachment.ksh>
More information about the Gdb-patches
mailing list