diff options
author | Per Bothner <per@bothner.com> | 1995-12-01 08:04:51 +0000 |
---|---|---|
committer | Per Bothner <per@bothner.com> | 1995-12-01 08:04:51 +0000 |
commit | c8b2ba5d4801584559e674774b640b1da8c74738 (patch) | |
tree | 6efef24b07ba0e71e0e8917bce51d7eaf1f94d92 /gdb | |
parent | b10f8e5e5c3740b78e625251ff9795cf297a0262 (diff) | |
download | gdb-c8b2ba5d4801584559e674774b640b1da8c74738.zip gdb-c8b2ba5d4801584559e674774b640b1da8c74738.tar.gz gdb-c8b2ba5d4801584559e674774b640b1da8c74738.tar.bz2 |
* gdbtypes.c (check_stub_type): Removed; no longes needed.
* ch-exp.c (expect, parse_call): Tweak error messages.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/ch-exp.c | 4 | ||||
-rw-r--r-- | gdb/gdbtypes.c | 7 |
3 files changed, 7 insertions, 9 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 076e30b..09c7adf 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +Thu Nov 30 23:54:17 1995 Per Bothner <bothner@kalessin.cygnus.com> + + * gdbtypes.c (check_stub_type): Removed; no longes needed. + * ch-exp.c (expect, parse_call): Tweak error messages. + Wed Nov 29 13:35:18 1995 Per Bothner <bothner@kalessin.cygnus.com> * scm-valprint.c (scm_isymnames): Remove "#@" prefix. diff --git a/gdb/ch-exp.c b/gdb/ch-exp.c index 28f44fd..4ce2982 100644 --- a/gdb/ch-exp.c +++ b/gdb/ch-exp.c @@ -253,7 +253,7 @@ expect(token, message) if (message) error (message); else if (token < 256) - error ("syntax error - expected a '%c' here '%s'", token, lexptr); + error ("syntax error - expected a '%c' here \"%s\"", token, lexptr); else error ("syntax error"); return 0; @@ -478,7 +478,7 @@ parse_call () } else arglist_len = 0; - expect (')', "expected ')' here"); + expect (')', NULL); arg_count = end_arglist (); write_exp_elt_opcode (MULTI_SUBSCRIPT); write_exp_elt_longcst (arg_count); diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c index 36bf5a2..d023eed 100644 --- a/gdb/gdbtypes.c +++ b/gdb/gdbtypes.c @@ -864,13 +864,6 @@ fill_in_vptr_fieldno (type) struct complaint stub_noname_complaint = {"stub type has NULL name", 0, 0}; -void -check_stub_type (type) - struct type *type; -{ - check_typedef (type); -} - struct type * check_typedef (type) register struct type *type; |