public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* dwarf2-frame.c question for maintainers
@ 2004-07-13 22:01 Martin M. Hunt
  2004-07-14 17:29 ` Andrew Cagney
  0 siblings, 1 reply; 11+ messages in thread
From: Martin M. Hunt @ 2004-07-13 22:01 UTC (permalink / raw)
  To: gdb

I'm working on some dwarf2 fixes with kevinb.  In
dwarf2_build_frame_info(), Kevin added 
+unit.signed_addr_p = bfd_get_sign_extend_vma (unit.abfd);

This is useful for fixing several bugs where addresses needed to be
sign-extended.  However, I found that read_reg() also needs to
sign-extend its result.  Passing a pointer to the CU all the way down to
read_reg doesn't seem practical.

I don't have any understanding of the overall structure of this code or
where it is going. I can see several possibilities, including the
obvious one; using a global. So how do I solve this to get the patch
accepted?

Martin

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2004-07-16 20:08 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-13 22:01 dwarf2-frame.c question for maintainers Martin M. Hunt
2004-07-14 17:29 ` Andrew Cagney
2004-07-14 17:56   ` Martin M. Hunt
2004-07-14 19:38     ` Andrew Cagney
2004-07-15 17:32       ` Mark Kettenis
2004-07-15 17:40       ` Martin M. Hunt
2004-07-15 18:15         ` Andrew Cagney
2004-07-15 18:35           ` Martin M. Hunt
2004-07-15 18:45             ` Andrew Cagney
2004-07-15 18:54               ` Martin M. Hunt
2004-07-16 21:16                 ` Jim Blandy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).