This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


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

Re: 20010807 won't compile for target=arm-elf


On Mon, 13 Aug 2001, Grant Edwards wrote:

>  gcc -c -g -O2    -I. -I. -I./config -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd  -I./../include -I../intl -     I./../intl  -DMI_OUT=1 -DGDBTK -DUI_OUT=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitiali     zed  -I./../libgui/src  -I/home/grante/insight+dejagnu-20010807/itcl/itcl/generic \
>         -I/home/grante/insight+dejagnu-20010807/itcl/itk/generic -I/home/grante/insight+dejagnu-20010807/tix/generic \
> -I/home/grante/insight+dejagnu-20010807/tcl/generic -I/home/grante/insight+dejagnu-20010807/tk/generic -I/home/grante/insight+dejagnu-200108     07/tk/generic -I/usr/X11R6/include \
>         ./gdbtk/generic/gdbtk.c -DGDBTK_LIBRARY=\"/usr/local/share/gdbtcl\"
> gcc -c -g -O2    -I. -I. -I./config -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd  -I./../include -I../intl -     I./../intl  -DMI_OUT=1 -DGDBTK -DUI_OUT=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitiali     zed  -I./../libgui/src  -I/home/grante/insight+dejagnu-20010807/itcl/itcl/generic \
> -I/home/grante/insight+dejagnu-20010807/tix/generic -I/home/grante/insight+dejagnu-20010807/tcl/generic -I/home/grante/insight+dejagnu-20010     807/tk/generic -I/home/grante/insight+dejagnu-20010807/tk/generic -I/usr/X11R6/include   \
>  ./gdbtk/generic/gdbtk-bp.c \
> -DGDBTK_LIBRARY=\"/usr/local/share/gdbtcl\"
> ./gdbtk/generic/gdbtk-bp.c: In function `gdb_get_breakpoint_info':
> ./gdbtk/generic/gdbtk-bp.c:346: structure has no member named `enable'
> ./gdbtk/generic/gdbtk-bp.c:346: `enabled' undeclared (first use in this function)
> ./gdbtk/generic/gdbtk-bp.c:346: (Each undeclared identifier is reported only once
> ./gdbtk/generic/gdbtk-bp.c:346: for each function it appears in.)
> ./gdbtk/generic/gdbtk-bp.c: In function `gdb_set_bp':
> ./gdbtk/generic/gdbtk-bp.c:459: `del' undeclared (first use in this function)
> ./gdbtk/generic/gdbtk-bp.c:461: `donttouch' undeclared (first use in this function)
> ./gdbtk/generic/gdbtk-bp.c:434: warning: `disp' might be used uninitialized in this function
> ./gdbtk/generic/gdbtk-bp.c: In function `gdb_set_bp_addr':
> ./gdbtk/generic/gdbtk-bp.c:541: `del' undeclared (first use in this function)
> ./gdbtk/generic/gdbtk-bp.c:543: `donttouch' undeclared (first use in this function)
> ./gdbtk/generic/gdbtk-bp.c:520: warning: `disp' might be used uninitialized in this function
> ./gdbtk/generic/gdbtk-bp.c: In function `gdb_get_tracepoint_info':
> ./gdbtk/generic/gdbtk-bp.c:820: structure has no member named `enabled'
> make[1]: *** [gdbtk-bp.o] Error 1
> make[1]: Leaving directory `/home/grante/insight+dejagnu-20010807/gdb'
> make: *** [all-gdb] Error 2

This was fixed by the following patch:

2001-08-02  Keith Seitz  <keiths@redhat.com>

        * generic/gdbtk-bp.c (gdb_get_breakpoint_info): Update
        with recent breakpoint structure changes in gdb.
        (gdb_set_bp_addr): Likewise.
        (gdb_get_tracepoint_info): Update with recent tracepoint
        structure changes in gdb.

You need to grab an updated copy of the file.

Keith



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