This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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]

[RFC] Cross-gprof cleanup in gmon_io


Hi folks...

I was recently looking into some problems with binutils 2.11.2 gprof
on NetBSD/alpha, and in the process of fixing it (binutils gprof gets
the size of the "count" member wrong in the "raw_arc" structure on
LP64 platforms -- it uses u_int, even though 4.4BSD used u_long),
eliminated the GMON_PTR_SIZE constant in favor of using the
bits-per-address info in the bfd arch info.  This appears to be
something in the binutils-current gprof TODO list.

Before I port this stuff forward to binutils-current, I would like
some feedback on how I implemented it.

The following patch is against binutils 2.11.2 -- when I'm ready to
officially submit it to the master binutils sources, I'll post an
updated patch with a ChangeLog entry describing it in detail.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>

Attachment: foo
Description: gprof-patch


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