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: [EMAIL PROTECTED]
_______________________________________________
Bug-gdb mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gdb