aboutsummaryrefslogtreecommitdiff
path: root/gdb/c-exp.y
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1993-03-11 01:56:31 +0000
committerFred Fish <fnf@specifix.com>1993-03-11 01:56:31 +0000
commitf77ad50597b7c74ce8454346940dcfc65aba1dd5 (patch)
tree44e7ab514f237e231a7dcd3a64ff33fa7ba071a8 /gdb/c-exp.y
parent6559fbdb527abbf1a64ab4524693bab9daf3e305 (diff)
downloadgdb-f77ad50597b7c74ce8454346940dcfc65aba1dd5.zip
gdb-f77ad50597b7c74ce8454346940dcfc65aba1dd5.tar.gz
gdb-f77ad50597b7c74ce8454346940dcfc65aba1dd5.tar.bz2
* main.c (source_command): Require an explicit pathname of file
to source, since previous behavior of defaulting to gdb init file was troublesome and undocumented. * printcmd.c (disassemble_command): Add missing '{}' pair to else with two statements. Bug reported by Stephane Tsacas <slt@isoft.fr>. * symtab.c (find_pc_line): Don't complain about zero length or negative length line numbers for the moment, since we may not own the terminal when called, such as when single stepping. (FIXME) * language.h (CAST_IS_CONVERSION): True if current language is C++ as well as C. Fix from Peter Schauer. * environ.c (get_in_environ, set_in_environ, unset_in_environ): Use STREQN macro rather than bare '!strncmp()'. * environ.c (unset_in_environ): Avoid use of memcpy on overlapping memory regions, as suggested by Paul Eggert <eggert@twinsun.com>. * c-exp.y (%union struct): Remove unused ulval as suggested by Paul Eggert <eggert@twinsun.com>.
Diffstat (limited to 'gdb/c-exp.y')
-rw-r--r--gdb/c-exp.y1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/c-exp.y b/gdb/c-exp.y
index f8c87c4..555471f 100644
--- a/gdb/c-exp.y
+++ b/gdb/c-exp.y
@@ -102,7 +102,6 @@ yyerror PARAMS ((char *));
%union
{
LONGEST lval;
- unsigned LONGEST ulval;
struct {
LONGEST val;
struct type *type;