* Re: [patch] Use mmap instead of obstack_alloc for dwarf debug sections.
[not found] ` <8ac60eac0906161407s6498913cu5e50e930d599be77@mail.gmail.com>
@ 2009-06-18 9:08 ` Ken Werner
2009-06-18 9:20 ` Ken Werner
0 siblings, 1 reply; 2+ messages in thread
From: Ken Werner @ 2009-06-18 9:08 UTC (permalink / raw)
To: Paul Pluzhnikov, gdb
Paul Pluzhnikov wrote:
> On Tue, Jun 16, 2009 at 1:58 PM, Tom Tromey<tromey@redhat.com> wrote:
>
>> This patch ok.
>
> So committed.
>
> Thanks,
Hi,
I noticed gdb/dwarf2-frame.c:1922 (and :1950) calls dwarf2_get_section_info
with unsigned long* (5th argument). The function expects a bfd_size_type *
(a pointer to an unsigned long long on my machine). Thus the compiler issues
a warning and the gdb build fails because of -Werror. Is it sufficient to
just cast to (bfd_size_type *) or am I missing something?
Regards
-ken
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [patch] Use mmap instead of obstack_alloc for dwarf debug sections.
2009-06-18 9:08 ` [patch] Use mmap instead of obstack_alloc for dwarf debug sections Ken Werner
@ 2009-06-18 9:20 ` Ken Werner
0 siblings, 0 replies; 2+ messages in thread
From: Ken Werner @ 2009-06-18 9:20 UTC (permalink / raw)
To: gdb
Ken Werner wrote:
> Paul Pluzhnikov wrote:
>> On Tue, Jun 16, 2009 at 1:58 PM, Tom Tromey<tromey@redhat.com> wrote:
>>
>>> This patch ok.
>>
>> So committed.
>>
>> Thanks,
>
> Hi,
> I noticed gdb/dwarf2-frame.c:1922 (and :1950) calls
> dwarf2_get_section_info with unsigned long* (5th argument). The function
> expects a bfd_size_type * (a pointer to an unsigned long long on my
> machine). Thus the compiler issues a warning and the gdb build fails
> because of -Werror. Is it sufficient to just cast to (bfd_size_type *) or
> am I missing something? Regards
> -ken
I meant to send this to gdb-patches.
Sorry
-ken
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-06-18 9:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20090527001157.934BD76BC0@localhost>
[not found] ` <m3iqjmt4bn.fsf@fleche.redhat.com>
[not found] ` <8ac60eac0905280956v79d9a84apad9a4370212283b9@mail.gmail.com>
[not found] ` <m3vdniw74z.fsf@fleche.redhat.com>
[not found] ` <8ac60eac0906101839t4d3978fyc1c6d3b3e2eccb6e@mail.gmail.com>
[not found] ` <8ac60eac0906101842y2d2fc9fco331cb4336d9508d0@mail.gmail.com>
[not found] ` <m3zlc80yxc.fsf@fleche.redhat.com>
[not found] ` <8ac60eac0906161342m67c30151lc7f685e0eb36e41f@mail.gmail.com>
[not found] ` <m3y6rrzyi7.fsf@fleche.redhat.com>
[not found] ` <8ac60eac0906161407s6498913cu5e50e930d599be77@mail.gmail.com>
2009-06-18 9:08 ` [patch] Use mmap instead of obstack_alloc for dwarf debug sections Ken Werner
2009-06-18 9:20 ` Ken Werner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox