public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Build failure:  Where is 'struct cmd_list_element' defined?
@ 2002-03-25 14:17 Phil Edwards
  2002-03-25 14:30 ` Elena Zannoni
  0 siblings, 1 reply; 5+ messages in thread
From: Phil Edwards @ 2002-03-25 14:17 UTC (permalink / raw)
  To: insight

I just updated to current CVS and am now seeing the following:


gcc -c -g -O2    -I. -I/home/pme/src/unified/gdb -I/home/pme/src/unified/gdb/config -DHAVE_CONFIG_H -I/home/pme/src/unified/gdb/../include/opcode -I/home/pme/src/unified/gdb/../readline/.. -I../bfd -I/home/pme/src/unified/gdb/../bfd  -I/home/pme/src/unified/gdb/../include -I../intl -I/home/pme/src/unified/gdb/../intl  -DMI_OUT=1 -DGDBTK -DUI_OUT=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized  -I/home/pme/src/unified/gdb/../libgui/src  -I/home/pme/src/unified/itcl/itcl/generic -I/home/pme/src/unified/tix/generic \
-I/home/pme/src/unified/tcl/generic -I/home/pme/src/unified/tk/generic -I/home/pme/src/unified/tk/generic -I/usr/X11R6/include -fwritable-strings\
        /home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c -DGDBTK_LIBRARY=\"/home/pme/build/install-2002-03-25/share/insight1.0\"
/home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c: In function `gdbtk_call_command':
/home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c:521: dereferencing pointer to incomplete type
/home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c:521: dereferencing pointer to incomplete type
/home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c:527: dereferencing pointer to incomplete type
/home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c:533: dereferencing pointer to incomplete type
/home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c: In function `gdbtk_set_hook':
/home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c:552: dereferencing pointer to incomplete type
/home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c:567: dereferencing pointer to incomplete type
/home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c:570: dereferencing pointer to incomplete type
/home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c:576: dereferencing pointer to incomplete type
/home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c:577: dereferencing pointer to incomplete type
/home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c:582: dereferencing pointer to incomplete type
/home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c:587: dereferencing pointer to incomplete type
/home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c:592: dereferencing pointer to incomplete type
/home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c:544: warning: `p' might be used uninitialized in this function
gmake[1]: *** [gdbtk-hooks.o] Error 1


Help, anyone?

-- 
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace.  We seek
not your counsel, nor your arms.  Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen.            - Samuel Adams

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

* Re: Build failure:  Where is 'struct cmd_list_element' defined?
  2002-03-25 14:17 Build failure: Where is 'struct cmd_list_element' defined? Phil Edwards
@ 2002-03-25 14:30 ` Elena Zannoni
  2002-03-25 14:39   ` Andrew Cagney
  0 siblings, 1 reply; 5+ messages in thread
From: Elena Zannoni @ 2002-03-25 14:30 UTC (permalink / raw)
  To: Phil Edwards; +Cc: insight

Phil Edwards writes:
 > I just updated to current CVS and am now seeing the following:

Yeah, I just noticed this myself. Try this.

Elena


Index: gdbtk-hooks.c
===================================================================
RCS file: /cvs/uberbaum/gdb/gdbtk/generic/gdbtk-hooks.c,v
retrieving revision 1.22
diff -u -r1.22 gdbtk-hooks.c
--- gdbtk-hooks.c	2002/03/25 16:45:35	1.22
+++ gdbtk-hooks.c	2002/03/25 19:10:42
@@ -31,6 +31,7 @@
 #include "gdb-events.h"
 #include "top.h"
 #include "annotate.h"
+#include "cli/cli-decode.h"
 
 #ifdef _WIN32
 #define WIN32_LEAN_AND_MEAN


 > 
 > 
 > gcc -c -g -O2    -I. -I/home/pme/src/unified/gdb -I/home/pme/src/unified/gdb/config -DHAVE_CONFIG_H -I/home/pme/src/unified/gdb/../include/opcode -I/home/pme/src/unified/gdb/../readline/.. -I../bfd -I/home/pme/src/unified/gdb/../bfd  -I/home/pme/src/unified/gdb/../include -I../intl -I/home/pme/src/unified/gdb/../intl  -DMI_OUT=1 -DGDBTK -DUI_OUT=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized  -I/home/pme/src/unified/gdb/../libgui/src  -I/home/pme/src/unified/itcl/itcl/generic -I/home/pme/src/unified/tix/generic \
 > -I/home/pme/src/unified/tcl/generic -I/home/pme/src/unified/tk/generic -I/home/pme/src/unified/tk/generic -I/usr/X11R6/include -fwritable-strings\
 >         /home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c -DGDBTK_LIBRARY=\"/home/pme/build/install-2002-03-25/share/insight1.0\"
 > /home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c: In function `gdbtk_call_command':
 > /home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c:521: dereferencing pointer to incomplete type
 > /home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c:521: dereferencing pointer to incomplete type
 > /home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c:527: dereferencing pointer to incomplete type
 > /home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c:533: dereferencing pointer to incomplete type
 > /home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c: In function `gdbtk_set_hook':
 > /home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c:552: dereferencing pointer to incomplete type
 > /home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c:567: dereferencing pointer to incomplete type
 > /home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c:570: dereferencing pointer to incomplete type
 > /home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c:576: dereferencing pointer to incomplete type
 > /home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c:577: dereferencing pointer to incomplete type
 > /home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c:582: dereferencing pointer to incomplete type
 > /home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c:587: dereferencing pointer to incomplete type
 > /home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c:592: dereferencing pointer to incomplete type
 > /home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c:544: warning: `p' might be used uninitialized in this function
 > gmake[1]: *** [gdbtk-hooks.o] Error 1
 > 
 > 
 > Help, anyone?
 > 
 > -- 
 > If ye love wealth greater than liberty, the tranquility of servitude greater
 > than the animating contest for freedom, go home and leave us in peace.  We seek
 > not your counsel, nor your arms.  Crouch down and lick the hand that feeds you;
 > and may posterity forget that ye were our countrymen.            - Samuel Adams

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

* Re: Build failure:  Where is 'struct cmd_list_element' defined?
  2002-03-25 14:30 ` Elena Zannoni
@ 2002-03-25 14:39   ` Andrew Cagney
  2002-03-25 14:45     ` Phil Edwards
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Cagney @ 2002-03-25 14:39 UTC (permalink / raw)
  To: Elena Zannoni; +Cc: Phil Edwards, insight

> Phil Edwards writes:
>  > I just updated to current CVS and am now seeing the following:
> 
> Yeah, I just noticed this myself. Try this.
> 
> Elena

Ulgh, my GDB change - gdb is very slowly tightening the thumbscrews on 
code manipulating internal structures directly.

I'd hope the below is obvious :-)

Andrew


> Index: gdbtk-hooks.c
> ===================================================================
> RCS file: /cvs/uberbaum/gdb/gdbtk/generic/gdbtk-hooks.c,v
> retrieving revision 1.22
> diff -u -r1.22 gdbtk-hooks.c
> --- gdbtk-hooks.c	2002/03/25 16:45:35	1.22
> +++ gdbtk-hooks.c	2002/03/25 19:10:42
> @@ -31,6 +31,7 @@
>  #include "gdb-events.h"
>  #include "top.h"
>  #include "annotate.h"
> +#include "cli/cli-decode.h"
>  
>  #ifdef _WIN32
>  #define WIN32_LEAN_AND_MEAN
> 
> 
>  > 
> 


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

* Re: Build failure:  Where is 'struct cmd_list_element' defined?
  2002-03-25 14:39   ` Andrew Cagney
@ 2002-03-25 14:45     ` Phil Edwards
  2002-03-25 14:59       ` Elena Zannoni
  0 siblings, 1 reply; 5+ messages in thread
From: Phil Edwards @ 2002-03-25 14:45 UTC (permalink / raw)
  To: Andrew Cagney; +Cc: Elena Zannoni, insight

On Mon, Mar 25, 2002 at 05:38:10PM -0500, Andrew Cagney wrote:
> 
> I'd hope the below is obvious :-)

Yep, my "I don't care if you have to grep the entire hard drive, you /will/
find this pattern" script had just found cli-decode when this mail came in.
:-)

Thanks,
Phil

-- 
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace.  We seek
not your counsel, nor your arms.  Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen.            - Samuel Adams

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

* Re: Build failure:  Where is 'struct cmd_list_element' defined?
  2002-03-25 14:45     ` Phil Edwards
@ 2002-03-25 14:59       ` Elena Zannoni
  0 siblings, 0 replies; 5+ messages in thread
From: Elena Zannoni @ 2002-03-25 14:59 UTC (permalink / raw)
  To: Phil Edwards; +Cc: Andrew Cagney, Elena Zannoni, insight

Phil Edwards writes:
 > On Mon, Mar 25, 2002 at 05:38:10PM -0500, Andrew Cagney wrote:
 > > 
 > > I'd hope the below is obvious :-)
 > 
 > Yep, my "I don't care if you have to grep the entire hard drive, you /will/
 > find this pattern" script had just found cli-decode when this mail came in.
 > :-)
 > 

I've checked it in.

Elena


 > Thanks,
 > Phil
 > 
 > -- 
 > If ye love wealth greater than liberty, the tranquility of servitude greater
 > than the animating contest for freedom, go home and leave us in peace.  We seek
 > not your counsel, nor your arms.  Crouch down and lick the hand that feeds you;
 > and may posterity forget that ye were our countrymen.            - Samuel Adams

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

end of thread, other threads:[~2002-03-25 22:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-25 14:17 Build failure: Where is 'struct cmd_list_element' defined? Phil Edwards
2002-03-25 14:30 ` Elena Zannoni
2002-03-25 14:39   ` Andrew Cagney
2002-03-25 14:45     ` Phil Edwards
2002-03-25 14:59       ` Elena Zannoni

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