diff options
author | Fred Fish <fnf@specifix.com> | 1993-03-11 01:56:31 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1993-03-11 01:56:31 +0000 |
commit | f77ad50597b7c74ce8454346940dcfc65aba1dd5 (patch) | |
tree | 44e7ab514f237e231a7dcd3a64ff33fa7ba071a8 /gdb/language.h | |
parent | 6559fbdb527abbf1a64ab4524693bab9daf3e305 (diff) | |
download | gdb-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/language.h')
-rw-r--r-- | gdb/language.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/language.h b/gdb/language.h index 7e5c838..bd2a5a7 100644 --- a/gdb/language.h +++ b/gdb/language.h @@ -215,7 +215,8 @@ extern enum language_mode /* "cast" really means conversion */ /* FIXME -- should be a setting in language_defn */ -#define CAST_IS_CONVERSION (current_language->la_language == language_c) +#define CAST_IS_CONVERSION (current_language->la_language == language_c || \ + current_language->la_language == language_cplus) extern void language_info PARAMS ((int)); |