public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Build error with gdbtk-cmds.c in cvs-head ubuntu 8.0.4 9.0.4
@ 2010-01-04  5:40 Hui Zhu
  2010-01-04 20:16 ` Keith Seitz
  0 siblings, 1 reply; 3+ messages in thread
From: Hui Zhu @ 2010-01-04  5:40 UTC (permalink / raw)
  To: insight

I got:
gcc -g -O2   -I. -I../../src/gdb -I../../src/gdb/common
-I../../src/gdb/config -DLOCALEDIR="\"/usr/local/share/locale\""
-DHAVE_CONFIG_H -I../../src/gdb/../include/opcode
-I../../src/gdb/../readline/.. -I../bfd -I../../src/gdb/../bfd
-I../../src/gdb/../include -I../libdecnumber
-I../../src/gdb/../libdecnumber  -I../../src/gdb/gnulib -Ignulib
-DMI_OUT=1 -DTUI=1  -DGDBTK  -Wall -Wdeclaration-after-statement
-Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused
-Wunused-value -Wno-switch -Wno-char-subscripts -Werror -c -o
gdbtk-cmds.o -MT gdbtk-cmds.o -MMD -MP -MF .deps/gdbtk-cmds.Tpo
-I../../src/gdb/../libgui/src
-I/home/teawater/gdb/cvs/src/tcl/generic
-I/home/teawater/gdb/cvs/src/tk/generic
-DGDBTK_LIBRARY=\"/usr/local/share/insight1.0\"
-DSRC_DIR=\"/home/teawater/gdb/cvs/src/gdb\"
../../src/gdb/gdbtk/generic/gdbtk-cmds.c
cc1: warnings being treated as errors
../../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'
make[2]: *** [gdbtk-cmds.o] Error 1
make[2]: Leaving directory `/home/teawater/gdb/cvs/bgdb/gdb'
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory `/home/teawater/gdb/cvs/bgdb'

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

* Re: Build error with gdbtk-cmds.c in cvs-head ubuntu 8.0.4 9.0.4
  2010-01-04  5:40 Build error with gdbtk-cmds.c in cvs-head ubuntu 8.0.4 9.0.4 Hui Zhu
@ 2010-01-04 20:16 ` Keith Seitz
  2010-01-05  2:39   ` Hui Zhu
  0 siblings, 1 reply; 3+ messages in thread
From: Keith Seitz @ 2010-01-04 20:16 UTC (permalink / raw)
  To: Hui Zhu; +Cc: insight

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

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

* Re: Build error with gdbtk-cmds.c in cvs-head ubuntu 8.0.4 9.0.4
  2010-01-04 20:16 ` Keith Seitz
@ 2010-01-05  2:39   ` Hui Zhu
  0 siblings, 0 replies; 3+ messages in thread
From: Hui Zhu @ 2010-01-05  2:39 UTC (permalink / raw)
  To: Keith Seitz; +Cc: insight

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
>

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

end of thread, other threads:[~2010-01-05  2:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-04  5:40 Build error with gdbtk-cmds.c in cvs-head ubuntu 8.0.4 9.0.4 Hui Zhu
2010-01-04 20:16 ` Keith Seitz
2010-01-05  2:39   ` Hui Zhu

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).