🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #10198

Problems generating gdb 3.4 for i386 (SCO)

#10198
From: Marc Maathuis
Date: Fri, 09 Mar 1990 15:46
79 lines
2688 bytes
	GDB version:	3.4
	Machine:	Compaq 386
	OS:		SCO System V 3.2
	Compiler:	cc(1), the Microsoft C compiler.

I had some problems generating GDB.

1) Identifier length
--------------------

   Identifiers like

	rl_completer_word_break_characters
	rl_attempted_completion_function
				      ^
				      |
				      31

   in readline.c and vi_mode.c are truncated to 31 characters.
   (compiler warning C4011)

2) Arguments of rl_read_key() in readline.c
-------------------------------------------

   This function does not take an argument, but it is sometimes called
   with argument "in_stream" in readline.c and vi_mode.c .
   (compiler warning C4087)

3) "static function XXXX not found"
-----------------------------------

   The compiler doesn't like the word static for a function delaration
   within the body of another function, e.g. (readline.c):

	Function *
	rl_named_function (string)
	     char *string;
	{
	  register int i;
	  static int stricmp ();
	....
	
   results in compiler error C2129: "static function stricmp not found"

   This error occurs when compiling:
	- readline.c
	- history.c
	- funmap.c
	- keymaps.c
   The static function declarations concerned, are for:
	- stricmp()
	- memory_error_and_abort()
	- output_character_function()

  
  The problem can be resolved by deleting the word "static" in those
  declarations.

4) yyerror()
------------

  yyerror() as defined in expread.y does not take an argument.
  In the code generated by yacc, yyerror() is called with
  an argument of type "char *".
   (compiler warning C4087)

That's all folks.

We really enjoy the command-history and command-completion
features of GDB 3.4. You are doing a great job overthere !


-- 
Marc Maathuis                         Tel +33 (1) 30 57 00 22
Chorus systemes                       Fax +33 (1) 30 57 00 66
6, avenue Gustave Eiffel              E-mail: mm@chorus.fr (Internet)
78182 St. Quentin en Yvelines Cedex       or: mm%chorus.fr@mcsun.EU.net
France
Technical Details
Message-ID: <9003091546.AA05278@chorus.chorus.fr>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!sunic!uupsi!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!tut.cis.ohio-state.edu!chorus.fr!mm

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5053,f18e077c71cf1a30,start
X-Google-Attributes: gidf5053,public
X-Google-ArrivalTime: 1990-03-09 07:46:11 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!sunic!uupsi!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!tut.cis.ohio-state.edu!chorus.fr!mm
From: mm@chorus.fr (Marc Maathuis)
Newsgroups: gnu.gdb.bug
Subject: Problems generating gdb 3.4 for i386 (SCO)
Message-ID: <9003091546.AA05278@chorus.chorus.fr>
Date: 9 Mar 90 15:46:11 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 79
Posted: Fri Mar  9 16:46:11 1990