bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

can't build tui


From: Klaus Dittrich
Subject: can't build tui
Date: Sat, 7 Oct 2000 12:37:45 +0200 (METDST)

I tried to compile gdb-5.0 configured with --enable-tui.

In gbd/tui compilation failed with ..

   cc -Ae -c +O2 +Onolimit +Olibcalls +DAportable  -D__HP_CURSES   -I. -I.. -I. 
-I./.. -I./../config -DHAVE_CONFIG_H -I./../../readline -I../../bfd 
-I./../../bfd   -I./../../include -I../../intl -I./../../intl   tuiLayout.c
   cc: "tuiLayout.c", line 637: error 1621: Too few arguments for find_line_pc.
   *** Error exit code 1


Line 637 (tuiLayout.c) looks  ..
case SRC_DATA_COMMAND:
          addr = (Opaque) find_line_pc (
                          current_source_symtab,
                          srcWin->detail.sourceInfo.startLineOrAddr.lineNo);

The declaration of find_line_pc (symtab.h) looks 

find_line_pc PARAMS ((struct symtab *, int, CORE_ADDR *));

Indeed 3 Args are needed.
Any corrections welcome.
-- 
Best regards
Klaus Dittrich

e-mail: address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]