diff options
author | Per Bothner <per@bothner.com> | 1994-01-16 03:35:19 +0000 |
---|---|---|
committer | Per Bothner <per@bothner.com> | 1994-01-16 03:35:19 +0000 |
commit | 8b564df836ca7baffe636c1a16658cdcb6388080 (patch) | |
tree | 5622cc027bd2c8451128e816ac8dd67376079495 | |
parent | ab5f79719c9519841468ad41d97e6e7d32305698 (diff) | |
download | gdb-8b564df836ca7baffe636c1a16658cdcb6388080.zip gdb-8b564df836ca7baffe636c1a16658cdcb6388080.tar.gz gdb-8b564df836ca7baffe636c1a16658cdcb6388080.tar.bz2 |
* main.c (show_commands): Make return type of extern
history_get be HIST_ENTRY, rather than struct _hist_entry.
(The latter loses with the upcoming merged readline.)
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/main.c | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 967ed7b..0869d0d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +Sat Jan 15 18:27:34 1994 Per Bothner (bothner@kalessin.cygnus.com) + + * main.c (show_commands): Make return type of extern + history_get be HIST_ENTRY, rather than struct _hist_entry. + (The latter loses with the upcoming merged readline.) + Sat Jan 15 10:20:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com) * minsyms.c (prim_record_minimal_symbol_and_info): Make tempstring @@ -1,5 +1,5 @@ /* Top level `main' program for GDB, the GNU debugger. - Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1992 + Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994 Free Software Foundation, Inc. This file is part of GDB. @@ -2186,7 +2186,7 @@ GDB %s (%s", version, host_canonical); fprintf_filtered (stream, "), "); wrap_here(""); - fprintf_filtered (stream, "Copyright 1993 Free Software Foundation, Inc."); + fprintf_filtered (stream, "Copyright 1994 Free Software Foundation, Inc."); } /* ARGSUSED */ @@ -2475,7 +2475,7 @@ show_commands (args, from_tty) than the number of the last command). Relative to history_base. */ int hist_len; - extern struct _hist_entry *history_get PARAMS ((int)); + extern HIST_ENTRY *history_get PARAMS ((int)); extern int history_base; /* Print out some of the commands from the command history. */ |