Thread View: gnu.gdb.bug
1 messages
1 total messages
Started by Steve Chamberlain
Thu, 29 Oct 1992 16:34
Re: gdb 4.7 on HP
Author: 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 */
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads