This is the mail archive of the
insight@sourceware.org
mailing list for the Insight project.
Re: Build error with gdbtk-cmds.c in cvs-head ubuntu 8.0.4 9.0.4
Build is OK now.
Thanks for your work, Keith.
Best regards,
Hui
On Tue, Jan 5, 2010 at 04:16, Keith Seitz <keiths@redhat.com> wrote:
> On 01/03/2010 09:40 PM, Hui Zhu wrote:
>>
>> ../../src/gdb/gdbtk/generic/gdbtk-cmds.c: In function 'gdbtk_load_asm':
>> ../../src/gdb/gdbtk/generic/gdbtk-cmds.c:1903: warning: passing
>> argument 1 of 'print_address_symbolic' makes pointer from integer
>> without a cast
>> ../../src/gdb/gdbtk/generic/gdbtk-cmds.c:1903: warning: passing
>> argument 2 of 'print_address_symbolic' makes integer from pointer
>> without a cast
>> ../../src/gdb/gdbtk/generic/gdbtk-cmds.c:1903: warning: passing
>> argument 3 of 'print_address_symbolic' makes pointer from integer
>> without a cast
>> ../../src/gdb/gdbtk/generic/gdbtk-cmds.c:1903: warning: passing
>> argument 4 of 'print_address_symbolic' makes integer from pointer
>> without a cast
>> ../../src/gdb/gdbtk/generic/gdbtk-cmds.c:1903: error: too few
>> arguments to function 'print_address_symbolic'
>
> I've checked in a patch to address this problem. It's not ideal, but insight
> will need some major work to deal with multi-arch anyway.
>
> Keith
>