Article View: gnu.gdb.bug
Article #24Re: gdb 4.7 on HP
From: Steve Chamberlain
Date: Thu, 29 Oct 1992 16:34
Date: Thu, 29 Oct 1992 16:34
40 lines
1814 bytes
1814 bytes
>
> The next, more difficult problem (for me) was that the compiler (cc)
> stopped at compiling bfd/hppa.c. The errors were:
> cc -c -g -I. -I. -I./../include hppa.c
> cc: "hppa.c", line 616: error 1601: Initialization of integer with pointer.
> cc: "hppa.c", line 616: error 1650: Void type illegal in expression.
> cc: "hppa.c", line 616: error 1650: Void type illegal in expression.
>
The problem is that there is a new field in a structure, and
somehow hppa.c didn't get its structure initialization fixed.
I don't know if a leading_symbol_char is appropriate for your
system, but 0 won't hurt.
This is the diff which should get you going.
Steve
===================================================================
RCS file: /cygint/rel/cvsfiles/devo/bfd/hppa.c,v
retrieving revision 1.3
diff -w -c -r1.3 hppa.c
*** 1.3 1992/09/29 15:46:44
--- hppa.c 1992/10/29 16:26:34
***************
*** 610,615 ****
--- 610,621 ----
HAS_SYMS | HAS_LOCALS | DYNAMIC | WP_TEXT | D_PAGED),
(SEC_CODE|SEC_DATA|SEC_ROM|SEC_HAS_CONTENTS
|SEC_ALLOC | SEC_LOAD | SEC_RELOC), /* section flags */
+
+ /* leading_symbol_char: is the first char of a user symbol
+ predictable, and if so what is it */
+ 0,
+
+
' ', /* ar_pad_char */
16, /* ar_max_namelen */
3, /* minimum alignment */
Technical Details
Message-ID:
<9210291634.AA18317@cygnus.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!cygnus.com!sacShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!cygnus.com!sac From: sac@cygnus.com (Steve Chamberlain) Newsgroups: gnu.gdb.bug Subject: Re: gdb 4.7 on HP Message-ID: <9210291634.AA18317@cygnus.com> Date: 29 Oct 92 16:34:06 GMT Article-I.D.: cygnus.9210291634.AA18317 Sender: gnulists@ai.mit.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 40 Approved: bug-gdb@prep.ai.mit.edu